/* ============================================================
   ZEVENzorg  —  Bootstrap 5 custom stylesheet
   Primary blue : #0f4072   Pink accent : #f02e93
   Body font    : Source Sans 3   Headings : Cabin
   ============================================================ */

:root {
    --blue:        #0f4072;
    --blue-light:  #155a9f;
    --blue-dark:   #092745;
    --pink:        #f02e93;
    --pink-dark:   #d4207e;
    --text:        #020305;
    --muted:       #6c757d;
    --light:       #f8f9fa;

    --font-head: 'Cabin', system-ui, sans-serif;
    --font-body: 'Source Sans 3', system-ui, sans-serif;
}

/* ── Base ── */
body {
    font-family: var(--font-body);
    color: #333;
    font-size: 1.05rem;
    line-height: 1.7;
}
h1,h2,h3,h4,h5,h6 {
    font-family: var(--font-head);
    font-weight: 700;
    color: var(--blue);
}

/* ── Bootstrap overrides ── */
.btn { font-family: var(--font-body); font-weight: 600; border-radius: 4px; }

/* ── Site Header ── */
.site-header {
    background: #fff;
    box-shadow: 0 2px 16px rgba(15,64,114,.1);
}
.site-header-top {
    border-bottom: 1px solid rgba(15,64,114,.1);
}
.site-header .navbar-brand img { transition: opacity .2s; }
.site-header .navbar-brand:hover img { opacity: .85; }
.header-contact-link {
    color: var(--blue);
    text-decoration: none;
    font-size: .9rem;
    font-weight: 600;
    transition: color .2s;
}
.header-contact-link:hover { color: var(--pink); }

/* ── Navbar ── */
.site-navbar {
    background: var(--blue);
    min-height: 50px;
    padding-top: 0;
    padding-bottom: 0;
    align-items: stretch;       /* override Bootstrap's align-items: center */
}
.site-navbar > .container {
    display: flex;
    align-items: stretch;
    padding-top: 0;
    padding-bottom: 0;
}
.site-navbar .navbar-collapse { align-items: stretch; }
.site-navbar .navbar-nav      { align-items: stretch; }
.site-navbar .nav-item        { display: flex; align-items: stretch; }
.site-navbar .navbar-toggler {
    border-color: rgba(255,255,255,.4);
    align-self: center;
    margin: auto 0;
}
.site-navbar .navbar-toggler-icon {
    filter: invert(1);
}
.site-navbar .nav-link {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: .95rem;
    color: rgba(255,255,255,.88);
    border-radius: 0;
    display: flex;
    align-items: center;
    padding: 0 .85rem;
    border-bottom: 3px solid transparent;
    transition: color .2s, border-color .2s;
}
.site-navbar .nav-link:hover,
.site-navbar .nav-link:focus {
    color: #fff;
    background: transparent;
    border-bottom-color: rgba(255,255,255,.5);
}
.site-navbar .nav-link.active {
    color: #fff;
    border-bottom-color: #fff;
}

/* ── News Ticker ── */
.news-ticker {
    background: var(--blue-dark);
    display: flex;
    align-items: stretch;
    overflow: hidden;
    height: 38px;
    white-space: nowrap;
}
.ticker-label {
    background: var(--pink);
    color: #fff;
    font-weight: 700;
    font-size: .8rem;
    text-transform: uppercase;
    letter-spacing: .06em;
    padding: 0 1.1rem;
    flex-shrink: 0;
    display: flex;
    align-items: center;
}
.ticker-viewport {
    flex: 1;
    overflow: hidden;
    display: flex;
    align-items: center;
}
.ticker-track {
    display: inline-block;
    white-space: nowrap;
    animation: ticker-scroll 40s linear infinite;
}
.ticker-track:hover { animation-play-state: paused; }
.ticker-item {
    color: rgba(255,255,255,.85);
    text-decoration: none;
    font-size: .88rem;
    padding: 0 .6rem;
    transition: color .2s;
}
.ticker-item:hover { color: #fff; text-decoration: underline; }
.ticker-sep {
    color: var(--pink);
    padding: 0 .15rem;
}
@keyframes ticker-scroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ── Hero ── */
.hero-section {
    position: relative;
    overflow: hidden;
    min-height: 60vh;
    display: flex;
    align-items: center;
}
.hero-bg {
    position: absolute;
    inset: -20% 0;
    background-size: cover;
    background-position: center;
    z-index: 0;
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(9,39,69,.55) 0%, rgba(15,64,114,.30) 100%);
    z-index: 0;
}
.hero-section .container { position: relative; z-index: 1; }
.min-vh-60 { min-height: 60vh; }

