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

:root {
  --clr-cream: #FDF6EC;
  --clr-warm: #F5E6D0;
  --clr-earth: #C4956A;
  --clr-deep: #2C3E2D;
  --clr-forest: #3A5A3C;
  --clr-sage: #7A9B7E;
  --clr-gold: #D4A843;
  --clr-white: #FFFFFF;
  --clr-text: #2A2A2A;
  --clr-text-light: #5C5C5C;
  --font-display: 'DM Serif Display', serif;
  --font-body: 'Outfit', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--clr-text);
  background: var(--clr-cream);
  overflow-x: hidden;
}

/* ========== NAV ========== */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 1rem 3rem;
  display: flex; justify-content: space-between; align-items: center;
  background: rgba(253, 246, 236, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0,0,0,0.04);
  transition: box-shadow 0.3s;
}
nav.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,0.06); }

.nav-logo { display: flex; align-items: center; text-decoration: none; }
.nav-logo-img { height: 36px; width: auto; }

.nav-menu {
  display: flex; gap: 0.3rem; list-style: none; align-items: center;
}

.nav-item {
  position: relative;
}

.nav-item > a {
  text-decoration: none; color: var(--clr-text-light);
  font-size: 0.92rem; font-weight: 500; letter-spacing: 0.02em;
  padding: 0.6rem 1rem; display: block; transition: color 0.25s;
}
.nav-item > a:hover { color: var(--clr-deep); }

/* Dropdown */
.dropdown {
  position: absolute; top: 100%; left: 0;
  background: var(--clr-white);
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.1);
  min-width: 200px;
  padding: 0.5rem 0;
  opacity: 0; visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.25s, transform 0.25s, visibility 0.25s;
}
.nav-item:hover .dropdown {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.dropdown a {
  display: block; padding: 0.7rem 1.2rem;
  text-decoration: none; color: var(--clr-text-light);
  font-size: 0.88rem; font-weight: 400;
  transition: background 0.2s, color 0.2s;
}
.dropdown a:hover {
  background: var(--clr-cream); color: var(--clr-deep);
}

.btn-donate {
  background: var(--clr-gold); color: var(--clr-white);
  padding: 0.55rem 1.4rem; border-radius: 100px;
  font-weight: 600; font-size: 0.88rem;
  text-decoration: none; margin-left: 0.5rem;
  transition: background 0.25s, transform 0.2s;
  display: inline-block;
}
.btn-donate:hover {
  background: #c49a30; transform: translateY(-1px);
}

/* Hamburger */
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; background: none; border: none; padding: 4px;
}
.hamburger span {
  width: 24px; height: 2px; background: var(--clr-deep);
  border-radius: 2px; transition: 0.3s;
}

/* ========== BUTTONS ========== */
.btn-primary {
  background: var(--clr-deep); color: var(--clr-white);
  padding: 0.9rem 2.2rem; border-radius: 100px; text-decoration: none;
  font-weight: 600; font-size: 0.95rem; border: none; cursor: pointer;
  transition: background 0.25s, transform 0.2s, box-shadow 0.25s;
  display: inline-block;
}
.btn-primary:hover {
  background: var(--clr-forest); transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(44, 62, 45, 0.2);
}
.btn-secondary {
  background: transparent; color: var(--clr-deep);
  padding: 0.9rem 2.2rem; border-radius: 100px; text-decoration: none;
  font-weight: 600; font-size: 0.95rem; border: 2px solid var(--clr-deep);
  cursor: pointer; transition: background 0.25s, transform 0.2s;
  display: inline-block;
}
.btn-secondary:hover {
  background: var(--clr-deep); color: var(--clr-white); transform: translateY(-2px);
}

/* ========== HERO (index only) ========== */
.hero {
  min-height: 100vh; display: flex; align-items: center;
  justify-content: center; text-align: center;
  padding: 8rem 2rem 4rem; position: relative; overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg .circle { position: absolute; border-radius: 50%; opacity: 0.12; }
.hero-bg .circle-1 {
  width: 600px; height: 600px; background: var(--clr-sage);
  top: -10%; right: -8%; animation: float 18s ease-in-out infinite;
}
.hero-bg .circle-2 {
  width: 400px; height: 400px; background: var(--clr-gold);
  bottom: -5%; left: -5%; animation: float 22s ease-in-out infinite reverse;
}
.hero-bg .circle-3 {
  width: 250px; height: 250px; background: var(--clr-earth);
  top: 30%; left: 15%; animation: float 15s ease-in-out infinite 3s;
}
.hero-content { position: relative; z-index: 1; max-width: 800px; }
.hero-tag {
  display: inline-block; font-size: 0.82rem; font-weight: 600;
  letter-spacing: 0.15em; text-transform: uppercase; color: var(--clr-earth);
  margin-bottom: 1.5rem; opacity: 0; animation: fadeUp 0.8s ease forwards 0.2s;
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6vw, 4.5rem); line-height: 1.1;
  color: var(--clr-deep); margin-bottom: 1.5rem; letter-spacing: -0.02em;
  opacity: 0; animation: fadeUp 0.8s ease forwards 0.4s;
}
.hero h1 em { font-style: normal; color: var(--clr-earth); }
.hero p {
  font-size: 1.15rem; line-height: 1.7; color: var(--clr-text-light);
  max-width: 560px; margin: 0 auto 2.5rem; font-weight: 300;
  opacity: 0; animation: fadeUp 0.8s ease forwards 0.6s;
}
.hero-btns {
  display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap;
  opacity: 0; animation: fadeUp 0.8s ease forwards 0.8s;
}

