:root {
    --navy: #1e2a6e;
    --gold: #f5a800;
    --gold-light: #fff8e6;
    --white: #ffffff;
    --light: #f4f5f7;
    --muted: #6c757d;
    --border: #e8e9eb;
}

html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

body {
    margin: 0;
    background: #fff;
    font-family: 'Segoe UI', system-ui, sans-serif;
}

/* ── Top bar ── */
.top-bar {
    background: var(--navy);
    color: rgba(255,255,255,0.85);
    font-size: 0.8rem;
    padding: 7px 0;
}

    .top-bar a {
        color: var(--gold);
        text-decoration: none;
        font-weight: 600;
    }

        .top-bar a:hover {
            text-decoration: underline;
        }

/* ── Navbar ── */
.navbar-main {
    background: #fff;
    border-bottom: 1px solid var(--border);
    padding: 0.6rem 0;
}

    .navbar-main .navbar-brand {
        display: flex;
        align-items: center;
        gap: 10px;
        text-decoration: none;
    }

.navbar-brand img {
    height: 100px; /* Shrinks the logo to fit the navbar */
    width: auto; /* Keeps the logo from stretching or squishing */
    object-fit: contain; /* Ensures the whole logo stays visible */
    border-radius: 4px; /* Optional: adds a slight rounded edge if it's a square image */
}

.navbar-brand-logo {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--navy);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    font-weight: 800;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.navbar-brand-text {
    line-height: 1.2;
}

    .navbar-brand-text .brand-name {
        display: block;
        font-weight: 700;
        color: var(--navy);
        font-size: 1rem;
    }

    .navbar-brand-text .brand-sub {
        display: block;
        font-size: 0.7rem;
        color: var(--muted);
        text-transform: uppercase;
        letter-spacing: 0.08em;
    }

.navbar-main .nav-link {
    color: var(--navy) !important;
    font-weight: 500;
    font-size: 0.9rem;
    padding: 0.4rem 0.8rem !important;
    position: relative;
}

    .navbar-main .nav-link:hover, .navbar-main .nav-link.active {
        color: var(--gold) !important;
    }

.btn-book-mot {
    background: var(--gold);
    color: var(--navy) !important;
    font-weight: 700;
    font-size: 0.85rem;
    padding: 0.45rem 1.2rem;
    border-radius: 5px;
    border: none;
    text-decoration: none;
    transition: background 0.2s, transform 0.1s;
}

    .btn-book-mot:hover {
        background: #e09600;
        transform: translateY(-1px);
    }

/* ── Hero ── */
.hero-section {
    padding: 4rem 0 3rem;
    background: #fff;
    border-bottom: 1px solid var(--border);
}

.hero-eyebrow {
    color: var(--gold);
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 1rem;
}

    .hero-eyebrow::before {
        content: '';
        width: 24px;
        height: 2px;
        background: var(--gold);
    }

.hero-title {
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1.15;
    color: var(--navy);
    margin-bottom: 0.3rem;
}

    .hero-title span {
        color: var(--gold);
    }

.hero-subtitle {
    color: var(--muted);
    font-size: 1rem;
    margin-bottom: 2rem;
    max-width: 440px;
}

.btn-hero-primary {
    background: var(--gold);
    color: var(--navy);
    font-weight: 700;
    padding: 0.7rem 1.6rem;
    border-radius: 5px;
    border: none;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.95rem;
    transition: background 0.2s;
}

    .btn-hero-primary:hover {
        background: #e09600;
        color: var(--navy);
    }

.btn-hero-secondary {
    background: transparent;
    color: var(--navy);
    font-weight: 600;
    padding: 0.7rem 1.6rem;
    border-radius: 5px;
    border: 2px solid var(--border);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    font-size: 0.95rem;
    transition: border-color 0.2s;
}

    .btn-hero-secondary:hover {
        border-color: var(--navy);
        color: var(--navy);
    }

.hero-image-box {
    background: var(--light);
    border-radius: 12px;
    height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border);
    overflow: hidden;
}

    .hero-image-box img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 12px;
    }

