/* ========================================
   HOMEPAGE STYLES - OXYGEN 25 YEARS
   Uses existing design system variables from style.css
======================================== */

/* ========================================
   RESET AND BASE
======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}



    
/* ========================================
   HERO SECTION - 25 YEARS WITH THREE.JS
======================================== */




/*Hero Content*/

.hero {
            position: relative;
            min-height: 100vh;
            overflow: hidden;
            display: flex;
            align-items: center;
        }

        /* Video Slider Container */
        .video-slider {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
        }

        .video-slide {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            opacity: 0;
            pointer-events: none;
        }

        .video-slide.active {
            opacity: 1;
            pointer-events: auto;
        }

        .hero-video {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            object-fit: cover;
            object-position: center;
        }

        /* Video Overlay */
        .video-overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            /*background: linear-gradient(135deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.3) 50%, rgba(0, 0, 0, 0.5) 100%);*/
            background: 
                linear-gradient(135deg, rgba(0, 0, 0, 0.5) 10%, rgba(0, 0, 0, 0.3) 50%, rgba(0, 0, 0, 0.2) 100%),
                linear-gradient(45deg, rgba(0, 0, 0, 0.4) 30%, rgba(0, 0, 0, 0.3) 50%, rgba(0, 0, 0, 0.1) 100%);
            z-index: 1;
        }

        /* Slide Content - Left Side */
        .slide-content {
            position: absolute;
            left: 5%;
            top: 50%;
            transform: translateY(-50%);
            z-index: 2;
            color: var(--color-text-white);
            max-width: 700px;
        }

        
            .slide-title {
            font-family: var(--font-family-primary);
            font-size: clamp(40px, 8vw, 76px);
            font-weight: var(--font-weight-regular);
            line-height: 1;
            margin-bottom: 5px;
            opacity: 0;
            color: white;
            text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
        }
       
        .slide-description {
            font-family: var(--font-family-primary);
            font-weight: var(--font-weight-regular);
            color: white;
            font-size: clamp(16px, 2vw, 18px);
            line-height: 1.6;
            /*opacity: 0.9;*/
            max-width: 600px;
            opacity: 0;
            text-shadow: 1px 1px 6px rgba(0, 0, 0, 0.8);
        }

        /* Bottom Fixed Content */
        .hero-bottom-content {
            position: absolute;
            bottom: var(--spacing-xxl);
            left: 5%;
            right: 5%;
            z-index: 10;
            display: flex;
            justify-content: space-between;
            align-items: flex-end;
        }

        /* Social Icons - Bottom Left */
        .social-icons {
            display: flex;
            gap: var(--spacing-md);
            flex-wrap: wrap;
        }

        .social-icon {
            width: 32px;
            height: 32px;
            border-radius: 50%;
            /*background: rgba(255, 255, 255, 0.15);*/
            backdrop-filter: blur(10px);
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--color-text-white);
            text-decoration: none;
            /*transition: all 0.3s ease;*/
            /*border: 1px solid rgba(255, 255, 255, 0.3);*/
            transition: opacity 0.3s ease, transform 0.3s ease;
            will-change: opacity, transform;
            
        }

        .social-icon svg {
            width: 20px;
            height: 20px;
        }

        .social-icon:hover {
            background: var(--color-text-white);
            color: var(--color-primary);
            transform: translateY(-3px);
            border-color: var(--color-text-white);
        }

        /* Hero Button - Bottom Right */
        .btn-hero {
            font-family: var(--font-family-primary);
            font-weight: 500;
            background: transparent;
            color: var(--color-text-white);
            border: 2px solid var(--color-text-white);
            padding: 14px 40px;
            border-radius: 50px;
            font-size: 14px;
            cursor: pointer;
            transition: all 0.3s ease;
            letter-spacing: 1px;
            display: inline-flex;
            align-items: center;
            gap: 10px;
            white-space: nowrap;
        }

        .btn-hero:hover {
            background: var(--color-text-white);
            color: #000;
            transform: translateY(-2px);
        }

        .btn-hero svg {
            width: 18px;
            height: 18px;
            transition: transform 0.3s ease;
        }

        .btn-hero:hover svg {
            transform: translateX(5px);
        }

        /* Slider Dots - Bottom Center */
        .slider-dots {
            position: absolute;
            bottom: var(--spacing-xxl);
            left: 50%;
            transform: translateX(-50%);
            z-index: 10;
            display: flex;
            gap: var(--spacing-md);
        }

        .slider-dot {
            width: 12px;
            height: 12px;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.3);
            cursor: pointer;
            transition: all 0.3s ease;
            border: 2px solid transparent;
        }

        .slider-dot.active {
            background: var(--color-text-white);
            border-color: var(--color-text-white);
            transform: scale(1.3);
        }

        /* Tablet Styles */
        @media (max-width: 1024px) {
            .slide-content {
                left: 4%;
                max-width: 650px;
            }

            .slide-title {
                font-size: clamp(50px, 10vw, 90px);
            }

            .slide-description {
                font-size: clamp(15px, 2.5vw, 18px);
                max-width: 500px;
            }

            .hero-bottom-content {
                left: 4%;
                right: 4%;
                bottom: var(--spacing-xl);
            }

            .social-icon {
                width: 44px;
                height: 44px;
            }

            .social-icon svg {
                width: 18px;
                height: 18px;
            }
        }

        /* Mobile Styles */
        @media (max-width: 768px) {
            .hero {
                min-height: 100vh;
            }

            .slide-content {
                left: 5%;
                right: 5%;
                max-width: 90%;
                top: 40%;
            }

            .slide-title {
                font-size: clamp(32px, 12vw, 60px);
                margin-bottom: var(--spacing-md);
            }

            .slide-description {
                font-size: clamp(14px, 3.5vw, 16px);
                max-width: 100%;
            }

            .hero-bottom-content {
                flex-direction: column;
                align-items: flex-start;
                gap: var(--spacing-lg);
                left: 5%;
                right: 5%;
                bottom: var(--spacing-lg);
            }

            .social-icons {
                gap: var(--spacing-sm);
                order: 2;
            }

            .social-icon {
                width: 42px;
                height: 42px;
            }

            .btn-hero {
                order: 1;
                padding: 12px 30px;
                font-size: 13px;
            }

            .slider-dots {
                bottom: 160px;
                gap: var(--spacing-sm);
            }

            .slider-dot {
                width: 10px;
                height: 10px;
            }
        }

        /* Small Mobile Styles */
        @media (max-width: 480px) {

            .hero {
                min-height: 100vh;
            }
            .slide-content {
                top: 50%;
            }

            .slide-title {
                font-size: clamp(28px, 14vw, 48px);
                line-height: 1.15;
            }

            .slide-description {
                font-size: 14px;
                line-height: 1.5;
            }

            .hero-bottom-content {
                bottom: var(--spacing-md);
            }

            .social-icons {
                width: 100%;
                justify-content: center;
            }

            .social-icon {
                width: 40px;
                height: 40px;
            }

            .social-icon svg {
                width: 18px;
                height: 18px;
            }

            .btn-hero {
                width: 100%;
                justify-content: center;
                padding: 12px 14px;
            }

            .slider-dots {
                bottom: 140px;
            }
        }

        /* Landscape Mobile */
        @media (max-width: 768px) and (orientation: landscape) {
            .slide-content {
                top: 30%;
            }

            .slide-title {
                font-size: clamp(24px, 8vw, 40px);
                margin-bottom: var(--spacing-sm);
            }

            .slide-description {
                font-size: 12px;
                line-height: 1.4;
            }

            .hero-bottom-content {
                flex-direction: row;
                bottom: var(--spacing-sm);
            }

            .slider-dots {
                bottom: var(--spacing-sm);
            }
        }



