﻿:root {
  --bg: #f6f4ef;
  --surface: #ffffff;
  --surface-soft: #fff9f3;
  --primary: #e96c1f;
  --primary-dark: #c95b16;
  --secondary: #166b4f;
  --secondary-soft: #dff2ea;
  --text: #1e2c2b;
  --muted: #5b6664;
  --line: rgba(30, 44, 43, 0.09);
  --shadow: 0 18px 50px rgba(16, 33, 30, 0.08);
  --radius: 22px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.7;
    background: linear-gradient(180deg, #f8f7f4 0%, #f3efe9 100%);
    color: var(--text);
}

a {
    text-decoration: none;
}

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

header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(233, 108, 31, 0.96);
    backdrop-filter: blur(14px);
    box-shadow: 0 10px 30px rgba(18, 27, 24, 0.08);
    border-bottom: 1px solid rgba(255,255,255,0.18);
}

.header-top {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.1rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo {
    width: 72px;
    height: 72px;
    border-radius: 18px;
    object-fit: cover;
    border: 2px solid rgba(255,255,255,0.9);
    box-shadow: 0 12px 30px rgba(0,0,0,0.12);
}

.org-info h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.3rem, 2vw, 2.1rem);
    color: white;
    line-height: 1.1;
    letter-spacing: 0.02em;
}

.org-info .subtitle {
    color: rgba(255,255,255,0.9);
    letter-spacing: 0.12em;
    font-size: 0.72rem;
    text-transform: uppercase;
    margin-top: 0.1rem;
}

.decoration-line {
    height: 4px;
    background: linear-gradient(90deg, #1b6b4f 0%, #f7b267 50%, #176b4d 100%);
}

.navbar ul {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 1.8rem;
}

.navbar ul li a {
    color: rgba(255,255,255,0.96);
    font-weight: 600;
    font-size: 0.96rem;
    position: relative;
    padding: 0.35rem 0;
}

.navbar ul li a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -0.25rem;
    width: 0;
    height: 2px;
    border-radius: 999px;
    background: white;
    transition: width 0.25s ease;
}

.navbar ul li a:hover::after,
.navbar ul li a:focus-visible::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    border: 0;
    background: transparent;
    color: white;
    font-size: 1.7rem;
    padding: 0.4rem;
    cursor: pointer;
}

main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem 2rem;
}

section {
    margin: 2.4rem 0;
    padding: 2.5rem;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

section h2 {
    font-family: 'Playfair Display', serif;
    color: var(--primary);
    text-align: center;
    font-size: clamp(2rem, 3vw, 3rem);
    margin-bottom: 1.2rem;
    position: relative;
    padding-bottom: 1rem;
}

section h2::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 92px;
    height: 4px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--secondary), var(--primary));
}

#carousel {
    padding: 0;
    overflow: hidden;
    margin-top: 2rem;
}

.carousel {
    position: relative;
    width: 100%;
    height: 520px;
    overflow: hidden;
    border-radius: 22px;
    box-shadow: 0 22px 60px rgba(29, 29, 29, 0.12);
}

.carousel .slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 0.9s ease;
}

.carousel .slide::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(21, 25, 24, 0.62), rgba(18, 46, 40, 0.2));
}

.carousel .slide.active {
    opacity: 1;
}

.carousel .caption {
    position: absolute;
    left: 48px;
    bottom: 42px;
    z-index: 1;
    max-width: 540px;
    background: rgba(255,255,255,0.94);
    backdrop-filter: blur(8px);
    border-left: 6px solid var(--primary);
    border-radius: 16px;
    box-shadow: 0 18px 40px rgba(25, 35, 30, 0.12);
    padding: 1.5rem 1.6rem;
}

.carousel .caption h3 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.5rem, 2vw, 2.3rem);
    color: var(--primary);
    margin: 0 0 0.5rem;
}

.carousel .caption p {
    margin: 0;
    color: var(--muted);
    font-size: 1rem;
}

.carousel .prev,
.carousel .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    width: 48px;
    height: 48px;
    border: none;
    border-radius: 50%;
    background: rgba(255,255,255,0.9);
    color: var(--text);
    font-size: 1.4rem;
    cursor: pointer;
    box-shadow: 0 12px 30px rgba(0,0,0,0.12);
    transition: transform 0.2s ease, background 0.2s ease;
}

.carousel .prev:hover,
.carousel .next:hover {
    transform: translateY(-50%) scale(1.05);
    background: white;
}

.carousel .prev { left: 20px; }
.carousel .next { right: 20px; }

.impact-section {
    background: linear-gradient(135deg, #fffaf4 0%, #ffffff 100%);
}

.section-intro {
    max-width: 820px;
    margin: 0 auto 2rem;
    text-align: center;
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 0.8rem;
}

.section-intro p {
    line-height: 1.8;
    font-size: 1.08rem;
    color: var(--muted);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(150px, 1fr));
    gap: 1rem;
    margin: 2rem 0 2.2rem;
}

.stat-card {
    background: linear-gradient(180deg, #f8f9f5 0%, #ffffff 100%);
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 1.4rem 1rem;
    text-align: center;
    box-shadow: 0 12px 28px rgba(11, 26, 22, 0.04);
}

.stat-card span {
    display: block;
    font-size: clamp(1.5rem, 2vw, 2rem);
    font-weight: 800;
    color: var(--secondary);
    line-height: 1.2;
}

.stat-card small {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.8rem;
    color: var(--muted);
}

.mission-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(220px, 1fr));
    gap: 1.2rem;
}

.mission-card {
    background: linear-gradient(180deg, #fff 0%, #f8f9f8 100%);
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 1.5rem 1.2rem;
    text-align: left;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.mission-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 34px rgba(15, 44, 36, 0.08);
}

.mission-card .icon {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(233,108,31,0.12), rgba(22,107,79,0.12));
    font-size: 1.7rem;
    margin-bottom: 1rem;
}

