/* Home page
   Bootstrap classes handle layout, spacing and responsiveness in home.blade.php.
   This file only holds what Bootstrap can't express.

   Naming: vhcs- prefix + BEM, one block per section.
     .vhcs-block                 section / component
     .vhcs-block__element        part of the block
     .vhcs-block--modifier       variant
   Each block keeps its own responsive rules nested inside it. */

.vhcs-home {
    --vhcs-navy: #112D4B;
    --vhcs-navy-dark: #0a1d31;
    --vhcs-green: #00BA88;
    --vhcs-green-dark: #009a71;

    /* Body text is black; p inherits so dark sections can use text-white */
    color: #000000;

    p {
        color: inherit;
    }

    /* Undo style.css h3/h4 globals so Bootstrap fs-* classes size headings */
    h2,
    h3,
    h4 {
        color: inherit;
        line-height: 1.3;
    }

    /* ========== Shared ========== */

    /* Buttons: <a class="btn vhcs-btn vhcs-btn--navy"> (Bootstrap button variables) */
    .vhcs-btn {
        --bs-btn-font-size: 16px;
        --bs-btn-line-height: 28px;
    }

    .vhcs-btn--navy {
        --bs-btn-color: #fff;
        --bs-btn-bg: var(--vhcs-navy);
        --bs-btn-border-color: var(--vhcs-navy);
        --bs-btn-hover-color: #fff;
        --bs-btn-hover-bg: var(--vhcs-navy-dark);
        --bs-btn-hover-border-color: var(--vhcs-navy-dark);
        --bs-btn-active-color: #fff;
        --bs-btn-active-bg: var(--vhcs-navy-dark);
    }

    .vhcs-btn--outline {
        --bs-btn-color: var(--vhcs-navy);
        --bs-btn-bg: rgba(255, 255, 255, .85);
        --bs-btn-border-color: var(--vhcs-green);
        --bs-btn-hover-color: #fff;
        --bs-btn-hover-bg: var(--vhcs-green);
        --bs-btn-hover-border-color: var(--vhcs-green);
        --bs-btn-active-color: #fff;
        --bs-btn-active-bg: var(--vhcs-green-dark);
    }

    .vhcs-btn--green {
        --bs-btn-color: #000;
        --bs-btn-bg: var(--vhcs-green);
        --bs-btn-border-color: var(--vhcs-green);
        --bs-btn-hover-color: #000;
        --bs-btn-hover-bg: var(--vhcs-green-dark);
        --bs-btn-hover-border-color: var(--vhcs-green-dark);
        --bs-btn-active-color: #000;
        --bs-btn-active-bg: var(--vhcs-green-dark);
    }

    .vhcs-btn--white {
        --bs-btn-color: var(--vhcs-navy);
        --bs-btn-bg: #fff;
        --bs-btn-border-color: #fff;
        --bs-btn-hover-color: #fff;
        --bs-btn-hover-bg: var(--vhcs-green);
        --bs-btn-hover-border-color: var(--vhcs-green);
        --bs-btn-active-color: #fff;
        --bs-btn-active-bg: var(--vhcs-green-dark);
    }

    /* Transparent with a white outline, for dark backgrounds */
    .vhcs-btn--ghost {
        --bs-btn-color: #fff;
        --bs-btn-bg: transparent;
        --bs-btn-border-color: #fff;
        --bs-btn-hover-color: var(--vhcs-navy);
        --bs-btn-hover-bg: #fff;
        --bs-btn-hover-border-color: #fff;
        --bs-btn-active-color: var(--vhcs-navy);
        --bs-btn-active-bg: #fff;
    }

    .vhcs-badge {
        background: linear-gradient(90deg, var(--vhcs-navy), var(--vhcs-green));
        font-size: 16px;
    }

    /* Centred section heading + intro paragraph */
    .vhcs-intro {
        max-width: 1160px;
    }

    .vhcs-divider {
        border-color: #E2E2E2;
    }

    /* ========== Hero ========== */
    .vhcs-hero {
        background: url("../images/home/outsourced-rcm-services-banner.webp") right center / cover no-repeat;

        /* Desktop: keep the banner's 1920x750 proportion */
        @media (min-width: 992px) {
            min-height: 39vw;
        }

        /* Tablet / mobile: photo sits behind the text, so lighten it */
        @media (max-width: 991.98px) {
            background-image: linear-gradient(rgba(255, 255, 255, .85), rgba(255, 255, 255, .85)), url("../images/home/outsourced-rcm-services-banner.webp");
            background-position: 70% center;
        }
    }

    .vhcs-hero__title {
        color: var(--vhcs-navy);
        font-size: 42px;
        font-weight: 800;
        line-height: 1.25;

        @media (max-width: 991.98px) {
            font-size: 34px;
        }

        @media (max-width: 575.98px) {
            font-size: 28px;
        }
    }

    .vhcs-hero__text {
        font-size: 15px;
        line-height: 32px;
    }

    /* Floating "Talk to Us" phone link */
    /* "Talk to Us" call button — fixed; its vertical position (top) is set by the script in
       home.blade.php: it starts at the banner's bottom end, scrolls up with it, then sticks at the
       middle of the screen. .is-compact collapses it to the icon after the banner; hover opens it.
       Without JS it simply sits 110px from the bottom. */
    .vhcs-call {
        position: fixed;
        bottom: 110px;
        z-index: 1030;
        background: linear-gradient(90deg, #112D4B 0%, #008662 100%);
        border: 2px solid var(--vhcs-green);
        border-right: 0;
        border-radius: 40px 0 0 40px;
        box-shadow: 0 8px 24px 0 rgba(4, 37, 57, .25);

        /* Hidden until the script has positioned it, then fades in (no open/close flash on load) */
        opacity: 0;
        visibility: hidden;

        &.is-ready {
            opacity: 1;
            visibility: visible;
            transition: opacity .3s ease, visibility .3s;
        }

        /* No slide animation before it is ready */
        &:not(.is-ready) .vhcs-call__text {
            transition: none;
        }

        &:hover,
        &:focus-visible {
            color: #fff;
        }

        &.is-compact .vhcs-call__text {
            max-width: 0;
            padding: 8px 0;
            opacity: 0;
        }

        &.is-compact:hover .vhcs-call__text,
        &.is-compact:focus-visible .vhcs-call__text {
            max-width: 260px;
            padding: 8px 18px 8px 16px;
            opacity: 1;
        }
    }

    .vhcs-call__icon {
        width: 65px;
        height: 65px;
        background: var(--vhcs-navy);
        border-right: 2px solid var(--vhcs-green);
    }

    .vhcs-call__text {
        max-width: 260px;
        padding: 8px 18px 8px 16px;
        white-space: nowrap;
        opacity: 1;
        transition: max-width .45s ease, padding .45s ease, opacity .3s ease;

        @media (prefers-reduced-motion: reduce) {
            transition: none;
        }
    }

    /* ========== Stats + certifications ========== */
    .vhcs-trust {
        background: #f7f8f8 url("../images/home/cerifcate-bg.webp") center / cover no-repeat;
    }

    .vhcs-trust__stat {
        border-radius: 5px;
        border-inline: 2px solid rgba(0, 186, 136, .75);
        box-shadow: 0 -2px 2px 0 rgba(0, 0, 0, .05), 0 2px 2px 0 rgba(0, 0, 0, .10);
        /* Mesh gradient approximation (4 points) */
        background-color: #F9F6F5;
        background-image:
            radial-gradient(circle at 25% 25%, #FFFFFF 0%, transparent 60%),
            radial-gradient(circle at 75% 25%, #F9F9F9 0%, transparent 60%),
            radial-gradient(circle at 25% 75%, #F2EBEB 0%, transparent 60%),
            radial-gradient(circle at 75% 75%, #FFF6F6 0%, transparent 60%);
    }

    .vhcs-trust__label {
        font-size: 15px;

        @media (max-width: 575.98px) {
            font-size: 13px;
            line-height: 18px;
        }
    }

    /* Owl clips at its edges; 1px inside each slide keeps the dashed border fully visible */
    .vhcs-trust__slider .owl-item {
        padding: 1px;
    }

    .vhcs-trust__cert {
        height: 72px;
        border: 1px dashed rgba(17, 45, 75, .5);

        /* Owl Carousel sets slide images to width:100%; keep the logo's own proportions */
        img {
            width: auto !important;
            max-width: 100%;
            max-height: 48px;
        }
    }

    /* ========== Core services ========== */
    .vhcs-service {
        border: 1px solid rgba(16, 77, 63, .09);
        border-radius: 0 0 24px 24px;
        box-shadow: 0 24px 56px 0 rgba(23, 78, 66, .09);
    }

    .vhcs-service__img {
        height: 240px;
    }

    .vhcs-service__kicker {
        color: var(--vhcs-green);
        font-size: 12px;
    }

    .vhcs-service__desc,
    .vhcs-service__list {
        font-size: 15px;
    }

    /* Service list links: black text, green on hover (style.css makes every link white) */
    .vhcs-service__link {
        color: #000;

        &:hover,
        &:focus {
            color: var(--vhcs-green);
        }
    }

    .vhcs-beyond {
        box-shadow: 0 16px 32px 0 rgba(21, 63, 114, .16);
    }

    .vhcs-beyond__list {
        @media (min-width: 992px) {
            max-width: 800px;
        }
    }

    /* ========== Key benefits ========== */
    .vhcs-benefits {
        background: #F9F9F9;
    }

    /* 12px either side of the green line */
    .vhcs-benefits__item {
        gap: 12px;
    }

    /* Fixed width so the green dividers line up in a straight column */
    .vhcs-benefits__value {
        min-width: 56px;
        /* Right-aligned so every number sits the same 8px from the green line */
        text-align: right;
    }

    .vhcs-benefits__label {
        min-height: 48px;
        padding-left: 12px;
        border-left: 2px solid var(--vhcs-green);
        font-size: 15px;
    }

    /* ========== Why choose ========== */
    .vhcs-why {
        background: #fff url("../images/home/why_healthcare_bg.webp") center / cover no-repeat;
    }

    .vhcs-why__text {
        font-size: 15px;
        line-height: 28px;
    }

    .vhcs-why__card {
        border: 1px solid #DFECEA;
        border-radius: 20px;
        box-shadow: 0 12px 34px 0 rgba(25, 76, 70, .055);
    }

    /* ========== Who we are ========== */
    .vhcs-who {
        background: #134a5a url("../images/home/revenue_sec_bg.webp") center / cover no-repeat;
    }

    .vhcs-who__text {
        font-size: 15px;
        line-height: 24px;
    }

    .vhcs-who__media {
        max-width: 575px;
    }

    .vhcs-who__frame {
        background: rgba(255, 255, 255, .15);
        border-radius: 40px;
    }

    .vhcs-who__photo {
        border-radius: 28px;

        /* Dark fade over the lower half of the photo */
        &::before {
            content: "";
            position: absolute;
            inset: 0;
            background: linear-gradient(to bottom, rgba(4, 37, 57, 0) 48%, rgba(4, 37, 57, .76) 100%);
            pointer-events: none;
        }

        /* Thin inset outline over the photo */
        &::after {
            content: "";
            position: absolute;
            inset: 16px;
            border: 1px solid rgba(255, 255, 255, .55);
            border-radius: 174px 20px 20px 20px;
            background: transparent;
            pointer-events: none;
        }
    }

    .vhcs-who__caption {
        /* 25px inside the inset border (border sits 16px from the edge) */
        padding-left: 41px;
        padding-bottom: 41px;
    }

    .vhcs-who__caption-kicker {
        font-size: 10px;
    }

    .vhcs-who__caption-title {
        font-size: 18px;
    }

    /* Highlighted "19+" card: white with navy text, overlapping the top-left of the photo frame */
    .vhcs-who__stat {
        top: 86px;
        left: -42px;
        z-index: 2;
        min-width: 195px;
        color: var(--vhcs-navy);
        background: #fff;
        border-radius: 8px 24px 24px 24px;
        /* translucent outside ring + drop shadow so it stands out from the photo */
        box-shadow: 0 0 0 10px rgba(255, 255, 255, .15), 0 18px 40px 0 rgba(4, 37, 57, .35);

        /* Below xl the card sits inside the frame instead of hanging off it */
        @media (max-width: 1199.98px) {
            top: 34px;
            left: -2px;
        }
    }

    .vhcs-who__stat-value {
        color: var(--vhcs-green);
        font-size: 48px;

        @media (max-width: 575.98px) {
            font-size: 30px;
        }
    }

    .vhcs-who__stat-text {
        font-size: 16px;
        line-height: 22px;
    }

    /* Compliance bar (glass card) */
    .vhcs-compliance {
        font-size: 15px;
        background: rgba(17, 45, 75, .20);
        border: 1px solid var(--vhcs-green);
        border-radius: 15px;
        /* Glass approximation */
        -webkit-backdrop-filter: blur(4px) saturate(140%);
        backdrop-filter: blur(4px) saturate(140%);
        box-shadow:
            inset 1px 1px 0 rgba(255, 255, 255, .35),
            inset -1px -1px 0 rgba(255, 255, 255, .08);
    }

    .vhcs-compliance__lead {
        @media (min-width: 992px) {
            border-right: 1px solid rgba(0, 186, 136, .6);
        }
    }

    .vhcs-compliance__accent {
        color: var(--vhcs-green);
    }

    /* ========== Software we use (two-row logo marquee) ========== */
    .vhcs-software__panel {
        border-block: 1px solid #E0ECE9;
        background: linear-gradient(90deg, #F7FAF9, #fff 20%, #fff 80%, #F7FAF9);
        /* Left and right fade (on the panel, which stays still, not the moving tracks) */
        -webkit-mask-image: linear-gradient(to right, transparent 0%, #ffffff 10%, #ffffff 90%, transparent 100%);
        mask-image: linear-gradient(to right, transparent 0%, #ffffff 10%, #ffffff 90%, transparent 100%);
    }

    .vhcs-software__track {
        width: max-content;
        animation: vhcs-marquee 50s linear infinite;

        &:hover {
            animation-play-state: paused;
        }

        @media (prefers-reduced-motion: reduce) {
            animation: none;
        }
    }

    .vhcs-software__track--reverse {
        animation-direction: reverse;
    }

    .vhcs-software__logo {
        width: 212px;
        height: 112px;
        border: 1px solid #E0ECE9;
        border-radius: 14px;

        img {
            max-width: 150px;
            max-height: 44px;
            object-fit: contain;
        }

        @media (max-width: 767.98px) {
            width: 160px;
            height: 84px;

            img {
                max-width: 120px;
                max-height: 36px;
            }
        }
    }

    /* ========== Specialties CTA ========== */
    .vhcs-specialties {
        background: var(--vhcs-navy) url("../images/home/cta_bg.webp") center / cover no-repeat;
    }

    .vhcs-specialties__text {
        font-size: 15px;
        line-height: 28px;
    }

    /* ========== Client testimonials (Bootstrap fade carousel) ========== */
    .vhcs-testimonials {
        background: #F9F9F9;
    }

    .vhcs-testimonials__card {
        max-width: 1180px;
        border-bottom: 4px solid var(--vhcs-green);
        border-radius: 20px 20px 6px 6px;
        box-shadow: 0 10px 30px 0 rgba(0, 0, 0, .06);
    }

    .vhcs-testimonials__quote {
        max-width: 960px;
        font-size: 15px;
        line-height: 24px;
    }

    .vhcs-testimonials__icon {
        color: var(--vhcs-green);
    }

    .vhcs-testimonials__avatar {
        width: 56px;
        height: 56px;
        background: #E9EDF2;
    }

    /* Current client: larger, with a grey ring and white gap */
    .vhcs-testimonials__avatar--active {
        width: 116px;
        height: 116px;
        padding: 4px !important;
        background: #fff;
        border: 4px solid #D1D5DB !important;

        @media (max-width: 575.98px) {
            width: 88px;
            height: 88px;
        }
    }

    .vhcs-testimonials__name {
        color: var(--vhcs-green);
        font-size: 18px;
    }

    /* Dots: grey circles, active one is a green pill */
    .vhcs-testimonials__dots [data-bs-target] {
        width: 10px;
        height: 10px;
        margin: 0;
        border: 0;
        border-radius: 5px;
        background-color: #D1D5DB;
        opacity: 1;
        transition: width .3s, background-color .3s;

        &.active {
            width: 24px;
            background-color: var(--vhcs-green);
        }
    }

    /* ========== Talk to a billing advisor ========== */
    .vhcs-advisor {
        background: var(--vhcs-navy) url("../images/home/form-section_bg.webp") center / cover no-repeat;
    }

    .vhcs-advisor__text {
        font-size: 15px;
        line-height: 24px;
    }

    .vhcs-advisor__frame {
        background: rgba(255, 255, 255, .15);
        border-radius: 40px;
    }

    /* Restyles the shared profile-form partial (style.css) for this section only:
       underlined fields, green captcha reload, green full-text button */
    .vhcs-advisor__form {
        border-radius: 28px;

        .profileform .form-group {
            margin: 0 0 20px;
        }

        .form-control {
            min-height: 44px;
            padding: 8px 2px;
            background-color: transparent !important;
            border: 0;
            border-bottom: 1px solid #8CE0C9;
            border-radius: 0;
            color: #000;
            font-size: 15px;
            font-weight: 400;
            line-height: 24px;

            &::placeholder {
                color: #000;
                opacity: 1;
            }

            &:focus {
                border-bottom-color: var(--vhcs-green);
            }
        }

        #captcha::placeholder {
            color: #8a8a8a;
        }

        textarea.form-control {
            resize: none;
        }

        /* Captcha image box */
        .captcha .form-control {
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 0;
        }

        /* Reload: green square with a white refresh icon in place of reload.webp */
        #new_qconnect_captcha {
            position: static;
            display: flex;
            align-items: center;
            justify-content: center;
            width: 32px;
            height: 32px;
            margin-top: 6px;
            padding: 0;
            border-radius: 6px;
            background-color: var(--vhcs-green);

            img {
                display: none;
            }

            &::before {
                content: "\f021";
                font-family: FontAwesome;
                color: #fff;
                font-size: 16px;
            }
        }

        .privacy-link {
            font-size: 15px;
            line-height: 24px;

            a {
                color: var(--vhcs-green);
            }
        }

        .red_btn {
            margin-top: 32px !important;
        }

        .red_btn button {
            border-radius: 4px;
            background: var(--vhcs-green);

            &:hover {
                background: var(--vhcs-green-dark);
            }
        }

        .red_btn button .btn-text-holder,
        .red_btn button:hover .btn-text-holder {
            min-width: 0;
            padding: 10px 32px;
            background: transparent;
            color: #000;
            font-weight: 600;
            line-height: 28px;
        }

        .btn-icon-holder {
            display: none !important;
        }
    }

    /* ========== FAQ (Bootstrap accordion, each item a separate card) ========== */
    .vhcs-faq__list {
        --bs-accordion-border-color: rgba(0, 186, 136, .6);
        --bs-accordion-border-radius: 16px;
        --bs-accordion-inner-border-radius: 15px;
        --bs-accordion-btn-padding-x: 28px;
        --bs-accordion-btn-padding-y: 24px;
        --bs-accordion-body-padding-x: 28px;
        --bs-accordion-body-padding-y: 24px;
        --bs-accordion-btn-color: #000;
        --bs-accordion-active-color: #000;
        --bs-accordion-active-bg: #fff;
        --bs-accordion-btn-focus-box-shadow: none;
        --bs-accordion-btn-icon-width: 24px;
        --bs-accordion-btn-icon-transform: none;
        /* Closed: outlined circle with plus; open: filled green circle with minus */
        --bs-accordion-btn-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='11' fill='none' stroke='%2300BA88' stroke-width='1.2'/%3E%3Cpath d='M12 7v10M7 12h10' stroke='%23112D4B' stroke-width='1.2' stroke-linecap='round'/%3E%3C/svg%3E");
        --bs-accordion-btn-active-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='12' fill='%2300BA88'/%3E%3Cpath d='M7 12h10' stroke='%23fff' stroke-width='1.4' stroke-linecap='round'/%3E%3C/svg%3E");

        .accordion-item {
            background: #FFFFFF;
            border: 1px solid rgba(0, 186, 136, .60);
            border-radius: 16px !important;
            box-shadow: 0 14px 34px 0 rgba(31, 64, 69, .10);
            overflow: hidden;
        }

        .accordion-button {
            gap: 16px;
            font-size: 15px;
            line-height: 24px;
            border-radius: var(--bs-accordion-inner-border-radius) !important;
            box-shadow: none;

            /* Hide style.css's global text "+" / "-" so only the circle icon shows */
            &::before {
                content: none !important;
            }

            /* cookies.css hides every accordion icon; show the circle icon here */
            &::after {
                display: block;
            }
        }
    }

    /* Solid colour (not semi-transparent) and normal weight so the text renders crisply */
    .vhcs-faq__answer {
        color: #000000;
        font-size: 15px;
        font-style: normal;
        font-weight: 400;
        line-height: 26.3px;
        letter-spacing: 0;
    }

    .vhcs-faq__link {
        color: var(--vhcs-green);
        font-weight: 500;
        text-decoration: underline;
    }

    /* ========== Blog + case studies ==========
       Card HTML comes from the WordPress endpoint (hcs-theme functions.php) and style.css styles it
       through #blogLoadSection / #caseStudyLoadSection, so these selectors include the ids to win. */
    .vhcs-posts--blog {
        background: #F9F9F9;
    }

    .vhcs-posts :is(#blogLoadSection, #caseStudyLoadSection) {
        > .row {
            --bs-gutter-x: 20px;
            --bs-gutter-y: 32px;
        }

        .blog-content-single.blog_home_new {
            position: relative;
            height: 100%;
            min-height: 0;
            margin: 0;
            padding: 0;
            background: transparent;
            border: 0;
            border-radius: 0;
            box-shadow: none;

            .blog-img.home-blog-img.blog_home_new_img {
                position: relative;
                width: 100%;
                overflow: hidden;
                border-radius: 24px;
                box-shadow: 0 8px 20px 0 rgba(0, 0, 0, .08);

                img {
                    display: block;
                    width: 100%;
                    height: auto;
                    aspect-ratio: 430 / 290;
                    object-fit: cover;
                    transition: transform .4s ease;
                }
            }

            &:hover .blog_home_new_img img {
                transform: scale(1.04);
            }

            /* Category pill over the image (hidden with d-none on other pages) */
            .post-category {
                position: absolute;
                top: 20px;
                left: 3px;
                z-index: 1;
                display: inline-block !important;
                padding: 10px 26px;
                border-radius: 20px;
                background: var(--vhcs-navy);
                color: #fff;
                font-size: 14px;
                font-weight: 500;
                line-height: 20px;
            }

            /* Author avatar | name | date (hidden with d-none on other pages) */
            .post-meta {
                display: flex !important;
                align-items: center;
                gap: 8px;
                margin-top: 12px;
                color: #000;
                font-size: 14px;
                line-height: 20px;
            }

            .post-meta-avatar {
                width: 24px;
                height: 24px;
                border-radius: 50%;
                object-fit: cover;
            }

            .blog-text.blog-text-home.blog_home_new_text {
                position: static;
                padding: 16px 12px 0;

                h3 {
                    margin: 0;
                    color: #000;
                    font-size: 20px;
                    font-weight: 500;
                    line-height: 30px;
                }

                p {
                    margin-top: 16px;
                    padding-right: 40px;
                    color: rgba(0, 0, 0, .50);
                    font-size: 15px;
                    font-weight: 400;
                    line-height: 26.3px;
                }

                /* Link covers the whole card (like Bootstrap's stretched-link) */
                a {
                    position: absolute;
                    inset: 0;
                    left: 0 !important;
                    z-index: 1;

                    span {
                        position: absolute;
                        width: 1px;
                        height: 1px;
                        overflow: hidden;
                        clip: rect(0 0 0 0);
                    }

                    i {
                        display: none;
                    }
                }
            }
        }
    }

    /* Blog cards show image + title only */
    .vhcs-posts--blog #blogLoadSection .blog-content-single.blog_home_new .blog-text.blog-text-home.blog_home_new_text p {
        display: none;
    }

    /* Case study cards: excerpt + arrow_icon.webp at the bottom right (replaces the Font Awesome arrow) */
    .vhcs-posts--case #caseStudyLoadSection .blog-content-single.blog_home_new .blog-text.blog-text-home.blog_home_new_text a i {
        position: absolute;
        right: 18px;
        bottom: 10px;
        display: block;
        width: 32px;
        height: 32px;
        background: url("../images/arrow_icon.webp") center / contain no-repeat;

        &::before {
            content: none;
        }
    }
}

/* Track holds the logo list twice, so moving it by half loops seamlessly */
@keyframes vhcs-marquee {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

/* Hide the shared footer "Our Certification" carousel (credential.blade.php) on the home page only;
   it follows .vhcs-home inside <main>, so other pages are unaffected */
.vhcs-home ~ .credential_footer {
    display: none;
}

/* Core service cards: the photo is hidden on mobile/tablet, so round all four corners there.
   Plain (non-nested) media query so it applies in every browser. */
@media (max-width: 991.98px) {
    .vhcs-home .vhcs-service {
        border-radius: 24px !important;
    }
}

/* Billing advisor form: full width on mobile/tablet, capped beside the text on desktop */
@media (min-width: 992px) {
    .vhcs-home .vhcs-advisor__frame {
        max-width: 575px;
    }
}

/* Benefits grid: as wide as its columns need and centred in the section */
.vhcs-home .vhcs-benefits__grid {
    max-width: 340px;
}

@media (min-width: 576px) {
    .vhcs-home .vhcs-benefits__grid {
        max-width: 680px;
    }
}

@media (min-width: 992px) {
    .vhcs-home .vhcs-benefits__grid {
        max-width: 1000px;
    }
}

/* Benefits numbers: smaller on mobile (overrides Bootstrap fs-4, which uses !important) */
@media (max-width: 575.98px) {
    .vhcs-home .vhcs-benefits__value {
        min-width: 46px;
        font-size: 18px !important;
    }
}
