/* ==========================================================================
   SEVA Counselling Centre — Design Tokens
   Palette: deep teal (trust/calm) + warm marigold (hope), cool-white ground.
   Type: Fraunces (display) / Inter (body & UI) / IBM Plex Mono (data, stats)
   Signature motif: the "listening thread" — a soft dashed line that runs
   between sections, standing in for a conversation that carries through.
   ========================================================================== */

:root {
    --color-primary: #14524F;
    --color-primary-dark: #0E2E2C;
    --color-primary-light: #E1EAE8;
    --color-accent: #D98E3F;
    --color-accent-dark: #B9721F;
    --color-bg: #F4F6F4;
    --color-surface: #FFFFFF;
    --color-text: #172523;
    --color-text-muted: #5B6D69;
    --color-border: #DEE6E3;

    --font-display: 'Fraunces', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-mono: 'IBM Plex Mono', 'SFMono-Regular', Menlo, monospace;

    --radius-lg: 20px;
    --radius-md: 14px;
    --radius-sm: 8px;
    --shadow-soft: 0 20px 50px -25px rgba(14, 46, 44, 0.35);
}

@media (prefers-reduced-motion: reduce) {
    * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    color: var(--color-text);
    background: var(--color-bg);
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .font-display { font-family: var(--font-display); font-weight: 600; color: var(--color-primary-dark); }

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

:focus-visible {
    outline: 3px solid var(--color-accent);
    outline-offset: 3px;
}

.skip-link {
    position: absolute;
    left: -999px;
    top: 0;
    background: var(--color-primary);
    color: #fff;
    padding: .75rem 1.25rem;
    z-index: 2000;
    border-radius: 0 0 var(--radius-sm) 0;
}
.skip-link:focus { left: 0; }

/* ---------- Shared text utilities ---------- */
.eyebrow {
    font-family: var(--font-mono);
    font-size: .75rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--color-accent-dark);
    font-weight: 600;
    margin-bottom: .5rem;
}
.eyebrow-light { color: #E9C892; }

.section-heading {
    font-size: clamp(1.75rem, 1.4rem + 1.4vw, 2.6rem);
    line-height: 1.15;
    margin-bottom: 1rem;
}
.section-heading-light { color: #fff; }

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

.section { padding: 5.5rem 0; position: relative; }

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    font-weight: 600;
    color: var(--color-primary);
    border-bottom: 2px solid transparent;
    transition: gap .2s ease, border-color .2s ease;
}
.link-arrow:hover { gap: .75rem; border-color: var(--color-accent); }

/* ---------- Buttons ---------- */
.btn-cta {
    background: var(--color-accent);
    border: none;
    color: #fff;
    font-weight: 600;
    padding: .7rem 1.5rem;
    border-radius: 999px;
    transition: background .2s ease, transform .2s ease;
}
.btn-cta:hover, .btn-cta:focus {
    background: var(--color-accent-dark);
    color: #fff;
    transform: translateY(-1px);
}

/* ==========================================================================
   Topbar
   ========================================================================== */
.topbar {
    background: var(--color-primary-dark);
    color: #CFE0DD;
    font-size: .85rem;
}
.topbar-link { color: #CFE0DD; display: inline-flex; align-items: center; gap: .4rem; }
.topbar-link:hover { color: var(--color-accent); }
.text-muted-topbar { color: #7E9C97; }
.topbar-social a { color: #CFE0DD; font-size: 1rem; }
.topbar-social a:hover { color: var(--color-accent); }

/* ==========================================================================
   Navbar
   ========================================================================== */
.site-navbar {
    background: var(--color-surface);
    padding: .85rem 0;
    box-shadow: 0 1px 0 var(--color-border);
    z-index: 1030;
}
.navbar-brand { display: flex; align-items: center; gap: .65rem; }
.brand-mark {
    height: 42px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem;
}
.brand-mark img {
    height: 100%;
    width: auto;
    object-fit: contain;
}
.brand-text {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.25rem;
    color: var(--color-primary-dark);
    line-height: 1.1;
    display: flex;
    flex-direction: column;
}
.brand-text small {
    font-family: var(--font-body);
    font-weight: 500;
    font-size: .68rem;
    color: var(--color-text-muted);
    letter-spacing: .03em;
}
.site-navbar .nav-link {
    font-weight: 500;
    color: var(--color-text);
    padding: .5rem .85rem !important;
    border-radius: var(--radius-sm);
}
.site-navbar .nav-link:hover,
.site-navbar .nav-link.active { color: var(--color-primary); background: var(--color-primary-light); }
.site-navbar.scrolled { box-shadow: 0 8px 24px -16px rgba(14,46,44,.4); }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero-section { position: relative; background: var(--color-primary-dark); }

.hero-swiper { height: 640px; }
.hero-slide {
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    color: #fff;
}
.hero-content { max-width: 620px; }
.hero-heading {
    font-size: clamp(2.2rem, 1.6rem + 2.5vw, 3.6rem);
    color: #fff;
    line-height: 1.1;
    margin-bottom: 1rem;
}
.hero-desc { font-size: 1.15rem; color: #E6EFED; margin-bottom: 1.75rem; max-width: 520px; }

.hero-nav-prev, .hero-nav-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 46px; height: 46px;
    border-radius: 50%;
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.35);
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    backdrop-filter: blur(4px);
    transition: background .2s ease;
}
.hero-nav-prev:hover, .hero-nav-next:hover { background: var(--color-accent); border-color: var(--color-accent); }
.hero-nav-prev { left: 24px; }
.hero-nav-next { right: 24px; }
.hero-swiper .swiper-pagination-bullet { background: #fff; opacity: .5; }
.hero-swiper .swiper-pagination-bullet-active { opacity: 1; background: var(--color-accent); }

/* Trust strip overlapping hero bottom edge */
.trust-strip {
    position: relative;
    margin-top: -56px;
    z-index: 5;
    background: var(--color-surface);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    padding: 1.75rem 2rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 1.5rem;
}
.trust-item { display: flex; align-items: center; gap: .85rem; flex: 1 1 200px; }
.trust-item i { font-size: 1.6rem; color: var(--color-accent); }
.trust-number { font-family: var(--font-mono); font-size: 1.6rem; font-weight: 600; color: var(--color-primary-dark); }
.trust-suffix { font-family: var(--font-mono); font-size: 1.2rem; color: var(--color-accent-dark); }
.trust-label { margin: 0; font-size: .85rem; color: var(--color-text-muted); }

/* ==========================================================================
   Mission section + listening thread signature motif
   ========================================================================== */
.mission-section { padding-top: 7rem; }
.mission-media { position: relative; }
.mission-media img { width: 100%; aspect-ratio: 4/3.2; object-fit: cover; box-shadow: var(--shadow-soft); }
.mission-badge {
    position: absolute;
    bottom: -1.25rem;
    left: 1.5rem;
    background: var(--color-primary);
    color: #fff;
    padding: .85rem 1.25rem;
    border-radius: var(--radius-md);
    display: flex; align-items: center; gap: .6rem;
    font-size: .85rem;
    font-weight: 600;
    max-width: 260px;
    box-shadow: var(--shadow-soft);
}
.mission-badge i { color: var(--color-accent); font-size: 1.3rem; }

.listening-thread {
    color: var(--color-border);
    margin-top: 4rem;
    line-height: 0;
}
.listening-thread svg { width: 100%; height: 60px; }

/* ==========================================================================
   Process ("How It Works") — real 3-step sequence, numbering justified
   ========================================================================== */
.process-section { background: var(--color-primary-light); }
.process-card {
    background: var(--color-surface);
    border-radius: var(--radius-lg);
    padding: 2.25rem 2rem;
    height: 100%;
    border: 1px solid var(--color-border);
    transition: transform .25s ease, box-shadow .25s ease;
}
.process-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); }
.process-step {
    font-family: var(--font-mono);
    font-size: .95rem;
    color: var(--color-accent-dark);
    font-weight: 600;
    display: inline-block;
    margin-bottom: .75rem;
}
.process-card h3 { font-size: 1.3rem; margin-bottom: .6rem; }
.process-card p { color: var(--color-text-muted); margin: 0; }

/* ==========================================================================
   Services
   ========================================================================== */
.service-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    height: 100%;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); border-color: transparent; }
.service-icon {
    width: 54px; height: 54px;
    border-radius: 14px;
    background: var(--color-primary-light);
    color: var(--color-primary);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
}
.service-card h3 { font-size: 1.2rem; margin-bottom: .6rem; }
.service-card p { color: var(--color-text-muted); margin-bottom: 1rem; }

