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

/* ========================================
   RESET AND BASE
======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
/*
body {
    font-family: var(--font-family-primary);
    line-height: 1.6;
    color: var(--color-text-primary);
    overflow-x: hidden;
    background: var(--color-bg-base);
}*/

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

/*html {
    scroll-behavior: smooth;
    
}*/


    
/* ========================================
   HERO SECTION - 25 YEARS WITH THREE.JS
======================================== */
.hero {
    position: relative;
    min-height: 120vh;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    padding-bottom: var(--spacing-xxl);
}
 /*
.hero-canvas-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
   
  background: linear-gradient(
  to bottom,
  #ffffff 0%,
  #F5F5F5 70%,
  
  #EEEEEE 100%
);

background: hsla(0, 0%, 96%, 1);

background: radial-gradient(circle, hsla(0, 0%, 96%, 1) 70%, hsla(0, 0%, 85%, 1) 100%);

background: -moz-radial-gradient(circle, hsla(0, 0%, 96%, 1) 70%, hsla(0, 0%, 85%, 1) 100%);

background: -webkit-radial-gradient(circle, hsla(0, 0%, 96%, 1) 70%, hsla(0, 0%, 85%, 1) 100%);

filter: progid: DXImageTransform.Microsoft.gradient( startColorstr="#F5F5F5", endColorstr="#D8D8D8", GradientType=1 );
    z-index: 0;
}
*/
.hero-canvas-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
   
    background-image: url('../images/54456.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
}

#canvas-id {
    width: 100%;
    height: 100%;
    display: block;
    position: relative;
    z-index: 10;
    transform: translateY(-50px); /* Move up by 50px */
}

.loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #000;
    font-family: var(--font-family-primary);
    font-size: 24px;
    z-index: 10;
}

/* Marquee Behind 3D */
.marquee-wrapper {
    position: absolute;
    top: 54%;
    left: 0;
    transform: translateY(-50%);
    width: 100%;
    height: 300px;
    overflow: hidden;
    z-index: 5;
    display: flex;
    align-items: center;
    pointer-events: none;
}

/*.marquee-mask {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        #F5F5F5 0%, 
        transparent 20%, 
        transparent 80%, 
        #F5F5F5 100%);
    pointer-events: none;
    z-index: 7;
}*/



.marquee-content {
    display: flex;
    width: max-content;
    animation: scroll 30s linear infinite;
    position: relative;
    z-index: 6;
}

.marquee-text {
    font-family: var(--font-family-primary);
    font-size: 132px;
    font-weight: 500;
    white-space: nowrap;
    padding: 0 50px;
    /*--angle: 45deg; 
    background: linear-gradient(var(--angle), oklab(94.6% 0 0), oklab(79.8% 0 0));*/
    background-color: var(--color-primary);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient-flow 8s linear infinite;
    opacity: 1;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

@keyframes gradient-flow {
    0% {
        background-position: 0% 50%;
    }
    100% {
        background-position: 200% 50%;
    }
}

.hero-content {
    position: relative;
    z-index: 20;
    color: var(--color-text-white);
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.hero-subtitle {
    font-family: var(--font-family-primary);
    font-weight: var(--font-weight-regular);
    color: var(--color-primary);
    font-size: clamp(14px, 2vw, 16px);
    line-height: 1.6;
    margin-bottom: var(--spacing-lg);
    opacity: 0.95;
    max-width: 600px;
}

/* Social Icons */
.social-icons {
    display: flex;
    gap: var(--spacing-sm);
    flex-wrap: wrap;
    margin-bottom: var(--spacing-lg);
    justify-content: flex-start;
}

.social-icon {
    width: 48px;
    height: 48px;
    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-primary);
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.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 */
.btn-hero {
    font-family: var(--font-family-primary);
    font-weight: 500;
    background: transparent;
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
    padding: 14px 40px;
    border-radius: 50px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    /*text-transform: uppercase;*/
    letter-spacing: 1px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

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

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

/* Hero Section - Desktop (1024px and up) */
@media screen and (min-width: 1024px) {
    .hero-content {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr; 
        grid-template-rows: auto auto;
        align-items: flex-end;
        width: calc(100% + 200px); 
        margin-left: -50px; 
        padding: 0 50px; 
    }
    
  
    .social-icons {
        grid-column: 1;
        grid-row: 1;
        flex-direction: row;
        gap: 20px;
        margin-bottom: 0;
        justify-content: flex-start;
        align-self: flex-end;
    }
    
    .social-icon {
        width: 32px;
        height: 32px;
    }
    
    
    .hero-subtitle {
        grid-column: 3;
        grid-row: 1;
        margin-bottom: 0;
        max-width: 300px;
        text-align: left;
        margin-left: auto;
        align-self: flex-end;
    }
    
 
    .btn-hero {
        grid-column: 1 / -1;
        grid-row: 2;
        justify-self: center;
        margin-top: var(--spacing-xl);
    }
}

/* Hero Section - Tablet (768px to 1023px) */
@media screen and (max-width: 1023px) and (min-width: 768px) {
    .hero {
        min-height: 100vh;
        padding-bottom: var(--spacing-md);
    }

  .marquee-wrapper {    
    top: 40%;
    height: 150px;
    
}
    .marquee-text {
        font-size: 100px;
    }

    #canvas-id {
    transform: translateY(-160px); /* Move up by 50px */
}
    
    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        margin-bottom: 70px;
    }
    
    .hero-subtitle {
        margin-bottom: var(--spacing-xl);
    }
    
    .social-icons {
        gap: 12px;
        flex-direction: row;
        margin-bottom: var(--spacing-md);
    }
    
    .social-icon {
        width: 44px;
        height: 44px;
    }
}

/* Hero Section - Mobile (481px to 767px) */
@media screen and (max-width: 767px) and (min-width: 481px) {
    .hero {
        min-height: 100vh;
        padding-bottom: var(--spacing-sm);
    }

    #canvas-id {
    transform: translateY(-200px); /* Move up by 50px */
    }

    .marquee-wrapper {
        height: 200px;
        top: 32%;
    }
    
    .marquee-text {
        font-size: 64px;
        padding: 0 30px;
    }

    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        margin-bottom: 60px;
    }

    .hero-subtitle {
        font-size: 16px;
        line-height: 24px;
        margin-bottom: var(--spacing-xl);
    }

    .social-icons {
        gap: 10px;
        margin-bottom: var(--spacing-md);
        flex-direction: row;
    }

    .social-icon {
        width: 40px;
        height: 40px;
    }
    
    .social-icon svg {
        width: 18px;
        height: 18px;
    }
    
    .btn-hero {
        width: 100%;
        justify-content: center;
        padding: 12px 24px;
        margin-top: 10px;
    }
}