.hero-eyebrow {
    display: inline-block;
    background: rgba(240,46,147,.85);
    color: #fff;
    font-size: .8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .1em;
    padding: .3rem 1rem;
    border-radius: 999px;
}
.hero-title {
    font-family: var(--font-head);
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.1;
    color: #fff;
    text-shadow: 0 2px 12px rgba(0,0,0,.4);
}
.hero-lead {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: rgba(255,255,255,.9);
    max-width: 560px;
}
.hero-scroll-hint {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    color: rgba(255,255,255,.5);
    font-size: 1.2rem;
    animation: bounce 2s infinite;
}
@keyframes bounce {
    0%,100% { transform: translateX(-50%) translateY(0); }
    50%      { transform: translateX(-50%) translateY(6px); }
}

/* ── Custom buttons ── */
.btn-primary-brand {
    background: var(--blue);
    color: #fff;
    border: 2px solid var(--blue);
}
.btn-primary-brand:hover {
    background: var(--blue-dark);
    border-color: var(--blue-dark);
    color: #fff;
}
.btn-outline-white {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255,255,255,.7);
}
.btn-outline-white:hover {
    background: rgba(255,255,255,.15);
    border-color: #fff;
    color: #fff;
}
.btn-white-outline {
    background: transparent;
    color: #fff;
    border: 2px solid #fff;
    font-weight: 700;
}
.btn-white-outline:hover {
    background: #fff;
    color: var(--pink);
}
.btn-pink {
    background: var(--pink);
    color: #fff;
    border: 2px solid var(--pink);
}
.btn-pink:hover {
    background: var(--pink-dark);
    border-color: var(--pink-dark);
    color: #fff;
}

/* ── Trust bar ── */
.trust-bar {
    background: var(--blue-dark);
}
.trust-item {
    font-size: .9rem;
    font-weight: 600;
}
.text-pink { color: var(--pink) !important; }

/* ── Section spacing ── */
.py-section { padding: 60px 0; }

/* ── Section labels ── */
.badge-label {
    display: inline-block;
    background: rgba(15,64,114,.08);
    color: var(--blue);
    font-size: .78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .1em;
    padding: .25rem .85rem;
    border-radius: 999px;
}
.badge-label--light {
    background: rgba(255,255,255,.15);
    color: #fff;
}

/* ── Section titles ── */
.section-title {
    font-family: var(--font-head);
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    font-weight: 700;
    color: var(--blue);
    position: relative;
    padding-bottom: .75rem;
}
.section-title::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 48px; height: 3px;
    background: var(--pink);
    border-radius: 2px;
}
.text-center .section-title::after,
.section-title.text-center::after { left: 50%; transform: translateX(-50%); }
.section-title.text-white { color: #fff !important; }
.section-title.text-white::after { background: rgba(255,255,255,.45); }

.section-lead { color: var(--muted); font-size: 1.05rem; }

/* ── Feature cards ── */
.feature-card {
    border-radius: 12px !important;
    transition: transform .25s, box-shadow .25s;
}
.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(15,64,114,.14) !important;
}
.feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.feature-icon > i {
    width: 64px;
    height: 64px;
    background: var(--blue);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}
.feature-icon > img {
    display: block;
}
.feature-card-title {
    font-family: var(--font-head);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--blue);
}
.btn-text-link {
    font-weight: 700;
    color: var(--pink);
    text-decoration: none;
    font-size: .95rem;
    transition: gap .2s;
    display: inline-flex; align-items: center; gap: .3rem;
}
.btn-text-link:hover { color: var(--pink-dark); }

/* ── Brochure section ── */
.brochure-section {
    position: relative;
    overflow: hidden;
}
.brochure-parallax {
    position: absolute;
    inset: -20% 0;
    background-size: cover;
    background-position: center;
    z-index: 0;
}
.brochure-overlay {
    position: absolute;
    inset: 0;
    background: rgba(240,46,147,.88);
    z-index: 0;
}
.brochure-img-wrap img {
    border-radius: 12px;
    box-shadow: 0 16px 48px rgba(0,0,0,.25);
}
.lead-white,
.lead-white p,
.lead-white li { color: rgba(255,255,255,.9) !important; }

