@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Hind:wght@300;400;500;600;700&family=Outfit:wght@100..900&display=swap');

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    scroll-behavior: smooth;

}

:root {
    --bg-light: #fffdfa;
    --primary-dark: #000D1B;
    --accent-copper: #BF7771;
    --chip-blue: #D1E5F9;
    --unit: calc(100vw / 1728);
    --sec-padding-left-right: clamp(20px, calc(var(--unit) * 120), 120px);
    --sec-padding-top-bottom: clamp(30px, calc(var(--unit) * 96), 96px);
}

html {
    font-size: 16px;
    scrollbar-gutter: stable;
}

body {
    font-family: 'Outfit', sans-serif;
    margin: 0;

}

/* ============ TOP ACCESSIBILITY BAR ============ */
.top-bar {
    background-color: #000305;
    /* 40px -> 2.5rem */
    height: 2.5rem;
    color: #D1D5DB;
    font-size: 0.875rem;
    /* 14px */
    z-index: 1000;
    position: relative;
    /* Horizontal padding: 32px -> 2rem */
    padding: 0 2rem;
    display: flex;
    gap: 1.5rem;
    /* 24px gap between groups */
}

/* Theme Group Spacing */
.theme-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    /* 8px gap between icons and toggle */
}

/* Moon Image Styling */
.theme-icon-img {
    /* Height: 16px -> 1rem to match the Sun emoji/span height */
    height: 1rem;
    width: auto;
    display: block;
}

.theme-sun {
    font-size: 1rem;
}

/* Toggle Switch (Dimensions preserved) */
.toggle-switch {
    /* Width: 39px -> 2.4375rem, Height: 16px -> 1rem */
    width: 2.4375rem;
    height: 1rem;
    background-color: #545558;
    border-radius: 0.5rem;
    /* 8px */
    position: relative;
    cursor: pointer;
}

.toggle-circle {
    /* Width/Height: 12px -> 0.75rem */
    width: 0.75rem;
    height: 0.75rem;
    background: white;
    border-radius: 50%;
    position: absolute;
    /* 2px -> 0.125rem */
    right: 0.125rem;
    top: 0.125rem;
}

/* Accessibility Spacing (Already in rem) */
.accessibility-tools {
    display: flex;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
    line-height: 1;
}

.font-sm {
    font-size: 1rem;
}

/* 16px */
.font-md {
    font-size: 1.25rem;
}

/* 20px */
.font-lg {
    font-size: 1.5rem;
}

/* 24px */

.accessibility-tools span:hover {
    color: #fff;
    transition: color 0.2s ease;
}

/* ============ HEADER (NAV) ============ */
header {
    /* Padding Sides: 32px (2rem) from Figma left offset */
    padding: clamp(1rem, 2vw, 16px) clamp(1rem, 4vw, 2rem);
    padding-bottom: 0px;
    background: transparent;
    width: 100%;
    z-index: 100;
}

.header-logo-container {
    display: flex;
    align-items: center;
    /* Figma Gap: The distance between the logo (ends at 106px) and the line (141px) is roughly 35px (~2rem) */
    gap: clamp(0.75rem, 2vw, 2rem);
}

.header-logo {
    /* Figma Width: 74.39px -> ~4.65rem */
    width: clamp(2.5rem, 5vw, 4.65rem);
    height: auto;
    display: block;
}

.logo-divider {
    width: 0.0625rem;
    /* 1px */
    /* Figma Height: 80px -> 5rem */
    height: clamp(2.5rem, 5vw, 5rem);
    /* Exact color from Figma Line 32 */
    background: #999EA4;
    margin: 0;
}

