/* ====== THEME CSS ====== */

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@500;600;700&family=Montserrat:wght@600;700;800&family=Inter:wght@400;500;600;700&display=swap');

/* ---------- DESIGN TOKENS (dark, default) ---------- */
:root {
    /* Aurora palette */
    --au-brand:   #2dd4bf;   /* teal   */
    --au-brand-2: #3b82f6;   /* blue   */
    --au-brand-3: #8b5cf6;   /* violet */
    --au-brand-4: #ec4899;   /* pink   */
    --au-gold:    #fbbf24;
    --au-grad:  linear-gradient(120deg, #2dd4bf 0%, #3b82f6 45%, #8b5cf6 100%);
    --au-grad-soft: linear-gradient(120deg, rgba(45,212,191,.16), rgba(59,130,246,.16) 50%, rgba(139,92,246,.16));

    --au-radius: 18px;
    --au-radius-sm: 12px;
    --au-radius-lg: 26px;
    --au-shadow: 0 24px 60px -20px rgba(4,8,20,.75);
    --au-shadow-glow: 0 20px 55px -18px rgba(59,130,246,.55);
    --au-ease: cubic-bezier(.22,.61,.36,1);

    /* Legacy variable names remapped to the premium palette so existing
       page styles inherit the upgrade with zero rewrites. */
    --bg-main:   #05070e;
    --bg-footer: #070a14;
    --nav-bg:    rgba(7, 10, 20, 0.72);
    --text-main: #f3f6fc;
    --text-muted:#98a4bd;
    --card-bg:   rgba(255,255,255,0.045);
    --card-border: rgba(255,255,255,0.09);
    --primary:   #2dd4bf;
    --primary-hover: #14b8a6;
    --secondary: #fbbf24;
    --input-bg:  rgba(255,255,255,0.04);
    --input-border: rgba(255,255,255,0.12);
    --tab-bg:    rgba(255,255,255,0.04);
    --tab-active: linear-gradient(120deg, #2dd4bf, #3b82f6);
}

.light-mode {
    --bg-main:   #f6f8fc;
    --bg-footer: #eef2f9;
    --nav-bg:    rgba(255,255,255,0.78);
    --text-main: #0b1220;
    --text-muted:#516079;
    --card-bg:   rgba(255,255,255,0.75);
    --card-border: rgba(12,20,40,0.10);
    --primary:   #0ea5e9;
    --primary-hover: #0284c7;
    --secondary: #d97706;
    --input-bg:  #ffffff;
    --input-border: rgba(12,20,40,0.14);
    --tab-bg:    rgba(12,20,40,0.05);
    --tab-active: linear-gradient(120deg, #0ea5e9, #6366f1);
    --au-shadow: 0 24px 55px -22px rgba(30,50,90,.30);
    --au-shadow-glow: 0 20px 50px -20px rgba(59,130,246,.35);
}

/* ---------- BASE ---------- */
html { scroll-behavior: smooth; background: var(--bg-main); }
/* Let the fixed .aurora-bg layer show through every page that opts in. */
body { background: transparent; }
::selection { background: rgba(59,130,246,.35); color: #fff; }
* { scrollbar-width: thin; scrollbar-color: rgba(148,163,184,.35) transparent; }
*::-webkit-scrollbar { width: 10px; height: 10px; }
*::-webkit-scrollbar-thumb { background: linear-gradient(#2dd4bf,#8b5cf6); border-radius: 20px; border: 3px solid transparent; background-clip: padding-box; }
*::-webkit-scrollbar-track { background: transparent; }

/* ---------- ANIMATED AURORA BACKGROUND ---------- */
.aurora-bg { position: fixed; inset: 0; z-index: -2; overflow: hidden; pointer-events: none; background: var(--bg-main); }
.aurora-bg span { position: absolute; display: block; border-radius: 50%; filter: blur(90px); opacity: .55; mix-blend-mode: screen; will-change: transform; }
.light-mode .aurora-bg span { opacity: .34; mix-blend-mode: multiply; filter: blur(80px); }
.aurora-bg .a1 { width: 46vw; height: 46vw; background: radial-gradient(circle, #2dd4bf, transparent 62%); top: -10vw; left: -8vw; animation: auroraDrift1 26s var(--au-ease) infinite alternate; }
.aurora-bg .a2 { width: 44vw; height: 44vw; background: radial-gradient(circle, #8b5cf6, transparent 62%); top: 18vh; right: -12vw; animation: auroraDrift2 30s var(--au-ease) infinite alternate; }
.aurora-bg .a3 { width: 40vw; height: 40vw; background: radial-gradient(circle, #3b82f6, transparent 60%); bottom: -14vw; left: 24vw; animation: auroraDrift3 34s var(--au-ease) infinite alternate; }
/* subtle grain */
.aurora-bg::after { content:''; position:absolute; inset:0; opacity:.06; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
@keyframes auroraDrift1 { to { transform: translate3d(8vw, 6vh, 0) scale(1.15); } }
@keyframes auroraDrift2 { to { transform: translate3d(-7vw, 4vh, 0) scale(1.1); } }
@keyframes auroraDrift3 { to { transform: translate3d(5vw, -6vh, 0) scale(1.2); } }

/* ---------- PREMIUM COMPONENTS ---------- */
.au-grad { background: var(--au-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

.au-pill { display: inline-flex; align-items: center; gap: 8px; padding: 7px 16px; border-radius: 50px;
    font-size: .82em; font-weight: 600; letter-spacing: .4px; color: var(--text-main);
    background: var(--au-grad-soft); border: 1px solid var(--card-border); backdrop-filter: blur(8px); }

.au-btn { --au-b1:#2dd4bf; --au-b2:#6366f1; position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 9px;
    padding: 14px 30px; border: none; border-radius: 12px; cursor: pointer; text-decoration: none;
    font-family: 'Inter', sans-serif; font-weight: 700; font-size: 1em; color: #fff; letter-spacing: .2px;
    background: linear-gradient(120deg, var(--au-b1), var(--au-b2)); background-size: 160% 160%;
    box-shadow: 0 12px 30px -10px rgba(59,130,246,.6); overflow: hidden; transition: transform .3s var(--au-ease), box-shadow .3s var(--au-ease), background-position .6s var(--au-ease); }
.au-btn::after { content:''; position:absolute; top:0; left:-120%; width:60%; height:100%; transform: skewX(-20deg);
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.35), transparent); transition: left .6s var(--au-ease); }
.au-btn:hover { transform: translateY(-3px); box-shadow: 0 20px 44px -12px rgba(99,102,241,.7); background-position: 100% 0; }
.au-btn:hover::after { left: 130%; }
.au-btn:active { transform: translateY(-1px); }

.au-btn-ghost { display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 13px 28px;
    border-radius: 12px; cursor: pointer; text-decoration: none; font-family: 'Inter', sans-serif; font-weight: 600; font-size: 1em;
    color: var(--text-main); background: var(--card-bg); border: 1px solid var(--card-border); backdrop-filter: blur(10px);
    transition: transform .3s var(--au-ease), border-color .3s var(--au-ease), background .3s var(--au-ease); }
.au-btn-ghost:hover { transform: translateY(-3px); border-color: var(--primary); background: rgba(45,212,191,.08); }

/* Glass card with animated gradient hairline */
.au-card { position: relative; background: var(--card-bg); border: 1px solid var(--card-border); border-radius: var(--au-radius);
    backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: var(--au-shadow);
    transition: transform .4s var(--au-ease), box-shadow .4s var(--au-ease), border-color .4s var(--au-ease); }
.au-card:hover { transform: translateY(-6px); border-color: rgba(255,255,255,.18); box-shadow: var(--au-shadow-glow); }

/* ---------- SCROLL REVEAL ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--au-ease), transform .7s var(--au-ease); will-change: opacity, transform; }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; } .reveal.d4 { transition-delay: .32s; }

@media (prefers-reduced-motion: reduce) {
    .aurora-bg span { animation: none !important; }
    .reveal { opacity: 1 !important; transform: none !important; }
    .au-btn::after { display: none; }
    html { scroll-behavior: auto; }
}

/* =====================================================================
   DASHBOARD COMPONENT LAYER
   Shared app-shell + widgets for every dashboard (admin/intern/mentor/
   ambassador). Built entirely from the --au-* / --card-* / --text-*
   tokens above, so light/dark mode works on dashboards for free.
   Layout is a normal top-navbar → content → footer scroll flow
   (no fixed-height sidebar shell).
===================================================================== */
.dash-body { margin: 0; font-family: 'Inter', sans-serif; color: var(--text-main); min-height: 100vh; }
.dash-main { max-width: 1280px; margin: 0 auto; padding: 110px 5% 70px; }
@media (min-width: 901px) {
    .dash-main { margin: 0 0 0 280px; max-width: calc(100% - 280px); padding: 40px 40px 70px; }
}
.dash-greeting { font-family: 'Montserrat', sans-serif; font-size: clamp(1.7em, 4vw, 2.4em); font-weight: 800; letter-spacing: -.5px; margin: 0 0 6px; }
.dash-sub { color: var(--text-muted); font-size: 1.05em; margin: 0 0 34px; line-height: 1.5; }
.dash-section-title { font-family: 'Montserrat', sans-serif; font-size: 1.35em; font-weight: 700; margin: 46px 0 20px; padding-bottom: 14px; border-bottom: 1px solid var(--card-border); display: flex; align-items: center; gap: 12px; }
.dash-section-title:first-of-type { margin-top: 8px; }

/* Tab panels driven by the navbar's switchView() */
.view-section { display: none; animation: dashFade .45s var(--au-ease) both; }
.view-section.active { display: block; }
@keyframes dashFade { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .view-section { animation: none; } }

/* KPI stat cards */
.au-stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 20px; margin-bottom: 34px; }
.au-stat { position: relative; overflow: hidden; padding: 24px 24px 22px; border-radius: var(--au-radius);
    background: var(--card-bg); border: 1px solid var(--card-border); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    box-shadow: var(--au-shadow); transition: transform .4s var(--au-ease), box-shadow .4s var(--au-ease), border-color .4s var(--au-ease); }
.au-stat::before { content:''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--au-grad); opacity: .9; }
.au-stat:hover { transform: translateY(-5px); border-color: rgba(255,255,255,.16); box-shadow: var(--au-shadow-glow); }
.au-stat h4 { margin: 0 0 12px; font-size: .78em; text-transform: uppercase; letter-spacing: 1.2px; font-weight: 600; color: var(--text-muted); }
.au-stat .num { font-family: 'Montserrat', sans-serif; font-size: 2.3em; font-weight: 800; line-height: 1; margin: 0; color: var(--text-main); }
.au-stat .num.grad { background: var(--au-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.au-stat .stat-foot { margin: 12px 0 0; font-size: .82em; color: var(--text-muted); }
/* accent variants tint the top hairline */
.au-stat.s-teal::before   { background: linear-gradient(120deg,#2dd4bf,#14b8a6); }
.au-stat.s-blue::before   { background: linear-gradient(120deg,#3b82f6,#2563eb); }
.au-stat.s-violet::before { background: linear-gradient(120deg,#8b5cf6,#6d28d9); }
.au-stat.s-gold::before   { background: linear-gradient(120deg,#fbbf24,#f59e0b); }
.au-stat.s-pink::before   { background: linear-gradient(120deg,#ec4899,#db2777); }
.au-stat.s-green::before  { background: linear-gradient(120deg,#34d399,#059669); }
.au-stat.s-red::before    { background: linear-gradient(120deg,#f87171,#dc2626); }

/* Generic content grid + glass panel */
.au-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; margin-top: 8px; }
.au-panel { background: var(--card-bg); border: 1px solid var(--card-border); border-radius: var(--au-radius);
    padding: 26px; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: var(--au-shadow); }
.au-panel-title { font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 1.15em; margin: 0 0 8px; }

/* Chart cards */
.au-charts-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-bottom: 34px; }
.au-chart-card { background: var(--card-bg); border: 1px solid var(--card-border); border-radius: var(--au-radius);
    padding: 22px 22px 14px; min-width: 0; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: var(--au-shadow); }
.au-chart-card.wide { grid-column: 1 / -1; }
.au-chart-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.au-chart-head h4 { margin: 0; font-family: 'Montserrat', sans-serif; font-size: 1.05em; }
.au-chart-badge { font-size: .7em; text-transform: uppercase; letter-spacing: 1px; color: var(--primary);
    background: var(--au-grad-soft); border: 1px solid var(--card-border); padding: 4px 10px; border-radius: 20px; }
.au-chart-wrap { position: relative; width: 100%; height: 280px; }
.au-chart-card:not(.wide) .au-chart-wrap { height: 260px; }
.au-chart-empty { height: 100%; display: flex; align-items: center; justify-content: center; color: var(--text-muted); font-size: .9em; text-align: center; }

/* Tables */
.au-table-wrap { overflow-x: auto; background: var(--card-bg); border: 1px solid var(--card-border); border-radius: var(--au-radius);
    padding: 22px; margin-bottom: 34px; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: var(--au-shadow); }
.au-table { width: 100%; border-collapse: collapse; text-align: left; min-width: 720px; }
.au-table th { padding: 14px 15px; border-bottom: 1px solid var(--card-border); color: var(--text-muted);
    text-transform: uppercase; font-size: .76em; letter-spacing: 1px; font-weight: 600; }
.au-table td { padding: 16px 15px; border-bottom: 1px solid var(--card-border); color: var(--text-main); font-size: .94em; vertical-align: middle; }
.au-table tr:last-child td { border-bottom: none; }
.au-table tbody tr { transition: background .2s var(--au-ease); }
.au-table tbody tr:hover td { background: rgba(148,163,184,.06); }

/* Badges */
.au-badge { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 8px; font-size: .78em; font-weight: 600;
    background: var(--au-grad-soft); border: 1px solid var(--card-border); color: var(--text-main); }
.au-badge.ok  { background: rgba(52,211,153,.14); border-color: rgba(52,211,153,.3); color: #34d399; }
.au-badge.warn{ background: rgba(251,191,36,.14); border-color: rgba(251,191,36,.3); color: #fbbf24; }
.au-badge.bad { background: rgba(248,113,113,.14); border-color: rgba(248,113,113,.3); color: #f87171; }

/* Forms */
.au-form-group { margin-bottom: 20px; }
.au-form label { display: block; color: var(--text-muted); font-size: .8em; margin-bottom: 8px; font-weight: 600; text-transform: uppercase; letter-spacing: .5px; }
.au-form input, .au-form select, .au-form textarea,
.au-input { width: 100%; padding: 13px 15px; border-radius: var(--au-radius-sm); border: 1px solid var(--input-border);
    background: var(--input-bg); color: var(--text-main); font-family: 'Inter', sans-serif; font-size: .95em; transition: border-color .3s var(--au-ease), box-shadow .3s var(--au-ease); box-sizing: border-box; }
.au-form select option, .au-input option { background-color: var(--card-bg); color: var(--text-main); }
.au-form input:focus, .au-form select:focus, .au-form textarea:focus, .au-input:focus {
    outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(45,212,191,.18); }
.au-form textarea { resize: vertical; min-height: 90px; }

/* Small buttons + danger/success/ghost variants (extend .au-btn family) */
.au-btn.sm, .au-btn-ghost.sm { padding: 9px 18px; font-size: .88em; border-radius: 10px; }
.au-btn.danger { --au-b1:#f87171; --au-b2:#dc2626; box-shadow: 0 12px 30px -10px rgba(220,38,38,.5); }
.au-btn.success { --au-b1:#34d399; --au-b2:#059669; box-shadow: 0 12px 30px -10px rgba(5,150,105,.5); }
.au-btn.violet { --au-b1:#8b5cf6; --au-b2:#6d28d9; }

/* Modals */
.au-modal { position: fixed; inset: 0; z-index: 2000; display: none; align-items: center; justify-content: center; padding: 24px;
    background: rgba(3,6,14,.66); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.au-modal.open { display: flex; animation: dashFade .3s var(--au-ease) both; }
.au-modal-card { width: 100%; max-width: 520px; max-height: 88vh; overflow-y: auto; background: var(--bg-footer);
    border: 1px solid var(--card-border); border-radius: var(--au-radius-lg); padding: 32px; box-shadow: var(--au-shadow); }
.au-modal-card h3 { font-family: 'Montserrat', sans-serif; margin: 0 0 6px; font-size: 1.4em; }
.au-modal-close { float: right; cursor: pointer; color: var(--text-muted); font-size: 1.5em; line-height: 1; border: none; background: none; }
.au-modal-close:hover { color: var(--text-main); }

/* Responsive Breakpoints */
@media (max-width: 1150px) {
    .au-charts-grid { grid-template-columns: 1fr; }
}

@media (max-width: 850px) {
    .dash-main { padding: 96px 5% 56px; }
    .au-chart-wrap, .au-chart-card:not(.wide) .au-chart-wrap { height: 240px; }
}

/* ====== applyambass.html ====== */

        *, *::before, *::after { box-sizing: border-box; }
        html, body { max-width: 100vw; overflow-x: hidden; margin: 0; padding: 0;
            font-family: 'Inter', sans-serif; color: var(--text-main); }

        /* Violet accent for the Ambassador brand */
        .amb { --amb-accent: var(--au-brand-3); }

        .page-head { text-align: center; max-width: 680px; margin: 0 auto 54px; }
        .page-head h1 { font-family: 'Space Grotesk','Montserrat',sans-serif;
            font-size: clamp(2em, 6vw, 3.1em); margin: 18px 0 16px; letter-spacing: -0.5px; line-height: 1.1; }
        .amb-grad { background: linear-gradient(120deg, #8b5cf6 0%, #a855f7 50%, #ec4899 100%);
            -webkit-background-clip: text; background-clip: text; color: transparent; }
        .page-head p { color: var(--text-muted); font-size: 1.08em; line-height: 1.7; }
        .amb .au-pill { border-color: rgba(139,92,246,.35);
            background: linear-gradient(120deg, rgba(139,92,246,.18), rgba(236,72,153,.14)); }

        .section-title { text-align: center; font-family: 'Space Grotesk','Montserrat',sans-serif;
            font-size: clamp(1.4em, 4vw, 1.9em); margin: 0 0 8px; }
        .section-sub { text-align: center; color: var(--text-muted); margin: 0 auto 34px; max-width: 560px; line-height: 1.6; }

        .perks-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
            gap: 20px; margin-bottom: 64px; }
        .perk-tile { padding: 30px 26px; }
        .perk-tile .ico { font-size: 1.6em; display: inline-flex; width: 58px; height: 58px;
            align-items: center; justify-content: center; border-radius: 16px; margin-bottom: 16px;
            background: linear-gradient(120deg, rgba(139,92,246,.18), rgba(236,72,153,.14));
            border: 1px solid rgba(139,92,246,.28); }
        .perk-tile h3 { font-family: 'Space Grotesk','Montserrat',sans-serif; font-size: 1.12em; margin: 0 0 8px; }
        .perk-tile p { color: var(--text-muted); line-height: 1.6; font-size: 0.96em; margin: 0; }

        .apply-wrap { max-width: 640px; margin: 0 auto; }
        .apply-card { padding: 40px 36px; border-top: 3px solid var(--au-brand-3); }
        .apply-card h2 { font-family: 'Space Grotesk','Montserrat',sans-serif; font-size: 1.5em; margin: 0 0 8px; }
        .apply-card .intro { color: var(--text-muted); line-height: 1.6; margin: 0 0 28px; }

        .field { margin-bottom: 18px; }
        .field label { display: block; color: var(--text-muted); font-size: 0.88em; font-weight: 600;
            margin-bottom: 8px; letter-spacing: .2px; }
        .field input, .field textarea { width: 100%; padding: 13px 15px; border-radius: 12px;
            border: 1px solid var(--input-border); background: var(--input-bg); color: var(--text-main);
            font-family: inherit; font-size: 0.98em; outline: none; transition: border-color .25s ease, box-shadow .25s ease; }
        .field textarea { resize: vertical; min-height: 130px; }
        .field input:focus, .field textarea:focus { border-color: var(--au-brand-3);
            box-shadow: 0 0 0 3px rgba(139,92,246,.18); }
        .field input::placeholder, .field textarea::placeholder { color: var(--text-muted); opacity: .7; }

        .submit-btn { --au-b1:#8b5cf6; --au-b2:#ec4899; width: 100%; margin-top: 6px;
            box-shadow: 0 12px 30px -10px rgba(139,92,246,.6); }
        .submit-btn:hover { box-shadow: 0 20px 44px -12px rgba(139,92,246,.7); }

        .error-banner { display: flex; align-items: center; gap: 10px; background: rgba(245,101,101,.1);
            border: 1px solid rgba(245,101,101,.3); border-left: 3px solid #f56565; color: #f56565;
            padding: 13px 16px; margin-bottom: 22px; border-radius: 10px; font-size: 0.92em; line-height: 1.5; }

        .success-card { padding: 48px 40px; text-align: center; border-top: 3px solid var(--au-brand-3); }
        .success-card .check { display: inline-flex; width: 74px; height: 74px; align-items: center; justify-content: center;
            border-radius: 50%; font-size: 2em; color: #fff; margin-bottom: 20px;
            background: linear-gradient(120deg, #8b5cf6, #ec4899); box-shadow: 0 16px 40px -12px rgba(139,92,246,.6); }
        .success-card h2 { font-family: 'Space Grotesk','Montserrat',sans-serif; font-size: 1.7em; margin: 0 0 12px; }
        .success-card p { color: var(--text-muted); line-height: 1.7; max-width: 460px; margin: 0 auto 26px; }

        @media (max-width: 560px) {
            .apply-card, .success-card { padding: 32px 22px; }
        }
    
/* ====== blog.html ====== */

        /* Shared Base Styles - Paste your :root variables here if not using base.html */
        @import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@600;800&family=Inter:wght@400;500;600;700&display=swap');
        
        :root {
            --bg-main: #030712;
            --bg-footer: #050b14;
            --nav-bg: rgba(3, 7, 18, 0.85);
            --text-main: #f9fafb;
            --text-muted: #9ca3af;
            --card-bg: rgba(17, 24, 39, 0.6);
            --card-border: rgba(255,255,255,0.05);
            --primary: #38b2ac;
            --primary-hover: #2c7a7b;
            --secondary: #ecc94b;
            --input-bg: #111827;
        }

        .light-mode {
            --bg-main: #f8fafc;
            --bg-footer: #f1f5f9;
            --nav-bg: rgba(255, 255, 255, 0.95);
            --text-main: #0f172a;
            --text-muted: #475569;
            --card-bg: #ffffff;
            --card-border: rgba(0, 0, 0, 0.1);
            --primary: #0ea5e9;
            --primary-hover: #0284c7;
            --secondary: #d97706;
            --input-bg: #ffffff;
        }

        body { 
            background: var(--bg-main); color: var(--text-main); 
            font-family: 'Inter', sans-serif; margin: 0; padding: 0;
            overflow-x: hidden;
        }

        /* Layout Structure */
        .page-container {
            display: flex;
            max-width: 1300px;
            margin: 100px auto 40px auto; /* Margin top accounts for fixed navbar */
            height: calc(100vh - 140px); /* Height takes full screen minus margins */
            gap: 40px;
            padding: 0 20px;
        }

        /* Sidebar - Blog List */
        .blog-sidebar {
            width: 320px;
            border-right: 1px solid var(--card-border);
            padding-right: 20px;
            overflow-y: auto;
        }
        
        .blog-sidebar h3 { font-family: 'Montserrat', sans-serif; color: var(--primary); margin-top: 0;}

        .blog-list-item {
            background: var(--card-bg);
            border: 1px solid var(--card-border);
            padding: 15px;
            border-radius: 8px;
            margin-bottom: 15px;
            cursor: pointer;
            transition: 0.3s;
        }
        .blog-list-item:hover { border-color: var(--primary); transform: translateX(5px); }
        .blog-list-item h4 { margin: 0 0 5px 0; font-size: 1.05em; color: var(--text-main);}
        .blog-list-item span { font-size: 0.85em; color: var(--text-muted); }

        /* Main Scrollable Content (Snap Scrolling) */
        .blog-content-area {
            flex: 1;
            overflow-y: auto;
            scroll-snap-type: y mandatory; /* Forces scrolling to snap to each blog post */
            scroll-behavior: smooth;
            border-radius: 12px;
            border: 1px solid var(--card-border);
            background: var(--card-bg);
        }
        
        /* Individual Blog Post (Takes up full height of the container) */
        .blog-post {
            height: 100%; /* Forces post to take up exact viewport height of container */
            padding: 60px 40px;
            scroll-snap-align: start; /* Snaps exactly to the top */
            display: flex;
            flex-direction: column;
            border-bottom: 1px solid var(--card-border);
        }

        .blog-post h1 { font-family: 'Montserrat', sans-serif; font-size: 2.8em; margin: 0 0 10px 0; color: var(--primary);}
        .blog-meta { color: var(--text-muted); margin-bottom: 30px; font-weight: 500; font-size: 0.9em; }
        .blog-body { font-size: 1.15em; line-height: 1.8; color: var(--text-muted); }

        /* Mobile Adjustments */
        @media (max-width: 850px) {
            .page-container { flex-direction: column; height: auto; display: block; }
            .blog-sidebar { width: 100%; border-right: none; border-bottom: 1px solid var(--card-border); padding-right: 0; padding-bottom: 20px; max-height: 300px; }
            .blog-content-area { border: none; background: transparent; height: auto; scroll-snap-type: none; overflow: visible;}
            .blog-post { height: auto; scroll-snap-align: none; padding: 40px 0; }
        }
        
        /* Hide scrollbars for aesthetic */
        ::-webkit-scrollbar { width: 6px; }
        ::-webkit-scrollbar-track { background: transparent; }
        ::-webkit-scrollbar-thumb { background: var(--card-border); border-radius: 10px; }
    
/* ====== contact.html ====== */

        *, *::before, *::after { box-sizing: border-box; }
        html, body { max-width: 100vw; overflow-x: hidden; margin: 0; padding: 0;
            font-family: 'Inter', sans-serif; color: var(--text-main); }

        .page-shell { max-width: 1080px; margin: 0 auto; padding: 120px 5% 80px; }
        .page-head { text-align: center; max-width: 640px; margin: 0 auto 50px; }
        .page-head h1 { font-family: 'Space Grotesk','Montserrat',sans-serif; font-size: clamp(2em, 6vw, 3em); margin: 18px 0 14px; letter-spacing: -0.5px; }
        .page-head p { color: var(--text-muted); font-size: 1.08em; line-height: 1.7; }

        .contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 22px; }
        .contact-tile { padding: 34px 28px; text-align: center; }
        .contact-tile .ico { font-size: 2em; margin-bottom: 14px; display: inline-flex; width: 64px; height: 64px; align-items: center; justify-content: center; border-radius: 18px; background: var(--au-grad-soft); border: 1px solid var(--card-border); }
        .contact-tile h3 { font-family: 'Space Grotesk','Montserrat',sans-serif; font-size: 1.2em; margin: 6px 0 10px; }
        .contact-tile p, .contact-tile a { color: var(--text-muted); text-decoration: none; line-height: 1.6; font-size: 0.98em; }
        .contact-tile a:hover { color: var(--primary); }

        .cta-row { text-align: center; margin-top: 46px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
    
/* ====== cookies.html ====== */

        *, *::before, *::after { box-sizing: border-box; }
        html, body { max-width: 100vw; overflow-x: hidden; margin: 0; padding: 0;
            font-family: 'Inter', sans-serif; color: var(--text-main); }

        .page-shell { max-width: 900px; margin: 0 auto; padding: 120px 5% 80px; }
        .page-head { text-align: center; max-width: 680px; margin: 0 auto 44px; }
        .page-head h1 { font-family: 'Space Grotesk','Montserrat',sans-serif; font-size: clamp(2em, 6vw, 3em); margin: 18px 0 14px; letter-spacing: -0.5px; }
        .page-head p { color: var(--text-muted); font-size: 1.08em; line-height: 1.7; }
        .updated { display: inline-block; margin-top: 14px; font-size: 0.82em; letter-spacing: 1px; text-transform: uppercase; color: var(--text-muted); }

        .legal-card { padding: 34px 30px; }
        .legal-card + .legal-card { margin-top: 22px; }
        .legal-card h2 { font-family: 'Space Grotesk','Montserrat',sans-serif; font-size: clamp(1.25em, 3.5vw, 1.5em); margin: 0 0 16px; letter-spacing: -0.3px; }
        .legal-card p, .legal-card li { color: var(--text-muted); line-height: 1.7; font-size: 1em; }
        .legal-card p { margin: 0 0 15px; }
        .legal-card p:last-child { margin-bottom: 0; }
        .legal-card ul { margin: 0 0 6px; padding-left: 22px; }
        .legal-card li { margin-bottom: 12px; }
        .legal-card strong { color: var(--text-main); font-weight: 600; }

        .cta-row { text-align: center; margin-top: 40px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
    
/* ====== dashboard_ambassador.html ====== */

        /* Locked tiers dim slightly (still readable in light + dark) */
        .tier-locked { opacity: .55; filter: grayscale(60%); }
    
/* ====== dashboard_nav.html ====== */

    .dnav { display: flex; justify-content: space-between; align-items: center; gap: 16px;
        padding: 14px 5%; background: var(--nav-bg); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
        position: fixed; top: 0; left: 0; width: 100%; z-index: 1000; box-sizing: border-box;
        border-bottom: 1px solid var(--card-border); transition: .4s ease; }
    .dnav .logo-container { display: flex; align-items: center; text-decoration: none; gap: 11px; height: 38px; flex-shrink: 0; }
    .dnav .logo-img { height: 100%; width: auto; object-fit: contain; display: block; }
    .dnav .logo-text { font-family: 'Montserrat', sans-serif; font-size: 1.45em; font-weight: 800; letter-spacing: 1px; display: flex; align-items: center; }
    .dnav .logo-text .virt { color: var(--text-main) !important; }
    .dnav .logo-text .uole { color: var(--primary) !important; }
    .dnav .dash-tag { margin-left: 4px; font-size: .58em; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase;
        color: var(--primary); align-self: center; padding: 3px 9px; border-radius: 20px; background: var(--au-grad-soft); border: 1px solid var(--card-border); }

    .dnav-center { display: flex; gap: 6px; align-items: center; }
    .dnav-tab { color: var(--text-muted); font-weight: 500; font-size: .93em; padding: 9px 16px; border-radius: 20px;
        cursor: pointer; transition: .25s var(--au-ease); border: 1px solid transparent; text-decoration: none; white-space: nowrap; }
    .dnav-tab:hover { color: var(--text-main); background: rgba(148,163,184,.1); }
    .dnav-tab.active { color: var(--primary); font-weight: 600; background: var(--au-grad-soft); border-color: var(--card-border); }

    .dnav-right { display: flex; align-items: center; gap: 16px; flex-shrink: 0; }
    .dnav .theme-switch-wrapper { display: flex; align-items: center; gap: 8px; }
    .dnav .theme-switch { position: relative; display: inline-block; width: 48px; height: 26px; }
    .dnav .theme-switch input { opacity: 0; width: 0; height: 0; }
    .dnav .slider { position: absolute; cursor: pointer; inset: 0; background: var(--card-bg); transition: .4s; border-radius: 34px; border: 1px solid var(--card-border); }
    .dnav .slider:before { position: absolute; content: "☀️"; font-size: 12px; display: flex; align-items: center; justify-content: center;
        height: 20px; width: 20px; left: 2px; bottom: 2px; background: #fff; transition: .4s; border-radius: 50%; }
    body.light-mode .dnav .slider:before { content: "🌙"; }
    .dnav input:checked + .slider { background: var(--primary); }
    .dnav input:checked + .slider:before { transform: translateX(22px); }

    .dnav-logout { background: linear-gradient(120deg,#f87171,#dc2626); color: #fff !important; padding: 9px 20px; border-radius: 50px;
        font-weight: 700; text-decoration: none; font-size: .9em; transition: .3s var(--au-ease); box-shadow: 0 10px 24px -10px rgba(220,38,38,.6); }
    .dnav-logout:hover { transform: translateY(-2px); box-shadow: 0 16px 32px -12px rgba(220,38,38,.7); }
    .dnav-hamburger { display: none; font-size: 1.7em; color: var(--text-main); cursor: pointer; line-height: 1; }

    .dnav .desktop-only { display: flex; }
    .dnav .mobile-only  { display: none; }

    @media (min-width: 901px) {
        .dnav {
            flex-direction: column; justify-content: flex-start; align-items: flex-start;
            width: 240px; height: calc(100vh - 40px); top: 20px; left: 20px;
            border-radius: 24px; border: 1px solid var(--card-border);
            padding: 30px 20px; gap: 30px; box-shadow: var(--au-shadow);
        }
        .dnav .logo-container { height: auto; margin-bottom: 10px; flex-shrink: 0; }
        .dnav .logo-img { height: 38px; }
        .dnav-center { flex-direction: column; align-items: flex-start; width: 100%; gap: 10px; flex: 1; overflow-y: auto; overflow-x: hidden; margin-right: -10px; padding-right: 10px; }
        .dnav-center::-webkit-scrollbar { width: 4px; }
        .dnav-center::-webkit-scrollbar-thumb { background: rgba(100,116,139,.3); border-radius: 4px; }
        .dnav-center::-webkit-scrollbar-thumb:hover { background: rgba(100,116,139,.5); }
        .dnav-tab { width: 100%; box-sizing: border-box; padding: 12px 20px; font-size: 1em; flex-shrink: 0; }
        .dnav-right { margin-top: auto; flex-direction: column; align-items: stretch; width: 100%; gap: 20px; flex-shrink: 0; }
        .dnav-logout { text-align: center; }
        .theme-switch-wrapper.desktop-only { justify-content: flex-end; width: auto; }
    }

    @media (max-width: 900px) {
        .dnav-center { position: fixed; top: 0; right: -100%; height: 100vh; width: min(78%, 320px); flex-direction: column;
            align-items: stretch; gap: 8px; padding: 90px 22px 30px; background: var(--nav-bg); backdrop-filter: blur(20px);
            border-left: 1px solid var(--card-border); box-shadow: -20px 0 60px -20px rgba(4,8,20,.8); transition: right .3s var(--au-ease); z-index: 1001; box-sizing: border-box; overflow-y: auto; }
        .dnav-center.active { right: 0; }
        .dnav-tab { font-size: 1.02em; padding: 13px 16px; }
        .dnav-hamburger { display: block; position: relative; z-index: 1002; }
        .dnav .desktop-only { display: none !important; }
        .dnav .mobile-only  { display: flex; }
        .dnav-mobile-foot { margin-top: auto; display: flex; flex-direction: column; gap: 16px; padding-top: 20px; border-top: 1px solid var(--card-border); }
        .dnav-mobile-theme { display: flex; align-items: center; justify-content: space-between; color: var(--text-main); font-weight: 600; }
        .dnav-logout.mobile-only { justify-content: center; text-align: center; }
    }

/* ====== feedback.html ====== */

        @import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@600;800&family=Inter:wght@400;500;600&display=swap');
        
        /* * FIX: ADDED GLOBAL CSS VARIABLES 
         * Now the navbar and footer know what colors to use!
         */
        :root {
            --bg-main: #030712;
            --bg-footer: #050b14;
            --nav-bg: rgba(3, 7, 18, 0.85);
            --text-main: #f9fafb;
            --text-muted: #9ca3af;
            --card-bg: rgba(17, 24, 39, 0.6);
            --card-border: rgba(255,255,255,0.05);
            --primary: #38b2ac;
            --secondary: #ecc94b;
            --input-bg: #111827;
        }

        .light-mode {
            --bg-main: #f8fafc;
            --bg-footer: #f1f5f9;
            --nav-bg: rgba(255, 255, 255, 0.95);
            --text-main: #0f172a;
            --text-muted: #475569;
            --card-bg: #ffffff;
            --card-border: rgba(0, 0, 0, 0.1);
            --primary: #0ea5e9;
            --secondary: #d97706;
            --input-bg: #ffffff;
        }

        *, *::before, *::after { box-sizing: border-box; }
        html, body {
            max-width: 100vw; overflow-x: hidden; margin: 0; padding: 0;
            font-family: 'Inter', sans-serif; background: var(--bg-main); color: var(--text-main);
        }

        .glow-bg {
            position: absolute; width: 600px; height: 600px;
            background: radial-gradient(circle, rgba(56, 178, 172, 0.15) 0%, rgba(0,0,0,0) 70%);
            top: -200px; right: -100px; z-index: -1; pointer-events: none;
        }

        .container { max-width: 1100px; margin: 120px auto 80px; padding: 0 20px; display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }

        .info-box, .form-box { 
            background: var(--card-bg); backdrop-filter: blur(10px);
            padding: 40px; border-radius: 16px; border: 1px solid var(--card-border);
            border-top: 4px solid var(--primary);
        }
        
        .info-box h2, .form-box h2 { font-family: 'Montserrat', sans-serif; color: var(--secondary); margin-bottom: 20px; }
        
        /* Scrollable Reviews Section */
        .reviews-list { max-height: 400px; overflow-y: auto; padding-right: 15px; }
        .reviews-list::-webkit-scrollbar { width: 6px; }
        .reviews-list::-webkit-scrollbar-thumb { background: rgba(56, 178, 172, 0.5); border-radius: 4px; }
        
        .review-item { border-bottom: 1px solid var(--card-border); padding-bottom: 15px; margin-bottom: 15px; }
        .review-item:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
        .stars { color: var(--secondary); margin-bottom: 5px; font-size: 1em; }
        .review-text { color: var(--text-muted); font-size: 0.95em; line-height: 1.5; font-style: italic; }
        .reviewer { font-weight: 600; margin-top: 8px; color: var(--primary); font-size: 0.9em; }

        /* Form Styling */
        .form-box p { color: var(--text-muted); margin-bottom: 25px; line-height: 1.6; }
        .form-box input, .form-box textarea { 
            width: 100%; padding: 14px; margin-bottom: 15px; border-radius: 8px; 
            border: 1px solid rgba(56, 178, 172, 0.3); background: var(--input-bg); 
            color: var(--text-main); font-family: inherit; outline: none;
        }
        .form-box input:focus, .form-box textarea:focus { border-color: var(--primary); }
        .form-box button { width: 100%; background: var(--secondary); color: #111827; border: none; padding: 16px; border-radius: 8px; font-weight: bold; font-size: 1em; cursor: pointer; transition: 0.3s; }
        .form-box button:hover { transform: translateY(-2px); box-shadow: 0 5px 15px rgba(236, 201, 75, 0.3); }

        .success-msg { background: rgba(56, 178, 172, 0.1); border-left: 4px solid var(--primary); color: var(--primary); padding: 12px; margin-bottom: 20px; font-size: 0.9em; text-align: left; }

        @media (max-width: 850px) { 
            .container { grid-template-columns: 1fr; margin-top: 100px;} 
        }
    
/* ====== footer.html ====== */

    /* FOOTER COMPONENT STYLES */
    .mega-footer { background: var(--bg-footer); border-top: 1px solid var(--card-border); padding: 80px 5% 20px; font-size: 0.95em; }
    .footer-top { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 40px; margin-bottom: 60px; }
    .footer-brand { max-width: 450px; }
    
    /* Logo Colors Locked */
    .mega-footer .logo-container { display: flex; align-items: center; text-decoration: none; gap: 12px; height: 40px; }
    .mega-footer .logo-img { height: 100%; width: auto; object-fit: contain; display: block; }
    .mega-footer .logo-text { font-family: 'Montserrat', sans-serif; font-size: 1.6em; font-weight: 800; letter-spacing: 1px; display: flex; align-items: center; }
    .logo-text .virt { color: var(--text-main) !important; transition: 0.3s;} 
    .logo-text .uole { color: var(--primary) !important; } 
    
    .footer-brand p { color: var(--text-muted); line-height: 1.6; margin-top: 15px; }
    .footer-newsletter { background: var(--card-bg); border: 1px solid var(--card-border); padding: 30px; border-radius: 12px; flex: 1; max-width: 500px; }
    .footer-newsletter h3 { font-family: 'Montserrat', sans-serif; margin-bottom: 10px; font-size: 1.4em; }
    .footer-newsletter p { color: var(--text-muted); margin-bottom: 20px; font-size: 0.9em; line-height: 1.4; }
    .footer-newsletter form { display: flex; gap: 10px; align-items: stretch; }
    .footer-newsletter input { flex: 1; padding: 12px 15px; border-radius: 6px; border: 1px solid var(--card-border); background: var(--input-bg); color: var(--text-main); outline: none; }
    .footer-newsletter button { background: var(--primary); color: white; border: none; padding: 12px 20px; border-radius: 6px; font-weight: 600; cursor: pointer; transition: 0.3s; white-space: nowrap;}
    
    .footer-links-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 30px; margin-bottom: 40px; }
    .footer-col h4 { font-family: 'Montserrat', sans-serif; font-size: 1.2em; margin-bottom: 25px; color: var(--text-main); }
    .footer-col a, .footer-col p { display: block; color: var(--text-muted); text-decoration: none; margin-bottom: 15px; transition: 0.3s; line-height: 1.5;}
    .footer-col a:hover { color: var(--primary); }

    .footer-bottom { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--card-border); padding-top: 25px; flex-wrap: wrap; gap: 20px; color: var(--text-muted); font-size: 0.9em; }
    
    .social-circles { display: flex; gap: 12px; }
    .social-circles a { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: var(--card-bg); border: 1px solid var(--card-border); color: var(--text-muted); transition: 0.3s; }
    .social-circles a svg { width: 20px; height: 20px; fill: currentColor; }
    .social-circles a:hover { background: var(--primary); border-color: var(--primary); color: white; }
    
    .legal-links a { color: var(--text-muted); text-decoration: none; margin-left: 15px; transition: 0.3s; }
    .legal-links a:hover { color: var(--text-main); }

    /* FOOTER MOBILE FIXES (CENTERING) */
    @media (max-width: 850px) {
        .footer-newsletter form { flex-direction: column; }
        .footer-top { flex-direction: column; align-items: center; text-align: center; gap: 30px; }
        .footer-brand { align-items: center; text-align: center; display: flex; flex-direction: column; max-width: 100%; }
        .logo-container { justify-content: center; margin-bottom: 10px; }
        .footer-bottom { flex-direction: column; text-align: center; gap: 20px; align-items: center; }
        .social-circles { justify-content: center; }
        .legal-links { margin-top: 10px; }
        .legal-links a { margin: 0 10px; display: inline-block; }
        .footer-newsletter { width: 100%; box-sizing: border-box; }
    }
    
    /* Adjust Footer in Dashboards to avoid sidebar overlap */
    @media (min-width: 901px) {
        .dash-body .mega-footer {
            margin-left: 280px;
            width: calc(100% - 280px);
            padding: 50px 4% 20px;
            box-sizing: border-box;
        }
    }

/* ====== index.html ====== */

        @import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@600;800&family=Inter:wght@400;500;600;700&display=swap');
        
        /* LIGHT / DARK MODE CSS VARIABLES */
        :root {
            --bg-main: #030712;
            --bg-footer: #050b14;
            --nav-bg: rgba(3, 7, 18, 0.85);
            --text-main: #f9fafb;
            --text-muted: #9ca3af;
            --card-bg: rgba(17, 24, 39, 0.6);
            --card-border: rgba(255,255,255,0.05);
            --primary: #38b2ac;
            --primary-hover: #2c7a7b;
            --secondary: #ecc94b;
            --input-bg: #111827;
            --tab-bg: #111827;
            --tab-active: linear-gradient(135deg, #38b2ac, #2b6cb0);
        }

        .light-mode {
            --bg-main: #f8fafc;
            --bg-footer: #f1f5f9;
            --nav-bg: rgba(255, 255, 255, 0.95);
            --text-main: #0f172a;
            --text-muted: #475569;
            --card-bg: #ffffff;
            --card-border: rgba(0, 0, 0, 0.1);
            --primary: #0ea5e9;
            --primary-hover: #0284c7;
            --secondary: #d97706;
            --input-bg: #ffffff;
            --tab-bg: #f1f5f9;
            --tab-active: linear-gradient(135deg, #0ea5e9, #3b82f6);
        }

        *, *::before, *::after { box-sizing: border-box; }
        
        /* HORIZONTAL SCROLL FIX: Added width: 100% */
        html, body {
            width: 100%; max-width: 100vw; overflow-x: hidden; margin: 0; padding: 0;
            font-family: 'Inter', sans-serif; background: var(--bg-main); color: var(--text-main); 
            scroll-behavior: smooth; transition: background 0.4s ease, color 0.4s ease;
        }

        .glow-bg {
            position: absolute; width: 600px; height: 600px;
            background: radial-gradient(circle, rgba(56, 178, 172, 0.15) 0%, rgba(0,0,0,0) 70%);
            top: -200px; right: -100px; z-index: -1; pointer-events: none;
        }

        /* HERO */
        .hero { text-align: center; padding: 160px 20px 60px; position: relative; z-index: 1; }
        .hero-pill { background: rgba(56, 178, 172, 0.1); border: 1px solid var(--primary); color: var(--primary); padding: 6px 16px; border-radius: 50px; font-size: 0.85em; font-weight: 600; display: inline-block; margin-bottom: 20px; letter-spacing: 1px; }
        .hero h1 { font-family: 'Montserrat', sans-serif; font-size: 4.5em; margin: 0 0 24px 0; line-height: 1.1; letter-spacing: -1px; }
        .hero h1 span { color: var(--primary); }
        .hero p { font-size: 1.25em; color: var(--text-muted); max-width: 650px; margin: 0 auto 40px auto; line-height: 1.7; }
        
        .hero-buttons { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; margin-bottom: 40px; }
        .cta-btn { background: white; color: black; padding: 16px 40px; font-size: 1.1em; font-weight: 700; border-radius: 8px; text-decoration: none; transition: 0.3s; }
        .light-mode .cta-btn { background: var(--primary); color: white; }
        .verify-hero-btn { background: transparent; color: var(--text-main); border: 1px solid var(--card-border); padding: 16px 40px; font-size: 1.1em; font-weight: 600; border-radius: 8px; text-decoration: none; transition: 0.3s; display: flex; align-items: center; gap: 10px;}
        .verify-hero-btn:hover { background: var(--card-bg); }

        .hero-tags { display: flex; justify-content: center; gap: 30px; color: var(--text-muted); font-size: 0.9em; font-weight: 500; flex-wrap: wrap; }
        .hero-tags span { display: flex; align-items: center; gap: 5px; }
        .hero-tags span::before { content: "✓"; color: var(--primary); font-weight: bold; }

        /* ABOUT US */
        .about-section { max-width: 1000px; margin: 0 auto 80px; padding: 50px 20px; text-align: center; border-bottom: 1px solid var(--card-border); border-top: 1px solid var(--card-border);}
        .about-section h2 { font-family: 'Montserrat', sans-serif; font-size: 2.5em; margin-bottom: 20px; }
        .about-section h2 span { color: var(--primary); }
        .about-section p { color: var(--text-muted); font-size: 1.15em; line-height: 1.7; max-width: 800px; margin: auto; }

        /* WHY CHOOSE VIRTUOLE */
        .why-choose { max-width: 1200px; margin: 0 auto 80px; padding: 0 20px; text-align: center; }
        .why-choose h2 { font-family: 'Montserrat', sans-serif; font-size: 2.8em; margin-bottom: 10px; }
        .why-choose h2 span { color: var(--primary); font-style: italic; }
        .why-choose > p { color: var(--text-muted); margin-bottom: 50px; font-size: 1.1em; }
        .benefits-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 25px; }
        .benefit-card { background: var(--card-bg); border: 1px solid var(--card-border); padding: 35px 25px; border-radius: 12px; transition: 0.3s; text-align: left; }
        .benefit-card:hover { transform: translateY(-5px); border-color: var(--primary); }
        .icon-box { display: inline-flex; align-items: center; justify-content: center; width: 50px; height: 50px; border-radius: 12px; margin-bottom: 20px; font-size: 1.5em; }
        .bg-orange { background: linear-gradient(135deg, #f59e0b, #ea580c); color: white; }
        .bg-blue { background: linear-gradient(135deg, #3b82f6, #2563eb); color: white; }
        .bg-green { background: linear-gradient(135deg, #10b981, #059669); color: white; }
        .bg-purple { background: linear-gradient(135deg, #8b5cf6, #6366f1); color: white; }
        .benefit-card h3 { font-family: 'Montserrat', sans-serif; font-size: 1.3em; margin-bottom: 12px; color: var(--text-main); }
        .benefit-card p { color: var(--text-muted); font-size: 0.95em; line-height: 1.6; }

        /* INTERNSHIP JOURNEY TABS */
        .journey-section { padding: 80px 20px; max-width: 1200px; margin: auto; text-align: center; }
        .journey-section h2 { font-family: 'Montserrat', sans-serif; font-size: 2.8em; margin-bottom: 15px; text-transform: uppercase; letter-spacing: 1px;}
        .journey-section h2 span { color: var(--primary); font-family: 'Times New Roman', serif; font-style: italic; text-transform: none; letter-spacing: 0;}
        .journey-section > p { color: var(--text-muted); max-width: 700px; margin: 0 auto 40px auto; font-size: 1.1em; line-height: 1.6; }
        
        .tabs-container { display: flex; gap: 15px; overflow-x: auto; padding-bottom: 15px; justify-content: flex-start; scrollbar-width: none; }
        .tabs-container::-webkit-scrollbar { display: none; }
        @media (min-width: 1000px) { .tabs-container { justify-content: center; } }
        
        .tabs-container .tab { background: var(--tab-bg); border: 1px solid var(--card-border); padding: 20px 25px; border-radius: 12px; min-width: 130px; cursor: pointer; transition: 0.3s; color: var(--text-muted); font-weight: 600; display: flex; flex-direction: column; align-items: center; gap: 10px; }
        .tabs-container .tab span { font-size: 0.8em; opacity: 0.6; }
        .tabs-container .tab:hover { border-color: var(--primary); color: var(--text-main); }
        .tabs-container .tab.active { background: var(--tab-active); color: white; border-color: transparent; transform: scale(1.05); box-shadow: 0 10px 20px rgba(56, 178, 172, 0.3); }

        .tab-content-box { background: var(--card-bg); border: 1px solid var(--card-border); border-radius: 16px; padding: 40px; margin-top: 30px; text-align: left; display: none; animation: fadeIn 0.4s ease; }
        .tab-content-box.active { display: block; }
        .tab-content-box h4 { color: var(--primary); font-size: 0.9em; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 15px; }
        .tab-content-box h3 { font-family: 'Montserrat', sans-serif; font-size: 1.8em; margin-bottom: 20px; color: var(--text-main); }
        .tab-content-box p { color: var(--text-muted); line-height: 1.7; font-size: 1.05em; }

        @keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

        /* PROGRAMS GRID */
        .domains { padding: 80px 20px; text-align: center; }
        .domains h2 { font-family: 'Montserrat', sans-serif; font-size: 3em; margin-bottom: 50px; }
        .grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 30px; max-width: 1200px; margin: 0 auto; }
        .card { background: var(--card-bg); backdrop-filter: blur(10px); padding: 40px 30px; border-radius: 16px; text-align: left; border: 1px solid var(--card-border); border-top: 4px solid var(--primary); transition: 0.4s; display: flex; flex-direction: column; }
        .card:hover { transform: translateY(-10px); box-shadow: 0 20px 40px rgba(0,0,0,0.4); }
        .card h3 { font-family: 'Montserrat', sans-serif; font-size: 1.5em; margin: 0 0 15px 0; }
        .card p { color: var(--text-muted); line-height: 1.6; margin-bottom: 30px; }
        .enroll-btn { background: transparent; color: var(--primary); font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: 5px; margin-top: auto; transition: 0.3s; }
        .enroll-btn:hover { color: var(--text-main); gap: 10px; }
        .hidden-program { display: none !important; }
        .show-more-btn { margin-top: 40px; background: transparent; border: 2px solid var(--primary); color: var(--primary); padding: 12px 35px; border-radius: 50px; cursor: pointer; font-weight: 600; font-size: 1.1em; transition: 0.3s; }
        .show-more-btn:hover { background: var(--primary); color: white; }

        /* INFINITE AUTO-MOVING SLIDER (Full Width Fix) */
        .infinite-slider-section { padding: 80px 0; background: var(--bg-footer); overflow: hidden; width: 100%; border-top: 1px solid var(--card-border); border-bottom: 1px solid var(--card-border);}
        .infinite-slider-section h2 { text-align: center; font-family: 'Montserrat', sans-serif; font-size: 2.5em; margin-bottom: 40px; }
        .slider-track { display: flex; width: calc(350px * 14); animation: scroll 40s linear infinite; }
        .slider-track:hover { animation-play-state: paused; }
        @keyframes scroll { 0% { transform: translateX(0); } 100% { transform: translateX(calc(-350px * 7)); } }
        .slide-card { width: 320px; background: var(--card-bg); padding: 25px; border-radius: 12px; border: 1px solid var(--card-border); margin: 0 15px; flex-shrink: 0; display: flex; flex-direction: column; justify-content: space-between;}
        .slide-stars { color: var(--secondary); margin-bottom: 10px; font-size: 1.2em; }
        .slide-text { color: var(--text-muted); line-height: 1.5; font-style: italic; margin-bottom: 15px; font-size: 0.95em;}
        .slide-author { font-weight: bold; color: var(--primary); }

        /* AMBASSADOR BANNER */
        .ambassador-banner { padding: 100px 20px; text-align: center; max-width: 1000px; margin: 0 auto; }
        .ambassador-banner h2 { font-family: 'Montserrat', sans-serif; font-size: 2.8em; margin-bottom: 20px; }
        .ambassador-banner p { color: var(--text-muted); margin: 0 auto 30px auto; font-size: 1.1em; line-height: 1.6; }
        .perks-list { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; margin-bottom: 40px; }
        .perk { background: rgba(56, 178, 172, 0.1); border: 1px solid rgba(56, 178, 172, 0.2); padding: 10px 20px; border-radius: 50px; color: var(--primary); font-weight: 600; font-size: 0.9em; }

        /* BOTTOM CTA (Full Width Fix) */
        .bottom-cta {
            position: relative; padding: 120px 20px; text-align: center; 
            background: #030712; overflow: hidden; 
            border-top: 1px solid var(--card-border); width: 100%;
        }
        .light-mode .bottom-cta { background: #0f172a; } 
        
        .animated-grid-bg {
            position: absolute; top: 0; left: 0; width: 200%; height: 200%;
            background-image: linear-gradient(rgba(56, 178, 172, 0.1) 1px, transparent 1px),
            linear-gradient(90deg, rgba(56, 178, 172, 0.1) 1px, transparent 1px);
            background-size: 40px 40px;
            animation: panGrid 20s linear infinite;
            z-index: 0; opacity: 0.6;
        }
        @keyframes panGrid { 0% { transform: translate(0, 0); } 100% { transform: translate(-40px, -40px); } }

        .bottom-cta-content { position: relative; z-index: 1; max-width: 800px; margin: auto; }
        .bottom-cta-pill { background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2); color: #fff; padding: 6px 16px; border-radius: 50px; font-size: 0.85em; font-weight: 600; display: inline-block; margin-bottom: 25px; letter-spacing: 1px; }
        .bottom-cta h2 { font-family: 'Montserrat', sans-serif; font-size: 4em; margin-bottom: 25px; color: #fff; line-height: 1.1; letter-spacing: -1px;}
        .bottom-cta h2 span { color: var(--primary); }
        .bottom-cta p { color: #9ca3af; font-size: 1.2em; margin-bottom: 40px; line-height: 1.6; }
        
        .bottom-tags { display: flex; justify-content: center; gap: 30px; color: #6b7280; font-size: 0.95em; font-weight: 600; flex-wrap: wrap; margin-top: 50px;}
        .bottom-tags span { display: flex; align-items: center; gap: 8px; }
        .bottom-tags span::before { content: "✓"; color: var(--primary); font-weight: bold; border: 1px solid var(--primary); border-radius: 50%; width: 18px; height: 18px; display: inline-flex; align-items: center; justify-content: center; font-size: 10px;}

        /* PAGE-SPECIFIC MOBILE RESIZING FIXES */
        @media (max-width: 850px) {
            /* Shrink massive text */
            .hero h1 { font-size: 2.2em; }
            .bottom-cta h2 { font-size: 2.2em; }
            .about-section h2, .why-choose h2, .journey-section h2 { font-size: 2em; }
            .domains h2 { font-size: 2em !important; }

            /* Override the 320px minimum width on cards so they shrink to the phone screen */
            .grid { grid-template-columns: 1fr; gap: 20px; }
            .benefit-card { margin: 0 10px; }

            /* Stack the Hero buttons vertically so they don't break the layout */
            .hero-buttons { flex-direction: column; width: 100%; padding: 0 10px; }
            .hero-buttons .au-btn, .hero-buttons .au-btn-ghost { width: 100%; justify-content: center; text-align: center; }
        }

        /* ========================================= */
        /* FINAL MOBILE HORIZONTAL SCROLL FIX        */
        /* ========================================= */

        /* 1. Lock the body so it physically cannot scroll sideways */
        html, body {
            overflow-x: hidden !important;
            width: 100vw !important;
            max-width: 100% !important;
            position: relative;
        }

        /* 2. Stop the background glow from pushing past the screen edge */
        .glow-bg {
            right: 0 !important;
            max-width: 100vw !important;
        }

        /* 3. Ensure full width sections don't break boundaries */
        @media (max-width: 850px) {
            .infinite-slider-section, .bottom-cta {
                width: 100% !important;
                margin-left: 0 !important;
                box-sizing: border-box !important;
            }
        }
    
/* ====== login.html ====== */

        @import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@600;800&family=Inter:wght@400;500;600&display=swap');
        
        /* Global Variables for Consistency (aligned with index.html so the
           shared navbar/footer render correctly and the theme toggle works) */
        :root {
            --bg-main: #030712;
            --bg-footer: #050b14;
            --nav-bg: rgba(3, 7, 18, 0.85);
            --text-main: #f9fafb;
            --text-muted: #9ca3af;
            --card-bg: rgba(17, 24, 39, 0.6);
            --card-border: rgba(255,255,255,0.05);
            --primary: #38b2ac;
            --primary-hover: #2c7a7b;
            --secondary: #ecc94b;
            --input-bg: rgba(255, 255, 255, 0.03);
            --input-border: rgba(255, 255, 255, 0.1);
        }

        .light-mode {
            --bg-main: #f8fafc;
            --bg-footer: #f1f5f9;
            --nav-bg: rgba(255, 255, 255, 0.95);
            --text-main: #0f172a;
            --text-muted: #475569;
            --card-bg: #ffffff;
            --card-border: rgba(0, 0, 0, 0.1);
            --primary: #0ea5e9;
            --primary-hover: #0284c7;
            --secondary: #d97706;
            --input-bg: #ffffff;
            --input-border: rgba(0, 0, 0, 0.12);
        }

        /* * FIX: ADDED BODY LOCKS (!important)
         * This physically prevents the mobile browser from scrolling sideways
         */
        html, body { 
            font-family: 'Inter', sans-serif; 
            background: var(--bg-main); 
            color: var(--text-main); 
            margin: 0; 
            padding: 0; 
            min-height: 100vh;
            display: flex;
            flex-direction: column;
            overflow-x: hidden !important;
            width: 100vw !important;
            max-width: 100% !important;
            position: relative;
        }

        .glow-bg {
            position: absolute; width: 600px; height: 600px;
            background: radial-gradient(circle, rgba(56, 178, 172, 0.15) 0%, rgba(0,0,0,0) 70%);
            top: 10%; left: 50%; transform: translateX(-50%); z-index: -1; pointer-events: none;
            max-width: 100vw !important;
            right: 0 !important;
        }

        /* Boxless Layout */
        .auth-wrapper { 
            flex: 1;
            width: 100%; 
            max-width: 420px; 
            margin: 140px auto 80px; 
            padding: 0 20px;
            box-sizing: border-box; 
            display: flex;
            flex-direction: column;
            justify-content: center;
        }
        
        /* Professional Header */
        .auth-header { text-align: center; margin-bottom: 40px; }
        .auth-header h1 { font-family: 'Montserrat', sans-serif; font-size: 2.2em; margin: 0 0 10px 0; color: var(--text-main); letter-spacing: -0.5px;}
        .auth-header p { color: var(--text-muted); margin: 0; font-size: 1.05em; line-height: 1.5; }

        /* Sleek Tabs */
        .tabs { display: flex; margin-bottom: 35px; border-bottom: 1px solid var(--input-border); }
        .tabs .tab { flex: 1; padding: 15px 5px; text-align: center; cursor: pointer; color: var(--text-muted); font-weight: 600; transition: 0.3s; font-size: 0.95em; position: relative;}
        .tabs .tab:hover { color: var(--text-main); }
        .tabs .tab.active { color: var(--primary); }
        .tabs .tab.active::after { content: ''; position: absolute; bottom: -1px; left: 0; width: 100%; height: 2px; background: var(--primary); }

        /* Minimalist Form Elements */
        .form-group { margin-bottom: 25px; text-align: left; position: relative; }
        label { display: block; color: var(--text-muted); font-size: 0.85em; margin-bottom: 8px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.5px;}
        
        input { 
            width: 100%; padding: 16px; border-radius: 8px; border: 1px solid var(--input-border); 
            background: var(--input-bg); color: var(--text-main); box-sizing: border-box; 
            font-family: inherit; font-size: 1em; transition: 0.3s;
        }
        input:focus { outline: none; border-color: var(--primary); background: rgba(255, 255, 255, 0.06); }
        
        .password-wrapper { position: relative; }
        .toggle-password { position: absolute; right: 15px; top: 16px; cursor: pointer; font-size: 1.1em; user-select: none; opacity: 0.5; transition: 0.2s; }
        .toggle-password:hover { opacity: 1; }
        
        /* Professional Button */
        .submit-btn { 
            background: var(--text-main); color: var(--bg-main); font-weight: 700; font-size: 1.05em; 
            padding: 16px; width: 100%; border: none; border-radius: 8px; cursor: pointer; 
            margin: 15px 0; display: block; transition: all 0.3s ease; 
        }
        .submit-btn:hover { background: var(--primary); color: white; transform: translateY(-2px); box-shadow: 0 8px 20px rgba(56, 178, 172, 0.25); }

        .alert-error { background: rgba(245, 101, 101, 0.1); border-left: 3px solid #f56565; color: #f56565; padding: 14px; margin-bottom: 25px; font-size: 0.9em; border-radius: 0 4px 4px 0;}
        .alert-success { background: rgba(56, 178, 172, 0.1); border-left: 3px solid var(--primary); color: var(--primary); padding: 14px; margin-bottom: 25px; font-size: 0.9em; border-radius: 0 4px 4px 0;}
        
        .hidden { display: none !important; }
        
        .forgot-link { display: inline-block; margin-bottom: 20px; color: var(--text-muted); font-size: 0.85em; text-decoration: none; font-weight: 500; transition: 0.3s;}
        .forgot-link:hover { color: var(--primary); }
        
        .back-link { display: block; text-align: center; margin-top: 15px; color: var(--text-muted); font-size: 0.9em; text-decoration: none; transition: 0.3s;}
        .back-link:hover { color: var(--text-main); }
    
/* ====== navbar.html ====== */

    nav { 
        display: flex; justify-content: space-between; align-items: center; 
        padding: 15px 5%; background: var(--nav-bg); 
        backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
        position: fixed; top: 0; left: 0; width: 100%; z-index: 1000; 
        border-bottom: 1px solid var(--card-border); transition: 0.4s ease;
        box-sizing: border-box !important; 
    }
    .logo-container { display: flex; align-items: center; text-decoration: none; gap: 12px; height: 40px; }
    .logo-img { height: 100%; width: auto; object-fit: contain; display: block; }
    .logo-text { font-family: 'Montserrat', sans-serif; font-size: 1.6em; font-weight: 800; letter-spacing: 1px; display: flex; align-items: center; }
    
    /* Logo Colors Locked */
    .logo-text .virt { color: var(--text-main) !important; transition: 0.3s;} 
    .logo-text .uole { color: var(--primary) !important; } 

    .nav-center { display: flex; gap: 10px; align-items: center; }
    
    /* Stronger Hover and Active Highlights */
    .nav-link { color: var(--text-muted); text-decoration: none; font-weight: 500; font-size: 0.95em; padding: 8px 16px; border-radius: 20px; transition: 0.3s; cursor: pointer;}
    .nav-link:hover { color: var(--text-main); background-color: rgba(255, 255, 255, 0.1) !important; }
    .nav-link.active { background-color: rgba(56, 178, 172, 0.15) !important; color: var(--primary) !important; font-weight: 600; }
    
    .dropdown { position: relative; display: inline-block; }
    .dropdown-content {
        display: none; position: absolute; top: 100%; left: 0;
        background-color: rgba(8, 12, 20, 0.98); min-width: 200px;
        box-shadow: 0 10px 25px rgba(0,0,0,0.8); border-radius: 8px;
        overflow: hidden; z-index: 1001; border: 1px solid rgba(255,255,255,0.1); backdrop-filter: blur(10px);
    }
    .light-mode .dropdown-content { background-color: rgba(241, 245, 249, 0.98); border-color: rgba(0,0,0,0.1); }
    .dropdown-content a { color: var(--text-main); padding: 12px 16px; display: block; font-size: 0.9em; border-bottom: 1px solid var(--card-border); border-radius: 0; text-decoration: none; transition: 0.2s;}
    .dropdown-content a:hover { background-color: var(--primary); color: white; padding-left: 20px; }
    .dropdown:hover .dropdown-content { display: block; }
    
    .nav-right { display: flex; align-items: center; gap: 20px; }
    .theme-switch-wrapper { display: flex; align-items: center; gap: 8px; }
    .theme-switch { position: relative; display: inline-block; width: 48px; height: 26px; }
    .theme-switch input { opacity: 0; width: 0; height: 0; }
    .slider { position: absolute; cursor: pointer; top: 0; left: 0; right: 0; bottom: 0; background-color: var(--card-bg); transition: .4s; border-radius: 34px; border: 1px solid var(--card-border); }
    .slider:before { position: absolute; content: "☀️"; font-size: 12px; display: flex; align-items: center; justify-content: center; height: 20px; width: 20px; left: 2px; bottom: 2px; background-color: #fff; transition: .4s; border-radius: 50%; color: #f59e0b;}
    .light-mode .slider:before { content: "🌙"; color: #475569; }
    input:checked + .slider { background-color: var(--primary); }
    input:checked + .slider:before { transform: translateX(22px); }
    
    .login-btn { background: #ffffff; color: #000000 !important; padding: 10px 24px; border-radius: 50px; font-weight: 700; text-decoration: none; transition: 0.3s; }
    .light-mode .login-btn { background: var(--primary); color: white !important; }
    .login-btn:hover { transform: translateY(-2px); box-shadow: 0 5px 15px rgba(255, 255, 255, 0.2); }
    
    /* White Back Button */
    .back-btn { background-color: white !important; color: black !important; padding: 8px 16px; border-radius: 20px; text-decoration: none; font-weight: 600; margin-right: 15px; }
    
    .hamburger { display: none; font-size: 1.8em; color: var(--text-main); cursor: pointer; }
    
    /* Visibility Classes */
    .mobile-only { display: none !important; }
    .desktop-only { display: flex; }
    .back-btn.desktop-only { display: inline-flex; }

    @media (max-width: 850px) {
        .nav-center {
            position: fixed !important; top: 70px; right: -100%; flex-direction: column; background: var(--nav-bg);
            width: 65% !important; height: 100vh; padding: 40px 24px; gap: 20px; z-index: 1001; transition: right 0.3s ease !important;
            align-items: flex-start; box-sizing: border-box !important;
        }
        .nav-center.active { right: 0 !important; }
        .hamburger { display: block; }
        
        /* Hide Desktop Elements */
        .desktop-only { display: none !important; }
        
        /* Show Mobile Elements */
        .mobile-only { display: flex !important; }
        
        /* Mobile Back Button Styling */
        a.back-btn.mobile-only {
            display: block !important; width: 100%; text-align: center;
            margin: 0 0 10px 0; padding: 12px; border-radius: 50px; box-sizing: border-box !important;
        }

        .mobile-login-btn { 
            display: inline-block !important; width: 100%; text-align: center; 
            margin-top: 10px; background: var(--primary); color: #fff !important;
            box-sizing: border-box !important;
        }

        /* Mobile Theme Toggle Row */
        .mobile-theme-row {
            width: 100%; justify-content: space-between; align-items: center; margin-top: 15px;
            padding-top: 20px; border-top: 1px solid var(--card-border); color: var(--text-main); font-weight: 600;
        }
    }

/* ====== offer.html ====== */

        *, *::before, *::after { box-sizing: border-box; }
        html, body { max-width: 100vw; overflow-x: hidden; margin: 0; padding: 0;
            font-family: 'Inter', sans-serif; color: var(--text-main); }

        .page-shell { max-width: 760px; margin: 0 auto; padding: 120px 5% 80px; }
        .page-head { text-align: center; max-width: 640px; margin: 0 auto 40px; }
        .page-head h1 { font-family: 'Space Grotesk','Montserrat',sans-serif; font-size: clamp(2em, 6vw, 3em); margin: 18px 0 14px; letter-spacing: -0.5px; }
        .page-head p { color: var(--text-muted); font-size: 1.06em; line-height: 1.7; }

        .lookup-card { padding: 38px 32px; text-align: center; }
        .lookup-form { display: flex; flex-direction: column; gap: 18px; }
        .field-label { font-size: 0.78em; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--text-muted); margin-bottom: 8px; }
        .lookup-form input {
            width: 100%; padding: 15px 18px; border-radius: var(--au-radius-sm);
            border: 1px solid var(--input-border); background: var(--input-bg);
            color: var(--text-main); font-size: 1.05em; font-family: 'Inter', sans-serif;
            outline: none; letter-spacing: 1px; transition: border-color .3s var(--au-ease), box-shadow .3s var(--au-ease);
        }
        .lookup-form input::placeholder { color: var(--text-muted); opacity: .7; letter-spacing: normal; }
        .lookup-form input:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(45,212,191,.16); }
        .lookup-form .au-btn { width: 100%; margin-top: 4px; }

        .doc-icon { width: 58px; height: 58px; color: var(--primary); margin-bottom: 16px; }

        .error-card { padding: 26px 28px; border-left: 4px solid #ef4444; text-align: left; }
        .error-card h3 { margin: 0 0 8px; font-family: 'Space Grotesk','Montserrat',sans-serif; font-size: 1.15em; color: #f87171; }
        .error-card p { margin: 0; color: var(--text-muted); line-height: 1.6; font-size: .96em; }

        .cta-row { text-align: center; margin-top: 34px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

        @media (max-width: 520px) {
            .lookup-card { padding-left: 22px; padding-right: 22px; }
        }
    
/* ====== privacy.html ====== */

        *, *::before, *::after { box-sizing: border-box; }
        html, body { max-width: 100vw; overflow-x: hidden; margin: 0; padding: 0;
            font-family: 'Inter', sans-serif; color: var(--text-main); }

        .page-shell { max-width: 900px; margin: 0 auto; padding: 120px 5% 80px; }
        .page-head { text-align: center; max-width: 680px; margin: 0 auto 44px; }
        .page-head h1 { font-family: 'Space Grotesk','Montserrat',sans-serif; font-size: clamp(2em, 6vw, 3em); margin: 18px 0 14px; letter-spacing: -0.5px; }
        .page-head p { color: var(--text-muted); font-size: 1.08em; line-height: 1.7; }
        .updated { display: inline-block; margin-top: 14px; font-size: 0.82em; letter-spacing: 1px; text-transform: uppercase; color: var(--text-muted); }

        .legal-card { padding: 34px 30px; }
        .legal-card + .legal-card { margin-top: 22px; }
        .legal-card h2 { font-family: 'Space Grotesk','Montserrat',sans-serif; font-size: clamp(1.25em, 3.5vw, 1.5em); margin: 0 0 16px; letter-spacing: -0.3px; }
        .legal-card h2 .au-grad { }
        .legal-card p, .legal-card li { color: var(--text-muted); line-height: 1.7; font-size: 1em; }
        .legal-card p { margin: 0 0 15px; }
        .legal-card p:last-child { margin-bottom: 0; }
        .legal-card ul { margin: 0 0 6px; padding-left: 22px; }
        .legal-card li { margin-bottom: 12px; }
        .legal-card strong { color: var(--text-main); font-weight: 600; }

        .footer-note { margin-top: 40px; font-size: 0.85em; color: var(--text-muted); text-align: center; }

        .cta-row { text-align: center; margin-top: 40px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
    
/* ====== refund.html ====== */

        *, *::before, *::after { box-sizing: border-box; }
        html, body { max-width: 100vw; overflow-x: hidden; margin: 0; padding: 0;
            font-family: 'Inter', sans-serif; color: var(--text-main); }

        .page-shell { max-width: 900px; margin: 0 auto; padding: 120px 5% 80px; }
        .page-head { text-align: center; max-width: 680px; margin: 0 auto 44px; }
        .page-head h1 { font-family: 'Space Grotesk','Montserrat',sans-serif; font-size: clamp(2em, 6vw, 3em); margin: 18px 0 14px; letter-spacing: -0.5px; }
        .page-head p { color: var(--text-muted); font-size: 1.08em; line-height: 1.7; }
        .updated { display: inline-block; margin-top: 14px; font-size: 0.82em; letter-spacing: 1px; text-transform: uppercase; color: var(--text-muted); }

        .legal-card { padding: 34px 30px; }
        .legal-card + .legal-card { margin-top: 22px; }
        .legal-card h2 { font-family: 'Space Grotesk','Montserrat',sans-serif; font-size: clamp(1.25em, 3.5vw, 1.5em); margin: 0 0 16px; letter-spacing: -0.3px; }
        .legal-card p, .legal-card li { color: var(--text-muted); line-height: 1.7; font-size: 1em; }
        .legal-card p { margin: 0 0 15px; }
        .legal-card p:last-child { margin-bottom: 0; }
        .legal-card ul { margin: 0 0 6px; padding-left: 22px; }
        .legal-card li { margin-bottom: 12px; }
        .legal-card strong { color: var(--text-main); font-weight: 600; }

        .footer-note { margin-top: 40px; font-size: 0.85em; color: var(--text-muted); text-align: center; }

        .cta-row { text-align: center; margin-top: 40px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
    
/* ====== reset_password.html ====== */

        *, *::before, *::after { box-sizing: border-box; }
        html, body { max-width: 100vw; overflow-x: hidden; margin: 0; padding: 0;
            font-family: 'Inter', sans-serif; color: var(--text-main); }

        .auth-shell { min-height: 100vh; display: flex; align-items: center; justify-content: center;
            padding: 110px 20px 60px; }
        .auth-container { width: 100%; max-width: 440px; padding: 42px 34px; text-align: center; }

        .auth-logo { font-family: 'Space Grotesk','Montserrat',sans-serif; font-size: 2em; font-weight: 800;
            letter-spacing: 2px; margin-bottom: 8px; }
        .auth-logo .virt { color: var(--text-main); }
        .auth-logo .uole { color: var(--primary); }
        p.subtitle { color: var(--text-muted); font-size: 0.96em; margin-bottom: 28px; }

        .form-group { margin-bottom: 18px; text-align: left; }
        label { display: block; color: var(--text-muted); font-size: 0.88em; margin-bottom: 8px; font-weight: 600; }
        input { width: 100%; padding: 13px 14px; border-radius: 10px; border: 1px solid var(--input-border);
            background: var(--input-bg); color: var(--text-main); font-family: 'Inter', sans-serif; transition: 0.25s; }
        input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(45,212,191,0.18); }

        .password-wrapper { position: relative; }
        .toggle-password { position: absolute; right: 12px; top: 12px; cursor: pointer; font-size: 1.1em;
            user-select: none; opacity: 0.7; transition: 0.2s; }
        .toggle-password:hover { opacity: 1; }

        .submit-btn { width: 100%; margin-top: 8px; }

        .alert-error { background: rgba(245, 101, 101, 0.12); border-left: 4px solid #f56565; color: #f87171;
            padding: 12px 14px; margin-bottom: 20px; font-size: 0.9em; text-align: left; border-radius: 8px; display: none; }

        {% if error %}
        .alert-error.server { display: block; }
        {% endif %}
    
/* ====== terms.html ====== */

        *, *::before, *::after { box-sizing: border-box; }
        html, body { max-width: 100vw; overflow-x: hidden; margin: 0; padding: 0;
            font-family: 'Inter', sans-serif; color: var(--text-main); }

        .page-shell { max-width: 900px; margin: 0 auto; padding: 120px 5% 80px; }
        .page-head { text-align: center; max-width: 680px; margin: 0 auto 44px; }
        .page-head h1 { font-family: 'Space Grotesk','Montserrat',sans-serif; font-size: clamp(2em, 6vw, 3em); margin: 18px 0 14px; letter-spacing: -0.5px; }
        .page-head p { color: var(--text-muted); font-size: 1.08em; line-height: 1.7; }
        .updated { display: inline-block; margin-top: 14px; font-size: 0.82em; letter-spacing: 1px; text-transform: uppercase; color: var(--text-muted); }

        .legal-card { padding: 34px 30px; }
        .legal-card + .legal-card { margin-top: 22px; }
        .legal-card h2 { font-family: 'Space Grotesk','Montserrat',sans-serif; font-size: clamp(1.25em, 3.5vw, 1.5em); margin: 0 0 16px; letter-spacing: -0.3px; }
        .legal-card p, .legal-card li { color: var(--text-muted); line-height: 1.7; font-size: 1em; }
        .legal-card p { margin: 0 0 15px; }
        .legal-card p:last-child { margin-bottom: 0; }
        .legal-card ul { margin: 0 0 6px; padding-left: 22px; }
        .legal-card li { margin-bottom: 12px; }
        .legal-card strong { color: var(--text-main); font-weight: 600; }

        .footer-note { margin-top: 40px; font-size: 0.85em; color: var(--text-muted); text-align: center; }

        .cta-row { text-align: center; margin-top: 40px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
    
/* ====== verify.html ====== */

        *, *::before, *::after { box-sizing: border-box; }
        html, body { max-width: 100vw; overflow-x: hidden; margin: 0; padding: 0;
            font-family: 'Inter', sans-serif; color: var(--text-main); }

        .page-shell { max-width: 760px; margin: 0 auto; padding: 120px 5% 80px; }
        .page-head { text-align: center; max-width: 640px; margin: 0 auto 40px; }
        .page-head h1 { font-family: 'Space Grotesk','Montserrat',sans-serif; font-size: clamp(2em, 6vw, 3em); margin: 18px 0 14px; letter-spacing: -0.5px; }
        .page-head p { color: var(--text-muted); font-size: 1.06em; line-height: 1.7; }

        /* Lookup form card */
        .lookup-card { padding: 38px 32px; }
        .lookup-form { display: flex; flex-direction: column; gap: 18px; }
        .field-label { font-size: 0.78em; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--text-muted); margin-bottom: 8px; }
        .lookup-form input {
            width: 100%; padding: 15px 18px; border-radius: var(--au-radius-sm);
            border: 1px solid var(--input-border); background: var(--input-bg);
            color: var(--text-main); font-size: 1.05em; font-family: 'Inter', sans-serif;
            outline: none; letter-spacing: 1px; transition: border-color .3s var(--au-ease), box-shadow .3s var(--au-ease);
        }
        .lookup-form input::placeholder { color: var(--text-muted); opacity: .7; letter-spacing: normal; }
        .lookup-form input:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(45,212,191,.16); }
        .lookup-form .au-btn { width: 100%; margin-top: 4px; }

        .shield-icon { width: 58px; height: 58px; color: var(--primary); }

        /* Error card */
        .error-card { padding: 26px 28px; border-left: 4px solid #ef4444; text-align: left; }
        .error-card h3 { margin: 0 0 8px; font-family: 'Space Grotesk','Montserrat',sans-serif; font-size: 1.15em; color: #f87171; }
        .error-card p { margin: 0; color: var(--text-muted); line-height: 1.6; font-size: .96em; }

        /* Verified credential card */
        .cred-card { padding: 0; overflow: hidden; }
        .cred-top { padding: 34px 34px 26px; text-align: center; border-bottom: 1px solid var(--card-border); background: var(--au-grad-soft); }
        .verified-badge { display: inline-flex; align-items: center; gap: 8px; padding: 8px 18px; border-radius: 50px;
            background: rgba(16,185,129,.14); color: #10b981; border: 1px solid rgba(16,185,129,.4);
            font-weight: 700; font-size: .8em; letter-spacing: 1.2px; margin-bottom: 18px; }
        .cred-name { font-family: 'Space Grotesk','Montserrat',sans-serif; font-size: clamp(1.5em, 5vw, 2em); margin: 0 0 6px; letter-spacing: -0.5px; }
        .cred-program { color: var(--text-muted); font-size: 1.02em; }
        .cred-program .track { color: var(--primary); font-weight: 600; }

        .cred-body { padding: 30px 34px 34px; }
        .score-block { text-align: center; margin-bottom: 28px; }
        .score-big { font-family: 'Space Grotesk','Montserrat',sans-serif; font-weight: 800; font-size: clamp(3em, 12vw, 4.4em); line-height: 1; }
        .score-label { font-size: 0.78em; font-weight: 700; letter-spacing: 1.4px; text-transform: uppercase; color: var(--text-muted); margin-top: 6px; }

        .meta-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px;
            padding-top: 24px; border-top: 1px solid var(--card-border); }
        .meta-item .m-label { font-size: 0.74em; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--text-muted); margin-bottom: 6px; }
        .meta-item .m-value { font-size: 1.02em; color: var(--text-main); font-weight: 500; }
        .meta-item .m-value.mono { font-family: 'Space Grotesk', monospace; color: var(--primary); letter-spacing: .5px; }

        .cta-row { text-align: center; margin-top: 34px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

        @media (max-width: 520px) {
            .lookup-card, .cred-body { padding-left: 22px; padding-right: 22px; }
            .cred-top { padding-left: 22px; padding-right: 22px; }
        }

/* =====================================================================
   COMPREHENSIVE MOBILE RESPONSIVENESS OVERHAUL
   All rules below are ADDITIVE — no existing rules above are modified.
   Breakpoints: 850px (tablet), 600px (phone), 480px (small phone)
===================================================================== */

/* ==========================
   1. GLOBAL NAVBAR MOBILE
   ========================== */

/* Fix nav-center mobile panel for proper scrolling & better UX */
@media (max-width: 850px) {
    /* Shrink logo text on phones so it doesn't fight the hamburger */
    nav .logo-text { font-size: 1.3em; }

    /* Make mobile nav panel scrollable with momentum */
    .nav-center {
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border-left: 1px solid var(--card-border);
        box-shadow: -20px 0 60px -20px rgba(4,8,20,.8);
    }

    /* Dropdowns should expand inline in mobile menu (no absolute positioning) */
    .nav-center .dropdown { display: block; width: 100%; }
    .nav-center .dropdown-content {
        display: none;
        position: static;
        box-shadow: none;
        border: none;
        border-radius: 0;
        background: rgba(255,255,255,0.04);
        min-width: 0;
        width: 100%;
        padding-left: 16px;
        backdrop-filter: none;
    }
    .light-mode .nav-center .dropdown-content {
        background: rgba(0,0,0,0.03);
    }
    .nav-center .dropdown-content a {
        padding: 11px 16px;
        font-size: 0.92em;
        border-bottom-color: rgba(255,255,255,0.04);
    }
    /* On mobile, tapping the dropdown trigger toggles it */
    .nav-center .dropdown.open .dropdown-content { display: block; }

    /* Make nav links full-width tappable rows */
    .nav-center .nav-link {
        display: block;
        width: 100%;
        padding: 13px 16px;
        border-radius: 12px;
        font-size: 1em;
        box-sizing: border-box;
    }

    /* Back button within mobile menu */
    .nav-center .back-btn.mobile-only {
        border-radius: 12px;
        font-size: 0.95em;
    }
}

/* Very small phones: further shrink nav */
@media (max-width: 480px) {
    nav { padding: 12px 4%; }
    nav .logo-text { font-size: 1.15em; }
    nav .logo-img { height: 32px; }
    .hamburger { font-size: 1.6em; }
    .nav-center {
        width: 78% !important;
        padding: 32px 18px;
        top: 60px;
    }
}


/* ==========================
   2. HOMEPAGE MOBILE
   ========================== */

@media (max-width: 850px) {
    /* Hero: less dead space at top */
    .hero { padding: 120px 16px 50px; }
    .hero p { font-size: 1.05em; }

    /* Journey tabs: smaller tabs */
    .tabs-container { gap: 8px; padding-bottom: 10px; }
    .tabs-container .tab { min-width: 100px; padding: 14px 14px; font-size: 0.85em; }

    /* Tab content: less padding */
    .tab-content-box { padding: 28px 20px; }
    .tab-content-box h3 { font-size: 1.3em; }

    /* Programs: single column cards */
    .grid { padding: 0 4px; }
    .card img { height: 180px !important; }

    /* Ambassador banner: tighter */
    .ambassador-banner { padding: 60px 16px; }
    .ambassador-banner h2 { font-size: 2em; }
    .ambassador-banner p { font-size: 1em; }

    /* Perks list: wrap nicely */
    .perks-list { gap: 10px; }
    .perk { font-size: 0.82em; padding: 8px 14px; }

    /* Testimonial slider: smaller cards */
    .slide-card { width: 270px; padding: 20px; }
    .slider-track { width: calc(300px * 14); }
    @keyframes scroll { 0% { transform: translateX(0); } 100% { transform: translateX(calc(-300px * 7)); } }
    .infinite-slider-section { padding: 50px 0; }
    .infinite-slider-section h2 { font-size: 1.8em; margin-bottom: 24px; }

    /* Bottom CTA tighter */
    .bottom-cta { padding: 70px 16px; }
    .bottom-cta p { font-size: 1em; }
}

@media (max-width: 480px) {
    /* Extra small phones */
    .hero { padding: 100px 14px 40px; }
    .hero h1 { font-size: 1.8em !important; }
    .hero p { font-size: 0.95em; margin-bottom: 28px; }

    .au-pill { font-size: 0.75em; padding: 6px 12px; }

    /* Hero buttons: ensure proper spacing */
    .hero-buttons { gap: 12px; padding: 0 4px; }
    .hero-buttons .au-btn,
    .hero-buttons .au-btn-ghost { padding: 13px 20px; font-size: 0.92em; }

    /* Hero tags: stack vertically */
    .hero-tags { flex-direction: column; gap: 8px; align-items: center; }

    /* Sections: tighter headings */
    .about-section h2, .why-choose h2, .journey-section h2 { font-size: 1.6em !important; }
    .about-section p { font-size: 1em; }
    .about-section { padding: 36px 16px; margin-bottom: 40px; }
    .why-choose { margin-bottom: 40px; }
    .why-choose > p { font-size: 0.95em; margin-bottom: 30px; }

    /* Benefits grid: single column with less margin */
    .benefits-grid { grid-template-columns: 1fr; gap: 14px; }
    .benefit-card { margin: 0 !important; padding: 24px 18px; }

    /* Journey section */
    .journey-section { padding: 50px 14px; }
    .journey-section h2 { margin-bottom: 10px; }
    .journey-section > p { font-size: 0.95em; margin-bottom: 24px; }
    .tabs-container .tab { min-width: 90px; padding: 12px 10px; font-size: 0.8em; gap: 6px; }
    .tab-content-box { padding: 22px 16px; margin-top: 20px; }
    .tab-content-box h3 { font-size: 1.15em; }
    .tab-content-box h4 { font-size: 0.8em; }
    .tab-content-box p { font-size: 0.95em; }

    /* Programs */
    .domains { padding: 50px 14px; }
    .domains h2 { font-size: 1.6em !important; margin-bottom: 28px !important; }
    .grid { gap: 16px; }
    .card img { height: 160px !important; }
    .card h3 { font-size: 1.2em; }
    .card p { font-size: 0.9em; margin-bottom: 20px; }
    .show-more-btn { font-size: 0.95em; padding: 10px 28px; }

    /* Ambassador banner */
    .ambassador-banner { padding: 44px 14px; }
    .ambassador-banner h2 { font-size: 1.6em; }

    /* Slider */
    .slide-card { width: 240px; padding: 18px; font-size: 0.9em; }
    .slider-track { width: calc(270px * 14); }
    @keyframes scroll { 0% { transform: translateX(0); } 100% { transform: translateX(calc(-270px * 7)); } }

    /* Bottom CTA */
    .bottom-cta { padding: 50px 14px; }
    .bottom-cta h2 { font-size: 1.6em !important; }
    .bottom-cta p { font-size: 0.92em; margin-bottom: 24px; }
    .bottom-cta-pill { font-size: 0.75em; padding: 5px 12px; margin-bottom: 18px; }
    .bottom-tags { flex-direction: column; gap: 10px; align-items: center; margin-top: 30px; }
    .bottom-tags span { font-size: 0.85em; }
}


/* ==========================
   3. DASHBOARD NAV MOBILE
   ========================== */

@media (max-width: 900px) {
    /* Ensure slide-out is usable on small phones */
    .dnav-center {
        width: min(82%, 340px);
        padding: 80px 18px 24px;
        -webkit-overflow-scrolling: touch;
    }
    /* Larger tap targets */
    .dnav-tab {
        min-height: 44px;
        display: flex;
        align-items: center;
        padding: 14px 16px;
        font-size: 0.98em;
    }
    /* Mobile footer inside slide-out */
    .dnav-mobile-foot {
        gap: 14px;
        padding-top: 16px;
    }
    .dnav-logout.mobile-only {
        padding: 12px 20px;
        text-align: center;
        font-size: 0.92em;
    }
}

@media (max-width: 480px) {
    .dnav { padding: 12px 4%; }
    .dnav .logo-text { font-size: 1.2em; }
    .dnav .logo-img { height: 30px; }
    .dnav-hamburger { font-size: 1.5em; }
    .dnav-center {
        width: min(88%, 300px);
        padding: 70px 14px 20px;
    }
    .dnav-tab { font-size: 0.9em; padding: 12px 14px; }
}


/* ==========================
   4. DASHBOARD CONTENT MOBILE
   ========================== */

@media (max-width: 850px) {
    /* Main content area */
    .dash-main { padding: 80px 4% 50px; }
    .dash-greeting { font-size: clamp(1.4em, 5vw, 1.8em); }
    .dash-sub { font-size: 0.95em; margin-bottom: 24px; }
    .dash-section-title { font-size: 1.15em; margin: 30px 0 16px; flex-wrap: wrap; gap: 8px; }

    /* Stat grid: 2 columns on phones */
    .au-stat-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 12px; }
    .au-stat { padding: 18px 16px 16px; }
    .au-stat .num { font-size: 1.6em; }
    .au-stat h4 { font-size: 0.7em; letter-spacing: 0.8px; }
    .au-stat .stat-foot { font-size: 0.75em; }

    /* Charts: always single column */
    .au-charts-grid { grid-template-columns: 1fr !important; gap: 14px; }
    .au-chart-card { padding: 16px 14px 10px; }
    .au-chart-wrap, .au-chart-card:not(.wide) .au-chart-wrap { height: 200px; }
    .au-chart-head h4 { font-size: 0.92em; }

    /* Content grid: single column */
    .au-grid { grid-template-columns: 1fr !important; gap: 14px; }

    /* Tables: smooth touch scrolling */
    .au-table-wrap {
        padding: 14px;
        -webkit-overflow-scrolling: touch;
    }
    .au-table { min-width: 600px; }
    .au-table th { padding: 10px 12px; font-size: 0.7em; }
    .au-table td { padding: 12px; font-size: 0.88em; }

    /* Modals: near-full-screen on mobile */
    .au-modal { padding: 12px; }
    .au-modal-card {
        max-width: 100%;
        max-height: 92vh;
        padding: 24px 18px;
        border-radius: var(--au-radius);
    }
    .au-modal-card h3 { font-size: 1.2em; }

    /* Forms in dashboard */
    .au-form-group { margin-bottom: 16px; }
    .au-form input, .au-form select, .au-form textarea, .au-input {
        padding: 12px 14px;
        font-size: 0.93em;
    }

    /* Buttons */
    .au-btn.sm, .au-btn-ghost.sm { padding: 10px 14px; font-size: 0.84em; }
    .au-btn { padding: 13px 22px; font-size: 0.93em; }

    /* Panels */
    .au-panel { padding: 20px 16px; }
}

@media (max-width: 480px) {
    .dash-main { padding: 72px 3% 40px; }

    /* Stat grid: force single column on very small phones */
    .au-stat-grid { grid-template-columns: 1fr !important; }
    .au-stat .num { font-size: 1.8em; }

    /* Chart height reduced */
    .au-chart-wrap, .au-chart-card:not(.wide) .au-chart-wrap { height: 180px; }

    /* Modals */
    .au-modal-card { padding: 20px 14px; border-radius: 14px; }

    /* Section title: allow form to wrap below */
    .dash-section-title {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    .dash-section-title form { width: 100%; }
    .dash-section-title .au-input,
    .dash-section-title select.au-input { width: 100% !important; }
}


/* ==========================
   5. BLOG PAGE MOBILE
   ========================== */

@media (max-width: 850px) {
    .page-container { margin: 80px auto 30px; padding: 0 14px; }
    .blog-sidebar { max-height: 240px; }
    .blog-sidebar h3 { font-size: 1.1em; }
    .blog-post h1 { font-size: 1.8em; }
    .blog-body { font-size: 1em; }
}

@media (max-width: 480px) {
    .page-container { margin: 70px auto 20px; padding: 0 10px; }
    .blog-sidebar { max-height: 200px; }
    .blog-list-item { padding: 12px; }
    .blog-list-item h4 { font-size: 0.95em; }
    .blog-post { padding: 28px 0; }
    .blog-post h1 { font-size: 1.4em; }
    .blog-meta { font-size: 0.82em; margin-bottom: 20px; }
    .blog-body { font-size: 0.95em; line-height: 1.7; }
}


/* ==========================
   6. FEEDBACK PAGE MOBILE
   ========================== */

@media (max-width: 850px) {
    .container { margin-top: 80px; }
    .info-box, .form-box { padding: 28px 20px; }
}

@media (max-width: 480px) {
    .container { margin-top: 70px; padding: 0 10px; gap: 20px; }
    .info-box, .form-box { padding: 22px 16px; }
    .info-box h2, .form-box h2 { font-size: 1.3em; }
    .reviews-list { max-height: 300px; }
    .form-box input, .form-box textarea { padding: 12px; font-size: 0.95em; }
    .form-box button { padding: 14px; font-size: 0.95em; }
}


/* ==========================
   7. FOOTER MOBILE
   ========================== */

@media (max-width: 600px) {
    .mega-footer { padding: 50px 4% 20px; font-size: 0.9em; }
    .footer-top { margin-bottom: 36px; }
    .footer-brand p { font-size: 0.9em; }

    /* 2 columns on medium phones, then 1 column below */
    .footer-links-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; margin-bottom: 28px; }
    .footer-col h4 { font-size: 1em; margin-bottom: 16px; }
    .footer-col a, .footer-col p { font-size: 0.9em; margin-bottom: 10px; }

    .footer-newsletter { padding: 22px; }
    .footer-newsletter h3 { font-size: 1.15em; }
    .footer-newsletter p { font-size: 0.85em; }

    .footer-bottom { font-size: 0.82em; }
    .social-circles a { width: 36px; height: 36px; }
    .social-circles a svg { width: 17px; height: 17px; }
}

@media (max-width: 400px) {
    .footer-links-grid { grid-template-columns: 1fr; gap: 24px; text-align: center; }
    .footer-col h4 { margin-bottom: 12px; }
    .legal-links a { margin: 0 6px; font-size: 0.85em; }
}


/* ==========================
   8. LOGIN / AUTH MOBILE
   ========================== */

@media (max-width: 850px) {
    .auth-wrapper { margin: 100px auto 60px; }
}

@media (max-width: 480px) {
    .auth-wrapper { margin: 80px auto 40px; padding: 0 14px; }
    .auth-header h1 { font-size: 1.7em; }
    .auth-header p { font-size: 0.95em; }
    .auth-header { margin-bottom: 28px; }
    .tabs { margin-bottom: 24px; }
    .tabs .tab { padding: 13px 4px; font-size: 0.9em; }
    input { padding: 14px; font-size: 0.95em; min-height: 48px; box-sizing: border-box; }
    .submit-btn { padding: 14px; font-size: 1em; min-height: 48px; }
    .form-group { margin-bottom: 20px; }
    label { font-size: 0.8em; }
    .forgot-link { font-size: 0.82em; }
}


/* ==========================
   9. CREDENTIAL PAGE MOBILE
   ========================== */

@media (max-width: 600px) {
    .cred-container {
        margin: 80px 8px 30px;
        border-radius: 12px;
    }
    .cred-header { padding: 28px 18px; }
    .cred-header h1 { font-size: 1.5em; letter-spacing: 1px; }
    .cred-header .msme-badge { font-size: 0.65em; padding: 4px 10px; word-break: break-word; }
    .cred-body { padding: 30px 18px; }
    .intern-name { font-size: 1.6em; }
    .program-title { font-size: 1.05em; }
    .score-box { padding: 12px 20px; font-size: 1.2em; }
    .meta-grid {
        grid-template-columns: 1fr;
        padding: 18px;
        gap: 14px;
    }
    .meta-item span { font-size: 0.95em; word-break: break-all; }
    .repo-link { padding: 10px 20px; font-size: 0.9em; }
    .action-buttons {
        flex-direction: column;
        align-items: stretch;
    }
    .action-buttons .au-btn,
    .action-buttons .action-btn,
    .action-buttons a { width: 100%; justify-content: center; text-align: center; box-sizing: border-box; }
    .footer { font-size: 0.8em; padding: 16px 14px; }
}

@media (max-width: 400px) {
    .cred-container { margin: 70px 4px 20px; }
    .cred-header h1 { font-size: 1.3em; }
    .intern-name { font-size: 1.3em; }
    .score-box { font-size: 1em; padding: 10px 16px; }
}


/* ==========================
   10. LEGAL / POLICY PAGES MOBILE
   ========================== */

@media (max-width: 600px) {
    .page-shell { padding: 90px 4% 50px; }
    .page-head { margin-bottom: 30px; }
    .page-head h1 { margin: 14px 0 10px; }
    .page-head p { font-size: 0.98em; }

    .legal-card { padding: 24px 18px; }
    .legal-card h2 { margin-bottom: 12px; }
    .legal-card p, .legal-card li { font-size: 0.93em; }
    .legal-card ul { padding-left: 18px; }

    /* Contact tiles */
    .contact-grid { grid-template-columns: 1fr; gap: 14px; }
    .contact-tile { padding: 24px 18px; }
    .contact-tile .ico { width: 52px; height: 52px; font-size: 1.5em; }

    /* Ambassador apply page */
    .apply-card { padding: 26px 18px; }
    .apply-card h2 { font-size: 1.3em; }
    .perks-grid { grid-template-columns: 1fr; gap: 12px; }
    .perk-tile { padding: 22px 18px; }

    /* CTA rows */
    .cta-row { flex-direction: column; align-items: stretch; gap: 10px; }
    .cta-row .au-btn,
    .cta-row .au-btn-ghost { width: 100%; text-align: center; justify-content: center; box-sizing: border-box; }
}

@media (max-width: 400px) {
    .page-shell { padding: 80px 3% 40px; }
    .legal-card { padding: 20px 14px; }
    .page-head h1 { font-size: 1.6em; }
}


/* ==========================
   11. VERIFY / OFFER PAGES MOBILE
   ========================== */

@media (max-width: 480px) {
    /* Verify/Offer lookup */
    .lookup-card { padding: 28px 16px; }
    .lookup-form input { padding: 14px; font-size: 0.98em; min-height: 48px; }
    .lookup-form .au-btn { min-height: 48px; }
    .shield-icon, .doc-icon { width: 46px; height: 46px; }

    /* Verified credential card */
    .cred-top { padding: 26px 16px 20px; }
    .cred-name { font-size: 1.3em; }
    .cred-program { font-size: 0.9em; }
    .score-big { font-size: clamp(2.2em, 10vw, 3.2em); }
    .score-label { font-size: 0.7em; }

    /* Meta grid force single col on very small screens */
    .meta-grid { grid-template-columns: 1fr; gap: 12px; }
    .meta-item .m-value { font-size: 0.92em; word-break: break-all; }
    .meta-item .m-value.mono { font-size: 0.88em; }

    /* Error card */
    .error-card { padding: 20px 18px; }
    .error-card h3 { font-size: 1.05em; }
}


/* ==========================
   RESET PASSWORD MOBILE
   ========================== */

@media (max-width: 480px) {
    .auth-shell { padding: 80px 14px 40px; }
    .auth-container { padding: 30px 20px; }
    .auth-logo { font-size: 1.6em; }
    p.subtitle { font-size: 0.88em; }
}


/* ==========================
   GENERAL TOUCH-FRIENDLY OVERRIDES
   ========================== */

@media (max-width: 850px) {
    /* All interactive elements: minimum 44px touch target */
    .au-btn, .au-btn-ghost, .enroll-btn, .show-more-btn,
    .login-btn, .dnav-logout, .submit-btn,
    .action-btn, .repo-link, button {
        min-height: 44px;
    }

    /* Prevent accidental double-tap zoom on buttons */
    button, a, input, select, textarea {
        touch-action: manipulation;
    }

    /* Safe area support for notched phones */
    body {
        padding-left: env(safe-area-inset-left);
        padding-right: env(safe-area-inset-right);
    }
    nav, .dnav {
        padding-left: max(4%, env(safe-area-inset-left));
        padding-right: max(4%, env(safe-area-inset-right));
    }
}

/* Utility: smooth scroll for all mobile panels */
@media (max-width: 850px) {
    .nav-center, .dnav-center, .au-table-wrap, .blog-sidebar, .reviews-list {
        scrollbar-width: none;
    }
    .nav-center::-webkit-scrollbar,
    .dnav-center::-webkit-scrollbar,
    .au-table-wrap::-webkit-scrollbar,
    .blog-sidebar::-webkit-scrollbar,
    .reviews-list::-webkit-scrollbar { display: none; }
}


/* =====================================================================
   OVERFLOW FIX PASS — Targets specific issues visible on phones
   (chart legends clipped, stat cards clipped, funnel cut off,
    homepage text overflow, profile form columns)
===================================================================== */

/* ---------- A. CHART CARDS: make each card horizontally scrollable ---------- */
@media (max-width: 850px) {
    .au-chart-card {
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        min-width: 0;           /* allow flex/grid children to shrink */
    }
    /* Chart canvas wrapper — let it expand to its natural size so scroll works */
    .au-chart-wrap {
        min-width: 320px;       /* ensures chart is legible even when scrolled */
    }
    /* Chart head: prevent badge from pushing title off-screen */
    .au-chart-head {
        flex-wrap: wrap;
        gap: 6px;
    }
    .au-chart-head h4 {
        word-break: break-word;
        min-width: 0;
    }
}


/* ---------- B. STAT GRID: override the inline minmax(200px) style ---------- */
@media (max-width: 600px) {
    /* Must beat the inline style="grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));" */
    .au-stat-grid[style*="grid-template-columns"] {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
    }
    .au-stat {
        overflow: hidden;
        word-break: break-word;
    }
    .au-stat .num {
        font-size: 1.5em;
        word-break: break-all;
    }
}

@media (max-width: 400px) {
    .au-stat-grid[style*="grid-template-columns"] {
        grid-template-columns: 1fr !important;
    }
    .au-stat .num { font-size: 1.8em; }
}


/* ---------- C. FUNNEL / CONVERSION PANEL: stack vertically ---------- */
@media (max-width: 600px) {
    /* The funnel uses inline flex — override it */
    .au-panel > div[style*="display:flex"][style*="justify-content:center"] {
        flex-direction: column !important;
        gap: 14px !important;
        align-items: stretch !important;
    }
    /* Hide the arrow dividers between funnel steps */
    .au-panel > div[style*="display:flex"] > div[style*="align-items:center"][style*="justify-content:center"] {
        display: none !important;
    }
    /* Funnel step boxes */
    .au-panel > div[style*="display:flex"] > div[style*="min-width:150px"] {
        min-width: 0 !important;
        width: 100% !important;
    }
}


/* ---------- D. ALL DASHBOARD PANELS & CARDS: contain overflow ---------- */
@media (max-width: 850px) {
    .au-panel, .au-card, .au-stat, .au-chart-card {
        max-width: 100%;
        overflow-wrap: break-word;
        word-wrap: break-word;
    }
    /* The flex row containers with inline styles (leaderboard + regions) */
    .view-section > div[style*="display:flex"][style*="gap:20px"] {
        flex-direction: column !important;
    }
    .view-section > div[style*="display:flex"] > .au-panel[style*="min-width"] {
        min-width: 0 !important;
        width: 100% !important;
    }
    /* Tables inside panels that don't use .au-table-wrap */
    .au-table, .au-panel > .au-table {
        display: block;
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        white-space: nowrap;
    }
    
    /* Ensure table headers and cells don't wrap to force scrolling */
    .au-table th, .au-table td {
        white-space: nowrap;
        min-width: max-content;
    }
    
    /* Scrollable table indicator */
    .au-panel[style*="overflow-x:auto"],
    .au-panel > table, .au-table-wrap {
        -webkit-overflow-scrolling: touch;
    }
}


/* ---------- E. HOMEPAGE TEXT OVERFLOW: prevent clipping ---------- */
@media (max-width: 850px) {
    .journey-section, .about-section, .why-choose,
    .ambassador-banner, .bottom-cta-content, .domains {
        overflow-wrap: break-word;
        word-wrap: break-word;
        max-width: 100%;
    }
    .journey-section h2, .why-choose h2, .about-section h2,
    .ambassador-banner h2, .bottom-cta h2 {
        word-break: break-word;
        hyphens: auto;
    }
    /* Tab content box text shouldn't clip */
    .tab-content-box {
        overflow-wrap: break-word;
        word-wrap: break-word;
    }
    .tab-content-box p {
        max-width: 100%;
        word-break: break-word;
    }
}


/* ---------- F. PROFILE FORM: stack 2-column grids on mobile ---------- */
@media (max-width: 600px) {
    /* Forms with inline grid styles */
    form[style*="grid-template-columns"] {
        grid-template-columns: 1fr !important;
    }
    /* Profile 2-column field rows */
    .au-form > div[style*="display:grid"],
    .au-form > div[style*="grid-template-columns"],
    .au-panel > form[style*="display:grid"] {
        grid-template-columns: 1fr !important;
        gap: 14px !important;
    }
    /* Inline flex forms (search bars, role forms) */
    .au-form[style*="display:flex"] {
        flex-direction: column !important;
    }
    .au-form[style*="display:flex"] > input[style*="min-width"] {
        min-width: 0 !important;
        width: 100% !important;
    }
    /* Max-width overrides on form groups */
    .au-form-group[style*="max-width"] {
        max-width: 100% !important;
    }
}


/* ---------- G. DASH-MAIN: prevent any possible overflow ---------- */
@media (max-width: 850px) {
    .dash-main {
        overflow-x: hidden;
        max-width: 100vw;
        box-sizing: border-box;
    }
    .view-section {
        overflow-x: hidden;
        max-width: 100%;
    }
}


/* ---------- H. SWAG / DIRECTORY: inline flex rows stack on mobile ---------- */
@media (max-width: 600px) {
    /* Swag queue items with inline flex */
    div[style*="display:flex"][style*="justify-content:space-between"][style*="border-bottom"] {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 12px !important;
    }
    /* Role update forms in directory */
    form[style*="display:flex"][style*="gap:8px"] {
        flex-direction: column !important;
        align-items: stretch !important;
        width: 100%;
    }
    form[style*="display:flex"][style*="gap:8px"] select {
        width: 100% !important;
    }
    form[style*="display:flex"][style*="gap:8px"] .au-btn {
        width: 100%;
    }
}