/* ── Background colours ── */
.bg-primary-brand { background-color: var(--blue) !important; }
.bg-pink          { background-color: var(--pink) !important; }

/* ── Nurse icon ── */
.nurse-icon-wrap {
    width: 220px; height: 220px;
    border-radius: 50%;
    background: rgba(255,255,255,.08);
    border: 2px solid rgba(255,255,255,.15);
    display: flex; align-items: center; justify-content: center;
    font-size: 5.5rem;
    color: rgba(255,255,255,.35);
}

/* ── Mijn 7z ── */
.badge-7z {
    width: 80px; height: 80px;
    background: var(--blue);
    color: #fff;
    font-family: var(--font-head);
    font-size: 1.5rem;
    font-weight: 800;
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}

/* ── Contact section ── */
.contact-card {
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.2);
    border-radius: 12px;
    padding: 1.75rem;
    color: #fff;
}
.contact-card h4,.contact-card h5 {
    color: #fff;
    font-family: var(--font-head);
}
.contact-card p  { color: rgba(255,255,255,.85); margin-bottom: .4rem; }
.contact-card a  { color: rgba(255,255,255,.9); text-decoration: underline; }
.contact-card a:hover { color: #fff; }
.contact-card-icon {
    width: 48px; height: 48px;
    background: rgba(255,255,255,.15);
    color: #fff;
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.1rem;
    margin-bottom: 1rem;
}
.contact-card--highlight {
    background: rgba(255,255,255,.22);
    border-color: rgba(255,255,255,.4);
}
.planning-phone {
    font-family: var(--font-head);
    font-size: 1.6rem !important;
    font-weight: 800;
    color: #fff !important;
}

/* ── Page hero (subpages) ── */
.page-hero {
    position: relative;
    overflow: hidden;
    padding: 8rem 0;
    color: #fff;
    background: var(--blue-dark);
}
.page-hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    z-index: 0;
}
.page-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(9,39,69,.78) 0%, rgba(15,64,114,.55) 100%);
    z-index: 0;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero-title {
    font-family: var(--font-head);
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    color: #fff;
    margin: 0;
}
.page-hero-intro {
    color: rgba(255,255,255,.85);
    font-size: 1.1rem;
    margin-top: .75rem;
    max-width: 680px;
    margin-bottom: 0;
}
.page-hero-date {
    color: rgba(255,255,255,.65);
    font-size: .85rem;
}

/* ── Sub-page content sections ── */
.py-subpage { padding: 60px 0; }

