/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Main Header Styles */
.main-header {
    background-color: #2c3e50;
    color: white;
    padding: 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    height: 80px;
}

/* Logo Section */
.logo-section {
    display: flex;
    align-items: center;
    gap: 15px;
}

.school-logo {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

.school-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin: 0;
}

/* Main Navigation - Desktop */
.main-nav {
    display: flex;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    margin: 0;
    padding: 0;
}

.nav-item {
    position: relative;
}

.nav-link {
    color: white;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    padding: 10px 0;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #3498db;
}

.nav-link.active {
    color: #3498db;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #3498db;
}

/* Mobile Menu Button - Hidden on Desktop */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    width: 30px;
    height: 30px;
    justify-content: space-between;
}

.hamburger-line {
    width: 100%;
    height: 3px;
    background-color: white;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Mobile Styles */
@media (max-width: 768px) {
    .header-container {
        height: 70px;
        padding: 0 15px;
    }

    .school-name {
        font-size: 1.2rem;
    }

    .school-logo {
        width: 40px;
        height: 40px;
    }

    /* Hide desktop navigation on mobile */
    .main-nav {
        display: none;
    }

    /* Show mobile menu button */
    .mobile-menu-btn {
        display: flex;
    }

    /* Mobile menu when active */
    .main-nav.mobile-active {
        display: block;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #2c3e50;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    }

    .main-nav.mobile-active .nav-menu {
        flex-direction: column;
        gap: 0;
        padding: 20px;
    }

    .main-nav.mobile-active .nav-item {
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .main-nav.mobile-active .nav-item:last-child {
        border-bottom: none;
    }

    .main-nav.mobile-active .nav-link {
        display: block;
        padding: 15px 0;
        font-size: 1.1rem;
    }

    /* Hamburger animation when active */
    .mobile-menu-btn.active .hamburger-line:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }

    .mobile-menu-btn.active .hamburger-line:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-btn.active .hamburger-line:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }
}

/* Small Mobile Devices */
@media (max-width: 480px) {
    .header-container {
        height: 60px;
    }

    .school-name {
        font-size: 1rem;
    }

    .school-logo {
        width: 35px;
        height: 35px;
    }
}

/* Accessibility Improvements */
.nav-link:focus {
    outline: 2px solid #3498db;
    outline-offset: 2px;
}

.mobile-menu-btn:focus {
    outline: 2px solid #3498db;
    outline-offset: 2px;
}

/* Reduced motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    .nav-link,
    .hamburger-line {
        transition: none;
    }
}

/* About Page Header Section Base Styles */
.page-header-section {
    position: relative;
    height: 100vh;
    min-height: 600px;
    max-height: 800px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #ffffff;
}

/* Background Image with Overlay */
.header-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.background-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: brightness(0.7);
    transition: transform 0.8s ease;
}

.page-header-section:hover .background-image {
    transform: scale(1.05);
}

.background-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(44, 62, 80, 0.8) 0%,
        rgba(52, 152, 219, 0.6) 50%,
        rgba(41, 128, 185, 0.8) 100%
    );
    z-index: -1;
}

/* Breadcrumb Navigation */
.breadcrumb-nav {
    position: absolute;
    top: 2rem;
    left: 0;
    width: 100%;
    z-index: 10;
}

.breadcrumb-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.breadcrumb-list {
    display: flex;
    align-items: center;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 0.75rem;
}

.breadcrumb-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.breadcrumb-item::after {
    content: '›';
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.2rem;
    font-weight: 300;
}

.breadcrumb-item:last-child::after {
    content: none;
}

.breadcrumb-link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.breadcrumb-link:hover {
    color: #ffffff;
}

.breadcrumb-text {
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 600;
}

/* Header Content */
.header-content {
    position: relative;
    z-index: 2;
    padding: 0 2rem;
}

.content-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

/* Title Section */
.title-section {
    margin-bottom: 1.5rem;
}

.page-main-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin: 0 0 1rem 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease 0.2s forwards;
}

.title-underline {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #3498db, #e74c3c);
    margin: 0 auto;
    border-radius: 2px;
    opacity: 0;
    transform: scaleX(0);
    animation: scaleIn 0.6s ease 0.5s forwards;
}

/* Introduction Text */
.intro-section {
    margin-bottom: 3rem;
}

.page-intro-text {
    font-size: 1.4rem;
    line-height: 1.6;
    margin: 0;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease 0.4s forwards;
    color: rgba(255, 255, 255, 0.9);
}

/* Stats Section */
.stats-section {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.stat-item {
    text-align: center;
    opacity: 0;
    transform: translateY(20px);
}

.stat-item:nth-child(1) { animation: fadeInUp 0.6s ease 0.6s forwards; }
.stat-item:nth-child(2) { animation: fadeInUp 0.6s ease 0.7s forwards; }
.stat-item:nth-child(3) { animation: fadeInUp 0.6s ease 0.8s forwards; }
.stat-item:nth-child(4) { animation: fadeInUp 0.6s ease 0.9s forwards; }

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: #3498db;
    margin-bottom: 0.5rem;
    line-height: 1;
}

.stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Action Buttons */
.action-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 4rem;
    flex-wrap: wrap;
}

.action-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease 1s forwards;
}

.primary-action {
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    box-shadow: 0 5px 20px rgba(52, 152, 219, 0.3);
}

.primary-action:hover {
    background: linear-gradient(135deg, #2980b9, #2471a3);
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(52, 152, 219, 0.4);
}

.secondary-action {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.secondary-action:hover {
    background: white;
    color: #2c3e50;
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(255, 255, 255, 0.3);
}

.btn-icon {
    font-size: 1.2rem;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    opacity: 0;
    animation: fadeIn 0.6s ease 1.2s forwards;
}

.scroll-text {
    display: block;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.scroll-arrow {
    animation: bounce 2s infinite;
}

.scroll-arrow svg {
    color: rgba(255, 255, 255, 0.7);
}

/* Decorative Elements */
.decorative-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.floating-shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    animation: float 6s ease-in-out infinite;
}

.shape-1 {
    width: 80px;
    height: 80px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 60px;
    height: 60px;
    top: 60%;
    right: 15%;
    animation-delay: 2s;
}

.shape-3 {
    width: 40px;
    height: 40px;
    bottom: 30%;
    left: 20%;
    animation-delay: 4s;
}

/* Animations */
@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

@keyframes scaleIn {
    to {
        opacity: 1;
        transform: scaleX(1);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(180deg);
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-main-title {
        font-size: 3rem;
    }
    
    .page-intro-text {
        font-size: 1.2rem;
    }
    
    .stats-section {
        gap: 1.5rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .page-header-section {
        height: 90vh;
        min-height: 500px;
    }
    
    .page-main-title {
        font-size: 2.5rem;
    }
    
    .page-intro-text {
        font-size: 1.1rem;
        padding: 0 1rem;
    }
    
    .stats-section {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .action-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .action-btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
    
    .breadcrumb-container {
        padding: 0 1rem;
    }
    
    .header-content {
        padding: 0 1rem;
    }
}

@media (max-width: 480px) {
    .page-header-section {
        height: 85vh;
        min-height: 450px;
    }
    
    .page-main-title {
        font-size: 2rem;
    }
    
    .page-intro-text {
        font-size: 1rem;
    }
    
    .stats-section {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .stat-number {
        font-size: 1.8rem;
    }
    
    .action-btn {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }
    
    .floating-shape {
        display: none;
    }
}

/* Accessibility */
.action-btn:focus,
.breadcrumb-link:focus {
    outline: 3px solid #3498db;
    outline-offset: 2px;
}

/* Reduced motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    .background-image,
    .page-main-title,
    .title-underline,
    .page-intro-text,
    .stat-item,
    .action-btn,
    .scroll-indicator,
    .floating-shape {
        animation: none;
        transition: none;
    }
    
    .page-header-section:hover .background-image {
        transform: none;
    }
    
    .action-btn:hover {
        transform: none;
    }
    
    .scroll-arrow {
        animation: none;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .background-overlay {
        background: rgba(0, 0, 0, 0.8);
    }
    
    .breadcrumb-link {
        color: #ffffff;
        text-decoration: underline;
    }
    
    .action-btn {
        border: 2px solid #ffffff;
    }
}


/* History Timeline Section Base Styles */
.history-timeline-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
}

.timeline-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #7f8c8d;
    margin-bottom: 1.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.title-accent {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #3498db, #e74c3c);
    margin: 0 auto;
    border-radius: 2px;
}

/* Timeline Navigation */
.timeline-navigation {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 3rem;
    gap: 1.5rem;
}

.nav-btn {
    background: white;
    border: 2px solid #e0e0e0;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.nav-btn:hover:not(:disabled) {
    background: #3498db;
    border-color: #3498db;
    color: white;
    transform: scale(1.1);
}

.nav-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.decade-filters {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: center;
    flex: 1;
}

.decade-filter {
    background: white;
    border: 2px solid #e0e0e0;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #7f8c8d;
    cursor: pointer;
    transition: all 0.3s ease;
}

.decade-filter:hover {
    border-color: #3498db;
    color: #3498db;
    transform: translateY(-2px);
}

.decade-filter.active {
    background: #3498db;
    border-color: #3498db;
    color: white;
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
}

/* Timeline Wrapper */
.timeline-wrapper {
    position: relative;
    margin-bottom: 3rem;
    overflow: hidden;
}

.timeline-track {
    display: flex;
    transition: transform 0.5s ease;
    gap: 0;
}

/* Timeline Item */
.timeline-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 0 0 100%;
    padding: 0 1rem;
    opacity: 0.3;
    transition: all 0.5s ease;
    position: relative;
}

.timeline-item.active {
    opacity: 1;
}

.timeline-marker {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 2rem;
    position: relative;
}

.marker-circle {
    width: 20px;
    height: 20px;
    background: #3498db;
    border: 4px solid white;
    border-radius: 50%;
    box-shadow: 0 0 0 3px #3498db, 0 4px 15px rgba(52, 152, 219, 0.3);
    z-index: 2;
    transition: all 0.3s ease;
}

.timeline-item.active .marker-circle {
    background: #e74c3c;
    box-shadow: 0 0 0 3px #e74c3c, 0 4px 20px rgba(231, 76, 60, 0.4);
    transform: scale(1.2);
}

.marker-line {
    width: 2px;
    height: 40px;
    background: linear-gradient(to bottom, #3498db, #e0e0e0);
    margin-top: 0.5rem;
}

/* Timeline Content */
.timeline-content {
    width: 100%;
    max-width: 500px;
}

.year-badge {
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    display: inline-block;
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
}

.timeline-item.active .year-badge {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    box-shadow: 0 4px 20px rgba(231, 76, 60, 0.4);
}

.content-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.timeline-item.active .content-card {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.card-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.history-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.content-card:hover .history-image {
    transform: scale(1.1);
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.3) 100%);
}

.card-body {
    padding: 2rem;
}

.event-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.event-description {
    color: #555;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.event-stats {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    padding: 1rem 0;
    border-top: 1px solid #f0f0f0;
    border-bottom: 1px solid #f0f0f0;
}

.stat {
    text-align: center;
    flex: 1;
}

.stat-number {
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
    color: #3498db;
    margin-bottom: 0.25rem;
    line-height: 1;
}

.stat-label {
    font-size: 0.8rem;
    color: #7f8c8d;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.achievement-tag {
    display: inline-block;
    background: #f8f9fa;
    color: #3498db;
    padding: 0.5rem 1rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Timeline Progress */
.timeline-progress {
    margin-bottom: 3rem;
}

.progress-bar {
    width: 100%;
    height: 6px;
    background: #e0e0e0;
    border-radius: 3px;
    margin-bottom: 1rem;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #3498db, #e74c3c);
    border-radius: 3px;
    transition: width 0.5s ease;
}

.progress-years {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    color: #7f8c8d;
    font-weight: 600;
}

/* View More Button */
.view-more-section {
    text-align: center;
}

.view-more-btn {
    background: transparent;
    border: 2px solid #3498db;
    color: #3498db;
    padding: 1rem 2rem;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
}

.view-more-btn:hover {
    background: #3498db;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(52, 152, 219, 0.3);
}

.btn-arrow {
    transition: transform 0.3s ease;
}

.view-more-btn:hover .btn-arrow {
    transform: translateY(3px);
}

/* Animation Classes */
.timeline-item {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.timeline-item.animate-in {
    opacity: 0.3;
    transform: translateY(0);
}

.timeline-item.active.animate-in {
    opacity: 1;
}

/* Responsive Design */
@media (min-width: 768px) {
    .timeline-track {
        gap: 2rem;
    }
    
    .timeline-item {
        flex: 0 0 calc(50% - 1rem);
    }
    
    .timeline-marker {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        margin-bottom: 0;
    }
    
    .timeline-item:nth-child(odd) {
        align-self: flex-start;
    }
    
    .timeline-item:nth-child(even) {
        align-self: flex-end;
    }
    
    .timeline-item:nth-child(odd) .timeline-content {
        text-align: right;
    }
    
    .timeline-item:nth-child(even) .timeline-marker {
        order: -1;
    }
}

@media (min-width: 1024px) {
    .timeline-item {
        flex: 0 0 calc(33.333% - 1.33rem);
    }
}

@media (max-width: 767px) {
    .history-timeline-section {
        padding: 3rem 0;
    }
    
    .timeline-container {
        padding: 0 1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .section-subtitle {
        font-size: 1.1rem;
    }
    
    .timeline-navigation {
        flex-direction: column;
        gap: 1rem;
    }
    
    .decade-filters {
        order: -1;
    }
    
    .event-stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .card-body {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 1.8rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    .decade-filters {
        gap: 0.25rem;
    }
    
    .decade-filter {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }
    
    .card-body {
        padding: 1rem;
    }
    
    .event-title {
        font-size: 1.2rem;
    }
}

/* Accessibility */
.nav-btn:focus,
.decade-filter:focus,
.view-more-btn:focus {
    outline: 3px solid #3498db;
    outline-offset: 2px;
}

/* Reduced motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    .timeline-track,
    .timeline-item,
    .content-card,
    .history-image,
    .marker-circle,
    .progress-fill,
    .view-more-btn,
    .btn-arrow {
        transition: none;
    }
    
    .timeline-item.active .content-card {
        transform: none;
    }
    
    .content-card:hover .history-image {
        transform: none;
    }
    
    .nav-btn:hover:not(:disabled),
    .decade-filter:hover,
    .view-more-btn:hover {
        transform: none;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .history-timeline-section {
        background: #ffffff;
        border-top: 3px solid #000000;
        border-bottom: 3px solid #000000;
    }
    
    .content-card {
        border: 2px solid #000000;
    }
    
    .nav-btn,
    .decade-filter {
        border: 2px solid #000000;
    }
    
    .decade-filter.active {
        background: #000000;
        color: #ffffff;
    }
    
    .marker-circle {
        border: 3px solid #ffffff;
        box-shadow: 0 0 0 3px #000000;
    }
}

/* Core Values Section Base Styles */
.core-values-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    position: relative;
}

.values-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #7f8c8d;
    margin-bottom: 1.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.title-accent {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #3498db, #e74c3c);
    margin: 0 auto;
    border-radius: 2px;
}

/* Values Grid */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.value-card {
    perspective: 1000px;
    height: 300px;
}

.card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.6s ease;
    transform-style: preserve-3d;
    cursor: pointer;
}

.value-card:hover .card-inner {
    transform: rotateY(180deg);
}

.value-card:hover .value-highlight {
    opacity: 1;
    transform: scale(1);
}

/* Card Front */
.value-card .card-inner > *:not(.value-highlight) {
    position: relative;
    backface-visibility: hidden;
}

.value-icon {
    text-align: center;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.value-card:hover .value-icon {
    transform: scale(1.1);
}

.value-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 1rem;
    text-align: center;
    transition: color 0.3s ease;
}

.value-description {
    color: #555;
    line-height: 1.6;
    text-align: center;
    margin: 0;
    font-size: 0.95rem;
}

/* Value-specific colors */
.value-card[data-value="excellence"] .value-icon {
    color: #e74c3c;
}

.value-card[data-value="excellence"]:hover .value-title {
    color: #e74c3c;
}

.value-card[data-value="integrity"] .value-icon {
    color: #3498db;
}

.value-card[data-value="integrity"]:hover .value-title {
    color: #3498db;
}

.value-card[data-value="innovation"] .value-icon {
    color: #9b59b6;
}

.value-card[data-value="innovation"]:hover .value-title {
    color: #9b59b6;
}

.value-card[data-value="community"] .value-icon {
    color: #2ecc71;
}

.value-card[data-value="community"]:hover .value-title {
    color: #2ecc71;
}

.value-card[data-value="diversity"] .value-icon {
    color: #f39c12;
}

.value-card[data-value="diversity"]:hover .value-title {
    color: #f39c12;
}

.value-card[data-value="responsibility"] .value-icon {
    color: #1abc9c;
}

.value-card[data-value="responsibility"]:hover .value-title {
    color: #1abc9c;
}

/* Card Back (Revealed on Hover) */
.value-highlight {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(52, 152, 219, 0.1) 0%, rgba(231, 76, 60, 0.1) 100%);
    border-radius: 15px;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.3s ease;
    pointer-events: none;
}

/* Interactive Features */
.values-interactive {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    margin-bottom: 4rem;
    align-items: start;
}

/* Value Filters */
.value-filters {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.filter-btn {
    background: white;
    border: 2px solid #e0e0e0;
    padding: 1rem 1.5rem;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 600;
    color: #7f8c8d;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: left;
    position: relative;
    overflow: hidden;
}

.filter-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(52, 152, 219, 0.1), transparent);
    transition: left 0.5s ease;
}

.filter-btn:hover::before {
    left: 100%;
}

.filter-btn:hover {
    border-color: #3498db;
    color: #3498db;
    transform: translateX(5px);
}

.filter-btn.active {
    background: #3498db;
    border-color: #3498db;
    color: white;
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
}

/* Value-specific filter colors */
.filter-btn[data-filter="excellence"].active {
    background: #e74c3c;
    border-color: #e74c3c;
    box-shadow: 0 5px 15px rgba(231, 76, 60, 0.3);
}

.filter-btn[data-filter="integrity"].active {
    background: #3498db;
    border-color: #3498db;
}

.filter-btn[data-filter="innovation"].active {
    background: #9b59b6;
    border-color: #9b59b6;
    box-shadow: 0 5px 15px rgba(155, 89, 182, 0.3);
}

.filter-btn[data-filter="community"].active {
    background: #2ecc71;
    border-color: #2ecc71;
    box-shadow: 0 5px 15px rgba(46, 204, 113, 0.3);
}

.filter-btn[data-filter="diversity"].active {
    background: #f39c12;
    border-color: #f39c12;
    box-shadow: 0 5px 15px rgba(243, 156, 18, 0.3);
}

.filter-btn[data-filter="responsibility"].active {
    background: #1abc9c;
    border-color: #1abc9c;
    box-shadow: 0 5px 15px rgba(26, 188, 156, 0.3);
}

/* Value Spotlight */
.value-spotlight {
    background: white;
    border-radius: 15px;
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-left: 5px solid #3498db;
}

.spotlight-content {
    text-align: center;
}

.spotlight-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1.5rem;
    background: #3498db;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

.spotlight-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.spotlight-description {
    color: #555;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.spotlight-examples {
    text-align: left;
}

.example-item {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    border-left: 3px solid #3498db;
}

.example-title {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.example-description {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
}

/* Call to Action */
.values-cta {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
    padding: 3rem;
    border-radius: 15px;
    text-align: center;
}

.cta-content {
    max-width: 600px;
    margin: 0 auto;
}

.cta-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: white;
}

.cta-description {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-btn {
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.primary-cta {
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
}

.primary-cta:hover {
    background: linear-gradient(135deg, #2980b9, #2471a3);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(52, 152, 219, 0.4);
}

.secondary-cta {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.secondary-cta:hover {
    background: white;
    color: #2c3e50;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3);
}

/* Animation Classes */
.value-card {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.value-card.animate-in {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered animation delays */
.value-card:nth-child(1) { transition-delay: 0.1s; }
.value-card:nth-child(2) { transition-delay: 0.2s; }
.value-card:nth-child(3) { transition-delay: 0.3s; }
.value-card:nth-child(4) { transition-delay: 0.4s; }
.value-card:nth-child(5) { transition-delay: 0.5s; }
.value-card:nth-child(6) { transition-delay: 0.6s; }

/* Responsive Design */
@media (max-width: 1024px) {
    .values-interactive {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .value-filters {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .filter-btn {
        flex: 1;
        min-width: 120px;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .core-values-section {
        padding: 3rem 0;
    }
    
    .values-container {
        padding: 0 1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .section-subtitle {
        font-size: 1.1rem;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .value-card {
        height: 250px;
    }
    
    .values-cta {
        padding: 2rem 1.5rem;
    }
    
    .cta-title {
        font-size: 1.5rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-btn {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 1.8rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    .value-filters {
        flex-direction: column;
    }
    
    .filter-btn {
        width: 100%;
    }
    
    .value-spotlight {
        padding: 1.5rem;
    }
    
    .values-cta {
        padding: 1.5rem 1rem;
    }
}

/* Accessibility */
.filter-btn:focus,
.cta-btn:focus,
.value-card:focus {
    outline: 3px solid #3498db;
    outline-offset: 2px;
}

/* Reduced motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    .card-inner,
    .value-icon,
    .value-title,
    .value-highlight,
    .filter-btn,
    .cta-btn,
    .value-card {
        transition: none;
    }
    
    .value-card:hover .card-inner {
        transform: none;
    }
    
    .value-card:hover .value-icon {
        transform: none;
    }
    
    .filter-btn:hover {
        transform: none;
    }
    
    .cta-btn:hover {
        transform: none;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .core-values-section {
        background: #ffffff;
        border-top: 3px solid #000000;
        border-bottom: 3px solid #000000;
    }
    
    .value-card {
        border: 2px solid #000000;
    }
    
    .filter-btn {
        border: 2px solid #000000;
    }
    
    .filter-btn.active {
        background: #000000;
        color: #ffffff;
    }
    
    .value-spotlight {
        border: 2px solid #000000;
    }
    
    .values-cta {
        background: #000000;
        border: 2px solid #000000;
    }
}


/* Leadership Section Base Styles */
.leadership-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
}

.leadership-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #7f8c8d;
    margin-bottom: 1.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.title-accent {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #3498db, #e74c3c);
    margin: 0 auto;
    border-radius: 2px;
}

/* Leadership Stats */
.leadership-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.stat-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.stat-icon {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.stat-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: #3498db;
    margin-bottom: 0.5rem;
    line-height: 1;
}

.stat-label {
    font-size: 0.9rem;
    color: #7f8c8d;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Leadership Grid */
.leadership-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    margin-bottom: 3rem;
    perspective: 1000px;
}

.leader-card {
    height: 500px;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.8s ease;
    cursor: pointer;
}

.leader-card.flipped {
    transform: rotateY(180deg);
}

.card-front,
.card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.card-front {
    background: white;
    display: flex;
    flex-direction: column;
}

.card-back {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
    transform: rotateY(180deg);
    padding: 2rem;
    overflow-y: auto;
}

/* Card Front Styles */
.leader-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.profile-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.leader-card:hover .profile-photo {
    transform: scale(1.1);
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.3) 100%);
}

.role-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: #3498db;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.leader-card[data-role="vice-principal"] .role-badge {
    background: #2ecc71;
}

.leader-card[data-role="academic-dean"] .role-badge {
    background: #9b59b6;
}

.leader-info {
    padding: 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.leader-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.leader-role {
    color: #7f8c8d;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.leader-qualifications {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    flex: 1;
}

.qualification {
    font-size: 0.9rem;
    color: #555;
    padding-left: 1rem;
    position: relative;
}

.qualification::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #3498db;
    font-weight: bold;
}

.view-profile-btn {
    background: transparent;
    border: 2px solid #3498db;
    color: #3498db;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: auto;
}

.view-profile-btn:hover {
    background: #3498db;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
}

/* Card Back Styles */
.profile-details {
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.detail-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: white;
}

.leader-bio {
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
}

.leader-philosophy,
.leader-responsibilities,
.leader-vision,
.leader-achievements,
.leader-expertise,
.leader-initiatives {
    background: rgba(255, 255, 255, 0.1);
    padding: 1rem;
    border-radius: 10px;
    border-left: 3px solid #3498db;
}

.philosophy-title,
.responsibilities-title,
.vision-title,
.achievements-title,
.expertise-title,
.initiatives-title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: white;
}

.philosophy-text,
.vision-text {
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    font-style: italic;
}

.achievements-list,
.responsibilities-list,
.initiatives-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.achievements-list li,
.responsibilities-list li,
.initiatives-list li {
    padding: 0.25rem 0;
    color: rgba(255, 255, 255, 0.9);
    position: relative;
    padding-left: 1rem;
}

.achievements-list li::before,
.responsibilities-list li::before,
.initiatives-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #2ecc71;
    font-weight: bold;
}

.expertise-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.expertise-tag {
    background: rgba(52, 152, 219, 0.2);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    border: 1px solid rgba(52, 152, 219, 0.5);
}

.close-profile-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.close-profile-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

/* Leadership Navigation */
.leadership-navigation {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
}

.nav-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid #bdc3c7;
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
}

.nav-dot.active {
    background: #3498db;
    border-color: #3498db;
    transform: scale(1.2);
}

.nav-dot:hover:not(.active) {
    border-color: #3498db;
}

/* Contact Leadership */
.contact-leadership {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.contact-content {
    max-width: 600px;
    margin: 0 auto;
}

.contact-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.contact-description {
    font-size: 1.1rem;
    color: #7f8c8d;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.contact-options {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    background: #f8f9fa;
    color: #2c3e50;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.contact-link:hover {
    background: #3498db;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
}

.email-link:hover {
    background: #e74c3c;
    box-shadow: 0 5px 15px rgba(231, 76, 60, 0.3);
}

.calendar-link:hover {
    background: #2ecc71;
    box-shadow: 0 5px 15px rgba(46, 204, 113, 0.3);
}

.blog-link:hover {
    background: #9b59b6;
    box-shadow: 0 5px 15px rgba(155, 89, 182, 0.3);
}

/* Modal Styles */
.leader-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 2rem;
}

.leader-modal.active {
    display: flex;
}

.modal-content {
    background: white;
    border-radius: 20px;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 2rem 1rem;
    border-bottom: 1px solid #e0e0e0;
}

.modal-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin: 0;
}

.modal-close {
    background: none;
    border: none;
    color: #7f8c8d;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: #f8f9fa;
    color: #2c3e50;
}

.modal-body {
    padding: 1rem 2rem 2rem;
}

/* Animation Classes */
.leader-card {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.leader-card.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.stat-card {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.stat-card.animate-in {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered animations */
.stat-card:nth-child(1) { transition-delay: 0.1s; }
.stat-card:nth-child(2) { transition-delay: 0.2s; }
.stat-card:nth-child(3) { transition-delay: 0.3s; }

.leader-card:nth-child(1) { transition-delay: 0.4s; }
.leader-card:nth-child(2) { transition-delay: 0.5s; }
.leader-card:nth-child(3) { transition-delay: 0.6s; }

/* Responsive Design */
@media (max-width: 1024px) {
    .leadership-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .leadership-section {
        padding: 3rem 0;
    }
    
    .leadership-container {
        padding: 0 1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .section-subtitle {
        font-size: 1.1rem;
    }
    
    .leadership-stats {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .leadership-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .leader-card {
        height: 450px;
    }
    
    .contact-leadership {
        padding: 2rem 1.5rem;
    }
    
    .contact-options {
        flex-direction: column;
        align-items: center;
    }
    
    .contact-link {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
    
    .leader-modal {
        padding: 1rem;
    }
    
    .modal-content {
        max-height: 95vh;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 1.8rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    .leader-card {
        height: 400px;
    }
    
    .leader-info {
        padding: 1.5rem;
    }
    
    .card-back {
        padding: 1.5rem;
    }
    
    .contact-leadership {
        padding: 1.5rem 1rem;
    }
    
    .modal-header {
        padding: 1.5rem 1.5rem 1rem;
    }
    
    .modal-body {
        padding: 1rem 1.5rem 1.5rem;
    }
}

/* Accessibility */
.view-profile-btn:focus,
.nav-dot:focus,
.contact-link:focus,
.modal-close:focus {
    outline: 3px solid #3498db;
    outline-offset: 2px;
}

.leader-card:focus {
    outline: 3px solid #3498db;
    outline-offset: 5px;
}

/* Reduced motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    .leader-card,
    .stat-card,
    .profile-photo,
    .view-profile-btn,
    .close-profile-btn,
    .nav-dot,
    .contact-link {
        transition: none;
    }
    
    .leader-card.flipped {
        transform: none;
    }
    
    .leader-card:hover .profile-photo {
        transform: none;
    }
    
    .stat-card:hover,
    .view-profile-btn:hover,
    .contact-link:hover {
        transform: none;
    }
    
    .close-profile-btn:hover {
        transform: none;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .leadership-section {
        background: #ffffff;
        border-top: 3px solid #000000;
        border-bottom: 3px solid #000000;
    }
    
    .stat-card,
    .card-front,
    .contact-leadership {
        border: 2px solid #000000;
    }
    
    .card-back {
        background: #000000;
        border: 2px solid #ffffff;
    }
    
    .contact-link {
        border: 2px solid #000000;
    }
    
    .contact-link:hover {
        background: #000000;
        color: #ffffff;
    }
}

/* Footer Section Base Styles */
.site-footer {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: #ecf0f1;
    padding: 3.75rem 0 0;
    position: relative;
    margin-top: auto;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 0.25rem;
    background: linear-gradient(90deg, #3498db, #e74c3c, #2ecc71);
}

.footer-container {
    max-width: 75rem;
    margin: 0 auto;
    padding: 0 1.25rem;
}

/* Footer Content Grid */
.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(18.75rem, 1fr));
    gap: 2.5rem;
    margin-bottom: 3.75rem;
}

.footer-section {
    display: flex;
    flex-direction: column;
}

.section-heading {
    font-size: 1.25rem;
    font-weight: 700;
    color: #3498db;
    margin-bottom: 1.25rem;
    position: relative;
    padding-bottom: 0.625rem;
}

.section-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 3.125rem;
    height: 0.125rem;
    background: #e74c3c;
    border-radius: 0.0625rem;
}

/* Contact Information */
.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.9375rem;
}

.contact-icon {
    color: #3498db;
    margin-top: 0.1875rem;
    flex-shrink: 0;
}

.contact-text {
    flex: 1;
}

.contact-label {
    font-size: 0.875rem;
    color: #bdc3c7;
    margin-bottom: 0.3125rem;
    font-weight: 600;
}

.contact-value {
    font-size: 0.95rem;
    line-height: 1.4;
    margin: 0;
}

.contact-link {
    color: #ecf0f1;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.contact-link:hover {
    color: #3498db;
}

/* Quick Links */
.footer-nav {
    margin-top: 0.625rem;
}

.nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.nav-item {
    margin: 0;
}

.nav-link {
    color: #bdc3c7;
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    padding: 0.3125rem 0;
    display: block;
    position: relative;
}

.nav-link:hover {
    color: #3498db;
    transform: translateX(0.3125rem);
}

.nav-link::before {
    content: '›';
    position: absolute;
    left: -0.9375rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.nav-link:hover::before {
    opacity: 1;
}

/* Operating Hours */
.hours-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

.hours-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 0.0625rem solid rgba(255, 255, 255, 0.1);
}

.hours-day {
    font-size: 0.9rem;
    color: #bdc3c7;
}

.hours-time {
    font-size: 0.9rem;
    font-weight: 600;
    color: #2ecc71;
}

.emergency-info {
    background: rgba(231, 76, 60, 0.1);
    border: 0.0625rem solid rgba(231, 76, 60, 0.3);
    border-radius: 0.5rem;
    padding: 0.9375rem;
    margin-top: 0.625rem;
}

.emergency-text {
    font-size: 0.85rem;
    color: #bdc3c7;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.emergency-link {
    color: #e74c3c;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.emergency-link:hover {
    color: #c0392b;
}

/* Social Media */
.social-description {
    font-size: 0.9rem;
    color: #bdc3c7;
    margin-bottom: 1.25rem;
    line-height: 1.5;
}

.social-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    margin-bottom: 1.875rem;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    border: 0.0625rem solid rgba(255, 255, 255, 0.1);
    border-radius: 0.5rem;
    color: #ecf0f1;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.social-link:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-0.125rem);
}

.social-link.facebook:hover {
    color: #1877f2;
}

.social-link.twitter:hover {
    color: #1da1f2;
}

.social-link.instagram:hover {
    color: #e4405f;
}

.social-link.youtube:hover {
    color: #ff0000;
}

.social-name {
    font-weight: 500;
}

/* Newsletter Signup */
.newsletter-signup {
    background: rgba(255, 255, 255, 0.05);
    border: 0.0625rem solid rgba(255, 255, 255, 0.1);
    border-radius: 0.75rem;
    padding: 1.25rem;
    margin-top: 0.625rem;
}

.newsletter-title {
    font-size: 1rem;
    font-weight: 600;
    color: #3498db;
    margin-bottom: 0.5rem;
}

.newsletter-description {
    font-size: 0.85rem;
    color: #bdc3c7;
    margin-bottom: 0.9375rem;
    line-height: 1.4;
}

.newsletter-form {
    display: flex;
    gap: 0.625rem;
}

.email-input {
    flex: 1;
    padding: 0.75rem;
    border: 0.0625rem solid rgba(255, 255, 255, 0.2);
    border-radius: 0.375rem;
    background: rgba(255, 255, 255, 0.1);
    color: #ecf0f1;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.email-input::placeholder {
    color: #95a5a6;
}

.email-input:focus {
    outline: none;
    border-color: #3498db;
    background: rgba(255, 255, 255, 0.15);
}

.subscribe-btn {
    padding: 0.75rem 1.25rem;
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    border: none;
    border-radius: 0.375rem;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.subscribe-btn:hover {
    background: linear-gradient(135deg, #2980b9, #2471a3);
    transform: translateY(-0.125rem);
}

/* Footer Bottom */
.footer-bottom {
    border-top: 0.0625rem solid rgba(255, 255, 255, 0.1);
    padding: 1.875rem 0;
    background: rgba(0, 0, 0, 0.2);
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.25rem;
}

.copyright-text {
    font-size: 0.9rem;
    color: #bdc3c7;
    margin: 0;
}

.legal-links {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.legal-link {
    color: #bdc3c7;
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.3s ease;
}

.legal-link:hover {
    color: #3498db;
}

.link-separator {
    color: #7f8c8d;
    font-size: 0.85rem;
}

.accreditation-text {
    font-size: 0.85rem;
    color: #2ecc71;
    font-weight: 600;
    margin: 0;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 1.875rem;
    right: 1.875rem;
    width: 3.125rem;
    height: 3.125rem;
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    z-index: 1000;
    box-shadow: 0 0.25rem 0.9375rem rgba(52, 152, 219, 0.3);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: linear-gradient(135deg, #2980b9, #2471a3);
    transform: translateY(-0.3125rem);
    box-shadow: 0 0.5rem 1.25rem rgba(52, 152, 219, 0.4);
}

.back-to-top:active {
    transform: translateY(-0.125rem);
}

/* Responsive Design */
@media (max-width: 64rem) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .legal-links {
        order: -1;
    }
}

@media (max-width: 48rem) {
    .site-footer {
        padding: 2.5rem 0 0;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.875rem;
    }
    
    .social-links {
        grid-template-columns: 1fr;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .back-to-top {
        bottom: 1.25rem;
        right: 1.25rem;
        width: 2.75rem;
        height: 2.75rem;
    }
}

@media (max-width: 30rem) {
    .site-footer {
        padding: 2rem 0 0;
    }
    
    .footer-container {
        padding: 0 0.9375rem;
    }
    
    .footer-content {
        gap: 1.5rem;
    }
    
    .section-heading {
        font-size: 1.125rem;
    }
    
    .contact-item {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
    
    .contact-icon {
        margin-top: 0;
    }
    
    .hours-item {
        flex-direction: column;
        gap: 0.25rem;
        text-align: center;
    }
    
    .social-links {
        grid-template-columns: 1fr;
    }
    
    .legal-links {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .link-separator {
        display: none;
    }
    
    .back-to-top {
        bottom: 1rem;
        right: 1rem;
        width: 2.5rem;
        height: 2.5rem;
    }
}

/* Accessibility */
.contact-link:focus,
.nav-link:focus,
.social-link:focus,
.legal-link:focus,
.email-input:focus,
.subscribe-btn:focus,
.back-to-top:focus {
    outline: 0.125rem solid #3498db;
    outline-offset: 0.125rem;
}

/* Reduced motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    .contact-link,
    .nav-link,
    .social-link,
    .subscribe-btn,
    .back-to-top,
    .email-input {
        transition: none;
    }
    
    .nav-link:hover,
    .social-link:hover,
    .back-to-top:hover {
        transform: none;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .site-footer {
        background: #000000;
        border-top: 0.1875rem solid #ffffff;
    }
    
    .footer-bottom {
        border-top: 0.125rem solid #ffffff;
        background: #000000;
    }
    
    .contact-link,
    .nav-link,
    .social-link,
    .legal-link {
        border: 0.0625rem solid transparent;
    }
    
    .contact-link:focus,
    .nav-link:focus,
    .social-link:focus,
    .legal-link:focus {
        border-color: #ffffff;
    }
    
    .newsletter-signup,
    .emergency-info {
        border: 0.125rem solid #ffffff;
    }
}