/* Wrapper for text to ensure they stack perfectly */
.header-text-group {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hindi-title {
    font-family: 'Hind', sans-serif;
    /* Figma Font Size: 28px -> 1.75rem */
    font-size: clamp(1rem, 2vw, 1.75rem);
    font-weight: 500;
    color: #FFFDFA;
    margin: 0 0 2px 0;
    line-height: 1.2;
    white-space: nowrap;
}

.english-title {
    font-family: 'Outfit', sans-serif;
    /* Figma Font Size: 24px -> 1.5rem */
    font-size: clamp(0.875rem, 1.5vw, 1.5rem);
    font-weight: 400;
    color: #FFFDFA;
    margin: 0;
    line-height: 1.25;
    /* Figma 30px / 24px = 1.25 */
    white-space: nowrap;
}

/* Let the text wrap naturally on very small screens so it doesn't break out of the viewport */
@media (max-width: 768px) {

    .hindi-title,
    .english-title {
        white-space: normal;
    }
}

/* =========================================================
   PILL NAVBAR (HERO SECTION)
   ========================================================= */

.pill-navbar {
    display: flex;
    flex-direction: row;
    align-items: center;

    /* Exact background and border from Figma */
    background: rgba(0, 13, 27, 0.7);
    border: 1px solid #333E49;
    border-radius: 32px;
    box-sizing: border-box;

    /* Height scaled from Figma's 57px */
    height: clamp(48px, calc(var(--unit) * 57), 57px);

    /* Optional: Adds the frosted glass effect behind the transparent background */
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

/* --- Left Side: Main Menu Items --- */
.pill-nav-links {
    display: flex;
    flex-direction: row;
    align-items: center;

    /* Figma: padding: 20px 32px; gap: 32px; */
    padding: 0 clamp(16px, calc(var(--unit) * 32), 32px);
    gap: clamp(16px, calc(var(--unit) * 32), 32px);

    margin: 0;
    list-style: none;
}

/* --- Base Link (Normal State) --- */
/* --- Base Link --- */
.pill-nav-links li a {
    font-family: 'Outfit', sans-serif;
    font-style: normal;
    font-weight: 700;
    font-size: clamp(12px, calc(var(--unit) * 16), 16px);
    line-height: 10px;
    text-align: center;
    text-transform: uppercase;
    text-decoration: none;
    color: #FFFFFF;
    /* Default white text */
    display: flex;
    align-items: center;
    justify-content: center;
    height: 32px;
    padding: 6px 12px;
    border-radius: 20px;
    transition: all 0.2s ease;
    background: transparent;
}

/* --- Hover State: White background, Black text --- */
.pill-nav-links li a:hover {
    background: #FFFDFA;
    box-shadow: 1px 1px 4px rgba(51, 62, 73, 0.4);
    color: #000000;
    /* Text turns black on hover */
}

/* --- Active State: While clicking, text turns to your specific color --- */
.pill-nav-links li a:active {
    background: #FFFDFA;
    box-shadow: 1px 1px 4px rgba(51, 62, 73, 0.4);
    color: #995F5A !important;
    /* Text turns to this color ONLY on click */
    outline: none;
}

.pill-nav-links {
    gap: clamp(6px, calc(var(--unit) * 12), 12px);
    /* Adjust gap if they feel too far apart now */
}

/* --- Right Side: Main Menu Icons --- */
.pill-nav-icons {
    display: flex;
    flex-direction: row;
    align-items: center;

    /* Figma: padding: 20px 32px; gap: 10px; */
    padding: 0 clamp(16px, calc(var(--unit) * 32), 32px);
    gap: clamp(10px, calc(var(--unit) * 16), 16px);

    /* Optional: Adds a subtle divider line between links and icons (often used in these pills) */
    border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.pill-icon-link {
    display: flex;
    justify-content: center;
    align-items: center;
    width: clamp(20px, calc(var(--unit) * 24), 24px);
    height: clamp(20px, calc(var(--unit) * 24), 24px);
    transition: opacity 0.2s ease;
}

.pill-icon-link img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.pill-icon-link:hover {
    opacity: 0.7;
}


@media (max-width: 1024px) {

    /* Hide the text links on mobile/tablets, keep only the icon pill */
    .pill-nav-links {
        display: none;
    }

    /* Remove the left border on the icons since the text is gone */
    .pill-nav-icons {
        border-left: none;
    }
}

/* =========================================
       COMMON MEGA MENU STYLES (Used by both)
       ========================================= */
.mega-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    display: flex;
    flex-direction: row;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    border-radius: 0 0 24px 24px;
    overflow: hidden;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    height: clamp(600px, 80vh, 764px);
}

.mega-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mega-menu-left {
    flex: 0 0 78%;
    background-color: #05192D;
    padding: clamp(30px, calc(var(--unit) * 60), 60px) clamp(20px, calc(var(--unit) * 100), 100px);
    display: flex;
    gap: clamp(30px, calc(var(--unit) * 80), 80px);
    overflow-y: auto;
}




.mega-menu-right {
    /* flex: 1;
        background-color: #FFF5E8;
        padding: clamp(30px, calc(var(--unit) * 60), 60px) clamp(20px, calc(var(--unit) * 50), 50px);
        overflow-y: auto; */
    flex: 1;
    background-color: #FFF5E8;
    overflow-y: auto;

    /* Add these */
    display: flex;
    flex-direction: column;
    justify-content: center;
    /* Centers content vertically */
    padding: 60px 23px;
}

.mega-heading {
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: clamp(20px, calc(var(--unit) * 28), 28px);
    color: #BF7771;
    margin-bottom: clamp(16px, calc(var(--unit) * 32), 32px);
    line-height: 1.2;
}

.basic-links {
    flex: 0 0 25%;
    margin-top: clamp(36px, calc(var(--unit) * 64), 64px);
}

.dept-links {
    flex: 1;
}

.mega-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(20px, calc(var(--unit) * 40), 40px);
}

.mega-list {
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%;
}

.mega-list li {
    border-bottom: 1px solid rgba(191, 119, 113, 0.4);
}

/* .mega-list li:last-child {
        border-bottom: none;
    } */

.mega-list a {
    display: block;
    padding: clamp(12px, calc(var(--unit) * 16), 16px) 0;
    font-family: 'Outfit', sans-serif;
    font-weight: 400;
    font-size: clamp(14px, calc(var(--unit) * 18), 18px);
    text-decoration: none;
    transition: color 0.2s ease;
}

.dark-list a {
    color: #D1D5DB;
}

.dark-list a:hover {
    color: #BF7771;
}

.light-list a {
    color: #2A2B2C;
}

.light-list a:hover {
    color: #BF7771;
}

/* =========================================
       HAMBURGER TABS CSS
       ========================================= */
.hamburger-right-panel {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: clamp(8px, calc(var(--unit) * 16), 16px);
    padding-top: 49px;
}

.tab-btn {
    width: 100%;
    max-width: 273px;
    height: 46px;
    background: #FFFDFA;
    box-shadow: 1px 2px 4px rgba(51, 62, 73, 0.4);
    border-radius: 32px;
    border: none;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 22px;
    font-size: clamp(18px, calc(var(--unit) * 22), 22px);
    /* 24px from Figma */
    color: #995F5A;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
justify-content: center;
    align-items: center;
}

.tab-btn:hover {
    background: #d1e5f9;
}

.tab-btn.active {
    background: #05192D;
    color: #F6F7F8;
}

/* Tab Content Wrappers */
.hamburger-tab-content {
    display: none;
    width: 100%;
    gap: clamp(30px, calc(var(--unit) * 80), 85px);
    animation: fadeIn 0.3s ease-in-out;
}

.hamburger-tab-content.active {
    display: flex;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateX(-10px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* =========================================
       RESPONSIVE CSS (MOBILE FIXES)
       ========================================= */

/* CRITICAL: Forces header above everything so the Close button works */
header {
    z-index: 100000;
}


/* Column Headings (People, Committees, Offices) */
.mega-grid-3 {
    display: grid;
    /* Forces 3 equal columns in a row */
    grid-template-columns: repeat(3, 1fr);
    /* Exact 85px gap from your Figma layers, clamped for smaller screens */
    gap: clamp(40px, calc(var(--unit) * 85), 85px);
    width: 100%;
    align-items: flex-start;
}

.mega-col {
    display: flex;
    flex-direction: column;
    /* Matches the 283px width of the column frames in your CSS dump */
    width: clamp(220px, calc(var(--unit) * 283), 283px);
}

@media (max-width: 1024px) {
    header {
        padding: 15px 10px;
    }

    .header-logo-container {
        width: 100% !important;
        justify-content: flex-start !important;
        padding: 10px !important;
    }

    .logo-divider {
        width: clamp(1px, 0.2vw, 2px);
        height: clamp(24px, 4vw, 50px);
        background-color: #FFFFFF;
        display: block !important;
    }

    .hindi-title,
    .english-title {
        display: block !important;
        margin: 0;
        line-height: 1.2;
        white-space: nowrap;
    }

    .nav-container {
        width: 100%;
    }

    ul.nav {
        justify-content: center;
        flex-wrap: wrap;
        gap: 10px;
    }

    /* Force menu to attach BELOW header instead of covering it */
    .mega-menu {
        position: absolute !important;
        top: 100% !important;
        left: 0 !important;
        width: 100vw !important;
        height: 100vh !important;
        /* Forces background to fill screen */
        z-index: 9990 !important;
        /* Lower than header */
        flex-direction: column !important;
        overflow-y: auto !important;
        border-radius: 0 !important;
        background-color: #05192D !important;
        /* Hides website underneath */
        padding-bottom: 100px !important;
        /* Extra scroll room */
    }

    .mega-menu.active {
        transform: translateY(0) !important;
        opacity: 1 !important;
    }

    .mega-menu-left,
    .mega-menu-right {
        width: 100% !important;
        padding: 20px !important;
    }

    .mega-menu-left {
        display: flex;
        flex-direction: column !important;
        justify-content: flex-start !important;
        flex: 1 1 auto !important;
    }

    .hamburger-tab-content {
        align-items: flex-start;
    }

    .mega-grid-2 {
        display: flex !important;
        flex-direction: column !important;
        gap: 0 !important;
    }

    .basic-links {
        margin-top: 0;
    }

    /* Tabs explicitly pushed to the top */
    .mega-menu[id="hamburgerMenu"] {
        flex-direction: column !important;
        justify-content: flex-start !important;
    }

    .mega-menu[id="hamburgerMenu"] .hamburger-right-panel {
        order: 1;
        flex: 0 0 auto !important;
        flex-direction: row;
        overflow-x: auto;
        padding: 15px 10px !important;
        gap: 10px;
        align-items: stretch;
        justify-content: flex-start;
        background-color: #FFF5E8 !important;
        /* White tab bar background */
    }

    .mega-menu[id="hamburgerMenu"] .mega-menu-left {
        order: 2;
    }

    .tab-btn {
        flex: 0 0 auto;
        width: auto;
        padding: 0 20px;
        font-size: 16px;
        height: 40px;
    }

    .hamburger-tab-content.active {
        flex-direction: column;
        gap: 20px;
    }


    .mega-grid-3 {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .mega-col {
        width: 100%;
    }

}

@media (max-width: 480px) {
    .top-bar {
        flex-wrap: wrap !important;
        justify-content: center !important;
        gap: 10px !important;
        padding: 10px !important;
    }

    .hindi-title,
    .english-title {
        font-size: 14px !important;
        white-space: normal !important;
        text-align: left;
    }
}

.tab-btn a {
    text-decoration: none;
    color: #995F5A;

}

a {
    text-decoration: none;
}


/* ------------------------------- */
/* Hero section */
/* ------------------------------- */
/* =========================================================
   HERO SECTION STYLES
   ========================================================= */

.hero-wrapper {
    background-color: #000;
    width: 100%;
    /* Full screen height on desktop */
    height: 100vh;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-media {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Ensures the absolute center of the video stays on screen */
    object-position: center center;
}


.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Adjust darkness here */
    background: rgba(0, 0, 0, 0.106);
    z-index: 2;
}

.z-3 {
    z-index: 3;
}

.scroll-arrow {
    transition: transform 0.3s ease;
    opacity: 0.8;
}

.scroll-arrow:hover {
    transform: translateY(10px);
    opacity: 1;
}

/* =========================================================
   MOBILE RESPONSIVE ADJUSTMENTS
   ========================================================= */

@media (max-width: 768px) {
    .hero-wrapper {
        /* Reduces the height of the hero on mobile phones. 
           Instead of forcing a massive portrait box that cuts off the sides,
           this frames the landscape GIF much more naturally!
        */
        height: 35vh;
    }

    .scroll-arrow {
        visibility: hidden;
    }


    .hero-media {
        /* If the main subject of your video is higher up, change this to:
           object-position: top center;
        */
        object-position: center center;
    }
}



/* =========================================================
   SECONDARY STATS SECTION (HORIZONTAL BANNER)
   ========================================================= */

   /* Style the link inside the stat-label to be purely white without an underline by default */
.stat-label a {
    text-decoration: none;
    color: #FFFFFF !important;  /* Forces the text to stay purely white */
}

/* Add the underline ONLY when hovering over the text */
.stat-label a:hover {
    text-decoration: underline;
    text-underline-offset: 4px; /* Adds a nice gap between the text and the underline */
    text-decoration-thickness: 1.5px;
    color: #FFFFFF !important;  /* Ensures the color does not change on hover */
}

.secondary-stats-section {
    background-color: #E5C8C6; /* Exact pink/rose color from dump */
    padding: clamp(40px, calc(var(--unit) * 71), 71px) var(--sec-padding-left-right);
    font-family: 'Outfit', sans-serif;
}

.secondary-stats-container {
    max-width: 1550px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.secondary-stats-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: clamp(10px, calc(var(--unit) * 16), 16px); /* Exact 16px gap from dump */
    width: 100%;
    max-width: 1382px; /* Bounds the 6 cards perfectly */
}

.s-stat-card {
    background: #FFFDFA;
    box-shadow: 1px 4px 4px #CCC4BA; /* Exact shadow from dump */
    border-radius: clamp(12px, calc(var(--unit) * 16), 16px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    min-height: clamp(90px, calc(var(--unit) * 112), 112px); /* Exact height from dump */
    padding: clamp(10px, calc(var(--unit) * 15), 15px);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.s-stat-card:hover {
    transform: translateY(-3px);
    box-shadow: 2px 6px 8px rgba(204, 196, 186, 0.7);
}

.s-stat-num-wrapper {
    display: flex;
    flex-direction: row;
    align-items: baseline;
    gap: 2px;
}

.s-stat-num, .s-stat-sym {
    font-weight: 600;
    font-size: clamp(24px, calc(var(--unit) * 32), 32px); /* Exact size from dump */
    line-height: 1;
    color: #2A2B2C;
    margin: 0 0 clamp(4px, calc(var(--unit) * 5), 5px) 0;
}

.s-stat-label {
    font-weight: 400;
    font-size: clamp(14px, calc(var(--unit) * 20), 20px); /* Exact size from dump */
    line-height: 1.4;
    color: #2A2B2C;
    margin: 0;
}

/* =========================================================
   RESPONSIVENESS FOR HORIZONTAL BANNER
   ========================================================= */

@media (max-width: 1200px) {
    .secondary-stats-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
}

@media (max-width: 600px) {
    .secondary-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    
    .s-stat-card {
        aspect-ratio: 1 / 1;
    }
}

/* =========================================================
       ANNOUNCEMENT PILL SECTION
       ========================================================= */

    .announcement-section {
        padding: var(--sec-padding-top-bottom) var(--sec-padding-left-right);
        background-color: var(--bg-light, #FFFDF9);
        font-family: 'Outfit', sans-serif;
    }

    .announcement-container {
        max-width: 1550px;
        margin: 0 auto;
        width: 100%;
    }

    .announcement-pill {
        position: relative;
        display: flex;
        align-items: center;
        background-color: #DADDE2;
        border-radius: 100px;
        padding: clamp(6px, calc(var(--unit) * 8), 8px);
        overflow: hidden;
    }

    /* --- Left Megaphone Icon --- */
    .announce-icon {
        display: flex;
        justify-content: center;
        align-items: center;
        background-color: #FFFDFA;
        width: clamp(36px, calc(var(--unit) * 48), 48px);
        height: clamp(36px, calc(var(--unit) * 48), 48px);
        border-radius: 50%;
        flex-shrink: 0;
        z-index: 10;
        box-shadow: 2px 0 10px rgba(0, 0, 0, 0.05);
    }

    .announce-icon svg,
    .announce-icon img {
        width: clamp(34px, calc(var(--unit) * 34), 34px);
        height: clamp(34px, calc(var(--unit) * 34), 34px);
    }

    /* --- Right Read More Button --- */
    .announce-btn {
        display: flex;
        align-items: center;
        gap: 8px;
        background-color: #FFFDFA;
        height: clamp(36px, calc(var(--unit) * 48), 48px);
        padding: 0 clamp(16px, calc(var(--unit) * 24), 24px);
        border-radius: 100px;
        flex-shrink: 0;
        font-weight: 600;
        font-size: clamp(14px, calc(var(--unit) * 16), 16px);
        color: #000305;
        text-decoration: none;
        z-index: 10;
        transition: background-color 0.2s ease;
        box-shadow: -2px 0 10px rgba(0, 0, 0, 0.05);
    }

    .announce-btn:hover {
        background-color: #FFFFFF;
    }

    /* --- Middle Scrolling Marquee --- */
    .announce-marquee {
        flex: 1 1 auto;
        min-width: 0; 
        display: block; 
        overflow: hidden;
        margin: 0 clamp(10px, calc(var(--unit) * 20), 20px);
    }

    .announce-marquee-track {
        display: inline-block; 
        white-space: nowrap;
        box-sizing: content-box;
        padding-left: 100%; 
        animation: scroll-marquee 25s linear infinite; 
    }

    .announce-marquee-track:hover {
        animation-play-state: paused;
        cursor: default;
    }

    .announce-text {
        font-weight: 400;
        font-size: clamp(16px, calc(var(--unit) * 20), 20px);
        color: #000D1B;
        padding-right: clamp(40px, calc(var(--unit) * 80), 80px);
    }

    /* --- Styling Links Inside Marquee --- */
    .announce-text a {
        color: #000D1B;
        /* text-decoration: underline; */
        transition: color 0.2s ease;
    }

    .announce-text a:hover {
        color: #BF7771;
                /* text-decoration: underline; */

    }

    /* --- The Seamless Scroll Animation --- */
    @keyframes scroll-marquee {
        0% {
            transform: translateX(0);
        }
        100% {
            transform: translateX(-100%);
        }
    }

    @media (max-width: 600px) {
        .announce-btn {
            padding: 0;
            width: 36px;
            justify-content: center;
            font-size: 0;
        }

        .announce-btn svg {
            margin: 0;
        }
    }

/* =========================================================
   IMPACT & STATS SECTION (REVERTED TO ORIGINAL SPACING)
   ========================================================= */

.impact-section {
    position: relative;
    background-color: #FFF5E8; /* Updated to match image */
    padding: var(--sec-padding-top-bottom) var(--sec-padding-left-right);
    overflow: hidden;
    font-family: 'Outfit', sans-serif;
}

/* Background dots (Only applied here) */
.impact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(rgba(209, 123, 15, 0.2) 2px, transparent 2px);
    background-size: 24px 23.31px;
    z-index: 0;
    pointer-events: none;
}

.impact-container {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: row;
    align-items: start;
    justify-content: center;
    gap: clamp(40px, calc(var(--unit) * 146), 146px);
    max-width: 1728px;
    margin: 0 auto; 
}

.impact-visual-wrapper {
    width: clamp(320px, calc(var(--unit) * 670), 670px);
    aspect-ratio: 670 / 818;
    flex-shrink: 1;
}

.impact-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: clamp(12px, calc(var(--unit) * 24), 24px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.impact-content-wrapper {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    max-width: clamp(350px, calc(var(--unit) * 606), 606px);
    margin-top: 0px;
    padding: 0px;
}

.impact-heading {
    font-weight: 300;
    font-size: clamp(32px, calc(var(--unit) * 64), 64px);
    line-height: 1.375;
    color: #000D1B;
    margin: 0 0 clamp(30px, calc(var(--unit) * 60), 30px) 0;
}

.impact-stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    column-gap: 10px;
    row-gap: 10px;
    max-width: clamp(300px, calc(var(--unit) * 534), 534px);
}

.impact-stat-card {
    background-color: #995F5A;
    box-shadow: 1px 4px 4px rgba(115, 71, 68, 0.5); /* Translates to exact Figma shadow */
    border-radius: clamp(8px, calc(var(--unit) * 16), 16px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    aspect-ratio: 250 / 160;
    padding: clamp(10px, calc(var(--unit) * 20), 20px);
    transition: transform 0.3s ease;
}

.impact-stat-card:hover {
    /* transform: translateY(-5px); */
}

.stat-number-group {
    display: flex;
    flex-direction: row;
    align-items: baseline;
    gap: 4px;
    color: #F6F7F8;
}

.stat-number,
.stat-symbol {
    font-weight: 400;
    font-size: clamp(28px, calc(var(--unit) * 48), 48px);
    line-height: 1.25;
    margin: 0;
}

.stat-label {
    font-weight: 400;
    font-size: clamp(12px, calc(var(--unit) * 20), 20px);
    line-height: 1.25;
    color: #F6F7F8;
    margin: clamp(4px, calc(var(--unit) * 5), 5px) 0 0 0;
}



 /* =========================================================
       2. ACADEMIC DIVISIONS SECTION (Replaces Departments)
       ========================================================= */
    .acad-divisions-section {
        width: 100%;
        max-width: 1450px;
        margin: 0 auto clamp(48px, 8vw, 96px) auto;
        font-family: 'Outfit', sans-serif;
        box-sizing: border-box;
        padding-left: clamp(37px, calc(var(--unit) * 52), 52px);
        ;
    }

    .acad-divisions-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: clamp(32px, 4vw, 48px);
    }

    .acad-divisions-title {
        font-family: 'Outfit', sans-serif;
        font-weight: 300;
        font-size: clamp(32px, 4vw, 48px);
        line-height: 1.2;
        color: #000D1B;
        margin: 0;
    }

    .acad-view-all-btn {
        box-sizing: border-box;
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        padding: clamp(10px, 2vw, 12px) clamp(24px, 3vw, 32px);
        gap: 12px;
        background: #F6F7F8;
        border: 1px solid #A7AAAF;
        border-radius: 40px;
        font-family: 'Outfit', sans-serif;
        font-weight: 400;
        font-size: clamp(14px, 2vw, 16px);
        color: #2A2B2C;
        text-decoration: none;
        transition: all 0.2s ease;
    }

    .acad-view-all-btn:hover {
        background: #2A2B2C;
        color: #FFF;
        border-color: #2A2B2C;
    }




    .acad-divisions-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: clamp(16px, 3vw, 33px);
    }

    .acad-div-card {
        background: #FFF5E8;
        border-radius: 20px;
        filter: drop-shadow(1px 2px 4px #CCC4BA);
        padding: clamp(24px, 3vw, 35px);
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        min-height: 240px;
        box-sizing: border-box;
    }

    .acad-div-content {
        margin-bottom: 24px;
    }

    .acad-div-card h3 {
        font-family: 'Outfit', sans-serif;
        font-weight: 600;
        font-size: clamp(24px, 3vw, 32px);
        color: #BF7771;
        margin: 0 0 16px 0;
        line-height: 1;
    }

    .acad-div-card p {
        font-family: 'Outfit', sans-serif;
        font-weight: 400;
        font-size: 16px;
        line-height: 1.25;
        color: #000305;
        margin: 0;
    }

    .acad-div-btn {
        /* Layout & Sizing */
        box-sizing: border-box;
        display: inline-flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;

        /* EXACT SPACING CLAMPED: 20px Top/Bottom, 32px Left/Right */
        padding: clamp(19px, calc(var(--unit) * 12), 12px) clamp(24px, calc(var(--unit) * 24), 24px);
        /* 16px exact gap between text and arrow */
        gap: clamp(10px, calc(var(--unit) * 16), 16px);
        /* 64px exact height */
        height: clamp(14px, calc(var(--unit) * 42), 42px);
        width: fit-content;

        background: #F6F7F8;
        border: 1px solid #A7AAAF;
        border-radius: 40px;

        /* TYPOGRAPHY */
        font-family: 'Outfit', sans-serif;
        font-style: normal;
        font-weight: 400;
        /* 20px exact font size */
        font-size: clamp(16px, calc(var(--unit) * 20), 20px);
        line-height: clamp(20px, calc(var(--unit) * 24), 24px);
        color: #2A2B2C;
        text-decoration: none;

        transition: all 0.3s ease;
    }

    /* Hover State (Highly recommended for UX) */
    .acad-div-btn:hover {
        background: #d1d5db;
        /* Slightly darker grey for feedback */
        border-color: #7d8083;
        /* Darken border to match text */
        padding-right: clamp(40px, calc(var(--unit) * 48), 48px);
    }


    .acad-div-btn:focus img {
    /* Targets #f6f7f8 specifically (assuming original icon is black) */
    filter: invert(96%) sepia(5%) saturate(106%) hue-rotate(176deg) brightness(103%) contrast(98%);
}
/* Arrow Image Styling */
.acad-div-btn img {
    /* Matches the 52.21px width from your Figma dump */
    width: clamp(36px, calc(var(--unit) * 52.21), 52.21px);
    height: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
    font-size: clamp(16px, calc(var(--unit) * 20), 20px);
}

.acad-div-btn:hover img {
    /* Slight slide right effect on hover */
    /* transform: translateX(4px); */
            transform: translateX(10px);

}
/* =========================================================
   BROWSE DEPARTMENTS SECTION
   ========================================================= */

.dept-browse-section {
    position: relative;
    background-color: #FFF5E8; 
    font-family: 'Outfit', sans-serif;
    padding: var(--sec-padding-top-bottom) var(--sec-padding-left-right);
}

.dept-browse-container {
    position: relative;
    z-index: 1;
    max-width: 1550px;
    margin: 0 auto;
    width: 100%;
}

.dept-browse-heading {
    font-size: clamp(32px, calc(var(--unit) * 48), 48px); 
    font-weight: 300;
    color: #000D1B;
    margin: 0 0 clamp(24px, calc(var(--unit) * 48), 48px) 0;
    text-align: left;
}

.dept-browse-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(16px, calc(var(--unit) * 24), 24px);
}

.dept-pill {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: #FFFDFA; 
    border-radius: clamp(20px, calc(var(--unit) * 40), 40px);
    padding: clamp(10px, calc(var(--unit) * 14), 14px) clamp(24px, calc(var(--unit) * 48), 48px); 
    box-shadow: 1px 4px 4px #CCCFD1;
    color: #2A2B2C;
    font-size: clamp(14px, calc(var(--unit) * 18), 18px); 
    font-weight: 400;
    text-decoration: none;
    line-height: 1.4;
    min-height: clamp(48px, calc(var(--unit) * 64), 64px);
    transition: background-color 0.2s ease, color 0.2s ease;
}

.dept-pill:hover {
    background-color: #d1e5f9;
}

.dept-pill:focus {
    background-color: #1a7ee0;
    color: #fff;
}

/* =========================================================
   BROWSE PROGRAMS SECTION 
   ========================================================= */

.programs-section {
    position: relative;
    background-color: #FFF5E8; 
    font-family: 'Outfit', sans-serif;
    padding: var(--sec-padding-top-bottom) var(--sec-padding-left-right) !important;
    padding-top: 0;
}

.programs-container {
    position: relative;
    z-index: 1;
    max-width: 1550px;
    margin: 0 auto;
    width: 100%;
}

.programs-heading {
    font-weight: 300;
    font-size: clamp(32px, calc(var(--unit) * 48), 48px);
    line-height: 1.25;
    color: #000D1B;
    margin: 0 0 clamp(24px, calc(var(--unit) * 48), 48px) 0;
    text-align: left;
}

.programs-card-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: clamp(16px, calc(var(--unit) * 24), 24px);
}

.program-card-exact {
    background: #FFFBF6;
    border-radius: clamp(12px, calc(var(--unit) * 16), 16px);
    box-shadow: 1px 2px 4px #CCC4BA; 
    display: flex;
    flex-direction: column;
    overflow: hidden;
    min-height: clamp(300px, calc(var(--unit) * 368), 368px); 
    position: relative;
    transition: transform 0.2s ease;
}

.program-card-exact:hover {
    /* transform: translateY(-5px); */
}

.p-card-top {
    background: #F6F7F8; 
    min-height: clamp(90px, calc(var(--unit) * 123), 123px); 
    padding: clamp(16px, calc(var(--unit) * 26), 26px) clamp(20px, calc(var(--unit) * 35), 35px);
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
        box-shadow: 1px 2px 4px #CCC4BA;
        border-radius: 20px;
}

.p-title {
    color: #BF7771;
    font-family: 'Outfit', sans-serif;
    font-size: clamp(20px, calc(var(--unit) * 28), 28px);
    font-weight: 600;
    line-height: 1;
    margin: 0 0 clamp(6px, calc(var(--unit) * 11), 11px) 0;
}

.p-tags-group {
    display: flex;
    flex-direction: column;
}

.p-tags {
    display: flex;
    align-items: center;
    gap: clamp(4px, calc(var(--unit) * 8), 8px);
    flex-wrap: wrap;
}

.p-tags-margin {
    margin-top: clamp(3px, calc(var(--unit) * 6), 6px);
}

.p-tags span {
    color: #000305;
    font-family: 'Outfit', sans-serif;
    font-size: clamp(13px, calc(var(--unit) * 16), 16px);
    font-weight: 300;
    line-height: 1.25;
}

.p-line {
    width: clamp(1px, calc(var(--unit) * 2), 2px);
    height: clamp(16px, calc(var(--unit) * 24), 24px);
    background: #D9D9D9; 
}

.p-card-bottom {
    padding: clamp(16px, calc(var(--unit) * 24), 24px) clamp(20px, calc(var(--unit) * 35), 35px) clamp(20px, calc(var(--unit) * 35), 35px) clamp(20px, calc(var(--unit) * 35), 35px);
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.p-desc {
    color: #000305;
    font-family: 'Outfit', sans-serif;
    font-size: clamp(13px, calc(var(--unit) * 16), 16px);
    font-weight: 400;
    line-height: 1.35;
    margin: 0;
    flex-grow: 1;
}

.p-link {
    color: #000305;
    font-family: 'Outfit', sans-serif;
    font-size: clamp(13px, calc(var(--unit) * 16), 16px);
    font-weight: 600;
    text-decoration: none;
    margin-top: clamp(16px, calc(var(--unit) * 24), 24px);
    display: inline-block;
}

.p-link:hover {
    text-decoration: underline;
}

/* =========================================================
   RESPONSIVE ADJUSTMENTS
   ========================================================= */

@media (max-width: 1024px) {
    .impact-container {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
    .impact-visual-wrapper {
        flex: 0 0 auto;
        width: 100%;
        max-width: 500px;
        aspect-ratio: auto;
    }
    .impact-image {
        aspect-ratio: 4 / 3;
    }
    .impact-heading {
        margin: clamp(30px, calc(var(--unit) * 60), 60px) auto;
    }
    .impact-heading br {
        display: none;
    }
    .impact-stats-grid {
        margin: 0 auto;
    }
    .dept-browse-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .programs-card-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .dept-browse-grid,
    .programs-card-grid {
        grid-template-columns: 1fr;
    }
    .dept-browse-heading,
    .programs-heading {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .impact-stats-grid {
        gap: 15px;
    }
    .impact-stat-card {
        aspect-ratio: 1 / 1;
    }
}


/* =========================================================
   ACADEMIC DIVISIONS SECTION
   ========================================================= */

.academic-divisions-section {
    position: relative;
    background-color: #fff5e8; /* Match the white background from the image */
    /* padding: var(--sec-padding-top-bottom) var(--sec-padding-left-right); */
    padding-left:  var(--sec-padding-left-right);
    padding-right:  var(--sec-padding-left-right);
    padding-bottom:clamp(30px, calc(var(--unit) * 96), 96px);
    font-family: 'Outfit', sans-serif;
    box-sizing: border-box;
}

.ad-container {
    max-width: 1550px;
    margin: 0 auto;
    width: 100%;
}

/* --- Header Area --- */
.ad-header {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    margin-bottom: clamp(30px, calc(var(--unit) * 48), 48px);
    flex-wrap: wrap;
    gap: 20px;
}

.ad-heading {
    font-weight: 300;
    font-size: clamp(32px, calc(var(--unit) * 48), 48px); /* Exact 48px size from dump */
    line-height: 1.2;
    color: #000D1B;
    margin: 0;
}

.btn-view-all {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: clamp(12px, calc(var(--unit) * 20), 20px) clamp(20px, calc(var(--unit) * 32), 32px); /* Exact dump padding */
    gap: 16px;
    background: #F6F7F8;
    border: 1px solid #A7AAAF;
    border-radius: 40px;
    text-decoration: none;
    color: #2A2B2C;
    font-weight: 400;
    font-size: clamp(16px, calc(var(--unit) * 20), 20px); /* Exact 20px size */
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.btn-view-all:hover {
    background-color: #e8eaec;
    transform: translateY(-2px);
}

/* --- Grid Layout --- */
.ad-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 Equal Columns */
    gap: clamp(20px, calc(var(--unit) * 32), 32px);
}

/* --- Card Styling --- */
.ad-card {
    background: #fffdfa; /* Exact background color from dump */
    border-radius: 20px;
    filter: drop-shadow(1px 2px 4px #CCC4BA); /* Exact shadow from dump */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: clamp(20px, calc(var(--unit) * 30), 30px) clamp(20px, calc(var(--unit) * 35), 35px); /* Mimicking absolute positioning */
    min-height: clamp(180px, calc(var(--unit) * 260), 260px); /* Exact 272px height */
    box-sizing: border-box;
    transition: transform 0.2s ease;
}

.ad-card:hover {
    /* transform: translateY(-5px); */
}

.ad-card-content {
    display: flex;
    flex-direction: column;
}

.ad-card-title {
    font-weight: 600;
    font-size: clamp(24px, calc(var(--unit) * 32), 32px); /* Exact 32px size */
    line-height: 1;
    color: #BF7771;
    margin: 0 0 16px 0;
}

.ad-card-desc {
    font-weight: 400;
    font-size: clamp(14px, calc(var(--unit) * 16), 16px); /* Exact 16px size */
    line-height: 1.25;
    color: #000305;
    margin: 0;
}

.btn-know-more {
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    align-self: flex-start; /* Keeps button from stretching full width */
    padding: 10px 24px; /* Scaled down padding for smaller button inside card */
    gap: 12px;
    background: #F6F7F8;
    border: 1px solid #A7AAAF;
    border-radius: 32px;
    text-decoration: none;
    color: #2A2B2C;
    font-weight: 400;
    font-size: clamp(14px, calc(var(--unit) * 16), 16px);
    margin-top: 24px;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.btn-know-more:hover {
    background-color: #e8eaec;
}

/* Reusable arrow styling for both buttons */
.btn-arrow {
    font-size: 20px;
    line-height: 1;
    display: inline-block;
    transition: transform 0.2s ease;
}

.btn-view-all:hover .btn-arrow,
.btn-know-more:hover .btn-arrow {
    transform: translateX(4px); /* Nice subtle interaction */
}

/* =========================================================
   RESPONSIVE ADJUSTMENTS
   ========================================================= */

@media (max-width: 1024px) {
    .ad-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 columns on tablets */
    }
}

@media (max-width: 768px) {
    .ad-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .ad-grid {
        grid-template-columns: 1fr; /* Stack vertically on phones */
    }

    .ad-card {
        min-height: auto;
    }
}
/* =========================================================
   RESEARCH & INNOVATION SECTION
   ========================================================= */

.research-section {
    position: relative;
    background-color: #fffdfa; /* Exact background, NO dots */
    padding: var(--sec-padding-top-bottom) var(--sec-padding-left-right);
    font-family: 'Outfit', sans-serif;
    box-sizing: border-box;
}

.research-container {
    max-width: 1550px;
    margin: 0 auto;
    width: 100%;
}

/* --- Header Area --- */
.research-header {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: clamp(30px, calc(var(--unit) * 60), 60px);
    gap: 20px;
    flex-wrap: wrap;
}

.research-heading {
    font-weight: 300;
    font-size: clamp(36px, calc(var(--unit) * 64), 64px);
    line-height: 1.375;
    color: #995F5A; /* Exact color from dump */
    margin: 0;
}

.btn-more-research {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    padding: clamp(12px, calc(var(--unit) * 20), 20px) clamp(20px, calc(var(--unit) * 32), 32px);
    gap: 16px;
    background: #F6F7F8;
    border: 1px solid #A7AAAF;
    border-radius: 40px;
    text-decoration: none;
    color: #2A2B2C;
    font-size: clamp(16px, calc(var(--unit) * 20), 20px);
    font-weight: 400;
    line-height: 1.2;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.btn-more-research:hover {
    background-color: #e8eaec;
    transform: translateY(-2px);
}

.btn-arrow {
    font-size: clamp(18px, calc(var(--unit) * 24), 24px);
    line-height: 1;
}

/* --- Grid Layout --- */
.research-content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr; /* 50/50 split */
    gap: clamp(30px, calc(var(--unit) * 60), 60px);
    align-items: stretch; /* Forces equal heights between left and right column */
}

/* --- Left Column: Stats & Image --- */
.research-left-col {
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Dynamically spreads items */
    height: 100%;
}

.research-stats-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(10px, calc(var(--unit) * 24), 24px);
    margin-bottom: 24px; /* Base minimum spacing */
}

.r-stat-card {
    background: #FFFDFA;
    box-shadow: 1px 4px 4px #CCC4BA; /* Exact shadow */
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    min-height: clamp(120px, calc(var(--unit) * 170), 170px);
    padding: 15px;
    transition: transform 0.2s ease;
}

.r-stat-card:hover {
    transform: translateY(-4px);
}

.r-stat-num {
    font-weight: 600;
    font-size: clamp(24px, calc(var(--unit) * 32), 32px);
    line-height: 1;
    color: #2A2B2C;
    margin-bottom: 8px;
}

.r-stat-label {
    font-weight: 400;
    font-size: clamp(14px, calc(var(--unit) * 20), 20px);
    line-height: 1.4;
    color: #2A2B2C;
}

.research-featured-box {
    position: relative;
    width: 100%;
    aspect-ratio: 814 / 477; /* Exact aspect ratio from dump */
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 1px 4px 8px rgba(0,0,0,0.1);
}

.r-featured-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background-color: #d1cfcf; /* Fallback while image loads */
}

.r-featured-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: clamp(20px, calc(var(--unit) * 40), 40px);
    box-sizing: border-box;
    background: rgba(0, 3, 5, 0.7); /* Exact color from dump */
}

.r-featured-title {
    margin: 0;
    font-weight: 600;
    font-size: clamp(24px, calc(var(--unit) * 32), 32px);
    line-height: 1;
    color: #F6F7F8;
}

/* --- Right Column: Articles --- */
.research-right-col {
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Dynamically spreads items */
    height: 100%;
}

.r-article {
    display: flex;
    flex-direction: row;
    gap: clamp(16px, calc(var(--unit) * 24), 24px);
    align-items: stretch;
}

.r-article-img {
    width: clamp(140px, calc(var(--unit) * 250), 250px);
    aspect-ratio: 250 / 176; /* Exact ratio from dump */
    border-radius: 16px;
    object-fit: cover;
    flex-shrink: 0;
    background-color: #d1cfcf; 
}

.r-article-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-grow: 1;
    padding: 4px 0;
}

.r-article-dept {
    font-weight: 600;
    font-size: clamp(14px, calc(var(--unit) * 16), 16px);
    line-height: 1.25;
    color: #000305;
    margin: 0 0 clamp(8px, calc(var(--unit) * 12), 12px) 0;
}

.r-article-desc {
    font-weight: 400;
    font-size: clamp(14px, calc(var(--unit) * 16), 16px);
    line-height: 1.25;
    color: #000305;
    margin: 0 0 clamp(16px, calc(var(--unit) * 24), 24px) 0;
    display: -webkit-box;
    -webkit-line-clamp: 4; /* Truncates long text smoothly */
    -webkit-box-orient: vertical;  
    overflow: hidden;
}

.r-article-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.r-article-date {
    font-weight: 400;
    font-size: clamp(14px, calc(var(--unit) * 16), 16px);
    color: #000305;
}

.r-article-readmore {
    font-weight: 600;
    font-size: clamp(14px, calc(var(--unit) * 16), 16px);
    color: #000305;
    text-decoration: none;
    transition: color 0.2s ease;
}

.r-article-readmore:hover {
    text-decoration: underline;
    color: #995F5A;
}

.r-divider {
    width: 100%;
    height: 1px;
    background-color: #BF7771; /* Exact dump line color */
    flex-shrink: 0;
    margin: 16px 0; /* Fallback buffer */
}

/* =========================================================
   RESPONSIVE ADJUSTMENTS
   ========================================================= */

@media (max-width: 1200px) {
    .research-content-grid {
        grid-template-columns: 1fr; /* Stack columns vertically on smaller screens */
    }
    
    .research-left-col {
        gap: 40px; /* Fallback gap since space-between acts differently vertically */
    }
    
    .research-right-col {
        gap: 30px; 
    }
}

@media (max-width: 768px) {
    .research-header {
        align-items: flex-start;
        flex-direction: column;
        gap: 16px;
    }
    
    .r-article {
        flex-direction: column; /* Stack image above text for articles */
    }
    
    .r-article-img {
        width: 100%;
        aspect-ratio: 16 / 9; /* Wider ratio for mobile stacking */
    }
}

@media (max-width: 480px) {
    .research-stats-row {
        grid-template-columns: 1fr; /* Stack stat boxes vertically on very small screens */
    }
}
/* =========================================================
   LATEST NEWS SECTION
   ========================================================= */

.latest-news-section {
    padding: var(--sec-padding-top-bottom) var(--sec-padding-left-right);
    background-color: #D9ADAA;
    /* Muted pink background from Figma */
    font-family: 'Outfit', sans-serif;
}

.latest-news-container {
    max-width: 1550px;
    margin: 0 auto;
    width: 100%;
}

/* --- Header Row --- */
.news-header-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: clamp(30px, calc(var(--unit) * 48), 48px);
}

.news-section-title {
    font-weight: 300;
    font-size: clamp(36px, calc(var(--unit) * 64), 64px);
    line-height: 1.25;
    /* 81px / 64px */
    color: #000D1B;
    margin: 0;
}

.all-news-btn {
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 16px;
    padding: clamp(12px, calc(var(--unit) * 20), 20px) clamp(20px, calc(var(--unit) * 32), 32px);

    background: #F6F7F8;
    border: 1px solid #A7AAAF;
    border-radius: 40px;

    font-weight: 400;
    font-size: clamp(16px, calc(var(--unit) * 20), 20px);
    color: #2A2B2C;
    text-decoration: none;
    transition: background-color 0.2s ease;
}

.all-news-btn:hover {
    background: #FFFFFF;
}

/* --- News Grid --- */
.news-grid {
    display: grid;
    /* 4 columns layout on desktop */
    grid-template-columns: repeat(4, 1fr);
    /* Exactly 32px gap from Figma */
    gap: clamp(16px, calc(var(--unit) * 32), 32px);
}

/* --- Individual News Card --- */
.news-card {
    display: flex;
    flex-direction: column;
    background: #FFF5E8;
    border-radius: clamp(12px, calc(var(--unit) * 20), 20px);

    /* Drop shadow exactly from Figma */
    box-shadow: 1px 2px 4px #CCC4BA;

    /* Matches Figma height: 368px */
    min-height: clamp(280px, calc(var(--unit) * 368), 368px);
    padding: clamp(20px, calc(var(--unit) * 35), 35px);

    text-decoration: none;
    color: #000305;
}

.news-date {
    font-weight: 300;
    font-size: clamp(14px, calc(var(--unit) * 16), 16px);
    margin-bottom: clamp(16px, calc(var(--unit) * 24), 24px);
}

.news-excerpt {
    font-weight: 400;
    font-size: clamp(16px, calc(var(--unit) * 20), 20px);
    line-height: 1.4;
    /* 28px / 20px */
    flex-grow: 1;
    /* Pushes the "Read More" link to the bottom */
}

.news-read-more {
    font-weight: 600;
    font-size: clamp(14px, calc(var(--unit) * 16), 16px);
    margin-top: clamp(16px, calc(var(--unit) * 24), 24px);
}

/* =========================================================
   RESPONSIVE ADJUSTMENTS
   ========================================================= */

@media (max-width: 1200px) {
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
        /* Switch to 2x2 grid */
    }
}

@media (max-width: 768px) {
    .news-header-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .news-grid {
        grid-template-columns: 1fr;
        /* Switch to 1 column */
    }

    .news-card {
        min-height: auto;
        /* Let content dictate height on phones */
    }
}

/* =========================================================
   STUDENT LIFE SECTION (Matches Figma Layers exactly)
   ========================================================= */

#student_life_section {
    background-color: var(--bg-light, #FFFDF9);
    font-family: 'Outfit', sans-serif;
    position: relative;
    overflow: hidden;
    padding-top: var(--sec-padding-top-bottom);
    padding-bottom: var(--sec-padding-top-bottom);
}

.student-life-container {
    padding-left: var(--sec-padding-left-right);
    padding-right: var(--sec-padding-left-right);

}

/* --- Typography --- */
#student_life_section .sl-sub-title {
    font-weight: 300;
    font-size: clamp(24px, calc(var(--unit) * 48), 48px);
    line-height: 1.25;
    /* 60px / 48px */
    color: #BF7771;
    /* Exact Figma Color */
    margin: 0 0 8px 0;
}

#student_life_section .sl-main-title {
    font-weight: 200;
    font-size: clamp(48px, calc(var(--unit) * 128), 128px);
    line-height: 0.8;
    /* 161px / 128px */
    color: #000D1B;
    margin: 0;
    letter-spacing: normal;
}

