@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,700;1,400&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
    /* --- NEW PREMIUM PASTEL DESIGN SYSTEM --- */
    
    /* Lavender (Main Branding) */
    --pastel-lavender: #F3E5F5;
    --pastel-lavender-deep: #5D34A5;
    --pastel-lavender-rich: #311B92;
    
    /* Mint (Growth & Freshness) */
    --pastel-mint: #E8F5E9;
    --pastel-mint-deep: #2E7D32;
    
    /* Peach (Warmth & Energy) */
    --pastel-peach: #FFF3E0;
    --pastel-peach-deep: #E65100;
    
    /* Sky Blue (Calm & Trust) */
    --pastel-sky: #E3F2FD;
    --pastel-sky-deep: #1565C0;
    
    /* Lemon (Radiance) */
    --pastel-lemon: #FFFDE7;
    --pastel-lemon-deep: #F9A825;
    
    /* Rose (Softness & Care) */
    --pastel-rose: #FCE4EC;
    --pastel-rose-deep: #AD1457;

    /* Cream & Soft Tints */
    --pastel-cream: #FFF9C4;
    --pastel-white: #FBFAFF;
    
    /* Core Semantic Tokens (Overwritten with Pastels) */
    --color-primary: var(--pastel-lavender-deep);
    --color-primary-light: var(--pastel-lavender);
    --color-primary-lighter: var(--pastel-white);
    --color-primary-dark: var(--pastel-lavender-rich);
    --color-heading: var(--pastel-lavender-rich);
    
    --color-secondary: var(--pastel-rose-deep);
    --color-secondary-light: var(--pastel-rose);
    --color-accent: var(--pastel-sky-deep);
    --color-accent-light: var(--pastel-sky);
    --color-orange: var(--pastel-peach-deep);
    --color-orange-light: var(--pastel-peach);
    
    /* Neutral / Structural */
    --color-bg-light: var(--pastel-white);
    --color-bg-card: #FFFFFF;
    --color-bg-dark-card: #2D2D2D;
    --color-bg-alt: #f0eff5;
    --color-text: #2D2D2D;
    --color-text-light: #545454;
    --color-text-on-dark: #F3F3F3;
    --color-border: #e8e6ef;
    
    /* Typography */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    --font-size-sub: 1.1rem;
    --font-size-small: 0.95rem;
    
    /* Utilities */
    --transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
    --shadow-soft: 0 4px 15px rgba(107, 91, 149, 0.05);
    --shadow-card: 0 12px 35px rgba(107, 91, 149, 0.08);
    --shadow-hover: 0 20px 50px rgba(107, 91, 149, 0.15);
    --radius-card: 20px;
    --radius-button: 12px;
}

/* --- THEME UTILITY CLASSES --- */
.theme-lavender { --theme-color: var(--pastel-lavender-deep); --theme-light: var(--pastel-lavender); --theme-dark: var(--pastel-lavender-rich); }
.theme-mint { --theme-color: var(--pastel-mint-deep); --theme-light: var(--pastel-mint); --theme-dark: #1b5e20; }
.theme-peach { --theme-color: var(--pastel-peach-deep); --theme-light: var(--pastel-peach); --theme-dark: #bf360c; }
.theme-sky { --theme-color: var(--pastel-sky-deep); --theme-light: var(--pastel-sky); --theme-dark: #0d47a1; }
.theme-rose { --theme-color: var(--pastel-rose-deep); --theme-light: var(--pastel-rose); --theme-dark: #880e4f; }
.theme-lemon { --theme-color: var(--pastel-lemon-deep); --theme-light: var(--pastel-lemon); --theme-dark: #f57f17; }

/* Botanical Decorations */
.testi-decor {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0; left: 0;
    pointer-events: none;
    z-index: 1;
}

.decor-leaf {
    position: absolute;
    opacity: 0.1;
    color: var(--color-primary);
}

.leaf-1 { top: 5%; left: -8%; font-size: 18rem; transform: rotate(45deg); }
.leaf-2 { bottom: 5%; right: -8%; font-size: 15rem; transform: rotate(-135deg); }

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-padding-top: 110px; /* Offset for fixed navbar during anchor scrolling */
    scroll-behavior: smooth;
}

html, body {
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: var(--font-body);
    color: var(--color-text);
    background-color: var(--color-bg-light);
    line-height: 1.7;
    padding-top: 80px; /* Adjusted for smaller navbar */
}

p {
    font-size: var(--font-size-sub);
    margin-bottom: 1.5rem;
}

h1, h2, h3, h4, .logo {
    font-family: var(--font-heading);
    color: var(--color-heading);
    font-weight: 700;
}

span{
    padding:5px 5px;
}
a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 2rem;
}

.relative-container {
    position: relative;
    z-index: 2;
}

/* NAVBAR */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 0.8rem 0; /* Decreased padding for more compact navbar */
    z-index: 1000;
    background-color: #f9fbfa;
    /* background: transparent; */
    /* background: rgba(255, 255, 255, 0.85); Slightly more transparent */
    box-shadow: 0 4px 30px rgba(93, 52, 165, 0.08); /* Premium shadow using primary color */
    backdrop-filter: blur(16px); /* Stronger blur for glass effect */
    -webkit-backdrop-filter: blur(16px);
    transition: var(--transition);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1320px; /* Increased from 1240px for more room */
    padding: 0 1.2rem;   /* Decreased from 2rem to save space on sides */
}

.logo {
    font-size: 2.1rem; /* Slightly smaller for compact navbar */
    font-style: italic;
    color: var(--color-primary);
    letter-spacing: -0.8px; /* Tighter letter spacing */
    font-weight: 800;
    text-shadow: 0 2px 4px rgba(93, 52, 165, 0.1);
    display: flex;
    align-items: center;
}

.logo-img {
    height: 60px;
    width: auto;
    object-fit: contain;
    transition: var(--transition);
}

.nav-links {
    display: flex;
    gap: 1.5rem; /* Reduced from 2rem to prevent wrapping */
    align-items: center;
}

.nav-links a:not(.btn) {
    font-size: var(--font-size-small);
    font-weight: 600; /* Bolder */
    color: var(--color-heading);
    position: relative;
    opacity: 0.85;
    text-transform: capitalize;
    letter-spacing: 0.3px;
    white-space: nowrap;
    transition: color 0.3s ease, opacity 0.3s ease;
}

.nav-links a:not(.btn):hover, .nav-links a.active:not(.btn) {
    opacity: 1;
    color: var(--color-primary);
}

.nav-links a:not(.btn)::after {
    content: '';
    position: absolute;
    width: 0;
    height: 3px; /* Thicker underline */
    bottom: -8px;
    left: 50%; /* Center the underline animation */
    transform: translateX(-50%);
    background-color: var(--color-secondary); /* Use vibrant pink */
    border-radius: 2px;
    transition: width 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.nav-links a:not(.btn):hover::after, .nav-links a.active:not(.btn)::after {
    width: 100%; /* Full width on hover */
}

.nav-btn {
    padding: 0.6rem 1.6rem !important; /* Smaller button to fit compact navbar */
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    border-radius: 30px; /* Pill-shaped button for modern look */
}

/* --- ULTIMATE NAVBAR STABILIZER --- */
#google_translate_element {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    width: 180px !important;    /* Absolute fixed width */
    min-width: 180px !important; 
    height: 42px !important;
    overflow: hidden !important; /* Never let it push other things */
    flex-shrink: 0 !important;
    position: relative;
    z-index: 10;
}

.goog-te-gadget-simple {
    background: #ffffff !important;
    border: 1px solid var(--color-border) !important;
    padding: 6px 7px !important;
    border-radius: 50px !important;
    font-family: var(--font-body) !important;
    font-size: 0.75rem !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    transition: var(--transition) !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03) !important;
    width: 100% !important;
    height: 34px !important;
    white-space: nowrap !important;
    box-sizing: border-box !important;
}

.goog-te-gadget-simple:hover {
    border-color: var(--color-primary) !important;
    background: var(--pastel-white) !important;
}

/* Stable Icon & Text Placeholder - Force hiding "Select Language" */
.goog-te-menu-value span {
    font-size: 0 !important; 
    border-left: none !important;
}

.goog-te-menu-value span:first-child::before {
    content: '\f1ab';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    margin-right: 8px;
    font-size: 1rem;
    color: var(--color-primary);
    vertical-align: middle;
}

.goog-te-menu-value span:first-child::after {
    content: 'HI / EN' !important;
    font-size: 0.8rem !important;
    font-weight: 700 !important;
    color: var(--color-text) !important;
    vertical-align: middle !important;
    letter-spacing: 0.5px !important;
    display: inline-block !important;
}

/* Hide Unstable Elements Immediately */
.goog-te-gadget-icon, 
.goog-te-banner-frame.skiptranslate,
.goog-te-gadget-simple img,
#google_translate_element > div > span {
    display: none !important;
}

/* Reset Body Shifts */
body {
    top: 0px !important;
    position: static !important;
}

.goog-te-menu-frame {
    box-shadow: 0 15px 45px rgba(0,0,0,0.15) !important;
    border: 1px solid rgba(0,0,0,0.05) !important;
    border-radius: 12px !important;
    margin-top: 10px !important;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    flex-shrink: 0;
    justify-content: flex-end;
    min-width: 280px; /* Reserve enough space for Toggle + Contact button */
}

@media (max-width: 1100px) {
    .nav-actions {
        min-width: auto;
        gap: 0.8rem;
    }
    #google_translate_element {
        width: 120px !important;
        min-width: 120px !important;
    }
    .goog-te-menu-value span:first-child::after {
        content: 'Translate' !important;
        font-size: 0.65rem !important;
    }
}

/* --- DUPLICATE BUTTON CLEANUP --- */
/* Hide the version in 'nav-links' by default (Desktop) */
.nav-links .nav-btn {
    display: none !important;
}

/* Ensure actions version is visible on Desktop */
.nav-actions .nav-btn {
    display: inline-flex !important;
}

@media (max-width: 1100px) {
    /* Swap on Mobile: Hide actions version, show menu version */
    .nav-links .nav-btn {
        display: flex !important;
        width: 100%;
        margin-top: 1rem;
    }
    .nav-actions .nav-btn {
        display: none !important;
    }
}



/* DROPDOWN */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: white;
    min-width: 220px;
    box-shadow: var(--shadow-card);
    border-radius: 12px;
    padding: 1rem 0;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 1000;
    border: 1px solid var(--color-primary-lighter);
}

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

.dropdown-menu a {
    display: block;
    padding: 0.7rem 0.5rem;
    color: var(--color-text);
    font-size: 0.95rem;
    font-weight: 500;
    transition: background 0.3s ease;
    border-bottom: 1px solid rgba(0,0,0,0.03);
}

.dropdown-menu a:last-child {
    border-bottom: none;
}

.dropdown-menu a:hover {
    background: var(--color-primary-light);
    color: var(--color-primary);
}