/* ========== PAGE HEADER ========== */
.page-header {
  padding: 10rem 2rem 4rem; text-align: center;
  position: relative; overflow: hidden;
}
.page-header-bg { position: absolute; inset: 0; z-index: 0; }
.page-header-bg .circle { position: absolute; border-radius: 50%; opacity: 0.1; }
.page-header-bg .c1 {
  width: 400px; height: 400px; background: var(--clr-sage);
  top: -15%; right: -5%; animation: float 18s ease-in-out infinite;
}
.page-header-bg .c2 {
  width: 300px; height: 300px; background: var(--clr-gold);
  bottom: -10%; left: -5%; animation: float 22s ease-in-out infinite reverse;
}
.page-header > * { position: relative; z-index: 1; }
.page-header .section-title {
  font-size: clamp(2.4rem, 5vw, 3.2rem); margin-bottom: 1rem;
}
.page-header .section-desc { margin: 0 auto; max-width: 600px; }

/* ========== SECTION COMMON ========== */
.section-tag {
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--clr-earth); margin-bottom: 1rem;
  display: block;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--clr-deep); margin-bottom: 1.2rem; letter-spacing: -0.02em;
}
.section-desc {
  font-size: 1.05rem; line-height: 1.7; color: var(--clr-text-light);
  max-width: 580px; font-weight: 300;
}

/* ========== CONTENT ========== */
.content-section {
  padding: 4rem 2rem; max-width: 900px; margin: 0 auto;
}
.content-section p {
  font-size: 1.05rem; line-height: 1.85; color: var(--clr-text-light);
  font-weight: 300; margin-bottom: 1.5rem;
}
.content-section h2 {
  font-family: var(--font-display);
  font-size: 1.5rem; color: var(--clr-deep); margin: 2.5rem 0 1rem;
}
.content-section h2:first-child { margin-top: 0; }

/* ========== CARDS ========== */
.cards-wrap {
  padding: 4rem 2rem; max-width: 1100px; margin: 0 auto;
}
.cards-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 2rem;
}
.card {
  background: var(--clr-white); border-radius: 24px; padding: 2.8rem;
  position: relative; overflow: hidden;
  transition: transform 0.35s, box-shadow 0.35s;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.08);
}
.card h3 {
  font-family: var(--font-display);
  font-size: 1.5rem; color: var(--clr-deep); margin-bottom: 1rem;
}
.card > p {
  font-size: 0.95rem; color: var(--clr-text-light);
  line-height: 1.7; font-weight: 300; margin-bottom: 1.5rem;
}
.card-features {
  display: flex; flex-direction: column; gap: 0.7rem;
}
.feat {
  display: flex; align-items: center; gap: 0.7rem;
  font-size: 0.88rem; color: var(--clr-text); font-weight: 400;
}
.feat-dot {
  width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0;
  background: var(--clr-sage);
}
.feat-dot.gold { background: var(--clr-earth); }
.card-accent {
  position: absolute; top: 0; right: 0;
  width: 120px; height: 120px;
  border-radius: 0 24px 0 0; opacity: 0.06;
}
.card-accent.green { background: var(--clr-sage); }
.card-accent.warm { background: var(--clr-earth); }

/* ========== TEAM ========== */
.team-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 2rem; padding: 4rem 2rem; max-width: 1100px; margin: 0 auto;
}
.team-member {
  background: var(--clr-white); border-radius: 20px; padding: 2rem;
  text-align: center; transition: transform 0.35s, box-shadow 0.35s;
}
.team-member:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.08);
}
.team-photo {
  width: 120px; height: 120px; border-radius: 50%;
  object-fit: cover; margin: 0 auto 1.2rem;
  background: var(--clr-warm); display: block;
  border: 3px solid var(--clr-cream);
}
.team-photo.placeholder {
  display: flex; align-items: center; justify-content: center;
  font-size: 2.5rem; color: var(--clr-earth);
}
.team-member h3 {
  font-family: var(--font-display);
  font-size: 1.15rem; color: var(--clr-deep); margin-bottom: 0.3rem;
}
.team-member .role {
  font-size: 0.82rem; color: var(--clr-earth); font-weight: 600;
  letter-spacing: 0.05em; text-transform: uppercase; margin-bottom: 0.8rem;
}
.team-member p {
  font-size: 0.88rem; color: var(--clr-text-light);
  line-height: 1.6; font-weight: 300;
}

