:root {
    /* Colors extracted from reference site */
    --clr-bg-main: #f5f2ed;
    /* The off-white main background */
    --clr-brand-orange-main: #1e2666;
    /* Vibrant brand blue */
    --clr-brand-orange-light: #ffffff;
    /* Lighter accent (white) */
    --clr-text-dark: #3a3836;
    /* Dark brown/grey text */
    --clr-text-mid: #5e5a56;
    --clr-white: #ffffff;

    /* Typography */
    --font-heading: 'Roboto Serif', serif;
    --font-body: 'Roboto', sans-serif;

    /* Animation timing */
    --anim-duration: 0.6s;
    --anim-curve: cubic-bezier(0.16, 1, 0.3, 1);
    /* Emulates spring feel */
}

/* =========================================
   Reset & Base Styles
   ========================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    background-color: var(--clr-bg-main);
    color: var(--clr-text-dark);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 500;
    line-height: 1.1;
    letter-spacing: -0.01em;
}

/* =========================================
   Layout & Reusable Utilities
   ========================================= */
main {
    background-color: var(--clr-bg-main);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0;
    width: 100%;
}

.section-padding {
    padding-top: 6rem;
    padding-bottom: 6rem;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

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

.text-center .section-title,
.text-center .section-subtitle {
    margin-left: auto;
    margin-right: auto;
}

.mb-5 {
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2.75rem;
    color: var(--clr-text-dark);
    margin-bottom: 1rem;
}

/* Tag style (e.g. Unique Benefits) */
.tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.25rem 0.75rem;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.tag-small {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.2rem 0.6rem;
    background-color: #eee9e0;
    border-radius: 2px;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--clr-text-mid);
}

.dot {
    width: 6px;
    height: 6px;
    background-color: var(--clr-brand-orange-main);
    border-radius: 50%;
    display: inline-block;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    font-weight: 500;
    border-radius: 2px;
    transition: transform 0.2s ease, opacity 0.2s ease;
    cursor: pointer;
}

.btn:hover {
    transform: scale(1.02);
}

.btn-primary {
    background-color: var(--clr-brand-orange-light);
    color: var(--clr-text-dark);
}

.btn-primary-alt {
    background-color: #C1175C;
    color: var(--clr-white);
    padding: 1.5rem 3rem;
    font-size: 1.25rem;
}

.btn-secondary {
    background-color: transparent;
    color: var(--clr-text-dark);
    padding: 1.5rem 3rem;
    font-size: 1.25rem;
}

.btn-text {
    font-weight: 500;
    position: relative;
}

/* =========================================
   Layout Utilities
   ========================================= */
.split-50 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
    gap: 0;
    margin: 0;
    padding: 0;
}

/* =========================================
   Animations
   ========================================= */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity var(--anim-duration) var(--anim-curve),
        transform var(--anim-duration) var(--anim-curve);
    transition-delay: var(--delay, 0s);
}

.fade-in {
    opacity: 0;
    transition: opacity var(--anim-duration) ease;
}

.is-visible {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* =========================================
   Header Nav (Not explicitly in main screenshot but inferred)
   ========================================= */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1rem 2rem;
    display: flex;
    justify-content: center;
    z-index: 100;
}

.nav-container {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 1rem 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.nav-links a {
    margin: 0 1rem;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--clr-brand-orange-main);
}

.logo-text {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.2rem;
}

/* =========================================
   1. Header
   ========================================= */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 4rem;
    background-color: transparent;
    transition: background-color 0.3s ease, padding 0.3s ease, box-shadow 0.3s ease;
}

.site-header.scrolled,
body.test-in-progress .site-header {
    background-color: var(--clr-brand-orange-main);
    padding: 1rem 4rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.site-header .logo-container img {
    height: 60px;
    width: auto;
}

.site-nav {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.site-nav a {
    color: var(--clr-white);
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    padding: 0.5rem 0;
    width: 130px;
    text-align: center;
    border-radius: 0;
    display: inline-block;
}

.site-nav a:hover {
    background-color: #e69130;
    color: var(--clr-white);
}

.nav-lang {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    width: 130px;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 0;
    padding: 0.5rem 0;
    color: var(--clr-white);
}

.site-nav a.nav-lang {
    display: inline-flex;
}

.nav-lang svg {
    color: var(--clr-white);
    flex-shrink: 0;
}

.nav-lang:hover {
    background-color: #e69130;
}

.nav-cta {
    background: #C1175C !important;
    padding: 0.6rem 1.5rem !important;
    border-radius: 4px !important;
    width: auto !important;
    font-weight: 600 !important;
}

.nav-cta:hover {
    background: #9f134c !important;
}

/* =========================================
   Navigation Dropdown Menu (Premium Glassmorphic Mega Menu)
   ========================================= */
.nav-dropdown-wrapper {
    position: relative;
    display: inline-block;
}

.site-nav .dropdown-trigger {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
}

.site-nav .chevron-icon {
    transition: transform 0.3s ease;
    flex-shrink: 0;
    margin-top: 1px;
}

.nav-dropdown-wrapper:hover .chevron-icon {
    transform: rotate(180deg);
}

.nav-dropdown {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(15px);
    background: rgba(30, 38, 102, 0.78);
    /* High translucency Navy Blue */
    backdrop-filter: blur(25px) saturate(180%);
    -webkit-backdrop-filter: blur(25px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    padding: 1.5rem;
    width: 680px;
    /* Mega dropdown width */
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
        visibility 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1001;
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 1.5rem;
}

.nav-dropdown-wrapper:hover .nav-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-links-col {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.dropdown-item {
    display: block;
    width: 100%;
}

.dropdown-item a {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    text-align: left !important;
    width: 100% !important;
    padding: 1rem 1.25rem !important;
    border-radius: 10px !important;
    transition: background-color 0.3s ease, transform 0.2s ease !important;
    color: var(--clr-white) !important;
    background-color: transparent !important;
}

.dropdown-item a:hover {
    background-color: rgba(255, 255, 255, 0.08) !important;
    transform: translateX(4px) !important;
}

.dropdown-item .item-title {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    color: #fca33d;
    /* Beautiful orange/gold highlight color */
    margin-bottom: 0.35rem;
    display: block;
}

.dropdown-item .item-desc {
    font-size: 0.82rem;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.75);
    font-weight: 400;
    white-space: normal;
    display: block;
}

/* Dropdown Preview Column */
.dropdown-preview-col {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.preview-img-container {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 180px;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.preview-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transform: scale(1.08);
    transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.preview-img.img-default {
    opacity: 1;
    transform: scale(1);
}

/* Interactive Image Previews using CSS sibling queries */
.nav-dropdown:has(.opt-analyse:hover) .preview-img.img-analyse {
    opacity: 1;
    transform: scale(1);
    z-index: 2;
}

.nav-dropdown:has(.opt-analyse:hover) .preview-img.img-default {
    opacity: 0;
}

.nav-dropdown:has(.opt-test:hover) .preview-img.img-test {
    opacity: 1;
    transform: scale(1);
    z-index: 2;
}

.nav-dropdown:has(.opt-test:hover) .preview-img.img-default {
    opacity: 0;
}


.header-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.header-actions .search-icon {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--clr-white);
}

.mobile-menu-btn {
    display: none;
    color: var(--clr-white);
}

/* =========================================
   2. Hero Section (Reworked)
   ========================================= */
.hero-section {
    width: 100%;
    padding: 0;
    background-color: var(--clr-bg-main);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-image-wrapper {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 700px;
    overflow: hidden;
    margin-bottom: 3rem;
    transition: height 0.45s cubic-bezier(0.16, 1, 0.3, 1),
        min-height 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes heroFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

.hero-image-wrapper.fade-up {
    opacity: 0;
    animation: heroFadeIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-image-wrapper.hero-secondary {
    height: 70vh;
    min-height: 580px;
    margin-bottom: 3rem;
}

.hero-image-wrapper img.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
    /* Keep student faces visible and prevent cut-off heads */
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.85));
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 4rem;
    transition: padding-bottom 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-image-wrapper.dropdown-open:not(.hero-secondary) {
    height: 112vh;
    min-height: 900px;
}

.hero-image-wrapper.dropdown-open:not(.hero-secondary) .hero-overlay {
    padding-bottom: 14rem;
}

.hero-layout {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    gap: 3rem;
}

.hero-text-area {
    max-width: 75%;
    flex-shrink: 0;
}

/* Hero Gadgets */
.hero-gadgets {
    display: none !important;
    /* Temporarily hidden until real numbers are provided */
    flex-direction: column;
    gap: 1.25rem;
    flex-shrink: 0;
}

.gadget-card {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    padding: 1.25rem 1.75rem;
    display: flex;
    align-items: center;
    gap: 1.25rem;
    min-width: 260px;
    transition: transform 0.3s ease, background 0.3s ease;
}

.gadget-card:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.18);
}

.gadget-icon {
    color: #fca33d;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    flex-shrink: 0;
}

.gadget-info {
    display: flex;
    flex-direction: column;
}

.gadget-number {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.2;
}

.gadget-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 400;
}

@media (max-width: 1100px) {
    .hero-layout {
        flex-direction: column;
        align-items: flex-start;
        gap: 2rem;
    }

    .hero-gadgets {
        flex-direction: row;
        flex-wrap: wrap;
        width: 100%;
    }

    .gadget-card {
        flex: 1;
        min-width: 200px;
    }
}

@media (max-width: 768px) {
    .hero-overlay {
        padding: 2rem;
    }

    .hero-gadgets {
        flex-direction: column;
    }

    .gadget-card {
        min-width: unset;
        width: 100%;
    }
}

.display-title {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--clr-white);
    font-family: var(--font-heading);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 500px;
}

.hero-actions .btn {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    border-radius: 0;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    width: 100%;
    max-width: 1400px;
    padding: 0 4rem 4rem 4rem;
}

.hero-stats h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.hero-stats p {
    font-size: 0.85rem;
    color: var(--clr-text-mid);
}

@media (max-width: 992px) {
    .site-header {
        padding: 1rem 1.5rem;
        background-color: rgba(20, 24, 35, 0.65) !important;
        backdrop-filter: blur(25px) !important;
        -webkit-backdrop-filter: blur(25px) !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
    }

    .hero-section {
        padding: 0;
    }

    .site-nav,
    .header-actions {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
        background: none;
        border: none;
        cursor: pointer;
        color: var(--clr-white);
    }

    /* Premium Mobile Navigation Drawer & Dropdown Styling */
    .site-nav.active {
        display: flex !important;
        flex-direction: column;
        position: fixed;
        top: 0;
        right: 0 !important;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background: rgba(30, 38, 102, 0.98) !important;
        /* Brand Navy Blue */
        z-index: 2000;
        padding: 6rem 2rem 2rem 2rem;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.25);
        gap: 1.25rem;
        align-items: stretch;
        overflow-y: auto;
    }

    .site-nav.active a,
    .site-nav.active .dropdown-trigger {
        width: 100% !important;
        text-align: left;
        padding: 0.75rem 1rem;
        border-radius: 4px;
        background-color: rgba(255, 255, 255, 0.05);
        color: var(--clr-white);
        display: block;
    }

    .site-nav.active a:hover,
    .site-nav.active .dropdown-trigger:hover {
        background-color: #e69130;
    }

    /* Stack dropdown items on mobile */
    .site-nav.active .nav-dropdown-wrapper {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
    }

    .site-nav.active .dropdown-trigger {
        display: flex !important;
        justify-content: space-between;
        align-items: center;
    }

    .site-nav.active .nav-dropdown {
        position: static;
        transform: none;
        width: 100%;
        background: transparent;
        box-shadow: none;
        border: none;
        padding: 0 0 0 1rem;
        opacity: 1;
        visibility: visible;
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
        margin-top: 0.25rem;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }

    .site-nav.active .dropdown-preview-col {
        display: none !important;
    }

    .site-nav.active .dropdown-links-col {
        width: 100%;
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
    }

    .site-nav.active .dropdown-item a {
        padding: 0.5rem 0.75rem !important;
        background-color: rgba(255, 255, 255, 0.03) !important;
        border-radius: 4px !important;
    }

    .site-nav.active .dropdown-item a:hover {
        background-color: rgba(255, 255, 255, 0.1) !important;
        transform: none !important;
    }

    .site-nav.active .dropdown-item .item-desc {
        display: none;
        /* Hide descriptions in mobile drawer to save space */
    }

    /* Robust content-driven layout on mobile to prevent clipping and header overlaps */
    .hero-image-wrapper {
        height: auto;
        min-height: 100vh;
        display: flex;
        position: relative;
        overflow: visible;
    }

    .hero-image-wrapper img.hero-img {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        z-index: 1;
    }

    .hero-overlay {
        position: relative;
        z-index: 2;
        width: 100%;
        height: auto;
        min-height: 100vh;
        padding: 7.5rem 1.5rem 4rem 1.5rem;
        background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.85));
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .hero-layout {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 2rem;
        width: 100%;
    }

    .hero-text-area {
        max-width: 100%;
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .display-title {
        font-size: 2.2rem;
        line-height: 1.25;
        margin-bottom: 1.25rem;
        text-align: center;
    }

    .hero-subtitle {
        font-size: 1.1rem;
        line-height: 1.5;
        text-align: center;
        margin: 0 auto 1.5rem auto;
        max-width: 100%;
    }

    .hero-stats {
        grid-template-columns: 1fr;
        padding: 0 2rem 2rem 2rem;
    }
}

