/* =====================================================
   GLOBAL DESIGN VARIABLES

   Change these values to update the website branding.
   ===================================================== */

:root {
    --primary: #12355b;
    --primary-dark: #0b2540;
    --accent: #d89b3c;
    --light: #f7f8fa;
    --white: #ffffff;
    --text: #263342;
    --muted: #6d7884;
    --border: #e5e8ec;
    --shadow: 0 15px 45px rgba(18, 53, 91, 0.10);
    --radius: 18px;
}

/* =====================================================
   GLOBAL RESET
   ===================================================== */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 85px;
}

body {
    margin: 0;
    font-family: "DM Sans", sans-serif;
    color: var(--text);
    line-height: 1.65;
    background: var(--white);
}

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

button,
input,
textarea,
select {
    font: inherit;
}

/* =====================================================
   MAIN CONTAINER
   ===================================================== */

.container {
    width: min(1140px, calc(100% - 40px));
    margin: auto;
}

/* =====================================================
   GENERAL SECTION STYLING
   ===================================================== */

.section {
    padding: 100px 0;
}

.section-muted {
    background: var(--light);
}

.section-dark {
    background: var(--primary-dark);
    color: var(--white);
}

/* =====================================================
   SECTION HEADINGS
   ===================================================== */

.eyebrow {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--accent);
    margin: 0 0 12px;
}

.eyebrow.light {
    color: #e9b964;
}

.section-heading {
    max-width: 690px;
    margin-bottom: 48px;
}

.section-heading.centered {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.section-heading h2,
.why-copy h2,
.cta-content h2 {
    font-family: "Playfair Display", serif;
    font-size: clamp(2rem, 4vw, 3.4rem);
    line-height: 1.15;
    margin: 0 0 16px;
}

.section-heading h2 span,
.why-copy h2 span {
    color: var(--accent);
}

.section-heading p:not(.eyebrow) {
    color: var(--muted);
    margin: 0;
}

.section-dark .section-heading p:not(.eyebrow) {
    color: #c6d1dd;
}

/* =====================================================
   HEADER / NAVIGATION
   ===================================================== */

.header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid transparent;
    backdrop-filter: blur(12px);
}

.header.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border-color: var(--border);
}

.navbar {
    height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* =====================================================
   LOGO
   ===================================================== */

.logo {
    display: flex;
    align-items: center;
    gap: 9px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.logo > span:last-child span {
    color: var(--accent);
}

.logo-mark {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    background: var(--primary);
    color: var(--white);
    border-radius: 10px;
    font-family: "Playfair Display", serif;
    font-size: 1.3rem;
}

/* =====================================================
   NAVIGATION MENU
   ===================================================== */

.nav-menu {
    display: flex;
    align-items: center;
    gap: 27px;
    font-size: 0.9rem;
    font-weight: 600;
}

.nav-menu > a:not(.btn) {
    position: relative;
}

/* Navigation hover underline */
.nav-menu > a:not(.btn)::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -7px;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: 0.25s;
}

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

/* =====================================================
   BUTTONS
   ===================================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: none;
    padding: 13px 22px;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.25s;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--primary-dark);
    box-shadow: 0 8px 22px rgba(18, 53, 91, 0.22);
}

.btn-outline {
    border: 1px solid var(--primary);
    color: var(--primary);
    background: var(--white);
}

.btn-light {
    background: var(--white);
    color: var(--primary);
}

.btn-outline-light {
    border: 1px solid rgba(255, 255, 255, 0.7);
    color: var(--white);
}

.nav-cta {
    padding: 10px 17px;
}

/* ============================================================
   MOBILE NAVIGATION
   ============================================================ */

@media (max-width: 767px) {
    .navbar {
        position: relative;
        z-index: 1000;
    }

    /* Burger button */
    .nav-toggle {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 5px;
        position: relative;
        z-index: 1100;
        width: 42px;
        height: 42px;
        border: none;
        background: transparent;
        cursor: pointer;
    }

    .nav-toggle span {
        display: block;
        width: 24px;
        height: 2px;
        border-radius: 2px;
        background: currentColor;
        transition: transform 0.3s ease, opacity 0.3s ease;
    }

    /* ========================================================
       MOBILE MENU
    ======================================================== */

    .nav-menu {
        position: absolute;
        top: calc(100% + 10px);
        left: 0;
        right: 0;
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        padding: 14px;
        background: #ffffff;
        border-radius: 12px;
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
        border: 1px solid rgba(0, 0, 0, 0.08);
        z-index: 1050;
        /* Hidden initially */
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translateY(-10px);
        transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease;
    }

    /* ========================================================
       OPEN MENU
    ======================================================== */

    .nav-menu.active,
    .nav-menu.open,
    .nav-menu.show {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0);
    }

    /* ========================================================
       MENU LINKS
    ======================================================== */

    .nav-menu > a {
        display: flex;
        align-items: center;
        width: 100%;
        padding: 13px 14px;
        text-decoration: none;
        border-radius: 8px;
        background: transparent;
    }

    .nav-menu > a:hover {
        background: rgba(18, 53, 91, 0.07);
    }

    /* ========================================================
       MOBILE CTA BUTTONS
    ======================================================== */

    .nav-menu .nav-cta {
        width: 100%;
        justify-content: center;
        margin-top: 6px;
    }

    /* ========================================================
       BURGER → X ANIMATION
    ======================================================== */

    .nav-toggle.active span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    /* ========================================================
       PREVENT PAGE SHIFT
    ======================================================== */

    body.menu-open {
        overflow-x: hidden;
    }
}

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

