/* ============================================================
   MSCP FOUNDATION — mscp.css
   Molo Street Children's Project
   Built by Pandiz Digital Solutions
   ============================================================ */

:root {
    --green:        #1a5c47;
    --green-mid:    #227a5e;
    --green-light:  #e8f4f0;
    --amber:        #e8481c;
    --amber-light:  #fff0ec;
    --yellow:       #f6c44a;
    --white:        #fffdf9;
    --off-white:    #f5f0e8;
    --charcoal:     #2c2c2c;
    --grey:         #6b6b6b;
    --grey-light:   #e8e4de;
    --font-display: 'Cormorant Garamond', Georgia, serif;
    --font-body:    'DM Sans', system-ui, sans-serif;
    --nav-h:        72px;
    --radius:       12px;
    --radius-lg:    20px;
    --shadow:       0 4px 20px rgba(0,0,0,0.07);
    --shadow-lg:    0 12px 40px rgba(0,0,0,0.12);
    --transition:   0.25s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font-body);
    font-size: 17px;
    line-height: 1.7;
    color: var(--charcoal);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea { font-family: inherit; }

h1, h2, h3, h4 {
    font-family: var(--font-display);
    line-height: 1.15;
    font-weight: 600;
}
h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
h2 { font-size: clamp(1.9rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.7rem); }
h4 { font-size: 1.1rem; }

.eyebrow {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--amber);
    margin-bottom: 0.75rem;
}
.eyebrow--light { color: rgba(255,255,255,0.8); }

