/* ============================================================
   AYWAH — PREMIUM DESIGN SYSTEM v2.0
   Full Visual Transformation · Luxury Healthcare Platform
   ============================================================ */

/* ============================================================
   1. DESIGN TOKENS — BOLD, RICH, PREMIUM
   ============================================================ */
:root {
    /* ── Primary palette: deep plum → vibrant magenta ── */
    --premium-primary: #6A1B6D;
    --premium-primary-rich: #8B2F8E;
    --premium-primary-vivid: #A94BAD;
    --premium-primary-light: #C77BCC;
    --premium-primary-glow: rgba(139, 47, 142, 0.35);
    --premium-primary-subtle: rgba(106, 27, 109, 0.08);
    --premium-primary-glass: rgba(106, 27, 109, 0.06);

    /* ── Accent: warm gold / amber ── */
    --premium-gold: #D4A54A;
    --premium-gold-light: #E8C76A;
    --premium-gold-glow: rgba(212, 165, 74, 0.25);

    /* ── Accent blue (call-to-action) ── */
    --premium-accent: #2563EB;
    --premium-accent-light: #60A5FA;

    /* ── Surfaces ── */
    --premium-bg: #FAFAFA;
    --premium-bg-warm: #F8F6F4;
    --premium-bg-elevated: #FFFFFF;
    --premium-bg-muted: #F1EEF1;
    --premium-bg-glass: rgba(255, 255, 255, 0.7);

    /* ── Text ── */
    --premium-text: #1A0E1B;
    --premium-text-secondary: #4A3B4C;
    --premium-text-muted: #8D7F90;
    --premium-text-on-dark: #F5F0F6;

    /* ── Borders ── */
    --premium-border: #E5DDE7;
    --premium-border-light: #F0ECF1;
    --premium-border-strong: #C9BFD0;

    /* ── Shadows — dramatically deeper ── */
    --premium-shadow-xs: 0 1px 3px rgba(26, 14, 27, 0.06);
    --premium-shadow-sm: 0 2px 8px rgba(26, 14, 27, 0.08);
    --premium-shadow: 0 4px 20px rgba(26, 14, 27, 0.10);
    --premium-shadow-md: 0 8px 32px rgba(26, 14, 27, 0.12);
    --premium-shadow-lg: 0 16px 48px rgba(26, 14, 27, 0.16);
    --premium-shadow-xl: 0 24px 64px rgba(26, 14, 27, 0.20);
    --premium-shadow-glow: 0 4px 20px var(--premium-primary-glow);
    --premium-shadow-gold: 0 4px 20px var(--premium-gold-glow);
    --premium-shadow-focus: 0 0 0 4px rgba(106, 27, 109, 0.18);
    --premium-shadow-inset: inset 0 2px 4px rgba(26, 14, 27, 0.06);

    /* ── Radii ── */
    --premium-radius-xs: 4px;
    --premium-radius-sm: 8px;
    --premium-radius: 12px;
    --premium-radius-lg: 18px;
    --premium-radius-xl: 28px;
    --premium-radius-pill: 9999px;

    /* ── Motion ── */
    --premium-ease: cubic-bezier(0.4, 0, 0.2, 1);
    --premium-ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
    --premium-speed: 0.3s;
    --premium-speed-fast: 0.18s;
    --premium-speed-slow: 0.45s;

    /* ── Fonts ── */
    --premium-font: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --premium-font-display: 'Playfair Display', Georgia, serif;

    /* ── Gradients ── */
    --premium-gradient-primary: linear-gradient(135deg, #6A1B6D 0%, #A94BAD 100%);
    --premium-gradient-dark: linear-gradient(135deg, #1A0E1B 0%, #3D1640 50%, #6A1B6D 100%);
    --premium-gradient-gold: linear-gradient(135deg, #D4A54A 0%, #E8C76A 100%);
    --premium-gradient-hero: linear-gradient(135deg, rgba(106,27,109,0.85) 0%, rgba(58,10,60,0.92) 100%);
    --premium-gradient-glass: linear-gradient(135deg, rgba(255,255,255,0.9) 0%, rgba(255,255,255,0.6) 100%);
    --premium-gradient-footer: linear-gradient(180deg, #1A0E1B 0%, #0D060E 100%);
    --premium-gradient-navbar: linear-gradient(180deg, rgba(255,255,255,0.97) 0%, rgba(248,246,244,0.95) 100%);
    --premium-gradient-accent: linear-gradient(135deg, #6A1B6D 0%, #8B2F8E 40%, #D4A54A 100%);
}

/* ============================================================
   2. GLOBAL BASE & TYPOGRAPHY
   ============================================================ */
body {
    font-family: var(--premium-font) !important;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    color: var(--premium-text);
    background-color: var(--premium-bg);
    line-height: 1.7;
    letter-spacing: -0.01em;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--premium-font) !important;
    font-weight: 800;
    letter-spacing: -0.025em;
    line-height: 1.2;
    color: var(--premium-text);
}

p {
    color: var(--premium-text-secondary);
    line-height: 1.75;
    font-size: 15px;
}

a {
    transition: all var(--premium-speed) var(--premium-ease);
}

::selection {
    background: var(--premium-primary-rich);
    color: #fff;
}

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

/* Prevent horizontal overflow */
html, body {
    overflow-x: hidden;
    max-width: 100vw;
}

/* ============================================================
   3. HEADER / NAVBAR — FULL VISUAL REDESIGN
   ============================================================ */

/* ── Navbar container ── */
#header.header.fixed-top {
    height: auto;
    min-height: 0;
    padding: 0;
    background: var(--premium-gradient-navbar);
    border-bottom: none;
    box-shadow: 0 2px 20px rgba(26, 14, 27, 0.08), 0 1px 0 rgba(106, 27, 109, 0.08);
    transition: all var(--premium-speed) var(--premium-ease);
    z-index: 9990;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

#header.header.fixed-top.scrolled-nav {
    box-shadow: 0 4px 30px rgba(26, 14, 27, 0.12), 0 1px 0 rgba(106, 27, 109, 0.1);
}

/* Thin accent line at very top of page */
#header.header.fixed-top::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--premium-gradient-accent);
    z-index: 10;
}

/* Logo */
#header .logo {
    position: relative;
    z-index: 10;
}

#header .logo img {
    max-height: 80px;
    height: 80px;
    width: auto;
    object-fit: contain;
    transition: all var(--premium-speed) var(--premium-ease);
    filter: drop-shadow(0 2px 8px rgba(106,27,109,0.12));
}

#header .logo img:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 4px 16px rgba(106,27,109,0.22));
}

/* ── Desktop Navbar: FULL-WIDTH, SINGLE-ROW ── */
@media (min-width: 1280px) {
    #header.header.fixed-top {
        padding: 3px 0;
    }

    #header .container {
        max-width: 1380px;
    }

    #header .navbar {
        padding: 0;
        flex: 1;
        margin-left: 30px;
    }

    /* The UL that wraps both menu-primary and menu-secondary */
    #header .navbar ul {
        margin: 0;
        padding: 0;
        display: flex;
        list-style: none;
        align-items: center;
        flex-direction: row !important;
        flex-wrap: nowrap;
        width: 100%;
        justify-content: flex-end;
        gap: 0;
    }

    #header .navbar > ul > .menu-primary,
    #header .navbar > ul > .menu-secondary {
        display: flex !important;
        flex-wrap: nowrap !important;
        align-items: center;
        gap: 2px;
    }

    #header .navbar > ul > .menu-secondary {
        margin-left: 4px;
        padding-left: 12px;
        border-left: 2px solid var(--premium-border-light);
    }

    #header .navbar li {
        position: relative;
    }

    /* ── Base nav link — BOLD, GENEROUS ── */
    #header .navbar a,
    #header .navbar a:focus {
        font-family: var(--premium-font);
        font-weight: 700;
        font-size: 13px;
        line-height: 1;
        letter-spacing: 0.02em;
        color: var(--premium-text);
        text-transform: capitalize;
        padding: 10px 14px;
        border-radius: var(--premium-radius-sm);
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 5px;
        text-decoration: none;
        transition: all var(--premium-speed) var(--premium-ease);
        position: relative;
        white-space: nowrap;
        /* Reset any background-clip text effects from original CSS */
        background: transparent;
        background-clip: unset;
        -webkit-background-clip: unset;
        -webkit-text-fill-color: unset;
    }

    /* Subtle underline indicator on hover */
    #header .navbar a::after {
        content: '';
        position: absolute;
        bottom: 4px;
        left: 50%;
        transform: translateX(-50%) scaleX(0);
        width: calc(100% - 20px);
        height: 2.5px;
        background: var(--premium-gradient-primary);
        border-radius: 2px;
        transition: transform var(--premium-speed) var(--premium-ease);
    }

    /* ── Hover & Active ── */
    #header .navbar a:hover,
    #header .navbar .active,
    #header .navbar .active:focus,
    #header .navbar li:hover > a {
        color: var(--premium-primary) !important;
        background: var(--premium-primary-subtle) !important;
        -webkit-text-fill-color: var(--premium-primary);
        background-clip: unset;
        -webkit-background-clip: unset;
        border-radius: var(--premium-radius-sm);
        padding: 10px 14px;
        text-decoration: none;
    }

    #header .navbar a:hover::after,
    #header .navbar .active::after,
    #header .navbar li:hover > a::after {
        transform: translateX(-50%) scaleX(1);
    }

    /* Dropdown chevron */
    #header .navbar a i,
    #header .navbar a:focus i {
        font-size: 10px;
        line-height: 0;
        margin-left: 4px;
        transition: transform var(--premium-speed) var(--premium-ease);
        color: var(--premium-text-muted);
    }

    #header .navbar li:hover > a i {
        transform: rotate(180deg);
        color: var(--premium-primary);
    }

    /* ── Dropdown panels — GLASS MORPHISM ── */
    #header .navbar .dropdown ul {
        padding: 10px;
        display: block;
        position: absolute;
        top: calc(100% + 8px);
        left: 50%;
        transform: translateX(-50%) translateY(12px);
        margin: 0;
        z-index: 99;
        opacity: 0;
        visibility: hidden;
        transition: all var(--premium-speed) var(--premium-ease);
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border: 1px solid rgba(106, 27, 109, 0.08);
        border-radius: var(--premium-radius);
        box-shadow: var(--premium-shadow-md), 0 0 0 1px rgba(106, 27, 109, 0.04);
        min-width: 240px;
    }

    /* Arrow pointer for dropdowns */
    #header .navbar .dropdown ul::before {
        content: '';
        position: absolute;
        top: -6px;
        left: 50%;
        transform: translateX(-50%) rotate(45deg);
        width: 12px;
        height: 12px;
        background: rgba(255, 255, 255, 0.95);
        border-top: 1px solid rgba(106, 27, 109, 0.08);
        border-left: 1px solid rgba(106, 27, 109, 0.08);
    }

    #header .navbar .dropdown:hover > ul {
        opacity: 1;
        visibility: visible;
        transform: translateX(-50%) translateY(0);
    }

    #header .navbar .dropdown ul li {
        min-width: 200px;
    }

    #header .navbar .dropdown ul a {
        padding: 11px 18px;
        font-weight: 600;
        font-size: 13.5px;
        line-height: 1.4;
        color: var(--premium-text);
        border-radius: var(--premium-radius-sm);
        margin: 2px 0;
    }

    /* Remove underline from dropdown items */
    #header .navbar .dropdown ul a::after {
        display: none;
    }

    #header .navbar .dropdown ul a:hover,
    #header .navbar .dropdown ul .active,
    #header .navbar .dropdown ul .active:hover,
    #header .navbar .dropdown ul li:hover > a {
        color: var(--premium-primary) !important;
        background: var(--premium-primary-subtle) !important;
    }

    /* Nested dropdown */
    #header .navbar .dropdown .dropdown ul {
        top: -10px;
        left: calc(100% + 8px);
        transform: translateX(0) translateY(12px);
    }

    #header .navbar .dropdown .dropdown ul::before {
        display: none;
    }

    #header .navbar .dropdown .dropdown:hover > ul {
        opacity: 1;
        visibility: visible;
        transform: translateX(0) translateY(0);
    }

    /* ── Dashboard Button — PREMIUM GRADIENT PILL ── */
    #header .navbar .dashboard-nav-btn {
        background: var(--premium-gradient-primary) !important;
        color: #fff !important;
        -webkit-text-fill-color: #fff !important;
        padding: 10px 22px !important;
        border-radius: var(--premium-radius-pill) !important;
        font-weight: 700 !important;
        font-size: 12.5px !important;
        letter-spacing: 0.04em;
        text-transform: uppercase;
        box-shadow: var(--premium-shadow-glow);
        transition: all var(--premium-speed) var(--premium-ease) !important;
        border: none;
        position: relative;
        overflow: hidden;
    }

    #header .navbar .dashboard-nav-btn::after {
        display: none !important;
    }

    #header .navbar .dashboard-nav-btn::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
        transition: left 0.5s var(--premium-ease);
    }

    #header .navbar .dashboard-nav-btn:hover {
        box-shadow: 0 6px 28px rgba(106, 27, 109, 0.45) !important;
        transform: translateY(-2px);
        background: linear-gradient(135deg, #8B2F8E, #A94BAD) !important;
    }

    #header .navbar .dashboard-nav-btn:hover::before {
        left: 100%;
    }

    /* ── Menu row layout — SINGLE LINE, FULL WIDTH ── */
    #navbar .menu-primary {
        display: flex !important;
        flex-wrap: nowrap !important;
        justify-content: flex-end;
        align-items: center;
        gap: 2px;
    }

    #navbar .menu-secondary {
        display: flex !important;
        flex-wrap: nowrap !important;
        justify-content: flex-end;
        align-items: center;
        gap: 2px;
    }

    #navbar .menu-secondary li {
        margin-bottom: 0;
    }
}