/* =========================================
   2. Testimonial Banner
   ========================================= */
.testimonial-banner {
    width: 100%;
    /* layout handled by .split-50 */
}

.testimonial-text {
    background-color: var(--clr-bg-main);
    padding: 4rem 6rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.testimonial-text p {
    font-size: 1.1rem;
    font-style: italic;
    color: var(--clr-text-mid);
    margin-bottom: 2rem;
}

.author {
    font-size: 1rem;
    font-weight: 700;
}

.banner-cta {
    /* layout handled by .split-50 */
    align-items: stretch;
}

.cta-block {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem 2rem;
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 1.5rem;
    color: var(--clr-text-dark);
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.cta-orange {
    background-color: var(--clr-brand-orange-main);
    color: #ffffff;
}

.cta-orange:hover {
    background-color: #d17540;
}

.cta-beige {
    background-color: #f7e6d2;
}

.cta-beige:hover {
    background-color: #f0deca;
}

/* =========================================
   3. Distinctive Features
   ========================================= */
.features-section {
    background-color: var(--clr-bg-main);
    width: 100%;
    padding-top: 6rem;
}

.features-section .section-header {
    text-align: center;
}

.features-section .tag {
    background-color: rgba(255, 255, 255, 0.2);
    border: none;
    color: var(--clr-text-dark);
}

.features-section .dot {
    background-color: var(--clr-white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background-color: rgba(0, 0, 0, 0.05);
    margin-top: 4rem;
    text-align: center;
}

.feature-card {
    background-color: var(--clr-bg-main);
    padding: 6rem 4rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    transition: background-color 0.3s;
}

.feature-card:hover {
    background-color: var(--clr-white);
}

.icon-placeholder {
    color: var(--clr-brand-orange-main);
    margin-bottom: 2rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.feature-card p {
    font-size: 0.9rem;
    opacity: 0.8;
    max-width: 250px;
}

/* =========================================
   3b. Academic Programs (White Grid Area)
   ========================================= */
.academic-section {
    width: 100%;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    background-color: var(--clr-white);
    /* Reference shows a clean white section here */
}

.academic-image {
    width: 100%;
    height: 100%;
}

.academic-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.academic-content {
    padding: 6rem 4rem;
    display: flex;
    flex-direction: column;
}

.academic-tabs {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 4rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding-bottom: 1rem;
}

.academic-tabs a {
    font-size: 0.85rem;
    color: var(--clr-text-mid);
    font-weight: 500;
}

.academic-tabs a.active {
    color: var(--clr-text-dark);
}

.academic-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex: 1;
}

.academic-text h2 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--clr-text-dark);
}

.academic-text p {
    font-size: 1.1rem;
    color: var(--clr-text-mid);
    max-width: 400px;
    margin-bottom: 2.5rem;
}

.academic-text .btn-text {
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

/* =========================================
   4. History & Vision (With Timeline)
   ========================================= */
.history-section {
    width: 100%;
    background-color: var(--clr-bg-main);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    align-items: start;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.history-image-sticky {
    position: sticky;
    top: 0;
    height: 100vh;
    width: 100%;
    display: flex;
    overflow: hidden;
    /* Create the sharp split border on the left */
    border-left: 1px solid rgba(0, 0, 0, 0.1);
}

.history-image-sticky img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.5s ease;
}


/* Content Right Side */
.history-content {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.history-block {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    padding: 0;
}

.history-block> :not(.history-image) {
    padding-left: 6rem;
    padding-right: 6rem;
}

.history-block>span.tag {
    margin-top: 6rem;
    align-self: flex-start;
}

.history-block:last-child {
    border-bottom: none;
}

.history-desc {
    font-size: 1.1rem;
    color: var(--clr-text-mid);
    max-width: 450px;
    margin-bottom: 3rem;
}



/* =========================================
   5. News & Events
   ========================================= */
.news-section {
    width: 100%;
    background-color: var(--clr-white);
    padding-top: 10rem;
    padding-bottom: 8rem;
}

.news-section .section-header {
    text-align: center;
    margin-bottom: var(--sp-48);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    margin-bottom: 0;
    text-align: left;
}

.news-card {
    display: flex;
    flex-direction: column;
    background-color: var(--clr-white);
}

.news-img-wrapper {
    width: 100%;
    aspect-ratio: 3/4;
    overflow: hidden;
}

.news-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.news-info {
    padding: 2.5rem;
    background-color: var(--clr-white);
    flex: 1;
}

.tags-row {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.news-info .tag-small {
    margin-bottom: 1rem;
}

.news-info h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.news-info .date {
    font-size: 0.85rem;
    color: var(--clr-text-mid);
}

.news-footer {
    background-color: var(--clr-brand-orange-light);
    padding: var(--sp-48);
    text-align: center;
}

.btn-browse {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 500;
}

/* =========================================
   7. Form Section (Card Variant)
   ========================================= */
.form-section.card-variant {
    position: relative;
    width: 100%;
    padding: 8rem 0 10rem 0;
    background: url("./assets/form-bg.jpg") center/cover no-repeat;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.form-section.card-variant::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.25);
    z-index: 0;
}

.form-section-header,
.form-container {
    position: relative;
    z-index: 1;
    width: 100%;
}

.form-section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    max-width: 1200px;
    margin: 0 auto 4rem auto;
    padding: 0 2rem;
    color: white;
}

.header-left h2 {
    font-family: var(--font-display);
    font-size: 3.5rem;
    line-height: 1.1;
    font-weight: 500;
}

.header-right {
    max-width: 500px;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.header-right p {
    font-size: 1.1rem;
    line-height: 1.6;
    opacity: 0.9;
}

.header-actions {
    display: flex;
    gap: 1rem;
}

.btn-brand-orange {
    background-color: #C1175C;
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.btn-brand-orange:hover {
    background-color: #9f134c;
}

.btn-outline-light {
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.btn-outline-light:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.form-card {
    background: white;
    border-radius: 16px;
    margin: 0 auto;
    max-width: 1000px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    padding: 4rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.form-card-left {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-card-left h3 {
    font-family: var(--font-display);
    font-size: 1.8rem;
    line-height: 1.25;
    font-weight: 700;
    color: #111;
}

.form-card-left p {
    color: var(--clr-text-mid);
    line-height: 1.6;
}

.card-features {
    display: flex;
    gap: 2rem;
    margin-top: auto;
    padding-top: 2rem;
}

.feature-tag {
    font-weight: 700;
    font-size: 0.9rem;
    color: #111;
}

.campus-form-card {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.campus-form-card .form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.campus-form-card .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

@media (max-width: 768px) {
    .campus-form-card .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

.campus-form-card .form-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: #555;
    margin-left: 0.25rem;
}

.campus-form-card input,
.campus-form-card select {
    width: 100%;
    padding: 1rem 1.25rem;
    background-color: #f5f5f5;
    border: 1px solid transparent;
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 1rem;
    color: #111;
    transition: all 0.3s ease;
}

.campus-form-card input::placeholder {
    color: #999;
}

/* Hidden native select (handled by JS, but good fallback) */
.campus-form-card select {
    display: none;
}

/* Custom Select Wrapper */
.custom-select-wrapper {
    position: relative;
    width: 100%;
    user-select: none;
}

/* The Trigger Button (looks like the input) */
.custom-select-trigger {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 1rem 1.25rem;
    background-color: #f5f5f5;
    border: 1px solid transparent;
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 1rem;
    color: #555;
    /* Default unselected color (like placeholder) */
    cursor: pointer;
    transition: all 0.3s ease;
}

.custom-select-trigger.has-value {
    color: #111;
    /* Darker color when selected */
}

.custom-select-trigger svg {
    color: #999;
    transition: transform 0.3s ease;
}

.custom-select-wrapper.open .custom-select-trigger {
    border-color: var(--clr-brand-orange-main);
    background-color: white;
    box-shadow: 0 0 0 4px rgba(252, 163, 61, 0.15);
}

.custom-select-wrapper.open .custom-select-trigger svg {
    transform: rotate(180deg);
}

/* The Dropdown Menu (Light Theme to match website) */
.custom-select-options {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background-color: #ffffff;
    /* White background */
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    /* Softer shadow */
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-10px);
    transition: all 0.2s ease;
    /* Faster transition */
    max-height: 300px;
    overflow-y: auto;
    padding: 0.5rem 0;
    color: #111111;
    /* Dark text for light bg */
}

.custom-select-wrapper.open .custom-select-options {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

/* Custom Scrollbar for Dropdown */
.custom-select-options::-webkit-scrollbar {
    width: 6px;
}

.custom-select-options::-webkit-scrollbar-track {
    background: transparent;
}

.custom-select-options::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, 0.15);
    /* Darker thumb for light bg */
    border-radius: 10px;
}

/* OptGroup Labels */
.custom-optgroup-label {
    padding: 1rem 1.25rem 0.5rem 1.25rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Selectable Options */
.custom-option {
    position: relative;
    padding: 0.75rem 1.25rem 0.75rem 2.5rem;
    /* Extra left padding for checkmark space */
    font-size: 0.95rem;
    cursor: pointer;
    transition: background-color 0.15s ease, color 0.15s ease;
    display: flex;
    align-items: flex-start;
    /* Align checkmark with first line of wrapped text */
    min-height: 48px;
    /* Ensure a good tap target even for single lines */
    line-height: 1.4;
    /* Better spacing for wrapped text */
}

.custom-option:hover {
    background-color: #f5f5f5;
    /* Light gray hover */
    color: #111;
}

.custom-option.selected {
    background-color: rgba(252, 163, 61, 0.1);
    /* Lighter Orange tint */
    color: var(--clr-brand-orange-main);
    font-weight: 500;
}

/* Checkmark logic */
.custom-option-check {
    position: absolute;
    left: 1rem;
    top: 0.85rem;
    /* Explicitly align with the first line of text */
    display: flex;
    align-items: center;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.15s ease;
}

.custom-option.selected .custom-option-check {
    opacity: 1;
    transform: scale(1);
    color: var(--clr-brand-orange-main);
}

.btn-brand-orange-full {
    width: 100%;
    background-color: #C1175C;
    color: white;
    border: none;
    padding: 1rem;
    border-radius: 8px;
    font-weight: 500;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-top: 0.5rem;
}

.btn-brand-orange-full:hover {
    background-color: #9f134c;
}

/* Multi-Step Form Logic */
.form-progress {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.progress-text {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--clr-brand-orange-main);
}

.progress-bar-bg {
    width: 100%;
    height: 6px;
    background-color: #eee;
    border-radius: 3px;
    overflow: hidden;
}

.progress-bar-fill {
    height: 100%;
    background-color: var(--clr-brand-orange-main);
    width: 33.33%;
    transition: width 0.4s ease;
}

.form-step {
    display: none;
    flex-direction: column;
    gap: 1.5rem;
    animation: fadeIn 0.4s ease;
}

.form-step.form-step-active {
    display: flex;
}

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

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

.text-brand-orange {
    color: var(--clr-brand-orange-main);
}

.campus-form-card textarea {
    width: 100%;
    padding: 1rem 1.25rem;
    background-color: #f5f5f5;
    border: 1px solid transparent;
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 1rem;
    color: #111;
    transition: all 0.3s ease;
    resize: vertical;
}

.campus-form-card textarea:focus {
    outline: none;
    border-color: var(--clr-brand-orange-main);
    background-color: white;
    box-shadow: 0 0 0 4px rgba(252, 163, 61, 0.15);
}

.form-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.form-actions-right {
    justify-content: flex-end;
}

.form-actions .btn-brand-orange-full {
    margin-top: 0;
}

.btn-outline-dark {
    padding: 1rem 1.5rem;
    background: transparent;
    border: 1px solid #ddd;
    border-radius: 8px;
    color: var(--clr-text-dark);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-outline-dark:hover {
    border-color: #999;
}

/* Custom Checkbox */
.checkbox-group {
    margin-top: 0.5rem;
}

.custom-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
    font-size: 0.85rem;
    line-height: 1.5;
    color: var(--clr-text-mid);
    position: relative;
}

.custom-checkbox input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    position: relative;
    top: 2px;
    min-width: 20px;
    height: 20px;
    background-color: #f5f5f5;
    border: 1px solid #ddd;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.custom-checkbox:hover input~.checkmark {
    border-color: var(--clr-brand-orange-main);
}

.custom-checkbox input:checked~.checkmark {
    background-color: var(--clr-brand-orange-main);
    border-color: var(--clr-brand-orange-main);
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.custom-checkbox input:checked~.checkmark:after {
    display: block;
}

.custom-checkbox .checkmark:after {
    left: 6px;
    top: 2px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

/* =========================================
   FAQ Section
   ========================================= */
.faq-section {
    background-color: var(--clr-bg-main);
    width: 100%;
}

.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: var(--clr-white);
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.04);
    margin-bottom: 1.25rem;
    padding: 0 1.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.faq-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.06);
}

.faq-item:last-child {
    margin-bottom: 0;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 1.5rem 0;
    background: transparent;
    border: none;
    text-align: left;
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--clr-text-dark);
    cursor: pointer;
    transition: color 0.3s ease;
}

.faq-question:hover {
    color: var(--clr-brand-orange-main);
}

.faq-icon {
    width: 24px;
    height: 24px;
    position: relative;
    flex-shrink: 0;
    margin-left: 1rem;
}

.faq-icon::before,
.faq-icon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    background-color: var(--clr-text-dark);
    transform: translate(-50%, -50%);
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.faq-icon::before {
    width: 14px;
    height: 2px;
}

.faq-icon::after {
    width: 2px;
    height: 14px;
}

.faq-item.active .faq-question {
    color: var(--clr-brand-orange-main);
}

.faq-item.active .faq-icon::before,
.faq-item.active .faq-icon::after {
    background-color: var(--clr-brand-orange-main);
}

.faq-item.active .faq-icon::after {
    transform: translate(-50%, -50%) rotate(90deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.1, 0.7, 0.1, 1), padding 0.4s ease;
}

.faq-answer-content {
    padding-bottom: 1.5rem;
    color: var(--clr-text-mid);
    line-height: 1.6;
}

/* =========================================
   Storytelling Steps Section (Votre parcours)
========================================= */
.story-section {
    background-color: var(--clr-bg-main);
    width: 100%;
}

.story-timeline {
    position: relative;
    max-width: 1000px;
    margin: 4rem auto 0;
    padding-bottom: 3rem;
    /* padding at bottom of timeline */
}

/* Base vertical line */
.timeline-line-bg {
    position: absolute;
    width: 4px;
    background-color: rgba(255, 255, 255, 0.4);
    /* Faded white track */
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
    z-index: 1;
}

/* Progressive fill vertical line */
.timeline-line-fill {
    position: absolute;
    width: 4px;
    background: linear-gradient(135deg, var(--clr-brand-orange-main), #ff6b3b);
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
    z-index: 2;
    height: 0%;
    /* JS will animate this */
}

.story-step {
    position: relative;
    z-index: 5;
    width: 50%;
    padding: 2rem 5rem;
    /* Pushes content far from central axis */
    min-height: 250px;
    /* High value spacing */
    display: flex;
    align-items: center;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.story-step.active-step {
    opacity: 1;
    transform: translateY(0);
}

.story-step.left {
    left: 0;
    justify-content: flex-end;
    text-align: right;
}

.story-step.right {
    left: 50%;
    justify-content: flex-start;
    text-align: left;
}

.step-number {
    position: absolute;
    top: 50%;
    transform: translateY(-50%) scale(0.6);
    width: 66px;
    height: 66px;
    background-color: var(--clr-brand-orange-main);
    color: var(--clr-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    font-weight: 700;
    font-family: var(--font-heading);
    z-index: 3;
    box-shadow: 0 0 0 8px var(--clr-white), 0 8px 25px rgba(252, 163, 61, 0.35);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease, opacity 0.5s ease;
    opacity: 0;
}

.story-step.active-step .step-number {
    transform: translateY(-50%) scale(1);
    opacity: 1;
}

.story-step.active-step:hover .step-number {
    transform: translateY(-50%) scale(1.15);
    box-shadow: 0 0 0 8px var(--clr-white), 0 12px 30px rgba(252, 163, 61, 0.5);
}

/* Align numbers precisely on the center line */
.story-step.left .step-number {
    right: -33px;
    /* Half width */
}

.story-step.right .step-number {
    left: -33px;
}

.step-content {
    max-width: 380px;
}

.step-content h3 {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    color: var(--clr-text-dark);
    margin-bottom: 0.75rem;
    line-height: 1.25;
}

.step-content p {
    font-family: var(--font-body);
    font-size: 1.15rem;
    color: var(--clr-text-mid);
    line-height: 1.6;
    margin: 0;
}

/* Responsive adjustment for mobile: revert to left-aligned stacking */
@media (max-width: 768px) {
    .story-timeline {
        padding-left: 1.5rem;
        /* space for the line on the extreme left */
    }

    .timeline-line-bg,
    .timeline-line-fill {
        left: 30px;
        transform: none;
    }

    .story-step {
        width: 100%;
        padding: 2rem 0 2rem 5rem;
        min-height: auto;
        justify-content: flex-start !important;
        text-align: left !important;
        left: 0 !important;
        margin-bottom: 2rem;
    }

    .story-step.left .step-number,
    .story-step.right .step-number {
        left: -20px;
        /* 30px (line pos) - 25px width / 2 */
        right: auto;
        transform: translateY(-50%);
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
        box-shadow: 0 0 0 6px var(--clr-bg-main), 0 4px 15px rgba(252, 163, 61, 0.3);
    }

    .step-content h3 {
        font-size: 1.4rem;
    }

    .step-content p {
        font-size: 1.05rem;
    }
}

/* =========================================
   Formations Linguistiques Section (Premium Minimalist)
========================================= */

.formations-section {
    background-color: var(--clr-bg-main);
    padding-bottom: 0;
    /* Remove bottom padding as images touch the next section */
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.formations-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    width: 100%;
    margin-top: 3rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    /* Top border for the whole grid */
}

.formation-image-card {
    display: flex;
    flex-direction: column;
    background-color: transparent;
    text-decoration: none !important;
    cursor: pointer;
    position: relative;
    border-right: 1px solid rgba(0, 0, 0, 0.05);
    /* Divider between cards */
    transition: background-color 0.4s ease;
}

.formation-image-card:last-child {
    border-right: none;
}

.formation-image-card:hover {
    background-color: #ffffff;
    /* Highlight background on hover instead of zoom box */
}

.card-image-wrapper {
    width: 100%;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    position: relative;
    background-color: #e2e8f0;
    /* Removed border-radius */
}

.card-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), filter 0.6s ease;
    filter: grayscale(15%);
    /* Slight desaturation for premium feel */
}

.card-hover-arrow {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 44px;
    height: 44px;
    background-color: #ffffff;
    /* Keep round for the icon only */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: scale(0.8) translate(-10px, 10px);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    z-index: 2;
    color: var(--clr-text-dark);
}

.formation-image-card:hover .card-image-wrapper img {
    transform: scale(1.05);
    filter: grayscale(0%);
    /* Full color on hover */
}

.formation-image-card:hover .card-hover-arrow {
    opacity: 1;
    transform: scale(1) translate(0, 0);
}

.card-hover-text {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 2rem 1.5rem;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 2;
}

.card-hover-text .card-subtitle {
    color: #ffffff;
    margin: 0;
}

.formation-image-card:hover .card-hover-text {
    opacity: 1;
    transform: translateY(0);
}

.card-image-wrapper::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 70%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
    pointer-events: none;
}

.formation-image-card:hover .card-image-wrapper::after {
    opacity: 1;
}

.card-content-box {
    padding: 2rem 1.5rem;
    text-align: left;
    /* Align left for editorial look */
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    /* Removed floating negative margins, backgrounds, border-radius, and box shadows */
}

.card-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.3rem 0.8rem;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--clr-white);
    margin-bottom: 0.75rem;
    font-family: var(--font-body);
}

.card-title {
    font-family: var(--font-heading);
    color: var(--clr-text-dark);
    font-size: 1.25rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.card-subtitle {
    font-family: var(--font-body);
    color: var(--clr-text-mid);
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
}

/* Specific colors for language levels matching previous design */
.level-a2 {
    background-color: #6B7F96;
}

.level-b1 {
    background-color: #1DA1F2;
}

.level-b2 {
    background-color: #F59E0B;
}

.level-c1 {
    background-color: #EF4444;
}

.level-c2 {
    background-color: #8B5CF6;
}

@media (max-width: 991px) {
    .formations-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .formation-image-card {
        border-right: 1px solid rgba(0, 0, 0, 0.05);
        /* re-apply for inner items */
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }

    .formation-image-card:nth-child(3n) {
        border-right: none;
    }
}

@media (max-width: 767px) {
    .formations-grid {
        grid-template-columns: 1fr;
    }

    .formation-image-card {
        border-right: none;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }

    .formation-image-card:last-child {
        border-bottom: none;
    }

    .card-content-box {
        margin: -2rem 0.5rem 0 0.5rem;
    }
}

.faq-item.active .faq-answer {
    max-height: 500px;
    /* Arbitrary large number to allow full expansion */
}

/* =========================================
   Location Section
   ========================================= */
.location-section {
    background-color: var(--clr-bg-main);
    width: 100%;
}

.map-container {
    width: 100%;
    height: 450px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* =========================================
   Footer
   ========================================= */
.site-footer {
    background-color: var(--clr-white);
    padding: 6rem 5%;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    width: 100%;
}

.footer-container {
    max-width: 1440px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr 1fr 1.5fr;
    gap: 4rem;
}

.footer-col {
    display: flex;
    flex-direction: column;
}

.brand-col {
    justify-content: space-between;
}

.footer-brand {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--clr-brand-orange-main);
    margin-bottom: 2rem;
}

.footer-bottom-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: auto;
}

.footer-badge {
    background-color: var(--clr-brand-orange-main);
    color: var(--clr-white);
    font-size: 0.8rem;
    font-weight: 700;
    padding: 0.5rem;
    border-radius: 4px;
    line-height: 1;
}

.copyright {
    color: var(--clr-text-mid);
    font-size: 0.9rem;
}

.footer-heading {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    color: var(--clr-text-dark);
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-links a {
    color: var(--clr-text-mid);
    font-size: 1rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--clr-brand-orange-main);
}

.contact-col .footer-btn {
    margin-top: 2rem;
    align-self: flex-start;
}

/* Mobile Navigation Button (Hidden on Desktop) */
.mobile-nav-toggle {
    display: none;
    position: fixed;
    top: 1.5rem;
    right: 1.5rem;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(4px);
    border: none;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    cursor: pointer;
    z-index: 1000;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* =========================================
   Programmes Page Dedicated Styles
   ========================================= */
.programmes-page-header {
    background-color: var(--clr-white);
    padding: 10rem 4rem 4rem 4rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 4rem;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
}

.programmes-page-header-left {
    flex: 1;
}

.programmes-page-header-left .overline {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--clr-text-mid);
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 0.5rem;
}

.programmes-page-header-left h1 {
    font-size: 3.5rem;
    color: var(--clr-brand-orange-main);
    margin: 0;
}

.programmes-page-header-right {
    flex: 1;
    font-size: 1.1rem;
    color: var(--clr-text-mid);
    line-height: 1.6;
    margin-top: 1.5rem;
}

.programmes-grid-container {
    padding: 0 4rem 6rem 4rem;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
}

.programmes-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.program-card-detail {
    background-color: var(--clr-white);
    border-radius: 0;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.program-card-detail-img {
    width: 100%;
    height: 240px;
    object-fit: cover;
}

.program-card-detail-body {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.program-card-detail-body h3 {
    font-size: 1.5rem;
    color: var(--clr-brand-orange-main);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.program-card-detail-body p {
    font-size: 0.95rem;
    color: var(--clr-text-mid);
    line-height: 1.5;
    margin-bottom: 2rem;
    flex: 1;
}

.program-points {
    list-style: none;
    display: grid;
    gap: 0.72rem;
    padding: 0;
    margin: 0 0 2rem 0;
    flex: 1;
}

.program-points li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    min-height: 32px;
    padding: 0;
    color: var(--clr-text-mid);
    font-size: 0.92rem;
    line-height: 1.4;
}

.point-icon {
    width: 1.45rem;
    height: 1.45rem;
    flex: 0 0 1.45rem;
    color: #e69130;
    background-color: currentColor;
    -webkit-mask: var(--point-icon) center / 1.25rem 1.25rem no-repeat;
    mask: var(--point-icon) center / 1.25rem 1.25rem no-repeat;
}

.point-icon-foundation {
    --point-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 19.5A2.5 2.5 0 0 1 6.5 17H20'/%3E%3Cpath d='M6.5 2H20v20H6.5A2.5 2.5 0 0 1 4 19.5v-15A2.5 2.5 0 0 1 6.5 2z'/%3E%3C/svg%3E");
}

.point-icon-expression {
    --point-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 15a4 4 0 0 1-4 4H7l-4 4V7a4 4 0 0 1 4-4h10a4 4 0 0 1 4 4z'/%3E%3Cpath d='M8 9h8'/%3E%3Cpath d='M8 13h5'/%3E%3C/svg%3E");
}

.point-icon-guided {
    --point-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 2 19 21l-7-4-7 4 7-19z'/%3E%3C/svg%3E");
}

.point-icon-communication {
    --point-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M17 8h1a4 4 0 0 1 4 4v7l-3-3h-2'/%3E%3Cpath d='M2 12a4 4 0 0 0 4 4h5l4 4V5a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4z'/%3E%3C/svg%3E");
}

.point-icon-growth {
    --point-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 17l6-6 4 4 8-8'/%3E%3Cpath d='M14 7h7v7'/%3E%3C/svg%3E");
}

.point-icon-professional {
    --point-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='7' width='20' height='14' rx='2'/%3E%3Cpath d='M16 7V5a2 2 0 0 0-2-2h-4a2 2 0 0 0-2 2v2'/%3E%3Cpath d='M2 13h20'/%3E%3C/svg%3E");
}

.point-icon-argument {
    --point-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 20h9'/%3E%3Cpath d='M16.5 3.5a2.12 2.12 0 0 1 3 3L7 19l-4 1 1-4z'/%3E%3C/svg%3E");
}

.point-icon-demanding {
    --point-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 2l3 7h7l-5.5 4.5L18.5 21 12 17l-6.5 4 2-7.5L2 9h7z'/%3E%3C/svg%3E");
}

.point-icon-complex {
    --point-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3Cpath d='M12 2v4'/%3E%3Cpath d='M12 18v4'/%3E%3Cpath d='M4.93 4.93l2.83 2.83'/%3E%3Cpath d='M16.24 16.24l2.83 2.83'/%3E%3Cpath d='M2 12h4'/%3E%3Cpath d='M18 12h4'/%3E%3Cpath d='M4.93 19.07l2.83-2.83'/%3E%3Cpath d='M16.24 7.76l2.83-2.83'/%3E%3C/svg%3E");
}

.point-icon-mastery {
    --point-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 2l2.8 6.2L21 9l-4.6 4.4L17.7 20 12 16.7 6.3 20l1.3-6.6L3 9l6.2-.8z'/%3E%3Cpath d='M12 8v5'/%3E%3C/svg%3E");
}

.point-icon-global {
    --point-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M2 12h20'/%3E%3Cpath d='M12 2a15 15 0 0 1 0 20'/%3E%3Cpath d='M12 2a15 15 0 0 0 0 20'/%3E%3C/svg%3E");
}

.point-icon-psh {
    --point-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='16' cy='4' r='1'/%3E%3Cpath d='M18 19a6 6 0 1 1-6-6v4'/%3E%3Cpath d='M14 13h3l2-3'/%3E%3Cpath d='M12 7h5'/%3E%3Cpath d='M12 7l-2 5'/%3E%3C/svg%3E");
}

.program-card-actions {
    display: flex;
    gap: 1rem;
    margin-top: auto;
}

.program-card-actions .btn {
    flex: 1;
    text-align: center;
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
    border-radius: 0;
}

.btn-outline-brand {
    border: 1px solid #C1175C;
    color: #C1175C;
    background: transparent;
}

.btn-outline-brand:hover {
    background: #C1175C;
    color: var(--clr-white);
}

@media (max-width: 992px) {
    .programmes-page-header {
        flex-direction: column;
        padding: 8rem 2rem 2rem 2rem;
        gap: 2rem;
    }

    .programmes-page-header-left h1 {
        font-size: 2.5rem;
    }

    .programmes-grid-container {
        padding: 0 2rem 4rem 2rem;
    }

    .programmes-grid {
        grid-template-columns: 1fr;
    }

    .program-card-actions {
        flex-direction: column;
    }
}

@media (max-width: 1250px) {

    .site-header,
    .site-header.scrolled,
    body.test-in-progress .site-header {
        padding: 1rem 2rem;
    }

    .site-nav a {
        width: auto;
        padding: 0.5rem 0.75rem;
        font-size: 0.9rem;
    }

    .site-nav {
        gap: 0.25rem;
    }
}

/* =========================================
   Responsive Design
   ========================================= */
@media (max-width: 1024px) {

    .hero-section,
    .history-section {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .hero-image-container {
        height: 50vh;
    }

    .display-title {
        font-size: 3.5rem;
    }

    .features-grid,
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem;
    }

    .brand-col {
        grid-column: 1 / -1;
    }

    .testimonial-banner {
        grid-template-columns: 1fr;
    }

    .banner-cta {
        grid-column: span 1;
        flex-direction: column;
    }

    .form-section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 2rem;
    }

    .form-card {
        grid-template-columns: 1fr;
        gap: 3rem;
        padding: 3rem;
    }
}

@media (max-width: 768px) {

    .features-grid,
    .news-grid {
        grid-template-columns: 1fr;
    }

    .hero-stats {
        grid-template-columns: 1fr;
        padding: 0;
        text-align: left;
        margin-top: 3rem;
        gap: 3rem;
    }

    .section-title {
        font-size: 2.25rem;
    }

    .display-title {
        font-size: 2.75rem;
    }

    .hero-content,
    .history-content {
        padding: 2.5rem 1.5rem;
    }

    .hero-text-area {
        padding: 0;
    }

    .mobile-nav-toggle {
        display: flex;
    }

    .hero-nav {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background: var(--clr-bg-main);
        z-index: 999;
        transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        padding-top: 6rem;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
        margin-bottom: 0;
        border-bottom: none;
    }

    .hero-nav.active {
        right: 0;
    }

    .hero-nav a {
        border-right: none;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
        height: 70px;
        flex: none;
        justify-content: flex-start;
        padding-left: 2rem;
    }

    .hero-nav a .text-wrapper {
        font-size: 1.25rem !important;
    }

    /* Remove hover translate effect on mobile */
    .hero-nav a:hover .text-wrapper {
        transform: none;
    }

    .hero-nav a .text-wrapper::after {
        display: none;
    }

    .header-actions {
        flex-direction: column;
        width: 100%;
    }

    .header-actions .btn {
        text-align: center;
    }

    .form-card {
        padding: 2rem;
    }

    .card-features {
        flex-direction: column;
        gap: 0.5rem;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
}

/* ==========================================================================
   Premium Glassmorphic Search Gadget (Landing Pages Hero)
   ========================================================================== */
.hero-search-gadget {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50px;
    padding: 8px 8px 8px 30px;
    margin-top: 3rem;
    gap: 1.5rem;
    max-width: 1040px;
    /* Increased from 860px to 1040px for generous horizontal space */
    width: 100%;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    z-index: 10;
}

.hero-search-gadget:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35);
    transform: translateY(-2px);
}

.hero-search-gadget:focus-within {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.25);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

.gadget-select-group {
    display: flex;
    flex-direction: column;
    position: relative;
    text-align: left;
}

/* Distribute columns appropriately so names never wrap */
.gadget-select-group:nth-of-type(1) {
    flex: 1.2;
    min-width: 180px;
}

.gadget-select-group:nth-of-type(2) {
    flex: 1.6;
    min-width: 230px;
}

.gadget-select-group:nth-of-type(3) {
    flex: 1.4;
    min-width: 210px;
}

.gadget-select-group:not(:last-of-type)::after {
    content: '';
    position: absolute;
    right: -12px;
    top: 20%;
    height: 60%;
    width: 1px;
    background: rgba(255, 255, 255, 0.12);
}

.gadget-select-group label {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.55);
    font-weight: 700;
    margin-bottom: 4px;
    font-family: var(--font-body);
}

.gadget-select-group .select-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}