/* ── BUTTONS ── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.75rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    transition: all var(--transition);
    white-space: nowrap;
}
.btn--primary   { background: var(--amber); color: #fff; box-shadow: 0 4px 16px rgba(232,131,58,0.35); }
.btn--primary:hover { background: #d0712a; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(232,131,58,0.4); }
.btn--green     { background: var(--green); color: #fff; box-shadow: 0 4px 16px rgba(46,125,82,0.3); }
.btn--green:hover { background: var(--green-mid); transform: translateY(-2px); }
.btn--amber     { background: var(--amber); color: #fff; box-shadow: 0 4px 16px rgba(232,131,58,0.35); }
.btn--amber:hover { background: #d0712a; transform: translateY(-2px); }
.btn--ghost     { border: 2px solid rgba(255,255,255,0.7); color: #fff; }
.btn--ghost:hover { background: rgba(255,255,255,0.2); border-color: #fff; }
.btn--ghost-light { border: 2px solid rgba(255,255,255,0.5); color: rgba(255,255,255,0.9); }
.btn--ghost-light:hover { border-color: #fff; color: #fff; background: rgba(255,255,255,0.1); }
.btn--outline   { border: 2px solid var(--green); color: var(--green); }
.btn--outline:hover { background: var(--green); color: #fff; }
.btn--lg        { padding: 1rem 2.5rem; font-size: 1rem; }

/* ── NAVIGATION ── */
.nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    height: var(--nav-h);
    background: rgba(255,253,249,0.97);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--grey-light);
    transition: box-shadow var(--transition);
}
.nav.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,0.08); }
.nav__inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}
.nav__logo { display: flex; align-items: center; gap: 0.75rem; flex-shrink: 0; }
/* old logo mark - replaced by image */
.nav__logo-img { height: 48px !important; width: auto !important; max-width: 160px !important; }
.nav__logo-mark {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 700;
    background: var(--green);
    color: #fff;
    width: 44px; height: 44px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 12px;
    flex-shrink: 0;
}
.nav__logo-text {
    font-size: 0.72rem;
    font-weight: 600;
    line-height: 1.3;
    color: var(--charcoal);
}
.nav__links { display: flex; align-items: center; gap: 0.25rem; }
.nav__links > li > a {
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--charcoal);
    border-radius: 8px;
    transition: all var(--transition);
    display: flex; align-items: center; gap: 0.25rem;
}
.nav__links > li > a:hover { color: var(--green); background: var(--green-light); }
.nav__donate {
    background: var(--amber) !important;
    color: #fff !important;
    padding: 0.5rem 1.25rem !important;
    border-radius: 50px !important;
    box-shadow: 0 3px 12px rgba(232,131,58,0.3) !important;
}
.nav__donate:hover { background: #d0712a !important; transform: translateY(-1px); }
.nav__dropdown { position: relative; }
.nav__sub {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    background: #fff;
    border: 1px solid var(--grey-light);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    min-width: 200px;
    padding: 0.5rem 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: all var(--transition);
    z-index: 100;
}
.nav__dropdown:hover .nav__sub { opacity: 1; visibility: visible; transform: translateY(0); }
.nav__sub li a {
    display: block;
    padding: 0.6rem 1.25rem;
    font-size: 0.875rem;
    color: var(--charcoal);
    transition: all var(--transition);
}
.nav__sub li a:hover { background: var(--green-light); color: var(--green); }
.nav__toggle { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.nav__toggle span { display: block; width: 24px; height: 2px; background: var(--charcoal); border-radius: 2px; transition: all var(--transition); }

/* ── HERO ── */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
}
.hero__slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease;
}
.hero__slide.active { opacity: 1; }
.hero__slide--1 { background-image: url('https://mscp-foundation.org/wp-content/uploads/2025/06/Mary-Teaching.jpg'); }
.hero__slide--2 { background-image: url('https://mscp-foundation.org/wp-content/uploads/2025/04/Whitr-Bunk-Bed-scaled.jpg'); }
.hero__slide--3 { background-image: url('https://mscp-foundation.org/wp-content/uploads/2025/06/Chris-with-Babies-5.jpg'); }
.hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(0,40,20,0.72) 0%, rgba(0,40,20,0.25) 60%, transparent 100%);
}
.hero__content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-left: clamp(2rem, 8vw, 8rem);
    padding-right: 2rem;
    padding-top: calc(var(--nav-h) + 2rem);
    padding-bottom: 6rem;
    max-width: 680px;
}
.hero__eyebrow {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--yellow);
    margin-bottom: 1rem;
    display: block;
}
.hero__title {
    font-family: var(--font-display);
    color: #fff;
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    line-height: 1.05;
    margin-bottom: 1.25rem;
    font-weight: 600;
}
.hero__sub { color: rgba(255,255,255,0.88); font-size: 1.1rem; line-height: 1.65; margin-bottom: 2.5rem; }
.hero__actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero__nav {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
    z-index: 10;
}
.hero__dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    transition: all var(--transition);
    padding: 0;
}
.hero__dot.active { background: var(--yellow); width: 24px; border-radius: 4px; }
.hero__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 48px; height: 48px;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    transition: all var(--transition);
    backdrop-filter: blur(4px);
}
.hero__arrow:hover { background: rgba(255,255,255,0.3); }
.hero__arrow--prev { left: 2rem; }
.hero__arrow--next { right: 2rem; }

/* ── STATS ── */
.stats { background: var(--green); padding: 2.5rem 2rem; }
.stats__inner {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}
.stats__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1rem 3rem;
}
.stats__num {
    font-family: var(--font-display);
    font-size: 2.6rem;
    font-weight: 700;
    color: var(--yellow);
    line-height: 1;
    margin-bottom: 0.4rem;
}
.stats__label { font-size: 0.8rem; color: rgba(255,255,255,0.75); text-transform: uppercase; letter-spacing: 0.08em; font-weight: 500; }
.stats__divider { width: 1px; height: 48px; background: rgba(255,255,255,0.2); flex-shrink: 0; }

/* ── ABOUT ── */
.about-snap { padding: 6rem 2rem; }
.about-snap__inner {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}
.about-snap__image { position: relative; border-radius: var(--radius-lg); overflow: visible; }
.about-snap__image img {
    width: 100%;
    height: 520px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}
