/* assets/css/style.css — Main stylesheet for Dhanvantari NGO */

/* ── Variables ──────────────────────────────── */
:root {
    --green-dark:    #085041;
    --green-mid:     #0F6E56;
    --green:         #1D9E75;
    --green-light:   #E1F5EE;
    --green-pale:    #F0FAF6;

    --amber:         #EF9F27;
    --amber-dark:    #854F0B;
    --amber-light:   #FAEEDA;

    --whatsapp:      #25D366;

    --text-dark:     #2C2C2A;
    --text-mid:      #5F5E5A;
    --text-muted:    #888780;

    --border:        #E8E6E0;
    --bg-page:       #FAFAF8;
    --bg-card:       #FFFFFF;

    --radius-sm:     4px;
    --radius:        8px;
    --radius-lg:     12px;

    --font-body:     'Inter', system-ui, sans-serif;
    --font-display:  'Merriweather', Georgia, serif;

    --container:     1140px;
    --shadow-sm:     0 1px 3px rgba(0,0,0,0.08);
    --shadow-md:     0 4px 12px rgba(0,0,0,0.10);
}

/* ── Reset ──────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: 16px; scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-dark);
    background: var(--bg-page);
}

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

a { color: var(--green-mid); text-decoration: none; }
a:hover { text-decoration: underline; }
a:focus-visible {
    outline: 2px solid var(--green);
    outline-offset: 3px;
    border-radius: var(--radius-sm);
}

/* ── Container ──────────────────────────────── */
.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 1.25rem;
}

/* ── Buttons ────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 10px 20px;
    font-size: 0.9rem;
    font-weight: 600;
    font-family: var(--font-body);
    border-radius: var(--radius);
    border: 2px solid transparent;
    cursor: pointer;
    transition: background 0.18s, color 0.18s, border-color 0.18s;
    text-decoration: none;
}
.btn:hover { text-decoration: none; }

.btn-primary {
    background: var(--green-mid);
    color: #fff;
    border-color: var(--green-mid);
}
.btn-primary:hover {
    background: var(--green-dark);
    border-color: var(--green-dark);
    color: #fff;
}

.btn-outline {
    background: transparent;
    color: var(--green-mid);
    border-color: var(--green-mid);
}
.btn-outline:hover {
    background: var(--green-light);
    color: var(--green-dark);
}

.btn-outline-dark {
    background: transparent;
    color: var(--text-dark);
    border-color: var(--border);
}
.btn-outline-dark:hover {
    border-color: var(--green-mid);
    color: var(--green-mid);
}

/* ── Section headings ───────────────────────── */
.section-header {
    text-align: center;
    margin-bottom: 2.5rem;
}
.section-title {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}
.section-subtitle {
    font-size: 1rem;
    color: var(--text-mid);
    max-width: 560px;
    margin: 0 auto;
}

/* ── STATS BAND ─────────────────────────────── */
.stats-band {
    background: var(--green-dark);
    padding: 2rem 0;
}
.stats-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    list-style: none;
}
.stat-item {
    text-align: center;
    padding: 0 1.5rem;
    border-right: 1px solid rgba(255,255,255,0.12);
}
.stat-item:last-child { border-right: none; }
.stat-icon { margin: 0 auto 0.5rem; opacity: 0.7; color: #9FE1CB; }
.stat-num {
    font-size: 1.75rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
}
.stat-label {
    font-size: 0.8rem;
    color: #9FE1CB;
    margin-top: 4px;
}

/* ── SERVICES SECTION ───────────────────────── */
.services-section {
    padding: 4rem 0;
    background: #fff;
}
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    margin-bottom: 2.5rem;
}
.service-card {
    background: #FAFAF8;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.service-card:hover {
    border-color: var(--green);
    box-shadow: var(--shadow-sm);
}
.service-icon {
    width: 42px; height: 42px;
    border-radius: var(--radius);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 1rem;
}
.service-card--teal   .service-icon { background: var(--green-light);  color: var(--green-mid); }
.service-card--blue   .service-icon { background: #E6F1FB;              color: #185FA5; }
.service-card--purple .service-icon { background: #EEEDFE;              color: #534AB7; }
.service-card--amber  .service-icon { background: var(--amber-light);   color: var(--amber-dark); }
.service-card--coral  .service-icon { background: #FAECE7;              color: #993C1D; }

.service-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.4rem;
}
.service-desc {
    font-size: 0.875rem;
    color: var(--text-mid);
    line-height: 1.6;
    margin-bottom: 1rem;
}
.service-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--green-mid);
    text-decoration: none;
    transition: gap 0.15s;
}
.service-link:hover { gap: 8px; text-decoration: none; }

.services-cta-row { text-align: center; }

/* ── AWARENESS STRIP ────────────────────────── */
.awareness-strip {
    background: var(--amber-light);
    border-top: 1px solid #EF9F27;
    border-bottom: 1px solid #EF9F27;
    padding: 1.25rem 0;
}
.awareness-inner {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}
.awareness-icon { color: var(--amber-dark); flex-shrink: 0; }
.awareness-text {
    font-size: 0.9rem;
    color: #412402;
    flex: 1;
    line-height: 1.6;
}
.awareness-text strong { color: var(--amber-dark); }
.btn-awareness {
    background: var(--amber-dark);
    color: #fff;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 8px 18px;
    border-radius: var(--radius);
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
    border: none;
    cursor: pointer;
    transition: background 0.18s;
}
.btn-awareness:hover { background: #633806; text-decoration: none; color: #fff; }

/* ── TESTIMONIALS ───────────────────────────── */
.testimonials-section {
    padding: 4rem 0;
    background: var(--green-pale);
}
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}
.testimonial-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    position: relative;
}
.quote-mark {
    color: var(--green-light);
    margin-bottom: 0.75rem;
}
.testimonial-text {
    font-size: 0.9rem;
    color: var(--text-mid);
    line-height: 1.7;
    font-style: italic;
    margin-bottom: 1.25rem;
}
.testimonial-footer {
    display: flex;
    align-items: center;
    gap: 10px;
    border-top: 1px solid var(--border);
    padding-top: 1rem;
}
.testimonial-avatar {
    width: 38px; height: 38px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
    flex-shrink: 0;
}
.testimonial-avatar--teal   { background: var(--green-light);  color: var(--green-dark); }
.testimonial-avatar--blue   { background: #E6F1FB;              color: #185FA5; }
.testimonial-avatar--purple { background: #EEEDFE;              color: #534AB7; }

.testimonial-name {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    font-style: normal;
    color: var(--text-dark);
}
.testimonial-detail {
    font-size: 0.8rem;
    color: var(--text-muted);
}
