:root {
    --color-bg: #f7f8fa;
    --color-surface: #ffffff;
    --color-text: #1c2430;
    --color-text-muted: #5b6470;
    --color-primary: #c8102e;
    --color-primary-dark: #9c0c24;
    --color-accent: #1c2430;
    --color-border: #e3e6ea;
    --color-warning-bg: #fff3cd;
    --color-warning-text: #7a5b00;
    --color-success-bg: #e6f6ec;
    --color-success-text: #146c37;
    --color-ev: #0891b2;
    --color-ev-light: #22c3dd;
    --color-dark-bg: #0c1015;
    --color-dark-bg-alt: #131a22;
    --color-dark-surface: #171f28;
    --color-dark-text: #eef1f4;
    --color-dark-muted: #a3acb8;
    --color-dark-border: #232c37;
    --radius: 10px;
    --radius-lg: 20px;
    --shadow: 0 2px 10px rgba(20, 24, 30, 0.06);
    --shadow-lg: 0 20px 50px rgba(10, 14, 20, 0.18);
    --font-base: 'Noto Sans', 'Noto Sans Devanagari', system-ui, -apple-system, Segoe UI, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: var(--font-base);
    background: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    font-size: 16px;
}
img { max-width: 100%; display: block; }
a { color: var(--color-primary); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { line-height: 1.25; margin: 0 0 0.5em; color: var(--color-accent); }
p { margin: 0 0 1em; }
.container { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 20px; }

/* Announcement bar (admin-controlled, sits above everything else) */
.announcement-bar {
    overflow: hidden; display: flex; align-items: center; gap: 10px; padding: 9px 16px;
    font-size: 0.85rem; font-weight: 600; position: sticky; top: 0; z-index: 55;
}
.announcement-icon { flex-shrink: 0; width: 18px; height: 18px; }
.announcement-icon svg { width: 100%; height: 100%; }
.announcement-theme-primary { background: var(--color-primary); color: #fff; }
.announcement-theme-dark { background: var(--color-dark-bg, #0c1015); color: #fff; }
.announcement-theme-light { background: #f7f8fa; color: #1c2430; border-bottom: 1px solid #e3e6ea; }
.announcement-track.is-static { flex-grow: 1; text-align: center; white-space: normal; }
.announcement-track.is-running {
    display: flex; white-space: nowrap; width: max-content;
    animation-duration: var(--announce-duration, 26s); animation-timing-function: linear; animation-iteration-count: infinite;
}
.announcement-track.is-running.direction-rtl { animation-name: byd-marquee-rtl; }
.announcement-track.is-running.direction-ltr { animation-name: byd-marquee-ltr; }
.announcement-track.is-running .announcement-text { padding-right: 64px; }
@keyframes byd-marquee-rtl { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes byd-marquee-ltr { from { transform: translateX(-50%); } to { transform: translateX(0); } }
@media (prefers-reduced-motion: reduce) {
    .announcement-track.is-running { animation: none; white-space: normal; width: auto; }
    .announcement-track.is-running .announcement-text:nth-child(2) { display: none; }
}

/* Disclaimer banner — admin-configurable via Settings > Homepage Sections */
.disclaimer-banner {
    background: var(--color-warning-bg);
    color: var(--color-warning-text);
    text-align: center;
    padding: 7px 16px;
    font-size: 0.8rem;
    border-bottom: 1px solid rgba(122, 91, 0, 0.18);
}
.disclaimer-banner p { margin: 0; max-width: 900px; margin-inline: auto; line-height: 1.45; }
@media (max-width: 600px) { .disclaimer-banner { padding: 6px 12px; font-size: 0.74rem; } }

/* Header — sticky, stacked directly below the sticky announcement bar (--announcement-height
   is measured and set by main.js; falls back to 0 when the announcement bar is absent/disabled). */
.site-header {
    background: var(--color-surface); border-bottom: 1px solid var(--color-border);
    position: sticky; top: var(--announcement-height, 0px); z-index: 50;
    box-shadow: 0 1px 0 rgba(20,24,30,0.02), 0 4px 16px rgba(20,24,30,0.04);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 13px 20px; gap: 16px; }
.brand { font-weight: 700; font-size: 1.15rem; color: var(--color-accent); display: flex; align-items: center; }
.brand:hover { text-decoration: none; opacity: 0.88; }
.site-nav { display: flex; align-items: center; gap: 24px; }
.site-nav a { position: relative; color: var(--color-text); font-weight: 500; font-size: 0.95rem; padding: 4px 0; transition: color 0.15s ease; }
.site-nav a:not(.lang-switch):not(.nav-cta)::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 2px; background: var(--color-primary);
    transform: scaleX(0); transform-origin: left; transition: transform 0.2s ease;
}
.site-nav a:not(.lang-switch):not(.nav-cta):hover::after { transform: scaleX(1); }
.site-nav a:hover { color: var(--color-primary); text-decoration: none; }
.site-nav a:focus-visible { outline: 2px solid var(--color-primary); outline-offset: 3px; border-radius: 3px; }
.lang-switch { border: 1px solid var(--color-border); border-radius: 20px; padding: 6px 14px !important; transition: border-color 0.15s ease, color 0.15s ease; }
.lang-switch:hover { border-color: var(--color-primary); }
.nav-toggle { display: none; flex-direction: column; justify-content: center; gap: 4px; width: 40px; height: 40px; background: none; border: none; cursor: pointer; border-radius: 8px; transition: background 0.15s ease; }
.nav-toggle:hover, .nav-toggle:focus-visible { background: var(--color-bg); }
.nav-toggle span { display: block; height: 2px; width: 22px; margin: 0 auto; background: var(--color-accent); border-radius: 2px; }

/* ---- Transparent/overlay header (admin toggle, homepage-only — see Settings > Homepage Sections) ----
   Stays sticky like the normal header, but starts transparent so the hero image shows through: a
   negative bottom margin pulls the hero section up underneath its initial (unscrolled) position.
   Once the page scrolls (main.js toggles .is-scrolled), it solidifies to the normal header style so
   it stays readable over whatever content is now beneath it instead of remaining see-through. */
.site-header--transparent {
    background: linear-gradient(to bottom, rgba(9,12,16,0.32), rgba(9,12,16,0));
    border-bottom: none; box-shadow: none; margin-bottom: calc(-1 * var(--header-height, 69px)); z-index: 45;
    transition: background 0.25s ease, box-shadow 0.25s ease;
}
@media (min-width: 821px) {
    .site-header--transparent .brand,
    .site-header--transparent .site-nav a:not(.nav-cta) { color: #fff; transition: color 0.25s ease; }
    .site-header--transparent .site-nav a:not(.lang-switch):not(.nav-cta)::after { background: #fff; }
    .site-header--transparent .lang-switch { border-color: rgba(255,255,255,0.45); }
    .site-header--transparent .lang-switch:hover { border-color: #fff; }
}
.site-header--transparent.is-scrolled {
    background: var(--color-surface); border-bottom: 1px solid var(--color-border);
    box-shadow: 0 1px 0 rgba(20,24,30,0.02), 0 4px 16px rgba(20,24,30,0.04);
}
@media (min-width: 821px) {
    .site-header--transparent.is-scrolled .brand,
    .site-header--transparent.is-scrolled .site-nav a:not(.nav-cta) { color: var(--color-text); }
    .site-header--transparent.is-scrolled .brand { color: var(--color-accent); }
    .site-header--transparent.is-scrolled .site-nav a:not(.lang-switch):not(.nav-cta)::after { background: var(--color-primary); }
    .site-header--transparent.is-scrolled .lang-switch { border-color: var(--color-border); }
    .site-header--transparent.is-scrolled .lang-switch:hover { border-color: var(--color-primary); }
}
/* The mobile dropdown menu always keeps its own solid background (see .site-nav.open below),
   so its links must stay dark-on-light there regardless of the transparent header setting. */

/* Hero */
.hero { padding: 56px 0 40px; text-align: center; }
.hero h1 { font-size: clamp(1.6rem, 3.2vw, 2.4rem); }
.hero .lead { color: var(--color-text-muted); max-width: 700px; margin: 0 auto 24px; font-size: 1.05rem; }
.btn {
    display: inline-block; padding: 12px 28px; border-radius: 30px; font-weight: 600; cursor: pointer; border: none; font-size: 1rem;
    transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}
.btn-primary { background: var(--color-primary); color: #fff; }
.btn-primary:hover { background: var(--color-primary-dark); text-decoration: none; color: #fff; transform: translateY(-2px); box-shadow: 0 8px 18px rgba(200,16,46,0.28); }
.btn-outline { background: transparent; border: 1px solid var(--color-border); color: var(--color-text); }
.btn-outline:hover { border-color: var(--color-primary); color: var(--color-primary); text-decoration: none; transform: translateY(-2px); }
.btn-block { display: block; width: 100%; text-align: center; }
.btn:focus-visible { outline: 2px solid var(--color-primary); outline-offset: 2px; }
.btn:active { transform: translateY(0); }

/* Sections */
section { padding: 48px 0; }
.section-title { text-align: center; margin-bottom: 8px; }
.section-subtitle { text-align: center; color: var(--color-text-muted); max-width: 640px; margin: 0 auto 32px; }

/* Category cards */
.category-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.category-card { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.category-card h3 { font-size: 1.1rem; }
.category-card p { color: var(--color-text-muted); flex-grow: 1; font-size: 0.95rem; }
.category-icon { width: 46px; height: 46px; border-radius: 50%; background: rgba(200,16,46,0.1); display: flex; align-items: center; justify-content: center; margin-bottom: 14px; color: var(--color-primary); font-weight: 700; }

/* About / disclaimer callout */
.about-block { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.callout-warning { background: var(--color-warning-bg); color: var(--color-warning-text); border-radius: var(--radius); padding: 18px 20px; font-size: 0.9rem; }

/* FAQ */
.faq-item { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius); margin-bottom: 12px; overflow: hidden; transition: border-color 0.2s ease, box-shadow 0.2s ease; }
.faq-item:hover { border-color: rgba(200,16,46,0.25); box-shadow: var(--shadow); }
.faq-question { width: 100%; text-align: left; background: none; border: none; padding: 16px 20px; font-weight: 600; font-size: 1rem; cursor: pointer; display: flex; justify-content: space-between; align-items: center; color: var(--color-accent); transition: color 0.15s ease; }
.faq-question:hover { color: var(--color-primary); }
.faq-question:focus-visible { outline: 2px solid var(--color-primary); outline-offset: -2px; }
.faq-answer { padding: 0 20px; max-height: 0; overflow: hidden; transition: max-height 0.25s ease, padding 0.25s ease; color: var(--color-text-muted); }
.faq-item.open .faq-answer { padding: 0 20px 18px; max-height: 600px; }
.faq-item.open .faq-question .chev { transform: rotate(180deg); }
.chev { transition: transform 0.2s ease; }

/* Form */
.form-card {
    background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-lg);
    padding: 36px; box-shadow: var(--shadow-lg); max-width: 760px; margin: 0 auto;
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 18px; }
.form-grid .full { grid-column: 1 / -1; }
.form-group { margin-bottom: 4px; }
label { display: block; font-weight: 600; margin-bottom: 7px; font-size: 0.9rem; color: var(--color-accent); }
.required-marker { color: var(--color-primary); margin-left: 2px; }
input[type=text], input[type=email], input[type=tel], select, textarea {
    width: 100%; padding: 12px 14px; min-height: 46px; border: 1px solid var(--color-border); border-radius: 9px;
    font-family: var(--font-base); font-size: 0.95rem; background: #fff; color: var(--color-text);
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
select {
    appearance: none; -webkit-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%235b6470' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--color-primary); box-shadow: 0 0 0 3px rgba(200,16,46,0.12); }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: none; }
textarea { resize: vertical; min-height: 100px; }
.field-error { color: var(--color-primary); font-size: 0.82rem; margin-top: 5px; font-weight: 500; }
.checkbox-row { display: flex; align-items: flex-start; gap: 10px; font-weight: 400; font-size: 0.9rem; }
.checkbox-row input { margin-top: 4px; width: 17px; height: 17px; min-height: 0; accent-color: var(--color-primary); }
.consent-note { font-size: 0.82rem; color: var(--color-text-muted); background: var(--color-bg); padding: 12px 14px; border-radius: 8px; border: 1px solid var(--color-border); }
.captcha-row { display: flex; align-items: center; gap: 12px; }
.captcha-question { background: var(--color-bg); border: 1px dashed var(--color-border); border-radius: 8px; padding: 10px 16px; font-weight: 700; font-size: 1.05rem; letter-spacing: 1px; }
.hp-field { position: absolute; left: -9999px; top: -9999px; opacity: 0; height: 0; width: 0; }
.alert { padding: 13px 18px; border-radius: 8px; margin-bottom: 20px; font-size: 0.92rem; border-left: 4px solid transparent; }
.alert-error { background: #fdeceb; color: #8a1c1c; border: 1px solid #f3c2bd; border-left-color: #c8102e; }
.alert-success { background: var(--color-success-bg); color: var(--color-success-text); border: 1px solid #b8e6c8; border-left-color: #146c37; }

.form-benefit-list { list-style: none; margin: 0 0 20px; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.form-benefit-list li { display: flex; align-items: center; gap: 10px; font-size: 0.92rem; color: var(--color-text); }
.form-benefit-icon { flex-shrink: 0; width: 22px; height: 22px; color: var(--color-primary); }
.form-benefit-icon svg { width: 100%; height: 100%; }

/* Thank-you */
.thankyou-section {
    padding: 64px 0 80px;
    background: radial-gradient(circle at 50% 0%, rgba(200,16,46,0.05), transparent 55%), var(--color-bg);
}
.thankyou-card {
    text-align: center; max-width: 560px; margin: 0 auto; background: var(--color-surface);
    border: 1px solid var(--color-border); border-radius: var(--radius-lg); padding: 44px 36px;
    box-shadow: var(--shadow-lg);
}
.thankyou-icon {
    width: 76px; height: 76px; margin: 0 auto 20px; border-radius: 50%;
    background: var(--color-success-bg); color: var(--color-success-text);
    display: flex; align-items: center; justify-content: center;
}
.thankyou-icon svg { width: 42px; height: 42px; }
.thankyou-card h1 { font-size: clamp(1.4rem, 3vw, 1.7rem); margin-bottom: 8px; }
.thankyou-success-line { color: var(--color-text-muted); font-size: 1rem; margin-bottom: 28px; }

.ref-block {
    background: var(--color-bg); border: 1px solid var(--color-border); border-radius: var(--radius);
    padding: 22px 20px; margin-bottom: 24px;
}
.ref-label { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--color-text-muted); margin-bottom: 10px; }
.ref-number-row { display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap; }
.ref-number {
    font-size: 1.35rem; font-weight: 700; color: var(--color-primary); letter-spacing: 1px;
    background: var(--color-surface); border: 1px dashed var(--color-border);
    padding: 10px 18px; border-radius: 8px; display: inline-block; word-break: break-all;
}
.ref-copy-btn {
    border: 1px solid var(--color-border); background: var(--color-surface); color: var(--color-text);
    border-radius: 8px; padding: 9px 14px; font-size: 0.82rem; font-weight: 600; cursor: pointer;
    transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}
.ref-copy-btn:hover { border-color: var(--color-primary); color: var(--color-primary); }
.ref-copy-btn:focus-visible { outline: 2px solid var(--color-primary); outline-offset: 2px; }
.ref-copy-btn.is-copied { border-color: var(--color-success-text); color: var(--color-success-text); background: var(--color-success-bg); }
.thankyou-keep-ref { font-size: 0.82rem; color: var(--color-text-muted); margin: 14px 0 0; }

.thankyou-notice {
    background: var(--color-warning-bg); color: var(--color-warning-text); border-radius: var(--radius);
    padding: 16px 18px; font-size: 0.86rem; text-align: left; margin-bottom: 28px;
}
.thankyou-notice p { margin: 0; }

.thankyou-actions { margin-bottom: 18px; }
.thankyou-countdown { font-size: 0.82rem; color: var(--color-text-muted); margin: 0; min-height: 1.2em; }

@media (max-width: 480px) {
    .thankyou-card { padding: 32px 22px; }
    .ref-number { font-size: 1.1rem; padding: 9px 14px; }
    .ref-number-row { flex-direction: column; }
}

/* Legal pages */
.legal-content { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius); padding: 32px; max-width: 860px; margin: 0 auto; }
.legal-content ol, .legal-content ul { padding-left: 22px; }
.legal-content li { margin-bottom: 10px; }
.legal-content h3 { margin-top: 28px; font-size: 1.08rem; }
.legal-meta { text-align: center; margin-top: 24px; color: var(--color-text-muted); font-size: 0.85rem; }

/* Footer */
.site-footer { background: #1c2430; color: #cfd3d8; margin-top: 40px; }
.footer-logo-row { padding: 24px 20px 0; }
.footer-logo-img { display: block; width: auto; height: auto; max-width: 160px; max-height: 56px; object-fit: contain; }
.footer-inner { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 24px; padding: 40px 20px 20px; }
.footer-col h3 { color: #fff; font-size: 0.95rem; margin-bottom: 12px; }
.footer-col a, .footer-col p { display: block; color: #cfd3d8; font-size: 0.88rem; margin-bottom: 8px; }
.footer-col a:hover { color: #fff; }
.footer-bottom { padding: 16px 20px 28px; border-top: 1px solid rgba(255,255,255,0.1); font-size: 0.8rem; color: #9aa1ab; }
.footer-disclaimer { max-width: 900px; }

/* Responsive */
@media (max-width: 820px) {
    .nav-toggle { display: flex; }
    .site-nav {
        position: absolute; top: 100%; left: 0; right: 0; background: var(--color-surface);
        flex-direction: column; align-items: flex-start; padding: 16px 20px; gap: 14px;
        border-bottom: 1px solid var(--color-border); display: none;
    }
    .site-nav.open { display: flex; }
    .form-grid { grid-template-columns: 1fr; }
}

@media (prefers-color-scheme: dark) {
    :root {
        --color-bg: #14171c;
        --color-surface: #1c2129;
        --color-text: #e7e9ec;
        --color-text-muted: #9aa1ab;
        --color-accent: #eef0f2;
        --color-border: #2b313b;
    }
    input[type=text], input[type=email], input[type=tel], select, textarea { background: #232833; color: var(--color-text); }
    .captcha-question { background: #232833; }
    .consent-note { background: #232833; }
}

/* =================================================================
   PREMIUM REDESIGN — homepage component library
   ================================================================= */

/* ---- Header CTA + nav additions ---- */
.site-nav .nav-cta {
    background: var(--color-primary); color: #fff !important; padding: 9px 20px; border-radius: 30px;
    font-weight: 600;
}
.site-nav .nav-cta:hover { background: var(--color-primary-dark); }

/* ---- Section rhythm utilities ----
   These three classes drive the homepage's deliberate light/dark visual rhythm.
   They pin FIXED colors (not the adaptive --color-* tokens) so the rhythm holds
   regardless of the visitor's OS light/dark preference — only the truly simple
   pages (FAQ, legal, apply.php) use the adaptive tokens directly. */
.section-white, .section-tint {
    --color-bg: #f7f8fa;
    --color-surface: #ffffff;
    --color-text: #1c2430;
    --color-text-muted: #5b6470;
    --color-accent: #1c2430;
    --color-border: #e3e6ea;
    color: var(--color-text);
}
.section-white { background: var(--color-surface); }
.section-tint { background: var(--color-bg); }
.section-dark { background: var(--color-dark-bg); color: var(--color-dark-text); }
.section-dark h1, .section-dark h2, .section-dark h3 { color: #fff; }
.section-dark p { color: var(--color-dark-muted); }
.section-dark .section-subtitle { color: var(--color-dark-muted); }
.section-pad { padding: 72px 0; }
@media (max-width: 820px) { .section-pad { padding: 48px 0; } }

.eyebrow {
    display: inline-block; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
    color: var(--color-primary); margin-bottom: 12px;
}
.section-dark .eyebrow { color: var(--color-ev-light); }

/* ---- Hero slider (image-rich, multi-slide) ---- */
.hero-redesign {
    position: relative; overflow: hidden; background: var(--color-dark-bg); color: #fff;
    min-height: 600px;
}
.hero-redesign::before {
    content: ""; position: absolute; inset: 0; z-index: 0;
    background:
        radial-gradient(circle at 15% 20%, rgba(8,145,178,0.35), transparent 45%),
        radial-gradient(circle at 85% 80%, rgba(200,16,46,0.28), transparent 50%),
        linear-gradient(160deg, #0c1015 0%, #12181f 60%, #0c1015 100%);
}
.hero-slide {
    position: absolute; inset: 0; z-index: 1; display: flex; align-items: center;
    opacity: 0; visibility: hidden; transition: opacity 0.9s ease;
    padding: 84px 0 56px;
}
.hero-slide.is-active { opacity: 1; visibility: visible; z-index: 2; }
.hero-slide .hero-media-fallback,
.hero-slide .hero-media-real {
    position: absolute; inset: 0; z-index: 0; opacity: 0.55;
}
.hero-slide .hero-media-real { width: 100%; height: 100%; object-fit: cover; }
.hero-slide-overlay {
    position: absolute; inset: 0; z-index: 1;
    background: linear-gradient(180deg, rgba(12,16,21,0.35) 0%, rgba(12,16,21,0.85) 100%);
}
.hero-slide .container { position: relative; z-index: 2; width: 100%; }
.hero-content { max-width: 720px; margin: 0 auto; text-align: center; }
.hero-content h1 { font-size: clamp(1.9rem, 4vw, 3rem); color: #fff; margin-bottom: 18px; letter-spacing: -0.01em; }
.hero-content .lead { color: #d3d8de; font-size: 1.1rem; max-width: 640px; margin: 0 auto 32px; }
.hero-cta-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.btn-lg { padding: 15px 34px; font-size: 1.02rem; }
.btn-ghost-light { background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.35); color: #fff; }
.btn-ghost-light:hover { background: rgba(255,255,255,0.16); color: #fff; text-decoration: none; }

.hero-arrow {
    position: absolute; top: 50%; transform: translateY(-50%); z-index: 6;
    width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
    background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.3); color: #fff;
    font-size: 1.05rem; cursor: pointer; transition: background 0.2s ease, transform 0.2s ease;
}
.hero-arrow:hover { background: rgba(255,255,255,0.22); }
.hero-arrow:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.hero-arrow-prev { left: 18px; }
.hero-arrow-next { right: 18px; }

.hero-dots { position: absolute; left: 0; right: 0; bottom: 24px; z-index: 6; display: flex; justify-content: center; gap: 9px; }
.hero-dot {
    width: 9px; height: 9px; padding: 0; border-radius: 50%; border: none; cursor: pointer;
    background: rgba(255,255,255,0.4); transition: background 0.2s ease, transform 0.2s ease;
}
.hero-dot:hover { background: rgba(255,255,255,0.7); }
.hero-dot.is-active { background: #fff; transform: scale(1.3); }
.hero-dot:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }

@media (max-width: 820px) {
    .hero-redesign { min-height: 580px; }
    .hero-slide { padding: 76px 0 64px; }
    .hero-arrow { width: 38px; height: 38px; font-size: 0.9rem; }
    .hero-arrow-prev { left: 8px; }
    .hero-arrow-next { right: 8px; }
    .hero-dots { bottom: 22px; }
}
@media (max-width: 600px) {
    /* Arrows would overlap the centered headline/CTAs on narrow screens; dots + autoplay remain. */
    .hero-arrow { display: none; }
}
@media (max-width: 480px) {
    .hero-redesign { min-height: 600px; }
    .hero-slide { padding: 80px 0 56px; }
    .hero-content h1 { font-size: 1.55rem; margin-bottom: 12px; }
    .hero-content .lead { font-size: 0.92rem; margin-bottom: 22px; }
    .hero-cta-row { gap: 10px; }
    .btn-lg { padding: 13px 26px; font-size: 0.92rem; }
    .hero-dots { bottom: 20px; }
}
@media (prefers-reduced-motion: reduce) {
    .hero-slide { transition: none; }
}

/* ---- Category showcase (image cards) ---- */
.category-grid-v2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 26px; }
.category-card-v2 {
    background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-lg);
    overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.category-card-v2:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.category-card-v2 .card-media { position: relative; aspect-ratio: 4/3; overflow: hidden; }
.category-card-v2 .card-media img { width: 100%; height: 100%; object-fit: cover; }
.category-card-v2 .card-media-fallback { position: absolute; inset: 0; }
.category-card-v2 .card-body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex-grow: 1; }
.category-card-v2 h3 { font-size: 1.12rem; margin-bottom: 8px; }
.category-card-v2 p { color: var(--color-text-muted); font-size: 0.93rem; flex-grow: 1; }

/* ---- Split section (image one side, content other) ---- */
.split { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; min-height: 460px; }
.split-reverse { direction: rtl; }
.split-reverse > * { direction: ltr; }
.split-media { position: relative; overflow: hidden; min-height: 320px; }
.split-media img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.split-media .fallback-art { position: absolute; inset: 0; }
.split-content { padding: 64px 56px; display: flex; flex-direction: column; justify-content: center; }
.split-content .body-copy ul { padding-left: 20px; margin: 0 0 22px; }
.split-content .body-copy li { margin-bottom: 8px; color: inherit; opacity: 0.92; }
.split-content .body-copy p { margin-bottom: 14px; }
.section-dark .split-content .body-copy li,
.section-dark .split-content .body-copy p { color: var(--color-dark-muted); }
@media (max-width: 900px) {
    .split { grid-template-columns: 1fr; min-height: 0; }
    .split-media { min-height: 240px; }
    .split-content { padding: 40px 24px; }
    .split-reverse { direction: ltr; }
    .split-reverse .split-media { order: -1; }
}

/* ---- Fallback SVG art wrapper (used when no admin image is set) ---- */
.fallback-art { width: 100%; height: 100%; display: block; }
.fallback-art svg { width: 100%; height: 100%; display: block; }

/* ---- Icon feature grid (infrastructure / why-register) ---- */
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 22px; }
.feature-card {
    background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius);
    padding: 26px 22px; text-align: left; transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.feature-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: rgba(200,16,46,0.25); }
.feature-icon {
    width: 48px; height: 48px; border-radius: 14px; display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, rgba(200,16,46,0.12), rgba(8,145,178,0.12)); margin-bottom: 16px; color: var(--color-primary);
    transition: transform 0.2s ease;
}
.feature-card:hover .feature-icon { transform: scale(1.08); }
.feature-icon svg { width: 24px; height: 24px; }
.feature-card h3 { font-size: 1.02rem; margin-bottom: 6px; }
.feature-card p { color: var(--color-text-muted); font-size: 0.89rem; margin: 0; }

/* ---- Timeline (application process) ---- */
.timeline { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; position: relative; margin-top: 12px; }
.timeline::before {
    content: ""; position: absolute; top: 26px; left: 8%; right: 8%; height: 2px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-ev));
    opacity: 0.35; z-index: 0;
}
.timeline-step { position: relative; z-index: 1; text-align: center; }
.timeline-num {
    width: 52px; height: 52px; border-radius: 50%; background: var(--color-surface); border: 2px solid var(--color-primary);
    color: var(--color-primary); font-weight: 700; font-size: 1.1rem; display: flex; align-items: center; justify-content: center;
    margin: 0 auto 14px; transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.timeline-step:hover .timeline-num { transform: translateY(-3px); box-shadow: var(--shadow); }
.timeline-step h3 { font-size: 0.98rem; margin-bottom: 6px; }
.timeline-step p { color: var(--color-text-muted); font-size: 0.85rem; }
@media (max-width: 900px) {
    .timeline { grid-template-columns: 1fr; gap: 28px; }
    .timeline::before { display: none; }
}

/* ---- Investment / illustrative planning cards ---- */
.investment-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 18px; margin: 28px 0; }
.investment-card {
    background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius);
    padding: 22px 20px; text-align: center; transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.investment-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.investment-card .amount { font-size: 1.05rem; font-weight: 700; color: var(--color-accent); }
.investment-note-box {
    background: var(--color-warning-bg); color: var(--color-warning-text); border-radius: var(--radius);
    padding: 18px 22px; font-size: 0.9rem; margin-bottom: 8px;
}

/* ---- Eligibility two-column ---- */
.eligibility-media { border-radius: var(--radius-lg); overflow: hidden; min-height: 320px; position: relative; }
.eligibility-media img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.section-banner { border-radius: var(--radius-lg); overflow: hidden; position: relative; aspect-ratio: 21/8; margin-bottom: 32px; }
.section-banner img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.section-banner .fallback-art { position: absolute; inset: 0; }
@media (max-width: 640px) { .section-banner { aspect-ratio: 16/9; } }
.expandable[data-collapsed="true"] .expandable-body { max-height: 120px; overflow: hidden; position: relative; mask-image: linear-gradient(180deg, #000 60%, transparent 100%); }
.expandable-toggle { background: none; border: none; color: var(--color-primary); font-weight: 600; cursor: pointer; padding: 8px 0; font-size: 0.9rem; }

/* ---- Final CTA banner ---- */
.final-cta-banner {
    position: relative; overflow: hidden; background: var(--color-dark-bg); color: #fff; text-align: center; border-radius: var(--radius-lg);
    padding: 64px 32px;
}
.final-cta-banner::before {
    content: ""; position: absolute; inset: 0;
    background: radial-gradient(circle at 20% 30%, rgba(8,145,178,0.35), transparent 55%), radial-gradient(circle at 80% 70%, rgba(200,16,46,0.3), transparent 55%);
}
.final-cta-banner .cta-media { position: absolute; inset: 0; opacity: 0.25; }
.final-cta-banner .cta-media img { width: 100%; height: 100%; object-fit: cover; }
.final-cta-banner > * { position: relative; z-index: 1; }
.final-cta-banner h2 { color: #fff; font-size: clamp(1.4rem, 3vw, 2rem); }
.final-cta-banner p { color: #cfd6dd; max-width: 560px; margin: 0 auto 26px; }

/* ---- Contact section ---- */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.contact-item { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius); padding: 22px; text-align: center; transition: transform 0.2s ease, box-shadow 0.2s ease; }
.contact-item:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.contact-item .feature-icon { margin: 0 auto 14px; }

/* ---- Premium form redesign ---- */
.form-split { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: start; }
.form-split-info { position: sticky; top: 90px; }
.form-split-info h1 { font-size: clamp(1.6rem, 3vw, 2.1rem); }
.form-split-info .form-side-media { border-radius: var(--radius-lg); overflow: hidden; min-height: 220px; margin-top: 24px; position: relative; }
.form-split-info .form-side-media img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
@media (max-width: 980px) {
    .form-split { grid-template-columns: 1fr; }
    .form-split-info { position: static; }
    .form-split-info .form-side-media { display: none; }
}

/* Visual category selector inside the lead form */
.category-select-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 12px; margin-bottom: 4px; }
.category-select-card {
    position: relative; border: 2px solid var(--color-border); border-radius: var(--radius); padding: 16px 12px; text-align: center;
    cursor: pointer; background: var(--color-bg); min-height: 96px; display: flex; flex-direction: column; align-items: center; justify-content: center;
    transition: border-color 0.15s ease, background 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}
.category-select-card:hover { border-color: rgba(200,16,46,0.45); transform: translateY(-2px); box-shadow: var(--shadow); }
.category-select-card input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; cursor: pointer; margin: 0; }
.category-select-card .csc-icon { width: 32px; height: 32px; margin: 0 auto 8px; color: var(--color-primary); }
.category-select-card .csc-icon svg { width: 100%; height: 100%; }
.category-select-card span.csc-label { font-size: 0.82rem; font-weight: 600; }
.category-select-card:has(input:checked), .category-select-card.is-selected { border-color: var(--color-primary); background: rgba(200,16,46,0.06); }
.category-select-card:has(input:focus-visible) { outline: 2px solid var(--color-primary); outline-offset: 2px; }

/* Sticky mobile CTA */
.mobile-sticky-cta { display: none; }
@media (max-width: 640px) {
    .mobile-sticky-cta {
        display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
        padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: var(--color-surface);
        border-top: 1px solid var(--color-border); box-shadow: 0 -6px 18px rgba(0,0,0,0.08);
    }
    body.has-sticky-cta { padding-bottom: 68px; }
}

@media (prefers-color-scheme: dark) {
    .category-select-card { background: #1c2129; }
    .investment-card, .feature-card, .contact-item { background: var(--color-surface); }
}