.hero {
    min-height: calc(100vh - 78px);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #f9fbfd 0%, #eef3f8 100%);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
    padding: 80px 0;
}

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

.hero h1 {
    font-family: "Playfair Display", serif;
    font-size: clamp(2.8rem, 5vw, 5rem);
    line-height: 1.05;
    margin: 0 0 23px;
    color: var(--primary-dark);
}

.hero h1 span {
    color: var(--accent);
}

.hero-text {
    font-size: 1.08rem;
    color: var(--muted);
    max-width: 650px;
}

.hero-actions {
    display: flex;
    gap: 14px;
    margin-top: 30px;
}

/* =====================================================
   HERO TRUST SECTION
   ===================================================== */

.hero-trust {
    display: flex;
    gap: 30px;
    margin-top: 40px;
}

.hero-trust div {
    padding-right: 28px;
    border-right: 1px solid var(--border);
}

.hero-trust div:last-child {
    border: 0;
}

.hero-trust strong,
.hero-trust span {
    display: block;
}

.hero-trust strong {
    font-size: 0.92rem;
}

.hero-trust span {
    font-size: 0.78rem;
    color: var(--muted);
}

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

.hero-visual {
    height: 490px;
    position: relative;
}

.newspaper-card {
    position: absolute;
    border-radius: 8px;
    background: var(--white);
    box-shadow: var(--shadow);
}

/* Background Newspaper */
.card-back {
    width: 75%;
    height: 75%;
    right: 5%;
    top: 13%;
    transform: rotate(7deg);
    background: #dfe8f0;
}

/* Main Newspaper */
.card-main {
    width: 76%;
    height: 82%;
    right: 10%;
    top: 7%;
    padding: 25px;
    color: #25313e;
    transform: rotate(-3deg);
}

.paper-top {
    display: flex;
    justify-content: space-between;
    font-size: 0.58rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.paper-line {
    height: 7px;
    background: #d8dee4;
    margin: 10px 0;
    border-radius: 2px;
}

.paper-line.thick {
    height: 24px;
    background: var(--primary);
    margin: 18px 0;
}

.paper-line.short {
    width: 65%;
}

.paper-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.paper-image {
    height: 110px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    display: grid;
    place-items: center;
    color: var(--white);
    font-weight: 700;
    font-size: 1.2rem;
}

.ad-box {
    border: 2px solid var(--accent);
    padding: 12px;
    text-align: center;
    font-size: 0.7rem;
    font-weight: 700;
    margin-top: 20px;
}

/* =====================================================
   FLOATING HERO BADGES
   ===================================================== */

.floating-badge {
    position: absolute;
    background: var(--white);
    padding: 11px 16px;
    border-radius: 30px;
    box-shadow: var(--shadow);
    font-size: 0.8rem;
    font-weight: 700;
}

.badge-one {
    left: 0;
    top: 17%;
}

.badge-two {
    right: 0;
    bottom: 10%;
}

/* =====================================================
   HERO BACKGROUND SHAPES
   ===================================================== */

.hero-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(1px);
}

