/* =========================
   CSS RESET & BASE SETUP
   ========================= */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
body.sidebar-open {
    overflow: hidden;
    height: 100vh;
    touch-action: none; /* 🔥 mobile fix */
}
html {
    scroll-behavior: smooth; /* CSS smooth scrolling */
    font-size: 16px;
}

body {
    font-family: 'Inter', system-ui, 'Source Sans Pro' , -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: #ffffff;
    color: #111111;
    font-size: 15px;
    letter-spacing: 0.25px;
    line-height: 1.6;
    overflow-x: hidden;
}

/* =========================
   PAGE LOAD CURTAIN (TWO PANELS)
   ========================= */
.curtain-wrapper {
    position: fixed;
    inset: 0;
    z-index: 2000;
    pointer-events: none;
    display: flex;
    justify-content: space-between;
    transform-style: preserve-3d;
    perspective: 1200px;
}

.curtain-panel {
    flex: 1;
    height: 100%;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.45);
    transform-origin: center left;
}

.curtain-panel.right {
    transform-origin: center right;
}

.curtain-panel.left {
    background-image: url('../assets/images/curtain-left.png');
}

.curtain-panel.right {
    background-image: url('../assets/images/curtain-right.png');
}

.curtain-wrapper.curtain-open {
    animation: curtain-wrapper-fade 2.6s ease-in-out forwards;
}

.curtain-panel.left.curtain-open {
    animation: curtain-left-open 2.6s ease-in-out forwards;
}

.curtain-panel.right.curtain-open {
    animation: curtain-right-open 2.6s ease-in-out forwards;
}

@keyframes curtain-left-open {
    0% {
        transform: translateX(0) rotateY(0deg);
    }
    60% {
        transform: translateX(-5%) rotateY(-6deg);
    }
    100% {
        transform: translateX(-100%) rotateY(-12deg);
    }
}

@keyframes curtain-right-open {
    0% {
        transform: translateX(0) rotateY(0deg);
    }
    60% {
        transform: translateX(5%) rotateY(6deg);
    }
    100% {
        transform: translateX(100%) rotateY(12deg);
    }
}

@keyframes curtain-wrapper-fade {
    0% {
        opacity: 1;
        visibility: visible;
    }
    85% {
        opacity: 1;
        visibility: visible;
    }
    100% {
        opacity: 0;
        visibility: hidden;
    }
}

/* =========================
   CSS VARIABLES (DESIGN SYSTEM)
   ========================= */
:root {
    /* Colors */
    --color-primary: #0d6efd;
    --color-secondary: #6c757d;
    --color-dark: #111111;
    --color-light: #f8f9fa;
    --color-muted: #adb5bd;

    /* Spacing scale */
    --space-xs: 8px;
    --space-sm: 16px;
    --space-md: 24px;
    --space-lg: 40px;
    --space-xl: 64px;

    /* Container system (STYLE GUIDE) */
    --container-max-width: 1360px;
    --container-padding-desktop: 46px;
    --container-padding-tablet: 32px;
    --container-padding-mobile: 16px;

    /* Transitions */
    --transition-fast: 0.2s ease-in-out;
    --transition-normal: 0.3s ease-in-out;

    /* Z-index system */
    --z-topbar: 1000;
    --z-navbar: 1100;
    --z-sidebar: 1200;
    --z-overlay: 1300;
}


/* =========================
   GLOBAL ELEMENT STYLES
   ========================= */
img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}

button {
    font-family: inherit;
    border: none;
    background: none;
    cursor: pointer;
}

/* =========================
   LAYOUT UTILITIES
   ========================= */
.container-custom {
    max-width: var(--container-max-width);
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--container-padding-desktop);
    padding-right: var(--container-padding-desktop);
    width: 100%;
}

@media (max-width: 1200px) {
    .container-custom {
        padding-left: var(--container-padding-tablet);
        padding-right: var(--container-padding-tablet);
    }
}

@media (max-width: 768px) {
    .container-custom {
        padding-left: var(--container-padding-mobile);
        padding-right: var(--container-padding-mobile);
    }
}

@media (max-width: 1200px) {
    .navbar-inner,
    .top-bar-inner {
        padding-left: var(--container-padding-tablet);
        padding-right: var(--container-padding-tablet);
    }
}

@media (max-width: 768px) {
    .navbar-inner,
    .top-bar-inner {
        padding-left: var(--container-padding-mobile);
        padding-right: var(--container-padding-mobile);
    }
}



.main-navbar {
    position: relative;
    z-index: var(--z-navbar);
}

.navbar-inner,
.top-bar-inner {
    width: 100%;
}



.section {
    padding-top: var(--space-xl);
    padding-bottom: var(--space-xl);
}

:root {
    --z-topbar: 1000;
    --z-navbar: 1100;
    --z-sidebar: 1200;
    --z-overlay: 1300;
}

@media (max-width: 992px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 280px;
        background: #8b1026;
        z-index: var(--z-sidebar);
        flex-direction: column;
        padding: 5rem 2rem;
        transition: right 0.3s ease;
    }

    .nav-links.open {
        right: 0;
    }

    .hamburger {
        display: flex;
    }
}



.hero-carousel {
    position: relative;
    z-index: 1; /* keep it low */
}

.nav-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: calc(var(--z-sidebar) - 1);
    display: none;
}

.nav-backdrop.active {
    display: block;
}

.carousel-overlay h2,
.carousel-overlay p {
    text-shadow: 0 6px 18px rgba(0,0,0,0.6);
}

.nav-divider {
    width: 2px;
    height: 28px;
    background-color: #f5a623; /* yellow from design */
    margin: 0 24px;
    flex-shrink: 0;
}

/* =========================
   TYPOGRAPHY UTILITIES
   ========================= */
.heading-lg {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
}

.heading-md {
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    font-weight: 600;
}

.text-muted {
    color: var(--color-muted);
}

/* =========================
   RESPONSIVE BREAKPOINTS
   ========================= */

h1 {
    /* font-family: 'Playfair Display', serif; */
    font-size: 80px;
    font-weight: 700;
    letter-spacing: 1.5px;
}

h2 {
    font-family: 'Playfair Display', serif;
    font-size: 54px;
    font-weight: 300;
    letter-spacing: -0.5px;
}

h3 {
    font-size: 36px;
    font-weight: 400;
    letter-spacing: 0px;
}

h4 {
    font-size: 34px;
    font-weight: 400;
    letter-spacing: 0.25px;
}

h5 {
    font-size: 24px;
    font-weight: 400;
}

h6 {
    font-size: 24px;
    font-weight: 400;
}

@media (max-width: 768px) {
    h1 { font-size: 32px; }
    h2 { font-size: 32px; }
    h3 { font-size: 26px; }
}

.subheading-1 {
    font-size: 17px;
    letter-spacing: 0.15px;
}

.subheading-2 {
    font-size: 15px;
    letter-spacing: 0.1px;
}

.body-sm {
    font-size: 15px;
    letter-spacing: 0.25px;
}

.body-md {
    font-size: 17px;
    letter-spacing: 0.5px;
}


/* =========================
   TOP BAR
========================= */
.top-bar {
    background: #e58a00;
    color: #fff;
    font-size: clamp(0.7rem, 1vw, 0.85rem);
}

.top-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: clamp(0.4rem, 0.8vw, 0.5rem) 0;
    white-space: nowrap;
}

.top-right {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: clamp(0.5rem, 0.8vw, 0.75rem);
    margin-left: auto;
    flex-shrink: 0;
}

.top-right img {
    width: clamp(14px, 1.2vw, 18px);
    height: clamp(14px, 1.2vw, 18px);
    object-fit: contain;
    display: block;
    cursor: pointer;
    flex-shrink: 0;
}


/* =========================
   MAIN NAVBAR
========================= */
.main-navbar {
    background: #8b1026;
    color: #fff;
}

.navbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
      padding: 0.65rem 0;
    gap: 2rem;
}

@media (max-width: 576px) {
    .navbar-inner {
        padding-left: 12px;
        padding-right: 12px;
    }
}


@media (max-width: 992px) {
    .nav-links {
        position: fixed; /* already there, but enforce */
        width: 300px;
        max-width: 85vw; /* 🔥 prevents overflow on tiny phones */
    }
}
.main-navbar {
    overflow-x: hidden; /* 🔥 last-resort guard */
}

/* =========================
   NAVBAR INNER SPACING FIX
========================= */
.navbar-inner,
.top-bar-inner {
    padding-left: var(--container-padding-desktop);
    padding-right: var(--container-padding-desktop);
}
.logo-area {
    display: flex;
    flex-direction: column;
    justify-content: center; /* 🔥 key fix */
}
.logo-area h1 {
    font-size: 1.25rem;
    font-weight: 600;
}

.logo-area p {
    font-size: 0.75rem;
    opacity: 0.85;
        margin-top: 2px;

}


@media (max-width: 992px) {
    .nav-divider {
        display: none;
    }
}
/* =========================
   NAV LINKS
========================= */
.nav-links {
    display: flex;
    gap: 2rem; /* 🔥 tighter on desktop */
    align-items: center;
}


.nav-links a {
    color: #fff;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.nav-links a.active {
    font-weight: 600;
}

/* =========================
   ACTIONS
========================= */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.search-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.search-btn img {
    width: 30px;
    height: auto;
}

@media (max-width: 576px) {

    .search-btn img {
        width: 20px;
    }
}

@media (min-width: 768px) {
 

    .search-btn img {
        width: 22px;
    }
}


/* =========================
   HAMBURGER
========================= */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 4px;
    z-index: var(--z-navbar);
}

.hamburger span {
    width: 22px;
    height: 2px;
    background: #fff;
}

@media (max-width: 992px) {
    .hamburger {
        display: flex; /* 🔥 force show */
    }
}

@media (min-width: 1200px) {
    .main-navbar .container-custom {
        padding-left: 32px;
        padding-right: 32px;
    }
}


.nav-actions {
    position: relative;
    z-index: var(--z-navbar);
}

@media (min-width: 1200px) {
    .nav-links {
        gap: 1.75rem; /* 🔥 clearly visible spacing */
    }
}

@media (min-width: 1400px) {
    .nav-links {
        gap: 2rem;
    }
}
.hamburger {
    padding: 8px;
}



/* =========================
   SIDEBAR HEADER
========================= */
.sidebar-header {
    display: none;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.sidebar-title {
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
}

.close-sidebar {
    font-size: 2rem;
    line-height: 1;
    color: #fff;
    background: none;
    border: none;
    cursor: pointer;
}

/* Show header only on mobile */
@media (max-width: 992px) {
    .sidebar-header {
        display: flex;
    }
}


@media (max-width: 992px) {
    .nav-links {
        display: none; /* 🔥 hide desktop menu */
    }

    .nav-links.open {
        display: flex; /* sidebar shows when open */
    }
}


/* =========================
   SEARCH OVERLAY
========================= */
.search-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.8);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 999;
}

.search-overlay.active {
    display: flex;
}

.search-box {
    display: flex;
    background: #fff;
    border-radius: 4px;
    overflow: hidden;
}

.search-box input {
    padding: 0.75rem 1rem;
    width: 300px;
    border: none;
    outline: none;
}

.search-box button {
    padding: 0 1rem;
    font-size: 1.5rem;
    background: #8b1026;
    color: #fff;
}



.nav-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.45);
    z-index: calc(var(--z-sidebar) - 1);
    display: none;
}

.nav-backdrop.active {
    display: block;
}