.dropdown-toggle i {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.dropdown:hover .dropdown-toggle i {
    transform: rotate(180deg);
}

/* MOBILE NAV OVERRIDE */
@media (max-width: 1150px) {
    .dropdown-menu {
        position: static;
        transform: none;
        opacity: 1;
        visibility: visible;
        box-shadow: none;
        background: transparent;
        padding-left: 1.5rem;
        display: none;
    }
    
    .dropdown.active .dropdown-menu {
        display: block;
    }

    .submenu-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        margin-left: auto;
        cursor: pointer;
        transition: var(--transition);
        border-radius: 50%;
    }

    .submenu-toggle:hover {
        background: rgba(93, 52, 165, 0.05);
    }

    .dropdown.active .submenu-toggle i {
        transform: rotate(180deg);
    }
}

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

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--color-primary);
    cursor: pointer;
    padding: 0.5rem;
    transition: var(--transition);
}

.menu-toggle:hover {
    color: var(--color-primary-dark);
}

/* Dark Card Utility */
.card-dark {
    background-color: var(--color-bg-dark-card) !important;
    color: var(--color-text-on-dark) !important;
    border: none !important;
}

.card-dark h1, .card-dark h2, .card-dark h3, .card-dark h4 {
    color: var(--color-text-on-dark) !important;
}

.card-dark p, .card-dark .p-desc {
    color: var(--color-text-on-dark) !important;
    opacity: 0.9;
}

/* BUTTONS */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.8rem;
    border-radius: 50px;
    font-weight: 800;
    font-size: 0.95rem;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}
@media (max-width: 768px) {
    .btn {
        padding: 0.8rem 0.8rem;
        font-size: 0.85rem;
        gap: 0.6rem;
    }
}

.btn-lg {
    padding: 0.9rem 2.5rem;
    font-size: 1.05rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--pastel-lavender-rich) 0%, var(--pastel-lavender-deep) 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(49, 27, 146, 0.15);
    border: none;
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--pastel-lavender-deep) 0%, var(--pastel-lavender-rich) 100%);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 25px rgba(49, 27, 146, 0.25);
}

.btn-secondary {
    background: linear-gradient(135deg, var(--pastel-rose-deep) 0%, #D81B60 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(216, 27, 96, 0.15);
    border: none;
}

.btn-secondary:hover {
    background: linear-gradient(135deg, #D81B60 0%, var(--pastel-rose-deep) 100%);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 25px rgba(216, 27, 96, 0.25);
}

.btn-outline {
    background-color: white;
    color: var(--color-primary);
    border-color: var(--color-primary-light);
    box-shadow: var(--shadow-soft);
}

.btn-outline:hover {
    border-color: var(--color-primary);
    background-color: var(--color-primary-lighter);
    color: var(--color-primary-dark);
    transform: translateY(-3px);
    box-shadow: var(--shadow-card);
}

.btn-mentor {
    background: #f27633;
    color: white;
    box-shadow: 0 4px 15px rgba(2, 136, 209, 0.15);
    border: none;
}

.btn-mentor:hover {
    background: #f27633;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 25px rgba(2, 136, 209, 0.25);
}

.btn-trainee {
    background: linear-gradient(135deg, #0de9d3 0%, #11b196 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(0, 137, 123, 0.15);
    border: none;
}

.btn-trainee:hover {
    background: linear-gradient(135deg, #004D40 0%, #00897B 100%);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 25px rgba(0, 137, 123, 0.25);
}

/* PREMIUM CTA BUTTON */
.btn-cta-premium {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 1.8rem;
    background: linear-gradient(135deg, var(--pastel-lavender-rich) 0%, var(--pastel-rose-deep) 100%);
    color: white;
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: 1px;
    border-radius: 50px;
    box-shadow: 0 10px 25px rgba(49, 27, 146, 0.2), 0 0 0 0 rgba(173, 20, 87, 0);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    border: none;
    cursor: pointer;
    z-index: 1;
}

.btn-cta-premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        120deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    transition: all 0.6s;
    z-index: -1;
}

.btn-cta-premium:hover {
    transform: translateY(-5px) scale(1.03);
    box-shadow: 0 15px 35px rgba(49, 27, 146, 0.3), 0 0 20px rgba(173, 20, 87, 0.2);
    color: white;
}

.btn-cta-premium:hover::before {
    left: 100%;
}

.btn-cta-premium i {
    transition: transform 0.4s ease;
}

.btn-cta-premium:hover i {
    transform: translateX(5px);
}

/* Pulse animation for CTA */
.btn-cta-premium {
    animation: cta-pulse 3s infinite;
}

@keyframes cta-pulse {
    0% { box-shadow: 0 10px 25px rgba(49, 27, 146, 0.2), 0 0 0 0 rgba(173, 20, 87, 0.4); }
    70% { box-shadow: 0 10px 25px rgba(49, 27, 146, 0.2), 0 0 0 15px rgba(173, 20, 87, 0); }
    100% { box-shadow: 0 10px 25px rgba(49, 27, 146, 0.2), 0 0 0 0 rgba(173, 20, 87, 0); }
}

.btn-cta-premium::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s;
    pointer-events: none;
    z-index: -1;
}

.btn-cta-premium:hover::after {
    opacity: 1;
}

@media (max-width: 768px) {
    .btn-cta-premium {
        padding: 0.85rem 1.5rem;
        font-size: 0.95rem;
        gap: 0.6rem;
        justify-content: center;
    }
}

/* PREMIUM FEATURED COURSES SECTION OVERHAUL */
.featured-courses-premium {
    --featured-gradient-start: var(--pastel-lavender-rich);
    --featured-gradient-end: var(--pastel-rose-deep);
    --featured-accent: var(--pastel-lavender-deep);
    --featured-accent-soft: rgba(93, 52, 165, 0.1);
    position: relative;
    padding: 72px 0;
    background: linear-gradient(135deg, #fdfcfd 0%, #f4f7ff 50%, #fdfcfd 100%);
    overflow: hidden;
}

.featured-glass-box {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.72) 0%, rgba(255, 255, 255, 0.55) 100%);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 60px;
    padding: 56px 48px;
    text-align: center;
    box-shadow: 0 25px 60px rgba(93, 52, 165, 0.08);
    position: relative;
    z-index: 2;
    max-width: 1120px;
    margin: 0 auto;
    overflow: hidden;
}

.featured-glass-box::before {
    content: '';
    position: absolute;
    inset: auto -120px -140px auto;
    width: 280px;
    height: 280px;
    background: radial-gradient(circle, var(--featured-accent-soft) 0%, rgba(255, 255, 255, 0) 72%);
    pointer-events: none;
}

.featured-decor {
    position: absolute;
    pointer-events: none;
    z-index: 1;
    opacity: 0.15;
}

.decor-1 {
    top: -50px;
    right: -50px;
    width: 250px;
    animation: float 8s ease-in-out infinite;
}

.decor-2 {
    bottom: -60px;
    left: -60px;
    width: 300px;
    animation: float 10s ease-in-out infinite reverse;
}

.featured-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.55rem 1rem;
    margin-bottom: 1.25rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.9);
    color: var(--featured-accent);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    box-shadow: 0 10px 25px rgba(93, 52, 165, 0.08);
}

.featured-courses-premium h2 {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
    color: var(--color-heading);
    font-family: var(--font-heading);
}

.featured-courses-premium h2 .text-gradient {
    background: linear-gradient(135deg, var(--featured-gradient-start) 0%, var(--featured-gradient-end) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.featured-courses-premium h2::after {
    content: '';
    position: absolute;
}

.featured-courses-premium h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, var(--featured-gradient-start), var(--featured-gradient-end));
    border-radius: 2px;
}



.featured-courses-premium .subtitle {
    font-size: 1.1rem;
    color: var(--color-text-light);
    margin-bottom: 2.5rem;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

.featured-course-showcase {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.4rem;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.featured-course-teaser {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    min-height: 250px;
    padding: 1.5rem;
    text-align: left;
    border-radius: 28px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(250, 247, 255, 0.92) 100%);
    border: 1px solid rgba(255, 255, 255, 0.95);
    box-shadow: 0 18px 32px rgba(93, 52, 165, 0.08);
    overflow: hidden;
    transition: var(--transition);
}

.featured-course-teaser::before {
    content: '';
    position: absolute;
    inset: 0 0 auto 0;
    height: 5px;
    background: linear-gradient(90deg, var(--theme-color, var(--featured-accent)) 0%, rgba(255, 255, 255, 0) 100%);
}

.featured-course-teaser:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 40px rgba(93, 52, 165, 0.14);
}

.featured-course-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

.featured-course-badge,
.featured-course-number,
.featured-course-tags span,
.featured-point {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.42rem 0.85rem;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 700;
    line-height: 1.2;
}

.featured-course-badge {
    background: var(--theme-light, var(--color-primary-light));
    color: var(--theme-dark, var(--color-primary-dark));
}

.featured-course-number {
    min-width: 46px;
    justify-content: center;
    padding-inline: 0.75rem;
    background: rgba(255, 255, 255, 0.9);
    color: var(--theme-color, var(--featured-accent));
    border: 1px solid rgba(93, 52, 165, 0.08);
}

.featured-course-teaser h3 {
    margin: 0;
    font-size: 1.45rem;
    line-height: 1.2;
    color: var(--color-heading);
}

.featured-course-teaser p {
    margin: 0;
    font-size: 0.98rem;
    line-height: 1.7;
    color: var(--color-text-light);
}

.featured-course-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-top: auto;
}

.featured-course-tags span {
    background: rgba(255, 255, 255, 0.82);
    color: var(--theme-color, var(--featured-accent));
    border: 1px solid rgba(93, 52, 165, 0.08);
}

.featured-courses-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    position: relative;
    z-index: 1;
}

.courses-preview-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto 3.5rem;
    position: relative;
    z-index: 1;
}

.courses-preview-grid .course-card {
    flex-direction: column;
    text-align: center;
    padding: 2rem 1.5rem;
    gap: 1.5rem;
    height: 100%;
}

.courses-preview-grid .course-info {
    flex-direction: column;
    gap: 1.2rem;
}

.courses-preview-grid .course-info h4 {
    text-align: center;
    font-size: 1.3rem;
}

@media (max-width: 768px) {
    .courses-preview-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-bottom: 2.5rem;
    }
}

.featured-points {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    justify-content: flex-start;
}

.featured-point {
    background: rgba(255, 255, 255, 0.8);
    color: var(--featured-accent);
    border: 1px solid rgba(93, 52, 165, 0.08);
    box-shadow: 0 10px 22px rgba(93, 52, 165, 0.05);
}

.featured-point i {
    font-size: 0.82rem;
}

.btn-block {
    display: flex;
    width: 100%;
    margin-top: 1rem;
}