.shape-one {
    width: 350px;
    height: 350px;
    background: rgba(216, 155, 60, 0.08);
    right: -120px;
    top: -120px;
}

.shape-two {
    width: 250px;
    height: 250px;
    background: rgba(18, 53, 91, 0.06);
    left: -120px;
    bottom: -120px;
}

/* =====================================================
   ABOUT SECTION
   ===================================================== */

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-copy p {
    color: var(--muted);
    font-size: 1.05rem;
}

.text-link {
    display: inline-block;
    margin-top: 14px;
    color: var(--primary);
    font-weight: 700;
}

/* =====================================================
   STATISTICS
   ===================================================== */

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

.stat-card {
    padding: 28px 16px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    text-align: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.035);
}

.stat-card strong {
    display: block;
    color: var(--accent);
    font-size: 2rem;
}

.stat-card span {
    font-size: 0.78rem;
    color: var(--muted);
}

/* =====================================================
   FEATURE CARDS
   ===================================================== */

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    margin-top: 60px;
}

.feature-card {
    padding: 28px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: 0.3s;
    background: var(--white);
}

.feature-card:hover,
.service-card:hover {
    transform: translateY(-7px);
    box-shadow: var(--shadow);
}

.icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: #edf3f8;
    color: var(--primary);
    display: grid;
    place-items: center;
    font-weight: 700;
}

.feature-card h3 {
    margin: 18px 0 8px;
}

.feature-card p {
    margin: 0;
    color: var(--muted);
    font-size: 0.92rem;
}

/* =====================================================
   SERVICES SECTION
   ===================================================== */

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

.service-card {
    background: var(--white);
    border: 1px solid var(--border);
    padding: 30px;
    border-radius: var(--radius);
    transition: 0.3s;
}

.service-icon {
    font-size: 1.8rem;
}

.service-card h3 {
    margin: 16px 0 10px;
}

.service-card p {
    font-size: 0.92rem;
    color: var(--muted);
    min-height: 74px;
}

.service-card a {
    font-size: 0.88rem;
    color: var(--primary);
    font-weight: 700;
}

/* =====================================================
   WHO WE SERVE SECTION
   ===================================================== */

.client-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.client-card {
    padding: 27px;
    border-radius: var(--radius);
    background: var(--primary);
    color: var(--white);
    transition: 0.3s;
}

.client-card:hover {
    transform: translateY(-6px);
    background: var(--primary-dark);
}

.client-card span {
    color: #e9b964;
    font-size: 0.8rem;
    font-weight: 700;
}

.client-card h3 {
    font-size: 1.1rem;
    line-height: 1.3;
}

.client-card p {
    color: #c8d3df;
    font-size: 0.88rem;
}

/* =====================================================
   HOW IT WORKS / TIMELINE
   ===================================================== */

.timeline {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 18px;
    position: relative;
}

.timeline::before {
    content: "";
    position: absolute;
    left: 8%;
    right: 8%;
    top: 31px;
    height: 1px;
    background: rgba(255, 255, 255, 0.25);
}

.step {
    text-align: center;
    position: relative;
}

.step > span {
    position: relative;
    z-index: 1;
    width: 62px;
    height: 62px;
    margin: auto;
    background: var(--accent);
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-weight: 700;
    font-size: 1.2rem;
}

.step h3 {
    font-size: 1rem;
    margin: 18px 0 8px;
}

.step p {
    font-size: 0.85rem;
    color: #c4d0dc;
    margin: 0;
}

/* =====================================================
   WHY CHOOSE US
   ===================================================== */

.why-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 80px;
    align-items: center;
}

