/*================================================
iptp CSS - Bookings, Quotes, Index Styles
==================================================*/
/* ===== RESET & BASE ===== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Dark background (kept as requested) */
    --bg-body: #0f1115;
    --bg-card: #1a1d24;
    --bg-card-hover: #242832;
    --bg-section-alt: #14171c;
    --bg-table-header: #0b0d10;

    --text-primary: #f1f5f9;
    --text-secondary: #cbd5e1;
    --text-muted: #94a3b8;
    --text-light: #ffffff;

    /* New color scheme */
    --primary-blue: #4163ae;
    --accent-green: #8cc63f;
    --accent-green-light: #a4d96a;
    --accent-green-dim: rgba(140, 198, 63, 0.12);
    --secondary-cyan: #4fc8e9;
    --secondary-cyan-dim: rgba(79, 200, 233, 0.12);

    --success: #8cc63f;   /* using green as success */
    --danger: #e74c3c;

    --border-color: #2d313a;
    --shadow-sm: 0 4px 20px rgba(0, 0, 0, 0.4);
    --shadow-md: 0 12px 48px rgba(0, 0, 0, 0.5);
    --shadow-lg: 0 24px 64px rgba(0, 0, 0, 0.6);

    --radius: 16px;
    --radius-sm: 8px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-body);
    color: var(--text-secondary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}
.inline-container {
    display: flex; /* Aligns items in a horizontal row */
    align-items: center; /* Vertically centers the text with the image */
    gap: 10px; /* Optional: Adds a 10px gap between the image and text */
}
/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 36px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.05rem;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    background: var(--bg-card);
    color: var(--text-primary);
    box-shadow: var(--shadow-sm);
}

.btn-primary {
    background: var(--accent-green);
    color: #0b0d10;
    box-shadow: 0 8px 28px rgba(140, 198, 63, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 40px rgba(140, 198, 63, 0.45);
    background: var(--accent-green-light);
}

.btn-outline {
    background: transparent;
    color: var(--text-secondary);
    border: 2px solid rgba(255, 255, 255, 0.15);
    box-shadow: none;
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--accent-green);
    color: #fff;
    transform: translateY(-3px);
}

.btn-secondary {
    background: var(--bg-card);
    color: var(--text-primary);
    box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
    background: var(--bg-card-hover);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

/* ===== HEADER / NAV ===== */
.header {
    position: fixed;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    padding-bottom: 100px;
    transition: var(--transition);
    background: transparent;
}

.header.scrolled {
    background: rgba(15, 17, 21, 0.92);
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
    padding: 10px 0;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--text-light);
    letter-spacing: -0.5px;
}

.logo i {
    color: var(--primary-blue);
    font-size: 1.8rem;
}

.logo span {
    color: var(--accent-green);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
}

.nav-links a {
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-green);
    transition: var(--transition);
}

.nav-links a:hover {
    color: #fff;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-cta {
    background: var(--accent-green);
    color: #0b0d10 !important;
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 600;
}

.nav-cta::after {
    display: none !important;
}

.nav-cta:hover {
    background: var(--accent-green-light) !important;
    color: #0b0d10 !important;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 4px;
}

.hamburger span {
    width: 28px;
    height: 3px;
    background: #fff;
    border-radius: 4px;
    transition: var(--transition);
}

/* ===== HERO ===== */


/*.hero::before {
    content: '';
    position: absolute;
    top: -40%;
    right: -20%;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(140, 198, 63, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}*/

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(79, 200, 233, 0.04) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    font-size: 3.6rem;
    font-weight: 800;
    line-height: 1.1;
    color: var(--text-light);
    letter-spacing: -1.5px;
    margin-top: 50px;
    margin-bottom: 20px;
}

.hero-content h1 .highlight {
    color: var(--accent-green);
    position: relative;
}

.hero-content h1 .highlight::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 0;
    right: 0;
    height: 8px;
    background: var(--accent-green-dim);
    border-radius: 4px;
    z-index: -1;
}

.hero-sub {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 500px;
    margin-bottom: 36px;
    line-height: 1.7;
}

.hero-stats {
    display: flex;
    gap: 40px;
    margin-top: 40px;
    padding-top: 32px;
    border-top: 1px solid var(--border-color);
}

.hero-stats .stat {
    display: flex;
    flex-direction: column;
}

.hero-stats .stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--accent-green);
}

.hero-stats .stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

/* Hero Visual */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 40px 36px;
    width: 100%;
    max-width: 440px;
    box-shadow: var(--shadow-lg);
}

.hero-card .card-title {
    color: var(--text-light);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.hero-card .card-title i {
    color: var(--secondary-cyan);
}

.comparison-row {
    display: flex;
    justify-content: space-between;
    padding: 14px 0;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.comparison-row:last-child {
    border-bottom: none;
}

.comparison-row .label {
    font-weight: 500;
}

.comparison-row .value {
    font-weight: 600;
}

.comparison-row .value.green {
    color: var(--accent-green);
}

.comparison-row .value.gold {
    color: var(--accent-green);
}

.comparison-row .value.muted {
    color: var(--text-muted);
}

.hero-card .savings-badge {
    display: inline-block;
    background: var(--accent-green-dim);
    color: var(--accent-green);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-top: 16px;
    border: 1px solid rgba(140, 198, 63, 0.15);
}

/* ===== SECTION COMMON ===== */
.section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 56px;
}

.section-header .tag {
    display: inline-block;
    background: var(--accent-green-dim);
    color: var(--accent-green);
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 6px 18px;
    border-radius: 50px;
    margin-bottom: 12px;
}

.section-header h2 {
    font-size: 2.8rem;
    font-weight: 800;
    letter-spacing: -1px;
    color: var(--text-light);
    line-height: 1.15;
}

.section-header h2 .highlight {
    color: var(--accent-green);
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.15rem;
    margin-top: 12px;
}

/* ===== BENEFITS ===== */
.benefits {
    background: var(--bg-section-alt);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.benefit-card {
    background: var(--bg-card);
    border-radius: var(--radius);
    padding: 36px 28px;
    transition: var(--transition);
    border: 1px solid transparent;
}

.benefit-card:hover {
    transform: translateY(-6px);
    border-color: var(--accent-green);
    box-shadow: var(--shadow-md);
    background: var(--bg-card-hover);
}

.benefit-card .icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: var(--accent-green-dim);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: var(--accent-green);
    margin-bottom: 18px;
}

.benefit-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 8px;
}

.benefit-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ===== COMPARISON TABLE ===== */
.comparison-section {
    background: var(--bg-body);
}

.comparison-table-wrap {
    background: var(--bg-card);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
}

.comparison-table thead {
    background: var(--bg-table-header);
    color: var(--text-light);
}

.comparison-table th {
    padding: 18px 24px;
    text-align: left;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 2px solid var(--border-color);
}

.comparison-table th:first-child {
    width: 28%;
}

.comparison-table td {
    padding: 18px 24px;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-secondary);
}

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

.comparison-table tbody tr:hover {
    background: rgba(255, 255, 255, 0.02);
}

.comparison-table .check {
    color: var(--accent-green);
    font-weight: 700;
}

.comparison-table .times {
    color: var(--danger);
    font-weight: 700;
}

.comparison-table .highlight-row td {
    background: var(--accent-green-dim);
    border-left: 3px solid var(--accent-green);
}

.comparison-table .price-tag {
    font-weight: 700;
    color: var(--accent-green);
    font-size: 1.05rem;
}

.comparison-table .price-tag .savings {
    color: var(--secondary-cyan);
    font-size: 0.8rem;
    font-weight: 600;
    display: block;
}

/* ===== NEWS ===== */
.news {
    background: var(--bg-section-alt);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.news-card {
    padding: 32px 24px;
    border-radius: var(--radius);
    border: 1px solid var(--border-color);
    transition: var(--transition);
    background: var(--bg-card);
}

.news-card:hover {
    border-color: var(--secondary-cyan);
    box-shadow: var(--shadow-sm);
    transform: translateY(-4px);
    background: var(--bg-card-hover);
}

.news-card .icon {
    font-size: 2rem;
    color: var(--secondary-cyan);
    margin-bottom: 14px;
}

.news-card h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 6px;
}

.news-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.7;
}

/* ===== SERVICES ===== */
.services {
    background: var(--bg-body);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.service-card {
    padding: 32px 24px;
    border-radius: var(--radius);
    border: 1px solid var(--border-color);
    transition: var(--transition);
    background: var(--bg-card);
}

.service-card:hover {
    border-color: var(--secondary-cyan);
    box-shadow: var(--shadow-sm);
    transform: translateY(-4px);
    background: var(--bg-card-hover);
}

.service-card .icon {
    font-size: 2rem;
    color: var(--secondary-cyan);
    margin-bottom: 14px;
}

.service-card h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 6px;
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.7;
}

/* ===== TESTIMONIALS ===== */
.testimonials {
    background: var(--bg-section-alt);
    color: var(--text-secondary);
}

.testimonials .section-header h2 {
    color: var(--text-light);
}

.testimonials .section-header p {
    color: var(--text-muted);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.testimonial-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 32px 28px;
    transition: var(--transition);
}

.testimonial-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--accent-green);
    transform: translateY(-4px);
}

.testimonial-card .stars {
    color: var(--accent-green);
    font-size: 0.95rem;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.testimonial-card blockquote {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-secondary);
    font-style: italic;
    margin-bottom: 16px;
}

.testimonial-card .author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testimonial-card .author .avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--accent-green-dim);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--accent-green);
    font-size: 1.1rem;
}

.testimonial-card .author .name {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-light);
}

.testimonial-card .author .title {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ===== CTA ===== */
.cta-section {
    background: var(--bg-body);
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -30%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(140, 198, 63, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

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

.cta-section h2 {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--text-light);
    letter-spacing: -1px;
    margin-bottom: 16px;
}

.cta-section h2 .highlight {
    color: var(--accent-green);
}

.cta-section p {
    color: var(--text-muted);
    font-size: 1.15rem;
    max-width: 560px;
    margin: 0 auto 36px;
}

.cta-section .btn-group {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--bg-section-alt);
    padding: 48px 0 32px;
    border-top: 1px solid var(--border-color);
    text-align: left;   
}

.footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 24px;
}