.hero-image-placeholder {
    text-align: center;
    color: var(--muted);
}

    .hero-image-placeholder .logo-circle {
        width: 80px;
        height: 80px;
        border-radius: 50%;
        background: var(--navy);
        color: var(--gold);
        font-weight: 800;
        font-size: 1.2rem;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 auto 1rem;
    }

.hero-image-box .carousel,
.hero-image-box .carousel-inner,
.hero-image-box .carousel-item {
    height: 100%;
}

    .hero-image-box .carousel-item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.hero-image-box .carousel-control-prev,
.hero-image-box .carousel-control-next {
    width: 10%;
}

.hero-image-box .carousel-indicators {
    margin-bottom: 0.5rem;
}

    .hero-image-box .carousel-indicators button {
        width: 8px;
        height: 8px;
        border-radius: 50%;
    }

/* ── Stats bar ── */
.stats-bar {
    background: var(--navy);
    padding: 1.2rem 0;
}

.stat-item {
    text-align: center;
    color: white;
}

    .stat-item .stat-val {
        font-weight: 800;
        font-size: 1rem;
        color: var(--gold);
    }

    .stat-item .stat-lbl {
        font-size: 0.78rem;
        color: rgba(255,255,255,0.7);
    }

/* ── Section labels ── */
.section-eyebrow {
    color: var(--gold);
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.4rem;
}

.section-heading {
    font-size: 1.9rem;
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 0;
}

.section-underline {
    width: 36px;
    height: 3px;
    background: var(--gold);
    border-radius: 2px;
    margin: 0.6rem 0 2rem;
}

/* ── Service icon tabs ── */
.service-tab {
    text-align: center;
    cursor: pointer;
    padding: 0.5rem;
}

.service-tab-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: 2px solid var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin: 0 auto 0.5rem;
    transition: background 0.2s;
}

.service-tab:hover .service-tab-icon,
.service-tab.active .service-tab-icon {
    background: var(--gold);
}

.service-tab span {
    font-size: 0.78rem;
    color: var(--navy);
    font-weight: 500;
}
/* ── Service cards touch up ── */
/* Homepage — services cards section */
.service-cards-section {
    background: var(--light);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

/* Services page — main content area */
.services-content-section {
    background: var(--light);
}
/* ── Service cards (homepage 6) ── */
.service-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 1.5rem;
    height: 100%;
    transition: box-shadow 0.2s, border-color 0.2s;
    position: relative;
}

    .service-card:hover {
        box-shadow: 0 4px 20px rgba(30,42,110,0.1);
        border-color: var(--gold);
    }

    .service-card.featured {
        border: 2px solid var(--gold);
        background: var(--gold-light);
    }

    .service-card .badge-popular {
        position: absolute;
        top: -1px;
        left: -1px;
        background: var(--gold);
        color: var(--navy);
        font-size: 0.65rem;
        font-weight: 700;
        padding: 3px 10px;
        border-radius: 9px 0 9px 0;
        text-transform: uppercase;
        letter-spacing: 0.05em;
    }

    .service-card .card-name {
        font-weight: 600;
        color: var(--navy);
        font-size: 0.95rem;
    }

    .service-card .card-price {
        font-size: 1.5rem;
        font-weight: 800;
        color: var(--gold);
        margin: 0.3rem 0;
    }

        .service-card .card-price span {
            font-size: 0.85rem;
            font-weight: 500;
            color: var(--muted);
        }

    .service-card .card-desc {
        font-size: 0.82rem;
        color: var(--muted);
        margin-bottom: 1rem;
    }

    .service-card .card-bullets {
        list-style: none;
        padding: 0;
        margin: 0 0 1.2rem;
    }

        .service-card .card-bullets li {
            font-size: 0.82rem;
            color: #444;
            padding: 2px 0;
            display: flex;
            align-items: flex-start;
            gap: 6px;
        }

            .service-card .card-bullets li::before {
                content: '';
                width: 7px;
                height: 7px;
                border-radius: 50%;
                background: var(--gold);
                margin-top: 5px;
                flex-shrink: 0;
            }