.why-copy p:not(.eyebrow) {
    color: var(--muted);
    margin-bottom: 25px;
}

.check-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.check-list div {
    padding: 17px;
    border: 1px solid var(--border);
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.92rem;
    color: var(--primary);
}

/* =====================================================
   CALL TO ACTION SECTION
   ===================================================== */

.cta-section {
    background: linear-gradient(120deg, var(--primary-dark), var(--primary));
    color: var(--white);
    padding: 75px 0;
}

.cta-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

.cta-content h2 {
    max-width: 650px;
}

.cta-content p:not(.eyebrow) {
    color: #c7d2de;
}

.cta-actions {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

/* =====================================================
   FAQ SECTION
   ===================================================== */

.faq-layout {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 70px;
}

.faq-item {
    border-bottom: 1px solid var(--border);
}

.faq-item button {
    width: 100%;
    display: flex;
    justify-content: space-between;
    text-align: left;
    background: none;
    border: 0;
    padding: 20px 0;
    font-weight: 700;
    color: var(--text);
    cursor: pointer;
}

.faq-item button span {
    font-size: 1.4rem;
    color: var(--accent);
    transition: 0.25s;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
}

.faq-item.active .faq-answer {
    max-height: 180px;
}

.faq-item.active button span {
    transform: rotate(45deg);
}

.faq-answer p {
    color: var(--muted);
    padding: 0 0 18px;
    margin: 0;
    font-size: 0.92rem;
}

/* =====================================================
   CONTACT SECTION
   ===================================================== */

.contact-section {
    background: var(--white);
}

/* -----------------------------------------------------
   SINGLE CONTACT CARD
----------------------------------------------------- */

.contact-single {
    max-width: 900px;
    margin: 0 auto;
}

/* -----------------------------------------------------
   CONTACT INFORMATION CARD
----------------------------------------------------- */

.contact-info {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    border-radius: var(--radius);
    padding: 45px;
    box-shadow: 0 20px 55px rgba(18, 53, 91, 0.16);
}

/* -----------------------------------------------------
   CONTACT INTRO
----------------------------------------------------- */

.contact-intro {
    max-width: 680px;
    margin-bottom: 35px;
}

.contact-intro-label {
    margin: 0 0 8px;
    color: #e9b964;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 2px;
}

.contact-intro h3 {
    margin: 0 0 12px;
    font-family: "Playfair Display", serif;
    font-size: 2rem;
    line-height: 1.2;
}

.contact-intro > p:last-child {
    margin: 0;
    color: #c7d2de;
    font-size: 0.92rem;
    line-height: 1.7;
}

/* -----------------------------------------------------
   CONTACT DETAILS
----------------------------------------------------- */

.contact-details {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

/* -----------------------------------------------------
   CONTACT ITEM
----------------------------------------------------- */

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 13px;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.055);
    border-bottom: 1px solid rgba(255, 255, 255, 0.13);
}

/* -----------------------------------------------------
   CONTACT ICON
----------------------------------------------------- */

.contact-item-icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    display: grid;
    place-items: center;
    border-radius: 10px;
    background: rgba(233, 185, 100, 0.14);
    color: #e9b964;
    font-size: 1rem;
}

/* -----------------------------------------------------
   CONTACT LABEL
----------------------------------------------------- */

.contact-item span {
    display: block;
    margin-bottom: 5px;
    color: #aebdca;
    font-size: 0.65rem;
    letter-spacing: 1px;
    font-weight: 700;
}

/* -----------------------------------------------------
   CONTACT VALUE
----------------------------------------------------- */

.contact-item a,
.contact-item p {
    display: block;
    margin: 0;
    color: var(--white);
    font-size: 0.86rem;
    line-height: 1.5;
}

.contact-item a:hover {
    color: #e9b964;
}

/* -----------------------------------------------------
   BUSINESS HOURS
----------------------------------------------------- */

.contact-note {
    margin-top: 28px;
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.13);
}

.contact-note strong {
    display: block;
    font-size: 0.9rem;
}

.contact-note p {
    margin: 5px 0 0;
    color: #c7d2de;
    font-size: 0.84rem;
}