.gadget-select-group select {
    background: transparent;
    border: none;
    outline: none;
    color: #ffffff;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 500;
    padding-right: 28px;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    width: 100%;
    transition: color 0.3s ease;
}

.gadget-select-group select:hover {
    color: #fca33d;
}

.gadget-select-group select option {
    background-color: #1e2666;
    /* Fits Campus Superia's signature deep blue color */
    color: #ffffff;
    font-family: var(--font-body);
    padding: 12px;
}

.gadget-select-group .select-arrow {
    position: absolute;
    right: 0;
    pointer-events: none;
    color: rgba(255, 255, 255, 0.6);
    transition: transform 0.3s ease, color 0.3s ease;
    display: flex;
    align-items: center;
}

.gadget-select-group select:focus~.select-arrow {
    transform: rotate(180deg);
    color: #fca33d;
}

.gadget-search-btn {
    background: #e69130;
    color: #ffffff;
    border: none;
    border-radius: 40px;
    padding: 0 28px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(230, 145, 48, 0.3);
}

.gadget-search-btn:hover {
    background: #fca33d;
    transform: scale(1.03);
    box-shadow: 0 6px 20px rgba(230, 145, 48, 0.4);
}

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

.gadget-search-btn svg {
    stroke: currentColor;
    stroke-width: 2.5;
    transition: transform 0.3s ease;
}