.btn-card {
    display: block;
    text-align: center;
    padding: 0.5rem;
    border: 1px solid var(--border);
    border-radius: 6px;
    color: var(--navy);
    font-size: 0.82rem;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s, border-color 0.2s;
}

    .btn-card:hover, .service-card.featured .btn-card {
        background: var(--navy);
        color: white;
        border-color: var(--navy);
    }

/* ── Why us ── */
.why-item {
    text-align: center;
    padding: 1rem;
}

.why-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    display: block;
}

.why-item h6 {
    font-weight: 700;
    color: var(--gold);
    font-size: 0.85rem;
    margin-bottom: 0.25rem;
}

.why-item p {
    font-size: 0.8rem;
    color: var(--muted);
    margin: 0;
}

/* ── CTA Banner ── */
.cta-banner {
    background: var(--gold);
    padding: 2.5rem 0;
}

    .cta-banner h2 {
        font-weight: 800;
        color: var(--navy);
        font-size: 1.6rem;
        margin-bottom: 0.3rem;
    }

    .cta-banner p {
        color: var(--navy);
        opacity: 0.8;
        font-size: 0.9rem;
        margin: 0;
    }

.btn-cta-navy {
    background: var(--navy);
    color: white !important;
    font-weight: 700;
    padding: 0.7rem 1.8rem;
    border-radius: 5px;
    text-decoration: none;
    font-size: 0.95rem;
    white-space: nowrap;
    transition: background 0.2s;
}

    .btn-cta-navy:hover {
        background: #151e52;
    }

/* ── Footer ── */
.site-footer {
    background: var(--navy);
    color: rgba(255,255,255,0.6);
    padding: 1.5rem 0;
    font-size: 0.82rem;
}

    .site-footer a {
        color: rgba(255,255,255,0.6);
        text-decoration: none;
    }

        .site-footer a:hover {
            color: var(--gold);
        }

    .site-footer .footer-links {
        display: flex;
        gap: 1.5rem;
    }

/* ── Services page ── */
.services-hero {
    background: var(--navy);
    padding: 3rem 0 2.5rem;
    color: white;
}

    .services-hero h1 {
        font-weight: 800;
        font-size: 2.2rem;
        color: white;
    }

    .services-hero p {
        color: rgba(255,255,255,0.7);
        font-size: 0.9rem;
        margin: 0;
    }

.filter-tabs {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

.filter-tab {
    padding: 0.4rem 1.1rem;
    border-radius: 20px;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    border: 1px solid rgba(255,255,255,0.3);
    color: rgba(255,255,255,0.8);
    background: transparent;
    transition: all 0.2s;
}

    .filter-tab:hover, .filter-tab.active {
        background: var(--gold);
        color: var(--navy);
        border-color: var(--gold);
    }

.services-section-title {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--navy);
    padding-bottom: 0.6rem;
    border-bottom: 2px solid var(--border);
    margin-bottom: 1.5rem;
}

.sp-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 1.4rem;
    height: 100%;
    transition: box-shadow 0.2s;
}

    .sp-card:hover {
        box-shadow: 0 4px 16px rgba(30,42,110,0.09);
    }

    .sp-card .sp-header {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        margin-bottom: 0.3rem;
    }

    .sp-card .sp-name {
        font-weight: 700;
        color: var(--navy);
        font-size: 0.95rem;
    }

    .sp-card .sp-duration {
        font-size: 0.75rem;
        color: var(--muted);
        margin-bottom: 0.8rem;
    }

    .sp-card .sp-price {
        font-size: 1.3rem;
        font-weight: 800;
        color: var(--gold);
    }

    .sp-card .sp-bullets {
        list-style: none;
        padding: 0;
        margin: 0.8rem 0 1.2rem;
    }

        .sp-card .sp-bullets li {
            font-size: 0.8rem;
            color: #444;
            padding: 2px 0;
            display: flex;
            align-items: flex-start;
            gap: 6px;
        }

            .sp-card .sp-bullets li::before {
                content: '';
                width: 6px;
                height: 6px;
                border-radius: 50%;
                background: var(--gold);
                margin-top: 5px;
                flex-shrink: 0;
            }

.btn-sp {
    display: block;
    text-align: center;
    padding: 0.5rem;
    border: 1px solid var(--border);
    border-radius: 6px;
    color: var(--navy);
    font-size: 0.8rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
}

    .btn-sp:hover {
        background: var(--navy);
        color: white;
        border-color: var(--navy);
    }