/* --- Tabs Navigation --- */
#student_life_section .sl-nav-container {
    overflow-x: auto;
    -ms-overflow-style: none;
    /* IE and Edge */
    scrollbar-width: none;
    /* Firefox */
}

#student_life_section .sl-nav-container::-webkit-scrollbar {
    display: none;
}

#student_life_section .sl-nav-pills {
    display: inline-flex;
    gap: clamp(8px, calc(var(--unit) * 12), 12px);
    /* 12px gap from Frame 85 */
    width: max-content;
}

#student_life_section .sl-tab-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    /* Exact Figma sizes: 160x48 (scaled dynamically) */
    height: clamp(36px, calc(var(--unit) * 48), 48px);
    padding: 0 clamp(20px, calc(var(--unit) * 32), 32px);

    background: #05192D;
    border: 1px solid #A7AAAF;
    border-radius: 40px;
    font-family: 'Outfit', sans-serif;
    font-weight: 400;
    font-size: clamp(14px, calc(var(--unit) * 18), 18px);
    color: #f5f6f7;
    cursor: pointer;
    transition: all 0.3s ease;
}





/* Active State matching Figma's Dark Button */
#student_life_section .sl-tab-btn.active {
    background: #1a7ee0;
    color: #f4f5f6;
    border-color: #05192D;
    box-shadow: 1px 4px 4px #CCCFD1;
}