/* =========================
   SIDEBAR (MOBILE NAV)
========================= */
@media (max-width: 992px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background: #7d0f24; /* slightly darker than navbar */
        z-index: var(--z-sidebar);

        display: flex;
        flex-direction: column;

        padding: 1.75rem 1.5rem;
        transition: right 0.35s ease;
    }

    .nav-links.open {
        right: 0;
    }

    /* Header */
    .sidebar-header {
        display: flex;
        justify-content: space-around;
        align-items: flex-start;
    }

    .sidebar-brand h4 {
        font-family: 'Playfair Display', serif;
        font-size: 1.2rem;
        line-height: 1.2;
        margin-bottom: 4px;
        color: #fff;
    }

    .sidebar-brand span {
        font-size: 0.7rem;
        opacity: 0.8;
        color: #f2f2f2;
    }

    .close-sidebar {
        font-size: 2rem;
        color: #fff;
        line-height: 1;
    }

    /* Links */
    .nav-links a {
        padding: 0.85rem 0;
        font-size: 0.95rem;
        border-bottom: 1px solid rgba(255,255,255,0.08);
    }

    .nav-links a:last-child {
        border-bottom: none;
    }

    .nav-links a.active {
        font-weight: 600;
        color: #f5a623;
    }

    .nav-links a:hover {
        color: #f5a623;
        padding-left: 6px;
        transition: all 0.25s ease;
    }

   
}

.nav-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.45);
    z-index: calc(var(--z-sidebar) - 1);
    display: none;
}

.nav-backdrop.active {
    display: block;
}
@media (max-width: 992px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;

        background: #7d0f24;
        z-index: var(--z-sidebar);

        display: flex;
        flex-direction: column;

        padding: 1.75rem 1.5rem;

        overflow-y: auto;         
        overscroll-behavior: contain; 

        transition: right 0.35s ease;
    }

    .nav-links.open {
        right: 0;
    }
}


/* =========================
   HERO CAROUSEL
========================= */
.hero-carousel {
    position: relative;
    height: clamp(420px, 75vh, 650px);
    overflow: hidden;
    color: #fff;
}

/* Slides */
.carousel-track {
    height: 100%;
    position: relative;
}

.carousel-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
}

.carousel-slide.active {
    opacity: 1;
    z-index: 1;
}

/* Overlay Content */
.carousel-overlay {
    position: absolute;
    left: 6%;
    bottom: 18%;
    max-width: 600px;
}

.carousel-overlay h2 {
    font-size: clamp(1.6rem, 4vw, 2.8rem);
    font-weight: 600;
    line-height: 1.25;
    margin-bottom: 1rem;
}

.carousel-overlay .highlight {
    color: #f5a623;
    font-family: cursive;
}

.carousel-overlay p {
    font-size: clamp(0.9rem, 1.5vw, 1rem);
    opacity: 0.9;
}

/* Navigation Buttons */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.4);
    border: 2px solid #fff;
    color: #fff;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 2;
}
/* =========================
   NAVBAR BRAND (LEFT)
========================= */
/* =========================
   NAVBAR BRAND FIX
========================= */
.navbar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0; /* 🔥 CRITICAL */
}

.navbar-logo {
    width: 64px;
    height: 64px;
    flex-shrink: 0;
}

/* Allow text to shrink */
.navbar-title {
    min-width: 0;
}

.navbar-title h1 {
    font-size: 18px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis; /* 🔥 prevents overflow */
}

.navbar-title p {
    font-size: 11px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
@media (max-width: 768px) {
    .navbar-title  {
        display: none;
    }

    .navbar-logo {
        width: 44px;
        height: 44px;
    }
}

@media (max-width: 1200px) {
    .navbar-logo {
        width: 48px;
        height: 48px;
    }

    .navbar-title h1 {
        font-size: 18px;
    }

    .navbar-title p {
        font-size: 11px;
    }
}

.carousel-btn.prev { left: 20px; }
.carousel-btn.next { right: 20px; }

/* Dots */
.carousel-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 2;
}

.carousel-dots span {
    width: 10px;
    height: 10px;
    background: rgba(255,255,255,0.5);
    border-radius: 50%;
    cursor: pointer;
}

.carousel-dots span.active {
    background: #fff;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 768px) {
    .carousel-overlay {
        left: 5%;
        right: 5%;
        bottom: 15%;
        max-width: unset;
    }

    .carousel-btn {
        width: 36px;
        height: 36px;
        font-size: 1.1rem;
    }
}


/* =========================
   QUICK LINKS FULL BLEED
========================= */
.quick-links-full {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    width: 100%;
}



/* =========================
   QUICK LINKS ICON (IMAGE)
========================= */
.quick-icon-img {
    width: 46px;
    height: 46px;
    object-fit: contain;
     flex-shrink: 0;
    margin-bottom: 1rem;
    display: block;
}

@media (max-width: 576px) {
    .quick-icon-img {
        width: 28px;
        height: 28px;
    }
}

/* =========================
   CARD BASE
========================= */

/* =========================
   QUICK CARD TITLE (ICON + TEXT INLINE)
========================= */
.quick-card-title {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 0.75rem;
}

.quick-card-title h3 {
    margin: 0; /* prevent unwanted spacing */
}

.quick-card {
    position: relative;
    min-height: 220px;
    background-size: cover;
    background-position: center;
    color: #fff;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    padding: 2.5rem;
}

/* Dark base overlay */
.quick-card-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.45);
    z-index: 1;
}

/* =========================
   RED HOVER OVERLAY
   (LEFT → RIGHT ANIMATION)
========================= */
.quick-card-red {
    position: absolute;
    inset: 0;
    background: rgba(139, 16, 38, 0.85);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
    z-index: 2;
}

/* Hover animation */
.quick-card:hover .quick-card-red {
    transform: translateX(0);
}

/* =========================
   CONTENT
========================= */
.quick-card-content {
    position: relative;
    z-index: 3;
}

.quick-icon {
    font-size: 34px;
    margin-bottom: 1rem;
}

.quick-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    margin-bottom: 0.5rem;
}

.quick-card p {
    font-size: 15px;
    opacity: 0.9;
}

/* =========================
   HOVER POLISH
========================= */
.quick-card:hover h3,
.quick-card:hover p {
    transform: translateX(6px);
    transition: transform 0.4s ease;
}

/* =========================
   RESPONSIVE
========================= */
/* Tablet: Keep 3 columns in same line */
@media (max-width: 992px) and (min-width: 769px) {
    .quick-links-full {
        grid-template-columns: repeat(3, 1fr);
    }

    .quick-card {
        padding: 2rem 1.5rem;
        min-height: 200px;
    }

    .quick-card h3 {
        font-size: clamp(22px, 2.5vw, 28px);
    }

    .quick-card p {
        font-size: 14px;
    }

    .quick-icon-img {
        width: 36px;
        height: 36px;
    }
}

/* Small tablets: 2 columns */
@media (max-width: 768px) and (min-width: 577px) {
    .quick-links-full {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .quick-links-full {
        grid-template-columns: 1fr;
    }

    .quick-card {
        padding: 2rem;
        min-height: 200px;
    }

    .quick-card h3 {
        font-size: 26px;
    }
}



/* =========================
   MISSION SECTION
========================= */
.mission-section {
    padding: var(--space-xl) 0;
}

/* Grid layout */
.mission-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
}

.mission-heading {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 0.75rem;
}

.mission-icon {
    width: 60px;
    height: 60px;
    object-fit: contain;
    flex-shrink: 0;
}

/* Image */
.mission-image {
    overflow: hidden;
}

.mission-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Content panel */
.mission-content {
    background: #8b1026;
    color: #fff;
    padding: 4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.mission-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: 36px;
    margin-bottom: 1rem;
}

/* Divider line */
.mission-divider {
    width: 100%;             
    max-width: 320px;         
    height: 2px;
    background: #f5a623;
    margin-bottom: 1.5rem;
}


/* Text */
.mission-content p {
    font-size: 15px;
    line-height: 1.7;
    opacity: 0.95;
}

/* =========================
   RESPONSIVE
========================= */

/* Tablet - Keep desktop layout (2 columns) */
@media (max-width: 992px) and (min-width: 768px) {
    .mission-grid {
        grid-template-columns: 1fr 1fr;
    }

    .mission-content {
        padding: 3.5rem;
    }

    .mission-content h2 {
        font-size: clamp(32px, 4vw, 36px);
    }

    .mission-content p {
        font-size: 15px;
    }

    .mission-arrows {
        margin-top: 1.8rem;
    }
}

/* Mobile - Stack layout */
@media (max-width: 768px) {
    .mission-grid {
        grid-template-columns: 1fr;
    }

    .mission-content {
        padding: 3rem;
    }
}

/* Mobile */
@media (max-width: 576px) {
    .mission-content {
        padding: 2rem;
    }

    .mission-content h2 {
        font-size: 28px;
    }
}


@media (max-width: 576px) {
    .mission-heading {
        gap: 10px;
    }

    .mission-icon {
        width: 24px;
        height: 24px;
    }
}

/* =========================
   MISSION CAROUSEL CORE
========================= */
.mission-carousel {
    position: relative;
    overflow: hidden;
}

.mission-slides {
    position: relative;
    min-height: 420px;
}

.mission-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease;
}

.mission-slide.active {
    opacity: 1;
    pointer-events: auto;
    position: relative;
}

/* Grid */
.mission-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    height: 100%;
}

/* Image */
.mission-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Content */
.mission-content {
    background: #8b1026;
    color: #fff;
    padding: 4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

/* Heading */
.mission-heading {
    display: flex;
    align-items: center;
    gap: 12px;
}

.mission-ring {
    width: 50px;
    height: 50px;
    object-fit: contain;
    flex-shrink: 0;
}
.mission-heading {
    align-items: center;
}

.featured-header {
    position: relative;
    background: #8b1026; /* 🔴 project maroon */
    color: #fff;
    padding: 18px 24px;
    font-family: 'Playfair Display', serif;
    display: flex;
    align-items: center;
    gap: 14px;
    overflow: hidden;
}

.header-sub {
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 14px;
    font-weight: 400;
    opacity: 0.9;
    white-space: nowrap;
}

.featured-header {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
}
@media (max-width: 768px) {
    .featured-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .header-divider {
        width: 40px;
        height: 2px;
    }

    .header-sub {
        white-space: normal;
        font-size: 13px;
    }
}

.featured-header-bar {
    background: #881125; /* dark grey as in screenshot */
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    padding: 18px 0;
}


.featured-title {
    font-family: 'Playfair Display', serif;
    color: #ffffff;
    font-size: 32px;
    font-weight: 600;

    display: flex;
    align-items: center;
    gap: 14px;

    max-width: 1360px;
    margin: 0 auto;
    padding: 0 46px;
}

.header-sub {
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 14px;
    font-weight: 400;
    opacity: 0.9;
    white-space: nowrap;
}
.featured-intro-wrap {
    padding-top: 16px;
}

.featured-intro {
    font-size: 14px;
    color: #555;
    max-width: 720px;
    line-height: 1.6;
}
@media (max-width: 768px) {
    .featured-title {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .header-divider {
        width: 40px;
        height: 2px;
    }

    .header-sub {
        white-space: normal;
        font-size: 13px;
    }
}

.header-divider {
    width: 3px;
    height: 28px;
    background: #f5a623;
    display: inline-block;
    flex-shrink: 0;
}



/* Divider */
.mission-divider {
    width: 120px;
    height: 2px;
    background: #f5a623;
    margin: 1rem 0 1.5rem;
}

/* Text */
.mission-content p {
    font-size: 15px;
    line-height: 1.7;
    max-width: 520px;
}

/* Arrows */
.mission-arrows {
    display: flex;
    gap: 14px;
    margin-top: 2rem;
}

.mission-arrows button {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid #f5a623;
    background: transparent;
    color: #f5a623;
    font-size: 22px;
    cursor: pointer;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 992px) {
    .mission-grid {
        grid-template-columns: 1fr;
    }

    .mission-content {
        padding: 2.5rem;
    }

    .mission-slides {
        min-height: unset;
    }
}



/* =========================
   FEATURED MEDIA SECTION
========================= */
.featured-media-section {
    background: #fff;
    position: relative;
}

/* Top bar */
.featured-top-bar {
    background: #2f2f2f;
    color: #fff;
    padding-top: 0.75rem;
    text-align: center;
    font-size: 0.85rem;
    display: flex;
    align-items: center;     /* vertical center */
    justify-content: center; /* horizontal center */
}

/* Background split */
.featured-background {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    height: 420px;
}

.bg-image {
    background-size: cover;
    background-position: center;
    position: relative;
}

.bg-image::after {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0.85;
}

/* Heading */
.featured-heading {
    position: absolute;
    inset: 0;
    z-index: 2;
    font-size: 72px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    text-align: center;
    color: #fff;
}

.featured-heading h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(28px, 4vw, 40px);
    margin-bottom: 1rem;
}

.featured-heading span {
    width: 80px;
    height: 2px;
    background: #fff;
}

/* =========================
   VIDEO CAROUSEL
========================= */
.featured-video-wrapper {
    position: relative;
    margin-top: -120px;
    padding-bottom: 4rem;
}

.featured-video-carousel {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    background: #fff;
    padding: 12px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.25);
}
.featured-video-carousel {
    position: relative;
}
/* Slides */
.featured-video-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.featured-video-slide.active {
    position: relative;
    opacity: 1;
    pointer-events: auto;
}
.featured-video-slide img {
    width: 100%;
    display: block;
}