/* ── Navbar responsive: 1280–1440 ── */
@media (min-width: 1280px) and (max-width: 1440px) {
    #header .navbar a,
    #header .navbar a:focus {
        font-size: 11.5px;
        padding: 9px 10px;
    }

    #header .navbar a:hover,
    #header .navbar .active,
    #header .navbar li:hover > a {
        padding: 9px 10px;
    }

    #header .navbar .dashboard-nav-btn {
        padding: 8px 16px !important;
        font-size: 11px !important;
    }

    #header .navbar > ul > .menu-secondary {
        padding-left: 8px;
    }
}

/* ── Extra large screens ── */
@media (min-width: 1400px) {
    #header .container {
        max-width: 1380px;
    }
}

@media (min-width: 1600px) {
    #header .container {
        max-width: 1520px;
    }

    #header .navbar a,
    #header .navbar a:focus {
        font-size: 14px;
        padding: 12px 18px;
    }

    #header .navbar a:hover,
    #header .navbar .active,
    #header .navbar li:hover > a {
        padding: 12px 18px;
    }
}

/* ============================================================
   3b. MOBILE NAV TOGGLE — ABSOLUTE TOP PRIORITY
   Lives outside <nav>, directly in header container.
   Uses position:fixed so nothing can clip or cover it.
   ============================================================ */

/* Hidden on desktop */
.mobile-nav-toggle {
    display: none !important;
    -webkit-appearance: none;
    appearance: none;
}

/* Visible on mobile/tablet — ALWAYS on top */
@media (max-width: 1279px) {
    .mobile-nav-toggle {
        display: flex !important;
        align-items: center;
        justify-content: center;
        position: fixed !important;
        top: 12px !important;
        right: 16px !important;
        width: 48px !important;
        height: 48px !important;
        z-index: 99999999 !important;
        color: var(--premium-primary) !important;
        -webkit-text-fill-color: var(--premium-primary) !important;
        font-size: 28px !important;
        line-height: 1 !important;
        cursor: pointer !important;
        background: rgba(255, 255, 255, 0.95) !important;
        border: 2px solid rgba(106, 27, 109, 0.15) !important;
        border-radius: 12px !important;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15) !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        transition: background 0.3s ease, box-shadow 0.3s ease !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    .mobile-nav-toggle:hover {
        background: rgba(255, 255, 255, 1) !important;
        box-shadow: 0 6px 28px rgba(106, 27, 109, 0.25) !important;
    }

    .mobile-nav-toggle:active {
        opacity: 0.8 !important;
    }

    /* Close state (X icon) — purple bg, white icon */
    .mobile-nav-toggle.bi-x {
        color: #fff !important;
        -webkit-text-fill-color: #fff !important;
        background: var(--premium-primary) !important;
        border-color: var(--premium-primary) !important;
        box-shadow: 0 4px 24px rgba(106, 27, 109, 0.5),
                    0 0 0 1px rgba(255, 255, 255, 0.2) inset !important;
    }

    .mobile-nav-toggle.bi-x:hover {
        background: var(--premium-primary-rich) !important;
        box-shadow: 0 6px 32px rgba(106, 27, 109, 0.6),
                    0 0 0 1px rgba(255, 255, 255, 0.3) inset !important;
    }
}

/* ============================================================
   3c. MOBILE NAVBAR — CLEAN REBUILD
   The <nav> is moved to <body> by JS on mobile, so it escapes
   the #header stacking context (backdrop-filter traps fixed children).
   ============================================================ */
@media (max-width: 1279px) {

    /* ── Header adjustments on mobile ── */
    #header.header.fixed-top {
        padding: 6px 0;
        min-height: 64px;
    }

    #header .logo img {
        max-height: 48px;
        height: 48px;
        width: auto;
        object-fit: contain;
    }

    /* ── The nav panel (now a direct child of <body>) ── */
    body > nav#navbar.navbar {
        position: fixed !important;
        top: 0 !important;
        left: -100vw !important;
        width: 85vw !important;
        max-width: 400px !important;
        height: 100vh !important;
        z-index: 99999997 !important;
        overflow: hidden !important;
        transition: left 0.35s ease !important;
        background: transparent !important;
        box-shadow: 5px 0 40px rgba(0,0,0,0.4) !important;
    }

    body > nav#navbar.navbar > ul {
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        width: 100% !important;
        height: 100% !important;
        padding: 80px 0 40px !important;
        margin: 0 !important;
        background: var(--premium-gradient-dark) !important;
        overflow-y: auto !important;
        z-index: 99999998 !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        list-style: none !important;
    }

    /* ── When active: slide in ── */
    body.mobile-nav-active {
        overflow: hidden !important;
    }

    body.mobile-nav-active > nav#navbar.navbar {
        left: 0 !important;
    }

    /* ── Backdrop overlay ── */
    body.mobile-nav-active > nav#navbar.navbar::before {
        content: "" !important;
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: 100vw !important;
        height: 100vh !important;
        background: rgba(26, 14, 27, 0.85) !important;
        z-index: -1 !important;
        backdrop-filter: blur(8px) !important;
        -webkit-backdrop-filter: blur(8px) !important;
    }

    /* ── Mobile links ── */
    body > nav#navbar.navbar a,
    body > nav#navbar.navbar a:focus {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 14px 28px;
        font-size: 15px;
        font-weight: 600;
        color: rgba(255,255,255,0.88) !important;
        -webkit-text-fill-color: rgba(255,255,255,0.88) !important;
        white-space: nowrap;
        transition: all 0.2s ease;
        border-radius: 0;
        background: transparent !important;
        letter-spacing: 0.01em;
        width: 100%;
    }

    body > nav#navbar.navbar a::after {
        display: none !important;
    }

    body > nav#navbar.navbar a:hover,
    body > nav#navbar.navbar .active,
    body > nav#navbar.navbar .active:focus,
    body > nav#navbar.navbar li:hover > a {
        color: #fff !important;
        -webkit-text-fill-color: #fff !important;
        background: rgba(255,255,255,0.08) !important;
        padding-left: 34px;
    }

    /* ── Mobile dropdowns ── */
    body > nav#navbar.navbar .dropdown ul,
    body > nav#navbar.navbar .dropdown .dropdown ul {
        position: static !important;
        display: none;
        padding: 8px 0;
        margin: 4px 20px;
        transition: all 0.3s ease;
        border: 1px solid rgba(255,255,255,0.1);
        border-radius: var(--premium-radius-sm);
        background: rgba(255,255,255,0.04) !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        box-shadow: none !important;
        min-width: 0 !important;
    }

    body > nav#navbar.navbar .dropdown ul::before {
        display: none !important;
    }

    body > nav#navbar.navbar .dropdown > .dropdown-active,
    body > nav#navbar.navbar .dropdown .dropdown > .dropdown-active {
        display: block;
    }

    body > nav#navbar.navbar .dropdown ul a {
        color: rgba(255,255,255,0.75) !important;
        -webkit-text-fill-color: rgba(255,255,255,0.75) !important;
        font-size: 14px;
        padding: 10px 24px;
    }

    body > nav#navbar.navbar .dropdown ul a:hover {
        color: #fff !important;
        -webkit-text-fill-color: #fff !important;
    }

    body > nav#navbar.navbar .dropdown > a i,
    body > nav#navbar.navbar .dropdown > a .dropdown-indicator {
        color: rgba(255,255,255,0.5) !important;
        font-size: 12px;
    }

    /* ── Mobile menu rows ── */
    body > nav#navbar.navbar ul .menu-primary,
    body > nav#navbar.navbar ul .menu-secondary {
        display: flex !important;
        flex-wrap: wrap;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        width: 100%;
        border: none;
        margin: 0;
        padding: 0;
    }

    body > nav#navbar.navbar ul .menu-secondary {
        border-left: none !important;
        margin-left: 0 !important;
        padding-left: 0 !important;
        margin-top: 8px;
        padding-top: 8px;
        border-top: 1px solid rgba(255,255,255,0.1) !important;
    }

    body > nav#navbar.navbar ul .menu-secondary li,
    body > nav#navbar.navbar ul .menu-primary li {
        width: 100%;
    }

    /* Dashboard btn in mobile */
    body > nav#navbar.navbar .dashboard-nav-btn {
        margin: 12px 20px !important;
        text-align: center;
        justify-content: center;
        background: var(--premium-gradient-primary) !important;
        border-radius: var(--premium-radius) !important;
        padding: 12px 24px !important;
    }
}

