/* =========================================================
   Courage to Change — Modern Stylesheet
   Brand palette drawn from the logo tree:
     deep recovery green, warm amber, autumn earth, cream
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@500;600;700&family=Inter:wght@400;500;600;700&display=swap');

:root {
    --c-green:        #2d6a4f;
    --c-green-dark:   #1b4332;
    --c-green-soft:   #d8e8df;
    --c-amber:        #e09f3e;
    --c-amber-dark:   #b87a25;
    --c-earth:        #9c3d2c;
    --c-cream:        #faf7f1;
    --c-cream-2:      #f3ede1;
    --c-ink:          #1f2a24;
    --c-ink-soft:     #4b5a52;
    --c-line:         #e3decf;
    --c-white:        #ffffff;

    --shadow-sm: 0 2px 6px rgba(27, 67, 50, .06);
    --shadow-md: 0 10px 30px rgba(27, 67, 50, .10);
    --shadow-lg: 0 20px 50px rgba(27, 67, 50, .14);

    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 22px;

    --font-head: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;

    --container: 1180px;
}

/* ---------- Base ---------- */
* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 17px;
    line-height: 1.65;
    color: var(--c-ink);
    background: var(--c-cream);
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a {
    color: var(--c-green);
    text-decoration: none;
    transition: color .2s ease;
}
a:hover { color: var(--c-amber-dark); }

h1, h2, h3, h4 {
    font-family: var(--font-head);
    color: var(--c-green-dark);
    line-height: 1.2;
    margin: 0 0 .6em;
    font-weight: 600;
}

h1 { font-size: clamp(2rem, 4.5vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); }
h3 { font-size: clamp(1.3rem, 2.2vw, 1.55rem); }

p  { margin: 0 0 1em; color: var(--c-ink-soft); }

ul { line-height: 1.7; }

.container-x {
    width: 100%;
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: 22px;
}

/* ---------- Header ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, .92);
    backdrop-filter: saturate(140%) blur(10px);
    border-bottom: 1px solid var(--c-line);
}

.nav {
    display: flex;
    align-items: center;
    gap: 22px;
    padding: 12px 22px;
    max-width: var(--container);
    margin-inline: auto;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-right: auto;
}

.brand img {
    height: 64px;
    width: auto;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 6px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links a {
    display: inline-block;
    padding: 10px 14px;
    color: var(--c-ink);
    font-weight: 500;
    font-size: .98rem;
    border-radius: 8px;
    position: relative;
    transition: color .2s ease, background .2s ease;
}

.nav-links a::after {
    content: "";
    position: absolute;
    left: 14px; right: 14px; bottom: 6px;
    height: 2px;
    background: var(--c-amber);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .25s ease;
    border-radius: 2px;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--c-green-dark);
}
.nav-links a:hover::after,
.nav-links a.active::after {
    transform: scaleX(1);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 22px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: .95rem;
    border-radius: 999px;
    border: 1.5px solid transparent;
    cursor: pointer;
    transition: all .2s ease;
    line-height: 1;
    text-decoration: none;
}

.btn-primary {
    background: var(--c-green);
    color: #fff;
    box-shadow: 0 6px 14px rgba(45, 106, 79, .25);
}
.btn-primary:hover {
    background: var(--c-green-dark);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 10px 22px rgba(45, 106, 79, .3);
}

.btn-outline {
    background: transparent;
    color: var(--c-green-dark);
    border-color: var(--c-green);
}
.btn-outline:hover {
    background: var(--c-green);
    color: #fff;
}

.btn-amber {
    background: var(--c-amber);
    color: #1f1300;
    box-shadow: 0 6px 14px rgba(224, 159, 62, .35);
}
.btn-amber:hover {
    background: var(--c-amber-dark);
    color: #fff;
    transform: translateY(-1px);
}

.nav-toggle {
    display: none;
    background: transparent;
    border: 0;
    width: 42px; height: 42px;
    padding: 0;
    cursor: pointer;
    color: var(--c-green-dark);
}
.nav-toggle svg { width: 26px; height: 26px; }

/* ---------- Hero ---------- */
.hero {
    position: relative;
    min-height: 78vh;
    display: flex;
    align-items: center;
    color: #fff;
    overflow: hidden;
    isolation: isolate;
}

.hero-slides {
    position: absolute; inset: 0;
    z-index: -2;
}
.hero-slide {
    position: absolute; inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.2s ease;
    transform: scale(1.05);
}
.hero-slide.is-active { opacity: 1; }

.hero::after {
    content: "";
    position: absolute; inset: 0;
    z-index: -1;
    background:
        linear-gradient(120deg, rgba(27,67,50,.78) 0%, rgba(27,67,50,.35) 55%, rgba(156,61,44,.5) 100%);
}

.hero-inner {
    width: 100%;
    max-width: var(--container);
    margin-inline: auto;
    padding: 90px 22px;
}

.hero-eyebrow {
    display: inline-block;
    padding: 6px 14px;
    font-size: .8rem;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #fff;
    background: rgba(255,255,255,.16);
    border: 1px solid rgba(255,255,255,.28);
    border-radius: 999px;
    backdrop-filter: blur(6px);
    margin-bottom: 18px;
}