/* ========== APPLY ========== */
.apply-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 2rem;
  padding: 4rem 2rem; max-width: 1000px; margin: 0 auto;
}
.apply-card {
  background: var(--clr-white); border-radius: 20px; padding: 2.5rem;
  text-align: center; transition: transform 0.35s, box-shadow 0.35s;
}
.apply-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.08);
}
.apply-card .card-icon {
  font-size: 2rem; margin-bottom: 1rem;
}
.apply-card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem; color: var(--clr-deep); margin-bottom: 0.6rem;
}
.apply-card p {
  font-size: 0.9rem; color: var(--clr-text-light);
  line-height: 1.6; font-weight: 300; margin-bottom: 1.5rem;
}

/* ========== CONTACT ========== */
.contact-wrap {
  padding: 4rem 2rem; max-width: 600px; margin: 0 auto; text-align: center;
}
.contact-wrap .contact-item {
  margin-bottom: 2rem;
}
.contact-wrap .contact-icon {
  font-size: 1.8rem; margin-bottom: 0.6rem;
}
.contact-wrap h3 {
  font-family: var(--font-display);
  font-size: 1.15rem; color: var(--clr-deep); margin-bottom: 0.4rem;
}
.contact-wrap p, .contact-wrap a {
  font-size: 1rem; color: var(--clr-text-light); font-weight: 300;
  text-decoration: none;
}
.contact-wrap a:hover { color: var(--clr-deep); }

/* ========== IMPACT BAR ========== */
.impact-bar {
  background: var(--clr-deep); color: var(--clr-white);
  padding: 4rem 2rem;
}
.impact-bar-inner {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem;
  text-align: center;
}
.impact-item .num {
  font-family: var(--font-display);
  font-size: 2.4rem; color: var(--clr-gold); margin-bottom: 0.4rem;
}
.impact-item .label {
  font-size: 0.85rem; color: rgba(255,255,255,0.6);
  font-weight: 300; line-height: 1.5;
}

/* ========== HOW STEPS ========== */
.steps-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem;
  padding: 4rem 2rem; max-width: 1100px; margin: 0 auto;
}
.step-card { text-align: center; padding: 2rem; }
.step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 52px; height: 52px; border-radius: 16px;
  background: var(--clr-deep); color: var(--clr-white);
  font-family: var(--font-display); font-size: 1.2rem; margin-bottom: 1.2rem;
}
.step-card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem; color: var(--clr-deep); margin-bottom: 0.6rem;
}
.step-card p {
  font-size: 0.9rem; color: var(--clr-text-light);
  line-height: 1.65; font-weight: 300;
}

/* ========== DONATE ========== */
.donate-section {
  background: var(--clr-warm); padding: 5rem 2rem; text-align: center;
}
.donate-inner {
  max-width: 600px; margin: 0 auto;
}
.donate-inner .section-desc { margin: 0 auto 2rem; }

/* ========== FOOTER ========== */
footer {
  background: var(--clr-deep); color: rgba(255,255,255,0.5); padding: 3rem 2rem;
}
.footer-inner {
  max-width: 1100px; margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 1rem;
}
.footer-logo { display: flex; align-items: center; }
.footer-logo img { height: 28px; width: auto; background: var(--clr-white); padding: 4px 10px; border-radius: 6px; }
.footer-links { display: flex; gap: 2rem; list-style: none; }
.footer-links a {
  color: rgba(255,255,255,0.5); text-decoration: none;
  font-size: 0.85rem; transition: color 0.25s;
}
.footer-links a:hover { color: var(--clr-white); }
.footer-copy {
  font-size: 0.8rem; width: 100%; text-align: center;
  margin-top: 2rem; padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.08);
}

/* ========== ANIMATIONS ========== */
@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(20px, -30px) scale(1.03); }
  66% { transform: translate(-15px, 15px) scale(0.97); }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
.fade-in {
  opacity: 0; transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ========== RESPONSIVE ========== */
@media (max-width: 900px) {
  nav { padding: 1rem 1.5rem; }
  .nav-menu {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; background: var(--clr-cream);
    padding: 1.5rem; gap: 0; border-bottom: 1px solid rgba(0,0,0,0.06);
  }
  .nav-menu.open { display: flex; }
  .hamburger { display: flex; }
  .dropdown {
    position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; background: transparent; padding: 0 0 0 1rem;
    display: none;
  }
  .nav-item:hover .dropdown, .nav-item.open .dropdown { display: block; }
  .cards-grid { grid-template-columns: 1fr; }
  .apply-grid { grid-template-columns: 1fr; }
  .impact-bar-inner { grid-template-columns: 1fr 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .btn-donate { margin: 0.5rem 0; }
}
@media (max-width: 500px) {
  .impact-bar-inner { grid-template-columns: 1fr; }
}