/* ============================================================
   4. BUTTONS — BOLD & PREMIUM
   ============================================================ */
.btn {
    font-family: var(--premium-font);
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.02em;
    padding: 12px 28px;
    border-radius: var(--premium-radius);
    transition: all var(--premium-speed) var(--premium-ease);
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    line-height: 1.5;
    position: relative;
    overflow: hidden;
}

.btn:focus,
.btn:focus-visible {
    box-shadow: var(--premium-shadow-focus);
    outline: none;
}

.btn-primary,
.btn-primary:focus {
    background: var(--premium-gradient-primary);
    color: #fff;
    box-shadow: var(--premium-shadow-glow);
}

.btn-primary:hover,
.btn-primary:active {
    background: linear-gradient(135deg, #8B2F8E, #C77BCC);
    color: #fff;
    box-shadow: 0 6px 24px rgba(106, 27, 109, 0.4);
    transform: translateY(-2px);
}

.btn-outline-primary {
    border: 2.5px solid var(--premium-primary);
    color: var(--premium-primary);
    background: transparent;
    font-weight: 700;
}

.btn-outline-primary:hover {
    background: var(--premium-primary);
    color: #fff;
    box-shadow: var(--premium-shadow-glow);
    transform: translateY(-2px);
}

.btn-secondary {
    background: var(--premium-bg-muted);
    color: var(--premium-text);
    border: 1.5px solid var(--premium-border);
}

.btn-secondary:hover {
    background: var(--premium-border-light);
    color: var(--premium-text);
    box-shadow: var(--premium-shadow-sm);
    transform: translateY(-1px);
}

.btn-success {
    background: linear-gradient(135deg, #059669, #10B981);
    color: #fff;
    box-shadow: 0 3px 12px rgba(5, 150, 105, 0.3);
}

.btn-success:hover {
    background: linear-gradient(135deg, #10B981, #34D399);
    box-shadow: 0 6px 20px rgba(5, 150, 105, 0.4);
    transform: translateY(-2px);
}

.btn-danger {
    background: linear-gradient(135deg, #DC2626, #EF4444);
    color: #fff;
    box-shadow: 0 3px 12px rgba(220, 38, 38, 0.3);
}

.btn-danger:hover {
    background: linear-gradient(135deg, #EF4444, #F87171);
    box-shadow: 0 6px 20px rgba(220, 38, 38, 0.4);
    transform: translateY(-2px);
}

.btn-warning {
    background: linear-gradient(135deg, #D97706, #F59E0B);
    color: #fff;
}

.btn-info {
    background: linear-gradient(135deg, #2563EB, #3B82F6);
    color: #fff;
}

.btn-dark {
    background: linear-gradient(135deg, #1F2937, #374151);
    color: #fff;
}

.btn-sm {
    padding: 8px 18px;
    font-size: 12.5px;
    border-radius: var(--premium-radius-sm);
}

.btn-lg {
    padding: 16px 36px;
    font-size: 16px;
    border-radius: var(--premium-radius);
    letter-spacing: 0.03em;
}

/* Submit buttons */
button.submit,
.btn.submit {
    min-width: 200px;
    padding: 14px 36px;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    border-radius: var(--premium-radius-pill);
    background: var(--premium-gradient-primary);
    color: #fff;
    box-shadow: var(--premium-shadow-glow);
}

button.submit:hover,
.btn.submit:hover {
    box-shadow: 0 6px 28px rgba(106, 27, 109, 0.45);
    transform: translateY(-2px);
}

/* "Read more" buttons on sections */
.read-more, .pillars .read-more {
    background: var(--premium-gradient-primary) !important;
    border: none !important;
    color: #fff !important;
    border-radius: var(--premium-radius-pill) !important;
    padding: 12px 32px !important;
    font-weight: 700 !important;
    font-size: 14px !important;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    box-shadow: var(--premium-shadow-glow);
    transition: all var(--premium-speed) var(--premium-ease) !important;
}

.read-more:hover, .pillars .read-more:hover {
    box-shadow: 0 6px 24px rgba(106, 27, 109, 0.45) !important;
    transform: translateY(-2px);
    background: linear-gradient(135deg, #8B2F8E, #C77BCC) !important;
    color: #fff !important;
}

/* ============================================================
   5. FORM ELEMENTS — REFINED
   ============================================================ */
.form-control,
.form-select,
.custom-select,
select.form-control {
    font-family: var(--premium-font);
    font-size: 14px;
    padding: 12px 18px;
    border: 2px solid var(--premium-border);
    border-radius: var(--premium-radius);
    background-color: var(--premium-bg-elevated);
    color: var(--premium-text);
    transition: all var(--premium-speed) var(--premium-ease);
    line-height: 1.5;
    height: auto;
}

.form-control:focus,
.form-select:focus,
.custom-select:focus {
    border-color: var(--premium-primary);
    box-shadow: var(--premium-shadow-focus);
    outline: none;
    background-color: var(--premium-bg-elevated);
}

.form-control::placeholder {
    color: var(--premium-text-muted);
    font-weight: 400;
}

.form-control.is-invalid,
.form-select.is-invalid {
    border-color: #EF4444;
    box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.12);
}

label,
.form-label {
    font-family: var(--premium-font);
    font-weight: 700;
    font-size: 13px;
    color: var(--premium-text);
    margin-bottom: 8px;
    letter-spacing: 0.02em;
    text-transform: capitalize;
}

.required-label::after {
    content: " *";
    color: #EF4444;
    font-weight: 800;
}

.form-group {
    margin-bottom: 20px;
}

.invalid-feedback {
    font-family: var(--premium-font);
    font-size: 12px;
    font-weight: 700;
    color: #EF4444;
    margin-top: 6px;
}

.form-check-input:checked {
    background-color: var(--premium-primary);
    border-color: var(--premium-primary);
}

.form-floating > label {
    color: var(--premium-text-muted);
}

textarea.form-control {
    min-height: 110px;
    resize: vertical;
}

/* Select2 */
.select2-container--default .select2-selection--single {
    border: 2px solid var(--premium-border) !important;
    border-radius: var(--premium-radius) !important;
    height: 48px !important;
    padding: 8px 14px;
    transition: all var(--premium-speed) var(--premium-ease);
}

.select2-container--default .select2-selection--single:focus,
.select2-container--default.select2-container--focus .select2-selection--single {
    border-color: var(--premium-primary) !important;
    box-shadow: var(--premium-shadow-focus);
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 30px;
    color: var(--premium-text);
    font-family: var(--premium-font);
}

.select2-dropdown {
    border: 1px solid var(--premium-border) !important;
    border-radius: var(--premium-radius) !important;
    box-shadow: var(--premium-shadow-md) !important;
    margin-top: 4px;
}

.select2-container--default .select2-results__option--highlighted[aria-selected] {
    background-color: var(--premium-primary-subtle) !important;
    color: var(--premium-primary) !important;
}

/* ============================================================
   6. CARDS — PREMIUM GLASS EFFECT
   ============================================================ */
.card {
    border: 1px solid var(--premium-border-light);
    border-radius: var(--premium-radius-lg) !important;
    box-shadow: var(--premium-shadow-xs);
    transition: all var(--premium-speed) var(--premium-ease);
    overflow: hidden;
    background: var(--premium-bg-elevated);
}

.card:hover {
    box-shadow: var(--premium-shadow);
    transform: translateY(-2px);
}

.card-header {
    background: var(--premium-bg-muted);
    border-bottom: 1px solid var(--premium-border-light);
    padding: 18px 24px;
    font-weight: 700;
    font-size: 15px;
}

.card-body {
    padding: 24px;
}

.card-footer {
    background: var(--premium-bg-muted);
    border-top: 1px solid var(--premium-border-light);
    padding: 16px 24px;
}

/* ============================================================
   7. TABLES — CLEAN & MODERN
   ============================================================ */
.table {
    font-family: var(--premium-font);
    font-size: 14px;
    border-collapse: separate;
    border-spacing: 0;
}

.table thead th {
    font-weight: 800;
    font-size: 11.5px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 16px 18px;
    border-bottom: 2px solid var(--premium-primary);
    white-space: nowrap;
    color: var(--premium-primary);
    background: var(--premium-primary-glass);
}

.table tbody td {
    padding: 14px 18px;
    border-bottom: 1px solid var(--premium-border-light);
    vertical-align: middle;
    color: var(--premium-text);
}

.table tbody tr {
    transition: background-color var(--premium-speed-fast) var(--premium-ease);
}

.table tbody tr:hover {
    background-color: var(--premium-primary-subtle);
}

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

.table-striped tbody tr:nth-of-type(odd) {
    background-color: rgba(106, 27, 109, 0.02);
}

/* DataTables */
.dataTables_wrapper {
    padding: 20px 0;
}

.dataTables_wrapper .dataTables_length select {
    border: 2px solid var(--premium-border);
    border-radius: var(--premium-radius-sm);
    padding: 6px 10px;
}

.dataTables_wrapper .dataTables_filter input {
    border: 2px solid var(--premium-border);
    border-radius: var(--premium-radius);
    padding: 10px 16px;
    transition: all var(--premium-speed) var(--premium-ease);
}

.dataTables_wrapper .dataTables_filter input:focus {
    border-color: var(--premium-primary);
    box-shadow: var(--premium-shadow-focus);
    outline: none;
}

.dataTables_wrapper .dataTables_paginate .paginate_button {
    border-radius: var(--premium-radius-sm) !important;
    margin: 0 3px;
    transition: all var(--premium-speed-fast) var(--premium-ease);
}

.dataTables_wrapper .dataTables_paginate .paginate_button.current,
.dataTables_wrapper .dataTables_paginate .paginate_button.current:hover {
    background: var(--premium-gradient-primary) !important;
    color: #fff !important;
    border-color: var(--premium-primary) !important;
    box-shadow: var(--premium-shadow-glow);
}

/* ============================================================
   8. MODALS — PREMIUM
   ============================================================ */
.modal-content {
    border: none;
    border-radius: var(--premium-radius-xl);
    box-shadow: var(--premium-shadow-xl);
    overflow: hidden;
}

.modal-header {
    background: var(--premium-bg-muted);
    border-bottom: 1px solid var(--premium-border-light);
    padding: 22px 28px;
}

.modal-header .modal-title {
    font-weight: 800;
    font-size: 20px;
    color: var(--premium-text);
}

.modal-header .btn-close,
.modal-header .close {
    opacity: 0.5;
    transition: opacity var(--premium-speed) var(--premium-ease);
}

.modal-header .btn-close:hover,
.modal-header .close:hover {
    opacity: 1;
}

.modal-body {
    padding: 28px;
}

.modal-footer {
    border-top: 1px solid var(--premium-border-light);
    padding: 18px 28px;
    background: var(--premium-bg-muted);
}

.modal-backdrop.show {
    opacity: 0.45;
    backdrop-filter: blur(6px);
}

/* ============================================================
   9. BADGES & PILLS — VIBRANT
   ============================================================ */
.badge {
    font-family: var(--premium-font);
    font-weight: 700;
    font-size: 11px;
    padding: 6px 14px;
    border-radius: var(--premium-radius-pill);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.badge-primary, .bg-primary {
    background: var(--premium-primary-subtle) !important;
    color: var(--premium-primary) !important;
}

.badge-success, .bg-success:not(.btn-success):not(.alert-success) {
    background: rgba(5, 150, 105, 0.12) !important;
    color: #059669 !important;
}

.badge-danger, .bg-danger:not(.btn-danger):not(.alert-danger) {
    background: rgba(220, 38, 38, 0.12) !important;
    color: #DC2626 !important;
}

.badge-warning, .bg-warning:not(.btn-warning):not(.alert-warning) {
    background: rgba(217, 119, 6, 0.12) !important;
    color: #D97706 !important;
}

.badge-info, .bg-info:not(.btn-info):not(.alert-info) {
    background: rgba(37, 99, 235, 0.12) !important;
    color: #2563EB !important;
}

/* ============================================================
   10. ALERTS — LEFT-ACCENT BAR
   ============================================================ */
.alert {
    font-family: var(--premium-font);
    border-radius: var(--premium-radius);
    border: none;
    padding: 16px 22px;
    font-size: 14px;
    font-weight: 600;
}

.alert-success {
    background: rgba(5, 150, 105, 0.08);
    color: #065F46;
    border-left: 5px solid #059669;
}

.alert-danger {
    background: rgba(220, 38, 38, 0.08);
    color: #991B1B;
    border-left: 5px solid #DC2626;
}

.alert-warning {
    background: rgba(217, 119, 6, 0.08);
    color: #92400E;
    border-left: 5px solid #D97706;
}

.alert-info {
    background: rgba(37, 99, 235, 0.08);
    color: #1E40AF;
    border-left: 5px solid #2563EB;
}

/* ============================================================
   11. PAGINATION
   ============================================================ */
.pagination {
    gap: 4px;
}

.page-link {
    font-family: var(--premium-font);
    font-weight: 600;
    font-size: 14px;
    color: var(--premium-text-secondary);
    border: 1.5px solid var(--premium-border);
    border-radius: var(--premium-radius-sm) !important;
    padding: 10px 16px;
    transition: all var(--premium-speed-fast) var(--premium-ease);
    margin: 0;
}

.page-link:hover {
    background: var(--premium-primary-subtle);
    color: var(--premium-primary);
    border-color: var(--premium-primary);
}

.page-item.active .page-link {
    background: var(--premium-gradient-primary);
    color: #fff;
    border-color: var(--premium-primary);
    box-shadow: var(--premium-shadow-glow);
}

.page-item.disabled .page-link {
    color: var(--premium-text-muted);
    background: var(--premium-bg-muted);
}

/* ============================================================
   12. FRONTEND FOOTER — DARK LUXURY
   ============================================================ */
footer.footer.text-muted {
    background: var(--premium-gradient-footer) !important;
    padding-top: 70px;
    color: rgba(255,255,255,0.85);
    font-size: 14px;
    border-top: none;
    position: relative;
    z-index: 1;
}

footer.footer::before {
    background-color: transparent !important;
}

/* Decorative top border gradient */
footer.footer.text-muted::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--premium-gradient-accent);
    z-index: 2;
}

footer.footer .footer-bottom {
    padding-bottom: 30px;
}

footer.footer .footer-bottom .container .row {
    row-gap: 36px;
}

/* Footer logo — STOP bouncing, elegant hover */
footer.footer .footer-logo {
    animation: none !important;
    width: 220px;
    padding: 0;
    margin-bottom: 24px;
    opacity: 0.92;
    transition: all var(--premium-speed) var(--premium-ease);
    filter: brightness(1.1);
}

footer.footer .footer-logo:hover {
    opacity: 1;
    transform: scale(1.03);
}

/* Footer title/text */
footer.footer .footer-title {
    margin-bottom: 20px;
}

footer.footer .footer-title span {
    font-family: var(--premium-font) !important;
    font-size: 14px;
    font-weight: 400;
    color: rgba(255,255,255,0.6) !important;
    line-height: 1.8;
}

/* Footer links */
footer.footer .footer-menu p {
    margin-bottom: 0;
}

footer.footer .footer-menu p a,
footer.footer a {
    color: rgba(255,255,255,0.7);
    font-weight: 600;
    font-size: 14px;
    padding: 7px 0;
    display: inline-block;
    transition: all var(--premium-speed) var(--premium-ease);
    text-decoration: none;
    position: relative;
}

footer.footer .footer-menu p a::before {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--premium-gold);
    transition: width var(--premium-speed) var(--premium-ease);
}

footer.footer .footer-menu p a:hover,
footer.footer a:hover {
    color: var(--premium-gold-light) !important;
    background: none !important;
    padding: 7px 0;
    border-radius: 0;
    transform: translateX(4px);
}

footer.footer .footer-menu p a:hover::before {
    width: 100%;
}

footer.footer .footer-info a:hover {
    background: none !important;
    color: var(--premium-gold-light) !important;
    transform: none;
}

/* Social links — PREMIUM GLASS */
footer.footer .social-links {
    gap: 10px;
    margin-top: 18px;
}

footer.footer .social-links a {
    width: 44px;
    height: 44px;
    display: flex !important;
    justify-content: center;
    align-items: center;
    border-radius: var(--premium-radius-sm);
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.65);
    font-size: 17px;
    transition: all var(--premium-speed) var(--premium-ease);
    padding: 0;
    margin-right: 0;
}

footer.footer .social-links a:hover {
    background: var(--premium-gradient-primary);
    color: #fff;
    border-color: transparent;
    transform: translateY(-3px);
    box-shadow: var(--premium-shadow-glow);
    padding: 0;
    border-radius: var(--premium-radius-sm);
}

/* Footer contact */
footer.footer .footer-info p {
    font-size: 14px;
    color: rgba(255,255,255,0.6);
}

footer.footer .footer-info p i {
    color: var(--premium-gold);
}

/* Copyright */
footer.footer .copy-right,
footer.footer .copyright {
    background: rgba(0,0,0,0.2) !important;
    padding: 22px 0;
    font-size: 13px;
    color: rgba(255,255,255,0.4);
    letter-spacing: 0.03em;
}

footer.footer .copy-right strong span {
    color: var(--premium-gold);
}

/* Bottom footer (alternate/dashboard) */
#footer .footer-bottom {
    border-top: 1px solid var(--premium-border-light);
    padding: 20px 0;
}

#footer .footer-bottom a {
    color: var(--premium-text-muted);
    font-weight: 600;
    font-size: 13px;
    transition: color var(--premium-speed) var(--premium-ease);
}

#footer .footer-bottom a:hover {
    color: var(--premium-primary);
}

/* ============================================================
   13. AUTH / LOGIN / REGISTER — ELEGANT LIGHT THEME
   ============================================================ */

/* ---------- KEYFRAMES ---------- */
@keyframes authGradientShift {
    0%   { background-position: 0% 50%; }
    50%  { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
@keyframes authFloat1 {
    0%   { transform: translate(0, 0) scale(1); }
    33%  { transform: translate(50px, -30px) scale(1.08); }
    66%  { transform: translate(-20px, 40px) scale(0.96); }
    100% { transform: translate(0, 0) scale(1); }
}
@keyframes authFloat2 {
    0%   { transform: translate(0, 0) scale(1); }
    33%  { transform: translate(-40px, 50px) scale(1.06); }
    66%  { transform: translate(30px, -20px) scale(0.94); }
    100% { transform: translate(0, 0) scale(1); }
}
@keyframes authCardEntrance {
    0%   { opacity: 0; transform: translateY(30px) scale(0.97); }
    100% { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes authShimmer {
    0%   { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

/* ---------- FULL-PAGE LIGHT BACKGROUND ---------- */
#register {
    min-height: 100vh !important;
    width: 100% !important;
    padding: 110px 20px 50px 20px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    position: relative !important;
    overflow: hidden !important;
    /* Soft animated gradient — light lavender / cream / blush */
    background:
        linear-gradient(
            -45deg,
            #f5f0f7 0%,
            #ede4f3 20%,
            #f8f2fb 35%,
            #faf6ee 50%,
            #f0e8f5 65%,
            #fdf8f0 80%,
            #f3edf8 100%
        ) !important;
    background-size: 400% 400% !important;
    animation: authGradientShift 18s ease infinite !important;
}

/* -- Floating orb 1 (soft plum) -- */
#register::before {
    content: '' !important;
    position: absolute !important;
    width: 450px !important;
    height: 450px !important;
    border-radius: 50% !important;
    background: radial-gradient(circle, rgba(106,27,109,0.10) 0%, rgba(106,27,109,0.03) 40%, transparent 70%) !important;
    top: -60px !important;
    left: -80px !important;
    pointer-events: none !important;
    z-index: 0 !important;
    animation: authFloat1 20s ease-in-out infinite !important;
}

/* -- Floating orb 2 (soft gold) -- */
#register::after {
    content: '' !important;
    position: absolute !important;
    width: 380px !important;
    height: 380px !important;
    border-radius: 50% !important;
    background: radial-gradient(circle, rgba(212,165,74,0.12) 0%, rgba(212,165,74,0.03) 40%, transparent 70%) !important;
    bottom: -40px !important;
    right: -60px !important;
    pointer-events: none !important;
    z-index: 0 !important;
    animation: authFloat2 18s ease-in-out infinite !important;
}

/* ---------- CONTAINER & CENTERING ---------- */
#register > .container {
    position: relative;
    z-index: 2;
    max-width: 480px !important;
    width: 100%;
}

#register > .container > .row {
    align-items: center !important;
    justify-content: center !important;
    flex-direction: column !important;
}

/* ---------- SHOW logo elegantly above login form ---------- */
#register .logo-img {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-bottom: 8px;
    padding: 0 !important;
}

#register .col-md-6.logo-img {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-bottom: 8px;
}

#register .logo-img img {
    max-width: 160px;
    width: 160px;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 8px 32px rgba(106,27,109,0.18));
    transition: all 0.6s cubic-bezier(0.34,1.56,0.64,1);
    animation: logoFadeIn 1s cubic-bezier(0.16,1,0.3,1) 0.2s both;
}