@media (max-width: 992px) {
    .featured-course-showcase {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .featured-courses-footer {
        flex-direction: column;
        align-items: stretch;
    }

    .featured-points {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .featured-courses-premium {
        padding: 56px 0;
    }

    .featured-glass-box {
        padding: 38px 22px;
        border-radius: 34px;
    }

    .featured-kicker {
        font-size: 0.74rem;
        letter-spacing: 0.06em;
    }

    .featured-courses-premium h2 {
        font-size: 2.1rem;
    }

    .featured-course-showcase {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .featured-course-teaser {
        min-height: unset;
        padding: 1.25rem;
    }

    .featured-course-teaser h3 {
        font-size: 1.25rem;
    }

    .featured-course-top {
        align-items: flex-start;
    }

    .featured-points {
        gap: 0.65rem;
    }

    .featured-point {
        justify-content: center;
        width: 100%;
    }
}
/* SECTION STRUCTURE */
.section-padding {
    padding: 50px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 2.5rem;
    position: relative;
}

.section-header h2 {
    font-size: 2.8rem;
    color: var(--color-heading);
    margin-bottom: 0.8rem;
    font-style: italic;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--color-primary-light);
    border-radius: 2px;
}

.section-header .subtitle {
    font-size: 1.15rem;
    color: var(--color-text);
    margin-top: 2rem;
}

.lead-text {
    font-size: 1.35rem;
    color: var(--color-primary-dark);
    font-family: var(--font-heading);
    font-style: italic;
    margin-bottom: 1rem;
}

/* 1. HERO SECTION */
.hero {
    position: relative;
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
    /* padding: rem 0; */
    background: linear-gradient(135deg, var(--pastel-white) 0%, var(--pastel-lavender) 100%);
    overflow: hidden;
}

.hero-bg-layer {
    position: absolute;
    top: -10%; left: -10%; right: -10%; bottom: 0;
    background: radial-gradient(circle at top right, rgba(243, 229, 245, 0.6) 0%, rgba(251, 250, 255, 0) 70%),
                radial-gradient(circle at bottom left, rgba(252, 228, 236, 0.4) 0%, rgba(251, 250, 255, 0) 60%);
    z-index: 0;
    pointer-events: none;
}

.hero-container {
    position: relative;
    z-index: 2;
}

.hero-content {
    display: grid;
    grid-template-columns: 1.25fr 0.75fr;
    gap: 3rem;
    align-items: center;
    padding: 10px;
}

.tagline {
    font-size: 1.3rem;
    font-weight: 500;
    color: var(--color-accent);
    margin-bottom: 1rem;
    font-family: var(--font-heading);
    font-style: italic;
    letter-spacing: 0.5px;
}

.hero-illustration-wrapper {
    grid-column: 2;
    grid-row: 1 / span 4;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: auto;
    min-height: 450px;
}

.text-gradient {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

.hero h1 {
    grid-column: 1;
    grid-row: 1;
    font-size: 3rem; 
    line-height: 1.3;
    margin-bottom: 0.90rem; /* Restore breathable space */
    color: var(--color-heading);
    letter-spacing: -0.5px;
    max-width: 90%;
}

.hero-subheadline {
    grid-column: 1;
    grid-row: 2;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-primary-dark);
    margin-bottom: 1rem; /* Better breathing space */
    line-height: 1.3;
    max-width: 80%;
}

.hero-desc {
    grid-column: 1;
    grid-row: 3;
    font-size: 1.05rem;
    margin-bottom: 1rem; /* Restore spacing to buttons */
    color: var(--color-text-light);
    line-height: 1.3;
    max-width: 80%; /* Match subheadline width */
}

.hero-buttons {
    grid-column: 1;
    grid-row: 4;
    display: flex;
    gap: 0.9rem; /* Tightened gap */
    flex-wrap: nowrap;
    width: 100%;
}

.hero-buttons .btn {
    min-width: 170px; /* Slightly smaller for single-line fit */
    padding: 0.7rem 1.2rem; /* Tighter padding */
    font-size: 0.88rem; /* Compact font */
    white-space: nowrap;
}

.hero-gallery {
    position: relative;
    width: 100%;
    height: 450px;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1;
}

.gallery-item {
    position: absolute;
    transition: all 1.5s cubic-bezier(0.65, 0, 0.35, 1); /* Ultra-smooth Ease-In-Out-Cubic */
    cursor: default;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 4px solid white;
    box-shadow: var(--shadow-card);
    will-change: transform, opacity; 
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    transform-style: preserve-3d;
}

.gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 1.5s cubic-bezier(0.65, 0, 0.35, 1);
    will-change: transform;
}

/* ACTIVE STATE */
.gallery-item.active {
    width: 480px;
    height: 360px;
    border-radius: 40px;
    z-index: 15;
    /* Orbital Center: Angled at 0, Distance 0 */
    transform: translate3d(0, 0, 0) rotate(0deg);
    opacity: 1;
}

/* FLOATING BLOB 1 (Bottom Right) */
.gallery-item.floating-1 {
    width: 140px;
    height: 140px;
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; 
    z-index: 17;
    /* Orbital Position: 45 degrees (Bottom Right), 280px distance */
    transform: rotate(45deg) translate3d(280px, 0, 0) rotate(-45deg);
    opacity: 1;
}

/* FLOATING BLOB 2 (Top Left) */
.gallery-item.floating-2 {
    width: 120px;
    height: 120px;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    z-index: 17;
    /* Orbital Position: 225 degrees (Top Left), 280px distance */
    /* Transition from 225 to 45 moves along the bottom path */
    transform: rotate(225deg) translate3d(280px, 0, 0) rotate(-225deg);
    opacity: 1;
}

/* Combined Wobble Logic - Applied to images to not conflict with parent transitions */
/* .gallery-item img {
    animation: content-wobble 10s ease-in-out infinite alternate;
} */

@keyframes content-wobble {
    0% { transform: scale(1.05) translate(0, 0); }
    100% { transform: scale(1.1) translate(-2%, -2%); }
}

.abstract-blobs {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    z-index: 0;
    pointer-events: none;
}

.blob {
    position: absolute;
    background: linear-gradient(135deg, var(--color-primary-light) 0%, var(--color-accent-light) 100%);
    filter: blur(40px);
    opacity: 0.6;
    border-radius: 50%;
    animation: blob-float 20s infinite alternate cubic-bezier(0.45, 0.05, 0.55, 0.95);
}

.blob-1 {
    width: 300px;
    height: 300px;
    top: -10%;
    right: -10%;
    background: linear-gradient(135deg, var(--color-primary-light) 0%, var(--color-secondary-light) 100%);
}

.blob-2 {
    width: 250px;
    height: 250px;
    bottom: -5%;
    left: -5%;
    animation-delay: -5s;
}

.floating-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2; /* Float over the image (which is z-index 1) */
    pointer-events: none;
}

.shape {
    position: absolute;
    background: rgba(107, 91, 149, 0.1);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(107, 91, 149, 0.2);
    border-radius: 12px;
    animation: shape-float 15s infinite alternate ease-in-out;
}

.shape-1 {
    width: 60px;
    height: 60px;
    top: 10%;
    left: 10%;
    transform: rotate(15deg);
}

.shape-2 {
    width: 40px;
    height: 40px;
    bottom: 20%;
    right: 15%;
    transform: rotate(-20deg);
    animation-delay: -3s;
}

.shape-3 {
    width: 30px;
    height: 30px;
    top: 40%;
    right: 5%;
    border-radius: 50%;
    animation-delay: -7s;
}

.svg-container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 500px;
    filter: drop-shadow(0 20px 40px rgba(107, 91, 149, 0.15));
    animation: illustration-float 6s infinite ease-in-out;
}

@keyframes blob-float {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(30px, -20px) scale(1.1); }
}

@keyframes shape-float {
    0% { transform: translate(0, 0) rotate(0deg); }
    100% { transform: translate(-20px, 20px) rotate(45deg); }
}

@keyframes illustration-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

/* Dynamic Floating Animations */
@keyframes float-up-down {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

@keyframes tilt-left-right {
    0%, 100% { transform: rotate(-5deg); }
    50% { transform: rotate(15deg); }
}

@keyframes move-in-out {
    0%, 100% { transform: scale(1) translateX(0); }
    50% { transform: scale(1.15) translateX(15px); }
}

.anim-icon {
    position: absolute;
    width: 75px;
    height: 75px;
    background: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2.2rem;
    box-shadow: var(--shadow-card);
    z-index: 3;
}

.icon-growth {
    top: 15%;
    right: 5%;
    color: var(--color-primary);
    animation: float-up-down 2.5s ease-in-out infinite;
}

.icon-idea {
    bottom: 25%;
    left: 0%;
    color: var(--color-orange);
    animation: move-in-out 3.5s ease-in-out infinite;
}

.icon-balance {
    top: 50%;
    right: 15%;
    color: var(--color-secondary);
    animation: tilt-left-right 3s ease-in-out infinite;
}

/* Harmony & Courses Icons Positioning */
.icon-heart {
    top: 5%;
    left: -5%;
    color: #E91E63;
    animation: float-up-down 2.8s ease-in-out infinite;
}

.icon-clock {
    bottom: 10%;
    right: -5%;
    color: var(--color-primary);
    animation: move-in-out 4s ease-in-out infinite;
}

.icon-laptop {
    top: -5%;
    right: 5%;
    color: var(--color-accent);
    animation: float-up-down 3s ease-in-out infinite;
}

.icon-check {
    bottom: 0%;
    left: -5%;
    color: #4CAF50;
    animation: tilt-left-right 3.5s ease-in-out infinite;
}

/* 2. WHY SPANDAN SECTION */
.why-spandan {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--pastel-mint) 0%, #f0fdf4 100%);
    position: relative;
    overflow: hidden;
    border-top: 1px solid rgba(46, 125, 50, 0.05);
}

/* Why Spandan Advanced Background Decoration */
.why-bg-decor {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 0;
}