/* Hero Section - Small Mobile (up to 480px) */
@media screen and (max-width: 480px) {
    .hero {
        min-height: 100vh;
        padding-bottom: var(--spacing-sm);
    }

    #canvas-id {
    transform: translateY(-230px); /* Move up by 50px */
    }
    
    .marquee-wrapper {
        height: 200px;
        top: 60%;
    }
    
    .marquee-text {
        font-size: 48px;
        padding: 0 20px;
    }
    
    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        margin-bottom: 50px;
    }

    .hero-subtitle {
        font-size: 16px;
        line-height: 24px;
        margin-bottom: var(--spacing-xl);
    }

    .social-icons {
        gap: 10px;
        margin-bottom: var(--spacing-md);
        flex-direction: row;
    }

    .social-icon {
        width: 36px;
        height: 36px;
    }
    
    .social-icon svg {
        width: 16px;
        height: 16px;
    }
    
    .btn-hero {
        font-size: 13px;
        padding: 10px 24px;
        width: auto;
        max-width: 200px;
        justify-content: center;
    }
}
/* ========================================
   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;
}

.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;
}

.about-map {
    position: relative;
    padding: var(--spacing-xl);
}

.about-map img {
    width: 100%;
    max-width: 400px;
    height: auto;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.1));
}

.map-marker {
    position: absolute;
    top: 30%;
    right: 20%;
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.marker-text {
    font-family: var(--font-family-primary);
    font-weight: 600;
    background: var(--color-bg-base);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 12px;
    box-shadow: var(--shadow-low);
    white-space: nowrap;
}

.marker-dot {
    width: 16px;
    height: 16px;
    background: var(--color-primary);
    border-radius: 50%;
    border: 3px solid var(--color-bg-base);
    box-shadow: 0 2px 8px rgba(220, 0, 50, 0.4);
}

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

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

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

    .about-map {
        padding: var(--spacing-md);
        text-align: center;
    }

    .about-map img {
        max-width: 280px;
    }

    .map-marker {
        position: static;
        justify-content: center;
        margin-top: var(--spacing-md);
    }

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

/* About Section - Small Mobile */
@media screen and (max-width: 480px) {
    .about-description {
        font-size: 16px;
    }

    .about-map img {
        max-width: 240px;
    }

    .marker-text {
        font-size: 11px;
        padding: 6px 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: 320px;
        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: 900;
    font-size: 30vw;
    color: #EFEFEF;
    line-height: 1;
    position: relative;
    top: 46%;
    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: 54.5%;   
    }

    .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);
}

/* 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);
    }
}