/* -----------------------------------------------------
   CONTACT ACTIONS
----------------------------------------------------- */

.contact-actions {
    display: flex;
    gap: 12px;
    margin-top: 28px;
}

/* -----------------------------------------------------
   CONTACT BUTTONS
----------------------------------------------------- */

.contact-actions .btn {
    padding: 11px 18px;
    font-size: 0.85rem;
}

/* =====================================================
   CONTACT RESPONSIVE
   ===================================================== */

@media (max-width: 900px) {
    .contact-details {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 767px) {
    .contact-single {
        width: 100%;
    }

    .contact-info {
        padding: 30px 24px;
    }

    .contact-details {
        grid-template-columns: 1fr;
    }

    .contact-actions {
        flex-direction: column;
    }

    .contact-actions .btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .contact-info {
        padding: 25px 18px;
        border-radius: 14px;
    }

    .contact-intro h3 {
        font-size: 1.7rem;
    }

    .contact-item {
        padding: 16px;
    }
}

/* =====================================================
   FOOTER
   ===================================================== */

.footer {
    background: #081b2d;
    color: var(--white);
    padding-top: 70px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 45px;
    padding-bottom: 50px;
}

.footer p {
    color: #9eb0c1;
    font-size: 0.86rem;
}

.footer h4 {
    margin: 0 0 17px;
    color: var(--white);
}

.footer-grid > div:not(:first-child) > a {
    display: block;
    color: #9eb0c1;
    font-size: 0.86rem;
    margin: 9px 0;
}

.footer-logo {
    color: var(--white);
}

/* =====================================================
   SOCIAL MEDIA
   ===================================================== */

.socials {
    display: flex;
    gap: 8px;
    margin-top: 15px;
}

.socials a {
    width: 31px;
    height: 31px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: grid !important;
    place-items: center;
    color: var(--white) !important;
    font-size: 0.75rem !important;
}

/* =====================================================
   FOOTER COPYRIGHT
   ===================================================== */

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 18px 0;
    color: #9eb0c1;
    font-size: 0.8rem;
}

/* =====================================================
   FLOATING CONTACT BUTTON
   ===================================================== */

.floating-contact,
.scroll-top {
    position: fixed;
    right: 24px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    z-index: 90;
    box-shadow: var(--shadow);
}

/* Call Button */
.floating-contact {
    bottom: 24px;
    background: #25d366;
    color: var(--white);
    font-size: 1.25rem;
}

/* =====================================================
   SCROLL TO TOP BUTTON
   ===================================================== */

.scroll-top {
    bottom: 84px;
    border: 0;
    background: var(--primary);
    color: var(--white);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: 0.25s;
}

.scroll-top.show {
    opacity: 1;
    visibility: visible;
    transform: none;
}

/* =====================================================
   WEBSITE LOADER
   ===================================================== */

.loader {
    position: fixed;
    inset: 0;
    background: var(--white);
    z-index: 1000;
    display: grid;
    place-items: center;
    transition: opacity 0.5s, visibility 0.5s;
}

.loader.hide {
    opacity: 0;
    visibility: hidden;
}

.loader-ring {
    width: 48px;
    height: 48px;
    border: 4px solid #e7ebef;
    border-top-color: var(--accent);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* ============================================================
   DYNAMIC CALL NUMBER DROPDOWN
   ============================================================ */

/* ------------------------------------------------------------
   DROPDOWN WRAPPER
------------------------------------------------------------ */

.call-dropdown-wrapper {
    position: relative;
    display: inline-block;
}

/* ------------------------------------------------------------
   CALL BUTTON
------------------------------------------------------------ */

.call-dropdown-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

/* ------------------------------------------------------------
   DROPDOWN ARROW
------------------------------------------------------------ */

.call-dropdown-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    transition: transform 0.25s ease;
}

/* Rotate arrow when open */
.call-dropdown-wrapper.active .call-dropdown-arrow {
    transform: rotate(180deg);
}

/* ------------------------------------------------------------
   MAIN DROPDOWN
------------------------------------------------------------ */