#register .logo-img img:hover {
    transform: scale(1.08) translateY(-2px);
    filter: drop-shadow(0 12px 40px rgba(106,27,109,0.25));
}

@keyframes logoFadeIn {
    0%   { opacity: 0; transform: translateY(-20px) scale(0.85); }
    100% { opacity: 1; transform: translateY(0) scale(1); }
}

/* Make form column full-width & centered */
#register .col-md-6.bg-register,
#register .col-md-5:not(.logo-img),
#register .col-md-7.bg-register {
    max-width: 100% !important;
    flex: 0 0 100% !important;
    width: 100% !important;
}

/* ---------- WHITE CARD WITH SOFT SHADOW ---------- */
#register .bg-register {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(20px) saturate(1.4) !important;
    -webkit-backdrop-filter: blur(20px) saturate(1.4) !important;
    border-radius: 24px !important;
    box-shadow:
        0 20px 60px rgba(106,27,109,0.08),
        0 8px 24px rgba(0,0,0,0.04),
        0 1px 3px rgba(0,0,0,0.03) !important;
    padding: 44px 40px 36px 40px !important;
    border: 1px solid rgba(106,27,109,0.06) !important;
    position: relative;
    overflow: hidden;
    animation: authCardEntrance 0.7s cubic-bezier(0.16, 1, 0.3, 1) both;
}