/* ========================================
   ABOUT SECTION
======================================== */
.about {
    padding: var(--spacing-xxl) 0;
    background: var(--color-bg-base);
    position: relative;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: radial-gradient(circle at 50% 0%, rgba(220, 0, 50, 0.03) 0%, transparent 70%);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xxl);
    align-items: center;
}

/* Left Side: Text Content */
.about-text {
    z-index: 2;
}

.section-title {
    font-family: var(--font-family-primary);
    font-weight: 600;
    font-size: clamp(48px, 8vw, 86px);
    color: var(--color-primary);
    line-height: 0.95;
    letter-spacing: -2px;
    margin-bottom: var(--spacing-lg);
}

.about-description {
    font-family: var(--font-family-primary);
    font-weight: var(--font-weight-regular);
    font-size: clamp(16px, 2.5vw, 24px);
    color: var(--color-text-primary);
    line-height: 1.5;
    margin-bottom: var(--spacing-lg);
}

/* ========================================
   MOBILE TAP INSTRUCTION (Mobile Only)
======================================== */
.mobile-tap-instruction {
    display: none; /* Hidden on desktop */
    font-family: var(--font-family-primary);
    font-size: 14px;
    color: var(--color-text-caption);
    background: rgba(227, 0, 27, 0.05);
    padding: 12px 16px;
    border-radius: 8px;
    border-left: 3px solid var(--color-primary);
    margin-bottom: var(--spacing-lg);
}

/* ========================================
   DISTRICT SELECTOR DROPDOWN
======================================== */
.about-district-selector {
    display: none; /* Hidden on desktop by default */
    margin-bottom: var(--spacing-lg);
}

.selector-label {
    font-family: var(--font-family-primary);
    font-size: 14px;
    font-weight: 600;
    color: var(--color-text-primary);
    display: block;
    margin-bottom: 10px;
}

.selector-wrapper {
    position: relative;
    width: 100%;
}

.store-dropdown {
    width: 100%;
    padding: 14px 40px 14px 18px;
    font-family: var(--font-family-primary);
    font-size: 16px;
    color: var(--color-text-primary);
    background: white;
    border: 2px solid rgba(227, 0, 27, 0.3);
    border-radius: 12px;
    appearance: none;
    cursor: pointer;
    transition: all 0.3s ease;
    outline: none;
}

.store-dropdown:hover {
    border-color: var(--color-primary);
}

.store-dropdown:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(227, 0, 27, 0.1);
}

.dropdown-icon {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    color: var(--color-primary);
    transition: transform 0.3s ease;
}

.store-dropdown:focus ~ .dropdown-icon {
    transform: translateY(-50%) rotate(180deg);
}

/* ========================================
   3D MAP CONTAINER
======================================== */
.about-map-3d {
    position: relative;
    width: 100%;
    height: 500px;
    z-index: 2;
}

#kerala-3d-container {
    width: 100%;
    height: 100%;
    
    overflow: hidden;
    
}

/* Map Loading State */
.map-loading-state {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.95);
    z-index: 10;
    border-radius: 20px;
}

.map-loading-state.hidden {
    display: none;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid var(--color-primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.map-loading-state p {
    font-family: var(--font-family-primary);
    font-size: 16px;
    color: var(--color-text-primary);
}

/* Waves Background for About Section */
.about-waves-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.about-waves-background canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #ffffff;
    opacity: 0.3;
    pointer-events: auto;
}

.about .container {
    position: relative;
    z-index: 1;
    pointer-events: auto;
}

/* ========================================
   RESPONSIVE - TABLET
======================================== */
@media screen and (max-width: 1023px) {
    .about-content {
        gap: var(--spacing-xl);
    }

    /* Show dropdown on tablet */
    .about-district-selector {
        display: block;
    }

    .selector-wrapper {
        max-width: 400px;
    }

    .store-dropdown {
        padding: 14px 40px 14px 18px;
        font-size: 16px;
    }

    #kerala-3d-container {
        height: 450px;
    }

    .about-map-3d {
        height: 450px;
    }
}

/* ========================================
   RESPONSIVE - MOBILE
   Order: TEXT → DROPDOWN → MAP
======================================== */
@media screen and (max-width: 767px) {
    .about {
        padding: var(--spacing-xxl) 0;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
        display: flex;
        flex-direction: column;
    }

    /* ORDER 1: Text content appears first */
    .about-text {
        order: 1;
        width: 100%;
    }

    /* Show mobile instruction */
    .mobile-tap-instruction {
        display: block;
    }

    /* ORDER 2: Dropdown appears second (inside about-text) */
    .about-district-selector {
        display: block !important;
        order: 2;
        margin-bottom: var(--spacing-lg);
    }

    .selector-wrapper {
        width: 100%;
        max-width: 100%;
    }

    .selector-label {
        font-size: 13px;
        margin-bottom: 8px;
    }

    .store-dropdown {
        width: 100%;
        padding: 14px 40px 14px 18px;
        font-size: 16px;
        border-radius: 12px;
        background: white;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    }

    .dropdown-icon {
        right: 14px;
    }

    /* ORDER 3: 3D Map appears last */
    .about-map-3d {
        order: 3;
        width: 100%;
        height: 400px;
    }

    #kerala-3d-container {
        height: 400px;
        border-radius: 16px;
    }

    .section-title {
        font-size: clamp(36px, 10vw, 60px);
        margin-bottom: var(--spacing-md);
    }

    .about-description {
        font-size: 16px;
        margin-bottom: var(--spacing-md);
    }
}

/* ========================================
   RESPONSIVE - SMALL MOBILE
======================================== */
@media screen and (max-width: 480px) {
    .about-description {
        font-size: 15px;
    }

    .mobile-tap-instruction {
        font-size: 13px;
        padding: 10px 14px;
    }

    .selector-wrapper {
        width: 100%;
    }

    .selector-label {
        font-size: 12px;
    }

    .store-dropdown {
        padding: 12px 36px 12px 16px;
        font-size: 15px;
        border-radius: 10px;
    }

    .dropdown-icon {
        right: 12px;
        width: 20px;
        height: 20px;
    }

    .about-map-3d {
        height: 350px;
    }

    #kerala-3d-container {
        height: 350px;
        border-radius: 14px;
    }
}

/* ========================================
   LANDSCAPE MOBILE OPTIMIZATION
======================================== */
@media screen and (max-width: 768px) and (orientation: landscape) {
    .about-map-3d {
        height: 300px;
    }

    #kerala-3d-container {
        height: 300px;
    }

    .mobile-tap-instruction {
        padding: 8px 12px;
        font-size: 12px;
    }
}

/* ========================================
   HISTORY SECTION
======================================== */
.history {
    padding: var(--spacing-xxl) 0;
    background: linear-gradient(to bottom, var(--color-bg-base) 0%, #f8f8f8 100%);
    position: relative;
}

.history::before {
    content: '1999';
    position: absolute;
    font-size: 20vw;
    font-weight: 900;
    color: rgba(220, 0, 50, 0.03);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 0;
}

.history .container {
    position: relative;
    z-index: 1;
}

.history-timeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-xl);
    margin-top: var(--spacing-xxl);
}

.timeline-item {
    text-align: center;
}