.decor-ring {
    position: absolute;
    border: 1px solid rgba(93, 52, 165, 0.08);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.ring-left {
    width: 500px;
    height: 500px;
    left: 15%; /* Adjusted for better framing */
    animation: orbit 35s linear infinite;
}

.ring-right {
    width: 650px;
    height: 650px;
    left: 85%; /* Adjusted for better framing */
    animation: orbit 40s linear infinite reverse;
}

.ring-flower {
    position: absolute;
    width: 45px;
    height: 45px;
    object-fit: contain;
    opacity: 0.2;
    filter: drop-shadow(0 0 10px rgba(93, 52, 165, 0.25));
    animation: spin-flower 10s linear infinite;
}

.ring-left .rf-1 { top: -22px; left: calc(50% - 22px); }
.ring-left .rf-2 { bottom: -22px; left: calc(50% - 22px); transform: rotate(180deg); }
.ring-left .rf-3 { left: -22px; top: calc(50% - 22px); transform: rotate(-90deg); }

.ring-right .rf-1 { top: -22px; left: calc(50% - 22px); }
.ring-right .rf-2 { bottom: -22px; left: calc(50% - 22px); transform: rotate(180deg); }
.ring-right .rf-3 { right: -22px; top: calc(50% - 22px); transform: rotate(90deg); }

.ring-right .ring-flower {
    filter: drop-shadow(0 0 10px rgba(216, 27, 96, 0.25));
}

.decor-lines {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    color: var(--color-primary);
    opacity: 0.12;
}

.flow-line {
    stroke-dasharray: 400;
    stroke-dashoffset: 400;
    animation: dash-flow 12s ease-in-out infinite;
}

.line-1 { animation-delay: 0s; color: var(--color-primary); }
.line-2 { animation-delay: 4s; color: var(--color-secondary); }
.line-3 { animation-delay: 2s; stroke-dasharray: 10 20; color: var(--color-accent); }

.decor-flowers .flower {
    position: absolute;
    width: 65px;
    height: auto;
    opacity: 0.08;
    filter: blur(0.5px);
    animation: float-flower 12s ease-in-out infinite;
}

.fl-1 { top: 12%; left: 6%; width: 85px; animation-delay: 0s; }
.fl-2 { top: 72%; left: 8%; width: 65px; animation-delay: -3s; transform: rotate(45deg); }
.fl-3 { top: 25%; right: 7%; width: 95px; animation-delay: -6s; }
.fl-4 { bottom: 12%; right: 5%; width: 75px; animation-delay: -9s; transform: rotate(-30deg); }
.fl-5 { top: 45%; left: 48%; width: 45px; animation-delay: -4s; }
.fl-6 { top: 85%; left: 45%; width: 55px; animation-delay: -2s; opacity: 0.05 !important; }
.fl-7 { top: 5%; right: 35%; width: 70px; animation-delay: -7s; }
.fl-8 { bottom: 35%; left: 25%; width: 60px; animation-delay: -1s; }
.fl-9 { top: 60%; right: 25%; width: 80px; animation-delay: -5s; opacity: 0.06 !important; }
.fl-10 { top: 40%; left: 15%; width: 50px; animation-delay: -8s; }

@keyframes orbit {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes spin-flower {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

@keyframes dash-flow {
    0% { stroke-dashoffset: 800; opacity: 0; }
    30% { opacity: 1; }
    70% { opacity: 1; }
    100% { stroke-dashoffset: 0; opacity: 0; }
}

@keyframes float-flower {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-25px) rotate(15deg); }
}

.why-content-wrapper {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.why-spandan .section-header {
    margin-bottom: 3.5rem;
}

.why-text {
    font-size: var(--font-size-sub);
    line-height: 1.8;
    color: var(--color-text-light);
}

.why-text p {
    margin-bottom: 2rem;
}

.highlight-box {
    padding: 2.5rem;
    border-radius: 24px;
    color: var(--color-primary-dark);
    font-weight: 600;
    border-left: 5px solid var(--color-primary);
    box-shadow: var(--shadow-soft);
    margin-top: 3rem;
}

/* 3. AREAS OF LEARNING SECTION */
.learning-areas {
    padding: 60px 0;
    background: linear-gradient(135deg, var(--pastel-lemon) 0%, #fefce8 100%);
}

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

.learning-card {
    position: relative;
    overflow: hidden;
    padding: 2.5rem 1.5rem; /* Reduced padding from 3.5rem 2.5rem */
    border-radius: var(--radius-card);
    text-align: center;
    transition: var(--transition);
    border: 3px solid transparent; 
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: var(--shadow-soft);
    z-index: 1;
}

.learning-card-women { 
    background-color: var(--color-primary-lighter); 
    border-color: var(--color-primary-light); 
}
.learning-card-children { 
    background-color: var(--color-secondary-light); 
    border-color: rgba(216, 27, 96, 0.1); 
}
.learning-card-parenting { 
    background-color: var(--color-orange-light); 
    border-color: rgba(255, 143, 0, 0.1); 
}

.learning-card-women h3 { color: var(--color-primary); }
.learning-card-children h3 { color: var(--color-secondary); }
.learning-card-parenting h3 { color: var(--color-orange); }

.learning-card p {
    color: var(--color-text-light);
    font-size: 0.95rem; /* Reduced from 1.05rem */
    line-height: 1.6;
    margin-bottom: 1.5rem; /* Reduced from 2rem */
    flex-grow: 1;
}

/* Background Icons */
.card-bg-icon {
    position: absolute;
    top: -10px;
    right: -10px;
    font-size: 8rem;
    opacity: 0.05;
    z-index: -1;
    pointer-events: none;
    transition: transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    color: currentColor;
}

.learning-card .card-bg-icon { color: var(--theme-color); }

.learning-card:hover .card-bg-icon {
    transform: rotate(-15deg) scale(1.1);
    opacity: 0.1;
}

.card-icon {
    width: 60px; /* Reduced from 80px */
    height: 60px; /* Reduced from 80px */
    border-radius: 15px; /* Slightly smaller radius */
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem; /* Reduced from 2.5rem */
    margin-bottom: 1.5rem;
    transition: var(--transition);
    background: white !important;
}

.learning-card .card-icon { color: var(--theme-color); }

.learning-card .btn {
    padding: 0.8rem 1.4rem; /* Reduced from 0.8rem 1.7rem */
    font-size: 0.85rem; /* Reduced from 1rem */
    border-radius: 50px;
    font-weight: 800;
    transition: var(--transition);
    border: none;
}
@media (max-width: 768px) {
    .learning-card .btn {
        padding: 0.8rem 0.8rem;
        font-size: 0.75rem;
        gap: 0.6rem;
        font-weight: 600;
    }
}

.learning-card .btn {
    background: linear-gradient(135deg, var(--theme-color) 0%, var(--theme-dark) 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.learning-card .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    filter: brightness(1.1);
}

/* Featured Card Placeholder */
.spandan-placeholder {
    width: 100%;
    height: 240px;
    background: linear-gradient(135deg, var(--color-primary-lighter) 0%, var(--color-bg-light) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    font-style: italic;
    color: var(--color-primary);
    opacity: 0.6;
    letter-spacing: -1px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.05);
}

.learning-card h3 {
    font-size: 1.6rem;
    margin-bottom: 1.2rem;
    color: var(--color-heading);
}

.learning-card p {
    font-size: var(--font-size-sub);
    color: var(--color-text-light);
    margin-bottom: 2rem;
    line-height: 1.7;
    flex-grow: 1;
}

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

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

/* 4. FLEXIBLE LEARNING FORMATS */
.learning-formats {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--pastel-sky) 0%, #e0f2fe 100%);
}

.formats-wrapper {
    max-width: 1000px;
    margin: 0 auto;
}

.formats-header {
    text-align: center;
    margin-bottom: 4rem;
}

.formats-header .tag {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: var(--color-primary-lighter);
    color: var(--color-primary);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.formats-header h2 {
    margin-bottom: 1rem;
}

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

.format-card {
    background: var(--theme-light);
    padding: 2rem;
    border-radius: var(--radius-card);
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    transition: var(--transition);
    border: 1px solid var(--theme-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    opacity: 1;
    --theme-color: var(--color-primary);
    --theme-light: var(--pastel-white);
}

.format-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px var(--theme-glow);
    border-color: var(--theme-color);
    background: white;
}

/* Individual pastel hover shadows based on icon */
.format-card.theme-lavender {
    --theme-color: var(--pastel-lavender-deep);
    --theme-light: var(--pastel-lavender);
    --theme-glow: rgba(93, 52, 165, 0.15);
}

.format-card.theme-rose {
    --theme-color: var(--pastel-rose-deep);
    --theme-light: var(--pastel-rose);
    --theme-glow: rgba(216, 27, 96, 0.15);
}

.format-card.theme-peach {
    --theme-color: var(--pastel-peach-deep);
    --theme-light: var(--pastel-peach);
    --theme-glow: rgba(255, 143, 0, 0.15);
}

.format-card.theme-mint {
    --theme-color: var(--pastel-mint-deep);
    --theme-light: var(--pastel-mint);
    --theme-glow: rgba(76, 175, 80, 0.15);
}

.format-card.theme-sky {
    --theme-color: var(--pastel-sky-deep);
    --theme-light: var(--pastel-sky);
    --theme-glow: rgba(52, 152, 219, 0.15);
}

.format-icon {
    width: 60px;
    height: 60px;
    background: white;
    color: var(--theme-color);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    transition: var(--transition);
}

.format-card:hover .format-icon {
    background: var(--theme-color);
    color: white;
    transform: rotate(5deg);
}

.format-info h4 {
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
    color: var(--color-heading);
}

.format-info p {
    font-size: var(--font-size-small);
    line-height: 1.6;
    color: var(--color-text-light);
}

.formats-footer {
    text-align: center;
    margin-top: 4rem;
    font-size: 1rem;
    font-style: italic;
    color: var(--color-primary-dark);
}

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

/* 5. POPULAR COURSES */
.popular-courses {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--pastel-rose) 0%, #fff1f2 100%);
}

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

.course-card {
    background: white;
    border-radius: 16px;
    padding: 1.2rem 1.8rem;
    border: 2px solid var(--theme-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.3s ease;
    min-height: 80px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
}

.course-card:hover {
    transform: translateX(8px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

.course-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 1.5rem;
}

.course-info .btn-block {
    margin-top: 0;
    width: auto; /* Ensure it doesn't force full width in side-by-side mode */
}

.course-info h4 {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--color-heading);
    margin: 0;
    text-align: left;
    flex: 1;
    line-height: 1.3;
}

.course-info .btn {
    width: auto;
    padding: 0.6rem 1.5rem;
    font-size: 0.9rem;
    white-space: nowrap;
    border-radius: 12px;
    background: white;
    color: var(--theme-color);
    border: 2px solid var(--theme-color);
    font-weight: 600;
}

.course-info .btn:hover {
    background: var(--theme-color);
    color: white;
    transform: translateY(-2px);
}

/* Themes */
.theme-lavender { --theme-color: #5e4b8b; }
.theme-sky { --theme-color: #3498db; }
.theme-mint { --theme-color: #27ae60; }
.theme-rose { --theme-color: #d81b60; }
.theme-lemon { --theme-color: #f1c40f; }
.theme-peach { --theme-color: #ff8f00; }

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

@media (max-width: 576px) {
    .course-card {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
        gap: 1.2rem;
    }
    .course-info {
        flex-direction: column;
        gap: 1rem;
    }
    .course-info h4 {
        text-align: center;
    }
}

.course-meta {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid var(--color-border);
    font-size: 0.85rem;
    color: var(--color-text-light);
}

.course-meta i {
    color: var(--theme-color);
    margin-right: 0.5rem;
}

/* 6. FINAL CTA */
.final-cta {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--pastel-rose) 0%, var(--pastel-lavender) 100%);
    color: var(--color-text);
    text-align: center;
    position: relative;
    overflow: hidden;
    width: 100%;
    margin-bottom: 0;
    border-top: 1px solid rgba(0,0,0,0.05);
}

.final-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='50' cy='50' r='40' stroke='white' stroke-width='1' fill='none' opacity='0.05'/%3E%3C/svg%3E");
    background-size: 80px 80px;
    pointer-events: none;
}

.cta-content {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.final-cta h2 {
    color: var(--color-primary-dark);
    font-size: 3.5rem;
    margin-bottom: 2rem;
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-weight: 600;
}

.final-cta p {
    font-size: var(--font-size-sub);
    color: var(--color-text-light);
    margin-bottom: 3.5rem;
    line-height: 1.6;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-btns {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.final-cta .btn-primary {
    background: #391e96 !important;
    border: none;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    min-width: 200px;
}

.final-cta .btn-secondary {
    background: #e91e63 !important;
    color: white !important;
    border: none;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    min-width: 200px;
}

.final-cta .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

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

@media (max-width: 768px) {
    .courses-grid {
        grid-template-columns: 1fr;
    }
    
    .final-cta h2 {
        font-size: 2.2rem;
    }
}

/* 2. ABOUT US */
.about-us {
    padding: 80px 0;
    background-color: var(--pastel-lavender);
}

.about-text-content {
    max-width: 850px;
    margin: 0 auto 3rem;
    text-align: center;
    font-size: var(--font-size-sub);
    color: var(--color-text);
}

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

.feature-card {
    padding: 2.5rem 2rem;
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-soft);
    text-align: left;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    background-color: var(--color-bg-card);
    border: 1px solid var(--color-primary-lighter);
}

.feature-card .card-bg {
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 120px;
    z-index: 0;
    opacity: 0.6;
}

.feature-purple .card-bg { 
    background: linear-gradient(180deg, var(--color-primary-light) 0%, rgba(255,255,255,0) 100%); 
}
.feature-pink .card-bg { 
    background: linear-gradient(180deg, var(--color-secondary-light) 0%, rgba(255,255,255,0) 100%); 
}
.feature-orange .card-bg { 
    background: linear-gradient(180deg, var(--color-orange-light) 0%, rgba(255,255,255,0) 100%); 
}

.feature-card > * {
    position: relative;
    z-index: 1;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-card);
    border-color: var(--color-primary);
}

.feature-card .icon-wrapper {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    background: white;
    box-shadow: var(--shadow-soft);
}

.feature-purple .icon-wrapper { 
    color: var(--color-primary); 
    background: var(--color-primary-lighter);
}
.feature-orange .icon-wrapper { 
    color: var(--color-orange); 
    background: var(--color-orange-light);
}

.feature-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1.2rem;
    font-family: var(--font-heading);
}

.feature-card p {
    font-size: var(--font-size-sub);
    line-height: 1.7;
}

/* 3. OUTCOMES SECTION */
.outcomes {
    padding: 80px 0;
    background: linear-gradient(180deg, var(--pastel-sky) 0%, var(--pastel-white) 100%);
    position: relative;
    overflow: hidden;
}

.outcomes-slider-wrapper {
    overflow: hidden;
    margin: 3rem -2rem 0;
    padding: 3rem 0 2rem;
    position: relative;
}

/* Linear Gradient Overlays for smooth entry/exit */
.outcomes-slider-wrapper::before,
.outcomes-slider-wrapper::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100px;
    z-index: 2;
    pointer-events: none;
}

.outcomes-slider-wrapper::before {
    left: 0;
    background: linear-gradient(to right, var(--color-bg-alt), transparent);
}

.outcomes-slider-wrapper::after {
    right: 0;
    background: linear-gradient(to left, var(--color-bg-alt), transparent);
}

.outcomes-grid {
    display: flex;
    flex-wrap: nowrap;
    width: max-content; /* Ensure container fits all items in one row */
    gap: 1.5rem;
    padding: 1rem 0 3rem;
    animation: marquee 40s linear infinite;
}

.outcomes-grid:hover {
    animation-play-state: paused;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-50% - 0.75rem)); } /* Precise seamless loop */
}

.outcome-item {
    flex: 0 0 280px;
    background: var(--color-bg-card);
    padding: 2.5rem 1.5rem;
    border-radius: var(--radius-card);
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    border: 1px solid rgba(0,0,0,0.05);
    transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 0.4;
    transform: scale(0.85);
    position: relative;
    overflow: visible;
}

/* Vibrant Themes */
.item-purple { --item-color: #6b5b95; --item-bg: rgba(107, 91, 149, 0.1); }
.item-pink { --item-color: #ff6f61; --item-bg: rgba(255, 111, 97, 0.1); }
.item-blue { --item-color: #3498db; --item-bg: rgba(52, 152, 219, 0.1); }
.item-cyan { --item-color: #00d2d3; --item-bg: rgba(0, 210, 211, 0.1); }
.item-gold { --item-color: #f39c12; --item-bg: rgba(243, 156, 18, 0.1); }
.item-orange { --item-color: #e67e22; --item-bg: rgba(230, 126, 34, 0.1); }
.item-emerald { --item-color: #27ae60; --item-bg: rgba(39, 174, 96, 0.1); }
.item-indigo { --item-color: #3f51b5; --item-bg: rgba(63, 81, 181, 0.1); }

.o-icon {
    width: 65px;
    height: 65px;
    background: var(--item-bg);
    color: var(--item-color);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.o-icon svg {
    width: 32px;
    height: 32px;
}

.outcome-item h4 {
    font-size: 1.1rem;
    color: #333;
    line-height: 1.4;
    font-weight: 600;
    transition: all 0.4s ease;
}

/* Center Stage Pop Effect */
.outcome-item.centered {
    opacity: 1;
    transform: scale(1.2) translateY(-25px);
    z-index: 100;
    border-color: var(--item-color);
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
}

.outcome-item.centered .o-icon {
    background: var(--item-color);
    color: white;
    transform: scale(1.3) rotate(8deg);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    animation: icon-pop 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes icon-pop {
    0% { transform: scale(1) rotate(0deg); }
    50% { transform: scale(1.4) rotate(-5deg); }
    100% { transform: scale(1.3) rotate(8deg); }
}

.outcome-item.centered h4 {
    color: var(--item-color);
    transform: translateY(5px);
}

.outcome-item:hover {
    opacity: 1;
    transform: scale(1.05) translateY(-5px);
}
/* 4. ENROLMENT PATHS - INTERACTIVE CIRCLES */
.enrolment {
    padding: 80px 0;
    background: var(--pastel-mint);
    position: relative;
    overflow: hidden;
}

/* DECORATIVE BACKGROUND */
.enrolment-bg-decor {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 0;
}

.decor-ring {
    position: absolute;
    border: 1px solid rgba(138, 75, 175, 0.1);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.ring-left {
    width: 500px;
    height: 500px;
    left: 20%;
    animation: orbit 20s linear infinite;
}

.ring-right {
    width: 600px;
    height: 600px;
    left: 80%;
    animation: orbit 25s linear infinite reverse;
}

/* Flower images orbiting on the rings */
.ring-flower {
    position: absolute;
    width: 40px;
    height: 40px;
    object-fit: contain;
    top: -20px;
    left: calc(50% - 20px);
    opacity: 0.5;
    filter: drop-shadow(0 0 8px rgba(138, 75, 175, 0.4));
    pointer-events: none;
    animation: spin-flower 6s linear infinite;
}

@keyframes spin-flower {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

.ring-right .ring-flower {
    filter: drop-shadow(0 0 8px rgba(233, 30, 99, 0.4));
}

@keyframes orbit {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

.decor-lines {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    color: var(--color-primary);
}

.flow-line {
    stroke-dasharray: 400;
    stroke-dashoffset: 400;
    animation: dash-flow 10s ease-in-out infinite;
}

.line-1 { animation-delay: 0s; color: var(--color-primary); }
.line-2 { animation-delay: 5s; color: var(--color-secondary); }
.line-3 { animation-delay: 2s; stroke-dasharray: 10 20; color: #d4b8ff; }

@keyframes dash-flow {
    0% { stroke-dashoffset: 800; opacity: 0; }
    30% { opacity: 0.2; }
    70% { opacity: 0.2; }
    100% { stroke-dashoffset: 0; opacity: 0; }
}

.decor-flowers .flower {
    position: absolute;
    width: 60px;
    height: auto;
    opacity: 0.15;
    filter: brightness(1.2);
    pointer-events: none;
    animation: float-flower 8s ease-in-out infinite;
}

.fl-1 { top: 15%; left: 8%; width: 70px; animation-delay: 0s; }
.fl-2 { top: 75%; left: 12%; width: 50px; animation-delay: 2s; transform: rotate(45deg); }
.fl-3 { top: 35%; left: 85%; width: 80px; animation-delay: 4s; }
.fl-4 { top: 80%; left: 88%; width: 60px; animation-delay: 1s; transform: rotate(-30deg); }
.fl-5 { top: 10%; left: 45%; width: 45px; animation-delay: 5s; opacity: 0.1; }

@keyframes float-flower {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(15deg); }
}

.enrolment-interactive-container {
    display: flex;
    flex-direction: column;
    gap: 4rem;
    align-items: center;
    max-width: 1100px;
    margin: 4rem auto 0;
    position: relative;
    z-index: 1; /* Stay above decor */
}

.path-group {
    display: flex;
    align-items: center;
    box-shadow: 0 15px 45px rgba(107, 91, 149, 0.08);
    transition: all 0.7s cubic-bezier(0.34, 1.56, 0.64, 1);
    cursor: pointer;
    overflow: hidden;
    position: relative;
    max-width: 100%;
    border-radius: 150px; /* Always circular ends */
    width: 300px; /* Forced perfect circle width */
    height: 300px; /* Forced perfect circle height */
    padding: 0; /* No padding while closed for perfect circle */
}

.path-group.group-left {
    align-self: flex-start;
    background: linear-gradient(135deg, var(--pastel-lavender-rich) 0%, var(--pastel-lavender-deep) 100%);
}

.path-group.group-right {
    align-self: flex-end;
    background: linear-gradient(135deg, var(--pastel-rose-deep) 0%, #D81B60 100%);
}

.path-group.active {
    width: 800px; /* Expanded width (300 trigger + 500 content) */
    border-radius: 150px; /* Preserve pill shape with circular ends */
}

.path-group.active.group-right {
    padding-left: 4rem; /* Apply padding left only when open */
}

.circle-trigger {
    width: 300px;
    height: 300px;
    flex: 0 0 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2.5rem;
    color: white;
    z-index: 2;
    transition: all 0.5s ease;
    background: transparent; /* Background now handled by parent */
}

.circle-trigger .path-icon {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    color: inherit;
    filter: drop-shadow(0 5px 15px rgba(0,0,0,0.2));
}

.circle-trigger h3 {
    font-size: 1.8rem;
    color: white;
    margin-bottom: 0.8rem;
    line-height: 1.2;
}

.click-hint {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-top: 1rem;
    font-weight: 500;
}

.expanding-content {
    width: 0;
    opacity: 0;
    overflow: hidden;
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.content-inner {
    width: 450px; 
    padding: 3rem;
    transform: translateX(-20px);
    transition: transform 0.6s ease;
    color: white; /* Text white on expansion */
}

.group-right .content-inner {
    transform: translateX(20px);
}

.path-group.active.group-left,
.path-group.active.group-right {
    border-radius: 150px; /* Keep pill shape */
}

.path-group.active .expanding-content {
    width: 500px;
    opacity: 1;
}

.path-group.active .content-inner {
    transform: translateX(0);
}

.path-group.active .click-hint {
    display: none;
}

.path-group .path-desc {
    color: rgba(255,255,255,0.9);
}

.path-group .path-features {
    list-style: none;
    margin: 1.5rem 0 2rem;
}

.path-group .path-features li {
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    font-size: 1.05rem;
    color: white;
}

.path-group .path-features li i {
    color: white;
    opacity: 0.8;
    margin-right: 1rem;
}

.path-group .btn-sm {
    padding: 0.6rem 1.5rem;
    font-size: 0.9rem;
}

.path-group .btn-outline {
    background: transparent;
    border-color: rgba(255,255,255,0.4);
    color: white;
}

.path-group .btn-outline:hover {
    background: white;
    color: var(--color-primary);
    border-color: white;
}

@media (max-width: 991px) {
    .path-group.active .expanding-content {
        width: 350px;
    }
    .content-inner {
        width: 350px;
        padding: 2rem;
    }
}

@media (max-width: 768px) {
    .enrolment-interactive-container {
        gap: 1.5rem;
    }

    /* Default: perfect circle */
    .path-group {
        flex-direction: column;
        width: 260px;
        height: 260px;
        border-radius: 130px !important;
        align-self: center !important;
        padding: 0 !important;
        overflow: hidden;
    }

    .circle-trigger {
        width: 260px;
        height: 260px;
        flex: 0 0 260px;
        padding: 1.5rem;
    }

    .circle-trigger .path-icon { font-size: 2.5rem; }
    .circle-trigger h3 { font-size: 1.4rem; }

    /* Hide content by default on mobile */
    .expanding-content {
        display: block;
        width: 0 !important;
        height: 0;
        overflow: hidden;
        opacity: 0;
        transition: height 0.5s ease, opacity 0.4s ease;
    }

    /* When active: grow DOWNWARD, keep pill shape */
    .path-group.active {
        width: 92vw !important;
        max-width: 400px !important;
        height: auto !important;
        border-radius: 150px !important; /* Same pill shape as desktop */
    }

    .path-group.active .circle-trigger {
        width: 100%;
        height: 200px;
        flex: 0 0 200px;
    }

    .path-group.active .expanding-content {
        width: 100% !important;
        height: auto;
        opacity: 1;
    }

    .path-group.active .content-inner {
        width: 100% !important;
        padding: 2rem 2.5rem 2.5rem;
        transform: translateX(0) !important;
        color: white;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .path-group.active .path-features li {
        justify-content: center;
    }

    /* Re-order for group-right: circle on top, content below */
    .path-group.group-right {
        flex-direction: column;
    }
    .path-group.group-right .expanding-content { order: 2; }
    .path-group.group-right .circle-trigger { order: 1; }
}

/* 5. PROGRAMS */
.programs {
    padding: 80px 0;
    background-color: var(--pastel-lemon);
}

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

.program-card {
    background: var(--color-bg-card);
    border-radius: var(--radius-card);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(255,255,255,0.5);
    position: relative;
    z-index: 1;
}

.program-card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-8px);
    z-index: 10; /* Boost z-index to prevent hover overlap issues */
}

.card-img {
    height: 240px;
    overflow: hidden;
    position: relative;
}

.card-img::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0; height: 50%;
    background: linear-gradient(0deg, rgba(0,0,0,0.5) 0%, transparent 100%);
    z-index: 1;
}

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

.program-card:hover .card-img img {
    transform: scale(1.08);
}

.duration {
    position: absolute;
    bottom: 15px; left: 20px;
    z-index: 2;
    background: var(--pastel-lavender);
    color: var(--pastel-lavender-deep);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    margin: 0;
    backdrop-filter: blur(4px);
}

.card-content {
    padding: 2.5rem 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.card-content h3 {
    font-size: 1.5rem;
    color: var(--color-heading);
    margin-bottom: 1rem;
    font-family: var(--font-heading);
}

.p-desc {
    color: var(--color-text);
    margin-bottom: 2.5rem;
    flex-grow: 1;
    font-size: 1.05rem;
    line-height: 1.6;
}

/* 6. HOME, HARMONY & ENTREPRENEURSHIP */
.harmony-detail {
    padding: 80px 0;
    background: var(--pastel-rose);
}

/* 7. COURSE FORMAT & REGISTRATION */
.course-format {
    padding: 2rem 0;
    background: linear-gradient(180deg, white 0%, var(--color-bg-alt) 100%);
}

.harmony-flex, .format-flex {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.harmony-text, .format-text {
    flex: 1;
}

.harmony-image, .format-image {
    flex: 1;
    position: relative;
}

.harmony-image::before, .format-image::before {
    content: '';
    position: absolute;
    top: -20px; left: -20px; right: 20px; bottom: 20px;
    background: var(--color-primary-lighter);
    border-radius: 24px;
    z-index: 0;
}

.harmony-image img, .format-image img {
    width: 100%;
    border-radius: 24px;
    box-shadow: var(--shadow-card);
    position: relative;
    z-index: 1;
}

.harmony-text h2, .format-text h2 {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
}

.harmony-text p, .format-text p {
    font-size: 1.15rem;
    margin-bottom: 2.5rem;
}

.harmony-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.h-list-item {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    font-weight: 500;
    font-size: 1.1rem;
    color: var(--color-primary-dark);
}

.h-list-item i {
    color: var(--color-accent);
    font-size: 1.2rem;
    background: var(--color-accent-light);
    width: 36px; height: 36px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
}

.format-flex {
    flex-direction: row-reverse;
}

.format-list {
    list-style: none;
    margin-top: 2.5rem;
}

.format-list li {
    margin-bottom: 1.5rem;
    padding: 1.8rem;
    background: white;
    box-shadow: var(--shadow-soft);
    border-radius: var(--radius-card);
    border-left: 5px solid var(--color-primary);
    display: flex;
    align-items: center;
    transition: var(--transition);
}

.format-list li:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-card);
}

.format-list li i {
    color: var(--color-primary);
    margin-right: 15px;
    font-size: 1.4rem;
}

/* 8. COMMUNITY FORUM PREVIEW */
.community {
    padding: 80px 0;
    position: relative;
    background: var(--pastel-sky);
    overflow: hidden;
}

.community-bg-layer {
    position: absolute;
    bottom: 0; left: 0; right: 0; top: 0;
    background: radial-gradient(circle at top left, var(--color-primary-lighter) 0%, transparent 60%),
                radial-gradient(circle at bottom right, var(--color-secondary-light) 0%, transparent 60%);
    opacity: 0.6;
}

.community-container {
    display: flex;
    align-items: center;
    gap: 4rem;
    position: relative;
}

.community-text {
    flex: 1.2;
}

.community-text h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.community-text p {
    font-size: 1.15rem;
    margin-bottom: 2.5rem;
}

.community-list {
    flex: 0.8;
    display: flex;
    flex-direction: column;
    gap: 1.8rem;
}

.community-item {
    display: flex;
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-card);
    padding: 1.2rem;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
    align-items: center;
    gap: 1.5rem;
    border: 1px solid rgba(255,255,255,0.5);
}

.community-item:hover {
    transform: translateX(-12px);
    box-shadow: var(--shadow-card);
    background: white;
}

.community-item img {
    width: 110px;
    height: 110px;
    object-fit: cover;
    border-radius: 12px;
}

.c-item-text h4 {
    font-family: var(--font-body);
    font-size: 1.25rem;
    margin-bottom: 0.3rem;
    color: var(--color-primary-dark);
}

.c-item-text p {
    color: var(--color-text);
    font-size: 1rem;
}

/* 9. LEGAL PAGES (Privacy & Terms) */
.privacy-card {
    background: white;
    padding: 3.5rem;
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-card);
    max-width: 900px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .privacy-card {
        padding: 2rem 1.5rem !important; /* Reduced padding for mobile */
    }
}

/* 9. TESTIMONIALS */
.testimonials-section {
    position: relative;
    overflow: hidden;
    padding-top: 60px;
    padding-bottom: 60px;
    background: linear-gradient(135deg, var(--pastel-lavender) 0%, #f5f3ff 100%);
}

.testimonials {
    padding: 4rem 0;
    background: var(--color-bg-light);
    padding-left: 20px;
    padding-right: 20px;
}

.testimonials-slider-wrapper {
    position: relative;
    width: 100%;
    margin-top: 2rem;
    overflow-x: clip; /* clip horizontally only — preserves vertical shadow/border */
}

.testimonials-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 2rem;
    padding: 1rem 0 2rem;
    scrollbar-width: none; /* Hide scrollbar Firefox */
    -ms-overflow-style: none; /* Hide scrollbar IE/Edge */
}

.testimonials-grid::-webkit-scrollbar {
    display: none; /* Hide scrollbar Chrome/Safari */
}

.test-card {
    flex: 0 0 calc(33.333% - 1.35rem);
    scroll-snap-align: center;
    min-width: 320px;
    background: var(--theme-light);
    padding: 2.5rem;
    border-radius: 30px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    border: 1px solid var(--theme-color);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    --theme-color: var(--color-primary-light);
    --theme-light: white;
}

.test-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 35px var(--theme-glow);
    /* background: white; */
}

.test-card.theme-lavender {
    --theme-color: var(--pastel-lavender-deep);
    --theme-light: var(--pastel-lavender);
    --theme-glow: rgba(93, 52, 165, 0.1);
}

.test-card.theme-rose {
    --theme-color: var(--pastel-rose-deep);
    --theme-light: var(--pastel-rose);
    --theme-glow: rgba(216, 27, 96, 0.1);
}

.test-card.theme-sky {
    --theme-color: var(--pastel-sky-deep);
    --theme-light: var(--pastel-sky);
    --theme-glow: rgba(52, 152, 219, 0.1);
}

.test-card.theme-peach {
    --theme-color: var(--pastel-peach-deep);
    --theme-light: var(--pastel-peach);
    --theme-glow: rgba(255, 143, 0, 0.1);
}

.test-card.theme-mint {
    --theme-color: var(--pastel-mint-deep);
    --theme-light: var(--pastel-mint);
    --theme-glow: rgba(76, 175, 80, 0.1);
}

.test-card.theme-lemon {
    --theme-color: var(--pastel-lemon-deep);
    --theme-light: var(--pastel-lemon);
    --theme-glow: rgba(255, 235, 59, 0.1);
}

/* Pagination Dots */
.slider-pagination {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 1rem;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--color-border);
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background: var(--color-primary);
    width: 25px;
    border-radius: 5px;
}

@media (max-width: 1150px) {
    .test-card {
        flex: 0 0 calc(50% - 1rem);
    }
}

/* Slider Nav - General Styles */
.slider-nav {
    display: none;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2rem;
}

.outcomes-nav {
    display: none; /* Always hidden now as it's infinite scroll */
}

.slider-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid var(--color-primary-light);
    background: white;
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow-soft);
}

.slider-btn:hover {
    background: var(--color-primary);
    color: white;
    transform: scale(1.1);
    box-shadow: var(--shadow-card);
}


.quote-icon {
    font-size: 2.5rem;
    color: var(--color-primary-light);
    margin-bottom: 1.5rem;
}

.test-quote {
    font-size: 1.15rem;
    font-style: italic;
    color: var(--color-text);
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.test-author {
    display: flex;
    flex-direction: column;
    border-top: 1px solid var(--color-border);
    padding-top: 1.5rem;
}

.test-author .author-name {
    font-weight: 700;
    color: var(--color-primary-dark);
    font-size: 1.1rem;
    margin-bottom: 0.2rem;
}

.test-author .author-role {
    font-size: 0.95rem;
    color: var(--color-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

/* REMOVED DUPLICATE FINAL CTA BLOCK */

/* FOOTER */
.footer {
    /* background: radial-gradient(circle at 30% 30%, var(--pastel-sky) 0%, var(--pastel-peach) 45%, var(--pastel-lavender) 75%, var(--pastel-rose) 100%); */
    color: var(--color-text);
    position: relative;
    overflow: hidden;
    margin-top: 0;
    border-top: 1px solid rgba(0,0,0,0.05);
}

/* 🌺 Floral Background using CSS pseudo-element for robustness */
.footer::before {
    content: '';
    position: absolute;
    bottom: -80px;
    right: -80px;
    width: 600px;
    height: 600px;
    background-image: url('../images/flowe_footer_3.png');
    background-size: contain;
    background-position: bottom right;
    background-repeat: no-repeat;
    opacity: 0.60; /* Subtler for better blending with pastel bg */
    z-index: 0;
    pointer-events: none;
}

.footer-container {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.2fr 1fr;
    gap: 2rem;
    padding: 70px 0 40px;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    position: relative;
    z-index: 1;
}

.footer-brand .logo {
    display: inline-block;
    color: var(--color-primary-dark);
    margin-bottom: 1.5rem;
}

.footer-brand .logo-img {
    height: 60px; /* Slightly larger in footer */
}

.footer-desc {
    font-size: 1.05rem;
    line-height: 1.6;
    color: var(--color-text-light);
    padding-right: 2rem;
}

.footer-nav h3, .footer-connect h3 {
    color: var(--color-primary-dark);
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    font-family: var(--font-heading);
}

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

.footer-links a {
    color: var(--color-text-light);
    font-size: var(--font-size-small);
    transition: var(--transition);
    width: fit-content;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

.footer-links a:hover {
    color: var(--color-primary);
    transform: translateX(5px);
}

.footer-socials { 
    display: flex; 
    gap: 1rem; 
    margin-bottom: 1.5rem;
}

/* Toast Notification Alert */
.toast-notification {
    position: fixed;
    bottom: 30px;
    right: 30px;
    transform: translateX(120%);
    background: var(--color-primary);
    color: white;
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    z-index: 10000;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    opacity: 0;
    pointer-events: none;
}

.toast-notification.active {
    transform: translateX(0);
    opacity: 1;
}

.toast-notification i {
    font-size: 1rem;
}

.footer-socials a {
    display: flex; align-items: center; justify-content: center;
    width: 40px; height: 40px; border-radius: 50%;
    color: var(--color-primary); background: var(--pastel-lavender);
    transition: var(--transition);
}

.footer-socials a.ig:hover { background: #E4405F; color: white; transform: translateY(-4px); }
.footer-socials a.fb:hover { background: #1877F2; color: white; transform: translateY(-4px); }
.footer-socials a.yt:hover { background: #FF0000; color: white; transform: translateY(-4px); }
.footer-socials a.tw:hover { background: #1DA1F2; color: white; transform: translateY(-4px); }

.footer-email {
    color: var(--color-text-light);
    font-size: var(--font-size-small);
}

.footer-bottom {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
    font-size: var(--font-size-small);
    color: var(--color-text-light);
    position: relative;
    z-index: 1;
}

.footer-bottom a { margin: 0 0.5rem; color: black; }
.footer-bottom a:hover { color: var(--color-primary); }

/* SCROLL TO TOP BUTTON */
.scroll-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--pastel-lavender-deep) 0%, var(--pastel-rose-deep) 100%);
    color: white;
    border: none;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    cursor: pointer;
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.scroll-top-btn.active {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.scroll-top-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(220, 20, 60, 0.4);
}

/* Scroll Progress Ring */
.scroll-top-btn .progress-ring {
    position: absolute;
    top: 0;
    left: 0;
    transform: rotate(-90deg); /* Start circle fill at the top (12 o'clock) */
    pointer-events: none;
}

.scroll-top-btn .progress-ring__circle {
    transition: stroke-dashoffset 0.1s linear; /* Smooth fill animation */
    /* Circumference = 2 * pi * r (r=28) = ~176 */
    stroke-dasharray: 176 176; 
    stroke-dashoffset: 176; /* Start empty */
}

/* Keep icon centered above the SVG */
.scroll-top-btn i {
    position: relative;
    z-index: 2;
}

/* RESPONSIVE */
/* RESPONSIVE STYLES */
@media (max-width: 1150px) {
    .nav-links {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        height: calc(100vh - 70px);
        background: white;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        gap: 0;
        padding: 0 0 1.5rem;
        transform: translateX(-100%);
        transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
        z-index: 999;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        overflow-y: auto;
    }

    .nav-links.active {
        transform: translateX(0);
    }

    .nav-links a:not(.btn) {
        width: 100%;
        padding: 0.6rem 1.5rem !important; /* Significantly reduced from 0.9rem */
        display: flex;
        align-items: center;
        justify-content: flex-start;
        border-bottom: 1px solid var(--color-bg-light);
        font-size: 0.95rem; /* Slightly smaller for better fit */
        background: white;
        text-align: left;
    }

    .nav-links a:not(.btn)::after {
        display: none !important;
    }

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

    .dropdown-toggle {
        justify-content: space-between !important;
    }

    .dropdown-menu {
        position: static;
        width: 100% !important;
        transform: none !important;
        left: 0 !important;
        opacity: 1;
        visibility: visible;
        display: none;
        background: var(--color-bg-light);
        border: none;
        box-shadow: none;
        padding: 0;
    }

    .dropdown.active .dropdown-menu {
        display: block;
    }

    .dropdown-menu a {
        padding-left: 3rem !important; /* Indented submenu items */
        background: var(--color-primary-lighter) !important;
    }

    .menu-toggle {
        display: block !important;
    }

    .hero-container, .community-container, .harmony-flex, .format-flex {
        flex-direction: column; 
        text-align: center; 
        gap: 1.5rem;
    }

    .hero-content, .harmony-text, .format-text, .community-text {
        max-width: 100%;
    }

    .hero-illustration-wrapper { margin-top: 0.5rem; width: 100%; height: auto; min-height: 350px; }
    .svg-container { max-width: 100%; }

    .harmony-image::before, .format-image::before {
        top: -10px; left: -10px; right: 10px; bottom: 10px;
    }

    .about-grid, .programs-grid, .outcomes-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .paths-grid, .test-grid {
        grid-template-columns: 1fr;
    }

    .harmony-list {
        grid-template-columns: 1fr;
        text-align: left;
    }

    .nav-actions {
        display: flex;
        align-items: center;
        gap: 0.25rem; /* Even smaller gap */
    }

    /* Further compress Google Translate widget */
    .goog-te-gadget-simple {
        padding: 2px 4px !important;
        font-size: 0.65rem !important; /* Smaller text */
        border-radius: 4px !important;
        margin-right: 0.25rem !important;
        max-width: 120px; /* Constrain width */
        overflow: hidden;
    }

    .goog-te-menu-value span:first-child::after {
        content: 'EN/HI'; /* Shorter text for mobile */
    }

    .goog-te-menu-value span:first-child::before {
        display: none; /* Hide the globe icon to save space */
    }

    /* Menu toggle styling to ensure visibility */
    .menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        background: transparent;
        border: none;
        font-size: 1.4rem;
        color: var(--color-primary);
        cursor: pointer;
        padding: 0.2rem;
    }

    .nav-actions .nav-btn {
        display: none; /* Hide button next to hamburger on mobile */
    }

    .nav-links .nav-btn {
        display: inline-flex; /* Show button inside the mobile menu */
        margin: 0.8rem 1.5rem; 
        padding: 0.6rem 1.2rem !important; 
        font-size: 0.9rem !important; 
        width: auto;
    }

    .submenu-toggle {
        width: 55px;
        height: 55px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: var(--color-bg-light);
        margin-right: -1.5rem; /* Align with right edge */
        border-radius: 0;
    }
}

@media (max-width: 1024px) {
    .hero-content {
        display: flex; /* Robust stacking for tablets/mobile */
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }

    .hero-illustration-wrapper {
        order: 2; /* Illustration below Buttons */
        width: 100%;
        min-height: 300px;
        margin: 1.5rem 0;
    }

    .hero h1 {
        order: 1; /* Heading first */
        font-size: 2.2rem;
        max-width: 100%;
        margin-bottom: 0.5rem;
    }

    .hero-subheadline {
        order: 3;
        font-size: 1.1rem;
        max-width: 100%;
        margin-bottom: 1.2rem;
    }

    .hero-desc {
        order: 6;
        display: block !important;
        font-size: 1rem;
        line-height: 1.6;
        margin-top: 2rem;
        max-width: 100%;
    }

    .hero-buttons {
        order: 5; /* Main CTAs move up */
        justify-content: center;
        width: 100%;
        margin-top: 1rem;
    }
}

@media (max-width: 768px) {
    body { padding-top: 70px; }
    
    .logo-img {
        height: 48px; /* Slightly smaller logo on mobile to make room */
    }

    .hero, .about-us, .outcomes, .enrolment, .programs, .harmony-detail, .course-format, .community, .testimonials, .final-cta {
        padding: 1.5rem 0; /* Consistent responsive padding on mobile */
    }
    
    .about-grid, .programs-grid, .outcomes-grid {
        grid-template-columns: 1fr;
    }

    .hero h1 { font-size: 2.4rem; }
    .section-header h2 { font-size: 1.8rem; margin-bottom: 0.5rem; }
    .section-header .subtitle, .lead-text { font-size: 1.1rem; }
    
    /* Mobile Footer adjustments */
    .footer {
        padding: 4rem 0 2rem;
    }

    .footer::before {
        background-image: url('../images/flowe_footer_3cpy.png');
        width: 500px;
        height: 400px;
        bottom: -40px;
        right: -30px;
        opacity: 0.25;
    }
    
    .hero-buttons.center, .hero-buttons { 
        justify-content: center; 
        width: 100%; 
        flex-wrap: wrap;
        max-width: 100%;
        gap: 1rem;
    }
    
    .hero-buttons .btn { 
        width: 100%; 
        min-width: 100%; /* Full screen width stack */
        padding: 0.9rem 1.5rem;
        font-size: 1rem;
    }

    .hero-desc {
        display: block !important; /* Restore description on mobile */
        font-size: 0.95rem;
        line-height: 1.5;
        margin-bottom: 2rem;
        max-width: 100%;
        opacity: 0.9;
    }
    
    .path-card, .feature-card, .program-card, .outcome-item {
        padding: 1.5rem 1.25rem;
    }
    
    .test-card {
        padding: 1rem;
    }

    /* Reduce internal margins for shorter cards */
    .path-icon { margin-bottom: 1.2rem; }
    .path-card h3 { margin-bottom: 0.8rem; }
    .path-desc { margin-bottom: 1.5rem; }
    .path-features { margin-bottom: 2rem; }
    
    /* Program card specific mobile sizing */
    .card-img { height: 180px; }
    .card-content { padding: 1.2rem 1rem; }
    .card-content h3 { margin-bottom: 0.4rem; font-size: 1.3rem; }
    .p-desc { margin-bottom: 1.2rem; font-size: 0.95rem; }
    .program-card .btn { padding: 0.6rem 1rem; font-size: 0.9rem; }
    
    .test-quote { margin-bottom: 1.5rem; line-height: 1.4; }
    .quote-icon { font-size: 2rem; margin-bottom: 1rem; }

    .logo { font-size: 1.8rem; }

    /* Outcomes Slider Adjustments for Mobile */
    .outcomes-grid {
        animation-duration: 25s; /* Speed up a bit on small screens */
    }

    /* Testimonials Mobile Slider */
    .testimonials-slider-wrapper {
        overflow-x: clip; /* clip horizontal only, keep top border visible */
        margin: 0;
        padding: 0.5rem 0.5rem 0;
    }

    .testimonials-grid {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 1rem;
        padding: 0.5rem 0.5rem 2rem 0.5rem;
        -webkit-overflow-scrolling: touch;
    }

    .testimonials-grid::-webkit-scrollbar {
        display: none;
    }

    .test-card {
        flex: 0 0 95%;
        max-width: 95%;
        min-width: unset; /* override the base 320px min-width */
        scroll-snap-align: center;
        margin: 0 0.5rem;
    }

    .slider-nav {
        display: flex;
        margin-bottom: 1rem;
    }
}

.subpage-hero-content {
    position: relative;
    z-index: 1;
}

.subpage-hero h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 1rem;
    color: var(--color-primary-dark);
}

.breadcrumb {
    display: flex;
    gap: 0.8rem;
    font-size: 1rem;
    font-weight: 500;
    color: var(--color-text-light);
}

.breadcrumb a:hover {
    color: var(--color-primary);
}

.breadcrumb .sep {
    opacity: 0.5;
}

.breadcrumb .active {
    color: var(--color-primary);
    font-weight: 700;
}

/* About Intro */
.about-flex {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.about-intro-text {
    flex: 1.2;
}

.about-intro-text h2 {
    font-size: 2.8rem;
    margin-bottom: 2rem;
    line-height: 1.2;
}

.intro-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin: 2.5rem 0;
}

.intro-card {
    padding: 1.5rem;
    background: white;
    border-radius: 16px;
    box-shadow: var(--shadow-soft);
    border-left: 4px solid var(--color-primary);
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.i-icon {
    font-size: 1.2rem;
    color: var(--color-primary);
    background: var(--color-primary-lighter);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.about-intro-visual {
    flex: 0.8;
}

.visual-blob-wrapper {
    position: relative;
    padding: 2rem;
}

.blob-anim {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    background: linear-gradient(135deg, var(--color-primary-light) 0%, var(--color-secondary-light) 100%);
    top: 0; left: 0;
    z-index: 0;
    animation: blob-morph 15s ease-in-out infinite alternate;
}

@keyframes blob-morph {
    0% { border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%; }
    100% { border-radius: 70% 30% 50% 50% / 30% 60% 40% 70%; }
}

.intro-img {
    position: relative;
    z-index: 1;
    width: 100%;
    border-radius: 30px;
    box-shadow: var(--shadow-card);
}

.floating-icons {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0; left: 0;
    z-index: 2;
    pointer-events: none;
}

.f-icon {
    position: absolute;
    width: 50px;
    height: 50px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-card);
    color: var(--color-primary);
    font-size: 1.2rem;
    animation: float 4s ease-in-out infinite;
}

.fi-1 { top: 10%; right: 10%; animation-delay: 0s; }
.fi-2 { bottom: 20%; left: -5%; animation-delay: 1s; }
.fi-3 { top: 40%; left: -10%; animation-delay: 2s; }

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

/* Vision Section */
.about-vision {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--pastel-mint) 0%, var(--pastel-sky) 100%);
    color: var(--color-text);
    text-align: center;
    position: relative;
    overflow: hidden;
    border-top: 1px solid rgba(0,0,0,0.05);
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.vision-pattern {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='50' cy='50' r='1' fill='white' opacity='0.1'/%3E%3C/svg%3E");
    background-size: 40px 40px;
}

.vision-content {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.about-vision h2 {
    /* Use global .section-header h2 styles */
    color: var(--pastel-mint-deep);
}

.vision-goals {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 4rem;
    flex-wrap: wrap;
}

.v-goal {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.v-num {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--pastel-mint-deep);
    background: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--pastel-mint);
    box-shadow: var(--shadow-soft);
}

/* Objectives Card */
.objectives-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.obj-card {
    background: white;
    padding: 2.5rem 1.8rem;
    border-radius: 20px;
    text-align: center;
    border: 1px solid var(--color-border);
    transition: var(--transition);
}

.obj-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-card);
    border-color: var(--color-primary);
}

.obj-icon {
    width: 70px;
    height: 70px;
    background: var(--color-primary-lighter);
    color: var(--color-primary);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 1.5rem;
    transition: var(--transition);
}

.obj-card:hover .obj-icon {
    transform: rotateY(180deg);
    background: var(--color-primary);
    color: white;
}

/* Positioning */
.positioning-wrapper {
    display: flex;
    align-items: center;
    gap: 5rem;
    background: var(--color-primary-lighter);
    padding: 5rem;
    border-radius: 40px;
}

.pos-text {
    flex: 1.2;
}

.pos-list {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.pos-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--color-primary-dark);
}

.pos-item i {
    color: var(--color-secondary);
    font-size: 1.4rem;
}

.pos-visual {
    flex: 0.8;
    display: flex;
    justify-content: center;
}

.pulse-container {
    position: relative;
    width: 200px;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pulse-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 2px solid var(--color-secondary);
    border-radius: 50%;
    opacity: 0;
    animation: pulse-ring 3s infinite linear;
}

.pulse-ring:nth-child(2) {
    animation-delay: 1.5s;
}

.center-icon {
    width: 80px;
    height: 80px;
    background: var(--color-secondary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    z-index: 2;
    box-shadow: 0 0 20px rgba(216, 27, 96, 0.4);
}

@keyframes pulse-ring {
    0% { transform: scale(0.5); opacity: 0; }
    50% { opacity: 0.5; }
    100% { transform: scale(1.5); opacity: 0; }
}

/* Responsive About */
@media (max-width: 1200px) {
    .footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
    .objectives-grid { grid-template-columns: repeat(2, 1fr); }
    .positioning-wrapper { flex-direction: column; padding: 3rem; text-align: center; }
    .pos-list { align-items: center; }
}

@media (max-width: 992px) {
    .footer-container { 
        grid-template-columns: 1fr; 
        gap: 2.5rem; 
        text-align: center;
    }
    
    .footer-desc { padding-right: 0; font-size: 1rem; }
    
    .footer-socials {
        justify-content: center;
    }
    
    .footer-links { align-items: center; }

    .about-flex { flex-direction: column; text-align: center; }
    .intro-cards { grid-template-columns: 1fr; }
    .about-vision h2 { font-size: 2.5rem; }
}

@media (max-width: 768px) {
    :root {
        --font-size-sub: 1rem;      /* Scaled down for mobile */
        --font-size-small: 0.85rem;  /* Scaled down for mobile */
    }

    .hero {
        min-height: auto;
        padding: 0.2rem 0; /* Minimal padding */
    }
    
    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        width: 100%;
        gap: 0.2rem; /* Tight gap between flex items */
    }

    .hero-illustration-wrapper {
        width: 100%;
        min-height: auto;
        margin: 0.1rem 0; /* Ultra minimal margin */
    }

    .hero-gallery {
        height: 280px; /* Further reduced height */
        margin-top: 0.1rem;
    }

    .gallery-item.active {
        width: 300px; 
        height: 220px;
        border-radius: 20px;
        z-index: 15;
        transform: translate3d(0, 0, 0) rotate(0deg);
    }

    .gallery-item.floating-1 {
        width: 80px;
        height: 80px;
        z-index: 16;
        transform: rotate(45deg) translate3d(140px, 0, 0) rotate(-45deg);
    }

    .gallery-item.floating-2 {
        width: 70px;
        height: 70px;
        z-index: 16;
        transform: rotate(225deg) translate3d(140px, 0, 0) rotate(-225deg);
    }

    .anim-icon {
        width: 35px !important;
        height: 35px !important;
        font-size: 1.1rem !important;
    }

    .hero h1 {
        font-size: 1.8rem; /* Slightly smaller font */
        line-height: 1.1;
        margin-bottom: 0.1rem; /* Alomst no margin */
    }
    
    .hero-subheadline {
        font-size: 0.95rem;
        margin-bottom: 0.5rem; /* Tighter margin */
        line-height: 1.3;
    }

    .hero-buttons {
        justify-content: center;
        gap: 0.8rem;
    }

    .hero-desc {
        display: block !important;
        font-size: 0.9rem;
        margin-bottom: 2rem;
        max-width: 100%;
    }

    .objectives-grid { grid-template-columns: 1fr; }
    .subpage-hero h1 { font-size: 2.5rem; }
}

/* Form Validation Styles moved to end of file */

/* --- GLOBAL FORM VALIDATION STYLES --- */
.form-group.has-error label {
    color: #AD1457 !important;
}

.form-group.has-error input,
.form-group.has-error select,
.form-group.has-error textarea {
    border-color: #AD1457 !important;
    background-color: #fffcfc !important;
    box-shadow: 0 0 0 4px rgba(173, 20, 87, 0.1) !important;
}

/* Error message styling - consolidated and confirmed visible */
.error-message {
    color: #AD1457 !important;
    font-size: 0.85rem !important;
    margin-top: 8px !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    animation: fieldErrorIn 0.3s ease-out forwards !important;
    position: relative !important;
    z-index: 5 !important;
}

.error-message::before {
    content: '\f06a'; /* Font Awesome exclamation circle */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    margin-right: 6px;
}

@keyframes fieldErrorIn {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