.hero h1 {
    color: #fff;
    max-width: 760px;
    font-size: clamp(2.2rem, 5vw, 4rem);
    margin-bottom: 18px;
}

.hero p {
    color: rgba(255,255,255,.92);
    font-size: clamp(1.05rem, 1.5vw, 1.25rem);
    max-width: 620px;
    margin-bottom: 28px;
}

.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }

.hero-dots {
    position: absolute;
    bottom: 24px; left: 50%;
    transform: translateX(-50%);
    display: flex; gap: 8px;
    z-index: 1;
}
.hero-dots button {
    width: 30px; height: 4px;
    border: 0; padding: 0;
    border-radius: 4px;
    background: rgba(255,255,255,.45);
    cursor: pointer;
    transition: background .25s ease;
}
.hero-dots button.is-active { background: var(--c-amber); }

/* ---------- Page header (non-home) ---------- */
.page-header {
    background: linear-gradient(135deg, var(--c-green-dark) 0%, var(--c-green) 60%, var(--c-amber-dark) 130%);
    color: #fff;
    padding: 90px 22px 70px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.page-header::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 80% 20%, rgba(224,159,62,.25), transparent 50%);
    pointer-events: none;
}
.page-header h1 {
    color: #fff;
    margin: 0 0 10px;
    position: relative;
}
.page-header p {
    color: rgba(255,255,255,.9);
    margin: 0 auto;
    max-width: 640px;
    position: relative;
}

/* ---------- Sections ---------- */
.section {
    padding: clamp(56px, 8vw, 96px) 0;
}
.section-tight { padding: clamp(40px, 6vw, 72px) 0; }

.section-head {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 50px;
}
.section-head .eyebrow {
    display: inline-block;
    color: var(--c-amber-dark);
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
    font-size: .8rem;
    margin-bottom: 12px;
}
.section-head h2 { margin-bottom: 14px; }
.section-head p  { font-size: 1.05rem; }

.divider {
    width: 60px; height: 3px;
    background: var(--c-amber);
    border: 0;
    border-radius: 3px;
    margin: 0 auto 22px;
}

/* ---------- Intro / Transforming Lives ---------- */
.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.two-col.reverse > :first-child { order: 2; }

.two-col img {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    aspect-ratio: 4/3;
    object-fit: cover;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 18px 0 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 22px;
}
.feature-list li {
    position: relative;
    padding-left: 28px;
    color: var(--c-ink);
    font-size: .98rem;
}
.feature-list li::before {
    content: "";
    position: absolute;
    left: 0; top: 9px;
    width: 16px; height: 16px;
    background: var(--c-green-soft);
    border-radius: 50%;
}
.feature-list li::after {
    content: "";
    position: absolute;
    left: 4px; top: 13px;
    width: 8px; height: 4px;
    border-left: 2px solid var(--c-green-dark);
    border-bottom: 2px solid var(--c-green-dark);
    transform: rotate(-45deg);
}

/* ---------- Service cards ---------- */
.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 22px;
}

.card {
    background: #fff;
    border: 1px solid var(--c-line);
    border-radius: var(--radius-md);
    padding: 28px 24px;
    box-shadow: var(--shadow-sm);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--c-green-soft);
}
.card .icon {
    width: 50px; height: 50px;
    border-radius: 14px;
    display: grid; place-items: center;
    background: var(--c-green-soft);
    color: var(--c-green-dark);
    margin-bottom: 16px;
}
.card .icon svg { width: 26px; height: 26px; }
.card h3 {
    font-size: 1.2rem;
    margin-bottom: 8px;
    color: var(--c-green-dark);
}
.card p { margin: 0; font-size: .96rem; }