/* Shimmer accent bar at top */
#register .bg-register::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(
        90deg,
        transparent 0%,
        var(--premium-primary) 15%,
        var(--premium-gold) 40%,
        var(--premium-primary-vivid) 60%,
        var(--premium-gold) 85%,
        transparent 100%
    );
    background-size: 200% 100%;
    animation: authShimmer 4s linear infinite;
    border-radius: 24px 24px 0 0;
}

/* Subtle warm glow inside card */
#register .bg-register::after {
    content: '';
    position: absolute;
    top: -40%;
    left: -30%;
    width: 160%;
    height: 160%;
    background: radial-gradient(ellipse at 30% 20%, rgba(212,165,74,0.04) 0%, transparent 50%);
    pointer-events: none;
}

/* ---------- TITLE ---------- */
#register .bg-register .title {
    text-align: center;
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
}

#register .bg-register .title span {
    font-size: 11px !important;
    font-weight: 800 !important;
    color: var(--premium-primary) !important;
    text-transform: uppercase !important;
    letter-spacing: 0.25em !important;
    display: block !important;
    margin-bottom: 10px !important;
}

#register .bg-register .title h2 {
    font-family: var(--premium-font-display), serif !important;
    font-size: 28px !important;
    font-weight: 800 !important;
    color: var(--premium-text) !important;
    margin-bottom: 8px !important;
    line-height: 1.3 !important;
}

/* ---------- LABELS ---------- */
#register .bg-register label,
#register .bg-register .required-label {
    font-weight: 700 !important;
    font-size: 13px !important;
    color: var(--premium-text-secondary) !important;
    margin-bottom: 6px;
    letter-spacing: 0.02em;
    position: relative;
    z-index: 1;
}

#register .login-input label i,
#register .required-label i,
#register label i {
    color: var(--premium-primary) !important;
    margin-right: 5px;
}

/* ---------- INPUT FIELDS ---------- */
#register .bg-register .form-control {
    border: 2px solid rgba(106,27,109,0.12) !important;
    border-radius: 14px !important;
    padding: 15px 20px !important;
    font-size: 15px !important;
    height: auto !important;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
    background: rgba(245,240,247,0.5) !important;
    color: var(--premium-text) !important;
    font-weight: 500;
    position: relative;
    z-index: 1;
}

#register .bg-register .form-control:focus {
    border-color: var(--premium-primary) !important;
    box-shadow: 0 0 0 4px rgba(106,27,109,0.08), 0 4px 16px rgba(106,27,109,0.06) !important;
    background: #fff !important;
    outline: none !important;
    transform: translateY(-1px);
}

#register .bg-register .form-control::placeholder {
    color: #aaa !important;
    font-weight: 400;
}

/* Autofill override for light background */
#register .bg-register .form-control:-webkit-autofill,
#register .bg-register .form-control:-webkit-autofill:hover,
#register .bg-register .form-control:-webkit-autofill:focus {
    -webkit-text-fill-color: var(--premium-text) !important;
    -webkit-box-shadow: 0 0 0 1000px rgba(245,240,247,0.7) inset !important;
    border: 2px solid rgba(106,27,109,0.15) !important;
    transition: background-color 5000s ease-in-out 0s;
}

/* Select2 inside register */
#register .select2-container--default .select2-selection--single {
    border: 2px solid rgba(106,27,109,0.12) !important;
    border-radius: 14px !important;
    height: 52px !important;
    padding: 12px 18px !important;
    background: rgba(245,240,247,0.5) !important;
    color: var(--premium-text) !important;
    transition: all 0.3s ease;
}
#register .select2-container--default .select2-selection--single .select2-selection__rendered {
    color: var(--premium-text) !important;
}
#register .select2-container--default .select2-selection--single:focus,
#register .select2-container--default.select2-container--open .select2-selection--single {
    border-color: var(--premium-primary) !important;
    box-shadow: 0 0 0 4px rgba(106,27,109,0.08) !important;
}

/* ---------- SUBMIT BUTTON ---------- */
#register .submit {
    width: 100% !important;
    height: auto !important;
    padding: 17px 32px !important;
    font-size: 15px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.10em !important;
    border-radius: 14px !important;
    border: none !important;
    background: linear-gradient(135deg, var(--premium-primary) 0%, var(--premium-primary-vivid) 50%, var(--premium-primary) 100%) !important;
    background-size: 200% auto !important;
    color: #fff !important;
    box-shadow:
        0 8px 28px rgba(106,27,109,0.22),
        0 4px 10px rgba(106,27,109,0.10) !important;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
    cursor: pointer;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

#register .submit::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent 0%, rgba(255,255,255,0.18) 50%, transparent 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    border-radius: 14px;
}

#register .submit:hover {
    transform: translateY(-3px) scale(1.01) !important;
    box-shadow:
        0 14px 40px rgba(106,27,109,0.28),
        0 6px 16px rgba(106,27,109,0.12) !important;
    background-position: right center !important;
}

#register .submit:hover::before {
    opacity: 1;
}

#register .submit:active {
    transform: translateY(-1px) scale(0.99) !important;
}

/* ---------- FORGET PASSWORD ---------- */
#register .forget-password {
    color: var(--premium-primary) !important;
    font-weight: 700;
    font-size: 13px;
    transition: all 0.3s ease;
    text-decoration: none;
    position: relative;
    z-index: 1;
}

#register .forget-password::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--premium-primary);
    transition: width 0.3s ease;
}

#register .forget-password:hover {
    color: var(--premium-primary-vivid) !important;
}

#register .forget-password:hover::after {
    width: 100%;
}

/* ---------- REMEMBER ME ---------- */
#register .icheck-primary label {
    font-weight: 600;
    font-size: 14px;
    color: var(--premium-text-secondary) !important;
    cursor: pointer;
    position: relative;
    z-index: 1;
}

/* ---------- SIGN UP LINK ---------- */
#register h4 {
    font-size: 15px !important;
    font-weight: 600 !important;
    color: var(--premium-text-secondary) !important;
    margin-top: 0;
    position: relative;
    z-index: 1;
}

#register h4 a {
    color: var(--premium-primary) !important;
    font-weight: 800 !important;
    text-decoration: none;
    position: relative;
    transition: all 0.3s ease;
}

#register h4 a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--premium-gold);
    transform: scaleX(0);
    transition: transform 0.3s ease;
    transform-origin: left;
}

#register h4 a:hover {
    color: var(--premium-primary-vivid) !important;
}

#register h4 a:hover::after {
    transform: scaleX(1);
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 767px) {
    #register {
        padding: 90px 12px 30px 12px !important;
    }
    #register .bg-register {
        padding: 32px 22px 28px 22px !important;
        border-radius: 20px !important;
    }
    #register > .container {
        max-width: 100% !important;
    }
    #register .bg-register .title h2 {
        font-size: 24px !important;
    }
}

/* On register page, show logo centered above wider form */
@media (min-width: 768px) {
    #register .col-md-5.logo-img {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        max-width: 100% !important;
        flex: 0 0 100% !important;
        width: 100% !important;
        margin-bottom: 12px;
    }
    #register .col-md-5.logo-img img {
        max-width: 180px;
    }
    #register:has(.col-md-7) > .container {
        max-width: 700px !important;
    }
}

/* ============================================================
   14. HERO / CAROUSEL — CINEMATIC (FULL OVERRIDE)
   ============================================================ */

/* ── Reset the original broken hero layout ── */
#hero {
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    background: none !important;
    overflow: hidden !important;
    position: relative !important;
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
    z-index: 1 !important; /* Lowest priority - banners stay below mobile menu */
}

/* ── Carousel wrapper: fill the hero ── */
#hero .carousel,
#hero .carousel-inner {
    position: relative !important;
    top: auto !important;
    right: auto !important;
    left: auto !important;
    bottom: auto !important;
    width: 100% !important;
    height: auto !important;
}

/* ── Each slide: full-width background image ── */
#hero .carousel-item {
    position: relative !important;
    top: auto !important;
    right: auto !important;
    left: auto !important;
    bottom: auto !important;
    min-height: 75vh !important;
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: none !important;
    outline: none !important;
}

/* ── Remove the original broken ::before overlay ── */
#hero .carousel-item::before {
    display: none !important;
}

/* ── Premium gradient overlay via ::after ── */
#hero .carousel-item::after {
    content: '' !important;
    position: absolute !important;
    inset: 0 !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    background: linear-gradient(180deg,
        rgba(106, 27, 109, 0.25) 0%,
        rgba(26, 14, 27, 0.55) 60%,
        rgba(26, 14, 27, 0.75) 100%) !important;
    pointer-events: none !important;
    z-index: 1 !important;
    border: none !important;
}

/* ── Content container: centered over the image ── */
#hero .carousel-container {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    z-index: 2 !important;
    padding: 60px 20px 40px !important;
    width: 100% !important;
}