/* Play button */
.play-btn {
    position: absolute;
    inset: 0;
    margin: auto;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(255,255,255,0.95);
    font-size: 24px;
    color: #8b1026;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
/* =========================
   VIDEO CAROUSEL DOTS
========================= */
.video-carousel-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 1rem;
}

.video-carousel-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(139,16,38,0.35);
    cursor: pointer;
}

.video-carousel-dots span.active {
    background: #8b1026;
}

/* Controls */
.video-carousel-controls {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 1.5rem;
}

.video-carousel-controls button {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 2px solid #f5a623;
    background: transparent;
    color: #f5a623;
    font-size: 1.25rem;
    cursor: pointer;
}

.video-carousel-controls button:hover {
    background: #f5a623;
    color: #fff;
}

/* =========================
   RESPONSIVE
========================= */
/* Tablet (768px - 992px) - Keep desktop layout */
@media (max-width: 992px) and (min-width: 768px) {
    .featured-background {
        grid-template-columns: 1fr 1fr; /* Keep 2 columns */
        height: 420px; /* Keep desktop height */
    }

    .bg-image.right {
        display: block; /* Keep right image visible */
    }

    .featured-video-wrapper {
        margin-top: -120px; /* Keep desktop overlap */
    }

    .featured-heading h2 {
        font-size: clamp(32px, 4vw, 40px); /* Keep desktop size */
    }
}

/* Mobile (below 768px) */
@media (max-width: 768px) {
    .featured-background {
        grid-template-columns: 1fr;
        height: 360px;
    }

    .bg-image.right {
        display: none;
    }

    .featured-video-wrapper {
        margin-top: -80px;
    }
}

@media (max-width: 576px) {
    .featured-video-wrapper {
        margin-top: -60px;
    }

    .featured-heading h2 {
        font-size: 24px;
    }
}
/* =========================
   FEATURED VIDEO (MP4)
========================= */
.featured-video {
    width: 100%;
    display: block;
    background: #000;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

/* Hide play button when playing */
.featured-video-slide.playing .play-btn {
    opacity: 0;
    pointer-events: none;
}

/* Smooth fade */
.play-btn {
    transition: opacity 0.3s ease;
}


/* =========================
   UPCOMING ACTIVITIES
========================= */
.upcoming-activities {
    padding: var(--space-xl) 0;
    background: #fff;
}

/* =========================
   HEADER
========================= */
.activities-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2.5rem;
}

.title-underline {
    display: block;
    width: 120px;
    height: 3px;
    background: #8b1026;
    margin-top: 8px;
}

/* Tabs */
.activity-tabs {
    display: flex;
    gap: 12px;
}

.tab-btn {
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 14px;
    border: none;
    cursor: pointer;
    background: #881125;
    color: white;
}

.tab-btn.active {
    background: #E98E0F;
}

/* =========================
   TITLE ROW
========================= */
.activities-title-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.main-activity-title {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    max-width: 70%;
}

.view-more-btn {
    background-color: #E98E0F;
    padding: 6px 14px;
    color: white;
    border-radius: 6px;
    white-space: nowrap;
}

/* =========================
   LAYOUT
========================= */
.activities-layout {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 40px;
    align-items: start;
}

/* =========================
   LEFT CONTENT
========================= */
.activities-left img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 4px;
    margin-bottom: 12px;
}

.latest-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #8b1026;
    font-weight: 600;
    margin-bottom: 1rem;
}

.activities-left p {
    font-size: 14px;
}

/* =========================
   RIGHT SCROLLABLE LIST (DESKTOP ONLY)
========================= */
.activities-right {
    max-height: 500px;
    overflow-y: auto;
    padding-right: 8px;
}

/* Activity item */
.activity-item {
    display: flex;
    gap: 16px;
    margin-bottom: 20px;
}

.activity-date {
    width: 120px;
    height: 120px;
    background-size: cover;
    background-position: center;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    line-height: 1.1;
    flex-shrink: 0;
}

.activity-item h4 {
    font-size: 14px;
    margin-bottom: 6px;
}

.activity-item a {
    font-size: 13px;
    color: #8b1026;
}

/* =========================
   MODAL
========================= */
.activities-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: var(--z-overlay);
}

.activities-modal.active {
    display: block;
}

.modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.6);
}

.modal-content {
    position: relative;
    background: #fff;
    max-width: 700px;
    margin: 8vh auto;
    padding: 2rem;
    z-index: 2;
}

.modal-close {
    position: absolute;
    top: 10px;
    right: 14px;
    font-size: 24px;
    border: none;
    background: none;
    cursor: pointer;
}

.modal-list {
    margin-top: 1.5rem;
}

.modal-item {
    padding: 1rem 0;
    border-bottom: 1px solid #eee;
}

.modal-item h4 {
    font-size: 16px;
}

.modal-item span {
    font-size: 13px;
    color: #666;
}

/* =========================
   RESPONSIVE FIX (KEY PART)
========================= */
/* Tablet (768px - 992px) - Keep desktop layout */
@media (max-width: 992px) and (min-width: 768px) {
    .activities-header {
        display: flex;
        flex-direction: row; /* Keep buttons on same line as title */
        justify-content: space-between;
        align-items: center;
        margin-bottom: 2.5rem;
    }

    .activity-tabs {
        display: flex;
        gap: 12px;
        width: auto; /* Don't force full width */
        justify-content: flex-end; /* Align to right */
    }

    .tab-btn {
        padding: 5px 10px;
        font-size: 14px;
        white-space: nowrap; /* Prevent button text wrapping */
    }

    .activities-layout {
        grid-template-columns: 1.4fr 1fr; /* Keep desktop 2-column layout */
        gap: 40px; /* Keep desktop gap */
    }

    .activities-right {
        max-height: 500px; /* Keep desktop scrollable */
        overflow-y: auto;
        padding-right: 8px;
    }

    .activities-title-row {
        flex-direction: row; /* Keep horizontal layout */
        align-items: center;
        justify-content: space-between;
        gap: 0;
    }

    .main-activity-title {
        max-width: 70%; /* Keep desktop max-width */
        font-size: clamp(28px, 3vw, 32px); /* Responsive but desktop-like */
    }
}

/* Mobile (below 768px) */
@media (max-width: 768px) {
    .activities-layout {
        grid-template-columns: 1fr;
    }

    .activities-right {
        max-height: none;
        overflow: visible;
        padding-right: 0;
    }

    .activities-title-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .main-activity-title {
        max-width: 100%;
        font-size: 26px;
    }
}

@media (max-width: 576px) {
    .main-activity-title {
        font-size: 22px;
    }

    .view-more-btn {
        width: 100%;
        text-align: center;
    }
}



/* =========================
   FOOTER
========================= */
.site-footer {
    background: #8b1026;
    color: #ffffff;
    padding-top: 4rem;
    font-size: 14px;
}

/* Layout */
.footer-top {
    display: grid;
    grid-template-columns: 1.2fr 1.6fr 1fr;
    gap: 3rem;
    padding-bottom: 3rem;
}

/* Headings */
.footer-col h4 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 1.2rem;
}

/* Links */
.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col ul li {
    margin-bottom: 0.8rem;
}

.footer-col a {
    color: #ffffff;
    opacity: 0.9;
    transition: opacity 0.2s ease;
}

.footer-col a:hover {
    opacity: 1;
    text-decoration: underline;
}

/* Center column */
.footer-center p {
    line-height: 1.6;
    margin-bottom: 1.2rem;
}

.footer-meta {
    opacity: 0.9;
}

/* Feedback */
.footer-feedback a {
    font-weight: 500;
    display: inline-block;
    margin-top: 0.5rem;
}

/* Social Icons */
.footer-social {
    display: flex;
    justify-content: flex-end;
    gap: 1.2rem;
    padding: 0 46px 1.5rem;
}