/* Servicing table */
.servicing-table {
    width: 100%;
    border-collapse: collapse;
}

    .servicing-table th {
        background: var(--navy);
        color: white;
        font-size: 0.78rem;
        font-weight: 600;
        padding: 0.7rem 1rem;
        text-transform: uppercase;
        letter-spacing: 0.05em;
    }

    .servicing-table td {
        padding: 0.75rem 1rem;
        border-bottom: 1px solid var(--border);
        font-size: 0.88rem;
    }

    .servicing-table tr:last-child td {
        border-bottom: none;
    }

    .servicing-table tr:hover td {
        background: var(--light);
    }

    .servicing-table .td-price {
        color: var(--gold);
        font-weight: 700;
    }

.note-box {
    background: var(--gold-light);
    border: 1px solid var(--gold);
    border-radius: 8px;
    padding: 0.9rem 1.2rem;
    font-size: 0.82rem;
    color: var(--navy);
}

/* Contact page */

.contact-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 2rem;
}

.contact-item {
    display: flex;
    gap: 15px;
    margin-bottom: 1.5rem;
    align-items: flex-start;
}

    .contact-item span {
        font-size: 1.5rem;
    }

    .contact-item a {
        color: var(--navy);
        text-decoration: none;
        font-weight: 600;
    }

.contact-map {
    overflow: hidden;
    border-radius: 12px;
    border: 1px solid var(--border);
    height: 100%;
    min-height: 450px;
}

    .contact-map iframe {
        width: 100%;
        height: 100%;
        border: none;
    }

.contact-form-card {
    max-width: 850px;
    margin: auto;
    background: white;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 2rem;
}

.form-control {
    border: 1px solid var(--border);
    padding: 0.8rem;
}

    .form-control:focus {
        border-color: var(--gold);
        box-shadow: none;
    }
/* ── Contact page ── */
.contact-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 2px 12px rgba(0,0,0,0.07);
    height: 100%;
}

.contact-item {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border);
    font-size: 0.9rem;
    color: var(--muted);
    line-height: 1.6;
}

    .contact-item:last-of-type {
        border-bottom: none;
    }

    .contact-item strong {
        color: var(--navy);
    }

    .contact-item a {
        color: var(--navy);
        text-decoration: none;
    }

        .contact-item a:hover {
            color: var(--gold);
        }

.contact-map {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.07);
    height: 100%;
    min-height: 450px;
}

    .contact-map iframe {
        display: block;
    }

.contact-form-card {
    max-width: 680px;
    margin: 0 auto;
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 2px 12px rgba(0,0,0,0.07);
}

/* ── Social links ── */
.social-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 14px;
    border-radius: 6px;
    color: white !important;
    text-decoration: none;
    font-size: 0.82rem;
    font-weight: 600;
    transition: opacity 0.2s, transform 0.1s;
}

    .social-link:hover {
        opacity: 0.88;
        transform: translateY(-1px);
    }

/* ── Footer social ── */
.footer-social {
    display: flex;
    gap: 10px;
}

    .footer-social a {
        width: 34px;
        height: 34px;
        border-radius: 6px;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: opacity 0.2s;
    }

        .footer-social a:hover {
            opacity: 0.8;
        }

/* ── Contact info rows ── */
.contact-info-row {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--border);
}

.contact-info-icon {
    font-size: 1.1rem;
    width: 28px;
    flex-shrink: 0;
    padding-top: 1px;
}

.contact-info-label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--muted);
    margin-bottom: 2px;
}

.contact-info-value {
    font-size: 0.9rem;
    color: var(--navy);
    line-height: 1.6;
}

.contact-info-link {
    text-decoration: none;
    font-weight: 600;
}

    .contact-info-link:hover {
        color: var(--gold);
    }

/* ── Dark mode toggle button ── */
.dark-toggle {
    background: none;
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 4px 10px;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.2s;
    line-height: 1;
}

    .dark-toggle:hover {
        background: var(--light);
    }

/* ══════════════════════════════════════
   DARK MODE
   ══════════════════════════════════════ */