/* ── Heading: centered, no justify, clean spacing ── */
#hero h2,
#hero .carousel-container h2 {
    font-family: var(--premium-font-display) !important;
    font-size: clamp(28px, 4.5vw, 52px) !important;
    font-weight: 800 !important;
    color: #fff !important;
    text-shadow: 0 4px 24px rgba(0,0,0,0.45) !important;
    margin-bottom: 16px !important;
    letter-spacing: -0.01em !important;
    line-height: 1.25 !important;
    text-align: center !important;
    word-spacing: normal !important;
    text-transform: none !important;
    max-width: 800px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* ── Description: centered, no justify ── */
#hero p,
#hero .carousel-container p {
    font-family: var(--premium-font) !important;
    font-size: clamp(14px, 1.8vw, 19px) !important;
    color: rgba(255,255,255,0.9) !important;
    max-width: 680px !important;
    margin: 0 auto !important;
    line-height: 1.7 !important;
    font-weight: 400 !important;
    text-align: center !important;
    word-spacing: normal !important;
    text-transform: none !important;
}

/* ── Hero CTA buttons ── */
#hero .btn-get-started,
#hero .btn-watch-video {
    border-radius: var(--premium-radius-pill) !important;
    padding: 14px 36px !important;
    font-weight: 700 !important;
    font-size: 15px !important;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    position: relative;
    z-index: 2;
}

/* ── Carousel indicators ── */
#hero .carousel-indicators {
    position: absolute !important;
    bottom: 20px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    z-index: 5 !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex !important;
    justify-content: center !important;
    gap: 6px !important;
    list-style: none !important;
}

#hero .carousel-indicators li,
#hero .carousel-indicators button {
    width: 12px !important;
    height: 12px !important;
    border-radius: var(--premium-radius-pill) !important;
    margin: 0 !important;
    transition: all var(--premium-speed) var(--premium-ease) !important;
    opacity: 0.5 !important;
    border: 2px solid rgba(255,255,255,0.5) !important;
    background: transparent !important;
    cursor: pointer !important;
}

#hero .carousel-indicators li.active,
#hero .carousel-indicators .active {
    opacity: 1 !important;
    width: 36px !important;
    background: var(--premium-gold) !important;
    border-color: var(--premium-gold) !important;
}

/* ── Hero responsive ── */
@media (max-width: 768px) {
    #hero .carousel-item {
        min-height: 55vh !important;
    }
    #hero .carousel-container {
        padding: 40px 16px 30px !important;
    }
    #hero h2,
    #hero .carousel-container h2 {
        font-size: 24px !important;
    }
    #hero p,
    #hero .carousel-container p {
        font-size: 14px !important;
    }
}

@media (max-width: 576px) {
    #hero .carousel-item {
        min-height: 45vh !important;
    }
    #hero .carousel-container {
        padding: 30px 12px 20px !important;
    }
}

/* ── Carousel fade transitions (override original absolute positioning) ── */
#hero .carousel-inner .carousel-item {
    transition-property: opacity !important;
}

#hero .carousel-inner .carousel-item,
#hero .carousel-inner .active.carousel-item-start,
#hero .carousel-inner .active.carousel-item-end {
    opacity: 0;
}

#hero .carousel-inner .active,
#hero .carousel-inner .carousel-item-next.carousel-item-start,
#hero .carousel-inner .carousel-item-prev.carousel-item-end {
    opacity: 1;
    transition: opacity 0.6s ease !important;
}

#hero .carousel-inner .carousel-item-next,
#hero .carousel-inner .carousel-item-prev,
#hero .carousel-inner .active.carousel-item-start,
#hero .carousel-inner .active.carousel-item-end {
    left: 0 !important;
    transform: translate3d(0, 0, 0) !important;
}

/* ── Carousel navigation arrows ── */
#hero .carousel-control-prev,
#hero .carousel-control-next {
    z-index: 5 !important;
    width: 5%;
    opacity: 0.7;
    transition: opacity 0.3s;
}

#hero .carousel-control-prev:hover,
#hero .carousel-control-next:hover {
    opacity: 1;
}

/* ============================================================
   15. SECTIONS — HOMEPAGE
   ============================================================ */
.section-title h2,
.section-header h2 {
    font-family: var(--premium-font-display);
    font-weight: 800;
    font-size: clamp(26px, 3.5vw, 40px);
    color: var(--premium-text);
    position: relative;
    padding-bottom: 16px;
    margin-bottom: 12px;
    letter-spacing: -0.025em;
}

.section-title h2::after,
.section-header h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--premium-gradient-primary);
    border-radius: 2px;
}

.section-title h2.text-center::after,
.section-header h2.text-center::after {
    left: 50%;
    transform: translateX(-50%);
}

.section-title h2.text-start::after {
    left: 0;
    transform: none;
}

.section-title p,
.section-header p {
    font-size: 16px;
    color: var(--premium-text-muted);
    margin-top: 10px;
}

section {
    padding: 70px 0;
}

/* About section */
.about {
    background: var(--premium-bg-muted);
}

/* ── Pillars / Values cards — DRAMATIC HOVER ── */
.pillars,
.values {
    background: var(--premium-bg-muted);
}

.pillars .section-header h2,
.values .section-header h2 {
    color: var(--premium-primary) !important;
    -webkit-text-fill-color: var(--premium-primary) !important;
}

.pillars .box .card,
.values .box .card {
    border-radius: var(--premium-radius-lg) !important;
    border: 1px solid var(--premium-border-light);
    box-shadow: var(--premium-shadow-xs);
    transition: all 0.4s var(--premium-ease);
    overflow: hidden;
}

.pillars .box:hover .card,
.values .box:hover .card {
    box-shadow: var(--premium-shadow-md);
    transform: translateY(-6px);
    border-color: rgba(106, 27, 109, 0.15);
}

/* Explore Further CTA — BOLD */
.exploreFurtherWithAYWAH {
    padding: 90px 0;
    position: relative;
}

.exploreFurtherWithAYWAH h3 {
    font-family: var(--premium-font-display);
    font-size: clamp(26px, 3.5vw, 42px);
    font-weight: 800;
    color: #fff;
    text-shadow: 0 4px 16px rgba(0,0,0,0.3);
    letter-spacing: -0.02em;
}

.exploreFurtherWithAYWAHBtn {
    display: inline-block;
    padding: 16px 42px;
    background: var(--premium-bg-elevated);
    color: var(--premium-primary) !important;
    font-weight: 800;
    font-size: 15px;
    border-radius: var(--premium-radius-pill);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    transition: all var(--premium-speed) var(--premium-ease);
    box-shadow: var(--premium-shadow);
    text-decoration: none;
    border: 2px solid transparent;
}

.exploreFurtherWithAYWAHBtn:hover {
    background: var(--premium-primary);
    color: #fff !important;
    box-shadow: 0 8px 32px rgba(106, 27, 109, 0.5);
    transform: translateY(-3px);
    text-decoration: none;
    border-color: var(--premium-primary);
}

/* Objectives */
.objectives {
    background: var(--premium-bg-muted);
}

.objectives .card {
    border: 1px solid var(--premium-border-light) !important;
    border-radius: var(--premium-radius-lg) !important;
    box-shadow: var(--premium-shadow-xs);
    transition: all var(--premium-speed) var(--premium-ease);
    background: var(--premium-bg-muted) !important;
}

.objectives .card:hover {
    box-shadow: var(--premium-shadow-md);
    transform: translateY(-5px);
}

.objectives .card .card-img {
    border-radius: var(--premium-radius) !important;
    overflow: hidden;
}

/* Team members */
.team .member {
    border-radius: var(--premium-radius-lg);
    overflow: hidden;
    box-shadow: var(--premium-shadow-xs);
    transition: all var(--premium-speed) var(--premium-ease);
    background: var(--premium-bg-elevated);
    border: 1px solid var(--premium-border-light);
}

.team .member:hover {
    box-shadow: var(--premium-shadow-md);
    transform: translateY(-5px);
}

.team .member .member-info h4 {
    font-weight: 700;
    font-size: 17px;
    color: var(--premium-text);
}

/* Inspiring journey sections — PREMIUM REDESIGN */
#AYWAHHistory {
    position: relative;
}

/* ── Section heading ── */
.inspiring-journey {
    padding: 80px 0 20px !important;
    background: var(--premium-bg) !important;
    text-align: center;
}

.inspiring-journey .section-title h2 {
    font-family: var(--premium-font) !important;
    font-weight: 800 !important;
    font-size: 36px !important;
    color: var(--premium-primary) !important;
    -webkit-text-fill-color: var(--premium-primary) !important;
    background: none !important;
    -webkit-background-clip: unset !important;
    background-clip: unset !important;
    letter-spacing: -0.02em;
    position: relative;
    display: inline-block;
}

.inspiring-journey .section-title h2::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--premium-gradient-primary);
    border-radius: 3px;
}

/* ── 3 Inspiring Journey rows ── */
.inspiring-journey-1,
.inspiring-journey-2,
.inspiring-journey-3 {
    padding: 0 !important;
    border: none !important;
}

.inspiring-journey-1 .container,
.inspiring-journey-2 .container,
.inspiring-journey-3 .container {
    max-width: 900px;
}

.inspiring-journey-1 .section-title,
.inspiring-journey-2 .section-title,
.inspiring-journey-3 .section-title {
    padding: 40px 48px !important;
    margin: 24px auto !important;
    border-radius: 20px !important;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(106, 27, 109, 0.15), 0 2px 8px rgba(0,0,0,0.06) !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.inspiring-journey-1 .section-title:hover,
.inspiring-journey-2 .section-title:hover,
.inspiring-journey-3 .section-title:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(106, 27, 109, 0.22), 0 4px 12px rgba(0,0,0,0.08) !important;
}

/* Row 1 — Deep purple */
.inspiring-journey-1 {
    background: transparent !important;
}
.inspiring-journey-1 .section-title {
    background: linear-gradient(135deg, #6A1B6D 0%, #90387F 50%, #A04090 100%) !important;
}

/* Row 2 — Rich magenta */
.inspiring-journey-2 {
    background: transparent !important;
}
.inspiring-journey-2 .section-title {
    background: linear-gradient(135deg, #8B2A7B 0%, #A02C75 50%, #B8408A 100%) !important;
}

/* Row 3 — Soft pink-purple */
.inspiring-journey-3 {
    background: transparent !important;
}
.inspiring-journey-3 .section-title {
    background: linear-gradient(135deg, #C06BA5 0%, #D181B4 50%, #DFA0C8 100%) !important;
}

/* Decorative accent on each card */
.inspiring-journey-1 .section-title::before,
.inspiring-journey-2 .section-title::before,
.inspiring-journey-3 .section-title::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 100%;
    background: var(--premium-gold);
    border-radius: 20px 0 0 20px;
}

/* Subtle pattern overlay */
.inspiring-journey-1 .section-title::after,
.inspiring-journey-2 .section-title::after,
.inspiring-journey-3 .section-title::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

/* Text inside the journey rows */
.inspiring-journey-1 .section-title p,
.inspiring-journey-2 .section-title p,
.inspiring-journey-3 .section-title p {
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
    font-size: 17px !important;
    font-weight: 400 !important;
    line-height: 1.8 !important;
    text-align: left !important;
    text-transform: none !important;
    margin: 0 !important;
    letter-spacing: 0.01em;
    text-shadow: 0 1px 3px rgba(0,0,0,0.15);
    position: relative;
    z-index: 1;
}

/* ── About Us section — Premium cards ── */
#about-us.about-us {
    padding: 80px 0 !important;
    background: var(--premium-bg-subtle) !important;
}

#about-us .section-title h2 {
    font-family: var(--premium-font) !important;
    font-weight: 800 !important;
    font-size: 36px !important;
    color: var(--premium-primary) !important;
    text-align: center;
}

