/* ------------------------------------------------------------------
 * B'COS marketing site — small overrides on top of the bcos template.
 * Keeps the vendor main.css untouched (project convention).
 * ------------------------------------------------------------------ */

/* Header CTA cluster (Log in / Get Started / Patient Portal) */
.site-cta {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    justify-content: flex-end;
    flex-wrap: wrap;
}
.site-link-portal {
    font-weight: 600;
    font-size: 15px;
    color: #02015a;
    white-space: nowrap;
}
.site-link-portal:hover { color: #4a49c9; }

/* Ghost variant of the template's primary button */
.vl-btn4.vl-btn4-ghost {
    background: transparent !important;
    color: #02015a !important;
    border: 1.5px solid rgba(2, 1, 90, 0.25) !important;
    box-shadow: none !important;
}
.vl-btn4.vl-btn4-ghost:hover {
    background: #02015a !important;
    color: #fff !important;
    border-color: #02015a !important;
}

/* Blog card excerpt (template card has no excerpt by default) */
.vl-blog-1-excerpt {
    color: #6b7280;
    font-size: 15px;
    line-height: 1.6;
    margin: 0;
}

/* Mission / Vision / Promise cards on the About page */
.mvp-card {
    height: 100%;
    padding: 32px 28px;
    border-radius: 16px;
    background: #f7f7fb;
    border: 1px solid #ececf4;
}
.mvp-card h3 { margin-bottom: 12px; }
.mvp-card p { color: #4b5563; margin: 0; }

/* Simple value cards (About page) */
.value-card {
    height: 100%;
    padding: 28px 26px;
    border-radius: 16px;
    background: #fff;
    border: 1px solid #ececf4;
    box-shadow: 0 8px 26px rgba(16, 24, 40, .05);
}
.value-card h4 { margin-bottom: 10px; }
.value-card p { color: #4b5563; margin: 0; }

/* Keep long service grids tidy */
.service-inner-area .service4-boxarea { margin-bottom: 24px; }

/* Contact detail chips */
.site-contact-card {
    padding: 26px;
    border-radius: 16px;
    background: #f7f7fb;
    border: 1px solid #ececf4;
    height: 100%;
}
.site-contact-card i { color: #4a49c9; margin-right: 8px; }

/* Post body spacing */
.site-post-body h3 { margin: 28px 0 12px; }
.site-post-body p  { margin-bottom: 18px; line-height: 1.75; color: #3f4451; }
.site-post-body img { max-width: 100%; border-radius: 12px; }

/* Equal-height service cards with consistent online imagery */
.service4-boxarea { height: 100%; display: flex; flex-direction: column; }
.service4-boxarea .content-area { flex: 1 1 auto; }
.service4-boxarea .content-area p {
    min-height: 78px;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.service4-boxarea .img1 img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 12px;
}
.service-inner-area > [class*="col-"] { display: flex; }

/* Cookie banner */
.site-cookie {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 9999;
    background: #02015a; color: #fff;
    padding: 16px 22px;
    display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
    justify-content: center;
    box-shadow: 0 -6px 24px rgba(0,0,0,.18);
}
.site-cookie p { margin: 0; font-size: 14px; max-width: 720px; }
.site-cookie a { color: #ffd166; text-decoration: underline; }
.site-cookie .site-cookie-actions { display: flex; gap: 10px; }
.site-cookie button {
    border: 0; border-radius: 8px; padding: 9px 18px;
    font-weight: 600; font-size: 14px; cursor: pointer;
}
.site-cookie .cookie-accept { background: #ffd166; color: #02015a; }
.site-cookie .cookie-decline { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.4); }

/* Legal pages */
.site-legal-body h2 { margin: 26px 0 12px; font-size: 22px; }
.site-legal-body h3 { margin: 22px 0 10px; font-size: 18px; }
.site-legal-body p, .site-legal-body li { color: #3f4451; line-height: 1.75; }
.site-legal-body ul { padding-left: 20px; margin-bottom: 18px; }

/* -----------------------------------------------------------------------------
 * Navbar single-line alignment
 * The template splits the header into fixed Bootstrap columns (col-lg-3/5/4),
 * so the logo, menu and CTA can't share one line once the phone + button are
 * wide. Make the header row a no-wrap flex row where the columns size to their
 * content and the menu flexes to fill the middle.
 * --------------------------------------------------------------------------- */
@media (min-width: 992px) {
    #vl-header-sticky .row.row-bg1 {
        display: flex !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
    }
    #vl-header-sticky .row.row-bg1 > [class*="col-"] {
        width: auto !important;
        max-width: none !important;
        flex: 0 0 auto;
    }
    /* Menu column takes the remaining space and centres its links */
    #vl-header-sticky .row.row-bg1 > .col-lg-5 { flex: 1 1 auto; min-width: 0; }

    #vl-header-sticky .vl-main-menu nav > ul {
        display: flex;
        flex-wrap: nowrap;
        justify-content: center;
        align-items: center;
        gap: 6px;
        margin: 0;
    }
    #vl-header-sticky .vl-main-menu nav > ul > li { white-space: nowrap; }
    #vl-header-sticky .vl-main-menu nav > ul > li > a { padding-left: 12px; padding-right: 12px; }

    #vl-header-sticky .btn-area1 {
        display: flex;
        flex-wrap: nowrap;
        align-items: center;
        justify-content: flex-end;
        gap: 16px;
    }
    #vl-header-sticky .btn-area1 .phone,
    #vl-header-sticky .btn-area1 .vl-btn4 { white-space: nowrap; }
}

/* =============================================================================
 * B'COS brand palette — portal blue (primary) + logo accent colours.
 * Re-tints the vendor template's navy without touching main.css.
 * ============================================================================= */
:root {
    --bcos-blue:      #0d6efd;   /* the portal / app accent */
    --bcos-blue-dark: #0b5ed7;
    --bcos-teal:      #189090;   /* logo */
    --bcos-orange:    #f07830;   /* logo */
    --bcos-coral:     #f06048;   /* logo */
    --bcos-crimson:   #c01830;   /* logo */
    --bcos-lime:      #8ba417;   /* logo (darkened for contrast) */
}

/* Primary buttons */
.vl-btn4 {
    background-color: var(--bcos-blue) !important;
    border-color: var(--bcos-blue) !important;
    color: #fff !important;
}
.vl-btn4:hover { background-color: var(--bcos-blue-dark) !important; border-color: var(--bcos-blue-dark) !important; }
.vl-btn4 svg path { fill: #fff; }

/* Ghost button */
.vl-btn4.vl-btn4-ghost {
    background: transparent !important;
    color: var(--bcos-blue) !important;
    border: 1.5px solid rgba(13, 110, 253, .35) !important;
}
.vl-btn4.vl-btn4-ghost:hover { background: var(--bcos-blue) !important; color: #fff !important; border-color: var(--bcos-blue) !important; }

/* Eyebrow labels — blue text on a blue-tinted pill (template used indigo
   #4416ff). `.heading4 h5` is the template's own eyebrow rule (used by the
   hero AND every section header), so retint it directly to beat it. */
.heading4 h5,
.vl-section-subtitle {
    color: var(--bcos-blue) !important;
    background-color: rgba(13, 110, 253, .10) !important;
}
.heading4 h5 svg path,
.vl-section-subtitle svg path { stroke: var(--bcos-blue) !important; fill: var(--bcos-blue) !important; }

/* HERO — floating icon badges had a lavender-indigo glow; make it a soft blue */
.hero4-section-area .icons-area > div {
    box-shadow: 0px 5px 20px rgba(13, 110, 253, .30) !important;
}
.hero4-section-area .icons { background-color: rgba(13, 110, 253, .10) !important; }

/* Nav active / hover */
#vl-header-sticky .vl-main-menu nav > ul > li.active > a,
#vl-header-sticky .vl-main-menu nav > ul > li > a:hover { color: var(--bcos-blue) !important; }

/* Header phone link + icon */
.btn-area1 .phone { color: var(--bcos-blue) !important; }
.btn-area1 .phone svg path { fill: var(--bcos-blue) !important; }
.site-link-portal { color: var(--bcos-blue) !important; }

/* Read-more / learn-more links + card title hover */
.readmore, .learnmore { color: var(--bcos-blue) !important; }
.readmore svg path, .learnmore svg path { stroke: var(--bcos-blue) !important; }
.service4-boxarea .title:hover, .vl-blog-1-title a:hover { color: var(--bcos-blue) !important; }
.vl-blog-meta a { color: var(--bcos-teal) !important; }

/* Footer link hovers + socials */
.vl-footer4-section-area .footer-widget-area ul li a:hover { color: var(--bcos-blue) !important; }
.vl-footer4-section-area .social-links li a:hover { color: var(--bcos-blue) !important; }

/* Homepage stat counters — a pop of the logo colours */
.about4-heading .row > div:nth-child(1) .counter-boxarea h2 { color: var(--bcos-blue); }
.about4-heading .row > div:nth-child(2) .counter-boxarea h2 { color: var(--bcos-teal); }
.about4-heading .row > div:nth-child(3) .counter-boxarea h2 { color: var(--bcos-orange); }
.about4-heading .row > div:nth-child(4) .counter-boxarea h2 { color: var(--bcos-crimson); }

/* Contact card icon accent */
.site-contact-card i { color: var(--bcos-blue) !important; }

/* Cookie banner → brand blue */
.site-cookie { background: var(--bcos-blue) !important; }
.site-cookie a { color: #ffe08a !important; }
.site-cookie .cookie-accept { background: #fff !important; color: var(--bcos-blue) !important; }
.site-cookie .cookie-decline { border-color: rgba(255,255,255,.5) !important; }

/* Value / MVP cards — subtle blue-tinted accents */
.value-card, .mvp-card { border-top: 3px solid var(--bcos-blue); }