.gadget-search-btn:hover svg {
    transform: translate(2px, -1px) scale(1.05);
}

/* Responsive adjustments for gadget */
@media (max-width: 992px) {
    .hero-search-gadget {
        margin-top: 2rem;
        flex-direction: column;
        border-radius: 20px;
        padding: 24px;
        gap: 1.5rem;
        max-width: 500px;
        background: rgba(255, 255, 255, 0.08);
    }

    .gadget-select-group {
        width: 100%;
    }

    .gadget-select-group:not(:last-of-type)::after {
        display: none;
    }

    .gadget-select-group select {
        padding: 8px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    }

    .gadget-select-group .select-arrow {
        right: 8px;
        bottom: 12px;
    }

    .gadget-search-btn {
        width: 100%;
        margin-top: 0.5rem;
    }
}

/* ==========================================================================
   Programmes Grid Dynamic Filtering & Status Bar
   ========================================================================== */
.programmes-grid-container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 4rem 6rem 4rem;
}

@media (max-width: 992px) {
    .programmes-grid-container {
        padding: 0 2rem 4rem 2rem;
    }
}

.filter-status-bar {
    display: flex;
    align-items: center;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 12px;
    padding: 1rem 1.5rem;
    margin-bottom: 2.5rem;
    gap: 1rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    animation: slideDownFadeIn 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes slideDownFadeIn {
    from {
        opacity: 0;
        transform: translateY(-15px);
    }

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

.filter-status-title {
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--clr-text-dark);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.filter-status-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    flex: 1;
}

.filter-tag {
    background: #f0ecdf;
    color: var(--clr-text-dark);
    border: 1px solid rgba(0, 0, 0, 0.04);
    border-radius: 30px;
    padding: 6px 14px;
    font-size: 0.85rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.02);
    transition: all 0.2s ease;
}

.filter-tag:hover {
    background: #e7dfcc;
}

.filter-tag button.remove-tag {
    background: none;
    border: none;
    color: var(--clr-text-mid);
    cursor: pointer;
    font-size: 1.1rem;
    line-height: 1;
    padding: 0;
    display: flex;
    align-items: center;
    transition: color 0.2s ease;
}

.filter-tag button.remove-tag:hover {
    color: #e69130;
}

.filter-clear-btn {
    background: transparent;
    border: 1px dashed rgba(0, 0, 0, 0.2);
    color: var(--clr-text-mid);
    border-radius: 30px;
    padding: 6px 16px;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-clear-btn:hover {
    border-color: #e69130;
    color: #e69130;
    background: rgba(230, 145, 48, 0.04);
}

/* Grid animations and card transition controls */
.program-card-detail {
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    opacity: 1;
    transform: scale(1) translateY(0);
}

.program-card-detail.card-hidden {
    display: none !important;
    opacity: 0;
    pointer-events: none;
    transform: scale(0.92) translateY(20px);
}

.program-card-detail.card-highlighted {
    box-shadow: 0 30px 60px rgba(30, 38, 102, 0.15);
    border: 2px solid #e69130;
    transform: translateY(-8px);
}

/* Hide standard select arrow in the hero gadget since we draw our own */
.gadget-select-group .select-arrow {
    display: none !important;
}

/* ==========================================================================
   Custom Premium Glassmorphic Select & Dropdown Styling (Gadget Exclusive)
   ========================================================================== */
.gadget-custom-select {
    position: relative;
    width: 100%;
    cursor: pointer;
    outline: none;
    background: transparent !important;
    border: none !important;
}

.gadget-custom-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    color: #ffffff !important;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 500;
    padding: 8px 0 !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    transition: color 0.3s ease;
    user-select: none;
}

.gadget-custom-trigger:hover {
    color: #fca33d !important;
}

.gadget-custom-arrow {
    color: rgba(255, 255, 255, 0.6);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), color 0.3s ease;
    display: flex;
    align-items: center;
}

/* Rotate arrow elegantly on open */
.gadget-custom-select.open .gadget-custom-arrow {
    transform: rotate(180deg);
    color: #fca33d;
}

/* Premium Options container - Pure & clean glassmorphism (no solid white, no solid blue) */
.gadget-custom-options {
    position: absolute;
    top: calc(100% + 14px);
    left: -20px;
    right: -20px;
    background: rgba(18, 24, 54, 0.9) !important;
    backdrop-filter: blur(35px) !important;
    -webkit-backdrop-filter: blur(35px) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    border-radius: 20px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px) scale(0.97);
    transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1),
        visibility 0.4s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    max-height: 280px;
    overflow-y: auto;
    padding: 10px 0;
}

/* Dropdown show state */
.gadget-custom-select.open .gadget-custom-options {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) scale(1) !important;
}

/* Single custom option styling */
.gadget-custom-option {
    padding: 12px 24px;
    font-size: 0.92rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9) !important;
    background: transparent !important;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    border-left: 3px solid transparent;
    text-align: left;
}

/* Elegant micro-interaction on hover */
.gadget-custom-option:hover {
    background: rgba(255, 255, 255, 0.1) !important;
    color: #fca33d !important;
    padding-left: 28px;
    border-left-color: rgba(230, 145, 48, 0.6) !important;
}

/* Option selected state */
.gadget-custom-option.selected {
    background: rgba(230, 145, 48, 0.2) !important;
    color: #ffffff !important;
    font-weight: 600 !important;
    border-left-color: #e69130 !important;
}

/* Custom Scrollbar for dropdown container */
.gadget-custom-options::-webkit-scrollbar {
    width: 6px;
}