.call-dropdown {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    width: 300px;
    background: #ffffff;
    border-radius: 14px;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.18);
    border: 1px solid rgba(0, 0, 0, 0.08);
    overflow: hidden;
    z-index: 1000;
    /* Hidden State */
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
}

/* ------------------------------------------------------------
   ACTIVE DROPDOWN
------------------------------------------------------------ */

.call-dropdown-wrapper.active .call-dropdown {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

/* ------------------------------------------------------------
   DROPDOWN HEADER
------------------------------------------------------------ */

.call-dropdown-header {
    padding: 16px 18px;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-dark);
    background: var(--light-bg);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

/* ------------------------------------------------------------
   PHONE NUMBER LIST

   IMPORTANT:
   If many numbers are added,
   only this section scrolls.
------------------------------------------------------------ */

.call-dropdown-list {
    max-height: 280px;
    overflow-y: auto;
    overscroll-behavior: contain;
}

/* ------------------------------------------------------------
   PHONE NUMBER ITEM
------------------------------------------------------------ */

.call-number-item {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 18px;
    text-decoration: none;
    color: var(--text-dark);
    background: #ffffff;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    transition: background 0.2s ease, padding-left 0.2s ease;
}

/* Last item */
.call-number-item:last-child {
    border-bottom: none;
}

/* Hover */
.call-number-item:hover {
    background: var(--light-bg);
    padding-left: 23px;
}

/* ------------------------------------------------------------
   PHONE ICON
------------------------------------------------------------ */

.call-number-icon {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.06);
    font-size: 1rem;
}

/* ------------------------------------------------------------
   PHONE NUMBER TEXT
------------------------------------------------------------ */

.call-number-text {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

/* Label */
.call-number-label {
    font-size: 0.75rem;
    color: var(--text-light);
}

/* Actual Number */
.call-number-value {
    font-size: 0.98rem;
    font-weight: 700;
    color: var(--text-dark);
}

/* ============================================================
   CUSTOM SCROLLBAR
   ============================================================ */

.call-dropdown-list::-webkit-scrollbar {
    width: 7px;
}

.call-dropdown-list::-webkit-scrollbar-track {
    background: transparent;
}

.call-dropdown-list::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
}

.call-dropdown-list::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 0, 0, 0.35);
}

/* ============================================================
   MOBILE RESPONSIVE
   ============================================================ */

@media (max-width: 767px) {
    .call-dropdown-wrapper {
        width: 100%;
    }

    .call-dropdown-button {
        width: 100%;
    }

    .call-dropdown {
        width: 100%;
        right: auto;
        left: 0;
    }

    .call-dropdown-list {
        max-height: 250px;
    }
}

/* ============================================================
   SMALL MOBILE
   ============================================================ */

@media (max-width: 480px) {
    .call-dropdown {
        width: 100%;
    }

    .call-number-item {
        padding: 14px 15px;
    }
}

/* ============================================================
   FIX - CALL NUMBER DROPDOWN TEXT VISIBILITY
   ============================================================ */

.call-dropdown {
    background: #ffffff !important;
    color: #1f2937 !important;
}

/* Dropdown heading */
.call-dropdown-header {
    color: #1f2937 !important;
    background: #f8f9fa !important;
}

/* Phone list */
.call-dropdown-list {
    background: #ffffff !important;
}

/* Individual phone link */
.call-number-item {
    color: #1f2937 !important;
    background: #ffffff !important;
}

/* Phone label */
.call-number-label {
    color: #6b7280 !important;
}

/* Actual phone number */
.call-number-value {
    color: #172033 !important;
}

/* Phone icon */
.call-number-icon {
    color: #172033 !important;
    background: #f1f3f5 !important;
}

/* Hover */
.call-number-item:hover {
    color: #172033 !important;
    background: #f5f7fa !important;
}

/* Make sure children don't inherit CTA white text */
.call-number-item span {
    color: inherit;
}

.call-number-item .call-number-label {
    color: #6b7280 !important;
}

.call-number-item .call-number-value {
    color: #172033 !important;
}