#about-us .section-title p {
    font-size: 17px !important;
    color: var(--premium-text-muted) !important;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

/* Card container */
#about-us .about-us-card {
    background: #fff !important;
    border: 1px solid rgba(106, 27, 109, 0.08) !important;
    border-radius: 20px !important;
    padding: 36px 32px !important;
    box-shadow: 0 4px 20px rgba(106, 27, 109, 0.06), 0 1px 4px rgba(0,0,0,0.04) !important;
    transition: all 0.35s ease !important;
    position: relative;
    overflow: hidden;
}

#about-us .about-us-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: linear-gradient(135deg, rgba(106, 27, 109, 0.03), rgba(212, 165, 74, 0.03));
    transition: width 0.4s ease;
    z-index: 0;
}

#about-us .about-us-card:hover {
    transform: translateY(-6px) !important;
    box-shadow: 0 12px 40px rgba(106, 27, 109, 0.12), 0 4px 12px rgba(0,0,0,0.06) !important;
    border-color: rgba(106, 27, 109, 0.15) !important;
}

#about-us .about-us-card:hover::before {
    width: 100%;
}

/* Icon */
#about-us .about-us-card .icon {
    width: 64px !important;
    height: 64px !important;
    min-width: 64px;
    background: linear-gradient(135deg, rgba(106, 27, 109, 0.08), rgba(106, 27, 109, 0.15)) !important;
    border-radius: 16px !important;
    color: var(--premium-primary) !important;
    font-size: 28px !important;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 24px !important;
    transition: all 0.35s ease !important;
    position: relative;
    z-index: 1;
}

#about-us .about-us-card:hover .icon {
    background: var(--premium-gradient-primary) !important;
    color: #fff !important;
    transform: scale(1.08);
    box-shadow: 0 6px 20px rgba(106, 27, 109, 0.3);
}

/* Title */
#about-us .about-us-card h3 {
    font-family: var(--premium-font) !important;
    font-weight: 700 !important;
    font-size: 20px !important;
    color: var(--premium-text) !important;
    -webkit-text-fill-color: var(--premium-text) !important;
    margin-bottom: 10px !important;
    letter-spacing: -0.01em;
    position: relative;
    z-index: 1;
}

/* Description */
#about-us .about-us-card p {
    font-size: 15px !important;
    line-height: 1.7 !important;
    color: var(--premium-text-muted) !important;
    -webkit-text-fill-color: var(--premium-text-muted) !important;
    margin-bottom: 0 !important;
    position: relative;
    z-index: 1;
}

/* Responsive */
@media (max-width: 768px) {
    .inspiring-journey-1 .section-title,
    .inspiring-journey-2 .section-title,
    .inspiring-journey-3 .section-title {
        padding: 28px 24px !important;
        margin: 16px auto !important;
        border-radius: 16px !important;
    }

    .inspiring-journey-1 .section-title p,
    .inspiring-journey-2 .section-title p,
    .inspiring-journey-3 .section-title p {
        font-size: 15px !important;
        line-height: 1.7 !important;
    }

    #about-us .about-us-card {
        padding: 24px 20px !important;
        border-radius: 16px !important;
    }

    #about-us .about-us-card .icon {
        width: 52px !important;
        height: 52px !important;
        min-width: 52px;
        font-size: 24px !important;
        margin-right: 16px !important;
    }

    #about-us .about-us-card h3 {
        font-size: 18px !important;
    }

    .inspiring-journey .section-title h2 {
        font-size: 28px !important;
    }

    #about-us .section-title h2 {
        font-size: 28px !important;
    }
}

/* President section */
.president {
    padding: 70px 0;
}

.president img {
    border-radius: var(--premium-radius-lg);
    box-shadow: var(--premium-shadow-md);
}

/* ============================================================
   16. DASHBOARD LAYOUT — CLEAN PROFESSIONAL
   ============================================================ */

/* Dashboard header */
body .header.fixed-top .logo img {
    max-height: 80px;
    height: 80px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 2px 8px rgba(106,27,109,0.10));
    transition: all 0.3s ease;
}

body .header.fixed-top .logo img:hover {
    filter: drop-shadow(0 4px 12px rgba(106,27,109,0.18));
    transform: scale(1.04);
}

/* Sidebar */
#sidebar.sidebar {
    background: var(--premium-bg-elevated);
    border-right: 1px solid var(--premium-border-light);
    box-shadow: 3px 0 12px rgba(0,0,0,0.03);
}

#sidebar .sidebar-nav .nav-item .nav-link {
    font-family: var(--premium-font);
    font-size: 14px;
    font-weight: 600;
    color: var(--premium-text-secondary);
    padding: 11px 18px;
    border-radius: var(--premium-radius-sm);
    margin: 2px 14px;
    transition: all var(--premium-speed) var(--premium-ease);
}

#sidebar .sidebar-nav .nav-item .nav-link:hover,
#sidebar .sidebar-nav .nav-item .nav-link.active {
    color: var(--premium-primary);
    background: var(--premium-primary-subtle);
}

#sidebar .sidebar-nav .nav-item .nav-link.active {
    font-weight: 700;
    box-shadow: var(--premium-shadow-inset);
}

#sidebar .sidebar-nav .nav-item .nav-link i {
    font-size: 17px;
    margin-right: 10px;
    color: var(--premium-text-muted);
    transition: color var(--premium-speed) var(--premium-ease);
}

#sidebar .sidebar-nav .nav-item .nav-link:hover i,
#sidebar .sidebar-nav .nav-item .nav-link.active i {
    color: var(--premium-primary);
}

/* Sub-nav */
#sidebar .sidebar-nav .nav-content a {
    font-size: 13px;
    color: var(--premium-text-secondary);
    padding: 9px 18px 9px 50px;
    border-radius: var(--premium-radius-sm);
    margin: 1px 14px;
    transition: all var(--premium-speed) var(--premium-ease);
}

#sidebar .sidebar-nav .nav-content a:hover,
#sidebar .sidebar-nav .nav-content a.active {
    color: var(--premium-primary);
    background: var(--premium-primary-subtle);
}

/* Dashboard main */
#main.main {
    padding: 28px 24px 60px;
    min-height: calc(100vh - 120px);
}

/* Dashboard footer */
#footer.footer {
    background: var(--premium-bg-elevated);
    border-top: 1px solid var(--premium-border-light);
    padding: 18px 0;
    font-size: 13px;
    color: var(--premium-text-muted);
}

/* Dashboard header profile */
.header-nav .nav-profile img {
    width: 38px;
    height: 38px;
    border-radius: var(--premium-radius-pill);
    object-fit: cover;
    border: 2.5px solid var(--premium-border);
    transition: all var(--premium-speed) var(--premium-ease);
}

.header-nav .nav-profile:hover img {
    border-color: var(--premium-primary);
    box-shadow: 0 0 0 4px var(--premium-primary-subtle);
}

.header-nav .nav-profile span {
    font-family: var(--premium-font);
    font-weight: 700;
    font-size: 14px;
    color: var(--premium-text);
}

/* Dashboard dropdown */
.header-nav .dropdown-menu {
    border: 1px solid var(--premium-border);
    border-radius: var(--premium-radius);
    box-shadow: var(--premium-shadow-md);
    padding: 10px;
    margin-top: 10px;
}

.header-nav .dropdown-menu .dropdown-item {
    border-radius: var(--premium-radius-sm);
    padding: 11px 16px;
    font-size: 14px;
    transition: all var(--premium-speed-fast) var(--premium-ease);
}

.header-nav .dropdown-menu .dropdown-item:hover {
    background: var(--premium-primary-subtle);
    color: var(--premium-primary);
}

.header-nav .dropdown-menu .dropdown-header h6 {
    font-weight: 800;
    font-size: 15px;
}

/* ============================================================
   17. MISC COMPONENTS
   ============================================================ */

/* Breadcrumbs */
.breadcrumb {
    background: transparent;
    padding: 0;
    margin-bottom: 20px;
}

.breadcrumb-item {
    font-size: 13px;
    font-weight: 600;
}

.breadcrumb-item a {
    color: var(--premium-text-muted);
}

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

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

/* Toasts */
.toast {
    border-radius: var(--premium-radius) !important;
    box-shadow: var(--premium-shadow-lg) !important;
}

/* Tooltips */
.tooltip .tooltip-inner {
    font-family: var(--premium-font);
    font-size: 12px;
    font-weight: 600;
    padding: 8px 14px;
    border-radius: var(--premium-radius-sm);
    background: var(--premium-text);
}

/* SweetAlert */
.swal2-popup {
    border-radius: var(--premium-radius-xl) !important;
    font-family: var(--premium-font) !important;
}

.swal2-confirm {
    border-radius: var(--premium-radius) !important;
}

/* Back to top */
.back-to-top {
    width: 48px;
    height: 48px;
    border-radius: var(--premium-radius);
    background: var(--premium-gradient-primary);
    color: #fff;
    box-shadow: var(--premium-shadow-glow);
    transition: all var(--premium-speed) var(--premium-ease);
}

.back-to-top:hover {
    box-shadow: 0 8px 24px rgba(106, 27, 109, 0.45);
    transform: translateY(-4px);
}

/* Preloader */
#preloader {
    background: var(--premium-bg);
}

/* General dropdowns */
.dropdown-item {
    font-family: var(--premium-font);
    font-size: 14px;
    padding: 10px 18px;
    border-radius: var(--premium-radius-sm);
    transition: all var(--premium-speed-fast) var(--premium-ease);
}

.dropdown-item:hover,
.dropdown-item:focus {
    background: var(--premium-primary-subtle);
    color: var(--premium-primary);
}

.dropdown-menu {
    border: 1px solid var(--premium-border);
    border-radius: var(--premium-radius);
    box-shadow: var(--premium-shadow-md);
    padding: 8px;
}