.footer-social img {
    width: 22px;
    height: 22px;
    opacity: 0.9;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.footer-social img:hover {
    opacity: 1;
    transform: translateY(-2px);
}

/* Divider */
.footer-divider {
    height: 1px;
    background: rgba(255,255,255,0.35);
    margin: 0 46px;
}

/* Bottom */
.footer-bottom {
    text-align: left;
    padding: 1.2rem 46px 2rem;
    font-size: 13px;
    opacity: 0.9;
}

/* =========================
   RESPONSIVE
========================= */

/* Tablet (768px - 992px) - Keep desktop layout */
@media (max-width: 992px) and (min-width: 768px) {
    .site-footer {
        padding-top: 4rem;
    }

    .footer-top {
        grid-template-columns: 1.2fr 1.6fr 1fr; /* Keep desktop 3-column layout */
        gap: 3rem;
        padding-bottom: 3rem;
    }

    .footer-col {
        text-align: left; /* Keep left alignment */
    }

    .footer-col h4 {
        font-size: 15px;
        margin-bottom: 1.2rem;
        color: #fff;
    }

    .footer-col ul {
        list-style: none;
        padding: 0;
        display: block; /* Keep default block layout */
    }

    .footer-col ul li {
        margin-bottom: 0.8rem;
        text-align: left; /* Keep left alignment */
    }

    .footer-col a {
        font-size: 14px;
        line-height: 1.5;
        word-break: normal; /* Remove word-break */
    }

    .footer-center h4 {
        font-size: 15px;
        line-height: 1.4;
        text-align: left; /* Keep left alignment */
        max-width: none;
        margin-left: 0;
        margin-right: 0;
    }

    .footer-center p {
        text-align: left; /* Keep left alignment */
        font-size: 14px;
    }

    .footer-col p {
        text-align: left; /* Keep left alignment */
        font-size: 14px;
        line-height: 1.6;
    }

    .footer-feedback {
        text-align: left; /* Keep left alignment */
    }

    .footer-social {
        justify-content: flex-end; /* Keep right alignment */
        padding: 0 46px 1.5rem;
        gap: 1.2rem;
    }

    .footer-social img {
        width: 22px;
        height: 22px;
    }

    .footer-divider {
        margin: 0 46px;
    }

    .footer-bottom {
        text-align: left; /* Keep left alignment */
        padding: 1.2rem 46px 2rem;
        font-size: 13px;
        opacity: 0.9;
    }
}

/* Mobile Large (576px - 768px) */
@media (max-width: 768px) and (min-width: 576px) {
    .site-footer {
        padding-top: 3rem;
    }

    .footer-top {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding-bottom: 2rem;
    }

    .footer-col {
        text-align: center;
        padding: 0 1rem;
    }

    .footer-col h4 {
        font-size: 15px;
        margin-bottom: 0.9rem;
        color: #fff;
    }

    .footer-col ul {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0.7rem;
    }

    .footer-col ul li {
        margin-bottom: 0;
        width: 100%;
        max-width: 500px;
    }

    .footer-col a {
        font-size: 13px;
        line-height: 1.6;
        display: block;
        word-break: break-word;
        text-align: center;
    }

    .footer-center h4 {
        font-size: 14px;
        line-height: 1.4;
        margin-bottom: 1rem;
    }

    .footer-center p {
        text-align: center;
        font-size: 13px;
        line-height: 1.7;
    }

    .footer-col p {
        text-align: center;
        font-size: 14px;
        line-height: 1.7;
    }

    .footer-feedback {
        text-align: center;
        margin-top: 0.8rem;
    }

    .footer-social {
        justify-content: center;
        padding: 0 24px 1.2rem;
        gap: 1.2rem;
    }

    .footer-social img {
        width: 22px;
        height: 22px;
    }

    .footer-divider {
        margin: 0 24px;
    }

    .footer-bottom {
        text-align: center;
        padding: 1rem 24px 1.5rem;
        font-size: 12px;
        line-height: 1.5;
    }
}

/* Mobile (below 576px) */
@media (max-width: 576px) {
    .site-footer {
        padding-top: 2.5rem;
        font-size: 13px;
    }

    .footer-top {
        grid-template-columns: 1fr;
        gap: 1.8rem;
        padding-bottom: 1.8rem;
    }

    .footer-col {
        text-align: center;
        padding: 0 1rem;
    }

    .footer-col h4 {
        font-size: 14px;
        margin-bottom: 0.8rem;
        color: #fff;
        font-weight: 600;
    }

    .footer-col ul {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0.6rem;
        padding: 0;
    }

    .footer-col ul li {
        margin-bottom: 0;
        width: 100%;
        max-width: 100%;
    }

    .footer-col a {
        font-size: 12px;
        line-height: 1.6;
        display: block;
        word-break: break-word;
        text-align: center;
        padding: 0 0.5rem;
    }

    .footer-center h4 {
        font-size: 13px;
        line-height: 1.5;
        margin-bottom: 0.9rem;
        padding: 0 0.5rem;
    }

    .footer-center p {
        text-align: center;
        font-size: 11px;
        line-height: 1.6;
        margin-bottom: 0.8rem;
    }

    .footer-meta {
        font-size: 11px;
    }

    .footer-col p {
        text-align: center;
        font-size: 12px;
        line-height: 1.6;
        margin-bottom: 0.8rem;
    }

    .footer-feedback {
        text-align: center;
        margin-top: 0.6rem;
    }

    .footer-feedback a {
        font-size: 12px;
    }

    .footer-social {
        justify-content: center;
        padding: 0 20px 1rem;
        gap: 1rem;
    }

    .footer-social img {
        width: 20px;
        height: 20px;
    }

    .footer-divider {
        margin: 0 20px;
        height: 1px;
    }

    .footer-bottom {
        text-align: center;
        padding: 1rem 20px 1.5rem;
        font-size: 11px;
        line-height: 1.6;
        opacity: 0.9;
    }
}


/* =========================
   FEATURED RESEARCH
========================= */
.featured-research {
    background: #ffffff;
    padding: 4rem 0;
}

/* Header */
.featured-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.header-divider {
    width: 2px;
    height: 22px;
    background: #f5a623;
}

.header-sub {
    font-size: 14px;
    font-weight: 400;
    color: white;
}

.featured-intro {
    max-width: 620px;
    margin-top: 1rem;
    font-size: 14px;
    color: #666;
}

/* Grid */
.featured-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 2.5rem;
    margin-top: 3rem;
}

/* Cards */
.featured-card {
    position: relative;
}

.featured-image img {
    width: 100%;
    display: block;
}

/* 🔥 L-SHAPED OVERLAP CARD */
.overlap-card {
    position: relative;
    background: #fff;
    padding: 1.5rem;
    margin-top: -50px; /* overlap image - reduced */
    margin-left: 0;
    max-width: 90%;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    border-left: 4px solid #8b1026;
}

/* Smaller right cards */
.overlap-card.small {
    margin-top: -40px; /* reduced overlap */
    max-width: 92%;
}

/* Typography */
.featured-content h3 {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    margin-bottom: 0.4rem;
}

.featured-content .meta {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #777;
    display: block;
    margin-bottom: 0.6rem;
}

.featured-content p {
    font-size: 14px;
    color: #444;
    line-height: 1.5;
    margin-bottom: 0;
}

.read-more {
    display: inline-flex;
    align-items: center;
    margin-top: 0.6rem;
    font-size: 13px;
    color: #f57c00;
    font-weight: 500;
}

/* Side column */
.featured-side {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

/* =========================
   RESPONSIVE
========================= */

/* Tablet - Keep desktop layout (2 columns) */
@media (max-width: 992px) and (min-width: 768px) {
    .featured-research {
        padding: 4rem 0;
    }

    .featured-grid {
        display: grid;
        grid-template-columns: 1.3fr 1fr;
        gap: 2.5rem;
        margin-top: 3rem;
    }

    .overlap-card {
        margin-top: -50px;
        max-width: 90%;
        padding: 1.5rem;
    }

    .overlap-card.small {
        margin-top: -40px;
        max-width: 92%;
    }

    .featured-content h3 {
        font-size: clamp(20px, 2.5vw, 22px);
    }

    .featured-content p {
        font-size: 14px;
    }
}

/* Mobile - Stack layout */
@media (max-width: 768px) {
    .featured-grid {
        grid-template-columns: 1fr;
    }

    .overlap-card,
    .overlap-card.small {
        margin-top: -50px;
        max-width: 95%;
    }
}

/* Mobile */
@media (max-width: 576px) {
    .featured-header h2 {
        font-size: 26px;
    }

    .featured-intro {
        font-size: 13px;
    }

    .overlap-card,
    .overlap-card.small {
        margin-top: 0;
        max-width: 100%;
        padding: 1.5rem;
    }

    .featured-content h3 {
        font-size: 20px;
    }
}


/* =========================
   DISCLAIMER SECTION
========================= */
.disclaimer-section {
    padding: 5rem 0;
    background: #ffffff;
}

/* Header */
.disclaimer-heading {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 3rem;
}

.disclaimer-heading img {
    width: 40px;
}

.disclaimer-heading h2 {
    font-family: 'Playfair Display', serif;
    font-size: 30px;
}

/* Main layout */
.disclaimer-layout {
    position: relative;
    min-height: 520px;
}

/* =========================
   IMAGE STACK
========================= */
.image-stack {
    position: relative;
    width: 420px;
    margin: 0 auto;
    z-index: 1;
}

.image-stack img {
    width: 100%;
    display: block;
    position: relative;
    z-index: 2;
}

/* Red background slab */
.image-backdrop {
    position: absolute;
    top: -40px;
    right: -40px;
    width: 100%;
    height: 100%;
    background: #8b1026;
    z-index: 1;
}

/* =========================
   FLOATING CARDS
========================= */
.floating-card {
    position: absolute;
    background: #fff;
    box-shadow: 0 12px 35px rgba(0,0,0,0.12);
    padding: 1.75rem;
    z-index: 3;
    border-left: 5px solid #f57c00;
}

/* Disclaimer card (top-left) */
.disclaimer-card {
    top: 40px;
    left: 0;
}

/* Objectives card (bottom-right) */
.objectives-card {
    bottom: 40px;
    right: 0;
}

/* Card typography */
.floating-card h4 {
    font-size: 15px;
    font-weight: 600;
    color: #8b1026;
    margin-bottom: 0.75rem;
}

.floating-card p,
.floating-card li {
    font-size: 14px;
    line-height: 1.6;
    color: #444;
}

.objectives-card ul {
    padding-left: 1.1rem;
}

.objectives-card li {
    margin-bottom: 0.5rem;
}

/* =========================
   RESPONSIVE
========================= */

/* Tablet (768px - 992px) - Keep desktop layout */
@media (max-width: 992px) and (min-width: 768px) {
    .disclaimer-section {
        padding: 5rem 0; /* Keep desktop padding */
    }

    .disclaimer-layout {
        position: relative;
        min-height: clamp(480px, 60vh, 520px); /* Responsive min-height */
        display: block; /* Keep block layout */
    }

    .image-stack {
        margin: 0 auto; /* Keep centered */
        width: clamp(380px, 45vw, 420px); /* Responsive width */
        max-width: 100%;
        position: relative;
        z-index: 1;
    }

    .floating-card {
        position: absolute !important; /* Force absolute positioning */
        max-width: clamp(400px, 50vw, 520px); /* Responsive max-width */
        max-height: 260px; /* Keep desktop max-height */
        overflow-y: auto; /* Keep scrollable */
        z-index: 3;
        padding: 1.75rem; /* Keep desktop padding */
    }

    .disclaimer-card {
        top: clamp(20px, 5vh, 40px) !important; /* Moved up and reduced overlap */
        left: clamp(10px, 2vw, 20px) !important; /* Moved further left to reduce overlap */
        bottom: auto !important;
        right: auto !important;
    }

    .objectives-card {
        bottom: clamp(20px, 5vh, 40px) !important; /* Moved down and reduced overlap */
        right: clamp(10px, 2vw, 20px) !important; /* Moved further right to reduce overlap */
        top: auto !important;
        left: auto !important;
    }

    .image-backdrop {
        top: clamp(-30px, -4vh, -36px); /* Responsive backdrop position */
        right: clamp(-30px, -4vw, -36px);
    }

    .disclaimer-heading {
        margin-bottom: 3rem; /* Keep desktop margin */
    }

    .disclaimer-heading h2 {
        font-size: clamp(40px, 5vw, 50px); /* Responsive but desktop-like */
    }
}

/* Mobile (below 768px) */
@media (max-width: 768px) {
    .disclaimer-layout {
        min-height: auto;
    }

    .image-stack {
        margin: 4rem auto;
    }

    .floating-card {
        position: relative;
        max-width: 100%;
        margin-bottom: 2rem;
    }

    .disclaimer-card,
    .objectives-card {
        top: auto;
        bottom: auto;
        left: auto;
        right: auto;
    }

    .image-backdrop {
        top: -25px;
        right: -25px;
    }
}

/* Mobile */
@media (max-width: 576px) {
    .disclaimer-section {
        padding: 3.5rem 0;
    }

    .disclaimer-heading h2 {
        font-size: 32px;
    }

    .floating-card {
        padding: 1.4rem;
    }

    .image-backdrop {
        display: none; /* cleaner on small screens */
    }
}

/* =========================
   DISCLAIMER SECTION
========================= */
.disclaimer-section {
    padding: 5rem 0;
    background: #ffffff;
    overflow: hidden;
}

/* Header */
.disclaimer-heading {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 3rem;
}

.disclaimer-heading img {
    width: 40px;
}

.disclaimer-heading h2 {
    font-family: 'Playfair Display', serif;
    font-size: 50px;
}

/* =========================
   MAIN LAYOUT
========================= */
.disclaimer-layout {
    position: relative;
    min-height: 520px;
}

/* =========================
   IMAGE STACK
========================= */
.image-stack {
    position: relative;
    width: 420px;
    max-width: 100%;
    margin: 0 auto;
    z-index: 1;
}

.image-stack img {
    width: 100%;
    height: auto;
    display: block;
    position: relative;
    z-index: 2;
    border-radius: 2px;
}

/* Red background slab */
.image-backdrop {
    position: absolute;
    top: -36px;
    right: -36px;
    width: 100%;
    height: 100%;
    background: #8b1026;
    z-index: 1;
}

/* =========================
   FLOATING CARDS (DESKTOP)
========================= */
.floating-card {
    position: absolute;
    background: #fff;
    box-shadow: 0 14px 35px rgba(0,0,0,0.14);
    padding: 1.75rem;
    max-width: 520px;
    max-height: 260px;              /* ✅ KEY FIX */
    overflow-y: auto;               /* ✅ NO OVERLAP */
    z-index: 3;
    border-left: 5px solid #f57c00;
}

/* Left card */
.disclaimer-card {
    top: 30px;
    left: 10px; /* Moved further left to reduce overlap */
}

/* Right card */
.objectives-card {
    bottom: 30px;
    right: 10px; /* Moved further right to reduce overlap */
}

/* Typography */
.floating-card h4 {
    font-size: 15px;
    font-weight: 600;
    color: #8b1026;
    margin-bottom: 0.75rem;
}

.floating-card p,
.floating-card li {
    font-size: 14px;
    line-height: 1.6;
    color: #444;
}

.objectives-card ul {
    padding-left: 1.1rem;
}

.objectives-card li {
    margin-bottom: 0.5rem;
}

/* =========================
   TABLET (768px - 992px) - Keep desktop layout
========================= */
@media (max-width: 992px) and (min-width: 768px) {
    .disclaimer-section {
        padding: 5rem 0; /* Keep desktop padding */
    }

    .disclaimer-layout {
        position: relative;
        min-height: clamp(480px, 60vh, 520px); /* Responsive min-height */
        display: block; /* Keep block layout, not flex */
    }

    .floating-card {
        position: absolute !important; /* Force absolute positioning */
        max-width: clamp(400px, 50vw, 520px); /* Responsive max-width */
        max-height: 260px; /* Keep desktop max-height */
        overflow-y: auto; /* Keep scrollable */
        z-index: 3;
        padding: 1.75rem; /* Keep desktop padding */
    }

    .disclaimer-card {
        top: clamp(20px, 5vh, 40px) !important; /* Moved up and reduced overlap */
        left: clamp(10px, 2vw, 20px) !important; /* Moved further left to reduce overlap */
        bottom: auto !important;
        right: auto !important;
    }

    .objectives-card {
        bottom: clamp(20px, 5vh, 40px) !important; /* Moved down and reduced overlap */
        right: clamp(10px, 2vw, 20px) !important; /* Moved further right to reduce overlap */
        top: auto !important;
        left: auto !important;
    }

    .image-stack {
        margin: 0 auto; /* Keep centered */
        width: clamp(380px, 45vw, 420px); /* Responsive width */
        position: relative;
        z-index: 1;
    }

    .image-backdrop {
        top: clamp(-30px, -4vh, -36px); /* Responsive backdrop position */
        right: clamp(-30px, -4vw, -36px);
    }

    .disclaimer-heading {
        margin-bottom: 3rem; /* Keep desktop margin */
    }

    .disclaimer-heading h2 {
        font-size: clamp(40px, 5vw, 50px); /* Responsive but desktop-like */
    }
}

/* =========================
   MOBILE (below 768px)
========================= */
@media (max-width: 768px) {
    .disclaimer-layout {
        display: flex;
        flex-direction: column;
        gap: 2.5rem;
        min-height: auto;
    }

    .floating-card {
        position: relative;          /* ✅ CRITICAL */
        max-width: 100%;
        max-height: none;
        overflow: visible;
    }

    .disclaimer-card,
    .objectives-card {
        top: auto;
        bottom: auto;
        left: auto;
        right: auto;
    }

    .image-stack {
        margin: 0 auto;
    }

    .image-backdrop {
        top: -22px;
        right: -22px;
    }
}

/* =========================
   MOBILE FIX
========================= */
@media (max-width: 576px) {

    .disclaimer-section {
        padding: 3.5rem 0;
    }

    .disclaimer-heading h2 {
        font-size: 32px;
    }

    .floating-card {
        padding: 1.4rem;
    }

    .image-backdrop {
        display: none; /* cleaner on small screens */
    }
}


/* =========================
   UPCOMING EVENT SECTION
========================= */
.upcoming-event {
    padding: 80px 16px;
    background: #faf7f5;
}

.event-inner {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
    padding: 0 20px;
}

/* =========================
   ORNAMENT IMAGES
========================= */
.ornament {
    display: block;
    margin: 0 auto;
    max-width: 140px;
    width: 100%;
    height: auto;
}

.ornament-top {
    margin-bottom: 28px;
}

.ornament-bottom {
    margin-top: 40px;
}

/* =========================
   TEXT
========================= */
.event-tag {
    font-size: 12px;
    letter-spacing: 1.5px;
    color: #666;
    margin-bottom: 12px;
}

.event-title {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    font-weight: 500;
    color: #8b1026;
    margin-bottom: 16px;
}

.event-quote {
    font-style: italic;
    font-size: 15px;
    color: #555;
    margin-bottom: 28px;
}

.event-content {
    max-width: 780px;
    margin: 0 auto 32px;
    font-size: 15px;
    line-height: 1.7;
    color: #333;
}

.event-content p {
    margin-bottom: 16px;
}

.event-meta {
    font-size: 13px;
    color: #444;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 768px) {
    .event-title {
        font-size: 26px;
    }

    .ornament {
        max-width: 100px;
    }
}

@media (max-width: 480px) {
    .event-title {
        font-size: 22px;
    }

    .ornament {
        max-width: 80px;
    }
}
/* =========================
   DUAL CAROUSEL SECTION
========================= */
.dual-carousel-section {
    background: #ffffff;
    overflow: hidden;
}

/* =========================
   TEXT CAROUSEL
========================= */
.dual-text-carousel {
    position: relative;
    padding: 50px 20px 50px;
    text-align: center;
    max-width: 960px;
    margin: 0 auto;
}

.dual-text-track {
    position: relative;
}

.dual-text-slide {
    display: none;
}

.dual-text-slide.active {
    display: block;
}

.dual-text-slide h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(28px, 4vw, 44px);
    line-height: 1.2;
    margin-bottom: 14px;
}