.timeline-year {
    font-family: var(--font-family-primary);
    font-weight: 900;
    font-size: 48px;
    color: var(--color-primary);
    margin-bottom: var(--spacing-md);
}

.timeline-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: var(--spacing-md);
    box-shadow: var(--shadow-medium);
}

.timeline-item p {
    font-family: var(--font-family-primary);
    font-weight: var(--font-weight-regular);
    font-size: 14px;
    line-height: 1.6;
    color: var(--color-text-caption);
}

.timeline-nav {
    display: flex;
    justify-content: center;
    gap: var(--spacing-md);
    margin-top: var(--spacing-xxl);
}

.nav-arrow {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid var(--color-primary);
    background: var(--color-bg-base);
    color: var(--color-primary);
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-arrow:hover {
    background: var(--color-primary);
    color: var(--color-text-white);
    transform: scale(1.1);
    box-shadow: var(--shadow-medium);
}

.nav-arrow:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    transform: none;
}

.nav-arrow:disabled:hover {
    background: var(--color-bg-base);
    color: var(--color-primary);
}

/* History Section - Tablet */
@media screen and (max-width: 1023px) {
    .history-timeline {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* History Section - Mobile */
@media screen and (max-width: 767px) {
    .history {
        padding: var(--spacing-xxl) 0;
    }

    .history-timeline {
        grid-template-columns: 1fr;
        gap: var(--spacing-xxl);
        margin-top: var(--spacing-xl);
    }

    .timeline-year {
        font-size: 38px;
    }

    .timeline-item img {
        height: 180px;
    }

    .timeline-nav {
        margin-top: var(--spacing-xl);
    }

    .nav-arrow {
        width: 45px;
        height: 45px;
        font-size: 18px;
    }
}

/* History Section - Small Mobile */
@media screen and (max-width: 480px) {
    .timeline-item img {
        height: 160px;
    }
}

/* ========================================
   DIVISIONS SECTION
======================================== */
.divisions {
    padding: var(--spacing-xxl) 0;
    background: var(--color-primary);
    position: relative;
}

.section-title-white {
    font-family: var(--font-family-primary);
    font-weight: 600;
    font-size: clamp(48px, 8vw, 86px);
    color: var(--color-text-white);
    line-height: 0.95;
    letter-spacing: -2px;
    margin-bottom: var(--spacing-xxl);
    text-align: right;
}

.divisions-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-md);
}

.division-card {
    background: transparent;
    border-radius: 25px;
    overflow: hidden;
    transition: transform 0.3s ease;
    position: relative;
}

.division-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
}

/* Division Media Container */
.division-media {
    position: relative;
    width: 100%;
    height: 364px;
    overflow: hidden;
    border-radius: 25px;
}

/* Division Image - Default State */
.division-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: opacity 0.4s ease;
    will-change: opacity;
    opacity: 1;
    z-index: 1;
}

/* Division Video - Hidden by Default */
.division-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.4s ease;
    will-change: opacity;
    z-index: 1;
}

/* Show video and hide image on hover */
.division-card:hover .division-video {
    opacity: 1;
    z-index: 2;
}

.division-card:hover .division-image {
    opacity: 0;
}

/* SIMPLE GRADIENT MASK OVERLAY - For Image State (Default) */
.division-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    color: white;
    
    /* 👇 Simple gradient mask - visible by default for image */
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85), transparent);
    
    /* Position content nicely inside the gradient */
    padding: 60px var(--spacing-lg) var(--spacing-md);
    
    display: flex;
    align-items: flex-end;
    transition: background-color 0.4s ease, transform 0.4s ease, opacity 0.4s ease;
    will-change: transform, opacity, background-color;
    z-index: 3;
    pointer-events: none;
    transform: translateY(0);
}

/* When video plays on hover - restore original full dark overlay */
.division-card:hover .division-overlay {
    background: rgba(0, 0, 0, 0.5); /* Original full dark overlay for video */
    padding: var(--spacing-lg); /* Original padding */
    top: 0; /* Make it full height */
    height: 100%; /* Cover entire card */
}

/* Re-enable pointer events for interactive content */
.division-content {
    width: 100%;
    pointer-events: auto;
    position: relative;
    z-index: 4;
}

.division-title {
    font-family: var(--font-family-primary);
    font-weight: 700;
    font-size: 22px;
    color: var(--color-text-white);
    margin-bottom: var(--spacing-xs);
    line-height: 1.2;
}

.division-subtitle {
    font-family: var(--font-family-primary);
    font-weight: var(--font-weight-regular);
    font-size: 14px;
    color: var(--color-text-white);
    margin-bottom: var(--spacing-sm);
    opacity: 0.9;
}

/* Division Button */
.btn-division {
    font-family: var(--font-family-primary);
    font-weight: 500;
    background: var(--color-primary);
    color: var(--color-text-white);
    border: none;
    padding: 10px 24px;
    border-radius: 50px;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: capitalize;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    text-decoration: none !important;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.btn-division:hover {
    background: #b8002a;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
    text-decoration: none !important;
}










/* Divisions Section - Large Desktop (for very wide screens) */
@media screen and (min-width: 1440px) {
    .divisions-grid {
        gap: var(--spacing-lg); /* Increase gap on larger screens */
    }

    .division-media {
        height: 420px; /* Slightly taller on large screens */
    }
}

/* Divisions Section - Tablet */
@media screen and (max-width: 1023px) {
    .divisions-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-lg);
    }

    .division-media {
        height: 400px;
    }

    .division-title {
        font-size: 24px;
    }

    .division-subtitle {
        font-size: 14px;
    }

    .btn-division {
        padding: 12px 28px;
        font-size: 14px;
    }
}

/* Divisions Section - Mobile */
@media screen and (max-width: 767px) {
    .divisions {
        padding: var(--spacing-xl) 0;
    }

    .section-title-white {
        font-size: clamp(36px, 10vw, 60px);
        margin-bottom: var(--spacing-lg);
        text-align: center; /* Center on mobile */
    }

    .divisions-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }

    .division-media {
        height: 350px;
    }

    .division-overlay {
        padding: var(--spacing-lg);
    }

    .division-title {
        font-size: 22px;
    }

    .division-subtitle {
        font-size: 13px;
    }

    .btn-division {
        padding: 10px 24px;
        font-size: 13px;
    }
}

/* Divisions Section - Small Mobile */
@media screen and (max-width: 480px) {
    .division-media {
        height: 480px;
        border-radius: 16px;
    }

    .division-title {
        font-size: 20px;
    }

    .btn-division {
        padding: 10px 20px;
        font-size: 12px;
    }
}

/* ========================================
   AWARDS SECTION
======================================== */
.awards {
    padding: var(--spacing-xxl) 0;
    background: var(--color-bg-base);
    position: relative;
    text-align: center;
    overflow: hidden;
}

/* === BACKGROUND "BEST" EFFECT === */
.best-wrap {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    overflow: hidden;
    z-index: 0;
}

.best-wrap h1 {
    font-family: var(--font-family-primary);
    font-weight: 800;
    font-size: 30vw;
    color: #EFEFEF;
    line-height: 1;
    position: relative;
    top: 55%;
    transform: translateY(-50%);
    z-index: 1;
    margin: 0;
}

/* Box covering bottom half of the word */
.best-wrap::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 38%;
    background: #EFEFEF;
    z-index: 0;
}

/* === CONTENT ABOVE BACKGROUND === */
.awards .container {
    position: relative;
    z-index: 2;
}