.gadget-custom-options::-webkit-scrollbar-track {
    background: transparent;
}

.gadget-custom-options::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
}

.gadget-custom-options::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.35);
}

/* Responsive options placement */
@media (max-width: 992px) {
    .gadget-custom-options {
        left: 0;
        right: 0;
        top: calc(100% + 8px);
        background: rgba(18, 24, 54, 0.92) !important;
        backdrop-filter: blur(35px) !important;
        -webkit-backdrop-filter: blur(35px) !important;
        border: 1px solid rgba(255, 255, 255, 0.12) !important;
        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.45);
    }
}

/* ==========================================================================
   Programmes Page Embedded Hero Search Gadget Styles
   ========================================================================== */
.hero-secondary .hero-text-area {
    margin: 0 auto;
    width: 100%;
    max-width: 1040px;
    padding: 0 1.5rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-secondary .hero-search-gadget {
    margin-top: 2rem;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.45);
    background: rgba(20, 24, 35, 0.7);
    /* Deep premium translucent glass backdrop */
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(35px);
    -webkit-backdrop-filter: blur(35px);
}

.hero-secondary .hero-search-gadget:hover {
    background: rgba(20, 24, 35, 0.78);
    border-color: rgba(255, 255, 255, 0.25);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
}

.hero-secondary .hero-search-gadget:focus-within {
    background: rgba(20, 24, 35, 0.85);
    border-color: rgba(255, 255, 255, 0.3);
}

.hero-image-wrapper.hero-secondary {
    height: 68vh;
    min-height: 640px;
    margin-bottom: 0;
    transition: height 0.45s cubic-bezier(0.16, 1, 0.3, 1),
        min-height 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-secondary .hero-overlay {
    padding-bottom: 5rem;
    transition: padding-bottom 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-image-wrapper.hero-secondary.dropdown-open {
    height: 82vh;
    min-height: 820px;
}

.hero-image-wrapper.hero-secondary.dropdown-open .hero-overlay {
    padding-bottom: 14rem;
}

/* Dynamic filter status bar spacing adjustment */
.programmes-grid-container {
    padding-top: 4rem !important;
}

@media (max-width: 992px) {
    .hero-image-wrapper.hero-secondary {
        height: auto;
        min-height: auto;
        padding: 0;
        margin-bottom: 2rem;
        display: flex;
    }

    .hero-secondary img.hero-img {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        z-index: 1;
    }

    .hero-secondary .hero-overlay {
        position: relative;
        z-index: 2;
        width: 100%;
        height: auto;
        padding: 6.5rem 1.5rem 3.5rem 1.5rem;
        background: linear-gradient(rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.9));
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
}

/* ==========================================================================
   Warm Brand Theme Overrides for Multi-Step Form
   ========================================================================== */
#multi-step-form .progress-bar-fill {
    background: linear-gradient(90deg, #EFC5A5, #F25757) !important;
}

#multi-step-form .progress-text {
    color: #F25757 !important;
}

#multi-step-form .btn-brand-orange-full {
    background-color: #F25757 !important;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

#multi-step-form .btn-brand-orange-full:hover {
    background-color: #9f134c !important;
    transform: translateY(-1px);
}

#multi-step-form .btn-outline-dark {
    border-color: #ebd9cb !important;
    color: #3a3836 !important;
}

#multi-step-form .btn-outline-dark:hover {
    background-color: rgba(239, 197, 165, 0.15) !important;
    border-color: #F25757 !important;
}

#multi-step-form .custom-select-trigger::after {
    border-color: #F25757 transparent transparent transparent !important;
}

#multi-step-form .custom-options {
    border-color: #EFC5A5 !important;
    box-shadow: 0 10px 30px rgba(242, 87, 87, 0.08) !important;
}

#multi-step-form .custom-option:hover {
    background-color: rgba(239, 197, 165, 0.2) !important;
}

#multi-step-form .custom-option.selected {
    background-color: rgba(239, 197, 165, 0.35) !important;
    color: #F25757 !important;
}

#multi-step-form .custom-option.selected .custom-option-check {
    color: #F25757 !important;
}

#multi-step-form input:focus,
#multi-step-form select:focus,
#multi-step-form textarea:focus {
    border-color: #F25757 !important;
    box-shadow: 0 0 0 3px rgba(242, 87, 87, 0.15) !important;
    background-color: white !important;
}

#multi-step-form .text-brand-orange {
    color: #F25757 !important;
}

#multi-step-form .custom-checkbox input:checked~.checkmark {
    background-color: #F25757 !important;
    border-color: #F25757 !important;
}

#multi-step-form .checkmark {
    border-color: #ebd9cb !important;
}

#multi-step-form .custom-checkbox:hover input:not(:checked)~.checkmark {
    border-color: #F25757 !important;
    background-color: rgba(239, 197, 165, 0.1) !important;
}

#multi-step-form .custom-checkbox:hover input:checked~.checkmark {
    box-shadow: 0 0 0 4px rgba(242, 87, 87, 0.2) !important;
}


/* =========================================
   ADMISSIONS MEGA-MENU
   ========================================= */

.nav-dropdown.admissions-mega {
    width: 1200px;
    grid-template-columns: 1fr 1fr 1.1fr 1.15fr;
    gap: 0;
    padding: 0;
    left: auto;
    right: -100px;
    transform: translateY(15px);
    border-radius: 16px;
    overflow: hidden;
}

.nav-dropdown-wrapper:hover .nav-dropdown.admissions-mega {
    transform: translateY(0);
}

@media (max-width: 1200px) and (min-width: 993px) {
    .nav-dropdown.admissions-mega {
        width: 990px;
        grid-template-columns: 1fr 1fr 1fr 1.1fr;
        right: -45px;
    }
}

.adm-column {
    padding: 1.75rem 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.adm-column:not(:last-child) {
    border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.adm-col-main {
    background-color: rgba(30, 38, 102, 0.15);
}

.adm-col-sub {
    background-color: rgba(30, 38, 102, 0.05);
}

.adm-col-links {
    background-color: rgba(0, 0, 0, 0.1);
}

.dropdown-col-header {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.45);
    margin-bottom: 0.75rem;
    padding: 0 0.25rem;
}

/* Card Button Styling (Column 1 and Column 2) */
.adm-card-btn {
    display: flex !important;
    align-items: center !important;
    gap: 0.75rem !important;
    padding: 0.85rem 1rem !important;
    border-radius: 12px !important;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
    cursor: pointer;
    border: 1px solid transparent !important;
    user-select: none;
    background-color: transparent !important;
    width: 100% !important;
    text-decoration: none !important;
}

.adm-card-btn:hover {
    background-color: rgba(255, 255, 255, 0.06) !important;
    border-color: rgba(255, 255, 255, 0.06) !important;
}

.adm-card-btn.active {
    background-color: rgba(255, 255, 255, 0.1) !important;
    border-color: rgba(255, 255, 255, 0.15) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.adm-card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background-color: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.75);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
}

.adm-card-btn:hover .adm-card-icon {
    transform: scale(1.12) rotate(4deg) !important;
    background-color: #fca33d !important;
    color: #1e2666 !important;
}

.adm-card-btn.active .adm-card-icon {
    background-color: #fca33d !important;
    color: #1e2666 !important;
    transform: scale(1.08) !important;
}

.adm-card-text {
    flex: 1;
    text-align: left;
}

.adm-card-title {
    font-size: 0.88rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    transition: color 0.2s ease;
    display: block;
}

.adm-card-btn.active .adm-card-title {
    color: #ffffff;
}

.adm-card-arrow {
    opacity: 0;
    transform: translateX(-4px);
    transition: all 0.25s ease;
    color: #fca33d;
    display: flex;
    align-items: center;
}

.adm-card-btn:hover .adm-card-arrow,
.adm-card-btn.active .adm-card-arrow {
    opacity: 1;
    transform: translateX(0);
}

/* Sub-panels and Link panels display controls */
.adm-sub-panel,
.adm-links-panel {
    display: none;
    flex-direction: column;
    gap: 0.25rem;
    animation: admFadeIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.adm-sub-panel.active,
.adm-links-panel.active {
    display: flex;
}

/* Detail lists */
.adm-detail-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.adm-detail-links li a {
    display: block !important;
    width: 100% !important;
    text-align: left !important;
    padding: 0.65rem 0.85rem !important;
    font-size: 0.85rem !important;
    color: rgba(255, 255, 255, 0.7) !important;
    text-decoration: none !important;
    border-radius: 8px !important;
    transition: all 0.2s ease !important;
}

.adm-detail-links li a:hover {
    color: #fca33d !important;
    background-color: rgba(255, 255, 255, 0.05) !important;
    padding-left: 1.15rem !important;
}

.adm-detail-links li a.highlight-link {
    color: #ffffff !important;
    font-weight: 500;
    border-left: 2px solid #fca33d;
    border-radius: 0 8px 8px 0 !important;
    background-color: rgba(252, 163, 61, 0.05) !important;
}

.adm-detail-links li a.highlight-link:hover {
    background-color: rgba(252, 163, 61, 0.1) !important;
}

/* White Glassmorphism Theme Overrides for Desktop */
@media (min-width: 993px) {
    .nav-dropdown.admissions-mega {
        background: rgba(255, 255, 255, 0.88) !important;
        backdrop-filter: blur(25px) saturate(180%) !important;
        -webkit-backdrop-filter: blur(25px) saturate(180%) !important;
        border: 1px solid rgba(30, 38, 102, 0.08) !important;
        box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.5) !important;
    }

    .nav-dropdown.admissions-mega .adm-column:not(:last-child) {
        border-right: 1px solid rgba(30, 38, 102, 0.06) !important;
    }

    .nav-dropdown.admissions-mega .adm-col-main {
        background-color: rgba(30, 38, 102, 0.03) !important;
    }

    .nav-dropdown.admissions-mega .adm-col-sub {
        background-color: rgba(30, 38, 102, 0.01) !important;
    }

    .nav-dropdown.admissions-mega .adm-col-links {
        background-color: rgba(255, 255, 255, 0.2) !important;
    }

    .nav-dropdown.admissions-mega .dropdown-col-header {
        color: rgba(30, 38, 102, 0.5) !important;
    }

    .nav-dropdown.admissions-mega .adm-card-btn:hover {
        background-color: rgba(30, 38, 102, 0.04) !important;
        border-color: rgba(30, 38, 102, 0.06) !important;
    }

    .nav-dropdown.admissions-mega .adm-card-btn.active {
        background-color: rgba(30, 38, 102, 0.08) !important;
        border-color: rgba(30, 38, 102, 0.12) !important;
        box-shadow: 0 4px 12px rgba(30, 38, 102, 0.05) !important;
    }

    .nav-dropdown.admissions-mega .adm-card-icon {
        background-color: rgba(252, 163, 61, 0.1) !important;
        color: #e69130 !important;
    }

    .nav-dropdown.admissions-mega .adm-card-title {
        color: rgba(30, 38, 102, 0.8) !important;
    }

    .nav-dropdown.admissions-mega .adm-card-btn.active .adm-card-title {
        color: #1e2666 !important;
    }

    .nav-dropdown.admissions-mega .adm-detail-links li a {
        color: rgba(30, 38, 102, 0.7) !important;
    }

    .nav-dropdown.admissions-mega .adm-detail-links li a:hover {
        color: #fca33d !important;
        background-color: rgba(30, 38, 102, 0.04) !important;
    }

    .nav-dropdown.admissions-mega .adm-detail-links li a.highlight-link {
        color: #1e2666 !important;
        background-color: rgba(252, 163, 61, 0.08) !important;
    }

    .nav-dropdown.admissions-mega .adm-detail-links li a.highlight-link:hover {
        background-color: rgba(252, 163, 61, 0.15) !important;
    }
}

/* Admissions Mega Preview Column styles */
.adm-col-preview {
    background-color: rgba(30, 38, 102, 0.02) !important;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 1.5rem !important;
}