.dual-text-slide p {
    font-size: 14px;
    color: #444;
    max-width: 720px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Scribble highlight */
.dual-scribble {
    font-family: 'Playfair Display', serif;
    color: #f5a623;
    font-weight: 500;
    font-style: italic;
}


/* Arrows */
.dual-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 2px solid #8b1026;
    color: #8b1026;
    background: #fff;
    font-size: 20px;
    cursor: pointer;
}

.dual-prev { left: -10px; }
.dual-next { right: -10px; }

/* =========================
   IMAGE CAROUSEL
========================= */
.dual-image-carousel {
    position: relative;
    height: clamp(320px, 60vh, 520px);
}

.dual-image-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 0.6s ease;
}

.dual-image-slide.active {
    opacity: 1;
    z-index: 1;
}

/* Dots */
.dual-dots {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 3;
}

.dual-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
}

.dual-dots span.active {
    background: #ffffff;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 768px) {
    .dual-prev { left: 6px; }
    .dual-next { right: 6px; }
}


/* =========================
   ABOUT – ONE NATION ONE ELECTION
========================= */
.about-onoe {
  padding: 6rem 0;
    background: #F5F5F5;
}

.about-onoe-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
  margin: 0 auto;
  padding: 0 2rem;
}

/* =========================
   LEFT TEXT
========================= */
.about-onoe-text h2 {
  font-family: 'Playfair Display', serif;
  font-size: 42px;
  line-height: 1.3;
  margin-bottom: 2rem;
  color: #1a1a1a;
  font-weight: 700;
}

.about-onoe-text .underline {
  border-bottom: 3px solid #1a1a1a;
  display: inline-block;
  padding-bottom: 2px;
}

.about-onoe-text p {
  font-size: 15px;
  line-height: 1.8;
  color: #333;
  margin-bottom: 1.5rem;
}

.about-onoe-text p:last-child {
  margin-bottom: 0;
}

.about-onoe-text strong {
  font-weight: 600;
  color: #1a1a1a;
}

/* =========================
   RIGHT VISUAL
========================= */
.about-onoe-visual {
  position: relative;
  height: 550px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

/* Podium Image - Right Side */
.about-onoe-main {
  position: relative;
  width: 50%;
  z-index: 2;
  margin-right: 0;
}

.about-onoe-main img {
  width: 100%;
  height: auto;
  display: block;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

/* Group Image - Left Side with Maroon Slab */
.about-onoe-group {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 50%;
  z-index: 3;
}

.about-onoe-group img {
  width: 100%;
  display: block;
  position: relative;
  z-index: 2;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

/* Maroon slab behind group image */
.about-onoe-slab {
  position: absolute;
  top: -20px;
  left: 20px;
  width: 100%;
  height: 100%;
  background: #8b1026;
  z-index: 1;
}

/* Orange accent border (visible in image) */
.about-onoe-main::before {
  content: '';
  position: absolute;
  top: -12px;
  right: -12px;
  width: 100%;
  height: 100%;
  z-index: -1;
}

/* =========================
   RESPONSIVE – LARGE TABLETS (992px - 1024px)
   Minor adjustments only, layout unchanged
========================= */
@media (max-width: 1024px) and (min-width: 993px) {
  .about-onoe-grid {
    gap: 4rem;
  }

  .about-onoe-text h2 {
    font-size: 38px;
  }

  .about-onoe-visual {
    height: 500px;
  }
}

/* =========================
   RESPONSIVE – TABLETS (768px - 992px)
   Keep same desktop layout (2 columns, overlapping images)
========================= */
@media (max-width: 992px) and (min-width: 768px) {
  .about-onoe {
    padding: 6rem 0;
    background: #F5F5F5;
  }

  .about-onoe-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr; /* slightly smaller text, slightly larger images */
    gap: 4rem;
    align-items: center;
    margin: 0 auto;
    padding: 0 2rem;
  }

  .about-onoe-text {
    text-align: left;
    max-width: 95%;
    margin: 0;
  }

  .about-onoe-text h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(38px, 5vw, 48px);
    line-height: 1.3;
    margin-bottom: 1.5rem;
    color: #1a1a1a;
    font-weight: 700;
  }

  .about-onoe-text .underline {
    color: #881125;
    border-bottom: 3px solid #881125;
    display: inline-block;
    padding-bottom: 2px;
    font-size: clamp(36px, 4.8vw, 46px);
  }

  .about-onoe-text p {
    font-size: 14px;
    line-height: 1.7;
    color: #333;
    margin-bottom: 1.5rem;
    text-align: left;
  }

  .about-onoe-text p:last-child {
    margin-bottom: 0;
  }

  .about-onoe-text strong {
    font-weight: 600;
    color: #1a1a1a;
  }

  .about-onoe-visual {
    position: relative;
    height: clamp(520px, 65vh, 600px); /* give visuals a bit more height */
    display: flex;
    align-items: center;
    justify-content: flex-end;
  }

  .about-onoe-main {
    position: relative;
    width: 55%;
    z-index: 2;
    margin-right: 0;
  }

  .about-onoe-group {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 55%;
    z-index: 3;
  }

  .about-onoe-group img {
    width: 100%;
    display: block;
    position: relative;
    z-index: 2;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  }

  .about-onoe-slab {
    position: absolute;
    top: -20px;
    left: 20px;
    width: 100%;
    height: 100%;
    background: #8b1026;
    z-index: 1;
  }

  .about-onoe-main::before {
    content: '';
    position: absolute;
    top: -12px;
    right: -12px;
    width: 100%;
    height: 100%;
    z-index: -1;
  }
}

/* =========================
   RESPONSIVE – MOBILE LARGE (576px - 768px)
========================= */
@media (max-width: 768px) and (min-width: 576px) {
  .about-onoe {
    padding: 3.5rem 0;
  }

  .about-onoe-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
    padding: 0 clamp(1.5rem, 3vw, 2rem);
  }

  .about-onoe-text {
    text-align: center;
    max-width: 100%;
  }

  .about-onoe-text h2 {
    font-size: clamp(28px, 5vw, 32px);
    margin-bottom: 1.5rem;
    line-height: 1.25;
  }

  .about-onoe-text .underline {
    font-size: clamp(26px, 4.8vw, 30px);
  }

  .about-onoe-text p {
    font-size: 15px;
    line-height: 1.75;
    margin-bottom: 1.3rem;
    text-align: left;
  }

  .about-onoe-visual {
    height: auto;
    min-height: auto;
    flex-direction: column;
    gap: 2rem;
    justify-content: center;
    align-items: center;
    max-width: 100%;
    margin: 0 auto;
    position: relative;
  }

  .about-onoe-group,
  .about-onoe-main {
    position: relative;
    width: 100%;
    max-width: 450px;
    margin: 0 auto;
    transform: none;
    top: auto;
    left: auto;
    right: auto;
  }

  .about-onoe-group {
    order: 1;
  }

  .about-onoe-main {
    order: 2;
  }

  .about-onoe-slab {
    top: -15px;
    left: 15px;
  }

  .about-onoe-main::before {
    top: -8px;
    right: -8px;
  }
}