#student_life_section .sl-tab-btn:hover:not(.active) {
    background-color: balack;
}

#student_life_section .sl-tab-btn:hover:not(.active):hover {
    background-color: #d1e5f9;
    color: #000;
    font-weight: bold;
}


#student_life_section .sl-tab-btn:focus {
    /* color: var(--accent-copper, #BF7771); */
    background-color: #1a7ee0;
    color: #fff;
    font-weight: bold;
}

/* --- Marquee Animation Area --- */
#student_life_section .sl-marquee-wrapper {

    position: relative;
    width: 100%;
    /* margin-top: 8px; */
    /* margin-top: clamp(40px, calc(var(--unit) * 80), 80px); */
    padding: 60px 0;
    overflow: hidden;
}

/* Optimized Background Dot Pattern (Replaces the 2900 absolute ellipses) */
#student_life_section .sl-bg-pattern {
    position: absolute;
    inset: 0;
    /* Matches exact color and spacing of Figma ellipses */
    background-image: radial-gradient(rgba(209, 123, 15, 0.2) 2px, transparent 2px);
    background-size: 24px 23.3px;
    z-index: 0;
    pointer-events: none;
}

/* The Moving Track */
#student_life_section .sl-marquee-track {
    display: flex;
    /* Gap between columns */
    gap: clamp(20px, calc(var(--unit) * 40), 40px);
    width: max-content;
    animation: sl-scrollLeft 60s linear infinite;
    z-index: 1;
    position: relative;
    padding-left: 20px;
}