.adm-preview-container {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 230px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.adm-preview-card {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    opacity: 0;
    pointer-events: none;
    transform: translateY(10px) scale(0.98);
    transition: opacity 0.4s ease, transform 0.4s ease;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(30, 38, 102, 0.08);
    background: #fff;
    border: 1px solid rgba(30, 38, 102, 0.06);
}

.adm-preview-card.active {
    position: relative;
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0) scale(1);
    animation: admFadeIn 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.adm-preview-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.adm-preview-card:hover img {
    transform: scale(1.05);
}

.adm-preview-caption {
    display: none !important;
    padding: 0.85rem 1rem;
    flex-direction: column;
    gap: 0.2rem;
    background: #fff;
    text-align: left;
}

.adm-preview-caption strong {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    color: #1e2666;
    line-height: 1.2;
}

.adm-preview-caption span {
    font-size: 0.75rem;
    color: rgba(30, 38, 102, 0.65);
    line-height: 1.3;
}

@media (max-width: 992px) {
    .adm-col-preview {
        display: none !important;
    }
}

@keyframes admFadeIn {
    from {
        opacity: 0;
        transform: translateY(4px);
    }

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

@media (max-width: 992px) {
    .site-nav.active .nav-dropdown.admissions-mega {
        grid-template-columns: 1fr !important;
        width: 100% !important;
        left: 0 !important;
        transform: none !important;
        background: transparent !important;
        box-shadow: none !important;
        border: none !important;
    }

    /* Hide non-functional columns on mobile drawer */
    .site-nav.active .nav-dropdown.admissions-mega .adm-col-main,
    .site-nav.active .nav-dropdown.admissions-mega .adm-col-sub {
        display: none !important;
    }

    .site-nav.active .adm-column {
        padding: 0.5rem 0 !important;
        border-right: none !important;
        background: transparent !important;
    }

    .site-nav.active .adm-links-panel {
        display: flex !important;
        margin-bottom: 1.5rem;
    }

    .site-nav.active .adm-card-arrow {
        display: none !important;
    }
}

/* =========================================
   ADMISSIONS PAGES — SECTION STYLES
   ========================================= */

.section-subtitle {
    font-size: 1.1rem;
    color: var(--clr-text-mid);
    max-width: 600px;
    margin-bottom: 0;
    line-height: 1.65;
}

/* Steps Grid */
.admission-steps-section {
    width: 100%;
    background-color: var(--clr-white);
    padding: 6rem 0;
}

.admission-steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    margin-top: 4rem;
}

.step-card {
    padding: 3rem 2.5rem;
    border-right: 1px solid rgba(0, 0, 0, 0.06);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.25rem;
    transition: background 0.3s ease;
}

.step-card:last-child {
    border-right: none;
}

.step-card:hover {
    background: var(--clr-bg-main);
}

.step-num {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--clr-brand-orange-main);
    color: white;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.step-card h3 {
    font-size: 1.15rem;
    color: var(--clr-text-dark);
    line-height: 1.25;
}

.step-card p {
    font-size: 0.9rem;
    color: var(--clr-text-mid);
    line-height: 1.6;
}

@media (max-width: 992px) {
    .admission-steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .step-card {
        border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    }

    .step-card:nth-child(2n) {
        border-right: none;
    }
}

@media (max-width: 640px) {
    .admission-steps-grid {
        grid-template-columns: 1fr;
        border-right: none;
    }
}

/* Requirements Grid */
.requirements-section {
    width: 100%;
    background-color: var(--clr-bg-main);
    padding: 6rem 0;
}

.requirements-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}

.req-card {
    background: var(--clr-white);
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.req-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}

.req-card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.req-card-icon {
    width: 44px;
    height: 44px;
    background: rgba(30, 38, 102, 0.08);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--clr-brand-orange-main);
    flex-shrink: 0;
}

.req-card h3 {
    font-size: 1.25rem;
    color: var(--clr-text-dark);
}

.req-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.req-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.9rem;
    color: var(--clr-text-mid);
    line-height: 1.5;
}

.req-list li::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #fca33d;
    flex-shrink: 0;
    margin-top: 0.5rem;
}

@media (max-width: 768px) {
    .requirements-grid {
        grid-template-columns: 1fr;
    }
}

/* Timeline Events */
.timeline-events-section {
    width: 100%;
    background: var(--clr-white);
    padding: 6rem 0;
}

.timeline-events {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-top: 3rem;
    border-left: 2px solid rgba(30, 38, 102, 0.12);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.timeline-event {
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 2rem;
    padding: 2rem 0 2rem 2.5rem;
    position: relative;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.timeline-event:last-child {
    border-bottom: none;
}

.timeline-event::before {
    content: '';
    position: absolute;
    left: -7px;
    top: 2.3rem;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--clr-brand-orange-main);
    border: 2px solid white;
    box-shadow: 0 0 0 3px rgba(30, 38, 102, 0.15);
}

.event-date {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--clr-brand-orange-main);
    line-height: 1.3;
}

.event-info h3 {
    font-size: 1.1rem;
    color: var(--clr-text-dark);
    margin-bottom: 0.5rem;
}

.event-info p {
    font-size: 0.9rem;
    color: var(--clr-text-mid);
    line-height: 1.55;
}

.event-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.2rem 0.65rem;
    background: rgba(30, 38, 102, 0.08);
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--clr-brand-orange-main);
    margin-top: 0.5rem;
}

@media (max-width: 640px) {
    .timeline-event {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
}

/* Fees Table */
.fees-section {
    width: 100%;
    background: var(--clr-bg-main);
    padding: 6rem 0;
}

.fees-table-wrap {
    overflow-x: auto;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
    margin-top: 3rem;
}

.fees-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--clr-white);
    font-size: 0.95rem;
}

.fees-table th {
    padding: 1.25rem 1.5rem;
    background: var(--clr-brand-orange-main);
    color: white;
    font-family: var(--font-heading);
    font-weight: 600;
    text-align: left;
    font-size: 0.9rem;
    letter-spacing: 0.02em;
}

.fees-table th:first-child {
    border-radius: 16px 0 0 0;
}

.fees-table th:last-child {
    border-radius: 0 16px 0 0;
}

.fees-table td {
    padding: 1.1rem 1.5rem;
    color: var(--clr-text-dark);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    vertical-align: middle;
}

.fees-table tr:last-child td {
    border-bottom: none;
}

.fees-table tr:hover td {
    background: rgba(30, 38, 102, 0.03);
}

.fees-table td strong {
    font-weight: 600;
    color: var(--clr-brand-orange-main);
}

/* Scholarship Cards */
.scholarships-section {
    width: 100%;
    background: var(--clr-white);
    padding: 6rem 0;
}

.scholarship-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}

.scholarship-card {
    background: var(--clr-bg-main);
    border-radius: 16px;
    padding: 2.5rem 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.scholarship-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--clr-brand-orange-main);
}

.scholarship-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
}

.scholarship-card .sc-icon {
    width: 52px;
    height: 52px;
    background: rgba(30, 38, 102, 0.08);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--clr-brand-orange-main);
}

.scholarship-card h3 {
    font-size: 1.2rem;
    color: var(--clr-text-dark);
}

.scholarship-card p {
    font-size: 0.9rem;
    color: var(--clr-text-mid);
    line-height: 1.6;
    flex: 1;
}

.scholarship-badge {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    background: var(--clr-brand-orange-main);
    color: white;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 700;
}

@media (max-width: 900px) {
    .scholarship-cards-grid {
        grid-template-columns: 1fr;
    }
}

/* Event Cards */
.events-section {
    width: 100%;
    background: var(--clr-bg-main);
    padding: 6rem 0;
}

.events-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}

.event-card {
    background: var(--clr-white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.event-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.09);
}

.event-card-header {
    background: var(--clr-brand-orange-main);
    padding: 1.75rem 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    color: white;
}

.event-date-block {
    text-align: center;
    min-width: 52px;
}

.event-date-block .event-day {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
    display: block;
}

.event-date-block .event-month {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    opacity: 0.8;
}

.event-card-title {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.25;
}

.event-card-body {
    padding: 1.75rem 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    flex: 1;
}

.event-card-body p {
    font-size: 0.9rem;
    color: var(--clr-text-mid);
    line-height: 1.6;
}

.event-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.event-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.2rem 0.65rem;
    background: rgba(30, 38, 102, 0.07);
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--clr-brand-orange-main);
}

.event-card-footer {
    padding: 1.25rem 2rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.event-card-footer a {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--clr-brand-orange-main);
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    transition: gap 0.2s ease;
}

.event-card-footer a:hover {
    gap: 0.6rem;
}

@media (max-width: 900px) {
    .events-cards-grid {
        grid-template-columns: 1fr;
    }
}

/* Campus Cards */
.campus-cards-section {
    width: 100%;
    background: var(--clr-white);
    padding: 6rem 0;
}

.campus-cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.campus-card {
    background: var(--clr-bg-main);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.campus-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.1);
}

.campus-card-img {
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
}

.campus-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.campus-card:hover .campus-card-img img {
    transform: scale(1.04);
}

.campus-card-body {
    padding: 2rem;
}

.campus-card-body h3 {
    font-size: 1.35rem;
    margin-bottom: 0.5rem;
}

.campus-location {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.85rem;
    color: var(--clr-brand-orange-main);
    font-weight: 600;
    margin-bottom: 1rem;
}

.campus-card-body p {
    font-size: 0.9rem;
    color: var(--clr-text-mid);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.campus-facilities {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.facility-tag {
    padding: 0.25rem 0.65rem;
    background: rgba(30, 38, 102, 0.07);
    border-radius: 4px;
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--clr-text-dark);
}

@media (max-width: 768px) {
    .campus-cards-grid {
        grid-template-columns: 1fr;
    }
}

/* Testimonial Cards */
.testimonials-section {
    width: 100%;
    background: var(--clr-bg-main);
    padding: 6rem 0;
}

.testimonial-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}

.testimonial-card {
    background: var(--clr-white);
    border-radius: 16px;
    padding: 2.25rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.08);
}

.testimonial-quote {
    font-size: 0.95rem;
    color: var(--clr-text-mid);
    font-style: italic;
    line-height: 1.7;
    flex: 1;
    position: relative;
    padding-top: 1rem;
}

.testimonial-quote::before {
    content: '"';
    position: absolute;
    top: -0.5rem;
    left: -0.25rem;
    font-family: var(--font-heading);
    font-size: 3.5rem;
    color: #fca33d;
    opacity: 0.4;
    line-height: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.testimonial-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--clr-brand-orange-main);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    flex-shrink: 0;
}

.testimonial-author-info .author-name {
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--clr-text-dark);
    display: block;
}

.testimonial-author-info .author-role {
    font-size: 0.78rem;
    color: var(--clr-text-mid);
    display: block;
}

@media (max-width: 900px) {
    .testimonial-cards-grid {
        grid-template-columns: 1fr;
    }
}

/* Stats Banner */
.stats-banner {
    width: 100%;
    background: var(--clr-brand-orange-main);
    padding: 4rem 0;
}

.stats-banner-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
}

.stat-item .stat-number {
    font-family: var(--font-heading);
    font-size: 2.75rem;
    font-weight: 700;
    color: white;
    line-height: 1;
    display: block;
    margin-bottom: 0.5rem;
}

.stat-item .stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.75);
    font-weight: 400;
}

@media (max-width: 900px) {
    .stats-banner-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 580px) {
    .stats-banner-grid {
        grid-template-columns: 1fr;
    }
}

/* Contact Info Cards */
.contact-info-section {
    width: 100%;
    background: var(--clr-bg-main);
    padding: 6rem 0;
}

.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}

.contact-info-card {
    background: var(--clr-white);
    border-radius: 16px;
    padding: 2rem 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.05);
    text-align: center;
    align-items: center;
    transition: transform 0.3s ease;
}

.contact-info-card:hover {
    transform: translateY(-3px);
}

.contact-info-icon {
    width: 52px;
    height: 52px;
    background: rgba(30, 38, 102, 0.08);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--clr-brand-orange-main);
}

.contact-info-card h4 {
    font-size: 1rem;
    color: var(--clr-text-dark);
}

.contact-info-card p,
.contact-info-card a {
    font-size: 0.88rem;
    color: var(--clr-text-mid);
    line-height: 1.5;
    text-align: center;
}

.contact-info-card a {
    color: var(--clr-brand-orange-main);
    font-weight: 500;
}

.contact-info-card a:hover {
    text-decoration: underline;
}

@media (max-width: 900px) {
    .contact-info-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 580px) {
    .contact-info-grid {
        grid-template-columns: 1fr;
    }
}

/* Transfer Section */
.transfer-content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 3rem;
    align-items: start;
}

.transfer-text h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.transfer-text p {
    font-size: 0.95rem;
    color: var(--clr-text-mid);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.transfer-checklist {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.transfer-checklist li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.9rem;
    color: var(--clr-text-mid);
    line-height: 1.5;
}

.transfer-checklist li .check-icon {
    width: 22px;
    height: 22px;
    background: rgba(30, 38, 102, 0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fca33d;
    flex-shrink: 0;
    margin-top: 0.1rem;
}

@media (max-width: 768px) {
    .transfer-content-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
}

/* International Cards */
.international-section {
    width: 100%;
    background: var(--clr-white);
    padding: 6rem 0;
}

.international-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}

.international-card {
    background: var(--clr-bg-main);
    border-radius: 16px;
    padding: 2.25rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

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

.international-card .ic-icon {
    color: var(--clr-brand-orange-main);
    margin-bottom: 1.25rem;
}

.international-card h3 {
    font-size: 1.15rem;
    margin-bottom: 0.75rem;
}

.international-card p {
    font-size: 0.9rem;
    color: var(--clr-text-mid);
    line-height: 1.65;
}

@media (max-width: 900px) {
    .international-grid {
        grid-template-columns: 1fr;
    }
}

/* Hub Tiles */
.adm-hub-tiles {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: rgba(0, 0, 0, 0.06);
    margin-top: 0;
}

.adm-hub-tile {
    background: var(--clr-bg-main);
    padding: 3rem 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    text-decoration: none;
    transition: background 0.3s ease;
}

.adm-hub-tile:hover {
    background: var(--clr-white);
}

.adm-hub-tile .tile-icon {
    color: var(--clr-brand-orange-main);
    margin-bottom: 0.5rem;
}

.adm-hub-tile h3 {
    font-size: 1.2rem;
    color: var(--clr-text-dark);
    transition: color 0.3s ease;
}

.adm-hub-tile:hover h3 {
    color: var(--clr-brand-orange-main);
}

.adm-hub-tile p {
    font-size: 0.88rem;
    color: var(--clr-text-mid);
    line-height: 1.6;
}

.adm-hub-tile .tile-arrow {
    font-size: 1.2rem;
    color: var(--clr-brand-orange-main);
    margin-top: auto;
    padding-top: 1rem;
}

@media (max-width: 900px) {
    .adm-hub-tiles {
        grid-template-columns: 1fr;
    }
}

/* Breadcrumb */
.page-breadcrumb {
    padding: 1rem 4rem;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.65);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    position: absolute;
    bottom: 2.5rem;
    left: 0;
}

.page-breadcrumb a {
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
}

.page-breadcrumb a:hover {
    color: white;
}

.page-breadcrumb .bc-sep {
    opacity: 0.4;
}

.page-breadcrumb .bc-current {
    color: rgba(255, 255, 255, 0.9);
}

/* ── Testimonials Infinite Marquee ────────────────────────────────────────── */
.testimonials-marquee-section {
    width: 100%;
    padding: 6rem 0;
    background: var(--clr-bg-main);
    overflow: hidden;
    position: relative;
}

.testimonials-marquee-section .section-header {
    margin-bottom: 4rem;
}

.testimonials-marquee-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    position: relative;
    width: 100%;
    padding: 1rem 0;
}