/* =========================
   RESPONSIVE – MOBILE (below 576px)
========================= */
@media (max-width: 576px) {
  .about-onoe {
    padding: 3rem 0;
  }

  .about-onoe-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding: 0 1rem;
  }

  .about-onoe-text {
    text-align: left;
  }

  .about-onoe-text h2 {
    font-size: clamp(24px, 6vw, 28px);
    margin-bottom: 1.5rem;
    line-height: 1.3;
    text-align: center;
  }

  .about-onoe-text .underline {
    font-size: clamp(22px, 5.8vw, 26px);
    display: inline-block;
  }

  .about-onoe-text p {
    font-size: 15px;
    line-height: 1.75;
    margin-bottom: 1.25rem;
    text-align: left;
  }

  .about-onoe-visual {
    height: auto;
    flex-direction: column;
    gap: 2rem;
    justify-content: center;
    align-items: center;
    position: relative;
    max-width: 100%;
  }

  .about-onoe-group,
  .about-onoe-main {
    position: relative;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    transform: none;
    top: auto;
    left: auto;
    right: auto;
  }

  .about-onoe-group {
    order: 1;
  }

  .about-onoe-main {
    order: 2;
  }

  .about-onoe-group img,
  .about-onoe-main img {
    width: 100%;
    height: auto;
    display: block;
  }

  .about-onoe-slab {
    top: -12px;
    left: 12px;
  }

  .about-onoe-main::before {
    top: -8px;
    right: -8px;
  }
}

/* =========================
   RESPONSIVE – EXTRA SMALL MOBILE (400px and below)
========================= */
@media (max-width: 400px) {
  .about-onoe {
    padding: 2.5rem 0;
  }

  .about-onoe-grid {
    gap: 2rem;
    padding: 0 0.875rem;
  }

  .about-onoe-text h2 {
    font-size: 22px;
    margin-bottom: 1.25rem;
  }

  .about-onoe-text .underline {
    font-size: 20px;
  }

  .about-onoe-text p {
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 1.1rem;
  }

  .about-onoe-visual {
    gap: 1.5rem;
  }

  .about-onoe-slab {
    top: -10px;
    left: 10px;
  }

  .about-onoe-main::before {
    top: -6px;
    right: -6px;
  }
}

/* =========================
   CONTAINER UTILITY (if not already defined)
========================= */
.container-custom {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

@media (max-width: 768px) {
  .container-custom {
    padding: 0 1.5rem;
  }
}

@media (max-width: 576px) {
  .container-custom {
    padding: 0 1rem;
  }
}

/* =========================
   IMPORTANT LINKS (EXACT MATCH)
========================= */
.important-links {
  max-width: 900px;
  margin: 0 auto;
  margin-bottom: 50px;
  background: #ffffff;
}

/* Header - Maroon with Orange Bottom Border */
.important-links-header {
  background: linear-gradient(to bottom, #a52a44 0%, #8b1e3a 100%);
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 1rem 1.8rem;
  position: relative;
  border-bottom: 4px solid #e67e22;
}

.important-links-header h2 {
  color: #ffffff;
  font-family: 'Georgia', 'Times New Roman', serif;
  font-size: 24px;
  font-weight: 700;
  margin: 0;
  letter-spacing: 0.5px;
}

/* List - Light Pink Background */
.important-links-list {
  list-style: none;
  padding: 1.5rem 1.8rem 1.5rem;
  margin: 0;
  background: #fef5f1;
}

.important-links-list li {
  margin-bottom: 1rem;
  padding-left: 0;
}

.important-links-list li:last-child {
  margin-bottom: 0;
}

/* Link */
.important-links-list a {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  font-weight: 500;
  color: #000000;
  text-decoration: none;
  line-height: 1.6;
  transition: all 0.2s ease;
}

/* Arrow - Red */
.important-links-list .arrow {
  color: #d32f2f;
  font-weight: 700;
  flex-shrink: 0;
  font-size: 16px;
  text-decoration: none;
  margin-top: 2px;
}

/* underline ONLY text */
.important-links-list .link-text {
  text-decoration: underline;
  text-decoration-color: #000000;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}

.important-links-list a:hover .link-text {
  color: #d32f2f;
  text-decoration-color: #d32f2f;
}

.important-links-list a:hover .arrow {
  transform: translateX(3px);
}

/* =========================
   RESPONSIVE MEDIA QUERIES
========================= */

/* Tablets and smaller desktops */
@media (max-width: 768px) {
  .important-links {
    margin: 0 1rem;
  }

  .important-links-header {
    padding: 0.9rem 1.5rem;
    border-bottom-width: 3px;
  }

  .important-links-header h2 {
    font-size: 21px;
  }

  .important-links-list {
    padding: 1.3rem 1.5rem;
  }

  .important-links-list a {
    font-size: 14px;
    gap: 10px;
  }

  .important-links-list .arrow {
    font-size: 15px;
  }
}

/* Mobile devices */
@media (max-width: 480px) {
  .important-links {
    margin: 0 0.5rem;
  }

  .important-links-header {
    padding: 0.8rem 1.2rem;
    border-bottom-width: 3px;
  }

  .important-links-header h2 {
    font-size: 18px;
    letter-spacing: 0.3px;
  }

  .important-links-list {
    padding: 1.2rem 1.2rem;
  }

  .important-links-list li {
    margin-bottom: 1.1rem;
  }

  .important-links-list a {
    font-size: 13px;
    gap: 8px;
    line-height: 1.5;
  }

  .important-links-list .arrow {
    font-size: 14px;
    margin-top: 1px;
  }

  .important-links-list .link-text {
    text-underline-offset: 2px;
  }
}

/* Extra small devices */
@media (max-width: 360px) {
  .important-links-header {
    padding: 0.7rem 1rem;
  }

  .important-links-header h2 {
    font-size: 16px;
  }

  .important-links-list {
    padding: 1rem;
  }

  .important-links-list a {
    font-size: 12px;
  }
}




/* =========================
   ORBITAL IMAGE CAROUSEL
========================= */
.orbital-carousel {
  width: 100%;
  overflow: hidden;
  padding: 2rem 0;
  background: #fff;
}

/* Moving track */
.orbital-track {
  display: flex;
  gap: 28px;
  width: max-content;
  animation: orbit-scroll 30s linear infinite;
}

/* Pause on hover */
.orbital-carousel:hover .orbital-track {
  animation-play-state: paused;
}

/* Items */
.orbital-item {
  height: 220px;
  flex-shrink: 0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 12px 35px rgba(0,0,0,0.12);
  background: #eee;
}

/* Different widths */
.orbital-item img {
  height: 100%;
  width: auto;
  display: block;
  object-fit: cover;
}

/* Variants */
.orbital-item.wide img {
  width: 360px;
}

.orbital-item:not(.wide) img {
  width: 260px;
}

/* Subtle orbital effect */
.orbital-item {
  transform-origin: center;
  transition: transform 0.4s ease;
}

.orbital-item:hover {
  transform: translateY(-8px) scale(1.03);
}

/* Infinite motion */
@keyframes orbit-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* =========================
   RESPONSIVE
========================= */
/* Tablet (768px - 992px) - Keep desktop sizes */
@media (max-width: 992px) and (min-width: 768px) {
  .orbital-item {
    height: 220px;
  }

  .orbital-item.wide img {
    width: 360px;
  }

  .orbital-item img {
    width: 260px;
  }
}

/* Mobile (below 768px) */
@media (max-width: 768px) {
  .orbital-item {
    height: 160px;
  }

  .orbital-item.wide img {
    width: 260px;
  }

  .orbital-item img {
    width: 200px;
  }
}


.orbital-item:nth-child(odd) {
  transform: translateY(6px);
}

.orbital-item:nth-child(even) {
  transform: translateY(-6px);
}
/* =========================
   NAVBAR LOGO SIZE CONTROL
========================= */

/* Large desktops */
.navbar-logo {
    height: 120px;     
    width: auto;
}

/* Laptops */
@media (max-width: 1200px) {
    .navbar-logo {
        height: 80px;
    }
}

/* Tablets */
@media (max-width: 992px) {
    .navbar-logo {
        height: 80px;
    }
}

/* Large mobiles */
@media (max-width: 768px) {
    .navbar-logo {
        height: 100px;
    }
}

/* Small mobiles */
@media (max-width: 480px) {
    .navbar-logo {
        height: 100px;
    }
}

/* =========================
   EVENT IMAGE CAROUSEL
========================= */
.event-image-carousel {
    position: relative;
    width: 100vw;                /* 🔥 FULL WIDTH */
    margin-left: calc(-50vw + 50%);
    overflow: hidden;
    background: #fff;
}

/* Track */
.event-image-track {
    position: relative;
    width: 100%;
}

/* Slides */
.event-image-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.event-image-slide.active {
    position: relative;
    opacity: 1;
}

/* Image */
.event-image-slide img {
    width: 100%;
    height: auto;
    max-height: 90vh;          /* 🔥 prevent insane height */
    object-fit: contain;       /* 🔥 NO CROPPING */
    display: block;
    margin: 0 auto;
}

/* =========================
   BOTTOM CONTROLS
========================= */
.event-carousel-controls {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin: 1.5rem 0 2rem;
}

.event-img-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid #f5a623;
    background: transparent;
    color: #f5a623;
    font-size: 22px;
    cursor: pointer;
}

.event-img-btn:hover {
    background: #f5a623;
    color: #fff;
}

/* =========================
   MOBILE
========================= */
@media (max-width: 768px) {
    .event-image-slide img {
        max-height: 70vh;
    }
}

@media (max-width: 480px) {
    .event-image-slide img {
        max-height: 65vh;
    }
}
/* Tablet - Keep desktop layout (2 columns) */
@media (max-width: 992px) and (min-width: 768px) {
  .featured-grid {
    display: grid !important;
    grid-template-columns: 1.3fr 1fr !important;
    gap: 2.5rem !important;
  }

  .featured-card,
  .featured-card-large {
    flex: unset;
  }

  .featured-image {
    height: auto;
  }

  .featured-image img {
    height: auto;
    aspect-ratio: auto;
  }

  .overlap-card {
    padding: 1.5rem !important;
    margin-top: -50px !important;
  }

  .overlap-card.small {
    margin-top: -40px !important;
  }

  .featured-side {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
  }
}

/* Mobile - Stack layout */
@media (max-width: 768px) {
  /* Stack main grid */
  .featured-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    flex-direction: column !important;
    gap: 3rem !important;
  }

  /* Remove height forcing */
  .featured-card,
  .featured-card-large {
    flex: unset !important;
  }

  /* Images behave naturally */
  .featured-image {
    height: auto !important;
  }

  .featured-image img {
    height: auto !important;
    aspect-ratio: 16 / 9;
  }

  /* Kill overlap on small screens */
  .overlap-card {
    margin-top: 0 !important;
  }

  /* Right side becomes normal stack */
  .featured-side {
    gap: 3rem;
  }
}
@media (max-width: 576px) {

  .featured-grid {
    gap: 2.5rem !important;
  }

  .featured-content h3 {
    font-size: 18px;
  }

  .featured-content p {
    font-size: 14px;
    line-height: 1.6;
  }
}




/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", sans-serif;
}