/* Custom file input */
.custom-file-label {
    border: 2px solid var(--premium-border);
    border-radius: var(--premium-radius);
    padding: 12px 18px;
    font-size: 14px;
}

.custom-file-label::after {
    background: var(--premium-gradient-primary);
    color: #fff;
    border-radius: 0 var(--premium-radius) var(--premium-radius) 0;
    border: none;
    padding: 12px 22px;
    font-weight: 700;
}

/* FAQ */
.faq-item {
    background: var(--premium-bg-elevated);
    border: 1px solid var(--premium-border-light);
    border-radius: var(--premium-radius);
    margin-bottom: 14px;
    transition: all var(--premium-speed) var(--premium-ease);
    overflow: hidden;
}

.faq-item:hover {
    border-color: var(--premium-border);
    box-shadow: var(--premium-shadow-xs);
}

.faq-item h3 {
    font-size: 16px;
    font-weight: 700;
    padding: 20px 24px;
    cursor: pointer;
    color: var(--premium-text);
    transition: color var(--premium-speed) var(--premium-ease);
}

.faq-item h3:hover {
    color: var(--premium-primary);
}

.faq-item.faq-active {
    border-color: var(--premium-primary);
    box-shadow: var(--premium-shadow-sm);
}

/* ============================================================
   18. RESPONSIVE FIXES — COMPREHENSIVE
   ============================================================ */

/* ── Extra small: phones ── */
@media (max-width: 576px) {
    .container, .container-sm {
        padding-left: 16px;
        padding-right: 16px;
    }

    section {
        padding: 40px 0;
    }

    .section-title h2,
    .section-header h2 {
        font-size: 22px;
        line-height: 1.3;
    }

    .section-title p,
    .section-header p {
        font-size: 14px;
    }

    h1 { font-size: 26px; }
    h2 { font-size: 22px; }
    h3 { font-size: 18px; }
    h4 { font-size: 16px; }

    p { font-size: 14px; }

    /* Hero sections */
    #hero, .hero, [class*="hero"] {
        min-height: auto;
    }

    #hero .carousel-item,
    .hero-carousel .carousel-item {
        min-height: 280px !important;
    }

    #hero h2, .hero h2 {
        font-size: 22px !important;
        line-height: 1.3;
        text-align: center !important;
        word-spacing: normal !important;
    }

    #hero p, .hero p {
        font-size: 14px !important;
        text-align: center !important;
        word-spacing: normal !important;
    }

    /* Registration page */
    #register .bg-register {
        padding: 12px 16px;
        border-radius: var(--premium-radius-lg);
    }

    #register .logo-img img {
        max-width: 180px;
        margin-bottom: 20px;
    }

    /* Buttons */
    .btn {
        padding: 10px 20px;
        font-size: 13px;
    }

    .btn-lg {
        padding: 12px 24px;
        font-size: 14px;
    }

    /* Cards */
    .card-body {
        padding: 16px;
    }

    .card {
        margin-bottom: 16px;
    }

    /* Footer */
    footer.footer {
        padding-top: 36px;
    }

    footer.footer .footer-menu,
    footer.footer .footer-info {
        align-items: center;
        text-align: center;
    }

    footer.footer .social-links {
        justify-content: center;
    }

    footer .row > [class*="col-"] {
        margin-bottom: 24px;
    }

    /* Tables */
    .table {
        font-size: 12px;
    }

    .table-responsive {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    /* Explore further */
    .exploreFurtherWithAYWAH {
        padding: 45px 0;
    }

    /* Column stacking */
    .row > [class*="col-md-"],
    .row > [class*="col-lg-"] {
        flex: 0 0 100%;
        max-width: 100%;
        margin-bottom: 16px;
    }

    /* Swiper slides */
    .swiper-slide {
        padding: 0 8px;
    }

    /* Pillars grid */
    .pillars .col-lg-4,
    .pillars .col-md-6 {
        flex: 0 0 100%;
        max-width: 100%;
    }

    /* Expert/Service cards */
    .icon-box, .info-box, .service-item {
        padding: 20px;
        margin-bottom: 16px;
    }

    /* Auth pages */
    .auth-card-container {
        padding: 16px;
    }

    /* Image cards */
    .card img, .img-fluid {
        max-width: 100%;
        height: auto;
    }

    /* Pricing/Subscription */
    .pricing .box {
        margin-bottom: 20px;
    }

    /* Banner text overlay */
    .banner-content,
    .carousel-caption {
        padding: 16px;
    }

    .banner-content h2,
    .carousel-caption h2 {
        font-size: 20px !important;
    }
}

/* ── Small: landscape phones / small tablets ── */
@media (min-width: 577px) and (max-width: 767px) {
    .container {
        padding-left: 20px;
        padding-right: 20px;
    }

    section {
        padding: 50px 0;
    }

    .section-title h2,
    .section-header h2 {
        font-size: 26px;
    }

    /* 2-column grid for cards */
    .row > .col-lg-4,
    .row > .col-lg-3 {
        flex: 0 0 50%;
        max-width: 50%;
    }

    .row > .col-lg-6 {
        flex: 0 0 100%;
        max-width: 100%;
    }

    /* Hero */
    #hero .carousel-item {
        min-height: 320px !important;
    }

    #hero h2 {
        font-size: 26px !important;
        text-align: center !important;
        word-spacing: normal !important;
    }
}

/* ── Medium: tablets ── */
@media (min-width: 768px) and (max-width: 991px) {
    section {
        padding: 55px 0;
    }

    .section-title h2,
    .section-header h2 {
        font-size: 28px;
    }

    /* Registration */
    #register .bg-register {
        border-radius: var(--premium-radius-xl);
    }

    /* 2-column grid */
    .row > .col-lg-4 {
        flex: 0 0 50%;
        max-width: 50%;
    }

    .row > .col-lg-3 {
        flex: 0 0 50%;
        max-width: 50%;
    }

    /* Hero */
    #hero .carousel-item {
        min-height: 380px !important;
    }
}

/* ── Large tablets / small desktops ── */
@media (min-width: 992px) and (max-width: 1279px) {
    #header.header.fixed-top {
        min-height: 64px;
    }

    /* Ensure content doesn't hide behind header */
    main, #main {
        padding-top: 64px;
    }
}

/* ── All mobile (prevent overflow) ── */
@media (max-width: 1279px) {
    /* Prevent horizontal scroll */
    .container {
        max-width: 100%;
        overflow-x: hidden;
    }

    /* Stack flex items on mobile */
    .d-flex.flex-row {
        flex-wrap: wrap;
    }

    /* Images */
    img {
        max-width: 100%;
        height: auto;
    }

    /* Fix any absolute positioned elements overflowing */
    .position-absolute {
        max-width: 100vw;
    }

    /* Footer columns */
    footer .col-lg-2,
    footer .col-lg-3,
    footer .col-lg-4 {
        flex: 0 0 50%;
        max-width: 50%;
        margin-bottom: 20px;
    }

    /* Team/expert/service grids */
    .team .col-lg-3,
    .experts .col-lg-4 {
        flex: 0 0 50%;
        max-width: 50%;
    }

    /* Pillar cards */
    .pillars .pillar-card {
        margin-bottom: 16px;
    }
}

/* ── Phone-only footer stack ── */
@media (max-width: 767px) {
    footer .col-lg-2,
    footer .col-lg-3,
    footer .col-lg-4,
    footer .col-md-6 {
        flex: 0 0 100%;
        max-width: 100%;
        text-align: center;
    }

    footer .footer-logo {
        justify-content: center;
    }

    /* Team on phones: full width */
    .team .col-lg-3,
    .team .col-md-4,
    .experts .col-lg-4,
    .experts .col-md-4 {
        flex: 0 0 100%;
        max-width: 100%;
    }

    /* Simplify multi-column layouts */
    .row > .col-md-4,
    .row > .col-md-3 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

/* ============================================================
   19. SERVICES PAGE
   ============================================================ */
.services .icon-box {
    border-radius: var(--premium-radius-lg);
    border: 1px solid var(--premium-border-light);
    transition: all var(--premium-speed) var(--premium-ease);
}

.services .icon-box:hover {
    box-shadow: var(--premium-shadow-md);
    transform: translateY(-4px);
}

/* ============================================================
   20. PROFILE PAGE
   ============================================================ */
.card .image-container {
    position: relative;
}

.card img.img-circles {
    border-radius: var(--premium-radius-pill);
    border: 3px solid var(--premium-border);
    object-fit: cover;
    transition: all var(--premium-speed) var(--premium-ease);
}

.card img.img-circles:hover {
    border-color: var(--premium-primary);
    box-shadow: 0 0 0 5px var(--premium-primary-subtle);
}

.card span.change-icon {
    border-radius: var(--premium-radius-sm);
    background: var(--premium-bg-muted);
    border: 2px solid var(--premium-border);
    transition: all var(--premium-speed) var(--premium-ease);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    line-height: 1;
    width: 34px;
    height: 34px;
}

.card span.change-icon:hover {
    background: var(--premium-gradient-primary);
    color: #fff;
    border-color: var(--premium-primary);
}

/* ============================================================
   21. SUBSCRIPTIONS
   ============================================================ */
.pricing .box {
    border-radius: var(--premium-radius-lg);
    border: 1px solid var(--premium-border-light);
    transition: all var(--premium-speed) var(--premium-ease);
    overflow: hidden;
}

.pricing .box:hover {
    box-shadow: var(--premium-shadow-md);
    transform: translateY(-4px);
}

.pricing .box.featured {
    border-color: var(--premium-primary);
    box-shadow: 0 0 0 2px var(--premium-primary-subtle), var(--premium-shadow-md);
}

/* ============================================================
   22. SCROLLBAR — THEMED
   ============================================================ */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--premium-bg-muted);
}

::-webkit-scrollbar-thumb {
    background: var(--premium-border-strong);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--premium-primary-light);
}

/* ============================================================
   23. FOCUS & ACCESSIBILITY
   ============================================================ */
*:focus-visible {
    outline: 3px solid var(--premium-primary);
    outline-offset: 2px;
}

*:focus:not(:focus-visible) {
    outline: none;
}

/* ============================================================
   24. CONTENT WRAPPER
   ============================================================ */
.content-wrapper {
    min-height: calc(100vh - 200px);
}

/* ============================================================
   25. PRINT STYLES
   ============================================================ */
@media print {
    #header, #footer, footer, .back-to-top, .mobile-nav-toggle {
        display: none !important;
    }

    body {
        background: #fff !important;
        color: #000 !important;
    }

    .card, .btn {
        box-shadow: none !important;
        border: 1px solid #ddd !important;
    }
}

/* ============================================================
   26. REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* END OF FILE */