/* Gradient fading overlays at the edges */
.testimonials-marquee-section::before,
.testimonials-marquee-section::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 15%;
    z-index: 2;
    pointer-events: none;
}

.testimonials-marquee-section::before {
    left: 0;
    background: linear-gradient(90deg, var(--clr-bg-main) 0%, rgba(247, 245, 242, 0) 100%);
}

.testimonials-marquee-section::after {
    right: 0;
    background: linear-gradient(-90deg, var(--clr-bg-main) 0%, rgba(247, 245, 242, 0) 100%);
}

.marquee-row {
    display: flex;
    gap: 2rem;
    width: max-content;
    white-space: nowrap;
}

.marquee-row.left-to-right {
    animation: marquee-ltr 60s linear infinite;
}

.marquee-row.right-to-left {
    animation: marquee-rtl 60s linear infinite;
}

/* Pause scroll animation on hover so users can read the cards */
.marquee-row:hover {
    animation-play-state: paused;
}

.marquee-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 360px;
    background: var(--clr-white);
    border-radius: 16px;
    padding: 2.25rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.04);
    flex-shrink: 0;
    white-space: normal;
    /* Restore normal wrap within the card */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.marquee-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.08);
}

.marquee-stars {
    display: flex;
    gap: 0.25rem;
    color: #fca33d;
    margin-bottom: 0.85rem;
    font-size: 1.1rem;
}

.marquee-quote {
    font-size: 0.94rem;
    color: var(--clr-text-mid);
    line-height: 1.65;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.marquee-author {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.marquee-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--clr-brand-orange-main);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    flex-shrink: 0;
}

.marquee-avatar.color-bts {
    background-color: #F25757;
}

.marquee-avatar.color-bachelor {
    background-color: #fca33d;
}

.marquee-avatar.color-bba {
    background-color: #3b82f6;
}

.marquee-avatar.color-msc {
    background-color: #8b5cf6;
}

.marquee-avatar.color-fle {
    background-color: #10b981;
}

.marquee-author-info .author-name {
    font-weight: 700;
    font-size: 0.92rem;
    color: var(--clr-text-dark);
    display: block;
    margin-bottom: 0.15rem;
}

.marquee-author-info .author-role {
    font-size: 0.78rem;
    color: var(--clr-text-mid);
    display: block;
}

/* Keyframes for smooth infinite scrolling */
@keyframes marquee-ltr {
    0% {
        transform: translateX(0);
    }

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

@keyframes marquee-rtl {
    0% {
        transform: translateX(-50%);
    }

    100% {
        transform: translateX(0);
    }
}

/* ── Program Families Selector Tabs ───────────────────────────────────────── */
.program-families-tabs-container {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto 3rem;
    display: flex;
    justify-content: center;
    padding: 0 1.5rem;
}

.program-families-tabs {
    display: flex;
    gap: 0.5rem;
    background: rgba(0, 0, 0, 0.03);
    padding: 0.4rem;
    border-radius: 50px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    flex-wrap: wrap;
    justify-content: center;
}

.program-families-tabs .tab-btn {
    border: none;
    background: transparent;
    padding: 0.65rem 1.5rem;
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--clr-text-mid);
    cursor: pointer;
    border-radius: 50px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: var(--font-heading);
}

.program-families-tabs .tab-btn:hover {
    color: var(--clr-brand-orange-main);
}

.program-families-tabs .tab-btn.active {
    background: var(--clr-brand-orange-main);
    color: white;
    box-shadow: 0 4px 15px rgba(242, 87, 87, 0.2);
}

/* =========================================
   Partnership Page Styles
   ========================================= */

.site-nav a.active {
    background-color: #e69130 !important;
    color: var(--clr-white) !important;
}

/* 1. Why Become a Partner */
.why-partner-section {
    padding: 6rem 0;
    background-color: var(--clr-white);
}

.why-partner-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

@media (max-width: 1024px) {
    .why-partner-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .why-partner-grid {
        grid-template-columns: 1fr;
    }
}

.why-card {
    background: var(--clr-bg-main);
    padding: 3rem 2rem;
    border-radius: 16px;
    text-align: center;
    transition: transform 0.4s var(--anim-curve), box-shadow 0.4s var(--anim-curve), background-color 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.why-card:hover {
    transform: translateY(-8px);
    background-color: var(--clr-white);
    box-shadow: 0 15px 35px rgba(30, 38, 102, 0.08);
    border-color: rgba(30, 38, 102, 0.1);
}

.why-card-icon {
    color: #e69130;
    margin-bottom: 1.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(230, 145, 48, 0.1);
}

.why-card h3 {
    font-size: 1.25rem;
    font-family: var(--font-heading);
    margin-bottom: 1rem;
    color: var(--clr-brand-orange-main);
}

.why-card p {
    font-size: 0.92rem;
    color: var(--clr-text-mid);
    line-height: 1.6;
}

/* 2. Partnership Categories */
.partner-categories-section {
    padding: 6rem 0;
    background-color: var(--clr-bg-main);
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

@media (max-width: 900px) {
    .categories-grid {
        grid-template-columns: 1fr;
    }
}

.category-card {
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    padding: 3.5rem 2.5rem;
    border-radius: 16px;
    transition: transform 0.4s var(--anim-curve), box-shadow 0.4s var(--anim-curve), border-color 0.3s ease;
    display: flex;
    flex-direction: column;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
    border-color: rgba(30, 38, 102, 0.15);
}

.category-card h3 {
    font-size: 1.4rem;
    font-family: var(--font-heading);
    color: var(--clr-brand-orange-main);
    margin-bottom: 1.25rem;
    position: relative;
    padding-bottom: 0.75rem;
}

.category-card h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background-color: #e69130;
    border-radius: 2px;
}

.category-card p {
    font-size: 0.95rem;
    color: var(--clr-text-mid);
    line-height: 1.6;
    margin-bottom: 2rem;
}

.category-list {
    list-style: none;
    padding: 0;
    margin-top: auto;
}

.category-list li {
    font-size: 0.92rem;
    color: var(--clr-text-dark);
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
}

.category-list li::before {
    content: '✓';
    color: #e69130;
    font-weight: bold;
}

/* 3. Collaboration Process */
.collab-timeline-section {
    padding: 6rem 0;
    background-color: var(--clr-white);
    overflow: hidden;
}

.timeline-container {
    position: relative;
    margin-top: 4rem;
    display: flex;
    justify-content: space-between;
    gap: 1.5rem;
}

.timeline-container::before {
    content: '';
    position: absolute;
    top: 32px;
    left: 0;
    width: 100%;
    height: 2px;
    background: rgba(30, 38, 102, 0.1);
    z-index: 1;
}

.timeline-step {
    flex: 1;
    position: relative;
    z-index: 2;
    text-align: center;
}

.timeline-node {
    width: 64px;
    height: 64px;
    background: var(--clr-white);
    border: 3px solid var(--clr-brand-orange-main);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--clr-brand-orange-main);
    margin: 0 auto 1.5rem auto;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.timeline-step:hover .timeline-node {
    background: #e69130;
    color: var(--clr-white);
    border-color: #e69130;
}

.timeline-step h3 {
    font-size: 1.15rem;
    font-family: var(--font-heading);
    color: var(--clr-brand-orange-main);
    margin-bottom: 0.75rem;
}

.timeline-step p {
    font-size: 0.88rem;
    color: var(--clr-text-mid);
    line-height: 1.5;
    max-width: 260px;
    margin: 0 auto;
}

@media (max-width: 900px) {
    .timeline-container {
        flex-direction: column;
        gap: 3rem;
    }

    .timeline-container::before {
        display: none;
    }

    .timeline-step {
        text-align: left;
        display: flex;
        align-items: flex-start;
        gap: 1.5rem;
    }

    .timeline-node {
        margin: 0;
        flex-shrink: 0;
    }

    .timeline-step p {
        margin: 0;
        max-width: none;
    }
}

/* 4. Collaboration Opportunities */
.opportunities-section {
    padding: 6rem 0;
    background-color: var(--clr-bg-main);
}

.opp-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.25rem;
    margin-top: 3rem;
}

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

@media (max-width: 768px) {
    .opp-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .opp-grid {
        grid-template-columns: 1fr;
    }
}

.opp-card {
    background: var(--clr-white);
    padding: 2.5rem 1.5rem;
    border-radius: 12px;
    text-align: center;
    border: 1px solid rgba(0, 0, 0, 0.02);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.02);
    transition: transform 0.4s var(--anim-curve), box-shadow 0.4s var(--anim-curve);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.opp-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(30, 38, 102, 0.05);
}

.opp-icon {
    color: #e69130;
    margin-bottom: 1.25rem;
}

.opp-card h3 {
    font-size: 1.1rem;
    font-family: var(--font-heading);
    color: var(--clr-brand-orange-main);
    margin-bottom: 0.75rem;
}

.opp-card p {
    font-size: 0.85rem;
    color: var(--clr-text-mid);
    line-height: 1.5;
}

/* 5. Logo Carousel */
.logo-carousel-container {
    overflow: hidden;
    padding: 4rem 0;
    background: var(--clr-white);
    position: relative;
    width: 100%;
}

.logo-carousel-container::before,
.logo-carousel-container::after {
    content: "";
    position: absolute;
    top: 0;
    width: 150px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.logo-carousel-container::before {
    left: 0;
    background: linear-gradient(to right, var(--clr-white) 0%, transparent 100%);
}

.logo-carousel-container::after {
    right: 0;
    background: linear-gradient(to left, var(--clr-white) 0%, transparent 100%);
}

.logo-carousel-track {
    display: flex;
    width: calc(250px * 14);
    animation: scrollLogos 30s linear infinite;
}

.logo-carousel-track:hover {
    animation-play-state: paused;
}

.logo-item {
    width: 250px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 2rem;
    flex-shrink: 0;
}

.logo-item svg {
    height: 40px;
    max-width: 100%;
    fill: var(--clr-text-mid);
    opacity: 0.45;
    transition: opacity 0.3s ease, fill 0.3s ease;
}

.logo-item:hover svg {
    opacity: 0.9;
    fill: var(--clr-brand-orange-main);
}

@keyframes scrollLogos {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-250px * 7));
    }
}

/* ==========================================================================
   Quick Feedback Widget (Global)
   ========================================================================== */

.cs-feedback-container {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    pointer-events: none;
    /* Let clicks pass through container */
    font-family: var(--font-body, system-ui, sans-serif);
}

@media (max-width: 768px) {
    .cs-feedback-container {
        bottom: 1.5rem;
        right: 1.5rem;
    }
}

