/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
header {
    background: linear-gradient(135deg, #b22222 0%, #8b0000 100%);
    color: white;
    padding: 1rem 0;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo {
    width: 50px;
    height: 50px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: #b22222;
}

.header-text h1 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.2rem;
}

.header-text p {
    font-size: 0.9rem;
    opacity: 0.9;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.main-nav a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.main-nav a:hover,
.main-nav a.active {
    background: rgba(255,255,255,0.2);
    transform: translateY(-1px);
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(175, 80, 80, 0.8), rgba(85, 18, 18, 0.8)), 
                url('/img/banner.jpg') center/cover;
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.hero-content h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
}

/* Buttons */
.btn-primary, .cta-button {
    background-color: #b22222;
    color: white;
    padding: 12px 24px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    display: inline-block;
    transition: all 0.3s ease;
    border: 2px solid #b22222;
}

.btn-primary:hover, .cta-button:hover {
    background-color: #8b0000;
    border-color: #8b0000;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(178, 34, 34, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: #b22222;
    padding: 10px 20px;
    border: 2px solid #b22222;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background-color: #b22222;
    color: white;
    transform: translateY(-2px);
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 3rem 0;
    text-align: center;
    border-bottom: 3px solid #b22222;
}

.page-header h1 {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 1rem;
    font-weight: 700;
}

.page-header p {
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/* Grid Layouts */
.about-grid, .services-grid, .programs-grid, .stats-grid, .requirements-grid {
    display: grid;
    gap: 2rem;
    margin-top: 2rem;
}

.about-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.services-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.programs-grid {
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
}

.stats-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.requirements-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

/* Card Styles */
.about-item, .service-card, .program-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border-left: 4px solid #b22222;
}

.about-item:hover, .service-card:hover, .program-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.about-item h3, .service-card h3, .program-card h3 {
    color: #b22222;
    margin-bottom: 1rem;
    font-size: 1.3rem;
    font-weight: 600;
}

.program-details {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 6px;
    margin: 1rem 0;
    border-left: 3px solid #b22222;
}

.program-details p {
    margin: 0.3rem 0;
    font-size: 0.9rem;
}

.program-card ul {
    margin-top: 1rem;
    padding-left: 1.5rem;
}

.program-card li {
    margin-bottom: 0.5rem;
    color: #555;
}

/* Stats Section */
.stats {
    background: linear-gradient(135deg, #b22222 0%, #8b0000 100%);
    color: white;
    padding: 3rem 0;
}

.stat-item {
    text-align: center;
    padding: 1.5rem;
}

.stat-item h3 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #fff;
}

.stat-item p {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 4rem 0;
    text-align: center;
}

.cta-section h2 {
    font-size: 2.2rem;
    color: #333;
    margin-bottom: 1rem;
    font-weight: 700;
}

.cta-section p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Training Types */
.training-types {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
    margin-top: 2rem;
}

.training-type {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    border-top: 4px solid #b22222;
}

.training-type h2 {
    color: #b22222;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.training-type ul {
    margin-top: 1rem;
    padding-left: 1.5rem;
}

.training-type li {
    margin-bottom: 0.8rem;
    color: #555;
    line-height: 1.6;
}

/* Classes Timeline */
.classes-timeline {
    margin-top: 2rem;
}

.class-item {
    display: flex;
    gap: 2rem;
    padding: 2rem;
    background: white;
    margin-bottom: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    border-left: 4px solid #b22222;
}

.class-item .date {
    background: #b22222;
    color: white;
    padding: 1rem;
    border-radius: 8px;
    font-weight: 600;
    min-width: 120px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.class-info h3 {
    color: #b22222;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.class-info p {
    color: #666;
    margin-bottom: 0.3rem;
    line-height: 1.5;
}

/* Importance Grid */
.importance-grid, .benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.importance-item, .benefit-item {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    text-align: center;
    border-top: 4px solid #b22222;
    transition: transform 0.3s ease;
}

.importance-item:hover, .benefit-item:hover {
    transform: translateY(-3px);
}

.importance-item h3, .benefit-item h3 {
    color: #b22222;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

/* Report Types */
.types-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.type-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    border-left: 4px solid #b22222;
}

.report-details {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 6px;
    margin: 1rem 0;
    font-size: 0.9rem;
}

.report-details p {
    margin: 0.2rem 0;
}

.type-card h3 {
    color: #b22222;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.type-card ul {
    margin-top: 1rem;
    padding-left: 1.5rem;
}

.type-card li {
    margin-bottom: 0.5rem;
    color: #555;
}

/* Templates and Guidelines */
.templates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
    margin-top: 2rem;
}

.template-category, .guidelines-category {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    border-top: 4px solid #b22222;
}

.template-item, .guideline-item {
    padding: 1.5rem;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    margin-bottom: 1rem;
    background: #f8f9fa;
}

.template-item strong, .guideline-item strong {
    color: #b22222;
    display: block;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.template-format {
    display: inline-block;
    background: #b22222;
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    margin-top: 0.5rem;
}

/* Schedule Table */
.schedule-table {
    margin-top: 2rem;
    overflow-x: auto;
}

.schedule-table table {
    width: 100%;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.schedule-table th {
    background: #b22222;
    color: white;
    padding: 1rem;
    text-align: left;
    font-weight: 600;
}

.schedule-table td {
    padding: 1rem;
    border-bottom: 1px solid #e9ecef;
}

.schedule-table tr:hover {
    background: #f8f9fa;
}

/* Support Grid */
.support-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.support-item {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    border-left: 4px solid #b22222;
}

.support-item h3 {
    color: #b22222;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

/* Job Cards */
.jobs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.job-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    border-left: 4px solid #b22222;
    transition: transform 0.3s ease;
}

.job-card:hover {
    transform: translateY(-3px);
}

.job-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.job-header h3 {
    color: #b22222;
    font-size: 1.3rem;
    font-weight: 600;
}

.job-type, .job-level {
    background: #f8f9fa;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    color: #666;
    font-weight: 500;
}

.job-details {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 6px;
    margin: 1rem 0;
    font-size: 0.9rem;
}

.job-details p {
    margin: 0.3rem 0;
}

.job-card ul {
    margin-top: 1rem;
    padding-left: 1.5rem;
}

.job-card li {
    margin-bottom: 0.5rem;
    color: #555;
}

/* Volunteer Categories */
.volunteer-types {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 3rem;
    margin-top: 2rem;
}

.volunteer-category {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    border-top: 4px solid #b22222;
}

.volunteer-category h3 {
    color: #b22222;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.role-item {
    padding: 1.5rem;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    margin-bottom: 1rem;
    background: #f8f9fa;
}

.role-item h4 {
    color: #b22222;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.commitment {
    display: inline-block;
    background: #b22222;
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    margin-top: 0.5rem;
}

/* Instructor Cards */
.instructor-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.instructor-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    border-left: 4px solid #b22222;
}

.instructor-card h3 {
    color: #b22222;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.instructor-requirements {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 6px;
    margin: 1rem 0;
    font-size: 0.9rem;
}

.instructor-benefits h4 {
    color: #b22222;
    margin: 1rem 0 0.5rem 0;
    font-size: 1rem;
}

.instructor-benefits ul {
    margin: 0;
    padding-left: 1.5rem;
}

.instructor-benefits li {
    margin-bottom: 0.3rem;
    color: #555;
}

/* Application Process */
.application-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.application-section {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    border-left: 4px solid #b22222;
}

.application-section h3 {
    color: #b22222;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.application-section ul {
    padding-left: 1.5rem;
}

.application-section li {
    margin-bottom: 0.8rem;
    color: #555;
    line-height: 1.6;
}

/* Process Steps */
.application-process {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    margin-top: 2rem;
    border-top: 4px solid #b22222;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 1.5rem;
}

.step-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.step-number {
    background: #b22222;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0;
}

.step-content h4 {
    color: #b22222;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.step-content p {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* HR Contact */
.contact-hr {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    margin-top: 2rem;
    border-top: 4px solid #b22222;
}

.contact-hr h3 {
    color: #b22222;
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.hr-contact-info {
    margin: 1rem 0;
}

.hr-contact-info p {
    margin-bottom: 0.5rem;
    color: #555;
}

.hr-note {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    padding: 1rem;
    border-radius: 6px;
    margin-top: 1rem;
}

.hr-note p {
    color: #856404;
    margin: 0;
    font-weight: 500;
}

/* Events Styles */
.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.event-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: transform 0.3s ease;
    border-left: 4px solid #b22222;
}

.event-card:hover {
    transform: translateY(-3px);
}

.event-card.featured {
    border-left: 4px solid #b22222;
    box-shadow: 0 8px 25px rgba(178, 34, 34, 0.2);
}

.event-date {
    background: #b22222;
    color: white;
    padding: 1rem;
    text-align: center;
    font-weight: bold;
}

.event-date .day {
    display: block;
    font-size: 2rem;
    line-height: 1;
}

.event-date .month {
    display: block;
    font-size: 0.9rem;
    text-transform: uppercase;
}

.event-date .year {
    display: block;
    font-size: 0.8rem;
    opacity: 0.9;
}

.event-content {
    padding: 2rem;
}

.event-category {
    background: #f8f9fa;
    color: #b22222;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}

.event-content h3 {
    color: #333;
    margin: 1rem 0 0.5rem 0;
    font-size: 1.3rem;
    font-weight: 600;
}

.event-details {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 6px;
    margin: 1rem 0;
    font-size: 0.9rem;
}

.event-details p {
    margin: 0.3rem 0;
    color: #555;
}

/* Calendar Styles */
.calendar-container {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    overflow: hidden;
    margin-top: 2rem;
}

.calendar-header {
    background: #b22222;
    color: white;
    padding: 1.5rem;
}

.calendar-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.calendar-nav h3 {
    font-size: 1.5rem;
    font-weight: 600;
}

.prev-month, .next-month {
    cursor: pointer;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: background 0.3s ease;
}

.prev-month:hover, .next-month:hover {
    background: rgba(255,255,255,0.2);
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 1px;
    background: #e9ecef;
}

.calendar-day {
    background: white;
    padding: 1rem;
    text-align: center;
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    font-weight: 500;
}

.calendar-day.header {
    background: #f8f9fa;
    font-weight: 600;
    color: #666;
    min-height: 40px;
}

.calendar-day.other-month {
    color: #ccc;
    background: #f8f9fa;
}

.calendar-day.has-event {
    background: #fff3f3;
    color: #b22222;
    font-weight: 600;
}

.calendar-day.featured {
    background: #b22222;
    color: white;
}

.event-dot {
    position: absolute;
    bottom: 8px;
    right: 8px;
    width: 8px;
    height: 8px;
    background: #b22222;
    border-radius: 50%;
}

.calendar-day.featured .event-dot {
    background: white;
}

.calendar-legend {
    padding: 1rem;
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    border-top: 1px solid #e9ecef;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.legend-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.legend-dot.training { background: #b22222; }
.legend-dot.donor { background: #28a745; }
.legend-dot.seminar { background: #17a2b8; }
.legend-dot.simulation { background: #ffc107; }

/* Regular Activities */
.activities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.activity-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    border-left: 4px solid #b22222;
}

.activity-card h3 {
    color: #b22222;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.activity-schedule {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 6px;
    margin: 1rem 0;
    font-size: 0.9rem;
}

.activity-schedule p {
    margin: 0.3rem 0;
    color: #555;
}

.activity-stats {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.activity-stats span {
    background: #b22222;
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
}

/* Past Events Timeline */
.past-events-timeline {
    margin-top: 2rem;
}

.timeline-item {
    display: flex;
    gap: 2rem;
    padding: 2rem;
    background: white;
    margin-bottom: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    border-left: 4px solid #b22222;
}

.timeline-date {
    background: #b22222;
    color: white;
    padding: 1rem;
    border-radius: 8px;
    font-weight: 600;
    min-width: 120px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.timeline-content h3 {
    color: #b22222;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.timeline-content p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.gallery-placeholder {
    display: inline-block;
    background: #f8f9fa;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    color: #666;
    font-size: 0.9rem;
    border: 1px solid #e9ecef;
}

/* Event Registration */
.registration-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.registration-section {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    border-left: 4px solid #b22222;
}

.registration-section h3 {
    color: #b22222;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.registration-section ol, .registration-section ul {
    padding-left: 1.5rem;
}

.registration-section li {
    margin-bottom: 0.8rem;
    color: #555;
    line-height: 1.6;
}

.contact-event {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    margin-top: 2rem;
    border-top: 4px solid #b22222;
}

.contact-event h3 {
    color: #b22222;
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.contact-item {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.contact-item h4 {
    color: #b22222;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.contact-item p {
    margin: 0.3rem 0;
    color: #555;
}

/* Staff Styles */
.staff-grid {
    display: grid;
    gap: 2rem;
    margin-top: 2rem;
}

.staff-grid.leadership {
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
}

.staff-grid.compact {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.staff-grid:not(.leadership):not(.compact) {
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
}

.staff-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    border-left: 4px solid #b22222;
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.staff-card.compact {
    padding: 1.5rem;
}

.staff-photo {
    flex-shrink: 0;
}

.staff-photo img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #b22222;
}

.staff-photo.small img {
    width: 80px;
    height: 80px;
}

.staff-info h3 {
    color: #b22222;
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
    font-weight: 600;
}

.staff-info.compact h3 {
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
}

.position {
    color: #666;
    font-weight: 500;
    margin-bottom: 1rem;
    font-style: italic;
}

.specializations {
    margin: 1rem 0;
}

.spec-tag {
    display: inline-block;
    background: #f8f9fa;
    color: #b22222;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    margin: 0.2rem;
    border: 1px solid #e9ecef;
}

.qualifications {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 6px;
    margin: 1rem 0;
    font-size: 0.9rem;
}

.qualifications p {
    margin: 0.3rem 0;
    color: #555;
}

.bio {
    color: #666;
    line-height: 1.6;
    margin: 1rem 0;
}

.contact-info {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #e9ecef;
}

.contact-info p {
    margin: 0.3rem 0;
    font-size: 0.9rem;
    color: #666;
}

.specialization {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.contact {
    color: #b22222;
    font-size: 0.9rem;
}

/* External Trainers */
.trainers-list {
    margin-top: 2rem;
}

.trainer-item {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    margin-bottom: 1.5rem;
    border-left: 4px solid #b22222;
}

.trainer-item h3 {
    color: #b22222;
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.affiliation {
    color: #666;
    font-style: italic;
    margin-bottom: 0.5rem;
}

.expertise {
    margin: 0.8rem 0;
    color: #555;
}

.contribution {
    color: #666;
    line-height: 1.6;
    margin-top: 1rem;
}

/* Contact Staff */
.contact-staff .contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.contact-section {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    border-left: 4px solid #b22222;
}

.contact-section h3 {
    color: #b22222;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.schedule {
    margin: 1rem 0;
}

.schedule-item {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid #f0f0f0;
}

.schedule-item:last-child {
    border-bottom: none;
}

.note {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 6px;
    margin-top: 1rem;
    color: #666;
    font-size: 0.9rem;
    border-left: 3px solid #b22222;
}

/* General Section Styles */
section {
    padding: 3rem 0;
}

section h2 {
    font-size: 2.2rem;
    color: #333;
    margin-bottom: 1rem;
    font-weight: 700;
    text-align: center;
}

/* Footer */
footer {
    background: #333;
    color: white;
    padding: 3rem 0 1rem 0;
    margin-top: 3rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    color: #b22222;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #b22222;
}

.footer-bottom {
    border-top: 1px solid #555;
    padding-top: 1rem;
    text-align: center;
    color: #ccc;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    header .container {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .main-nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }
    
    .hero-content h2 {
        font-size: 2rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
    
    .staff-card {
        flex-direction: column;
        text-align: center;
    }
    
    .class-item {
        flex-direction: column;
        text-align: center;
    }
    
    .timeline-item {
        flex-direction: column;
        text-align: center;
    }
    
    .job-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .calendar-nav {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .calendar-legend {
        justify-content: center;
    }
    
    .schedule-table {
        font-size: 0.9rem;
    }
    
    .activities-grid,
    .events-grid,
    .jobs-grid,
    .instructor-grid,
    .staff-grid,
    .programs-grid {
        grid-template-columns: 1fr;
    }
    
    .training-types,
    .volunteer-types,
    .templates-grid {
        grid-template-columns: 1fr;
    }
}