[data-theme="dark"] {
    --navy: #4a6fa5;
    --gold: #f5a800;
    --light: #1e1e2e;
    --border: #3a3a4e;
    --muted: #a0a0b8;
    --white: #1a1a2a;
}

    [data-theme="dark"] body {
        background: #13131f;
        color: #e0e0f0;
    }

    /* Top bar stays dark in both modes */
    [data-theme="dark"] .top-bar {
        background: #0d0d1a;
    }

    /* Navbar */
    [data-theme="dark"] .navbar-main {
        background: #1a1a2a;
        border-bottom-color: #3a3a4e;
    }

        [data-theme="dark"] .navbar-main .nav-link {
            color: #e0e0f0 !important;
        }

            [data-theme="dark"] .navbar-main .nav-link:hover {
                color: var(--gold) !important;
            }

    [data-theme="dark"] .brand-name {
        color: #e0e0f0 !important;
    }

    [data-theme="dark"] .brand-sub {
        color: #a0a0b8 !important;
    }

    [data-theme="dark"] .dark-toggle {
        border-color: #3a3a4e;
        color: #e0e0f0;
    }

        [data-theme="dark"] .dark-toggle:hover {
            background: #2a2a3e;
        }

    /* Hero */
    [data-theme="dark"] .hero-section {
        background: #13131f;
        border-bottom-color: #3a3a4e;
    }

    [data-theme="dark"] .hero-title {
        color: #e0e0f0;
    }

    [data-theme="dark"] .hero-image-box {
        background: #1e1e2e;
        border-color: #3a3a4e;
    }

    /* Stats bar stays navy */
    [data-theme="dark"] .stats-bar {
        background: #0d0d1a;
    }

    /* Service cards section */
    [data-theme="dark"] .service-cards-section {
        background: #1a1a2a;
        border-color: #3a3a4e;
    }

    [data-theme="dark"] .service-card {
        background: #1e1e2e;
        border-color: #3a3a4e;
    }

        [data-theme="dark"] .service-card .card-name {
            color: #e0e0f0;
        }

        [data-theme="dark"] .service-card .card-bullets li {
            color: #c0c0d8;
        }

    [data-theme="dark"] .btn-card {
        color: #e0e0f0;
        border-color: #3a3a4e;
    }

        [data-theme="dark"] .btn-card:hover {
            background: var(--gold);
            color: #13131f;
            border-color: var(--gold);
        }

    /* Section headings */
    [data-theme="dark"] .section-heading {
        color: #e0e0f0;
    }

    [data-theme="dark"] .section-eyebrow {
        color: var(--gold);
    }

    /* Why section */
    [data-theme="dark"] .why-item p {
        color: #a0a0b8;
    }

    /* Services page */
    [data-theme="dark"] .services-hero {
        background: #0d0d1a;
    }

    [data-theme="dark"] .services-content-section {
        background: #13131f;
    }

    [data-theme="dark"] .services-section-title {
        color: #e0e0f0;
        border-bottom-color: #3a3a4e;
    }

    [data-theme="dark"] .sp-card {
        background: #1e1e2e;
        border-color: #3a3a4e;
    }

        [data-theme="dark"] .sp-card .sp-name {
            color: #e0e0f0;
        }

        [data-theme="dark"] .sp-card .sp-bullets li {
            color: #c0c0d8;
        }

    [data-theme="dark"] .btn-sp {
        color: #e0e0f0;
        border-color: #3a3a4e;
    }

        [data-theme="dark"] .btn-sp:hover {
            background: var(--gold);
            color: #13131f;
            border-color: var(--gold);
        }

    [data-theme="dark"] .servicing-table td {
        border-bottom-color: #3a3a4e;
        color: #c0c0d8;
    }

    [data-theme="dark"] .servicing-table tr:hover td {
        background: #2a2a3e;
    }

    [data-theme="dark"] .note-box {
        background: #1e1e2e;
        border-color: var(--gold);
        color: #e0e0f0;
    }

    /* Booking form */
    [data-theme="dark"] .card {
        background: #1e1e2e;
        border-color: #3a3a4e;
    }

    [data-theme="dark"] .form-control,
    [data-theme="dark"] .form-select {
        background: #2a2a3e;
        border-color: #3a3a4e;
        color: #e0e0f0;
    }

        [data-theme="dark"] .form-control::placeholder {
            color: #6060808;
        }

        [data-theme="dark"] .form-control:focus,
        [data-theme="dark"] .form-select:focus {
            background: #2a2a3e;
            border-color: var(--gold);
            color: #e0e0f0;
            box-shadow: none;
        }

    [data-theme="dark"] .booking-type-card {
        background: #1e1e2e;
        border-color: #3a3a4e;
        color: #e0e0f0;
    }

        [data-theme="dark"] .booking-type-card.active {
            background: #2a2a1e;
            border-color: var(--gold);
        }

    /* Contact page */
    [data-theme="dark"] .contact-card {
        background: #1e1e2e;
        border-color: #3a3a4e;
    }

    [data-theme="dark"] .contact-info-row {
        border-bottom-color: #3a3a4e;
    }

    [data-theme="dark"] .contact-info-value {
        color: #e0e0f0;
    }

    [data-theme="dark"] .contact-map {
        border-color: #3a3a4e;
    }

    [data-theme="dark"] .contact-form-card {
        background: #1e1e2e;
        border-color: #3a3a4e;
    }

    /* General backgrounds */
    [data-theme="dark"] section[style*="background:#f8f9fa"],
    [data-theme="dark"] section[style*="background:var(--light)"] {
        background: #13131f !important;
    }

    [data-theme="dark"] .py-4[style*="background:var(--light)"] {
        background: #1a1a2a !important;
    }

    /* Input group */
    [data-theme="dark"] .input-group-text {
        background: #2a2a3e;
        border-color: #3a3a4e;
        color: #e0e0f0;
    }

    /* Alerts */
    [data-theme="dark"] .alert-success {
        background: #1a2e1a;
        border-color: #2a4a2a;
        color: #90c890;
    }

    [data-theme="dark"] .alert-danger {
        background: #2e1a1a;
        border-color: #4a2a2a;
        color: #c89090;
    }

    /* HR lines */
    [data-theme="dark"] hr {
        border-color: #3a3a4e;
    }

    /* Text colours */
    [data-theme="dark"] .text-muted {
        color: #a0a0b8 !important;
    }

    [data-theme="dark"] .fw-semibold,
    [data-theme="dark"] .fw-bold,
    [data-theme="dark"] h1, [data-theme="dark"] h2,
    [data-theme="dark"] h3, [data-theme="dark"] h4,
    [data-theme="dark"] h5, [data-theme="dark"] h6 {
        color: #e0e0f0;
    }

    /* Badge */
    [data-theme="dark"] .badge.bg-warning {
        color: #13131f !important;
    }