#student_life_section .sl-marquee-track:hover {
    animation-play-state: paused;
}

@keyframes sl-scrollLeft {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* --- Masonry Grid Columns (Generated by JS) --- */
#student_life_section .sl-masonry-col {
    display: flex;
    flex-direction: column;
    justify-content: center;
    /* Gap between stacked images */
    gap: clamp(20px, calc(var(--unit) * 40), 40px);
    flex-shrink: 0;
}

/* --- Dynamic Offsets for Masonry Staggering (Generated by JS) --- */
#student_life_section .sl-offset-0 {
    transform: translateY(0);
}

#student_life_section .sl-offset-1 {
    transform: translateY(clamp(20px, calc(var(--unit) * 60), 60px));
}

#student_life_section .sl-offset-2 {
    transform: translateY(clamp(-20px, calc(var(--unit) * -50), -50px));
}

#student_life_section .sl-offset-3 {
    transform: translateY(clamp(30px, calc(var(--unit) * 90), 90px));
}

/* --- Image Cards --- */
#student_life_section .sl-img-card {
    position: relative;
    border-radius: 20px;
    /* Exact Figma radius */
    overflow: hidden;
    background-color: #D9D9D9;
    /* Figma Placeholder Color */
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#student_life_section .sl-img-card:hover {
    transform: scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