.awards .section-title {
    text-align: left;
    margin-bottom: var(--spacing-xxl);
    line-height: 1;
    position: relative;
    z-index: 2;
}

.awards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-xxl);
    position: relative;
    z-index: 2;
}

.award-card {
    background: transparent;
    padding: var(--spacing-lg);
    text-align: center;
    transition: transform 0.4s ease, opacity 0.4s ease;
    will-change: transform, opacity;
    position: relative;
}

.award-card:hover {
    transform: translateY(-10px);
}

/* Award Image/Icon */
.award-icon {
    width: 100%;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-lg);
    position: relative;
}

.award-icon img {
    width: auto;
    height: 180px;
    object-fit: contain;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.15));
    transition: transform 0.4s ease, opacity 0.4s ease;
    will-change: transform, opacity;
}

.award-card:hover .award-icon img {
    transform: scale(1.1) translateY(-5px);
}

/* Award Title */
.award-title {
    font-family: var(--font-family-primary);
    font-weight: var(--font-weight-bold);
    font-size: 20px;
    color: var(--color-primary);
    margin-bottom: var(--spacing-sm);
    line-height: 1.3;
}

/* Award Description */
.award-desc {
    font-family: var(--font-family-primary);
    font-weight: var(--font-weight-regular);
    font-size: 15px;
    color: var(--color-text-caption);
    margin-bottom: var(--spacing-sm);
    line-height: 1.6;
}

/* Award Year */
.award-year {
    font-family: var(--font-family-primary);
    font-weight: 700;
    font-size: 18px;
    color: var(--color-text-primary);
    margin: 0;
}

/* View More Button - Center Bottom */
.btn-primary {
    font-family: var(--font-family-primary);
    font-weight: 600;
    background: var(--color-primary);
    color: var(--color-text-white);
    border: none;
    padding: 14px 40px;
    border-radius: 50px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: capitalize;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 12px rgba(227, 0, 27, 0.3);
    position: relative;
    z-index: 2;
}

.btn-primary svg {
    width: 16px;
    height: 16px;
}

.btn-primary:hover {
    background: #b8002a;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(227, 0, 27, 0.4);
}

.btn-primary:focus {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

.btn-primary:active {
    transform: scale(0.98);
}

/* Awards Section - Large Desktop */
@media screen and (min-width: 1200px) {
    .best-wrap h1 {
        font-size: 28vw;
    }

    .awards-grid {
        gap: var(--spacing-xxl);
    }
}

/* Awards Section - Tablet - HORIZONTAL SCROLL */
@media screen and (max-width: 1023px) {
    .best-wrap h1 {   
        font-size: 30vw;    
        line-height: 1; 
        top: 53%;   
    }

    .best-wrap::after {
        height: 40%;
    }

    /* MODIFICATION: Make grid scrollable horizontally */
    .awards-grid {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        overflow-y: hidden;
        gap: var(--spacing-lg);
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 20px;
        margin-bottom: var(--spacing-xl);
        /* CENTER ALIGNMENT FIX */
        padding-left: calc((100vw - 300px) / 2); /* Centers first card */
        padding-right: calc((100vw - 300px) / 2); /* Centers last card */
    }

    /* Each award card takes fixed width */
    .award-card {
        flex: 0 0 300px;
        min-width: 300px;
        scroll-snap-align: center; /* Changed from 'start' to 'center' */
    }

    /* Scrollbar styling */
    .awards-grid::-webkit-scrollbar {
        height: 8px;
    }

    .awards-grid::-webkit-scrollbar-track {
        background: rgba(0, 0, 0, 0.05);
        border-radius: 10px;
    }

    .awards-grid::-webkit-scrollbar-thumb {
        background: rgba(227, 0, 27, 0.3);
        border-radius: 10px;
    }

    .awards-grid::-webkit-scrollbar-thumb:hover {
        background: rgba(227, 0, 27, 0.5);
    }

    .award-icon {
        height: 180px;
    }

    .award-icon img {
        height: 160px;
    }

    .award-title {
        font-size: 18px;
    }
}

/* Awards Section - Mobile - HORIZONTAL SCROLL */
@media screen and (max-width: 810px) {
    .awards {
        padding: var(--spacing-xl) 0;
    }
    
    .best-wrap h1 {   
        font-size: 25vw;    
        line-height: 1; 
        top: 50.5%;   
    }

    .best-wrap::after {
        height: 38%;
    }

    .awards .section-title {
        text-align: left;
        font-size: clamp(36px, 10vw, 60px);
        margin-bottom: var(--spacing-lg);
    }

    /* MODIFICATION: Make grid scrollable horizontally */
    .awards-grid {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        overflow-y: hidden;
        gap: var(--spacing-md);
        margin-bottom: var(--spacing-lg);
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 20px;
        /* CENTER ALIGNMENT FIX */
        padding-left: calc((100vw - 280px) / 2); /* Centers first card */
        padding-right: calc((100vw - 280px) / 2); /* Centers last card */
    }

    /* Each award card takes fixed width */
    .award-card {
        flex: 0 0 280px;
        min-width: 280px;
        padding: var(--spacing-md);
        scroll-snap-align: center; /* Changed from 'start' to 'center' */
    }

    /* Scrollbar styling */
    .awards-grid::-webkit-scrollbar {
        height: 6px;
    }

    .awards-grid::-webkit-scrollbar-track {
        background: rgba(0, 0, 0, 0.05);
        border-radius: 10px;
    }

    .awards-grid::-webkit-scrollbar-thumb {
        background: rgba(227, 0, 27, 0.3);
        border-radius: 10px;
    }

    .award-icon {
        height: 150px;
        margin-bottom: var(--spacing-md);
    }

    .award-icon img {
        height: 130px;
    }

    .award-title {
        font-size: 16px;
    }

    .award-desc {
        font-size: 13px;
    }

    .award-year {
        font-size: 16px;
    }

    .btn-primary {
        padding: 12px 32px;
        font-size: 13px;
    }
}


/* Awards Section - Small Mobile - HORIZONTAL SCROLL */
@media screen and (max-width: 480px) {
    .best-wrap h1 {   
        font-size: 30vw;    
        line-height: 1; 
        top: 58%;   
    }

    .best-wrap::after {
        height: 39%;
    }

    /* MODIFICATION: Smaller card width for small mobile */
    .awards-grid {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        overflow-y: hidden;
        gap: var(--spacing-md);
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 20px;
        /* CENTER ALIGNMENT FIX */
        padding-left: calc((100vw - 260px) / 2); /* Centers first card */
        padding-right: calc((100vw - 260px) / 2); /* Centers last card */
    }

    .award-card {
        flex: 0 0 260px;
        min-width: 260px;
        padding: var(--spacing-lg);
        scroll-snap-align: center; /* Changed from 'start' to 'center' */
    }

    .award-icon {
        height: 180px;
    }

    .award-icon img {
        height: 160px;
    }

    .award-title {
        font-size: 18px;
    }

    .award-desc {
        font-size: 14px;
    }

    .btn-primary {
        padding: 10px 28px;
        width: auto;
        max-width: 250px;
    }
}
/* ========================================
   NEWS & EVENTS SECTION
======================================== */
.news {
    padding: var(--spacing-xxl) 0;
    background: var(--color-primary);
    position: relative;
}

.news .container {
    position: relative;
}

.news .section-title-white {
    text-align: center;
    margin-bottom: var(--spacing-xxl);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-xxl);
}