/* ── Hero carousel ── */
.hero-carousel {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(30,42,110,0.15);
    height: 380px;
}

.hero-carousel-img {
    width: 100%;
    height: 380px;
    object-fit: cover;
    object-position: center;
    display: block;
}

.hero-carousel .carousel-control-prev,
.hero-carousel .carousel-control-next {
    width: 10%;
    opacity: 0;
    transition: opacity 0.2s;
}

.hero-carousel:hover .carousel-control-prev,
.hero-carousel:hover .carousel-control-next {
    opacity: 0.8;
}

.hero-carousel .carousel-control-prev-icon,
.hero-carousel .carousel-control-next-icon {
    background-color: rgba(30,42,110,0.6);
    border-radius: 50%;
    padding: 1rem;
    background-size: 50%;
}

.hero-carousel .carousel-indicators {
    margin-bottom: 0.5rem;
}

    .hero-carousel .carousel-indicators button {
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background-color: rgba(255,255,255,0.6);
        border: none;
        transition: background-color 0.2s;
    }

        .hero-carousel .carousel-indicators button.active {
            background-color: #f5a800;
            width: 24px;
            border-radius: 4px;
        }

/* Responsive height */
@media (max-width: 768px) {
    .hero-carousel,
    .hero-carousel-img {
        height: 240px;
    }
}

/* Dark mode */
[data-theme="dark"] .hero-carousel {
    box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}