#student_life_section .sl-img-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* --- Dynamic EXACT Image Sizes mapped from Figma (Generated by JS) --- */
/* Size 0: Matches IMG_6327 (754x502) */
#student_life_section .sl-size-0 {
    width: clamp(260px, calc(var(--unit) * 661), 661px);
    aspect-ratio: 661 / 336;
}

/* #student_life_section .sl-size-0 {
    width: clamp(280px, calc(var(--unit) * 754), 754px);
    aspect-ratio: 754 / 502;
} */
/* Size 1: Matches IMG_6388 (592x316) */
#student_life_section .sl-size-1 {
    width: clamp(240px, calc(var(--unit) * 592), 592px);
    aspect-ratio: 592 / 316;
}

/* Size 2: Matches IMG_1563 (467x249) */
#student_life_section .sl-size-2 {
    width: clamp(260px, calc(var(--unit) * 661), 661px);
    aspect-ratio: 661 / 336;
}

/* Size 3: Matches IMG_1977 & IMG_9770 (~367x187) */
#student_life_section .sl-size-3 {
    width: clamp(180px, calc(var(--unit) * 467), 467px);
    aspect-ratio: 467 / 249;
}

/* #student_life_section .sl-size-3 {
    width: clamp(150px, calc(var(--unit) * 367), 367px);
    aspect-ratio: 367 / 187;
} */

/* Size 4: Matches IMG_6231 (661x336) */
#student_life_section .sl-size-4 {
    width: clamp(150px, calc(var(--unit) * 367), 367px);
    aspect-ratio: 367 / 187;
}



/* =========================================================
   RESPONSIVE ADJUSTMENTS
   ========================================================= */
@media (max-width: 1024px) {
    #student_life_section .d-flex {
        align-items: flex-start !important;
        gap: 20px;
    }

    #student_life_section .sl-nav-container {
        text-align: left !important;
    }
}


/* --- Optimized Background Dot Pattern --- */
#student_life_section .sl-bg-pattern {
    position: absolute;
    inset: 0;
    /* Shrunk the dots from 2px to 1.5px to make them feel lighter/smaller */
    background-image: radial-gradient(rgba(209, 123, 15, 0.25) 1.5px, transparent 1.5px);
    background-size: 24px 23.3px; /* Exact Figma spacing */
    z-index: 0;
    pointer-events: none;
}