.mission-card h3 {
    font-size: 1.3rem;
    color: var(--text);
    margin-bottom: 0.5rem;
}

.mission-card p {
    color: var(--muted);
    font-size: 0.96rem;
}

#about {
    background: linear-gradient(135deg, #f4fbf8 0%, #ffffff 100%);
}

#about p,
#home p {
    max-width: 760px;
    margin: 0 auto;
    color: var(--muted);
    font-size: 1.05rem;
}

#gallery {
    background: linear-gradient(135deg, #fff7ee 0%, #f7faf8 100%);
}

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.1rem;
    margin-top: 2rem;
}

.gallery img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    border-radius: 18px;
    border: 3px solid rgba(233,108,31,0.4);
    box-shadow: 0 16px 28px rgba(17, 30, 26, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.gallery img:hover {
    transform: translateY(-4px) scale(1.01);
    box-shadow: 0 26px 35px rgba(233,108,31,0.12);
}

#team {
    background: linear-gradient(135deg, #fff6f0 0%, #f8f9fb 100%);
}

.team {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.4rem;
    margin-top: 2rem;
}

.team-member {
    background: white;
    border: 1px solid var(--line);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 16px 32px rgba(15, 31, 28, 0.06);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: 0 26px 46px rgba(15, 31, 28, 0.1);
}

.team-member img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    border-bottom: 3px solid rgba(233,108,31,0.7);
}

.team-member h3 {
    font-family: 'Playfair Display', serif;
    color: var(--primary);
    font-size: 1.4rem;
    padding: 1.2rem 1.2rem 0.2rem;
}

.team-member p {
    padding: 0 1.2rem 1.2rem;
    color: var(--muted);
    font-size: 0.95rem;
}

#donate {
    background: linear-gradient(135deg, #f4faf8 0%, #fffaf3 100%);
    text-align: center;
}

#donate p {
    max-width: 760px;
    margin: 0 auto 1.5rem;
    color: var(--muted);
}

.donate-info {
    max-width: 620px;
    margin: 0 auto;
    background: white;
    border: 1px solid rgba(22,107,79,0.12);
    border-left: 7px solid var(--secondary);
    border-radius: 18px;
    padding: 1.5rem;
    box-shadow: 0 18px 30px rgba(12, 42, 36, 0.04);
}

.donate-info p {
    margin-bottom: 0.4rem;
    padding: 0.45rem 0;
    color: var(--text);
    text-align: left;
}

.donate-info strong {
    color: var(--primary);
}

#contact {
    background: linear-gradient(135deg, #fffaf3 0%, #f5fbf8 100%);
}

.contact-container {
    max-width: 640px;
    margin: 0 auto;
}

form {
    display: flex;
    flex-direction: column;
}

form label {
    color: var(--text);
    font-weight: 600;
    margin-bottom: 0.45rem;
}

form input,
form textarea {
    width: 100%;
    border: 1px solid rgba(30,44,43,0.14);
    border-radius: 14px;
    padding: 0.9rem 1rem;
    margin-bottom: 1rem;
    font: inherit;
    background: rgba(255,255,255,0.72);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

form input:focus,
form textarea:focus {
    outline: none;
    border-color: rgba(233,108,31,0.9);
    box-shadow: 0 0 0 4px rgba(233,108,31,0.08);
}

form button {
    border: none;
    padding: 0.95rem 1.2rem;
    border-radius: 14px;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
    color: white;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    box-shadow: 0 16px 30px rgba(233,108,31,0.22);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 22px 35px rgba(233,108,31,0.28);
}

footer {
    background: linear-gradient(135deg, #e96c1f 0%, #c75a16 100%);
    color: white;
    text-align: center;
    padding: 1.6rem 1rem;
    margin-top: 2.5rem;
}

footer p {
    margin: 0;
    font-size: 0.94rem;
    opacity: 0.96;
}

@media (max-width: 1024px) {
    .stats-grid {
        grid-template-columns: repeat(2, minmax(150px, 1fr));
    }

    .mission-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .header-top {
        padding: 1rem 1rem;
    }

    .menu-toggle {
        display: block;
    }

    .navbar {
        position: absolute;
        left: 0;
        right: 0;
        top: 100%;
        background: rgba(233, 108, 31, 0.98);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.25s ease;
        border-top: 1px solid rgba(255,255,255,0.16);
    }

    .navbar.active {
        max-height: 320px;
    }

    .navbar ul {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.6rem;
        padding: 1rem;
    }

    .navbar ul li {
        width: 100%;
    }

    .navbar ul li a {
        display: block;
        width: 100%;
        padding: 0.5rem 0.2rem;
    }

    main {
        padding: 0 1rem 1rem;
    }

    section {
        padding: 2rem 1.2rem;
        margin: 1.4rem 0;
    }

    .carousel {
        height: 360px;
    }

    .carousel .caption {
        left: 18px;
        right: 18px;
        bottom: 18px;
        max-width: none;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .logo {
        width: 58px;
        height: 58px;
    }

    .org-info h1 {
        font-size: 1.05rem;
    }

    .org-info .subtitle {
        letter-spacing: 0.08em;
        font-size: 0.7rem;
    }

    .carousel {
        height: 300px;
    }

    .carousel .prev,
    .carousel .next {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }

    .carousel .caption {
        padding: 1rem 1rem;
    }

    .carousel .caption h3 {
        font-size: 1.35rem;
    }

    .carousel .caption p {
        font-size: 0.9rem;
    }

    .mission-card,
    .team-member,
    .donate-info,
    .stat-card {
        border-radius: 14px;
    }
}