.news-card {
    background: transparent;
    transition: transform 0.4s ease, opacity 0.4s ease;
    will-change: transform, opacity;
    cursor: pointer;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    height: 450px;
}

.news-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
}

/* News Image */
.news-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease, opacity 0.4s ease;
    will-change: transform, opacity;
}

.news-card:hover img {
    transform: scale(1.1);
}

/* News Content Overlay */
.news-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: var(--spacing-lg);
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 100%);
    transition: transform 0.4s ease, opacity 0.4s ease;
    will-change: transform, opacity;
    z-index: 2;
}

/* Arrow Icon - Bottom Right (Normal State) */
.news-card::after {
    content: '';
    position: absolute;
    bottom: 20px;
    right: 20px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: var(--color-primary); /* Changed from 'background' to 'background-color' */
    background-image: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7 17L17 7M17 7H7M17 7V17' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 24px 24px;
    display: flex;
    align-items: center;
    justify-content: center;
   transition: transform 0.4s ease, opacity 0.4s ease;
   will-change: transform, opacity;
    z-index: 3;
}

/* Hover State - Full Overlay */
.news-card:hover::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1;
}

/* Arrow Icon - White Background and Border on Hover */
.news-card:hover::after {
    background-color: rgba(255, 255, 255, 0.2); /* Only change background-color */
    border: 2px solid white;
    width: 40px;
    height: 40px;
    background-size: 20px 20px; /* Keep the SVG visible */
    /* background-image is inherited from normal state */
}

/* Hover State - Content Visible */
.news-card:hover .news-content {
    background: transparent;
    top: 50%;
    transform: translateY(-50%);
    bottom: auto;
    text-align: left;
}

/* Arrow Icon - White and Smaller on Hover */
.news-card:hover::after {
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid white;
    width: 40px;
    height: 40px;
    background-size: 20px 20px;
}

/* News Date */
.news-date {
    font-family: var(--font-family-primary);
    font-weight: var(--font-weight-regular);
    font-size: 14px;
    color: var(--color-text-white);
    display: block;
    margin-bottom: var(--spacing-xs);
    opacity: 0;
    transform: translateY(10px);
    transition: transform 0.4s ease, opacity 0.4s ease;
    will-change: transform, opacity;
}

.news-card:hover .news-date {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.1s;
}

/* News Title */
.news-title {
    font-family: var(--font-family-primary);
    font-weight: 700;
    font-size: 22px;
    color: var(--color-text-white);
    line-height: 1.4;
    margin: 0;
    opacity: 1;
    transition: transform 0.4s ease, opacity 0.4s ease;
}

.news-card:hover .news-title {
    font-size: 28px;
    transition-delay: 0.15s;
}

/* View All Button - Bottom Left 
.btn-secondary {
    font-family: var(--font-family-primary);
    font-weight: 500;
    background: transparent;
    color: var(--color-text-white);
    border: 2px solid var(--color-text-white);
    padding: 14px 40px;
    border-radius: 50px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: capitalize;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    position: relative;
}

.btn-secondary svg {
    width: 16px;
    height: 16px;
}

.btn-secondary:hover {
    background: var(--color-text-white);
    color: var(--color-primary);
    transform: translateY(-2px);
}

.btn-secondary:focus {
    outline: 2px solid var(--color-text-white);
    outline-offset: 2px;
}

.btn-secondary:active {
    transform: scale(0.98);
}
*/
/* News Section - Tablet */
@media screen and (max-width: 1023px) {
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-lg);
    }
    
    .news-card {
        height: 400px;
    }

    .news-title {
        font-size: 18px;
    }

    .news-card:hover .news-title {
        font-size: 22px;
    }
}

/* News Section - Mobile */
@media screen and (max-width: 767px) {
    .news {
        padding: var(--spacing-xl) 0;
    }

    .news .section-title-white {
        text-align: center;
    }

    .news-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
        margin-bottom: var(--spacing-lg);
    }

    .news-card {
        height: 350px;
    }

    .news-title {
        font-size: 16px;
    }

    .news-card:hover .news-title {
        font-size: 20px;
    }

    .news-card::after {
        width: 40px;
        height: 40px;
        background-size: 20px 20px;
    }

    .news-card:hover::after {
        width: 36px;
        height: 36px;
        background-size: 18px 18px;
    }

    .btn-secondary {
        padding: 12px 32px;
        font-size: 13px;
        width: auto;
    }
}

/* News Section - Small Mobile */
@media screen and (max-width: 480px) {
    .news-card {
        height: 320px;
        border-radius: 16px;
    }

    .news-date {
        font-size: 12px;
    }

    .news-title {
        font-size: 15px;
    }

    .news-card:hover .news-title {
        font-size: 18px;
    }

    .btn-secondary {
        padding: 10px 24px;
        font-size: 13px;
    }

    .news-card::after {
        bottom: 16px;
        right: 16px;
    }
}
/* ========================================
   BLOGS SECTION
======================================== */
.blogs {
    padding: var(--spacing-xxl) 0;
    background: #ffffff !important;
    position: relative;
}

.blogs * {
    background-color: transparent;
}

.blogs .container {
    background: #ffffff !important;
}

.blogs .section-title {
    text-align: left;
    margin-bottom: var(--spacing-xl);
    background: transparent !important;
}

.blogs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--spacing-xl);
    margin: var(--spacing-xxl) 0;
    background: transparent !important;
}

.blog-card {
    background: transparent !important;
    transition: transform 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-8px);
}

/* Image wrapper with overlay */
.blog-image-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    height: 450px;
    background: #ffffff;
    box-shadow: none;
    transition: box-shadow 0.3s ease;
}

.blog-card:hover .blog-image-wrapper {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.blog-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
    background: #f5f5f5;
}

/* Dark overlay on hover */
.blog-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    transition: opacity 0.4s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.blog-card:hover .blog-overlay {
    opacity: 1;
    pointer-events: auto;
}

.blog-card:hover .blog-image-wrapper img {
    transform: scale(1.05);
}

/* Read More Button */
.btn-read-more {
    font-family: var(--font-family-primary);
    font-weight: 500;
    background: transparent;
    color: var(--color-text-white);
    border: 2px solid var(--color-text-white);
    padding: 14px 32px;
    border-radius: 50px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: capitalize;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    opacity: 0;
    transform: translateY(20px);
}

.blog-card:hover .btn-read-more {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.1s;
}

.btn-read-more:hover {
    background: var(--color-text-white);
    color: var(--color-primary);
    transform: translateY(-2px);
}

.btn-read-more svg {
    width: 16px;
    height: 16px;
}

/* Blog content - text below image */
.blog-content {
    padding: var(--spacing-lg) 0;
    background: transparent !important;
}

.blog-content p {
    font-family: var(--font-family-primary);
    font-weight: var(--font-weight-regular);
    font-size: 16px;
    line-height: 1.7;
    color: var(--color-text-caption);
    background: transparent !important;
}

/* Navigation Circles */
.blog-nav {
    display: flex;
    justify-content: flex-end;
    gap: var(--spacing-md);
    margin-top: var(--spacing-xl);
    background: transparent !important;
}

.nav-circle {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: 2px solid var(--color-primary);
    background: #ffffff !important;
    color: var(--color-primary);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: none;
}

.nav-circle svg {
    width: 24px;
    height: 24px;
}

.nav-circle:hover {
    background: var(--color-primary) !important;
    color: var(--color-text-white);
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(227, 0, 27, 0.2);
}

.nav-circle:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    transform: none;
}