.footer .copy {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.footer .socials {
    display: flex;
    gap: 18px;
}

.footer .socials a {
    color: var(--text-muted);
    font-size: 1.2rem;
    transition: var(--transition);
}

.footer .socials a:hover {
    color: var(--accent-green);
}

.footer .legal {
    display: flex;
    gap: 24px;
    color: var(--text-muted);
    font-size: 0.8rem;
}

.footer .legal a {
    transition: var(--transition);
}

.footer .legal a:hover {
    color: var(--accent-green);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .portalLogin {
        display: none;
    }
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content h1 {
        font-size: 2.8rem;
    }

    .hero-sub {
        margin: 0 auto 32px;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-card {
        max-width: 100%;
    }

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

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

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

@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        background: var(--bg-card);
        padding: 24px;
        border-radius: var(--radius);
        position: absolute;
        top: 70px;
        right: 16px;
        min-width: 220px;
        box-shadow: var(--shadow-lg);
        border: 1px solid var(--border-color);
    }

    .nav-links.open {
        display: flex;
    }

    .hamburger {
        display: flex;
    }

    .hero-content h1 {
        font-size: 2.2rem;
    }

    .hero {
        padding: 100px 0 60px;
    }

    .hero-stats {
        flex-wrap: wrap;
        gap: 24px;
        justify-content: center;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .comparison-table-wrap {
        overflow-x: auto;
    }

    .comparison-table {
        font-size: 0.85rem;
        min-width: 600px;
    }

    .comparison-table th,
    .comparison-table td {
        padding: 12px 16px;
    }

    .cta-section h2 {
        font-size: 2rem;
    }

    .footer .container {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.8rem;
    }

    .hero-sub {
        font-size: 1rem;
    }

    .btn {
        padding: 14px 24px;
        font-size: 0.95rem;
    }

    .hero-card {
        padding: 24px 20px;
    }

    .section {
        padding: 56px 0;
    }
}
/* ----- COOKIE NOTICE (bottom bar) ----- */
.cookie-notice {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #1e293b;        /* dark slate */
    color: #f1f5f9;
    padding: 1rem 1.5rem;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.8rem 1.5rem;
    z-index: 999;
    font-size: 0.95rem;
    backdrop-filter: blur(2px);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    transition: opacity 0.25s ease, transform 0.25s ease;
}

/* hidden state – disappears smoothly */
.cookie-notice.hidden {
    opacity: 0;
    transform: translateY(12px);
    pointer-events: none;      /* prevent accidental clicks while hidden */
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.cookie-notice__text {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.4rem 0.8rem;
}

.cookie-notice__text svg {
    flex-shrink: 0;
}

.cookie-notice__message {
    max-width: 600px;
    line-height: 1.5;
}

.cookie-notice__message strong {
    font-weight: 600;
    color: #e2e8f0;
}

.cookie-notice__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.6rem;
    flex-shrink: 0;
}

/* button – primary accept */
.cookie-btn {
    background: #38bdf8;
    border: none;
    color: #0b1e33;
    font-weight: 600;
    padding: 0.55rem 1.5rem;
    border-radius: 60px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: background 0.2s, transform 0.1s;
    box-shadow: 0 4px 8px rgba(56, 189, 248, 0.2);
    letter-spacing: 0.3px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.cookie-btn:hover {
    background: #7dd3fc;
    transform: scale(0.97);
}

.cookie-btn:active {
    transform: scale(0.94);
}

/* secondary link (optional) */
.cookie-link {
    color: #cbd5e1;
    text-decoration: underline;
    text-underline-offset: 2px;
    font-size: 0.9rem;
    padding: 0.3rem 0.6rem;
    border-radius: 40px;
    transition: background 0.15s, color 0.15s;
    cursor: pointer;
    background: transparent;
    border: none;
    font-weight: 450;
}

.cookie-link:hover {
    color: #f1f5f9;
    background: rgba(255, 255, 255, 0.05);
}

/* small screen adjustments */
@media (max-width: 550px) {
    .cookie-notice {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 1.2rem 1rem;
        gap: 0.8rem;
    }

    .cookie-notice__text {
        justify-content: center;
    }

    .cookie-notice__actions {
        width: 100%;
        justify-content: center;
    }

    .cookie-btn {
        width: 100%;
        max-width: 220px;
    }
}
/* ---------- SCROLL-UP BUTTON (Dark background optimized) ---------- */
#scrollUpBtn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 58px;
    height: 58px;
    background: #1a73e8; /* vibrant blue that pops on dark */
    color: #ffffff;
    border: none;
    border-radius: 50%;
    font-size: 26px;
    cursor: pointer;
    box-shadow: 0 4px 24px rgba(26, 115, 232, 0.5),
                0 0 0 1px rgba(255, 255, 255, 0.06);
    transition: opacity 0.35s ease,
                transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1),
                background 0.25s ease,
                box-shadow 0.3s ease;
    opacity: 0;
    visibility: hidden;
    transform: translateY(24px) scale(0.92);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(2px);
}

/* Visible state */
#scrollUpBtn.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

/* Hover state – glows beautifully on dark bg */
#scrollUpBtn:hover {
    background: #2b7df5;
    transform: scale(1.08);
    box-shadow: 0 6px 32px rgba(26, 115, 232, 0.7),
                0 0 0 2px rgba(255, 255, 255, 0.08);
}

/* Active (click) state */
#scrollUpBtn:active {
    transform: scale(0.90);
    background: #0f5bb5;
    box-shadow: 0 2px 12px rgba(26, 115, 232, 0.4);
}

/* Focus ring for accessibility (visible on dark bg) */
#scrollUpBtn:focus-visible {
    outline: 3px solid #ffb74d;
    outline-offset: 4px;
}

.sourceRates {
    font-size: 10px;
    margin-top: 10px;
}

/* === main counter display === */
.counterCard {
    transition: box-shadow 0.2s;
}
.counter {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.1rem;
    font-size: 2rem;
    font-weight: 800;
    color: var(--accent-green);
}

/* number container – holds the digit string */
.number-wrap {
    display: inline-block;
    min-width: 7.5rem;   /* enough space for "1000" */
    text-align: center;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    transform-origin: center center;
}

/* the actual number (updated via JS) */
#number {
    display: inline-block;
    transition: transform 0.2s ease;
    will-change: transform;
}

/* plus sign – hidden until counter reaches 1000 */
.plus {
    display: inline-block;
    font-size: 2rem;
    font-weight: 800;
    color: var(--accent-green);
    margin-left: -10px;
    opacity: 0;
    transform: scale(0.6);
    transition: opacity 0.25s ease, transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    will-change: transform, opacity;
    text-shadow: 0 0 12px rgba(100, 180, 255, 0.3);
}

/* when .plus is visible (triggered by JS) */
.plus.visible {
    opacity: 1;
    transform: scale(1);
}