/* HEADER */
.site-header {
  position: relative;   /* normal document flow */
  width: 100%;
  background: #8b0d1d;
}


/* CONTAINER */
.header-container {
  max-width: 1600px;
  margin: 0 auto;
  padding: clamp(16px, 3vw, 28px) clamp(20px, 4vw, 80px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(12px, 2vw, 32px);
  flex-wrap: nowrap;
}

/* BRAND */
.brand-block {
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  flex-shrink: 1;
  min-width: 0;
}

.brand-logo {
  height: 140px;
  width: auto;
  flex-shrink: 0;
}

.brand-text {
  white-space: nowrap;
  min-width: 0;
  flex-shrink: 1;
}

.brand-text h1 {
  font-size: clamp(18px, 2.4vw, 28px);
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.2;
  margin: 0;
}

.brand-text p {
  font-size: clamp(12px, 1.4vw, 15px);
  color: #f2d6d6;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.2;
  margin: 0;
}

/* DESKTOP NAV */
.primary-nav {
  display: flex;
  gap: clamp(12px, 1.5vw, 32px);
  align-items: center;
  flex-shrink: 0;
  white-space: nowrap;
}

.primary-nav a {
  color: #fff;
  text-decoration: none;
  font-size: clamp(11px, 1.2vw, 15px);
  position: relative;
  white-space: nowrap;
  flex-shrink: 0;
}

.primary-nav a::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 0;
  height: 2px;
  background: #e0b04c;
  transition: width 0.3s ease;
}

.primary-nav a:hover::after,
.nav-active::after {
  width: 100%;
}

/* HAMBURGER */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 34px;
  height: 24px;
  background: none;
  border: none;
  cursor: pointer;
}

.menu-toggle span {
  height: 3px;
  width: 100%;
  background: #fff;
  border-radius: 2px;
}

/* SIDEBAR */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: -320px;
  width: 300px;
  height: 100vh;
  background: #7c0c1a;
  padding: 24px;
  transition: right 0.35s ease;
  z-index: 1200;
}

.mobile-drawer.active {
  right: 0;
}

.drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  color: #fff;
}

.drawer-header h3 {
  font-size: 20px;
}

.drawer-header span {
  font-size: 13px;
  color: #e0c0c0;
}

.drawer-close {
  font-size: 28px;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
}

.drawer-nav {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.drawer-nav a {
  color: #fff;
  text-decoration: none;
  font-size: 16px;
}

/* OVERLAY */
.drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 1100;
}

.drawer-overlay.active {
  opacity: 1;
  pointer-events: all;
}

/* BRAND DIVIDER */
.brand-divider {
  width: 2px;
  height: clamp(32px, 4vw, 42px);
  background-color: #e0b04c; /* yellow line */
  flex-shrink: 0;
}

/* RESPONSIVE - LARGE DESKTOP (1400px+) */
@media (min-width: 1400px) {
  .brand-logo {
    height: 140px;
  }
  
  .primary-nav {
    gap: 32px;
  }
}

/* RESPONSIVE - DESKTOP (1200px - 1400px) */
@media (max-width: 1400px) {
  .brand-logo {
    height: clamp(100px, 8vw, 120px);
  }
  
  .header-container {
    gap: 24px;
  }
  
  .primary-nav {
    gap: clamp(16px, 1.8vw, 28px);
  }
}

/* RESPONSIVE - TABLET LANDSCAPE (1024px - 1200px) */
@media (max-width: 1200px) {
  .brand-logo {
    height: clamp(80px, 7vw, 100px);
  }
  
  .brand-text h1 {
    font-size: clamp(16px, 2vw, 22px);
  }
  
  .brand-text p {
    font-size: clamp(11px, 1.3vw, 14px);
  }
  
  .primary-nav a {
    font-size: clamp(12px, 1.3vw, 14px);
  }
  
  .header-container {
    gap: 20px;
    padding-left: clamp(20px, 3vw, 40px);
    padding-right: clamp(20px, 3vw, 40px);
  }
}

/* RESPONSIVE - TABLET PORTRAIT (768px - 1024px) */
@media (max-width: 1024px) and (min-width: 769px) {
  .brand-logo {
    height: clamp(80px, 7vw, 100px);
  }
  
  /* Slightly smaller brand text so full title fits on one line */
  .brand-text h1 {
    font-size: clamp(15px, 1.9vw, 21px);
  }
  
  .brand-text p {
    font-size: clamp(11px, 1.3vw, 14px);
  }
  
  /* Give more horizontal room by tightening padding and nav spacing */
  .brand-divider {
    display: block;
    width: 2px;
    height: clamp(32px, 4vw, 40px);
  }
  
  .header-container {
    gap: clamp(12px, 1.8vw, 20px);
    padding: clamp(14px, 2.2vw, 20px) clamp(16px, 2.5vw, 32px);
  }

  .primary-nav {
    display: flex;
    gap: clamp(10px, 1.5vw, 20px);
    flex-shrink: 1; /* allow links to compress a bit so brand text can stay fully visible */
  }

  .primary-nav a {
    font-size: clamp(12px, 1.4vw, 15px);
  }
}

/* RESPONSIVE - MOBILE (below 768px) - Show hamburger */
@media (max-width: 768px) {
  .primary-nav {
    display: none;
  }

  .menu-toggle {
    display: flex;
    width: 30px;
    height: 22px;
  }
  
  .menu-toggle span {
    height: 2.5px;
  }

  .header-container {
    padding: clamp(12px, 2vw, 20px) clamp(16px, 3vw, 24px);
    gap: 12px;
  }
  
  .brand-logo {
    height: clamp(60px, 5vw, 80px);
  }
  
  .brand-block {
    gap: 8px;
  }
  
  .brand-text h1 {
    font-size: clamp(13px, 1.6vw, 18px);
  }
  
  .brand-text p {
    font-size: clamp(9px, 1.1vw, 12px);
  }
}

/* RESPONSIVE - MOBILE (480px - 600px) */
@media (max-width: 600px) {
  .header-container {
    padding: 12px 16px;
    gap: 10px;
  }

  .brand-block {
    gap: 6px;
    align-items: center;
  }

  .brand-logo {
    height: clamp(50px, 4vw, 70px);
  }

  .brand-text h1 {
    font-size: clamp(12px, 1.4vw, 16px);
    line-height: 1.1;
  }

  .brand-text p {
    font-size: clamp(8px, 1vw, 11px);
    line-height: 1.1;
  }

  .menu-toggle {
    width: 28px;
    height: 20px;
  }

  .menu-toggle span {
    height: 2px;
  }
}

/* RESPONSIVE - MOBILE SMALL (below 480px) */
@media (max-width: 480px) {
  .header-container {
    padding: 10px 12px;
    gap: 8px;
  }
  
  .brand-logo {
    height: clamp(45px, 3.5vw, 60px);
  }
  
  .brand-block {
    gap: 5px;
  }
  
  .brand-text h1 {
    font-size: clamp(11px, 1.2vw, 14px);
  }
  
  .brand-text p {
    font-size: clamp(7px, 0.9vw, 10px);
  }
  
  .menu-toggle {
    width: 26px;
    height: 18px;
  }
}

/* =========================
   COMPREHENSIVE MOBILE & TABLET IMPROVEMENTS
   (Desktop views remain unchanged)
========================= */

/* =========================
   DUAL CAROUSEL - TABLET & MOBILE
========================= */
@media (max-width: 992px) {
  .dual-text-carousel {
    padding: 40px 20px 40px;
  }

  .dual-text-slide h2 {
    font-size: clamp(24px, 5vw, 36px);
    line-height: 1.3;
    margin-bottom: 12px;
  }

  .dual-text-slide p {
    font-size: 15px;
    line-height: 1.7;
    max-width: 100%;
    padding: 0 1rem;
  }

  .dual-arrow {
    width: 36px;
    height: 36px;
    font-size: 18px;
  }

  .dual-prev {
    left: 5px;
  }

  .dual-next {
    right: 5px;
  }

  .dual-image-carousel {
    height: clamp(280px, 50vh, 420px);
  }
}

@media (max-width: 576px) {
  .dual-text-carousel {
    padding: 30px 15px 30px;
  }

  .dual-text-slide h2 {
    font-size: clamp(20px, 6vw, 28px);
    margin-bottom: 10px;
  }

  .dual-text-slide p {
    font-size: 14px;
    padding: 0 0.5rem;
    line-height: 1.7;
  }

  .dual-arrow {
    width: 32px;
    height: 32px;
    font-size: 16px;
  }

  .dual-image-carousel {
    height: clamp(250px, 45vh, 350px);
  }
}

/* =========================
   QUICK LINKS - TABLET & MOBILE
========================= */
/* Tablet: Keep 3 columns in same line */
@media (max-width: 992px) and (min-width: 769px) {
  .quick-links-full {
    grid-template-columns: repeat(3, 1fr);
  }

  .quick-card {
    min-height: 200px;
    padding: 2rem 1.5rem;
  }

  .quick-card h3 {
    font-size: clamp(22px, 2.5vw, 28px);
  }

  .quick-card p {
    font-size: 14px;
  }

  .quick-icon-img {
    width: 36px;
    height: 36px;
  }
}

/* Small tablets: 2 columns */
@media (max-width: 768px) and (min-width: 577px) {
  .quick-links-full {
    grid-template-columns: repeat(2, 1fr);
  }

  .quick-card {
    min-height: 200px;
    padding: 2rem 1.5rem;
  }

  .quick-card h3 {
    font-size: clamp(24px, 3vw, 28px);
  }

  .quick-card p {
    font-size: 15px;
  }

  .quick-icon-img {
    width: 38px;
    height: 38px;
  }
}