.about-snap__badge {
    position: absolute;
    bottom: -1.5rem;
    right: -1.5rem;
    background: var(--amber);
    color: #fff;
    padding: 1.25rem 1.5rem;
    border-radius: var(--radius);
    max-width: 220px;
    box-shadow: var(--shadow);
}
.about-snap__badge span {
    display: block;
    font-family: var(--font-display);
    font-style: italic;
    font-size: 1rem;
    line-height: 1.4;
    margin-bottom: 0.4rem;
}
.about-snap__badge small { font-size: 0.75rem; opacity: 0.85; }
.about-snap__body h2 { margin-bottom: 1.5rem; color: var(--green); }
.about-snap__body p { color: var(--grey); margin-bottom: 1rem; }
.about-snap__pillars {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    margin: 2rem 0;
}
.pillar {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: var(--green-light);
    border-radius: var(--radius);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--green);
    border: 1px solid rgba(46,125,82,0.1);
}
.pillar__icon { font-size: 1.2rem; }

/* ── KRAFTS CTA ── */
.krafts-cta { background: var(--green); padding: 6rem 2rem; overflow: hidden; }
.krafts-cta__inner {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}
.krafts-cta__body h2 { color: #fff; margin-bottom: 1.25rem; }
.krafts-cta__body p { color: rgba(255,255,255,0.82); margin-bottom: 2rem; font-size: 1.05rem; }
.krafts-cta__actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.krafts-cta__images { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.krafts-cta__img { border-radius: var(--radius); object-fit: cover; width: 100%; box-shadow: var(--shadow-lg); }
.krafts-cta__img--1 { height: 280px; margin-top: 2rem; }
.krafts-cta__img--2 { height: 200px; }

/* ── NEWS ── */
.news { padding: 6rem 2rem; background: var(--off-white); }
.news__inner { max-width: 1280px; margin: 0 auto; }
.news__header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    gap: 1rem;
}
.news__header h2 { color: var(--green); }
.news__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.news__empty { grid-column: 1/-1; text-align: center; padding: 3rem; color: var(--grey); }
.news-card {
    background: #fff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform var(--transition), box-shadow var(--transition);
}
.news-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.news-card__img { width: 100%; height: 220px; object-fit: cover; }
.news-card__body { padding: 1.5rem; }
.news-card__cat { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--amber); margin-bottom: 0.5rem; }
.news-card__title { font-family: var(--font-display); font-size: 1.2rem; color: var(--charcoal); margin-bottom: 0.75rem; line-height: 1.3; }
.news-card__title:hover { color: var(--green); }
.news-card__date { font-size: 0.8rem; color: var(--grey); }