/* --- Info Overlay Panel (Updated Alignment & Border) --- */
/* --- Info Overlay Panel (Fixed Scroll & Overflow) --- */
#student_life_section .sl-info-panel {
    position: absolute;
    right: 0;
    top: 0;
    width: clamp(350px, 45%, 708px);
    height: 100%;
    
    /* NEW: This traps the padding inside the 100% height so it doesn't spill over */
    box-sizing: border-box; 
    
    background-color: rgba(0, 3, 5, 0.7); 
    z-index: 10;
    
    /* Changed from display: flex to block so the internal scroll works perfectly */
    display: block; 
    
    padding-top: clamp(40px, calc(var(--unit) * 57), 57px); 
    padding-left: clamp(30px, calc(var(--unit) * 81), 81px); 
    padding-right: 30px;
    padding-bottom: 40px; 
    
    backdrop-filter: blur(2px);
    transition: opacity 0.3s ease;
    /* border-left: 2px solid #197DE1;  */
    
    /* Keeps the scrollbar active inside the box */
    overflow-y: auto; 
}

/* --- Info List (Compact Spacing) --- */
/* --- Info List (Compact Spacing & Custom Small Bullets) --- */
#student_life_section #sl-info-list {
    font-family: 'Outfit', sans-serif;
    font-weight: 400;
    font-size: clamp(16px, calc(var(--unit) * 20), 20px);
    line-height: 1.6; 
    color: #F6F7F8;
    margin: 0;
    padding-left: 0; /* Removed default padding */
    list-style-type: none; /* This removes the default BIG dots */
    transition: opacity 0.3s ease;
}

#student_life_section #sl-info-list li {
    margin-bottom: 4px; 
    padding-left: 18px; /* Space for our custom dot */
    position: relative; /* Anchors the custom dot */
}

/* --- The Custom Small Dot --- */
#student_life_section #sl-info-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 13px; /* Pushes it down slightly to center it with the text */
    width: 4px; /* Change this to make the dot smaller/larger */
    height: 4px; /* Keep this same as width for a perfect circle */
    background-color: #F6F7F8; /* Same color as text */
    border-radius: 50%; /* Makes it round */
}

/* =========================================================
   CUSTOM SCROLLBAR FOR INFO PANEL
   ========================================================= */
/* =========================================================
   CUSTOM SCROLLBAR FOR INFO PANEL
   ========================================================= */
#student_life_section .sl-info-panel::-webkit-scrollbar {
    width: 6px; 
}

#student_life_section .sl-info-panel::-webkit-scrollbar-track {
    background: transparent; 
    margin-top: 50px; 
    margin-bottom: 20px;
}

/* --- Change the color here! --- */
#student_life_section .sl-info-panel::-webkit-scrollbar-thumb {
    background: #BF7771; /* <-- Put your desired main color hex code here */
    border-radius: 10px; 
}

/* --- Change the hover color here! --- */
#student_life_section .sl-info-panel::-webkit-scrollbar-thumb:hover {
    background: #a3625d; /* <-- Put a slightly darker shade here for when the mouse hovers over it */
}

/* Adjust overlay on mobile so it stacks nicely instead of covering images */
@media (max-width: 1024px) {
    #student_life_section .sl-info-panel {
        position: relative;
        width: 100%;
        height: auto;
        padding: 40px;
        border-left: none; /* Remove left border on mobile */
        /* border-top: 2px solid #197DE1;  */
    }
}

/* =========================================================
   LATEST EVENTS SECTION (STRICT 4-COLUMN ROW)
   ========================================================= */

.events-section {
    padding: var(--sec-padding-top-bottom) var(--sec-padding-left-right);
    padding-top: 0px;
    background-color: var(--bg-light, #FFFDF9);
    font-family: 'Outfit', sans-serif;
}

.events-container {
    max-width: 1600px;
    margin: 0 auto;
    width: 100%;
}

/* --- Header Row --- */
.events-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: clamp(40px, calc(var(--unit) * 64), 64px);
}

.events-section-title {
    font-weight: 300;
    font-size: clamp(36px, calc(var(--unit) * 64), 64px);
    line-height: 1.25;
    color: #000D1B;
    margin: 0;
}


/* --- Events Layout (FORCES 4 IN A ROW) --- */
.events-grid {
    display: grid;
    /* This perfectly divides the space into 4 equal columns */
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(16px, calc(var(--unit) * 32), 32px);
}

.event-block {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    /* Makes sure the timeline and card match heights perfectly */
    gap: clamp(8px, calc(var(--unit) * 16), 16px);
}

/* --- The Timeline (Left Side) --- */
.event-timeline {
    display: flex;
    flex-direction: column;
    align-items: center;
    /* Matches Figma's 91px width for the date blocks */
    width: clamp(50px, calc(var(--unit) * 91), 91px);
    flex-shrink: 0;
}

.timeline-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #2A2B2C;
}

.t-day {
    font-weight: 400;
    font-size: clamp(20px, calc(var(--unit) * 24), 24px);
    line-height: 1.25;
}

.t-month {
    font-weight: 400;
    font-size: clamp(12px, calc(var(--unit) * 16), 16px);
    text-transform: uppercase;
}