@media (max-width: 576px) {
  .quick-links-full {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .quick-card {
    padding: 2rem 1.5rem;
    min-height: 180px;
  }

  .quick-card h3 {
    font-size: clamp(22px, 5vw, 26px);
  }

  .quick-card p {
    font-size: 14px;
  }

  .quick-card-title {
    gap: 10px;
    margin-bottom: 0.6rem;
  }

  .quick-icon-img {
    width: 32px;
    height: 32px;
    margin-bottom: 0.8rem;
  }
}

/* =========================
   MISSION SECTION - TABLET & MOBILE
========================= */
/* Tablet - Keep desktop layout (2 columns) */
@media (max-width: 992px) and (min-width: 768px) {
  .mission-section {
    padding: var(--space-xl) 0;
  }

  .mission-grid {
    grid-template-columns: 1fr 1fr;
  }

  .mission-content {
    padding: 3.5rem;
  }

  .mission-content h2 {
    font-size: clamp(32px, 4vw, 36px);
  }

  .mission-content p {
    font-size: 15px;
    line-height: 1.7;
  }

  .mission-arrows {
    margin-top: 1.8rem;
    gap: 14px;
  }

  .mission-arrows button {
    width: 44px;
    height: 44px;
    font-size: 22px;
  }
}

/* Mobile - Stack layout */
@media (max-width: 768px) {
  .mission-section {
    padding: 3.5rem 0;
  }

  .mission-grid {
    grid-template-columns: 1fr;
  }

  .mission-content {
    padding: 2.5rem 2rem;
  }

  .mission-content h2 {
    font-size: clamp(28px, 4vw, 32px);
  }

  .mission-content p {
    font-size: 15px;
    line-height: 1.7;
  }

  .mission-arrows {
    margin-top: 1.5rem;
    gap: 12px;
  }

  .mission-arrows button {
    width: 40px;
    height: 40px;
    font-size: 20px;
  }
}

@media (max-width: 576px) {
  .mission-section {
    padding: 2.5rem 0;
  }

  .mission-content {
    padding: 2rem 1.5rem;
  }

  .mission-content h2 {
    font-size: 24px;
    margin-bottom: 0.8rem;
  }

  .mission-divider {
    width: 80px;
    margin: 0.8rem 0 1.2rem;
  }

  .mission-content p {
    font-size: 14px;
    line-height: 1.7;
  }

  .mission-arrows {
    margin-top: 1.2rem;
  }

  .mission-arrows button {
    width: 36px;
    height: 36px;
    font-size: 18px;
  }
}

/* =========================
   IMPORTANT LINKS - TABLET & MOBILE
========================= */
@media (max-width: 992px) {
  .important-links {
    margin: 0 clamp(1rem, 3vw, 2rem) 40px;
  }

  .important-links-header {
    padding: 1rem clamp(1.2rem, 3vw, 1.8rem);
  }

  .important-links-header h2 {
    font-size: clamp(20px, 3vw, 24px);
  }

  .important-links-list {
    padding: 1.3rem clamp(1.2rem, 3vw, 1.8rem);
  }

  .important-links-list a {
    font-size: clamp(14px, 2vw, 16px);
    gap: 10px;
  }
}

@media (max-width: 576px) {
  .important-links {
    margin: 0 0.75rem 30px;
  }

  .important-links-header {
    padding: 0.9rem 1.2rem;
    flex-wrap: wrap;
    gap: 8px;
  }

  .important-links-header img {
    width: 32px;
  }

  .important-links-header h2 {
    font-size: 18px;
  }

  .important-links-list {
    padding: 1.2rem 1.2rem;
  }

  .important-links-list li {
    margin-bottom: 1rem;
  }

  .important-links-list a {
    font-size: 13px;
    gap: 8px;
    line-height: 1.5;
  }

  .important-links-list .arrow {
    font-size: 14px;
  }
}

/* =========================
   FEATURED RESEARCH - TABLET & MOBILE
========================= */
/* Tablet - Keep desktop layout (2 columns) */
@media (max-width: 992px) and (min-width: 768px) {
  .featured-research {
    padding: 4rem 0;
  }

  .featured-header-bar {
    padding: 18px 0;
  }

  .featured-title {
    font-size: clamp(28px, 4vw, 32px);
    padding: 0 clamp(24px, 4vw, 46px);
  }

  .header-sub {
    font-size: clamp(14px, 1.8vw, 16px);
  }

  .featured-intro {
    font-size: 14px;
    margin-top: 1rem;
  }

  .featured-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 2.5rem;
    margin-top: 3rem;
  }

  .overlap-card {
    padding: 1.5rem;
    margin-top: -50px;
    max-width: 90%;
  }

  .overlap-card.small {
    margin-top: -40px;
    max-width: 92%;
  }

  .featured-content h3 {
    font-size: clamp(20px, 2.5vw, 22px);
  }

  .featured-content p {
    font-size: 14px;
  }

  .featured-side {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
  }
}

/* Mobile - Stack layout */
@media (max-width: 768px) {
  .featured-research {
    padding: 3rem 0;
  }

  .featured-header-bar {
    padding: 16px 0;
  }

  .featured-title {
    font-size: clamp(26px, 4vw, 32px);
    padding: 0 clamp(24px, 4vw, 46px);
    flex-wrap: wrap;
  }

  .header-sub {
    font-size: clamp(13px, 1.8vw, 15px);
  }

  .featured-intro {
    font-size: 14px;
    margin-top: 0.8rem;
  }

  .featured-grid {
    gap: 2rem;
    margin-top: 2rem;
  }

  .overlap-card {
    padding: 1.75rem;
    margin-top: -40px;
  }

  .featured-content h3 {
    font-size: clamp(20px, 3vw, 22px);
  }

  .featured-content p {
    font-size: 14px;
  }
}

@media (max-width: 576px) {
  .featured-research {
    padding: 2.5rem 0;
  }

  .featured-header-bar {
    padding: 14px 0;
  }

  .featured-title {
    font-size: 22px;
    padding: 0 20px;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .header-divider {
    display: none;
  }

  .header-sub {
    font-size: 13px;
    white-space: normal;
  }

  .featured-intro {
    font-size: 13px;
    margin-top: 0.6rem;
  }

  .featured-grid {
    gap: 1.5rem;
    margin-top: 1.5rem;
  }

  .overlap-card,
  .overlap-card.small {
    margin-top: 0;
    padding: 1.5rem;
    max-width: 100%;
  }

  .featured-content h3 {
    font-size: 18px;
    margin-bottom: 0.5rem;
  }

  .featured-content .meta {
    font-size: 12px;
    margin-bottom: 0.8rem;
  }

  .featured-content p {
    font-size: 13px;
    line-height: 1.7;
  }

  .read-more {
    font-size: 13px;
    margin-top: 0.8rem;
  }
}

/* =========================
   VIDEO CAROUSEL - TABLET & MOBILE
========================= */
@media (max-width: 992px) {
  .featured-top-bar {
    padding: 0.7rem 0;
    font-size: 0.8rem;
  }

  .featured-background {
    height: 300px;
  }

  .featured-heading h2 {
    font-size: clamp(24px, 4vw, 32px);
  }

  .featured-video-wrapper {
    margin-top: -80px;
    padding-bottom: 3rem;
  }

  .featured-video-carousel {
    padding: 10px;
  }

  .video-carousel-controls {
    gap: 12px;
    margin-top: 1.2rem;
  }

  .video-carousel-controls button {
    width: 38px;
    height: 38px;
    font-size: 1.1rem;
  }
}

@media (max-width: 576px) {
  .featured-top-bar {
    padding: 0.6rem 0;
    font-size: 0.8rem;
  }

  .featured-background {
    height: 250px;
  }

  .featured-heading h2 {
    font-size: 20px;
    margin-bottom: 0.8rem;
  }

  .featured-heading span {
    width: 60px;
  }

  .featured-video-wrapper {
    margin-top: -60px;
    padding-bottom: 2.5rem;
  }

  .featured-video-carousel {
    padding: 8px;
  }

  .play-btn {
    width: 56px;
    height: 56px;
    font-size: 20px;
  }

  .video-carousel-controls {
    gap: 10px;
    margin-top: 1rem;
  }

  .video-carousel-controls button {
    width: 36px;
    height: 36px;
    font-size: 1rem;
  }
}

/* =========================
   UPCOMING ACTIVITIES - MOBILE (below 768px)
========================= */
@media (max-width: 768px) {
  .upcoming-activities {
    padding: 3.5rem 0;
  }

  .activities-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 2rem;
  }

  .activity-tabs {
    width: 100%;
    justify-content: flex-start;
  }

  .tab-btn {
    padding: 6px 12px;
    font-size: 14px;
  }

  .activities-title-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
  }

  .main-activity-title {
    font-size: clamp(24px, 4vw, 28px);
    max-width: 100%;
  }

  .view-more-btn {
    padding: 6px 12px;
    font-size: 14px;
  }

  .activities-layout {
    grid-template-columns: 1fr; /* Stack on mobile */
    gap: 2.5rem;
  }

  .activities-right {
    max-height: none;
    overflow: visible;
    padding-right: 0;
  }

  .activities-left p {
    font-size: 14px;
  }

  .activity-item {
    gap: 12px;
    margin-bottom: 18px;
  }

  .activity-date {
    width: 100px;
    height: 100px;
    font-size: 14px;
  }

  .activity-item h4 {
    font-size: 14px;
  }

  .activity-item a {
    font-size: 13px;
  }
}

@media (max-width: 576px) {
  .upcoming-activities {
    padding: 2.5rem 0;
  }

  .activities-header {
    gap: 1.2rem;
    margin-bottom: 1.5rem;
  }

  .activities-header h2 {
    font-size: 22px;
  }

  .title-underline {
    width: 80px;
    height: 2px;
  }

  .activity-tabs {
    gap: 8px;
  }

  .tab-btn {
    padding: 5px 10px;
    font-size: 13px;
  }

  .main-activity-title {
    font-size: 20px;
  }

  .view-more-btn {
    width: 100%;
    padding: 8px;
    text-align: center;
    font-size: 13px;
  }

  .activities-layout {
    gap: 2rem;
  }

  .activities-left img {
    margin-bottom: 10px;
  }

  .latest-badge {
    font-size: 13px;
    margin-bottom: 0.8rem;
  }

  .activities-left p {
    font-size: 13px;
    line-height: 1.7;
  }

  .activity-item {
    gap: 10px;
    margin-bottom: 16px;
  }

  .activity-date {
    width: 90px;
    height: 90px;
    font-size: 13px;
  }

  .activity-item h4 {
    font-size: 13px;
    margin-bottom: 4px;
  }

  .activity-item a {
    font-size: 12px;
  }
}

/* =========================
   DISCLAIMER SECTION - TABLET & MOBILE
========================= */
@media (max-width: 992px) {
  .disclaimer-section {
    padding: 4rem 0;
  }

  .disclaimer-heading {
    margin-bottom: 2.5rem;
    gap: 12px;
  }

  .disclaimer-heading img {
    width: 36px;
  }

  .disclaimer-heading h2 {
    font-size: clamp(26px, 4vw, 30px);
  }

  .floating-card {
    padding: 1.5rem;
  }

  .floating-card h4 {
    font-size: 14px;
    margin-bottom: 0.6rem;
  }

  .floating-card p,
  .floating-card li {
    font-size: 14px;
    line-height: 1.7;
  }

  .image-stack {
    width: 100%;
    max-width: 380px;
  }

  .image-backdrop {
    top: -20px;
    right: -20px;
  }
}

@media (max-width: 576px) {
  .disclaimer-section {
    padding: 3rem 0;
  }

  .disclaimer-heading {
    margin-bottom: 2rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .disclaimer-heading img {
    width: 32px;
  }

  .disclaimer-heading h2 {
    font-size: 22px;
  }

  .disclaimer-layout {
    gap: 2rem;
  }

  .floating-card {
    padding: 1.3rem;
  }

  .floating-card h4 {
    font-size: 13px;
    margin-bottom: 0.5rem;
  }

  .floating-card p,
  .floating-card li {
    font-size: 13px;
    line-height: 1.65;
  }

  .objectives-card ul {
    padding-left: 1rem;
  }

  .image-stack {
    max-width: 100%;
  }

  .image-backdrop {
    display: none;
  }
}

/* =========================
   EVENT IMAGE CAROUSEL - TABLET & MOBILE
========================= */
@media (max-width: 992px) {
  .event-carousel-controls {
    margin: 1.2rem 0 1.5rem;
    gap: 12px;
  }

  .event-img-btn {
    width: 40px;
    height: 40px;
    font-size: 20px;
  }
}

@media (max-width: 576px) {
  .event-carousel-controls {
    margin: 1rem 0 1.2rem;
    gap: 10px;
  }

  .event-img-btn {
    width: 36px;
    height: 36px;
    font-size: 18px;
  }
}