/* ── DONATE CTA ── */
.donate-cta {
    background: linear-gradient(135deg, #e8833a 0%, #c4622a 100%);
    padding: 6rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.donate-cta::before {
    content: '❤';
    position: absolute;
    font-size: 20rem;
    opacity: 0.04;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    line-height: 1;
}
.donate-cta__inner { max-width: 680px; margin: 0 auto; position: relative; }
.donate-cta__inner h2 { color: #fff; margin-bottom: 1rem; }
.donate-cta__inner p { color: rgba(255,255,255,0.88); font-size: 1.1rem; margin-bottom: 2.5rem; }
.donate-cta__inner .btn--primary { background: #fff; color: var(--amber); font-size: 1rem; padding: 1rem 3rem; }
.donate-cta__inner .btn--primary:hover { background: var(--off-white); transform: translateY(-2px); }

/* ── NEWSLETTER ── */
.newsletter { padding: 5rem 2rem; background: var(--green-light); }
.newsletter__inner {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}
.newsletter__body h2 { color: var(--green); margin-bottom: 0.75rem; }
.newsletter__body p { color: var(--grey); }
.newsletter__fields { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.newsletter__fields input {
    flex: 1;
    min-width: 180px;
    padding: 0.8rem 1.1rem;
    border: 2px solid rgba(46,125,82,0.15);
    border-radius: 50px;
    font-size: 0.9rem;
    background: #fff;
    transition: border-color var(--transition);
}
.newsletter__fields input:focus { outline: none; border-color: var(--green); }
.newsletter__success { color: var(--green); font-size: 0.875rem; margin-top: 0.75rem; font-weight: 600; }

/* ── FOOTER ── */
.footer { background: #122e24; color: rgba(255,255,255,0.65); }
.footer__inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 5rem 2rem 3rem;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 3rem;
}
.footer__logo { font-family: var(--font-display); font-size: 2rem; font-weight: 700; color: #fff; margin-bottom: 1rem; }
.footer__brand p { font-size: 0.9rem; line-height: 1.8; margin-bottom: 1.5rem; }
.footer__socials { display: flex; gap: 1rem; }
.footer__socials a {
    width: 36px; height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.2);
    display: flex; align-items: center; justify-content: center;
    color: rgba(255,255,255,0.6);
    transition: all var(--transition);
}
.footer__socials a:hover { border-color: var(--yellow); color: var(--yellow); }
.footer__col h4 {
    color: #fff;
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 1.25rem;
}
.footer__col ul { display: flex; flex-direction: column; gap: 0.6rem; }
.footer__col ul li a { font-size: 0.875rem; transition: color var(--transition); }
.footer__col ul li a:hover { color: var(--yellow); }
.footer__contact li { font-size: 0.875rem; margin-bottom: 0.4rem; }
.footer__newsletter { margin-top: 1.5rem; }
.footer__newsletter p { font-size: 0.8rem; margin-bottom: 0.5rem; color: rgba(255,255,255,0.45); }
.footer__sub-form { display: flex; }
.footer__sub-form input {
    flex: 1;
    padding: 0.6rem 0.75rem;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    border-right: none;
    border-radius: var(--radius) 0 0 var(--radius);
    color: #fff;
    font-size: 0.875rem;
}
.footer__sub-form input::placeholder { color: rgba(255,255,255,0.35); }
.footer__sub-form input:focus { outline: none; border-color: var(--yellow); }
.footer__sub-form button {
    padding: 0.6rem 1rem;
    background: var(--amber);
    color: #fff;
    border-radius: 0 var(--radius) var(--radius) 0;
    font-size: 1rem;
    transition: background var(--transition);
}
.footer__sub-form button:hover { background: #d0712a; }
.footer__bottom {
    border-top: 1px solid rgba(255,255,255,0.07);
    padding: 1.5rem 2rem;
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.3);
}
.footer__bottom a { color: var(--amber); }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
    .about-snap__inner,
    .krafts-cta__inner,
    .newsletter__inner { grid-template-columns: 1fr; gap: 3rem; }
    .footer__inner { grid-template-columns: 1fr 1fr; }
    .news__grid { grid-template-columns: 1fr 1fr; }
    .stats__divider { display: none; }
}

@media (max-width: 768px) {
    :root { --nav-h: 64px; }
    .nav__links {
        display: none;
        position: fixed;
        top: var(--nav-h);
        left: 0; right: 0;
        background: #fff;
        flex-direction: column;
        align-items: stretch;
        padding: 1rem;
        border-top: 1px solid var(--grey-light);
        box-shadow: var(--shadow-lg);
        max-height: calc(100vh - var(--nav-h));
        overflow-y: auto;
        gap: 0;
    }
    .nav__links.open { display: flex; }
    .nav__links > li > a { padding: 0.75rem 1rem; }
    .nav__toggle { display: flex; }
    .nav__sub {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        padding-left: 1rem;
        background: var(--green-light);
        display: none;
        border-radius: var(--radius);
        margin: 0.25rem 0;
    }
    .nav__dropdown.open .nav__sub { display: block; }
    .hero__content { padding-left: 1.5rem; padding-right: 1.5rem; }
    .hero__arrow { display: none; }
    .news__grid { grid-template-columns: 1fr; }
    .footer__inner { grid-template-columns: 1fr; }
    .footer__bottom { flex-direction: column; gap: 0.5rem; text-align: center; }
    .about-snap__badge { position: static; margin-top: 1rem; max-width: 100%; }
    .about-snap__image img { height: 320px; }
    .krafts-cta__images { grid-template-columns: 1fr; }
    .krafts-cta__img--1, .krafts-cta__img--2 { height: 240px; margin: 0; }
}