.nav-circle:disabled:hover {
    background: #ffffff !important;
    color: var(--color-primary);
    box-shadow: none;
}

/* Blogs Section - Tablet */
@media screen and (max-width: 1023px) {
    .blogs-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-lg);
    }
    
    .blog-image-wrapper {
        height: 400px;
    }
}

/* Blogs Section - Mobile */
@media screen and (max-width: 767px) {
    .blogs {
        padding: var(--spacing-xl) 0;
    }

    .blogs .section-title {
        text-align: center;
    }

    .blogs-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
        margin: var(--spacing-lg) 0;
    }

    .blog-image-wrapper {
        height: 350px;
    }

    .blog-content p {
        font-size: 14px;
    }

    .blog-nav {
        justify-content: center;
    }

    .nav-circle {
        width: 48px;
        height: 48px;
    }
}

/* Blogs Section - Small Mobile */
@media screen and (max-width: 480px) {
    .blog-image-wrapper {
        height: 320px;
        border-radius: 16px;
    }

    .blog-content p {
        font-size: 13px;
    }

    .btn-read-more {
        padding: 12px 28px;
        font-size: 13px;
    }

    .nav-circle {
        width: 44px;
        height: 44px;
    }
}

/* ========================================
   FOOTER
======================================== */
.footer {
    background: #ffffff;
    color: var(--color-text-white);
    padding: var(--spacing-xl) 0;
    text-align: center;
}

.footer p {
    font-family: var(--font-family-primary);
    font-weight: var(--font-weight-regular);
    font-size: 14px;
    opacity: 0.8;
}

/* Footer - Mobile */
@media screen and (max-width: 767px) {
    .footer {
        padding: var(--spacing-lg) 0;
    }

    .footer p {
        font-size: 12px;
    }
}

/* ========================================
   UTILITY CLASSES
======================================== */
.desktop-only {
    display: block;
}

.mobile-only {
    display: none;
}

@media screen and (max-width: 767px) {
    .desktop-only {
        display: none;
    }

    .mobile-only {
        display: block;
    }
}

/* ========================================
   ANIMATIONS
======================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.8s ease-out;
}

/* ========================================
   ACCESSIBILITY
======================================== 
button:focus,
.nav-arrow:focus,
.nav-circle:focus {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

.timeline-item:focus-within,
.division-card:focus-within,
.award-card:focus-within,
.news-card:focus-within,
.blog-card:focus-within {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
    border-radius: 12px;
}
*/
/* Reduced motion for accessibility 
@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition: none !important;
    }
}
*/
/* High contrast mode support 
@media (prefers-contrast: high) {
    .division-card,
    .news-card,
    .blog-card,
    .award-card {
        border: 2px solid var(--color-text-primary);
    }
}
*/
/* ========================================
   PRINT STYLES
======================================== 
    .nav-arrow,
    .nav-circle,
    .btn-primary,
    .btn-secondary,
    .social-icons {
        display: none;
    }
    
    .hero {
        min-height: auto;
        padding: var(--spacing-xl) 0;
    }
    
    .section-title,
    .section-title-white {
        color: #ffffff;
    }
}*/
/* ========================================
   HISTORY SECTION - HORIZONTAL SCROLL
======================================== */
.history {
    padding: 0;
    background: transparent;
    position: relative;
}

.history::before {
    display: none;
}

.history .container {
    display: none;
}

/* Panel Container for Horizontal Scroll */
.panel-container-history {
    width: 100%;
    height: 100vh;
    display: flex;
    flex-wrap: nowrap;
}

.panel-history {
    width: 100%;
    height: 100vh;
    flex-shrink: 0;
}

/* History Hero Styles */
.history-hero {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 700px;
    overflow: hidden;
    background: linear-gradient(to bottom, #ffffff 0%, #f8f8f8 100%);
}

.history-hero-year-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 30vw;
    font-weight: 900;
    background: linear-gradient(to right, rgba(217, 217, 217, 1) 0%, rgba(230, 226, 226, 0.2) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    z-index: 1;
    user-select: none;
    pointer-events: none;
}

.history-hero-content {
    position: relative;
    font-family: var(--font-family-primary);
    width: 100%;
    height: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 40px;
    z-index: 2;
}

.history-hero-title {
    position: absolute;
    top: 80px;
    left: 80px;
    font-size: 80px;
    font-weight: 600;
    color: var(--color-primary);
    line-height: 1.1;
    /*text-transform: uppercase;*/
    letter-spacing: -2px;
    z-index: 3;
}

.history-timeline-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-template-rows: repeat(4, 1fr);
    gap: 10px;
    padding: 80px 80px 80px;
}

.history-grid-item {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.history-timeline-item-1 {
    grid-column: 6 / 7;
    grid-row: 1 / 2;
}

.history-content-block {
    grid-column: 3 / 5;
    grid-row: 2 / 3;
    display: flex;
    align-items: center;
    padding: 0 20px;
    justify-content: center;
}

.history-timeline-item-2 {
    grid-column: 5 / 6;
    grid-row: 3 / 4;
    position: relative;
    top: -30px;
    left: -20px;
}

.timeline-item-3 {
    grid-column: 1 / 2;
    grid-row: 2 / 4;
}

.history-item-image-1 {
    width: 232px;
    height: 284px;
    object-fit: cover;
    box-shadow: rgba(0, 0, 0, 0.07) 0px 1px 2px, rgba(0, 0, 0, 0.07) 0px 2px 4px, 
                rgba(0, 0, 0, 0.07) 0px 4px 8px, rgba(0, 0, 0, 0.07) 0px 8px 16px, 
                rgba(0, 0, 0, 0.07) 0px 16px 32px, rgba(0, 0, 0, 0.07) 0px 32px 64px;
    display: block;
}

.history-item-image-2 {
    width: 210px;
    height: 224px;
    object-fit: cover;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 13px 27px -5px, rgba(0, 0, 0, 0.3) 0px 8px 16px -8px;
    display: block;
}

.item-image-3 {
    width: 184px;
    height: 214px;
    object-fit: cover;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 6px 12px -2px, rgba(0, 0, 0, 0.3) 0px 3px 7px -3px;
    display: block;
}

.item-description {
    font-size: 15px;
    line-height: 1.7;
    color: var(--color-text-primary);
    text-align: left;
}

/* Timeline Section Styles */
.timeline-section {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 700px;
    overflow: hidden;
    background: linear-gradient(to bottom, #ffffff 0%, #f8f8f8 100%);
}

.timeline-year-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 30vw;
    font-weight: 900;
    background: linear-gradient(to right, rgba(217, 217, 217, 1) 0%, rgba(230, 226, 226, 0.2) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    z-index: 1;
    user-select: none;
    pointer-events: none;
}

.timeline-content {
    position: relative;
    width: 100%;
    height: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 80px 80px 120px;
    z-index: 2;
}

.timeline-layout {
    position: relative;
    width: 100%;
    height: 100%;
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: auto auto 1fr auto;
    gap: 10px;
    align-items: start;
}

/* Base timeline line - make it lighter/subtle */
.timeline-line {
    position: absolute;
    left: 100px;
    right: 100px;
    top: calc(50% - 100px);
    transform: translateY(-50%);
    height: 2px;
    background-color: #e0e0e0;
    z-index: 1;
}

/* Progress line will be created by JavaScript */
.timeline-progress-line {
    box-shadow: 0 0 10px rgba(220, 0, 50, 0.5);
    /* Glow effect for the progress line */
}

.timeline-date {
    position: absolute;
    left: 80px;
    top: calc(50% + 20px);
    margin: 0;
    z-index: 3;
}

.timeline-date h2 {
    font-size: 34px;
    font-weight: 700;
    color: var(--color-primary);
    line-height: 1.2;
    margin-bottom: 12px;
    margin-top: 0;
}

.timeline-date p {
    font-size: 16px;
    line-height: 24px;
    color: var(--color-text-primary);
    max-width: 220px;
    margin: 0;
}

.timeline-center-image {
    position: absolute;
    top: calc(50% - 100px);
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
    pointer-events: none;
}

.center-image-container {
    width: 240px;
    height: 240px;
    border-radius: 50%;
    overflow: visible;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15), 0 10px 30px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 3;
    pointer-events: auto;
    margin: 0;
}

.center-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.center-image-label {
    position: absolute;
    bottom: -80px;
    left: 50%;
    transform: translateX(-50%);
    padding: 16px 32px;
    border-radius: 50px;
    text-align: center;
    min-width: 280px;
    white-space: nowrap;
}

.center-image-label p {
    font-size: 16px;
    font-weight: 600;
    color: var(--color-primary);
    line-height: 1.4;
    margin: 0;
}

.center-image-label span {
    font-size: 14px;
    color: var(--color-text-light);
}

.timeline-card-top {
    grid-column: 2 / 6;
    grid-row: 1 / 2;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.timeline-card-bottom {
    grid-column: 9 / 13;
    grid-row: 3 / 4;
    display: flex;
    align-items: flex-start;
    gap: 20px;
    align-self: center;
}

.card-content {
    flex: 1;
    max-width: 180px;
}

.card-image-top {
    width: 120px;
    height: 160px;
    border-bottom-right-radius: 3vw;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    flex-shrink: 0;
}

.card-image-bottom {
    width: 120px;
    height: 160px;
    border-bottom-right-radius: 3vw;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    flex-shrink: 0;
}

.card-image-top img,
.card-image-bottom img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background-color: var(--color-primary);
    margin-bottom: 8px;
    flex-shrink: 0;
}

.card-content h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--color-primary);
    line-height: 1.3;
    margin-bottom: 12px;
}