/* ==========================================================================
   Testimonials (dark section for rhythm/contrast)
   ========================================================================== */
.testimonials-section { background: var(--color-primary-dark); }
.testimonial-card {
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    height: 100%;
    color: #E6EFED;
}
.testimonial-quote-icon { font-size: 2rem; color: var(--color-accent); margin-bottom: 1rem; display: block; }
.testimonial-message { font-size: 1.1rem; line-height: 1.6; margin-bottom: 1.5rem; }
.testimonial-author strong { display: block; color: #fff; }
.testimonial-author span { font-size: .85rem; color: #9DB8B3; }
.testimonials-swiper .swiper-pagination-bullet { background: #fff; opacity: .4; }
.testimonials-swiper .swiper-pagination-bullet-active { opacity: 1; background: var(--color-accent); }

/* ==========================================================================
   Quote + Gallery
   ========================================================================== */
.quote-card {
    background: var(--color-accent);
    color: #fff;
    border-radius: var(--radius-lg);
    padding: 2.5rem 2rem;
    height: 100%;
}
.quote-card .eyebrow { color: rgba(255,255,255,.85); }
.quote-text { font-family: var(--font-display); font-style: italic; font-size: 1.3rem; line-height: 1.4; }
.quote-author { font-weight: 600; margin-top: 1rem; }

.gallery-thumb { display: block; border-radius: var(--radius-sm); overflow: hidden; aspect-ratio: 1/1; }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.gallery-thumb:hover img { transform: scale(1.08); }

/* ==========================================================================
   Blog
   ========================================================================== */
.blog-card {
    display: block;
    background: var(--color-surface);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--color-border);
    height: 100%;
    transition: transform .25s ease, box-shadow .25s ease;
}
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); }
.blog-card-image { height: 190px; background-size: cover; background-position: center; }
.blog-card-body { padding: 1.5rem; }
.blog-category {
    font-family: var(--font-mono);
    font-size: .7rem;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--color-accent-dark);
    font-weight: 600;
}
.blog-card-body h3 { font-size: 1.1rem; margin: .5rem 0; }
.blog-card-body p { color: var(--color-text-muted); font-size: .92rem; margin: 0; }