/* === zoom animation (applied via class on .number-wrap) === */
.number-wrap.zoom-pulse {
    animation: zoomPop 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes zoomPop {
    0% {
        transform: scale(1);
    }
    30% {
        transform: scale(1.18);
    }
    70% {
        transform: scale(0.92);
    }
    100% {
        transform: scale(1);
    }
}

/* subtle extra glow on the whole counter while zooming */
.counter.zoom-glow .number-wrap {
    filter: drop-shadow(0 0 14px rgba(120, 200, 255, 0.5));
}
.counter.zoom-glow {
    transition: filter 0.2s;
}

/* ===== PAGE CONTENT (just for demo) ===== */
.page-content {
    text-align: center;
    max-width: 600px;
    padding: 40px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.page-content h1 {
    font-size: 2rem;
    color: #1a1a2e;
    margin-bottom: 12px;
}

.page-content p {
    color: #555;
    line-height: 1.6;
    margin-bottom: 20px;
}

/*Quote Generator CSS*/
.btnQuote-primary {
    background: #0b2a3b;
    border: none;
    padding: 1rem 2.8rem;
    border-radius: 60px;
    color: white;
    font-weight: 600;
    font-size: 1.2rem;
    letter-spacing: 0.3px;
    box-shadow: 0 8px 18px rgba(11,42,59,0.25);
    transition: 0.2s;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    border: 1px solid rgba(255,255,255,0.2);
}
.btnQuote-primary i {
    font-size: 1.3rem;
    transition: transform 0.2s;
}
.btnQuote-primary:hover {
    background: #143e54;
    transform: scale(1.02) translateY(-2px);
    box-shadow: 0 12px 28px rgba(11,42,59,0.35);
}
.btnQuote-primary:hover i {
    transform: rotate(8deg) scale(1.1);
}
.btnQuote-primary:active {
    transform: scale(0.97);
}

/* ===== DARK THEME MODALS ===== */
.modalQuote-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    animation: fadeIn 0.35s ease forwards;
}
.modalQuote-overlay.active {
    display: flex;
}
@keyframes fadeIn {
    0% { opacity: 0; transform: scale(0.96); }
    100% { opacity: 1; transform: scale(1); }
}
@keyframes slideUp {
    0% { opacity: 0; transform: translateY(40px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* Dark modal box */
.modalQuote-box {
    background: #1a2630;
    max-width: 580px;
    width: 94%;
    border-radius: 12px;
    padding: 2.2rem 2.5rem 2.8rem;
    box-shadow: 0 40px 70px rgba(0,0,0,0.6);
    animation: slideUp 0.4s cubic-bezier(0.2, 0.9, 0.3, 1.1) forwards;
    position: relative;
    border: 1px solid rgba(255,255,255,0.08);
    color: #e8edf2;
    max-height: 600px;      /* 1. Limit the height */
    overflow-y: auto;       /* 2. Add vertical scrollbar only when needed */
}
.modalQuote-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.8rem;
    border-bottom: 2px solid rgba(255,255,255,0.08);
    padding-bottom: 0.9rem;
}
.modalQuote-header h2 {
    font-weight: 600;
    color: #f0f4f8;
    font-size: 1.8rem;
    display: flex;
    align-items: center;
    gap: 8px;
}
.modalQuote-header h2 i {
    color: #8cc63f;
    font-size: 1.6rem;
}
.close-btn {
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: #8aa3b5;
    transition: 0.15s;
    padding: 0 6px;
    line-height: 1;
}
.close-btn:hover {
    color: #f0f4f8;
    transform: rotate(90deg);
}
.close-btn2 {
    position: absolute;
    top: 5px;
    right: 5px;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: #8aa3b5;
    transition: 0.15s;
    padding: 0 6px;
    line-height: 1;
}
.close-btn2:hover {
    color: #f0f4f8;
    transform: rotate(90deg);
}
/* Dark form elements */
.question-group {
    margin-bottom: 1.6rem;
    animation: slideUp 0.3s ease forwards;
    opacity: 0;
    animation-delay: calc(0.05s * var(--i, 0));
}
.question-group label {
    display: block;
    font-weight: 600;
    color: #b8d0de;
    margin-bottom: 0.4rem;
    font-size: 0.98rem;
    letter-spacing: 0.2px;
}
.question-group label i {
    margin-right: 6px;
    color: #8cc63f;
}
.question-group select,
.question-group input {
    width: 100%;
    padding: 0.8rem 1.2rem;
    border-radius: 40px;
    border: 1.5px solid #2d3f4d;
    background: #0f171f;
    font-size: 0.95rem;
    transition: 0.2s;
    outline: none;
    color: #e8edf2;
    font-weight: 500;
    appearance: auto;
}
.question-group select option {
    background: #1a2630;
    color: #e8edf2;
}
.question-group select:focus,
.question-group input:focus {
    border-color: #8cc63f;
    box-shadow: 0 0 0 4px rgba(91, 155, 191, 0.2);
    background: #0f171f;
}
.row-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.quote-result-area {
    margin-top: 2rem;
    background: #0f171f;
    border-radius: 60px;
    padding: 0.8rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid #2d3f4d;
    transition: 0.2s;
}
.quote-result-area .label {
    font-weight: 500;
    color: #b8d0de;
}
.quote-result-area .price {
    font-size: 1.8rem;
    font-weight: 700;
    color: #f0f4f8;
    letter-spacing: -0.5px;
    filter: blur(8px);
}
.quote-result-area .price i {
    font-size: 1.4rem;
    color: #8cc63f;
    margin-right: 6px;
}

.generate-btn {
    background: #2a4b5e;
    border: none;
    width: 100%;
    padding: 1rem;
    border-radius: 60px;
    color: white;
    font-weight: 700;
    font-size: 1.2rem;
    margin-top: 0.8rem;
    transition: 0.2s;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    border: 1px solid rgba(255,255,255,0.06);
}
.generate-btn:hover {
    background: #3a5f76;
    transform: scale(1.01);
    box-shadow: 0 6px 16px rgba(0,0,0,0.4);
}
.generate-btn:active {
    transform: scale(0.97);
}
.footer-note {
    margin-top: 0.8rem;
    font-size: 0.8rem;
    color: #6a899e;
    opacity: 0.8;
    text-align: center;
}

/* ----- MODAL 2 (email) dark ----- */
.email-modal .modalQuote-box {
    max-width: 460px;
    text-align: center;
}
.email-modal .modalQuote-header h2 i {
    color: #8cc63f;
}
.email-input-group {
    margin: 1.8rem 0 1.2rem;
}
.email-input-group input {
    width: 100%;
    padding: 1rem 1.5rem;
    border-radius: 60px;
    border: 1.5px solid #2d3f4d;
    font-size: 1rem;
    transition: 0.2s;
    outline: none;
    background: #0f171f;
    color: #e8edf2;
}
.email-input-group2 input {
    width: 300px;
    padding: 1rem 1.5rem;
    border-radius: 5px;
    border: 1.5px solid #2d3f4d;
    font-size: 1rem;
    transition: 0.2s;
    outline: none;
    background: #0f171f;
    color: #e8edf2;
}
.email-input-group input::placeholder {
    color: #6a899e;
}
.email-input-group input:focus {
    border-color: #8cc63f;
    box-shadow: 0 0 0 4px rgba(91, 155, 191, 0.2);
}
.send-btn {
    background: #2a4b5e;
    border: none;
    padding: 1rem 2rem;
    border-radius: 60px;
    color: white;
    font-weight: 700;
    font-size: 1.1rem;
    width: 100%;
    transition: 0.2s;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 1px solid rgba(255,255,255,0.06);
}
.send-btn:hover {
    background: #3a5f76;
    transform: scale(1.01);
}
.send-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}
.email-status {
    margin-top: 0.8rem;
    font-size: 0.9rem;
    color: #8cc63f;
    min-height: 1.8rem;
}
.email-status.error {
    color: #e07b7b;
}
.email-status.success {
    color: #6bc48a;
}

.email-modal .footer-note {
    color: #6a899e;
}

@media (max-width: 500px) {
    .card { padding: 2rem 1.5rem; }
    .modalQuote-box { padding: 1.8rem 1.2rem; }
    .row-2col { grid-template-columns: 1fr; }
    .quote-result-area { flex-direction: column; padding: 1rem; }
}



/*Bookings Calendar*/

.modal-overlay.active {
    display: flex !important;
}

@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.95) translateY(20px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

.modal-content {
    background: #1a1a1a;
    border-radius: 16px;
    max-width: 1100px;
    width: 100%;
    padding: 30px;
    border: 1px solid #2a2a2a;
    box-shadow: 0 20px 60px rgba(0,0,0,0.8), 0 0 80px rgba(140,198,63,0.05);
    position: relative;
    margin: 20px auto;
    max-height: none;
}

.modal-close {
    position: sticky;
    top: 0;
    float: right;
    background: none;
    border: none;
    color: #888;
    font-size: 2rem;
    cursor: pointer;
    transition: 0.3s;
    z-index: 10;
    padding: 0 10px;
    line-height: 1;
    font-weight: 300;
}

.modal-close:hover {
    color: #fff;
    transform: rotate(90deg);
}

/* Scroll to form animation */
.form-container.highlight {
    animation: highlightPulse 0.6s ease;
}

@keyframes highlightPulse {
    0% { box-shadow: 0 0 0 0 rgba(79,200,233,0.4); }
    50% { box-shadow: 0 0 30px 10px rgba(79,200,233,0.1); }
    100% { box-shadow: 0 0 0 0 rgba(79,200,233,0); }
}

/* Reuse calendar styles */
.modal-content h1 {
    font-size: 25px;
    color: #8cc63f;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    text-shadow: 0 0 30px rgba(140,198,63,0.15);
}

.modal-content .subtitle {
    color: #a0a0a0;
    margin-bottom: 25px;
    border-left: 4px solid #4fc8e9;
    padding-left: 15px;
}

.modal-content .nav { display: flex; justify-content: space-between; align-items: center; margin: 20px 0; }
.modal-content .nav a {
    text-decoration: none;
    background: #2d2d2d;
    padding: 8px 18px;
    border-radius: 30px;
    color: #e0e0e0;
    font-weight: 600;
    transition: 0.3s;
    border: 1px solid #3a3a3a;
}
.modal-content .nav a:hover { background: #8cc63f; color: #1a1a1a; border-color: #8cc63f; }
.modal-content .month-label { font-size: 1.5rem; font-weight: 700; color: #4fc8e9; }

.modal-content .legend { display: flex; gap: 20px; flex-wrap: wrap; margin-bottom: 15px; font-size: 0.85rem; }
.modal-content .legend-item { display: flex; align-items: center; gap: 6px; color: #b0b0b0; }
.modal-content .legend-color { width: 20px; height: 20px; border-radius: 4px; display: inline-block; }

.modal-content .calendar { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; margin-bottom: 25px; }
.modal-content .day-header {
    font-weight: 700;
    color: #4fc8e9;
    text-align: center;
    padding: 10px 0;
    background: #252525;
    border-radius: 8px;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.modal-content .day-cell {
    background: #252525;
    border-radius: 10px;
    min-height: 90px;
    padding: 8px;
    transition: 0.2s;
    cursor: default;
    border: 2px solid transparent;
    position: relative;
}
.modal-content .day-cell.available {
    background: #1e2a1e;
    border-color: #8cc63f;
    cursor: pointer;
}
.modal-content .day-cell.available:hover {
    background: #2a3a2a;
    transform: scale(1.03);
    box-shadow: 0 0 25px rgba(140,198,63,0.15);
}
.modal-content .day-cell.booked {
    background: #2a1e1e;
    border-color: #c63f3f;
    opacity: 0.8;
}
.modal-content .day-cell.blocked {
    background: #1e1e1e;
    border-color: #333;
    opacity: 0.6;
}
.modal-content .day-cell.blocked-weekend {
    background: #1a1a1a;
    border-color: #2a2a2a;
    opacity: 0.5;
}
.modal-content .day-cell.other-month { opacity: 0.25; }
.modal-content .day-cell .date-num {
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 4px;
    color: #e0e0e0;
}
.modal-content .day-cell.other-month .date-num { color: #666; }
.modal-content .day-cell .slot-info {
    font-size: 0.7rem;
    color: #8cc63f;
    background: rgba(140,198,63,0.15);
    border-radius: 12px;
    padding: 2px 8px;
    display: inline-block;
    margin-top: 2px;
}
.modal-content .day-cell.booked .slot-info {
    background: rgba(198,63,63,0.2);
    color: #c63f3f;
}
.modal-content .day-cell.blocked .slot-info,
.modal-content .day-cell.blocked-weekend .slot-info {
    background: rgba(255,255,255,0.05);
    color: #666;
}
.modal-content .day-cell .blocked-reason {
    font-size: 0.6rem;
    color: #666;
    margin-top: 2px;
    font-style: italic;
}
.modal-content .day-cell .weekend-label {
    font-size: 0.6rem;
    color: #555;
    margin-top: 2px;
}

.modal-content .booking-area {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 20px;
    padding-top: 25px;
    border-top: 2px solid #2a2a2a;
}
.modal-content .form-container {
    flex: 1;
    min-width: 280px;
    transition: 0.3s;
    padding: 15px;
    border-radius: 12px;
    background: #1e1e1e;
}
.modal-content .form-container h2 { color: #4fc8e9; margin-bottom: 15px; font-size: 1.2rem; }
.modal-content .form-group { margin-bottom: 15px; }
.modal-content .form-group label {
    display: block;
    font-weight: 600;
    color: #b0b0b0;
    margin-bottom: 4px;
    font-size: 0.9rem;
}
.modal-content .form-group input,
.modal-content .form-group textarea,
.modal-content .form-group select {
    width: 100%;
    padding: 10px 14px;
    border: 2px solid #333;
    border-radius: 8px;
    font-size: 1rem;
    transition: 0.3s;
    background: #252525;
    color: #e0e0e0;
}
.modal-content .form-group input:focus,
.modal-content .form-group textarea:focus,
.modal-content .form-group select:focus {
    outline: none;
    border-color: #4fc8e9;
    box-shadow: 0 0 0 3px rgba(79,200,233,0.15);
    background: #2a2a2a;
}
.modal-content .form-group input::placeholder,
.modal-content .form-group textarea::placeholder {
    color: #666;
}
.modal-content .form-group textarea { resize: vertical; min-height: 80px; }
.modal-content .form-group select option { background: #252525; color: #e0e0e0; }

.modal-content .btn {
    background: #8cc63f;
    color: #1a1a1a;
    border: none;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s;
    font-size: 1rem;
}
.modal-content .btn:hover {
    background: #7ab536;
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(140,198,63,0.25);
}

.modal-content .msg {
    padding: 12px 18px;
    border-radius: 8px;
    margin-bottom: 15px;
    font-weight: 500;
}
.modal-content .msg.success {
    background: rgba(140,198,63,0.15);
    color: #8cc63f;
    border: 1px solid rgba(140,198,63,0.3);
}
.modal-content .msg.error {
    background: rgba(198,63,63,0.15);
    color: #c63f3f;
    border: 1px solid rgba(198,63,63,0.3);
}

.modal-content .info-box {
    flex: 0.8;
    min-width: 200px;
    background: #1e1e1e;
    padding: 20px;
    border-radius: 12px;
    border: 1px solid #2a2a2a;
}
.modal-content .info-box h3 { color: #4fc8e9; font-size: 1rem; }
.modal-content .info-box ul {
    list-style: none;
    padding: 0;
    line-height: 2;
    color: #b0b0b0;
}
.modal-content .info-box ul li { padding: 4px 0; }
.modal-content .info-box .divider {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #2a2a2a;
    font-size: 0.8rem;
    color: #666;
}

.modal-content .footer {
    text-align: center;
    margin-top: 30px;
    color: #444;
    font-size: 0.85rem;
}

.modal-content .admin-link {
    float: right;
    background: #252525;
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    text-decoration: none;
    color: #b0b0b0;
    border: 1px solid #333;
    transition: 0.3s;
}
.modal-content .admin-link:hover {
    background: #8cc63f;
    color: #1a1a1a;
    border-color: #8cc63f;
}

@media (max-width: 700px) {
    .modal-content { padding: 15px; }
    .modal-content .calendar { gap: 4px; }
    .modal-content .day-cell { min-height: 70px; padding: 4px; font-size: 0.8rem; }
    .homepage h1 { font-size: 2.0rem; }
    .modal-overlay { padding: 10px; align-items: flex-start; }
}

/* Admin panel styles inside modal */
.modal-content .admin-panel { margin-top: 30px; padding-top: 20px; border-top: 2px solid #2a2a2a; }
.modal-content .admin-panel h2 { color: #4fc8e9; }

.modal-content .admin-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}
.modal-content .admin-table th {
    background: #252525;
    padding: 10px;
    text-align: left;
    color: #4fc8e9;
    border-bottom: 2px solid #333;
}
.modal-content .admin-table td {
    padding: 10px;
    border-bottom: 1px solid #2a2a2a;
    color: #c0c0c0;
}
.modal-content .admin-table tr:hover { background: #252525; }

.modal-content .badge {
    padding: 2px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    display: inline-block;
}
.modal-content .badge.sent { background: rgba(140,198,63,0.2); color: #8cc63f; }
.modal-content .badge.pending { background: rgba(198,158,63,0.2); color: #c69e3f; }

.modal-content .admin-actions { display: flex; gap: 6px; flex-wrap: wrap; }
.modal-content .admin-actions a {
    text-decoration: none;
    padding: 2px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    transition: 0.2s;
    font-weight: 600;
}
.modal-content .admin-actions .resend { background: #8cc63f; color: #1a1a1a; }
.modal-content .admin-actions .resend:hover { background: #7ab536; }
.modal-content .admin-actions .delete { background: #c63f3f; color: #fff; }
.modal-content .admin-actions .delete:hover { background: #a83333; }

.modal-content .blackout-form {
    background: #1e1e1e;
    padding: 15px;
    border-radius: 10px;
    margin: 15px 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: flex-end;
    border: 1px solid #2a2a2a;
}
.modal-content .blackout-form .form-group { margin-bottom: 0; flex: 1; min-width: 150px; }
.modal-content .blackout-form .form-group label { font-size: 0.8rem; color: #888; }
.modal-content .blackout-form .form-group input { padding: 8px 12px; }
.modal-content .blackout-form h3 { color: #8cc63f; font-size: 1rem; width: 100%; margin-bottom: 5px; }

.modal-content .btn-danger { background: #c63f3f; color: #fff; }
.modal-content .btn-danger:hover { background: #a83333; }
.modal-content .btn-success { background: #8cc63f; color: #1a1a1a; }
.modal-content .btn-success:hover { background: #7ab536; }
.modal-content .btn-sm { padding: 6px 14px; font-size: 0.8rem; }

.modal-content .blackout-list {
    margin-bottom: 20px;
    background: #1e1e1e;
    padding: 12px;
    border-radius: 8px;
    border: 1px solid #2a2a2a;
}
.modal-content .blackout-list strong { color: #4fc8e9; }
.modal-content .blackout-list ul {
    list-style: none;
    padding: 0;
    margin-top: 5px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.modal-content .blackout-list ul li {
    background: #252525;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    color: #b0b0b0;
    border: 1px solid #333;
}
.modal-content .blackout-list ul li a {
    color: #c63f3f;
    text-decoration: none;
    margin-left: 5px;
    font-weight: 600;
}
.modal-content .blackout-list ul li a:hover { color: #ff5555; }

/* Scroll indicator for booking form */
.scroll-hint {
    text-align: center;
    margin: 10px 0;
    color: #4fc8e9;
    font-size: 0.85rem;
    opacity: 0.7;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-8px); }
    60% { transform: translateY(-4px); }
}

.day-cell.selected {
    border-color: #4fc8e9 !important;
    box-shadow: 0 0 25px rgba(79,200,233,0.2) !important;
}

/* Misc styles */
.mt-10 {
    margin-top: 10px;
}
.text-tiny {
    font-size: 12px;
    line-height: 16px;
    color: #919190;
}

/*--------------------------------------------------------------------------*/

/* ============================================ */
/* TOPIC CLUSTER LISTS                          */
/* ============================================ */
.topic-cluster {
    margin-bottom: 2.5rem;
}

.topic-cluster h3 {
    color: var(--primary);
    font-size: 1.35rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--border);
}

.topic-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.topic-link {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 20px;
    font-size: 0.9rem;
    color: var(--text);
    transition: all 0.2s ease;
}

.topic-link:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    text-decoration: none;
}

/* ============================================ */
/* LOCATION GRID                                */
/* ============================================ */
.location-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.location-card {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
    text-align: center;
}

.location-card h4 {
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.location-card a {
    font-size: 0.9rem;
    color: var(--accent);
}

/* ============================================ */
/* INDUSTRY SECTION                             */
/* ============================================ */
.industry-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.industry-card {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--bg-white);
    border: 1px solid var(--border);
}

.industry-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.industry-card-content {
    padding: 1.5rem;
}

.industry-card h4 {
    color: var(--primary);
    margin-bottom: 0.5rem;
}

/* ============================================ */
/* TESTIMONIALS                                 */
/* ============================================ */
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial {
    background: var(--bg-white);
    border-left: 4px solid var(--accent);
    padding: 2rem;
    border-radius: 0 var(--radius) var(--radius) 0;
    box-shadow: var(--shadow);
}

.testimonial blockquote {
    font-style: italic;
    color: var(--text);
    margin-bottom: 1rem;
    font-size: 1.05rem;
}

.testimonial cite {
    font-style: normal;
    font-weight: 600;
    color: var(--primary);
}

.testimonial span {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* ============================================ */
/* FAQ SECTION                                  */
/* ============================================ */
.faq-item {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 1rem;
    overflow: hidden;
}

.faq-item h3 {
    padding: 1.25rem 1.5rem;
    background: var(--bg);
    color: var(--primary);
    font-size: 1.1rem;
}

.faq-item p {
    padding: 1.25rem 1.5rem;
    color: var(--text-light);
}
/* ============================================ */
/* FEATURE CARDS                                */
/* ============================================ */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.card {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem;
    transition: all 0.3s ease;
}

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

.card h3 {
    color: var(--primary);
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.card p {
    color: var(--text-light);
    margin-bottom: 1rem;
}

.card a {
    font-weight: 600;
    color: var(--accent);
}

.hideDIV {
    height: 0;
    overflow: auto;
    transition: height 1s ease;
}
.moreBTN {
    cursor: pointer;
    margin-top: 50px;
}
.sectionMarginTop {
    margin-top: 100px;
}

.hideDIV.expanded {
    height: 400px;
    overflow-y: auto;
}
        /* -- FULL-SCREEN BANNER -- */
        .banner {
            position: relative;
            width: 100%;
            height: 100vh;
            /* full viewport height */
            min-height: 100vh;
            overflow: hidden;
            /* clips the video to the container */
            background: #1a1f2a;
            /* fallback while video loads */;
        }

        /* -- background video -- */
        .banner-video {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            object-fit: cover;
            /* covers the entire banner, crops if needed */
            object-position: center center;
            display: block;
            pointer-events: none;
            /* so clicks pass through to the overlay */;
        }
        .bannerText {
            position: absolute;
            bottom: 50px;
        }

        /* -- dark overlay for text contrast -- */
        .banner-overlay {
            position: absolute;
            inset: 0;
            background: rgba(0, 0, 0, 0.2);
            /* dark overlay for readability */
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 2;
            padding: 2rem;
            text-align: center;
        }
                /* -- unmute / mute button (top-right corner) -- */
        .sound-toggle {
            position: absolute;
            top: 1.5rem;
            right: 1.5rem;
            z-index: 10;
            background: rgba(0, 0, 0, 0.6);
            backdrop-filter: blur(4px);
            border: 1px solid rgba(255, 255, 255, 0.2);
            border-radius: 50%;
            width: 48px;
            height: 48px;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            color: #fff;
            transition: all 0.3s ease;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
        }

        .sound-toggle:hover {
            background: rgba(255, 255, 255, 0.2);
            transform: scale(1.08);
        }

        .sound-toggle svg {
            width: 24px;
            height: 24px;
            fill: currentColor;
            stroke: currentColor;
            stroke-width: 1.5;
            stroke-linecap: round;
            stroke-linejoin: round;
        }
@media (min-width: 501px) {
        .hero-video {
            height: auto; /* maintains aspect ratio */
            width: 550px;
            margin-top: -150px;
        }
}
@media (max-width: 500px) {
        .hero-video {
            height: auto; /* maintains aspect ratio */
            width: 200px;
        }
}


        /* === FIXED COUNTDOWN BAR (CENTERED) === */
        .countdown-bar {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            background: #4060A8;
            padding: 2px 24px;
            display: flex;
            align-items: center;
            justify-content: center;   /* ? CENTERED */
            box-shadow: 0 4px 20px rgba(0,0,0,0.3);
            z-index: 1000;
            flex-wrap: wrap;
            gap: 12px;
        }

        .countdown-left {
            display: flex;
            align-items: center;
            gap: 12px;
            flex-wrap: wrap;
            justify-content: center;   /* ? CENTERED */
        }

        .sale-badge {
            background: #88C038;
            color: #111216;
            padding: 4px 10px;
            border-radius: 4px;
            font-weight: 700;
            font-size: 11px;
            letter-spacing: 0.5px;
            text-transform: uppercase;
        }

        .countdown-label {
            color: #F8F8F8;
            font-size: 13px;
            font-weight: 500;
        }

        .countdown-display {
            display: flex;
            gap: 8px;
            align-items: center;
        }

        .time-box {
            background: #111216;
            border-radius: 6px;
            padding: 6px 10px;
            min-width: 36px;
            text-align: center;
            border: 1.5px solid #0078C0;
        }

        .time-box.seconds-box { border-color: #88C038; }

        .time-value {
            color: #F8F8F8;
            font-size: 13px;            /* ? 13px TIMER */
            font-weight: 700;
            line-height: 1;
            font-variant-numeric: tabular-nums;
        }

        .time-box.seconds-box .time-value { color: #88C038; }

        .time-label {
            color: #38BDF8;
            font-size: 8px;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            margin-top: 2px;
        }

        .time-separator {
            color: #F8F8F8;
            font-size: 13px;
            font-weight: 700;
            line-height: 1;
        }

        .shop-btn {
            background: #0080D0;
            color: #F8F8F8;
            border: none;
            border-radius: 6px;
            padding: 8px 20px;
            font-size: 13px;
            font-weight: 700;
            cursor: pointer;
            white-space: nowrap;
            box-shadow: 0 2px 8px rgba(0,128,208,0.4);
            transition: all 0.2s ease;
        }

        .shop-btn:hover { background: #0078C0; transform: translateY(-1px); }

        /* === PAGE CONTENT === */
        .page-content {
            padding-top: 80px;
            padding: 80px 24px 40px;
            max-width: 800px;
            margin: 0 auto;
        }

        .product-card {
            background: #111216;
            border-radius: 16px;
            padding: 32px;
            border: 1px solid #575B63;
        }

        .product-layout {
            display: flex;
            gap: 24px;
            flex-wrap: wrap;
        }

        .product-image { flex: 1; min-width: 100px; cursor: pointer;  }

        .image-placeholder {
            background: #1a1c22;
            border-radius: 12px;
            height: 200px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #575B63;
            font-size: 14px;
            border: 1px dashed #575B63;
        }

        .product-details { flex: 2; min-width: 280px; }

        .previewBook {
            position: relative;
            top: 200px;
            left: 130px;
        }
        .previewBook:hover {
            color:#88C038;
        }
        .limited-badge {
            color: #88C038;
            font-size: 12px;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 1px;
            margin-bottom: 8px;
        }

        .product-title {
            color: #F8F8F8;
            font-size: 24px;
            font-weight: 700;
            margin: 0 0 12px 0;
        }

        .product-desc {
            color: #dddddd;
            font-size: 12px;
            line-height: 18px;
            margin: 0 0 20px 0;
        }

        .product-stats {
            color: #dddddd;
            font-size: 11px;
            margin-top: 10px;
            margin-left: 5px;
        }


        .price-row {
            display: flex;
            align-items: baseline;
            gap: 12px;
            margin-bottom: 20px;
            flex-wrap: wrap;
        }

        .price-current { color: #F8F8F8; font-size: 32px; font-weight: 700; }
        .price-old { color: #575B63; font-size: 18px; text-decoration: line-through; }

        .save-badge {
            background: #88C038;
            color: #111216;
            padding: 4px 10px;
            border-radius: 4px;
            font-size: 13px;
            font-weight: 700;
        }

        .action-buttons { display: flex; gap: 12px; flex-wrap: wrap; }

        /* === RESPONSIVE === */
        @media (max-width: 600px) {
            .countdown-bar { padding: 10px 16px; }
            .countdown-left { justify-content: center; width: 100%; }
            .shop-btn { width: 100%; text-align: center; }
            .page-content { padding-top: 130px; }
        }

#loaderPlaceholder {
position: absolute;
width: 60px;
height: 60px;
z-index: 999;
}

#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.9);
    z-index: 999999;
}
#preloader .spinner {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    filter: drop-shadow(0 0 10px rgba(34, 104, 224, 0.8)) drop-shadow(0 0 30px rgba(34, 104, 224, 0.8)) drop-shadow(0 0 50px rgba(34, 104, 224, 0.8));
    animation: spinner 0.9s linear infinite;
    animation: colorchange 0.9s linear infinite;
}

@keyframes spinner {
    from {
        -webkit-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        -o-transform: rotate(0deg);
    }
    to {
        -webkit-transform: rotate(360deg);
        -moz-transform: rotate(360deg);
        -ms-transform: rotate(360deg);
        -o-transform: rotate(360deg);
    }
}
@keyframes colorchange {
    0%   {border: 5px solid #2268e0; border-top-color: rgba(0, 0, 0, 0.2); transform: rotate(0deg);}
    25%  {border: 5px solid #8bc53f; border-top-color: rgba(0, 0, 0, 0.2);}
    50%  {border: 5px solid #8bc53f; border-top-color: rgba(0, 0, 0, 0.2);}
    100% {border: 5px solid #2268e0; border-top-color: rgba(0, 0, 0, 0.2); transform: rotate(360deg);}

}

.emailWorkbookMsg {
    color: red;
}
.fontSize12 {
    font-size: 12px;
}

        /* trigger button */
        .open-carousel-btn {
            background: #1e293b;
            color: white;
            border: none;
            padding: 1rem 2.5rem;
            font-size: 1.3rem;
            font-weight: 600;
            border-radius: 60px;
            box-shadow: 0 12px 28px rgba(0,0,0,0.2);
            cursor: pointer;
            transition: 0.2s;
            letter-spacing: 0.3px;
        }

        .open-carousel-btn:hover {
            background: #0f172a;
            transform: scale(1.02);
            box-shadow: 0 18px 32px rgba(0,0,0,0.25);
        }

        .open-carousel-btn:active {
            transform: scale(0.96);
        }

        /* ---- MODAL (carousel overlay) ---- */
        .carousel-modal {
            display: none;                    /* hidden by default */
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            backdrop-filter: blur(6px);
            justify-content: center;
            align-items: center;
            z-index: 10000;
            padding: 1rem;
            animation: fadeIn 0.25s ease;
        }

        .carousel-modal.active {
            display: flex;                   /* shown when toggled */
        }

        @keyframes fadeIn {
            0% { opacity: 0; }
            100% { opacity: 1; }
        }

        /* modal content box */
        .modal-content {
            position: relative;
            max-width: 900px;
            width: 100%;
            background: transparent;
            border-radius: 28px;
            overflow: hidden;
            box-shadow: 0 30px 60px rgba(0,0,0,0.6);
            display: flex;
            flex-direction: column;
        }

        /* image wrapper (carousel track) */
        .carousel-track-wrapper {
            position: relative;
            width: 100%;
            background: #111;
            aspect-ratio: 16 / 10;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .carousel-track {
            display: flex;
            transition: transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
            width: 100%;
            height: 100%;
            will-change: transform;
        }

        .carousel-slide {
            min-width: 100%;
            height: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
            background: #1e1e1e;
        }

        .carousel-slide img {
            width: 100%;
            height: 100%;
            object-fit: contain;
            display: block;
            background: #0b0b0b;
            user-select: none;
        }

        /* navigation arrows */
        .carousel-btn {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            background: rgba(20, 20, 30, 0.6);
            backdrop-filter: blur(4px);
            border: none;
            color: white;
            font-size: 2.6rem;
            font-weight: 300;
            width: 54px;
            height: 54px;
            border-radius: 60px;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: 0.2s;
            box-shadow: 0 4px 14px rgba(0,0,0,0.3);
            z-index: 10;
            border: 1px solid rgba(255,255,255,0.1);
        }

        .carousel-btn:hover {
            background: rgba(255, 255, 255, 0.2);
            backdrop-filter: blur(6px);
            color: #fff;
        }

        .carousel-btn:active {
            transform: translateY(-50%) scale(0.92);
        }

        .carousel-btn.prev {
            left: 18px;
            padding-bottom: 5px;
        }

        .carousel-btn.next {
            right: 18px;
            padding-bottom: 5px;
        }

        /* dots / indicators */
        .carousel-indicators {
            display: flex;
            justify-content: center;
            gap: 12px;
            padding: 1.2rem 0.5rem;
            background: rgba(0, 0, 0, 0.6);
            backdrop-filter: blur(4px);
            flex-wrap: wrap;
        }

        .dot {
            width: 14px;
            height: 14px;
            border-radius: 30px;
            background: rgba(255, 255, 255, 0.25);
            border: none;
            cursor: pointer;
            transition: 0.25s;
            padding: 0;
            flex-shrink: 0;
            box-shadow: 0 0 0 1px rgba(255,255,255,0.05);
        }

        .dot.active {
            background: white;
            width: 34px;
            box-shadow: 0 0 12px rgba(255,255,240,0.5);
        }

        .dot:hover {
            background: rgba(255, 255, 255, 0.6);
        }

        /* close button (X) */
        .close-modal {
            position: absolute;
            top: 18px;
            right: 24px;
            font-size: 2.4rem;
            font-weight: 300;
            color: rgba(255, 255, 255, 0.75);
            background: transparent;
            border: none;
            cursor: pointer;
            z-index: 20;
            transition: 0.2s;
            line-height: 1;
            padding: 6px 12px;
            border-radius: 40px;
            backdrop-filter: blur(2px);
        }

        .close-modal:hover {
            color: white;
            background: rgba(255, 255, 255, 0.08);
            transform: scale(1.1);
        }

        /* small screens */
        @media (max-width: 640px) {
            .header {
                position: fixed;
                height: 100px;
                background: rgba(15, 17, 21, 0.92);
                backdrop-filter: blur(12px);
                box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
                padding: 10px 0;
            }
            .cssHeaderOffset1 {
                margin-top: 0px;
            }
            .cssHeaderOffset2 {
                top: 43px;
                margin-top: 60px;
            }
            .hero-content h1 {
                margin-top: 100px;
                margin-bottom: 20px;
            }
            .carousel-btn {
                width: 44px;
                height: 44px;
                font-size: 2rem;
            }
            .carousel-btn.prev { left: 8px; }
            .carousel-btn.next { right: 8px; }
            .close-modal {
                top: 12px;
                right: 16px;
                font-size: 2rem;
            }
            .modal-content {
                border-radius: 20px;
            }
            .dot {
                width: 12px;
                height: 12px;
            }
            .dot.active {
                width: 28px;
            }
        }

        /* optional caption / extra */
        .sr-only {
            position: absolute;
            width: 1px;
            height: 1px;
            padding: 0;
            margin: -1px;
            overflow: hidden;
            clip: rect(0,0,0,0);
            border: 0;
        }
        .cssHeaderOffset1 {
            margin-top: 0px;
        }
        .cssHeaderOffset2 {
            top: 43px;
        }
        .modalOffer-box {
            max-height: 500px;      /* 1. Limit the height */
        }

        /* splash card – dark gray to black gradient */
        .splash {
            width: 100%;
            margin-top: 50px;
            padding: 1rem 1rem;
            background: linear-gradient(145deg, #1a1d24 0%, #0a0a0a 100%);
            border-radius: 1.0rem;
            box-shadow: 0 25px 50px -10px rgba(0,0,0,0.9), inset 0 1px 2px rgba(255,255,255,0.06);
            transition: all 0.2s;
            backdrop-filter: blur(1px);
        }

        /* banner wrapper – masks the sliding content */
        .banner-wrapper {
            position: relative;
            overflow: hidden;
            border-radius: 2.5rem;
            background: rgba(0, 0, 0, 0.25);
            box-shadow: inset 0 8px 12px rgba(0,0,0,0.6);
            padding: 1.2rem 0;
            backdrop-filter: blur(2px);
            border: 1px solid rgba(255, 255, 255, 0.03);
        }

        /* the sliding track – infinite loop left?right */
        .banner-track {
            display: flex;
            align-items: center;
            gap: 3.5rem;
            width: max-content;
            animation: slideRight 42s linear infinite;
            padding: 0 1.5rem;
            will-change: transform;
        }

        /* each logo card – placeholder style */
        .logo-item {
            flex-shrink: 0;
            display: flex;
            align-items: center;
            justify-content: center;
            background: rgba(20, 20, 20, 0.5);
            backdrop-filter: blur(2px);
            padding: 0.9rem 2.2rem;
            border-radius: 1rem;
            border: 1px solid rgba(255, 255, 255, 0.04);
            box-shadow: 0 6px 14px rgba(0,0,0,0.5), inset 0 1px 1px rgba(255,255,255,0.02);
            transition: transform 0.2s;
            min-width: 140px;
            justify-content: center;
            text-align: center;
        }

        /* placeholder content: company name + subtle icon */
        .logo-placeholder {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 0.25rem;
            color: #d0d0d0;
            font-weight: 400;
            letter-spacing: 0.03em;
            text-shadow: 0 2px 3px rgba(0,0,0,0.5);
        }

        .logo-placeholder .brand-icon {
            font-size: 2.2rem;
            line-height: 1;
            filter: drop-shadow(0 2px 4px #00000066);
            opacity: 0.85;
        }

        .logo-placeholder .brand-name {
            font-size: 1rem;
            font-weight: 500;
            background: linear-gradient(180deg, #eee, #b0b0b0);
            -webkit-background-clip: text;
            background-clip: text;
            color: transparent;
            letter-spacing: 0.06em;
            text-transform: uppercase;
            font-family: 'Inter', system-ui, sans-serif;
        }

        /* small deco line under name */
        .logo-placeholder .brand-sub {
            font-size: 0.6rem;
            letter-spacing: 0.15em;
            color: #7a7a7a;
            text-transform: uppercase;
            margin-top: 2px;
            border-top: 1px solid rgba(255,255,255,0.06);
            padding-top: 4px;
            width: 80%;
            opacity: 0.6;
        }

        /* slow, smooth left-to-right animation */
        @keyframes slideRight {
            0% {
                transform: translateX(0%);
            }
            100% {
                transform: translateX(-50%);
            }
        }

        /* pause on hover – subtle interaction */
        .banner-wrapper:hover .banner-track {
            animation-play-state: paused;
        }

        /* responsive */
        @media (max-width: 680px) {
            .splash {
                padding: 1.5rem 1rem;
                border-radius: 2rem;
            }
            .logo-item {
                min-width: 100px;
                padding: 0.6rem 1.2rem;
            }
            .logo-placeholder .brand-icon {
                font-size: 1.6rem;
            }
            .logo-placeholder .brand-name {
                font-size: 0.8rem;
            }
            .banner-track {
                gap: 2rem;
                animation-duration: 32s;
            }
        }

        @media (prefers-reduced-motion: reduce) {
            .banner-track {
                animation-duration: 60s;
            }
        }

        /* extra polish – splash header (optional) */
        .splash-header {
            margin-bottom: 2rem;
            text-align: center;
        }
        .splash-header h2 {
            color: #b8b8b8;
            font-weight: 300;
            letter-spacing: 0.2em;
            font-size: 0.9rem;
            text-transform: uppercase;
            opacity: 0.5;
            border-bottom: 1px solid rgba(255,255,255,0.03);
            display: inline-block;
            padding-bottom: 0.5rem;
        }
    .stats-bar {
        display: flex;
        justify-content: center;
        gap: 2rem;
        margin-top: 1.5rem;
        flex-wrap: wrap;
    }
    .stat-pill {
        background: var(--bg-card);
        border: 1px solid var(--border);
        border-radius: 12px;
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }
    .stat-pill strong { color: var(--accent-green); font-size: 1.1rem; }

    .carousel-section { max-width: 1400px; margin: 2rem auto; padding: 0 1rem; }
    .carousel-container {
        position: relative;
        background: var(--bg-card);
        border: 1px solid var(--border);
        border-radius: 16px;
        overflow: hidden;
        box-shadow: var(--shadow);
    }
    .carousel-track { display: flex; transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1); }
    .carousel-slide {
        min-width: 100%;
        padding: 1.5rem;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .carousel-slide img {
        width: 100%;
        height: auto;
        max-height: 75vh;
        object-fit: contain;
        border-radius: 8px;
    }
    .slide-title {
        font-size: 1.3rem;
        font-weight: 600;
        margin-bottom: 1rem;
        color: var(--accent-lightblue);
    }
    .slide-counter {
        position: absolute;
        top: 1rem;
        right: 1.5rem;
        background: rgba(17,18,22,0.8);
        padding: 0.3rem 0.8rem;
        border-radius: 20px;
        font-size: 0.85rem;
        color: var(--text-muted);
        border: 1px solid var(--border);
    }
    .carousel-btn {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        background: rgba(17,18,22,0.85);
        border: 1px solid var(--border);
        color: var(--text-primary);
        width: 48px;
        height: 48px;
        border-radius: 50%;
        cursor: pointer;
        font-size: 1.4rem;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.2s ease;
        z-index: 10;
    }
    .carousel-btn:hover {
        background: var(--accent-blue);
        border-color: var(--accent-blue);
        transform: translateY(-50%) scale(1.1);
    }
    .carousel-btn.prev { left: 1rem; }
    .carousel-btn.next { right: 1rem; }
    .carousel-btn:disabled { opacity: 0.3; cursor: not-allowed; }
    .carousel-dots {
        display: flex;
        justify-content: center;
        gap: 0.5rem;
        padding: 1rem;
        background: var(--bg-card);
        border-top: 1px solid var(--border);
    }
    .dot {
        width: 10px;
        height: 10px;
        border-radius: 50%;
        background: var(--text-muted);
        cursor: pointer;
        transition: all 0.3s ease;
        border: none;
    }
    .dot.active { background: var(--accent-green); width: 28px; border-radius: 5px; }
    .dot:hover { background: var(--accent-lightblue); }
    .thumbnails {
        display: flex;
        gap: 0.5rem;
        padding: 1rem;
        overflow-x: auto;
        background: var(--bg-primary);
        border-top: 1px solid var(--border);
    }
    .thumb {
        min-width: 140px;
        height: 90px;
        border: 2px solid var(--border);
        border-radius: 8px;
        cursor: pointer;
        overflow: hidden;
        opacity: 0.5;
        transition: all 0.2s ease;
        background: var(--bg-card);
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 0.75rem;
        color: var(--text-muted);
        text-align: center;
        padding: 0.5rem;
    }
    .thumb:hover, .thumb.active { opacity: 1; border-color: var(--accent-blue); }
    .thumb.active { border-color: var(--accent-green); box-shadow: 0 0 12px rgba(136,192,56,0.3); }

    .summary-section { max-width: 1000px; margin: 3rem auto; padding: 0 1rem; }
    .summary-section h2 {
        font-size: 1.6rem;
        margin-bottom: 1.5rem;
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }
    .summary-section h2::before {
        content: '';
        display: inline-block;
        width: 4px;
        height: 28px;
        background: linear-gradient(180deg, var(--accent-blue), var(--accent-green));
        border-radius: 2px;
    }
    .accordion {
        border: 1px solid var(--border);
        border-radius: 12px;
        overflow: hidden;
        background: var(--bg-card);
        margin-bottom: 0.75rem;
    }
    .accordion-header {
        width: 100%;
        padding: 1rem 1.25rem;
        background: var(--bg-card);
        border: none;
        color: var(--text-primary);
        font-size: 1rem;
        font-weight: 600;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: space-between;
        transition: background 0.2s ease;
        text-align: left;
    }
    .accordion-header:hover { background: var(--bg-hover); }
    .accordion-header .chevron {
        transition: transform 0.3s ease;
        color: var(--accent-lightblue);
        font-size: 1.2rem;
    }
    .accordion.open .accordion-header .chevron { transform: rotate(180deg); }
    .accordion-body {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }
    .accordion.open .accordion-body { max-height: 2000px; }
    .accordion-content {
        padding: 0 1.25rem 1.25rem;
        color: var(--text-muted);
        font-size: 0.95rem;
    }
    .accordion-content strong { color: var(--accent-green); }
    .accordion-content ul { margin: 0.5rem 0 0.5rem 1.2rem; }
    .accordion-content li { margin-bottom: 0.4rem; }
    .metric-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1rem;
        margin-top: 1rem;
    }
    .metric-card {
        background: var(--bg-primary);
        border: 1px solid var(--border);
        border-radius: 10px;
        padding: 1rem;
        text-align: center;
    }
    .metric-card .value { font-size: 1.5rem; font-weight: 700; color: var(--accent-green); }
    .metric-card .label { font-size: 0.8rem; color: var(--text-muted); margin-top: 0.25rem; }
    .data-table {
        width: 100%;
        border-collapse: collapse;
        margin-top: 1rem;
        font-size: 0.9rem;
    }
    .data-table th {
        background: var(--bg-primary);
        color: var(--accent-lightblue);
        padding: 0.6rem 0.8rem;
        text-align: left;
        font-weight: 600;
        border-bottom: 2px solid var(--border);
    }
    .data-table td {
        padding: 0.5rem 0.8rem;
        border-bottom: 1px solid var(--border);
        color: var(--text-muted);
    }
    .data-table tr:hover td { background: var(--bg-hover); color: var(--text-primary); }
    footer {
        text-align: center;
        padding: 2rem 1rem;
        border-top: 1px solid var(--border);
        color: var(--text-muted);
        font-size: 0.85rem;
        margin-top: 2rem;
    }
    .keyboard-hint {
        text-align: center;
        padding: 0.5rem;
        font-size: 0.8rem;
        color: var(--text-muted);
        background: var(--bg-primary);
    }
    kbd {
        background: var(--bg-hover);
        border: 1px solid var(--border);
        border-radius: 4px;
        padding: 0.1rem 0.4rem;
        font-family: monospace;
        font-size: 0.8rem;
    }
    @media (max-width: 768px) {
        header h1 { font-size: 1.5rem; }
        .stats-bar { gap: 1rem; }
        .carousel-btn { width: 36px; height: 36px; font-size: 1rem; }
        .carousel-slide { padding: 0.75rem; }
    }

/*News*/
        .news-header {
            display: flex;
            justify-content: space-between;
            align-items: flex-end;
            flex-wrap: wrap;
            margin-bottom: 2rem;
            border-bottom: 1px solid rgba(255,255,255,0.06);
            padding-bottom: 1.2rem;
        }
        .news-header h1 {
            font-size: 2.4rem;
            font-weight: 600;
            letter-spacing: -0.02em;
            background: linear-gradient(135deg, #88C038 0%, #79C8F6 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            display: flex;
            align-items: center;
            gap: 0.75rem;
        }
        .news-header h1 i {
            -webkit-text-fill-color: initial;
            color: #88C038;
            font-size: 2rem;
        }
        .news-header .badge {
            background: rgba(255,255,255,0.04);
            backdrop-filter: blur(4px);
            padding: 0.5rem 1.2rem;
            border-radius: 40px;
            color: #88C038;
            font-size: 0.85rem;
            border: 1px solid rgba(255,255,255,0.06);
        }
        .cache-status {
            background: rgba(0, 0, 0, 0.3);
            border-radius: 1rem;
            padding: 0.8rem 1.2rem;
            margin-bottom: 1.5rem;
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
            gap: 0.5rem;
            border: 1px solid rgba(255,255,255,0.04);
            font-size: 0.8rem;
        }
        .cache-status .cached {
            color: #88c038;
        }
        .cache-status .fresh {
            color: #7f9ed0;
        }
        .cache-status .warning {
            color: #f0a030;
        }
        .cache-status .error {
            color: #e06060;
        }
        .fetch-counter {
            background: rgba(0, 120, 200, 0.15);
            padding: 0.2rem 0.8rem;
            border-radius: 20px;
            border: 1px solid rgba(0, 120, 200, 0.2);
            font-size: 0.75rem;
        }
        .fetch-counter .used {
            color: #7f9ed0;
        }
        .fetch-counter .remaining {
            color: #88c038;
        }
        .fetch-counter .limit {
            color: #b0c9ec;
        }
        @media (max-width: 768px) {
            .hero { padding: 1.5rem 1rem; }
            .news-header h1 { font-size: 1.8rem; }
        }
        .status-msg {
            text-align: center;
            padding: 20px;
            color: #88C038;
        }


        /* grid – tighter gap */
        .profile-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
            gap: 1.2rem 1.2rem;
            margin-top: 0.2rem;
        }

        /* card – compact height, always expanded */
        .profile-card {
            background: #1A1C22;
            border-radius: 1.4rem;
            padding: 1rem 1.2rem 1rem;
            box-shadow: 0 8px 18px rgba(0, 0, 0, 0.6), 0 0 0 1px #2F323A inset;
            border-bottom: 3px solid #79C8F6;
            transition: box-shadow 0.2s, border-color 0.2s;
            display: flex;
            flex-direction: column;
            height: auto;
            min-height: 100px;
        }

        .profile-card:hover {
            border-bottom-color: #88C038;
            box-shadow: 0 12px 24px rgba(0, 0, 0, 0.8), 0 0 0 1px #4060A8 inset;
        }

        /* compact row: image + name + title */
        .card-compact {
            display: flex;
            align-items: center;
            gap: 0.7rem;
            flex-wrap: wrap;
            margin-bottom: 0.4rem;
        }

        /* profile image – circle, using JPEG */
        .profile-img {
            width: 48px;
            height: 48px;
            min-width: 48px;
            border-radius: 50%;
            overflow: hidden;          /* crucial for circle cropping */
            border: 2px solid #4060A8;
            box-shadow: 0 2px 0 #79C8F6;
            flex-shrink: 0;
            background-color: #1A1C22; /* fallback */
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .profile-img img {
            width: 100%;
            height: 100%;
            object-fit: cover;        /* ensures image covers the circle nicely */
            display: block;
        }

        .name-title {
            flex: 1;
            display: flex;
            flex-direction: column;
            line-height: 1.2;
            min-width: 120px;
        }

        .card-name {
            font-size: 1.2rem;
            font-weight: 600;
            color: #F8F8F8;
            letter-spacing: -0.2px;
        }

        .card-title {
            font-size: 0.75rem;
            font-weight: 500;
            color: #88C038;
            background: #1F2937;
            padding: 0.1rem 0.7rem;
            border-radius: 40px;
            display: inline-block;
            border-left: 2px solid #79C8F6;
            width: fit-content;
            margin-top: 2px;
            letter-spacing: 0.2px;
        }

        /* detail block – always visible (expanded) */
        .detail-block {
            display: flex;
            flex-direction: column;
            gap: 0.35rem;
            margin-top: 0.4rem;
            padding-top: 0.4rem;
            border-top: 1px solid #2F323A;
        }

        .detail-item {
            display: flex;
            align-items: baseline;
            gap: 0.3rem;
            font-size: 0.78rem;
            border-bottom: 1px dashed #252932;
            padding-bottom: 0.2rem;
        }

        .detail-item i {
            width: 1.2rem;
            color: #79C8F6;
            font-size: 0.75rem;
            text-align: center;
        }

        .detail-item .label {
            color: #9AA0AB;
            font-weight: 400;
            min-width: 70px;
            font-size: 0.65rem;
            text-transform: uppercase;
            letter-spacing: 0.2px;
        }

        .detail-item .value {
            color: #F8F8F8;
            font-weight: 400;
            word-break: break-word;
            line-height: 1.2;
            font-size: 0.75rem;
        }

        .badge-group {
            display: flex;
            flex-wrap: wrap;
            gap: 0.2rem 0.3rem;
        }

        .badge {
            background: #1F2937;
            color: #B8C7E0;
            padding: 0.1rem 0.6rem;
            border-radius: 30px;
            font-size: 0.62rem;
            font-weight: 500;
            border: 1px solid #4060A8;
        }

        .badge-accent {
            background: #79C8F6;
            color: #F8F8F8;
            border-color: #0080D0;
        }

        .badge-light {
            background: #2A2E38;
            color: #D0D6E0;
        }

        .lang-exp {
            display: flex;
            flex-wrap: wrap;
            gap: 0.1rem 0.5rem;
            background: #1A1E26;
            padding: 0.2rem 0.6rem;
            border-radius: 40px;
            margin-top: 0.2rem;
            border-left: 3px solid #88C038;
            font-size: 0.68rem;
            color: #C8CED9;
        }

        .lang-exp i {
            color: #0080D0;
            margin-right: 0.2rem;
        }
    /* ----- footer dark background ----- */
    .footer-dark {
      background-color: #111216; /* palette #111216 */
      padding: 2.5rem 1.5rem 2rem;
      width: 100%;
      box-shadow: 0 -6px 12px rgba(0, 0, 0, 0.3);
    }

    .footer-inner {
      max-width: 800px;
      margin: 0 auto;
      display: flex;
      flex-direction: column;
      align-items: center;
    }

    /* separator line – subtle, using palette gray */
    .footer-divider {
      width: 70px;
      height: 2px;
      background: #575B63;
      margin-bottom: 1.8rem;
      opacity: 0.5;
      border-radius: 4px;
    }

    /* social links container */
    .social-links {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      align-items: center;
      gap: 1.4rem 2.2rem;
      margin-bottom: 0.4rem;
    }

    /* each link – circle with brand color + subtle glow */
    .social-link {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 64px;
      height: 64px;
      border-radius: 50%;
      background: #1e212a; /* slightly lighter than #111216 for depth */
      color: #F8F8F8;       /* base icon color */
      font-size: 2rem;
      text-decoration: none;
      transition: all 0.25s ease-in-out;
      box-shadow: 0 4px 10px rgba(0, 0, 0, 0.6);
      border: 1px solid rgba(255, 255, 255, 0.02);
      position: relative;
    }

    /* individual brand colors (on hover + active) */
    /* LinkedIn */
    .social-link.linkedin {
      color: #F8F8F8;
    }
    .social-link.linkedin:hover {
      background: #79C8F6;   /* palette primary */
      color: #F8F8F8;
      box-shadow: 0 0 20px #79C8F6aa, 0 0 8px #79C8F6;
      transform: scale(1.04) translateY(-3px);
      border-color: #79C8F6;
    }

    /* Facebook */
    .social-link.facebook {
      color: #F8F8F8;
    }
    .social-link.facebook:hover {
      background: #4060A8;   /* palette #4060A8 */
      color: #F8F8F8;
      box-shadow: 0 0 20px #4060A8aa, 0 0 8px #4060A8;
      transform: scale(1.04) translateY(-3px);
      border-color: #4060A8;
    }

    /* TikTok – uses a vibrant gradient approximation (since #88C038 is greenish, but we blend) */
    .social-link.tiktok {
      color: #F8F8F8;
    }
    .social-link.tiktok:hover {
      background: #88C038;   /* palette #88C038 – fresh green accent */
      color: #111216;
      box-shadow: 0 0 24px #88C038cc, 0 0 8px #88C038;
      transform: scale(1.04) translateY(-3px);
      border-color: #88C038;
    }
    /* TikTok icon gets a subtle extra glow with pseudo */
    .social-link.tiktok:hover i {
      text-shadow: 0 0 8px #11121655;
    }

    /* Instagram – we use #0080D0 as base (blue) but Instagram is often multicolor,
       we blend with a warm overlay, but keep it elegant */
    .social-link.instagram {
      color: #F8F8F8;
    }
    .social-link.instagram:hover {
      background: #0080D0;   /* palette #0080D0 */
      color: #F8F8F8;
      box-shadow: 0 0 24px #0080D0cc, 0 0 8px #0080D0;
      transform: scale(1.04) translateY(-3px);
      border-color: #0080D0;
    }
    /* instagram gradient hint – we keep it minimal, but add a subtle pseudo glow */
    .social-link.instagram:hover i {
      background: linear-gradient(135deg, #feda77, #d62976, #962fbf, #4f5bd5);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
      text-shadow: 0 0 20px #d6297670;
    }
    /* fallback for non-webkit */
    .social-link.instagram:hover i {
      background: linear-gradient(135deg, #feda77, #d62976, #962fbf, #4f5bd5);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
    }

    /* extra tiny text under icons – placeholder hint */
    .link-label {
      display: none; /* hidden by default, but accessible */
    }

    /* footer bottom text – using palette gray */
    .footer-copy {
      margin-top: 1.8rem;
      font-size: 0.8rem;
      letter-spacing: 0.3px;
      color: #575B63;
      border-top: 1px solid #2a2e38;
      padding-top: 1.5rem;
      width: 100%;
      text-align: center;
    }

    .footer-copy span {
      opacity: 0.7;
    }

    /* responsive */
    @media (max-width: 480px) {
      .social-links {
        gap: 1rem 1.5rem;
      }
      .social-link {
        width: 56px;
        height: 56px;
        font-size: 1.7rem;
      }
    }

    /* simple "placeholder" badge – subtle */
    .placeholder-hint {
      display: inline-block;
      background: #1e212a;
      color: #575B63;
      font-size: 0.65rem;
      padding: 0.2rem 0.7rem;
      border-radius: 20px;
      margin-top: 0.6rem;
      letter-spacing: 0.3px;
      border: 1px solid #2f333d;
      opacity: 0.6;
    }
    .placeholder-hint i {
      margin-right: 4px;
      color: #88C038;
    }

    /* #F8F8F8 used as text on dark, we also use it as border accent */
    .social-link:focus-visible {
      outline: 2px solid #F8F8F8;
      outline-offset: 4px;
    }


        /* ===== QUIZ CONTAINER ===== */
        .hero-contentQuiz {
        display: flex;
        justify-content: center; /* Centers horizontally */
        align-items: center;     /* Centers vertically */
        margin-top: -50px;
        }

        .hero-stat .icon {
            width: 36px;
            height: 36px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 15px;
            font-weight: 700;
        }

        .hero-stat .icon.blue {
            background: rgba(0,120,192,0.18);
            color: #0080D0;
        }

        .hero-stat .icon.green {
            background: rgba(136,192,56,0.18);
            color: #88C038;
        }

        .hero-stat .icon.purple {
            background: rgba(64,96,168,0.18);
            color: #4060A8;
        }

        .hero-stat .stat-text {
            font-size: 13px;
            color: #8a8f9a;
        }

        .hero-stat .stat-value {
            font-weight: 700;
            color: #F8F8F8;
            font-size: 15px;
        }

        .quiz-container {
            flex: 1;
            max-width: 940px;
            margin: 35px auto;
            padding: 0 20px;
            width: 100%;
        }

        .quiz-card {
            background: #1a1c24;
            border-radius: 16px;
            padding: 38px 42px;
            border: 1px solid #2a2d36;
            box-shadow: 0 20px 60px rgba(0,0,0,0.5);
            transition: all 0.3s ease;
        }

        /* ===== progressQuiz ===== */
        .progressQuiz-bar {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-bottom: 30px;
            gap: 16px;
            flex-wrap: wrap;
        }

        .progressQuiz-track {
            flex: 1;
            min-width: 100px;
            height: 4px;
            background: #2a2d36;
            border-radius: 2px;
            overflow: hidden;
        }

        .progressQuiz-fill {
            height: 100%;
            background: linear-gradient(90deg, #79C8F6, #0080D0);
            border-radius: 2px;
            transition: width 0.4s ease;
            width: <?php echo max(5, ($answeredCount / max(1, $totalQuestions)) * 100); ?>%;
        }

        .progressQuiz-text {
            font-size: 13px;
            color: #8a8f9a;
            font-weight: 500;
            white-space: nowrap;
        }

        .progressQuiz-text strong {
            color: #F8F8F8;
        }

        /* ===== META TAGS ===== */
        .meta-tags {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
            margin-bottom: 14px;
        }

        .chapter-tag {
            display: inline-block;
            background: rgba(64,96,168,0.2);
            color: #4060A8;
            font-size: 11px;
            font-weight: 600;
            padding: 4px 14px;
            border-radius: 12px;
            border: 1px solid rgba(64,96,168,0.15);
        }

        .mpep-ref {
            display: inline-block;
            background: rgba(0,120,192,0.12);
            color: #0080D0;
            font-size: 11px;
            padding: 4px 14px;
            border-radius: 12px;
            border: 1px solid rgba(0,120,192,0.1);
        }

        .question-number {
            font-size: 12px;
            color: #575B63;
            font-weight: 600;
            letter-spacing: 0.5px;
            margin-bottom: 6px;
            text-transform: uppercase;
        }

        .question-text {
            font-size: 1.3rem;
            font-weight: 500;
            color: #F8F8F8;
            line-height: 1.6;
            margin-bottom: 26px;
        }

        /* ===== OPTIONS ===== */
        .options {
            display: flex;
            flex-direction: column;
            gap: 10px;
            margin-bottom: 22px;
        }

        .option-btn {
            display: flex;
            align-items: flex-start;
            gap: 14px;
            background: #1f222b;
            border: 2px solid transparent;
            border-radius: 10px;
            padding: 14px 18px;
            cursor: pointer;
            transition: all 0.2s ease;
            text-align: left;
            width: 100%;
            font-size: 0.98rem;
            color: #F8F8F8;
            font-family: inherit;
            line-height: 1.5;
            position: relative;
        }

        .option-btn:hover:not(.disabled) {
            background: #282c38;
            border-color: #4060A8;
            transform: translateX(4px);
        }

        .option-btn .letter {
            flex-shrink: 0;
            width: 30px;
            height: 30px;
            border-radius: 50%;
            background: #2a2d36;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: 700;
            font-size: 12px;
            color: #8a8f9a;
            transition: all 0.2s ease;
        }

        .option-btn .text {
            padding-top: 2px;
        }

        /* States */
        .option-btn.selected {
            border-color: #0080D0;
            background: rgba(0,128,208,0.08);
        }
        .option-btn.selected .letter {
            background: #0080D0;
            color: #F8F8F8;
        }

        .option-btn.correct {
            border-color: #88C038;
            background: rgba(136,192,56,0.1);
        }
        .option-btn.correct .letter {
            background: #88C038;
            color: #111216;
        }

        .option-btn.wrong {
            border-color: #e74c3c;
            background: rgba(231,76,60,0.1);
        }
        .option-btn.wrong .letter {
            background: #e74c3c;
            color: #F8F8F8;
        }

        .option-btn.disabled {
            cursor: not-allowed;
            opacity: 0.6;
        }
        .option-btn.disabled:hover {
            transform: none;
            background: #1f222b;
            border-color: transparent;
        }

        /* ===== FEEDBACK ===== */
        .feedback {
            display: none;
            padding: 12px 18px;
            border-radius: 10px;
            margin-bottom: 18px;
            font-weight: 500;
            animation: slideDown 0.3s ease;
            align-items: center;
            gap: 12px;
        }

        .feedback.show {
            display: flex;
        }

        .feedback.correct {
            background: rgba(136,192,56,0.12);
            border: 1px solid rgba(136,192,56,0.2);
            color: #88C038;
        }

        .feedback.wrong {
            background: rgba(231,76,60,0.12);
            border: 1px solid rgba(231,76,60,0.2);
            color: #e74c3c;
        }

        .feedback .icon-big {
            font-size: 20px;
        }

        /* ===== EXPLANATION ===== */
        .explanation-box {
            background: #111216;
            border-radius: 10px;
            padding: 18px 22px;
            margin: 16px 0 24px;
            border-left: 4px solid #88C038;
            display: none;
            animation: slideDown 0.4s ease;
        }

        .explanation-box.show {
            display: block;
        }

        .explanation-box .label {
            font-size: 11px;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            margin-bottom: 4px;
        }

        .explanation-box .label .correct-indicator {
            color: #88C038;
        }
        .explanation-box .label .wrong-indicator {
            color: #e74c3c;
        }

        .explanation-box p {
            color: #c0c5d0;
            line-height: 1.7;
            font-size: 0.93rem;
        }

        .explanation-box .ref {
            color: #575B63;
            font-size: 12px;
            margin-top: 6px;
        }

        /* ===== BUTTONS ===== */
        .actions {
            display: flex;
            justify-content: space-between;
            align-items: center;
            gap: 12px;
            flex-wrap: wrap;
            margin-top: 4px;
        }

        .btn-outline {
            background: transparent;
            color: #8a8f9a;
            border: 2px solid #2a2d36;
        }
        .btn-outline:hover:not(:disabled) {
            border-color: #575B63;
            color: #F8F8F8;
            background: rgba(87,91,99,0.1);
        }
        .btn-outline:disabled {
            opacity: 0.3;
            cursor: not-allowed;
        }

        .btn-success {
            background: #88C038;
            color: #111216;
        }
        .btn-success:hover:not(:disabled) {
            background: #98d048;
            transform: translateY(-2px);
            box-shadow: 0 8px 25px rgba(136,192,56,0.25);
        }
        .btn-success:disabled {
            opacity: 0.4;
            cursor: not-allowed;
            transform: none;
        }

        .btn-reset {
            background: transparent;
            color: #575B63;
            border: 1px solid #2a2d36;
            padding: 8px 20px;
            border-radius: 8px;
            cursor: pointer;
            font-size: 13px;
            font-family: inherit;
            transition: all 0.2s ease;
        }
        .btn-reset:hover {
            border-color: #575B63;
            color: #F8F8F8;
        }

        .new-quiz-btn {
            text-align: center;
            margin-top: 22px;
        }
        .testFootNote {
            color: #8a8f9a; 
            font-size: 11px;
            margin-top: 22px;
        }

        /* ===== ANIMATIONS ===== */
        @keyframes slideDown {
            from { opacity: 0; transform: translateY(-10px); }
            to { opacity: 1; transform: translateY(0); }
        }

        @keyframes fadeIn {
            from { opacity: 0; transform: scale(0.98); }
            to { opacity: 1; transform: scale(1); }
        }

        .quiz-card {
            animation: fadeIn 0.35s ease;
        }

        /* ===== RESPONSIVE ===== */
        @media (max-width: 768px) {
            .hero { padding: 35px 16px 25px; }
            .hero h1 { font-size: 1.8rem; }
            .hero-subtitle { font-size: 0.92rem; }
            .hero-stats { gap: 14px; }
            .hero-stat .stat-text { font-size: 12px; }

            .quiz-card { padding: 20px 16px; }
            .question-text { font-size: 1.05rem; }
            .option-btn { padding: 12px 14px; font-size: 0.92rem; }

            .actions { flex-direction: column; align-items: stretch; }
            .actions .btn { width: 100%; justify-content: center; text-align: center; }
            .progressQuiz-bar { flex-direction: column; align-items: stretch; }
            .progressQuiz-text { text-align: center; }
        }

        @media (max-width: 480px) {
            .hero h1 { font-size: 1.4rem; }
            .quiz-card { padding: 14px 10px; }
            .option-btn { padding: 10px 12px; font-size: 0.88rem; gap: 10px; }
            .option-btn .letter { width: 26px; height: 26px; font-size: 11px; }
        }