/* ---------- Mission band ---------- */
.mission {
    background:
        linear-gradient(135deg, rgba(27,67,50,.88), rgba(45,106,79,.78)),
        url('../Images/WhateverItTakes.jpg') center/cover no-repeat;
    color: #fff;
    text-align: center;
    padding: clamp(70px, 9vw, 110px) 22px;
    border-radius: 0;
}
.mission .eyebrow { color: var(--c-amber); }
.mission h2 { color: #fff; }
.mission p {
    color: rgba(255,255,255,.95);
    font-family: var(--font-head);
    font-size: clamp(1.25rem, 2.2vw, 1.7rem);
    line-height: 1.5;
    max-width: 880px;
    margin: 0 auto;
    font-style: italic;
}

/* ---------- Calendar ---------- */
.calendar-wrap {
    background: #fff;
    padding: 18px;
    border-radius: var(--radius-md);
    border: 1px solid var(--c-line);
    box-shadow: var(--shadow-sm);
}
.calendar-wrap iframe {
    width: 100%;
    height: 600px;
    border: 0;
    border-radius: 10px;
    display: block;
}

/* ---------- CTA band ---------- */
.cta {
    background: var(--c-cream-2);
    border-radius: var(--radius-lg);
    padding: clamp(40px, 6vw, 64px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    flex-wrap: wrap;
    border: 1px solid var(--c-line);
}
.cta h2 { margin: 0 0 6px; }
.cta p  { margin: 0; max-width: 540px; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- Team ---------- */
.team-card {
    background: #fff;
    border: 1px solid var(--c-line);
    border-radius: var(--radius-md);
    padding: 36px;
    box-shadow: var(--shadow-sm);
    max-width: 820px;
    margin: 0 auto;
    border-left: 5px solid var(--c-amber);
}
.team-card h3 {
    margin: 0 0 4px;
    font-size: 1.6rem;
}
.team-card .role {
    color: var(--c-amber-dark);
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    font-size: .78rem;
    margin-bottom: 18px;
}

/* ---------- Contact ---------- */
.contact-grid {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 40px;
    align-items: start;
}

.info-card {
    background: #fff;
    border: 1px solid var(--c-line);
    border-radius: var(--radius-md);
    padding: 30px;
    box-shadow: var(--shadow-sm);
}
.info-row {
    display: flex;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid var(--c-line);
}
.info-row:last-child { border-bottom: 0; }
.info-row .icon {
    width: 42px; height: 42px; flex: 0 0 42px;
    border-radius: 12px;
    display: grid; place-items: center;
    background: var(--c-green-soft);
    color: var(--c-green-dark);
}
.info-row .icon svg { width: 20px; height: 20px; }
.info-row h4 {
    margin: 0 0 2px;
    font-family: var(--font-body);
    font-size: .8rem;
    font-weight: 600;
    color: var(--c-amber-dark);
    letter-spacing: .1em;
    text-transform: uppercase;
}
.info-row p, .info-row a {
    margin: 0;
    color: var(--c-ink);
    font-size: 1rem;
}

.map-wrap {
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--c-line);
    margin-top: 30px;
}
.map-wrap iframe {
    width: 100%;
    height: 360px;
    border: 0;
    display: block;
}

.contact-form {
    background: #fff;
    border: 1px solid var(--c-line);
    border-radius: var(--radius-md);
    padding: 32px;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.contact-form label {
    display: block;
    font-size: .82rem;
    font-weight: 600;
    color: var(--c-green-dark);
    letter-spacing: .06em;
    text-transform: uppercase;
    margin-bottom: 6px;
}
.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1.5px solid var(--c-line);
    border-radius: 10px;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--c-ink);
    background: var(--c-cream);
    transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--c-green);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(45,106,79,.12);
}
.contact-form textarea { resize: vertical; min-height: 140px; }

.thank-you {
    display: none;
    text-align: center;
    background: #fff;
    border: 1px solid var(--c-green-soft);
    border-radius: var(--radius-md);
    padding: 40px 30px;
    box-shadow: var(--shadow-sm);
}
.thank-you.is-visible { display: block; }
.thank-you .icon-check {
    width: 64px; height: 64px;
    border-radius: 50%;
    background: var(--c-green-soft);
    color: var(--c-green-dark);
    display: grid; place-items: center;
    margin: 0 auto 16px;
}
.thank-you .icon-check svg { width: 32px; height: 32px; }

/* ---------- Footer ---------- */
.site-footer {
    background: var(--c-green-dark);
    color: rgba(255,255,255,.85);
    padding: 64px 0 24px;
    margin-top: 80px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 40px;
}
.site-footer h5 {
    color: #fff;
    font-family: var(--font-head);
    font-size: 1.15rem;
    margin: 0 0 18px;
    font-weight: 600;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; font-size: .95rem; }
.site-footer a {
    color: rgba(255,255,255,.85);
    transition: color .2s ease;
}
.site-footer a:hover { color: var(--c-amber); }

.footer-brand img {
    height: 70px;
    filter: brightness(0) invert(1);
    margin-bottom: 14px;
}
.footer-brand p {
    color: rgba(255,255,255,.75);
    font-size: .92rem;
    line-height: 1.6;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.12);
    padding-top: 20px;
    margin-top: 48px;
    text-align: center;
    color: rgba(255,255,255,.65);
    font-size: .85rem;
}

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
    .two-col { grid-template-columns: 1fr; gap: 36px; }
    .two-col.reverse > :first-child { order: 0; }
    .contact-grid { grid-template-columns: 1fr; gap: 30px; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
    .feature-list { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
    body { font-size: 16px; }
    .nav-toggle { display: inline-grid; place-items: center; }
    .nav-links {
        position: absolute;
        top: 100%; left: 0; right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        background: #fff;
        border-bottom: 1px solid var(--c-line);
        padding: 8px 14px 16px;
        box-shadow: var(--shadow-md);
        display: none;
    }
    .nav-links.is-open { display: flex; }
    .nav-links a { padding: 12px 10px; border-radius: 8px; }
    .nav-links a::after { display: none; }
    .nav .btn { margin: 6px 0 0; width: 100%; justify-content: center; }
    .nav { flex-wrap: wrap; }
    .brand img { height: 54px; }
    .hero { min-height: 70vh; }
    .hero-inner { padding: 70px 22px; }
    .footer-grid { grid-template-columns: 1fr; }
    .cta { flex-direction: column; align-items: flex-start; text-align: left; }
    .mission p { font-size: 1.15rem; }
}