/* ==========================================================================
   Get Involved
   ========================================================================== */
.get-involved-section { background: var(--color-bg); }
.involve-card {
    text-align: center;
    padding: 2.5rem 1.75rem;
    height: 100%;
    background: var(--color-surface);
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
}
.involve-card i { font-size: 2.2rem; color: var(--color-accent); margin-bottom: 1rem; }
.involve-card h3 { font-size: 1.25rem; margin-bottom: .6rem; }
.involve-card p { color: var(--color-text-muted); margin-bottom: 1rem; }

/* ==========================================================================
   CTA band
   ========================================================================== */
.cta-band { padding: 0; }
.cta-band-inner {
    background: var(--color-primary);
    border-radius: var(--radius-lg);
    padding: 3rem;
    margin-top: -1px;
    position: relative;
    overflow: hidden;
}
.cta-thread {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(255,255,255,.18) 1px, transparent 1px);
    background-size: 18px 18px;
    opacity: .35;
    pointer-events: none;
}
.cta-heading { color: #fff; font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.1rem); margin-bottom: .6rem; }
.cta-sub { color: #CFE0DD; margin: 0; max-width: 520px; }
.cta-band-btn { color: var(--color-primary-dark); font-weight: 700; border-radius: 999px; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
    background: var(--color-primary-dark);
    color: #B9CFCB;
    padding: 4.5rem 0 1.75rem;
    margin-top: 3rem;
}
.footer-brand {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.35rem;
    color: #fff;
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    margin-bottom: 1rem;
}
.footer-brand i { color: var(--color-accent); }
.footer-mission { font-size: .9rem; line-height: 1.6; }
.footer-social a {
    width: 36px; height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,.2);
    display: flex; align-items: center; justify-content: center;
    color: #B9CFCB;
}
.footer-social a:hover { background: var(--color-accent); border-color: var(--color-accent); color: #fff; }
.footer-heading { color: #fff; font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 1rem; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: .6rem; }
.footer-links a { font-size: .9rem; color: #B9CFCB; }
.footer-links a:hover { color: var(--color-accent); }
.newsletter-form .form-control {
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.2);
    color: #fff;
    border-radius: 999px 0 0 999px;
}
.newsletter-form .form-control::placeholder { color: #8EA7A2; }
.newsletter-form .btn-cta { border-radius: 0 999px 999px 0; }
.footer-contact { font-size: .85rem; }
.footer-top { border-bottom: 1px solid rgba(255,255,255,.1); padding-bottom: 2.5rem; }
.footer-bottom { padding-top: 1.75rem; font-size: .82rem; }
.footer-note { color: #8EA7A2; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 991.98px) {
    .hero-swiper { height: 560px; }
    .trust-strip { margin-top: 1.5rem; }
    .mission-section { padding-top: 4rem; }
    .hero-nav-prev, .hero-nav-next { display: none; }
}
@media (max-width: 575.98px) {
    .hero-swiper { height: 520px; }
    .cta-band-inner { padding: 2rem 1.5rem; text-align: center; }
    .cta-band-btn { margin-top: 1rem; }
}
.page-header{
    padding: clamp(2.25rem, 1.8rem + 2vw, 3.5rem) 0 clamp(1.75rem, 1.4rem + 1.5vw, 2.75rem);
    background: linear-gradient(135deg, var(--color-primary-dark), var(--color-primary));
    color:#fff;
}

.page-header .breadcrumb{
    margin-bottom: .85rem;
    font-size: .8rem;
    text-transform: uppercase;
    letter-spacing: .06em;
}

.page-header .breadcrumb-item a{
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    transition: color .2s ease;
}

.page-header .breadcrumb-item a:hover{
    color:#fff;
}

.page-header-title{
    font-size: clamp(1.8rem, 1.45rem + 1.5vw, 2.6rem);
    line-height: 1.15;
    margin-bottom: .4rem;
}

.page-header .page-header-sub{
    font-size: 1.02rem;
    max-width: 640px;
    margin-bottom: 0;
}

@media (max-width: 575.98px){
    .page-header .breadcrumb{
        font-size: .7rem;
        margin-bottom: .6rem;
    }
    .page-header .page-header-sub{
        font-size: .92rem;
    }
}

.inline-page-heading {
    padding: 1.5rem 0 .5rem;
}

.inline-page-heading .breadcrumb {
    margin-bottom: .5rem;
    font-size: .78rem;
    text-transform: uppercase;
    letter-spacing: .06em;
}

.inline-page-heading .breadcrumb-item a {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    color: var(--color-text-muted);
}

.inline-page-heading .breadcrumb-item.active {
    color: var(--color-text-muted);
}

.inline-page-title {
    font-size: clamp(1.6rem, 1.3rem + 1.2vw, 2.2rem);
    line-height: 1.15;
    margin-bottom: 0;
}

@media (max-width: 575.98px) {
    .inline-page-heading {
        padding: 1rem 0 .25rem;
    }
    .inline-page-heading .breadcrumb {
        font-size: .68rem;
    }
}

.offer-content {
    padding: 1.75rem 0 4rem;
}

.offer-content p.text-body-muted,
.offer-content ul.text-body-muted {
    font-size: 1.05rem;
    line-height: 1.85;
    margin-bottom: 1.5rem;
    word-wrap: break-word;
}

.offer-content ul.text-body-muted {
    padding-left: 1.25rem;
}

.offer-content ul.text-body-muted li {
    margin-bottom: 1rem;
}

.offer-content ul.text-body-muted li:last-child {
    margin-bottom: 0;
}

.offer-content .section-heading {
    font-size: clamp(1.4rem, 1.2rem + 1vw, 1.9rem);
}

@media (max-width: 575.98px) {
    .offer-content {
        padding: 1.25rem 0 3rem;
    }
    .offer-content .section-lead {
        font-size: 1rem;
    }
    .offer-content p.text-body-muted,
    .offer-content ul.text-body-muted {
        font-size: .98rem;
        line-height: 1.75;
    }
    .offer-content .mt-5 {
        margin-top: 2rem !important;
    }
}

.timeline-list{
    list-style:none;
    padding:0;
    margin:0;
}

.timeline-list li{
    position:relative;
    padding:15px 20px 15px 35px;
    margin-bottom:20px;
    border-left:3px solid #0F766E;
    background:#fff;
    border-radius:8px;
}

.timeline-list li:before{
    content:'';
    width:14px;
    height:14px;
    border-radius:50%;
    background:#0F766E;
    position:absolute;
    left:-8px;
    top:24px;
}

.event-card{
    background:#f8f9fa;
    border-radius:10px;
    padding:20px;
    margin-top:15px;
}

.accordion-button{
    font-weight:700;
    font-size:20px;
}

.hero-swiper,
.testimonials-swiper {
    width: 100%;
    overflow: hidden;
}

.swiper {
    overflow: hidden;
}

.swiper-wrapper {
    align-items: stretch;
}

.swiper-slide {
    width: 100%;
    flex-shrink: 0;
}
html,
body {
    overflow-x: hidden;
}
.contact-card,
.contact-location-card{
    background:#fff;
    border-radius:20px;
    padding:35px;
    box-shadow:0 15px 40px rgba(0,0,0,.06);
    transition:.3s;
}

.contact-card:hover,
.contact-location-card:hover{
    transform:translateY(-5px);
}

.contact-icon{
    width:70px;
    height:70px;
    border-radius:50%;
    background:var(--bs-primary);
    color:#fff;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:30px;
    margin-bottom:20px;
}

.contact-location-card h3,
.contact-card h3{
    margin-bottom:20px;
}

.page-header h1{
    color:#fff !important;
}

.page-header .page-header-sub{
    color:rgba(255,255,255,.85);
}

.page-header .breadcrumb-item,
.page-header .breadcrumb-item a{
    color:rgba(255,255,255,.75);
}

.page-header .breadcrumb-item.active{
    color:#fff;
}

.event-content a {
    color: #0000EE;
    text-decoration: underline;
}

.event-content a:hover {
    color: #551A8B;
}

/* Free & Confidential Counselling */
.hero-title-label {
    font-size: 52px;
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 12px;
    color: #ffffff;
    display: block;
}

/* You Are Not Alone */
.hero-heading {
    font-size: 28px;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 18px;
    color: #E9C892;
}

/* Responsive styles for mobile */
@media (max-width: 768px) {
    .hero-title-label {
        font-size: 34px;
    }

    .hero-heading {
        font-size: 22px;
    }
}