.timeline-connector {
    width: 2px;
    background-color: var(--accent-copper, #BF7771);
    flex-grow: 1;
    /* Automatically stretches to fill the gap between dates */
    margin: 8px 0;
    position: relative;
    min-height: 40px;
}

/* For Single Date events, force the line to stretch down */
.long-connector {
    height: 100%;
    min-height: 80px;
}

/* The Copper Dot */
.timeline-connector::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 8px;
    height: 8px;
    background-color: var(--accent-copper, #BF7771);
    border-radius: 50%;
}

/* --- Event Card (Right Side) --- */
.event-card {
    display: flex;
    flex-direction: column;
    background: #FFF5E8;
    border-radius: clamp(12px, calc(var(--unit) * 20), 20px);
    box-shadow: 1px 2px 4px #CCC4BA;

    /* Let the CSS Grid handle the width automatically so they don't wrap */
    width: 100%;
    height: 100%;
    min-height: clamp(160px, calc(var(--unit) * 192), 192px);

    padding: clamp(16px, calc(var(--unit) * 20), 24px);
    box-sizing: border-box;
    text-decoration: none;
    transition: transform 0.2s ease;
}

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

.event-content-wrapper {
    flex-grow: 1;
}

.event-title {
    font-weight: 700;
    font-size: clamp(16px, calc(var(--unit) * 24), 24px);
    line-height: 1.25;
    color: #2A2B2C;
    margin: 0 0 8px 0;
}

.event-desc {
    font-weight: 400;
    font-size: clamp(14px, calc(var(--unit) * 16), 16px);
    line-height: 1.35;
    color: #000305;
    margin: 0 0 16px 0;
}

/* Handles the very long text on the 4th card by adding ... at the end of 4 lines */
.long-text {
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.event-read-more {
    font-weight: 600;
    font-size: clamp(14px, calc(var(--unit) * 16), 16px);
    color: #000305;
    margin-top: auto;
}

/* =========================================================
   RESPONSIVE ADJUSTMENTS
   ========================================================= */

@media (max-width: 1200px) {
    .events-grid {
        grid-template-columns: repeat(2, 1fr);
        /* Drops to 2 rows of 2 on tablets */
    }
}

@media (max-width: 768px) {
    .events-header-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .events-grid {
        grid-template-columns: 1fr;
        /* Drops to a single column list on phones */
    }
}

/* =========================================================
   CAMPUS VIDEOS SECTION
   ========================================================= */

/* 1. Section handles the left alignment using CSS Math */
.campus-videos-section {
    padding: var(--sec-padding-top-bottom) var(--sec-padding-left-right);
    padding-top: 0px;
    background-color: var(--bg-light, #FFFDF9);

    /* MAGIC LINE: Aligns left side to your 1550px grid, but keeps normal padding on mobile */
    padding-left: max(var(--sec-padding-left-right, 5%), calc((100% - 1550px) / 2));

    padding-right: 0px;
    /* Forces right side to touch the edge */
    overflow: hidden;
    /* Prevents accidental horizontal scrollbars */
}

/* 2. Container stretches to fill the rest of the space to the right */
.campus-videos-container {
    max-width: 100%;
    /* Removes the 1550px limit so it bleeds off the right edge */
    margin: 0;
    width: 100%;
}

/* 3. Header gets right-padding so the title/button don't touch the screen edge */
.videos-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: clamp(30px, calc(var(--unit) * 48), 48px);

    /* Mirrors the left alignment calculation to keep the header contained within the 1550px grid */
    padding-right: max(var(--sec-padding-left-right, 5%), calc((100% - 1550px) / 2));
}

.videos-section-title {
    font-weight: 300;
    font-size: clamp(36px, calc(var(--unit) * 64), 64px);
    line-height: 1.25;
    color: #000D1B;
    margin: 0;
}

.more-videos-btn {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: clamp(12px, calc(var(--unit) * 20), 20px) clamp(20px, calc(var(--unit) * 32), 32px);
    background: #F6F7F8;
    border: 1px solid #A7AAAF;
    border-radius: 40px;
    font-weight: 400;
    font-size: clamp(16px, calc(var(--unit) * 20), 20px);
    color: #2A2B2C;
    text-decoration: none;
    transition: background-color 0.2s ease;
}

.more-videos-btn:hover {
    background: #FFFFFF;
}

/* --- Video & Playlist Layout --- */
.videos-player-wrapper {
    display: flex;
    flex-direction: row;
    /* Forces the rounded corners on the entire block */
    border-radius: clamp(12px, calc(var(--unit) * 20), 20px);
    border-top-right-radius: 0px;
    border-bottom-right-radius: 0px;

    overflow: hidden;
    background: #FFFDFA;
    /* Optional slight shadow for depth */
}

/* --- Left Side: Video Player --- */
.main-video-col {
    /* Exact ratio from Figma: 958px / 1580px total width = ~60.6% */
    flex: 0 0 60.6%;
    background-color: #000;
    aspect-ratio: 16 / 9;
    /* Keeps video proportional */
    position: relative;
}

.main-video-col iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* --- Right Side: Playlist --- */
.playlist-col {
    flex: 1;
    /* Takes remaining ~39.4% width */
    background: #FFFDFA;
    display: flex;
    flex-direction: column;
    /* Allow scrolling if there are many videos */
    max-height: 100%;
    overflow-y: auto;
}

.playlist-container {
    display: flex;
    flex-direction: column;
    width: 100%;
}

/* Individual Playlist Item */
.playlist-btn {
    display: flex;
    align-items: center;
    gap: 16px;
    width: 100%;
    padding: clamp(16px, calc(var(--unit) * 20), 24px) clamp(20px, calc(var(--unit) * 32), 32px);
    background: #FFFDFA;
    border: none;
    border-bottom: 1px solid #BF7771;
    /* Copper divider */
    cursor: pointer;
    text-align: left;
    transition: background-color 0.2s ease;
}

.playlist-btn:last-child {
    border-bottom: none;
}

.playlist-btn:hover {
    background-color: #F8EFE5;
    /* Slight tint on hover */
}

.playlist-btn:hover {
    background-color: #d1e5f9;

}

/* --- Active State (Dark Blue) --- */
.playlist-btn.active {
    background: #05192D;
    border-bottom-color: transparent;
}

.playlist-btn.active:hover {
    background: #05192D;
}

/* Thumbnail */
.playlist-thumb-wrapper {
    position: relative;
    /* Figma dims: 141x65 */
    width: clamp(100px, calc(var(--unit) * 141), 141px);
    height: clamp(50px, calc(var(--unit) * 65), 65px);
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
    background: #D9D9D9;
}

.playlist-thumb-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Pause Icon Overlay */
.thumb-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 35px;
    height: 35px;
    background: rgba(0, 0, 0, 0.8);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Text Meta */
.playlist-meta {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.playlist-video-title {
    font-weight: 600;
    font-size: clamp(16px, calc(var(--unit) * 20), 20px);
    line-height: 1.25;
    color: #2A2B2C;
    margin: 0;
}

.playlist-video-time {
    font-weight: 400;
    font-size: clamp(12px, calc(var(--unit) * 14), 14px);
    line-height: 1.25;
    color: #2A2B2C;
}

/* Active State Text Colors */
.playlist-btn.active .playlist-video-title,
.playlist-btn.active .playlist-video-time {
    color: #F6F7F8;
}

/* =========================================================
   RESPONSIVE ADJUSTMENTS
   ========================================================= */

@media (max-width: 1024px) {
    .videos-player-wrapper {
        flex-direction: column;
        /* Stacks player on top of playlist */
    }

    .main-video-col {
        flex: auto;
        width: 100%;
    }

    .playlist-col {
        /* Set a fixed height on mobile so user can scroll the playlist */
        max-height: 400px;
    }
}

@media (max-width: 600px) {
    .videos-header-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
}


/* =========================================================
       SITE FOOTER CSS (Exact Spacings from Overlays)
       ========================================================= */
.site-footer {
    background-color: #05192D;
    width: 100%;
    /* GREEN & YELLOW OVERLAYS:
           Top: 48px (Green)
           Right: 141px (Yellow)
           Bottom: 16px (Green below copyright)
           Left: 141px (Yellow) */
    padding: clamp(24px, calc(var(--unit) * 48), 48px) clamp(20px, calc(var(--unit) * 141), 141px) clamp(12px, calc(var(--unit) * 16), 16px) clamp(20px, calc(var(--unit) * 141), 141px);
    font-family: 'Outfit', sans-serif;
    box-sizing: border-box;
    overflow: hidden;
}

/* --- SECTION 1: PILL BUTTONS --- */
.footer-pill-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    /* GREEN OVERLAY: Exactly 16px row gap */
    row-gap: clamp(12px, calc(var(--unit) * 16), 16px);
    column-gap: 24px;
    width: 100%;
}

.footer-pill {
    display: flex;
    flex: 1 1 calc(16.666% - 24px);
    /* Forces exactly 6 per row on desktop */
    justify-content: center;
    align-items: center;
    background-color: #0A325A;
    border-radius: 47px;
    min-height: 47px;
    /* From CSS dump */
    padding: 10px 20px;

    font-weight: 400;
    font-size: clamp(14px, calc(var(--unit) * 20), 20px);
    color: #F6F7F8;
    text-decoration: none;
    white-space: nowrap;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.footer-pill:hover {
    background-color: #d1e5f9;
    color: #000;
}

/* --- DIVIDERS --- */
.footer-divider {
    width: 100%;
    height: 0.5px;
    background-color: #734744;
    /* Copper color from dump */
    /* GREEN OVERLAY: Exactly 48px above and below the line */
    margin: clamp(24px, calc(var(--unit) * 48), 48px) 0;
}

/* --- SECTION 2: TEXT LINKS --- */
/* --- SECTION 2: TEXT LINKS --- */
/* --- SECTION 2: TEXT LINKS --- */
.footer-text-links {
    display: block; 
    column-count: 4; /* Creates 4 vertical columns */
    column-gap: clamp(16px, calc(var(--unit) * 32), 32px); /* Keeps your spacing */
}

.footer-text-links a {
    display: inline-block; /* Critical: prevents a link from breaking in half */
    width: 100%;
    margin-bottom: 16px; /* Vertical spacing between links */
    break-inside: avoid; /* Forces the link to stay in one column */
    
    font-weight: 400;
    font-size: clamp(16px, calc(var(--unit) * 20), 20px);
    color: #F6F7F8;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-text-links a:hover {
    color: #BF7771;
}

/* --- SECTION 3: INFO GRID & LOGO --- */
.footer-info-section {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    width: 100%;
}

.footer-logo {
    height: clamp(80px, calc(var(--unit) * 128), 128px);
    width: auto;
    object-fit: contain;
    align-self: center;
}

/* YELLOW OVERLAYS: 73px to the left, 68px to the right */
.footer-vert-divider {
    width: 0.5px;
    background-color: #734744;
    margin-left: clamp(24px, calc(var(--unit) * 73), 73px);
    margin-right: clamp(24px, calc(var(--unit) * 68), 68px);
}

.footer-contact-wrap {
    display: flex;
    flex-direction: row;
    /* YELLOW OVERLAY: Exactly 90px gap between text blocks */
    gap: clamp(30px, calc(var(--unit) * 90), 90px);
    flex: 1;
    align-items: flex-start;
}

.contact-block {
    display: flex;
    flex-direction: column;
}

.contact-block.reach {
    gap: 16px;
}

.contact-block.email,
.contact-block.phone {
    gap: 8px;
}

.contact-heading {
    font-weight: 400;
    font-size: clamp(16px, calc(var(--unit) * 18), 18px);
    color: #FFFFFF;
    margin: 0;
    line-height: 23px;
}

.contact-text {
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    color: #B3B3B3;
    margin: 0;
}

/* Social Icons */
.footer-social-wrap {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-left: auto;
    /* Pushes it to the far right edge */
    align-items: center;
    justify-content: center;
}

.footer-social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    color: #E3E6E9;
    transition: color 0.2s ease, transform 0.2s ease;
}

.footer-social-icon svg {
    width: 22px;
    height: 22px;
    fill: currentColor;
}

.footer-social-icon:hover {
    color: #BF7771;
    transform: scale(1.1);
}

/* --- SECTION 4: BOTTOM BAR --- */
.footer-bottom-divider {
    width: 100%;
    height: 0.5px;
    background-color: #B26E63;
    /* GREEN OVERLAYS: 48px Top, 16px Bottom */
    margin-top: clamp(24px, calc(var(--unit) * 48), 48px);
    margin-bottom: clamp(10px, calc(var(--unit) * 16), 16px);
}

.footer-bottom-bar {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.copyright,
.legal-links a {
    font-weight: 300;
    font-size: 14px;
    line-height: 18px;
    color: #7D8083;
    text-decoration: none;
}

.legal-links {
    display: flex;
    flex-direction: row;
    gap: clamp(16px, calc(var(--unit) * 24), 24px);
}

.legal-links a:hover {
    color: #BF7771;
}

/* =========================================================
       RESPONSIVE ADJUSTMENTS
       ========================================================= */
@media (max-width: 1100px) {
    .footer-text-links {
        column-count: 3;
    }
    .footer-info-section {
        flex-direction: column;
        gap: 32px;
    }

    .footer-vert-divider {
        display: none;
    }

    .footer-contact-wrap {
        flex-direction: column;
        gap: 24px;
    }

    .footer-social-wrap {
        flex-direction: row;
        margin-left: 0;
        align-self: flex-start;
    }

    .footer-pill {
        flex: 1 1 calc(33.33% - 24px);
    }

    /* 3 per row on tablets */
}

@media (max-width: 768px) {
    .footer-text-links {
        column-count: 2; /* 2 Columns on Mobile */
    }
    .footer-pill {
        flex: 1 1 calc(50% - 16px);
    }

    /* 2 per row on mobile */
    .footer-bottom-bar {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    .legal-links {
        justify-content: center;
    }
}