/* Content richtext inside sub-pages — clean links, no ugly browser default blue */
.subpage-content { font-family: var(--font-body); font-size: 1.05rem; line-height: 1.8; color: #444; }
.subpage-content h2,.subpage-content h3,.subpage-content h4 {
    font-family: var(--font-head);
    color: var(--blue);
    margin-top: 1.75rem;
    margin-bottom: .6rem;
}
.subpage-content p   { margin-bottom: 1rem; }
.subpage-content ul,.subpage-content ol { padding-left: 1.4rem; margin-bottom: 1rem; }
.subpage-content li  { margin-bottom: .35rem; }
.subpage-content a {
    color: var(--blue);
    text-decoration: none;
    border-bottom: 1px solid rgba(15,64,114,.3);
    transition: border-color .2s, color .2s;
}
.subpage-content a:hover {
    color: var(--pink);
    border-bottom-color: var(--pink);
}

/* Blog card title links — no ugly default blue */
.blog-card-title-link {
    color: var(--blue);
    text-decoration: none;
    transition: color .2s;
}
.blog-card-title-link:hover { color: var(--pink); }

/* ── Footer ── */
.site-footer {
    background: var(--blue);
    color: rgba(255,255,255,.75);
}
.footer-logo { filter: brightness(0) invert(1); opacity: .9; }
.footer-tagline { color: rgba(255,255,255,.65); font-size: .9rem; max-width: 260px; }
.footer-heading {
    font-family: var(--font-head);
    font-size: .72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: #fff;
    margin-bottom: .85rem;
}
.footer-links a {
    color: rgba(255,255,255,.65);
    font-size: .9rem;
    text-decoration: none;
    display: block;
    margin-bottom: .4rem;
    transition: color .2s;
}
.footer-links a:hover { color: #fff; }
.footer-contact-list li {
    display: flex;
    align-items: flex-start;
    gap: .6rem;
    font-size: .9rem;
    margin-bottom: .6rem;
    color: rgba(255,255,255,.7);
}
.footer-contact-list i { color: var(--pink); margin-top: .25rem; width: 14px; }
.footer-contact-list a { color: rgba(255,255,255,.7); text-decoration: none; }
.footer-contact-list a:hover { color: #fff; }
.footer-planning { font-size: .9rem; border-top: 1px solid rgba(255,255,255,.1); padding-top: .85rem; }
.footer-planning strong { color: #fff; display: block; margin-bottom: .25rem; }
.footer-planning a { color: rgba(255,255,255,.7); text-decoration: none; }
.footer-planning a:hover { color: #fff; }
.footer-social-btn {
    width: 34px; height: 34px;
    background: rgba(255,255,255,.1);
    color: rgba(255,255,255,.65);
    border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: .85rem;
    text-decoration: none;
    transition: all .2s;
}
.footer-social-btn:hover { background: var(--pink); color: #fff; }
.footer-bottom {
    background: rgba(0,0,0,.15);
    font-size: .82rem;
    color: rgba(255,255,255,.5);
}
.footer-bottom a { color: rgba(255,255,255,.5); text-decoration: none; }
.footer-bottom a:hover { color: #fff; }

/* ── FAQ subpage ── */
.faq-item { border-bottom: 1px solid #e0e0e0; }
.faq-item:first-child { border-top: 1px solid #e0e0e0; }
.faq-item summary {
    list-style: none;
    display: flex; justify-content: space-between; align-items: center;
    padding: 1.1rem .25rem;
    font-family: var(--font-head); font-weight: 700; font-size: 1rem;
    cursor: pointer; color: var(--blue);
    transition: color .2s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item[open] summary { color: var(--pink); }
.faq-chevron { transition: transform .25s; color: var(--blue); flex-shrink: 0; margin-left: 1rem; }
.faq-item[open] .faq-chevron { transform: rotate(180deg); color: var(--pink); }
.faq-item__answer { padding: .25rem .25rem 1.25rem; }

/* ── Team cards ── */
.team-card {
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    transition: box-shadow .25s;
}
.team-card:hover { box-shadow: 0 8px 32px rgba(15,64,114,.12); }
.team-card-img { width: 144px; height: 144px; border-radius: 50%; object-fit: cover; margin: 0 auto 1rem; border: 3px solid rgba(15,64,114,.12); }
.team-card-role { color: var(--pink); font-size: .85rem; font-weight: 600; }

/* ── Belangen organisaties sectie (ZZP Dossier) ── */
.belangen-section {
    background: var(--blue);
}
.belangen-section h2 { color: #fff; }
.belangen-section p  { color: rgba(255,255,255,.85); }

/* ── Organisatie pills (ZZP Dossier) ── */
.org-pill {
    display: inline-flex;
    align-items: center;
    background: #fff;
    border: 1px solid #dde;
    color: var(--blue);
    font-size: .82rem;
    font-weight: 600;
    padding: .25rem .75rem;
    border-radius: 999px;
    text-decoration: none;
    transition: all .2s;
}
.org-pill:hover {
    background: var(--blue);
    color: #fff;
    border-color: var(--blue);
}
.org-pill--light {
    background: rgba(255,255,255,.12);
    border-color: rgba(255,255,255,.35);
    color: #fff;
}
.org-pill--light:hover {
    background: #fff;
    color: var(--blue);
    border-color: #fff;
}

/* ── Blog cards ── */
.blog-card { border-radius: 12px; overflow: hidden; border: 1px solid #e8e8e8; transition: all .25s; }
.blog-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,.1); }
.blog-card-img { height: 200px; object-fit: cover; width: 100%; }
.blog-card-link { font-weight: 700; color: var(--pink); text-decoration: none; }
.blog-card-link:hover { color: var(--pink-dark); }

/* ── Prose / Richtext ── */
.richtext h2,.richtext h3 { color: var(--blue); font-family: var(--font-head); margin-top: 1.5rem; }
.richtext p { margin-bottom: 1rem; }
.richtext a { color: var(--blue); }

/* ── Responsive ── */
@media (max-width: 768px) {
    .py-section, .py-subpage { padding: 40px 0; }
    .hero-bg,.brochure-parallax { inset: 0; }
    .nurse-icon-wrap { width: 140px; height: 140px; font-size: 3.5rem; }

}
@media (max-width: 576px) {
    .trust-bar .row { flex-direction: column; gap: .5rem !important; }
}