.card-content p {
    font-size: 13px;
    line-height: 1.6;
    color: var(--color-text-light);
    margin: 0;
}

/* ========================================
   RESPONSIVE - TABLET (1024px and below)
======================================== */
@media screen and (max-width: 1024px) {
    .history-hero {
        min-height: 100vh;
        height: auto;
    }

    .history-hero-year-bg {
        font-size: 26vw;
        top: 50%;
    }

    .history-hero-content {
        padding: 30px 30px;
    }

    .history-hero-title {
        position: absolute;
        font-size: 56px;
        left: 40px;
        top: 250px;
    }

    .history-timeline-grid {
        display: grid;
        grid-template-columns: repeat(6, 1fr);
        grid-template-rows: auto auto auto auto;
        gap: 15px;
        padding: 280px 40px 120px;
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }

    .history-timeline-item-1 {
        grid-column: 5 / 7;
        grid-row: 1 / 2;
    }

    .history-item-image-1 {
        width: 180px;
        height: 220px;
    }

    .history-content-block {
        grid-column: 2 / 6;
        grid-row: 3 / 4;
        padding: 0 20px;
    }

    .item-description {
        font-size: 14px;
        line-height: 1.6;
        text-align: center;
    }

    .timeline-item-3 {
        grid-column: 1 / 2;
        grid-row: 4 / 5;
    }

    .item-image-3 {
        width: 140px;
        height: 180px;
    }

    .history-timeline-item-2 {
        grid-column: 6 / 7;
        grid-row: 4 / 5;
        position: relative;
        top: -20px;
        left: -15px;
    }

    .history-item-image-2 {
        width: 160px;
        height: 210px;
    }

    .timeline-section {
        min-height: 650px;
        height: 100vh;
    }

    .timeline-year-bg {
        font-size: 26vw;
    }

    .timeline-content {
        padding: 60px 50px 100px;
    }

    .timeline-layout {
        grid-template-columns: repeat(12, 1fr);
        grid-template-rows: auto auto 1fr auto;
        gap: 8px;
    }

    .timeline-line,
    .timeline-progress-line {
        left: 70px !important;
        right: 70px !important;
    }
    

    .timeline-date {
        left: 50px;
        top: calc(50% + 20px);
    }

    .timeline-date h2 {
        font-size: 28px;
        margin-bottom: 10px;
    }

    .timeline-date p {
        font-size: 13px;
        line-height: 20px;
        max-width: 180px;
    }

    .timeline-center-image {
        top: calc(50% - 100px);
    }

    .center-image-container {
        width: 190px;
        height: 190px;
    }

    .center-image-label {
        bottom: -65px;
        min-width: 200px;
        padding: 10px 20px;
    }

    .center-image-label p {
        font-size: 13px;
    }

    .center-image-label span {
        font-size: 11px;
    }

    .timeline-card-top {
        grid-column: 2 / 6;
        grid-row: 1 / 2;
        gap: 8px;
    }

    .timeline-card-bottom {
        grid-column: 9 / 13;
        grid-row: 3 / 4;
        gap: 15px;
    }

    .card-content {
        max-width: 140px;
    }

    .card-image-top {
        width: 95px;
        height: 125px;
        border-bottom-right-radius: 4vw;
    }

    .card-image-bottom {
        width: 95px;
        height: 125px;
        border-bottom-right-radius: 4vw;
    }

    .card-dot {
        width: 13px;
        height: 13px;
        margin-bottom: 6px;
    }

    .card-content h3 {
        font-size: 19px;
        margin-bottom: 10px;
        line-height: 1.3;
    }

    .card-content p {
        font-size: 11px;
        line-height: 1.5;
    }
}