.cs-feedback-trigger {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    background: var(--clr-brand-orange-main, #ea5b0c);
    color: #fff;
    border: none;
    box-shadow: 0 10px 25px rgba(234, 91, 12, 0.4);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: auto;
    transition: background 0.3s ease, transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s ease;
}

.cs-feedback-trigger:hover {
    background: var(--clr-brand-orange-dark, #cc4e08);
}

.cs-feedback-trigger svg {
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    width: 24px;
    height: 24px;
}

.cs-feedback-trigger.is-hidden {
    transform: scale(0) !important;
    opacity: 0;
    animation: none !important;
}

/* Perfect pulse animation to make it feel alive */
@keyframes pulseAlive {
    0% {
        transform: scale(1);
        box-shadow: 0 10px 25px rgba(234, 91, 12, 0.4), 0 0 0 0 rgba(234, 91, 12, 0.7);
    }

    50% {
        transform: scale(1.05);
        box-shadow: 0 10px 25px rgba(234, 91, 12, 0.4), 0 0 0 12px rgba(234, 91, 12, 0);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 10px 25px rgba(234, 91, 12, 0.4), 0 0 0 0 rgba(234, 91, 12, 0);
    }
}

.cs-feedback-trigger {
    animation: pulseAlive 2.5s infinite ease-in-out;
}

.cs-feedback-trigger:hover {
    animation: none;
    transform: scale(1.1);
    box-shadow: 0 12px 30px rgba(234, 91, 12, 0.6);
}

.cs-feedback-modal {
    width: 420px;
    max-height: 85vh;
    overflow-y: auto;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(0, 0, 0, 0.05);
    margin-bottom: 1rem;
    pointer-events: auto;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);

    /* Animation state */
    opacity: 0;
    transform: translateY(20px) scale(0.95);
    transition: opacity 0.3s ease, transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    transform-origin: bottom right;

    /* Initially hidden via CSS block */
    display: none;
}

.cs-feedback-modal.is-open {
    display: block;
}

.cs-feedback-modal.is-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

@media (max-width: 400px) {
    .cs-feedback-modal {
        width: calc(100vw - 3rem);
    }
}

.cs-feedback-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.cs-feedback-title {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--clr-text-dark, #111);
    margin: 0;
}

.cs-feedback-close {
    background: none;
    border: none;
    color: var(--clr-text-mid, #666);
    cursor: pointer;
    padding: 0.25rem;
    border-radius: 50%;
    display: flex;
    transition: all 0.2s ease;
}

.cs-feedback-close:hover {
    background: rgba(0, 0, 0, 0.05);
    color: var(--clr-text-dark, #111);
}

.cs-feedback-body {
    padding: 1.5rem;
}

.cs-feedback-emojis {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.cs-feedback-emoji {
    background: none;
    border: none;
    font-size: 1.75rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.2s;
    filter: grayscale(100%) opacity(0.6);
}

.cs-feedback-emoji:hover {
    transform: scale(1.2);
    filter: grayscale(0%) opacity(1);
    background: rgba(0, 0, 0, 0.03);
}

.cs-feedback-emoji.selected {
    transform: scale(1.25);
    filter: grayscale(0%) opacity(1);
    background: rgba(234, 91, 12, 0.1);
    /* Primary dim */
}

.cs-feedback-details {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 1.25rem;
    overflow: hidden;

    /* Animation for expanding */
    max-height: 0;
    opacity: 0;
    transition: max-height 0.4s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.3s ease;
}

.cs-feedback-details.is-visible {
    max-height: 300px;
    /* Arbitrary large height to allow expansion */
    opacity: 1;
}

.cs-feedback-input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    background: #fff;
    color: var(--clr-text-dark, #111);
    font-family: inherit;
    font-size: 0.9rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.cs-feedback-input:focus {
    outline: none;
    border-color: var(--clr-brand-orange-main, #ea5b0c);
    box-shadow: 0 0 0 3px rgba(234, 91, 12, 0.15);
}

.cs-feedback-textarea {
    resize: vertical;
    min-height: 80px;
}

.cs-feedback-submit {
    width: 100%;
    margin-top: 0.5rem;
    font-size: 0.95rem;
    padding: 0.75rem;
    background: var(--clr-brand-orange-main, #ea5b0c);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.cs-feedback-submit:hover {
    background: var(--clr-brand-orange-dark, #cc4e08);
}

.cs-feedback-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.cs-feedback-success {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1rem 0;

    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.3s ease, transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.cs-feedback-success.is-visible {
    opacity: 1;
    transform: scale(1);
}

.cs-feedback-success-icon {
    color: #10B981;
    /* Emerald green */
    margin-bottom: 1rem;
    width: 48px;
    height: 48px;
}

.cs-feedback-success h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: var(--clr-text-dark, #111);
}

.cs-feedback-success p {
    font-size: 0.9rem;
    color: var(--clr-text-mid, #666);
}

/* ==========================================================================
   Testimonial Section (Fazia Bouzidi)
   ========================================================================== */
.testimonial-section {
    background-color: var(--clr-bg-alt);
    /* Soft cream/transparent background */
    width: 100%;
}

.testimonial-container {
    display: flex;
    justify-content: center;
    padding: 0 1rem;
}

.testimonial-card {
    background-color: #f8fafc;
    /* Soft desaturated off-white/light grey-blue */
    border-radius: 24px;
    padding: 4rem;
    max-width: 900px;
    width: 100%;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.02);
}

.testimonial-quote-mark {
    font-family: var(--font-heading), serif;
    font-size: 6rem;
    color: var(--clr-brand-blue);
    line-height: 0.8;
    margin-bottom: 0.5rem;
    margin-top: -1rem;
    font-weight: 700;
}

.testimonial-content {
    font-size: 1.15rem;
    color: var(--clr-text-dark);
    line-height: 1.7;
    margin-bottom: 2.5rem;
    font-weight: 500;
}

.testimonial-content p {
    margin-bottom: 1.2rem;
}

.testimonial-content p:last-child {
    margin-bottom: 0;
}

.testimonial-author-row {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding-top: 2rem;
}

.testimonial-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #e2e8f0;
    flex-shrink: 0;
}

.testimonial-author-info {
    display: flex;
    flex-direction: column;
}

.testimonial-author-name {
    text-transform: uppercase;
    font-weight: 700;
    color: var(--clr-text-dark);
    font-size: 1.05rem;
    letter-spacing: 0.5px;
    margin-bottom: 2px;
}

.testimonial-author-role {
    color: var(--clr-text-mid);
    font-size: 0.9rem;
    margin-bottom: 2px;
}

.testimonial-author-company {
    color: var(--clr-brand-blue);
    font-weight: 600;
    font-size: 0.95rem;
}

@media (max-width: 768px) {
    .testimonial-card {
        padding: 2.5rem;
        border-radius: 16px;
    }

    .testimonial-content {
        font-size: 1.05rem;
    }

    .testimonial-avatar {
        width: 60px;
        height: 60px;
    }
}

/* Custom Checkbox Invalid State */
.checkbox-invalid {
    position: relative;
    flex-wrap: wrap;
}

.checkbox-invalid input[type="checkbox"] {
    outline: 2px solid #dc3545;
    outline-offset: 2px;
}

.checkbox-invalid .checkmark {
    border-color: #dc3545 !important;
    background-color: rgba(220, 53, 69, 0.1) !important;
}

.checkbox-invalid .checkbox-text,
.checkbox-invalid label[for="rgpd"],
.checkbox-invalid label[for="p-rgpd"] {
    color: #dc3545 !important;
}

.checkbox-invalid::before {
    content: "⚠ Veuillez accepter la politique de confidentialité pour envoyer le formulaire.";
    display: block;
    width: 100%;
    background-color: #fef0f0;
    color: #dc3545;
    border: 1px solid #f5c6cb;
    padding: 10px 15px;
    border-radius: 8px;
    margin-bottom: 15px;
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.08);
}

html[lang="en"] .checkbox-invalid::before {
    content: "⚠ Please accept the privacy policy to submit the form.";
}

/* CECRL Progression Bar */
.cecrl-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem 0;
}

.cecrl-bar {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cecrl-line {
    position: absolute;
    top: 25px;
    left: 40px;
    right: 40px;
    height: 4px;
    background: rgba(230, 145, 48, 0.2);
    z-index: 0;
}

.cecrl-progress-line {
    position: absolute;
    top: 25px;
    left: 40px;
    height: 4px;
    background: var(--clr-brand-orange-main);
    z-index: 1;
    width: 0%;
    transition: width 0.5s ease;
}

.cecrl-step {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 80px;
}

.cecrl-node {
    width: 54px;
    height: 54px;
    background: var(--clr-white);
    border: 3px solid rgba(230, 145, 48, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px auto;
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--clr-text-mid);
    transition: all 0.3s ease;
}

.cecrl-step.active .cecrl-node {
    border-color: var(--clr-brand-orange-main);
    background: var(--clr-brand-orange-main);
    color: var(--clr-white);
    box-shadow: 0 4px 15px rgba(230, 145, 48, 0.3);
    transform: scale(1.1);
}

.cecrl-step.passed .cecrl-node {
    border-color: var(--clr-brand-orange-main);
    color: var(--clr-brand-orange-main);
}

.cecrl-label {
    font-size: 0.85rem;
    color: var(--clr-text-light);
    font-weight: 500;
}

.cecrl-step.active .cecrl-label, .cecrl-step.passed .cecrl-label {
    color: var(--clr-brand-blue);
}

@media (max-width: 768px) {
    .cecrl-bar {
        flex-direction: column;
        align-items: flex-start;
        padding-left: 20px;
    }
    
    .cecrl-line {
        top: 0;
        bottom: 0;
        left: 45px;
        width: 4px;
        height: 100%;
        right: auto;
    }
    
    .cecrl-progress-line {
        top: 0;
        left: 45px;
        width: 4px;
        height: 0%;
        transition: height 0.5s ease;
    }
    
    .cecrl-step {
        display: flex;
        align-items: center;
        width: 100%;
        margin-bottom: 2rem;
        text-align: left;
    }
    
    .cecrl-node {
        margin: 0 1.5rem 0 0;
    }
}
/* Evaluation Cards UI */
.eval-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.eval-card {
    background: var(--clr-white);
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
}

.eval-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: linear-gradient(90deg, var(--clr-brand-orange-main), var(--clr-brand-blue));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.eval-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(30, 38, 102, 0.1);
}

.eval-card:hover::before {
    transform: scaleX(1);
}

.eval-step-number {
    font-family: var(--font-display);
    font-size: 4rem;
    font-weight: 800;
    color: rgba(30, 38, 102, 0.05);
    position: absolute;
    top: 1rem;
    right: 2rem;
    line-height: 1;
    user-select: none;
}

.eval-card-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.eval-icon-wrapper {
    width: 60px;
    height: 60px;
    background: rgba(230, 145, 48, 0.1);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--clr-brand-orange-main);
    flex-shrink: 0;
}

.eval-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--clr-brand-blue);
    font-weight: 700;
    line-height: 1.3;
}

.eval-section {
    margin-bottom: 1.5rem;
}

.eval-section-title {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
    color: var(--clr-brand-orange-main);
    margin-bottom: 0.5rem;
}

.eval-objective {
    font-size: 1.05rem;
    color: var(--clr-text-main);
    line-height: 1.6;
    margin-bottom: 2rem;
}

.eval-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.eval-list li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 1rem;
    color: var(--clr-text-mid);
    line-height: 1.5;
}

.eval-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--clr-brand-blue);
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

.eval-card:hover .eval-list li::before {
    opacity: 1;
    background: var(--clr-brand-orange-main);
}

@media (max-width: 768px) {
    .eval-card-grid {
        grid-template-columns: 1fr;
    }
    .eval-card {
        padding: 2rem;
    }
}

/* Sticky Stacking Cards UI */
.eval-card-stack {
    display: flex;
    flex-direction: column;
    gap: 6rem;
    margin-top: 4rem;
    margin-bottom: 6rem;
    position: relative;
    padding-bottom: 4rem;
}

.eval-card-stack .eval-card {
    position: sticky;
    top: calc(100px + (var(--index) - 1) * 30px);
    background: var(--clr-white);
    border-radius: 24px;
    padding: 3.5rem;
    /* Add top shadow to create depth when cards overlap */
    box-shadow: 0 -15px 40px rgba(0, 0, 0, 0.04), 0 20px 40px rgba(30, 38, 102, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.05);
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    transition: box-shadow 0.4s ease, transform 0.4s ease;
    z-index: var(--index);
    /* For a smoother look when stacked */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.eval-card-stack .eval-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 -15px 40px rgba(0, 0, 0, 0.05), 0 30px 60px rgba(30, 38, 102, 0.1);
}

@media (max-width: 768px) {
    .eval-card-stack .eval-card {
        padding: 2.5rem 1.5rem;
        top: calc(80px + (var(--index) - 1) * 20px);
    }
    .eval-card-stack {
        gap: 3rem;
    }
}

/* New Feedback Survey Styles */
.cs-feedback-survey-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.cs-feedback-field {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.cs-feedback-field label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--clr-brand-blue);
}

.cs-feedback-rating-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 0.75rem;
    background: rgba(0, 0, 0, 0.02);
    border-radius: 8px;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.cs-feedback-rating-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--clr-text-main);
    line-height: 1.3;
}

/* Star Rating System */
.cs-star-rating {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
}

.cs-star-rating input {
    display: none;
}

.cs-star-rating label {
    cursor: pointer;
    width: 28px;
    height: 28px;
    margin-right: 4px;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%23ccc" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polygon points="12 2 15.09 8.26 22 9.27 17 14.14 18.18 21.02 12 17.77 5.82 21.02 7 14.14 2 9.27 8.91 8.26 12 2"></polygon></svg>');
    background-size: cover;
    transition: all 0.2s ease;
}

/* Hover and Checked states */
.cs-star-rating input:checked ~ label,
.cs-star-rating label:hover,
.cs-star-rating label:hover ~ label {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23fca33d" stroke="%23fca33d" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polygon points="12 2 15.09 8.26 22 9.27 17 14.14 18.18 21.02 12 17.77 5.82 21.02 7 14.14 2 9.27 8.91 8.26 12 2"></polygon></svg>');
    transform: scale(1.1);
}

.cs-feedback-actions {
    margin-top: 0.5rem;
}

/* PSH Link styling in program cards */
.psh-link { color: inherit; text-decoration: underline; text-underline-offset: 3px; transition: color 0.3s ease; }
.psh-link:hover { color: var(--clr-brand-orange-main); text-decoration-color: var(--clr-brand-orange-main); }
