﻿/* Styles copied and adapted from ref1-nosearch.html */
:root {
    --navy: #102231;
    --navy-soft: #183448;
    --orange: #f28c28;
    --orange-dark: #d97412;
    --cream: #ffffff;
    --grey: #eef1f3;
    --text: #1d2933;
    --muted: #667085;
    --white: #ffffff;
    --green: #25d366;
    --shadow: 0 6px 18px rgba(16,34,49,0.06);
    --radius: 20px;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: var(--text);
    background: #ffffff;
    line-height: 1.5;
}

a {
    color: inherit;
    text-decoration: none;
}

.top-strip {
    background: linear-gradient(135deg,#2F5E7A 0%,#224A63 45%,#183448 100%);
    color: var(--navy);
    font-size: 14px;
    padding: 10px 5vw;
    display: flex;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

    .top-strip strong {
        color: var(--orange);
    }

.site-header {
    background: var(--white);
    padding: 18px 5vw;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    box-shadow: 0 2px 18px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 20;
}

.brand {
    display: flex;
    align-items: center;
    gap: 14px;
    font-weight: 800;
    letter-spacing: 0.02em;
    color: var(--navy);
}

.brand-mark {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: linear-gradient(135deg,var(--orange),#ffbd73);
    display: grid;
    place-items: center;
    color: var(--white);
    font-weight: 900;
    font-size: 22px;
    box-shadow: 0 10px 25px rgba(242,140,40,0.35);
}

.brand small {
    display: block;
    color: var(--muted);
    font-weight: 700;
    font-size: 12px;
    margin-top: 2px;
}

.header-actions {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.btn {
    border: 0;
    border-radius: 999px;
    padding: 13px 18px;
    font-weight: 800;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
    font-size: 14px;
}

.btn-icon {
    width: 16px;
    height: 16px;
    flex: 0 0 auto;
    display: inline-block;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(16,34,49,0.16);
}

.btn-primary {
    background: var(--orange);
    color: var(--white);
}

    .btn-primary:hover {
        background: var(--orange-dark);
    }

.btn-dark {
    background: var(--navy);
    color: var(--white);
}

.btn-light {
    background: var(--grey);
    color: var(--navy);
}

.btn-whatsapp {
    background: var(--green) !important;
    color: var(--white);
}

.hero {
    background: linear-gradient(135deg,#2F5E7A 0%,#224A63 45%,#183448 100%);
    color: var(--white);
    padding: 72px 5vw 42px;
    position: relative;
    overflow: hidden;
    max-width: 1180px;
    margin: 32px auto 0;
    border-radius: 18px;
}

    .hero::after {
        content: "";
        position: absolute;
        width: 440px;
        height: 440px;
        right: -180px;
        top: -110px;
        background: rgba(255,255,255,0.10);
        border-radius: 50%;
    }

.hero-grid {
    max-width: 1180px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(320px, .65fr);
    gap: 34px;
    position: relative;
    z-index: 1;
    align-items: center;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.18);
    padding: 8px 12px;
    border-radius: 999px;
    font-weight: 800;
    color: #ffe5c8;
    font-size: 13px;
    margin-bottom: 18px;
}

h1 {
    font-size: clamp(42px, 7vw, 76px);
    line-height: 0.95;
    margin: 0 0 20px;
    letter-spacing: -0.05em;
}

.hero p {
    font-size: 19px;
    color: #dce6ee;
    max-width: 680px;
    margin: 0 0 26px;
}

.hero-faq-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    max-width: 760px;
    margin-top: 6px;
}

    .hero-faq-links a {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border-radius: 999px;
        padding: 12px 16px;
        background: rgba(255,255,255,0.13);
        border: 1px solid rgba(255,255,255,0.22);
        color: #ffffff;
        font-weight: 800;
        font-size: 14px;
        transition: transform .18s ease, background .18s ease, box-shadow .18s ease;
    }

        .hero-faq-links a:hover {
            transform: translateY(-2px);
            background: rgba(255,255,255,0.2);
            box-shadow: 0 10px 22px rgba(16,34,49,0.18);
        }

    .hero-faq-links .hero-faq-primary {
        background: var(--orange);
        border-color: var(--orange);
        color: #ffffff;
    }

        .hero-faq-links .hero-faq-primary:hover {
            background: var(--orange-dark);
            border-color: var(--orange-dark);
        }

.contact-panel {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 12px;
    padding: 24px;
    backdrop-filter: blur(8px);
}

    .contact-panel h2 {
        margin: 0 0 10px;
        font-size: 26px;
    }

    .contact-panel p {
        margin: 0 0 18px;
        font-size: 15px;
        color: #dce6ee;
    }

.contact-stack {
    display: grid;
    gap: 10px;
}

    .contact-stack .btn {
        justify-content: center;
        white-space: nowrap;
        font-size: 13px;
        padding: 13px 14px;
    }

main {
    max-width: 1180px;
    margin: 0 auto;
    padding: 52px 5vw 84px;
}

.section-title {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 20px;
    margin-bottom: 18px;
}

    .section-title h2 {
        margin: 0;
        font-size: clamp(28px, 4vw, 42px);
        color: var(--navy);
        letter-spacing: -0.04em;
    }

    .section-title p {
        margin: 8px 0 0;
        color: var(--muted);
        max-width: 620px;
    }

.carousel-wrap {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 42px;
}

.carousel-btn {
    flex-shrink: 0;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--orange);
    color: #fff;
    border: none;
    font-size: 22px;
    cursor: pointer;
    display: grid;
    place-items: center;
    line-height: 1;
    box-shadow: 0 4px 12px rgba(242,140,40,0.3);
    transition: background .18s;
    padding: 0 0 4px 0;
}

    .carousel-btn:hover {
        background: var(--orange-dark);
    }

    .carousel-btn:disabled {
        background: #ccc;
        cursor: default;
        box-shadow: none;
    }

    .carousel-btn.hidden {
        visibility: hidden;
        pointer-events: none;
    }

.carousel-viewport {
    overflow: hidden;
    flex: 1;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 16px;
}

.carousel-track {
    display: flex;
    gap: 12px;
    transition: transform 0.3s ease;
}

.popular-item {
    flex: 0 0 calc((100% - 60px) / 6);
    border: 1px solid #e3e8ee;
    border-radius: 16px;
    padding: 16px;
    min-height: 112px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: .18s ease;
    background: linear-gradient(180deg,#fff,#fbfcfd);
    text-decoration: none;
}

    .popular-item:hover {
        border-color: var(--orange);
        transform: translateY(-3px);
        box-shadow: 0 12px 22px rgba(16,34,49,0.09);
    }

    .popular-item b {
        color: var(--navy);
        font-size: 15px;
    }

    .popular-item small {
        color: var(--orange-dark);
        font-weight: 800;
        margin-top: 12px;
    }

@media (max-width:980px) {
    .popular-item {
        flex-basis: calc((100% - 36px) / 4);
    }
}

@media (max-width:640px) {
    .popular-item {
        flex-basis: calc((100% - 12px) / 2);
    }
}

/* Featured player and the thumbnail rail share one panel so they read as a single unit */
.video-panel {
    background: linear-gradient(135deg,#2F5E7A 0%,#224A63 45%,#183448 100%);
    color: var(--white);
    border-radius: 20px;
    padding: 26px;
    margin-bottom: 46px;
    overflow: hidden;
    position: relative;
    scroll-margin-top: 100px;
}

.feature-video {
    display: grid;
    grid-template-columns: minmax(0,1fr) minmax(280px,.8fr);
    gap: 28px;
    align-items: center;
}

.video-box {
    aspect-ratio: 16/9;
    border-radius: 16px;
    background: rgba(255,255,255,0.14);
    border: 1px solid rgba(255,255,255,0.26);
    display: grid;
    place-items: center;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.06);
    position: relative;
    overflow: hidden;
    transition: box-shadow .25s ease;
}

    .video-box.in-focus {
        box-shadow: 0 0 0 3px var(--orange), 0 18px 42px rgba(0,0,0,0.34);
    }

.play-button {
    width: 82px;
    height: 82px;
    border-radius: 50%;
    background: var(--orange);
    display: grid;
    place-items: center;
    font-size: 34px;
    padding-left: 6px;
    box-shadow: 0 20px 40px rgba(242,140,40,0.32);
}

.video-copy h2 {
    font-size: clamp(30px, 4vw, 48px);
    line-height: 1;
    margin: 0 0 14px;
    letter-spacing: -0.04em;
}

.video-copy p {
    color: #dce6ee;
    margin-bottom: 20px;
}

.video-rail {
    margin-top: 26px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.16);
}

.video-rail-head {
    margin-bottom: 14px;
}

    .video-rail-head h3 {
        margin: 0;
        font-size: 17px;
        color: var(--white);
        letter-spacing: -0.02em;
    }

    .video-rail-head p {
        margin: 4px 0 0;
        font-size: 13px;
        color: #b8cad8;
    }

.video-rail .carousel-wrap {
    margin-bottom: 0;
    gap: 8px;
}

.video-rail .carousel-viewport {
    background: transparent;
    box-shadow: none;
    padding: 2px;
    border-radius: 12px;
}

.video-rail .carousel-track {
    gap: 10px;
}

.video-rail .carousel-btn {
    width: 32px;
    height: 32px;
    font-size: 18px;
    background: rgba(255,255,255,0.16);
    box-shadow: none;
}

    .video-rail .carousel-btn:hover {
        background: var(--orange);
    }

    .video-rail .carousel-btn:disabled {
        background: rgba(255,255,255,0.07);
        color: rgba(255,255,255,0.35);
    }

.video-thumb {
    flex: 0 0 calc((100% - 70px) / 8);
    border: 1px solid rgba(255,255,255,0.16);
    border-radius: 10px;
    padding: 6px;
    background: rgba(255,255,255,0.06);
    text-decoration: none;
    display: block;
    transition: .18s ease;
}

    .video-thumb:hover {
        border-color: rgba(242,140,40,0.75);
        background: rgba(255,255,255,0.12);
        transform: translateY(-2px);
    }

    .video-thumb .thumb-img {
        width: 100%;
        height: 46px;
        object-fit: cover;
        border-radius: 6px;
        display: block;
        background: rgba(255,255,255,0.1);
        opacity: .8;
        transition: opacity .18s ease;
    }

    .video-thumb:hover .thumb-img, .video-thumb.selected-thumb .thumb-img {
        opacity: 1;
    }

    .video-thumb small {
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        margin-top: 6px;
        font-size: 11px;
        line-height: 1.35;
        font-weight: 700;
        color: #c6d5e1;
    }

    .video-thumb.selected-thumb {
        border-color: var(--orange);
        background: rgba(242,140,40,0.2);
        box-shadow: 0 8px 18px rgba(0,0,0,0.28);
    }

        .video-thumb.selected-thumb small {
            color: var(--white);
        }

@media (max-width:980px) {
    .video-thumb {
        flex-basis: calc((100% - 40px) / 5);
    }
}

@media (max-width:640px) {
    .video-thumb {
        flex-basis: calc((100% - 20px) / 3);
    }
}

.faq-wrap {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 24px;
    align-items: start;
}

.faq-nav {
    position: sticky;
    top: 100px;
    background: var(--white);
    border-radius: 14px;
    padding: 18px;
    box-shadow: var(--shadow);
}

    .faq-nav a {
        display: block;
        padding: 12px 14px;
        border-radius: 13px;
        font-weight: 800;
        color: var(--navy);
        margin-bottom: 6px;
    }

        .faq-nav a.active, .faq-nav a:hover {
            background: #fff2e3;
            color: var(--orange-dark);
        }

details {
    background: var(--white);
    border-radius: 12px;
    margin-bottom: 10px;
    box-shadow: 0 4px 14px rgba(16,34,49,0.05);
    border: 1px solid #e8edf2;
    overflow: hidden;
}

summary {
    padding: 18px 20px;
    cursor: pointer;
    font-weight: 600;
    color: var(--navy);
    list-style: none;
    display: flex;
    align-items: center;
    gap: 18px;
    position: relative;
}

    summary::-webkit-details-marker {
        display: none;
    }
    /* position the expand/collapse symbol at the right edge */
    summary::after {
        content: "+";
        color: var(--orange);
        font-size: 24px;
        line-height: 1;
        position: absolute;
        right: 20px;
        top: 50%;
        transform: translateY(-50%);
    }

details[open] summary::after {
    content: "-";
    color: var(--orange);
}

details p {
    margin: 0;
    padding: 0 20px 20px;
    color: var(--muted);
}

.bottom-cta {
    margin-top: 54px;
    background: var(--white);
    border-radius: 20px;
    padding: 38px;
    text-align: center;
    box-shadow: var(--shadow);
}

.floating-help {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 30;
    border-radius: 999px;
    background: var(--orange);
    color: var(--white);
    padding: 15px 20px;
    font-weight: 900;
    box-shadow: 0 18px 35px rgba(242,140,40,0.35);
}

@media (max-width: 980px) {
    .hero-grid, .feature-video, .faq-wrap {
        grid-template-columns: 1fr;
    }

    .category-grid {
        grid-template-columns: 1fr;
    }

    .faq-nav {
        position: static;
    }
}

@media (max-width: 640px) {
    .site-header {
        align-items: flex-start;
    }

    .header-actions {
        display: none;
    }

    .hero {
        padding-top: 48px;
    }

    .help-banner {
        border: 1px solid #dfe5ea;
        align-items: flex-start;
        flex-direction: column;
    }

    .floating-help {
        left: 16px;
        right: 16px;
        text-align: center;
    }
}

.help-banner {
    background: linear-gradient( 135deg, #2F5E7A 0%, #224A63 45%, #183448 100% );
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 12px;
    padding: 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 48px;
    color: #ffffff;
    box-shadow: var(--shadow);
}

    .help-banner h2 {
        margin: 0 0 6px;
        font-size: 30px;
        letter-spacing: -0.03em;
    }

    .help-banner p {
        margin: 0;
        opacity: .92;
        color: #dce6ee;
    }