/* ========================================
   RESPONSIVE - MOBILE (480px and below)
======================================== */
@media screen and (max-width: 480px) {
    /* CRITICAL: Disable horizontal scroll container on mobile */
    .panel-container-history {
        display: block !important;
        width: 100% !important;
        height: auto !important;
        overflow: visible !important;
        position: relative !important;
    }

    .panel-history {
        width: 100% !important;
        height: auto !important;
        min-height: auto !important;
        flex-shrink: 1 !important;
        position: relative !important;
        transform: none !important; /* Override GSAP transforms */
    }

    /* Add spacing between panels */
    .panel-history + .panel-history {
        margin-top: 60px !important;
        padding-top: 20px !important;
    }

    /* History Hero Section */
    .history-hero {
        min-height: 100vh;
        height: 100vh;
        padding: 20px 15px 70px;
        overflow: hidden;
        display: flex;
        flex-direction: column;
    }

    .history-hero-year-bg {
        font-size: 32vw;
        top: 50%;
    }

    .history-hero-content {
        padding: 15px;
        height: 100%;
        display: flex;
        flex-direction: column;
    }

    .history-hero-title {
        position: relative;
        font-size: 34px;
        left: 0;
        top: 0;
        line-height: 1.1;
        margin-bottom: 20px;
        flex-shrink: 0;
    }

    .history-timeline-grid {
        position: relative;
        display: flex;
        flex-direction: column;
        gap: 15px;
        padding: 0;
        align-items: center;
        flex: 1;
        justify-content: flex-start;
    }

    .history-timeline-item-1 {
        order: 1;
        width: 100%;
        max-width: 250px;
        flex-shrink: 0;
    }

    .history-item-image-1 {
        width: 100%;
        height: auto;
        aspect-ratio: 4/3;
        object-fit: cover;
    }

    .history-content-block {
        order: 2;
        width: 100%;
        padding: 0 5px;
        flex-shrink: 0;
    }

    .item-description {
        font-size: 13px;
        line-height: 1.5;
        text-align: left;
        color: var(--color-text-light);
    }

    .timeline-item-3 {
        order: 3;
        width: 100%;
        max-width: 140px;
        align-self: flex-start;
        flex-shrink: 0;
        margin-left: 10px;
    }

    .item-image-3 {
        width: 100%;
        height: auto;
        aspect-ratio: 3/4;
        object-fit: cover;
    }

    .history-timeline-item-2 {
        order: 4;
        width: 100%;
        max-width: 180px;
        align-self: flex-end;
        position: relative;
        top: 0;
        left: 0;
        flex-shrink: 0;
        margin-top: -90px;
        margin-right: 10px;
    }

    .history-item-image-2 {
        width: 100%;
        height: auto;
        aspect-ratio: 4/5;
        object-fit: cover;
    }

    /* Timeline Sections */
    .timeline-section {
        min-height: 100vh;
        height: auto;
        padding-bottom: 100px;
    }

    .timeline-year-bg {
        font-size: 32vw;
        top: 60%;
    }

    .timeline-content {
        padding: 30px 20px 80px;
    }

    .timeline-layout {
        display: flex;
        flex-direction: column;
        gap: 30px;
        align-items: center;
    }

    /* Fix timeline line position on mobile */
    .timeline-line, 
    .timeline-progress-line {
        left: 20px !important;
        right: 20px !important;
        top: 48% !important;
        transform: translateY(-50%) !important;
        height: 2px !important;
    }
    
    /* Ensure progress line sits on top of base line */
    .timeline-progress-line {
        height: 3px !important;
        z-index: 2 !important;
    }

    /* Adjust timeline date position to align with line */
    .timeline-section .timeline-date {
        position: relative;
        left: 0;
        top: 0;
        margin: 0;
        text-align: left;
        width: 100%;
        order: 1;
        margin-bottom: 20px;
    }

    .timeline-date h2 {
        font-size: 32px;
        margin-bottom: 12px;
    }

    .timeline-date p {
        font-size: 14px;
        line-height: 22px;
        max-width: 100%;
        color: var(--color-text-light);
    }

    /* Timeline Card Top */
    .timeline-card-top {
        position: relative;
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 15px;
        width: 100%;
        order: 2;
        text-align: left;
    }

    .timeline-card-top .card-dot {
        width: 14px;
        height: 14px;
        margin: 0;
        align-self: flex-start;
        margin-top: 5px;
    }

    .timeline-card-top .card-image-top {
        width: 80px;
        height: 100px;
        border-bottom-right-radius: 15px;
        margin: 0;
        order: 1;
        flex-shrink: 0;
    }

    .timeline-card-top .card-content {
        max-width: none;
        flex: 1;
        order: 2;
    }

    .timeline-card-top .card-content h3 {
        font-size: 18px;
        margin-bottom: 8px;
        line-height: 1.3;
    }

    .timeline-card-top .card-content p {
        font-size: 12px;
        line-height: 1.6;
    }

    /* Center Image */
    .timeline-section .timeline-center-image {
        position: relative;
        top: 0;
        left: 0;
        transform: none;
        margin: 20px 0;
        order: 3;
    }

    .center-image-container {
        width: 260px;
        height: 260px;
    }

    .center-image-label {
        bottom: -75px;
        padding: 12px 24px;
        min-width: 240px;
    }

    .center-image-label p {
        font-size: 14px;
    }

    .center-image-label span {
        font-size: 12px;
    }

    /* Timeline Card Bottom */
    .timeline-card-bottom {
        position: relative;
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 15px;
        width: 100%;
        order: 4;
        text-align: left;
        margin-top: 40px;
    }

    .timeline-card-bottom .card-dot {
        width: 14px;
        height: 14px;
        margin: 0;
        align-self: flex-start;
        margin-top: 5px;
        order: 3;
    }

    .timeline-card-bottom .card-image-bottom {
        width: 80px;
        height: 100px;
        border-bottom-right-radius: 15px;
        margin: 0;
        order: 1;
        flex-shrink: 0;
    }

    .timeline-card-bottom .card-content {
        max-width: none;
        flex: 1;
        order: 2;
    }

    .timeline-card-bottom .card-content h3 {
        font-size: 18px;
        margin-bottom: 8px;
        line-height: 1.3;
    }

    .timeline-card-bottom .card-content p {
        font-size: 12px;
        line-height: 1.6;
    }
}

/* Waves Background for About Section */
/* Waves Background for About Section */
.about {
    position: relative;
    overflow: hidden;
}

.about-waves-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
    
    pointer-events: none; /* Allow clicks to pass through */
}

.about-waves-background canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #ffffff; /* pure white */
    opacity: 0.3;
    pointer-events: auto; /* But enable mouse events on canvas */
}

/* Ensure content is above waves */
.about .container {
    position: relative;
    z-index: 1;
    pointer-events: auto; /* Ensure content is clickable */
}





/* Fix for SplitText line animation clipping */
.section-title,
.section-title-white,
h1, h2, h3, h4 {
    overflow: visible !important; /* Allow descenders to show */
    padding-bottom: 0.15em; /* Space for descenders */
    margin-bottom: -0.15em; /* Compensate for added padding */
}

/* Ensure split lines don't get clipped */
.split-line {
    overflow: visible !important;
    display: block;
    line-height: inherit !important;
    padding-bottom: 0.1em; /* Extra space for descenders */
}

/* Ensure parent containers don't clip */
.history,
.blogs,
.awards,
section {
    overflow: visible !important;
}

/* Specific fix for your section titles */
.history .section-title,
.blogs .section-title,
.awards .section-title {
    overflow: visible !important;
    line-height: 1.1 !important; /* Slightly increased from 0.95 */
    padding-bottom: 0.2em;
}

/* ========================================
   120VH MINIMUM HEIGHT FOR KEY SECTIONS
======================================== */

.divisions,
.awards {
    min-height: 120vh;
    display: flex;
    align-items: center;
    padding: var(--spacing-xxl) 0;
}

.divisions .container,
.awards .container {
    width: 100%;
}

/* Add extra vertical spacing to fill the space nicely */
.divisions .section-title-white {
    margin-bottom: calc(var(--spacing-xxl) * 1.5);
}

.awards .section-title {
    margin-bottom: calc(var(--spacing-xxl) * 1.5);
}

/* Responsive: Adjust for smaller screens */
@media screen and (max-width: 1023px) {
    .divisions,
    .awards {
        min-height: 100vh;
    }
}

@media screen and (max-width: 767px) {
    .divisions,
    .awards {
        min-height: auto;
        padding: var(--spacing-xl) 0;
    }
    
    .divisions .section-title-white,
    .awards .section-title {
        margin-bottom: var(--spacing-lg);
    }
}

/* ========================================
   HORIZONTAL SCROLLBAR FIX
   Add this to your home.css file
======================================== */

/* 1. Prevent body/html from creating horizontal scroll */
html {
    overflow-x: hidden;
    width: 100%;
}

body {
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

/* 2. Ensure all major sections don't overflow */
section {
    overflow-x: hidden;
    max-width: 100%;
}

/* 3. Fix container widths */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
    overflow-x: v