/* ============================================================
   FIX - CALL DROPDOWN BEING CLIPPED BY CTA SECTION
   ============================================================ */

/* Allow dropdown to extend outside CTA section */
.cta-section {
    position: relative;
    overflow: visible !important;
    z-index: 50;
}

/* Keep CTA content above following sections */
.cta-section .container {
    position: relative;
    z-index: 51;
}

/* Keep call dropdown above everything around it */
.call-dropdown-wrapper {
    position: relative;
    z-index: 100;
}

/* Dropdown itself */
.call-dropdown {
    z-index: 9999;
}

/* Prevent the FAQ/next section from covering dropdown */
.cta-section + section {
    position: relative;
    z-index: 1;
}

/* ============================================================
   FIX - HIDE HAMBURGER MENU ON DESKTOP
   ============================================================ */

/* Hide hamburger button on desktop by default */
.nav-toggle {
    display: none !important;
}

/* Show hamburger button only on mobile */
@media (max-width: 767px) {
    .nav-toggle {
        display: flex !important;
    }
}


/* =====================================================
   MEDIA PARTNERS / CLIENTS SECTION - FULLY DYNAMIC
   ==================================================== */

.partners-section {
    background: var(--light);
    padding: 80px 0 60px;
    overflow: hidden;
    position: relative;
}

.partners-track-wrapper {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 30px 0;
    background: var(--white);
    box-shadow: inset 0 10px 30px rgba(0,0,0,0.02), inset 0 -10px 30px rgba(0,0,0,0.02);
}

/* Single Track - Fully dynamic */
.partners-track {
    display: flex;
    align-items: center;
    gap: 50px;
    width: max-content;
    padding: 20px 0;
    animation: scrollBackAndForth var(--animation-duration, 30s) ease-in-out infinite alternate;
}

/* Back and Forth Animation - Uses dynamic variable */
@keyframes scrollBackAndForth {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(var(--scroll-distance, -30%));
    }
}

/* Partner Logo Item */
.partner-item {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 180px;
    height: 100px;
    padding: 15px 25px;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    border: 1px solid var(--border);
    cursor: default;
}

.partner-item:hover {
    transform: scale(1.05) translateY(-5px);
    box-shadow: 0 12px 35px rgba(18, 53, 91, 0.12);
    border-color: var(--accent);
}

/* Partner Logo Image */
.partner-item img {
    max-width: 140px;
    max-height: 60px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(0.3);
    transition: filter 0.4s ease;
}

.partner-item:hover img {
    filter: grayscale(0);
}

/* Fallback for missing images - show text */
.partner-item .partner-name {
    font-weight: 700;
    font-size: 1rem;
    color: var(--primary);
    text-align: center;
    letter-spacing: 0.5px;
}

/* No images message */
.no-partners-message {
    text-align: center;
    padding: 40px;
    color: var(--muted);
    font-size: 1.1rem;
}

.no-partners-message span {
    display: block;
    font-size: 3rem;
    margin-bottom: 15px;
}

/* =====================================================
   RESPONSIVE
   ==================================================== */

@media (max-width: 991px) {
    .partner-item {
        min-width: 150px;
        height: 85px;
        padding: 12px 20px;
    }

    .partner-item img {
        max-width: 110px;
        max-height: 45px;
    }

    .partners-track {
        gap: 35px;
    }
}

@media (max-width: 767px) {
    .partners-section {
        padding: 60px 0 40px;
    }

    .partners-track-wrapper {
        padding: 20px 0;
    }

    .partner-item {
        min-width: 120px;
        height: 70px;
        padding: 10px 15px;
        border-radius: 8px;
    }

    .partner-item img {
        max-width: 90px;
        max-height: 35px;
    }

    .partners-track {
        gap: 25px;
        padding: 12px 0;
    }

    .partner-item .partner-name {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .partner-item {
        min-width: 100px;
        height: 60px;
        padding: 8px 12px;
    }

    .partner-item img {
        max-width: 70px;
        max-height: 28px;
    }

    .partners-track {
        gap: 18px;
        padding: 10px 0;
    }
}