/* =============================================
   Kaakitha Pookal – Paper Flowers Initiative
   Yellow Train School, Coimbatore
   Theme: Bright Pastel Bougainvillea · Parchment
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,500;0,600;0,700;0,800;1,500;1,600&family=Poppins:wght@300;400;500;600;700&display=swap');

/* ---------- CSS Variables ---------- */
:root {
  /* Bright pastel bougainvillea spectrum */
  --bougain-magenta:  #FF80AB;   /* bright pastel rose-pink */
  --bougain-bright:   #F472B6;   /* vivid pastel pink */
  --bougain-coral:    #FF9E80;   /* bright pastel coral */
  --bougain-purple:   #C084FC;   /* bright pastel violet */
  --bougain-lilac:    #E879F9;   /* bright pastel fuchsia-lilac */
  --bougain-salmon:   #FFB74D;   /* warm pastel peach */
  --bougain-blush:    #FFF0F7;   /* very pale blush bg */
  --bougain-pale:     #F5F0FF;   /* very pale lavender bg */

  /* Yellow Train School identity */
  --yts-gold:     #FBBF24;   /* bright amber — the school */
  --yts-earth:    #78350F;   /* warm amber-brown for headings */
  --yts-charcoal: #3E2723;   /* warm dark for text */
  --yts-leaf:     #4ADE80;   /* bright mint-leaf green */
  --yts-sage:     #86EFAC;   /* soft sage */

  /* Paper & parchment */
  --parchment:    #FFFBF7;
  --cream:        #FFF8F3;
  --warm-white:   #FFFFFF;
  --paper-tint:   #FFF5EC;

  /* Typography */
  --text-dark:  #3E2723;
  --text-mid:   #6D4C41;
  --text-light: #BCAAA4;

  /* Borders & shadows */
  --border:       rgba(255,128,171,0.25);
  --border-soft:  rgba(120,53,15,0.10);
  --shadow-sm:    0 2px 10px rgba(244,114,182,0.14);
  --shadow-md:    0 8px 28px rgba(244,114,182,0.22);
  --shadow-lg:    0 20px 56px rgba(62,39,35,0.12);
  --shadow-warm:  0 4px 20px rgba(251,191,36,0.22);

  --radius:    14px;
  --radius-lg: 24px;
  --radius-xl: 36px;
  --transition: 0.28s ease;
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html  { scroll-behavior: smooth; font-size: 16px; }
body  {
  font-family: 'Poppins', sans-serif;
  background: var(--parchment);
  color: var(--text-dark);
  line-height: 1.7;
}
img { max-width: 100%; display: block; }
a   { text-decoration: none; color: inherit; }
ul  { list-style: none; }
h1, h2, h3, h4 {
  font-family: 'Playfair Display', Georgia, serif;
  line-height: 1.2;
}

/* ---------- Utility ---------- */
.container   { max-width: 1140px; margin: 0 auto; padding: 0 1.75rem; }
.text-center { text-align: center; }
.hidden      { display: none !important; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.9rem;
  border-radius: 50px;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  border: none;
  letter-spacing: 0.02em;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
}
.btn:hover  { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--bougain-bright);
  color: #fff;
}
.btn-primary:hover { background: #EC4899; }

.btn-secondary {
  background: transparent;
  color: var(--bougain-bright);
  border: 2px solid var(--bougain-bright);
}
.btn-secondary:hover { background: var(--bougain-blush); }

.btn-gold {
  background: var(--yts-gold);
  color: var(--yts-earth);
  font-weight: 700;
}
.btn-gold:hover { background: #F59E0B; color: #fff; }

.btn-lg { padding: 1rem 2.5rem; font-size: 0.98rem; }

/* ---------- Section labels / headings ---------- */
.section-label {
  display: inline-block;
  background: var(--bougain-blush);
  color: var(--bougain-bright);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.35rem 1.1rem;
  border-radius: 50px;
  margin-bottom: 1rem;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  color: var(--yts-earth);
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1rem;
  color: var(--text-mid);
  max-width: 600px;
  margin: 0 auto 2.75rem;
  line-height: 1.8;
}

/* ---------- Petal strip ---------- */
.petal-strip {
  display: flex;
  justify-content: center;
  gap: 0.3rem;
  padding: 0.5rem 0;
}
.petal {
  width: 10px; height: 10px;
  border-radius: 50%;
  opacity: 0.75;
}
.petal-1 { background: var(--bougain-magenta); }
.petal-2 { background: var(--bougain-coral);   }
.petal-3 { background: var(--bougain-purple);  }
.petal-4 { background: var(--bougain-salmon);  }
.petal-5 { background: var(--bougain-lilac);   }
.petal-6 { background: var(--yts-gold);        }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   NAVBAR
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,251,247,0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-soft);
  box-shadow: 0 2px 12px rgba(244,114,182,0.08);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.brand-icon {
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.brand-icon img { width: 44px; height: 44px; }

.brand-text .brand-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--yts-earth);
  line-height: 1.1;
}
.brand-text .brand-school {
  font-size: 0.68rem;
  font-weight: 500;
  color: var(--bougain-bright);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.navbar-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.navbar-links a {
  padding: 0.5rem 1rem;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-mid);
  transition: background var(--transition), color var(--transition);
}
.navbar-links a:hover  { background: var(--bougain-blush); color: var(--bougain-bright); }
.navbar-links a.active { color: var(--bougain-bright); font-weight: 600; }

.navbar-actions { display: flex; gap: 0.75rem; align-items: center; }

.user-pill {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--bougain-blush);
  padding: 0.4rem 0.9rem;
  border-radius: 50px;
  font-size: 0.83rem;
  font-weight: 600;
  color: var(--bougain-bright);
  cursor: pointer;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   HERO
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.hero {
  background: var(--cream);
  position: relative;
  overflow: hidden;
  padding: 5rem 0 4rem;
}

/* Bright pastel bloom in corner */
.hero::before {
  content: '';
  position: absolute;
  bottom: -80px; right: -80px;
  width: 520px; height: 520px;
  background: radial-gradient(
    ellipse at 70% 70%,
    rgba(255,128,171,0.30)  0%,
    rgba(192,132,252,0.20)  35%,
    rgba(255,158,128,0.14)  60%,
    transparent             80%
  );
  pointer-events: none;
  border-radius: 50%;
}

/* Scattered petal dots */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle 4px  at 10% 20%,  rgba(255,128,171,0.45) 100%, transparent 100%),
    radial-gradient(circle 5px  at 22% 55%,  rgba(192,132,252,0.35) 100%, transparent 100%),
    radial-gradient(circle 4px  at 38% 12%,  rgba(255,158,128,0.40) 100%, transparent 100%),
    radial-gradient(circle 6px  at 68% 18%,  rgba(244,114,182,0.32) 100%, transparent 100%),
    radial-gradient(circle 4px  at 80% 42%,  rgba(232,121,249,0.30) 100%, transparent 100%),
    radial-gradient(circle 5px  at 14% 80%,  rgba(255,183,77,0.35)  100%, transparent 100%),
    radial-gradient(circle 4px  at 55% 75%,  rgba(255,128,171,0.28) 100%, transparent 100%);
  pointer-events: none;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--bougain-blush);
  border: 1px solid rgba(244,114,182,0.35);
  padding: 0.4rem 1.1rem;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--bougain-bright);
  margin-bottom: 1.5rem;
  letter-spacing: 0.04em;
}

.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 800;
  color: var(--yts-earth);
  line-height: 1.12;
  margin-bottom: 0.5rem;
}
.hero h1 .tamil {
  display: block;
  font-size: 0.45em;
  font-weight: 500;
  font-style: italic;
  color: var(--bougain-bright);
  letter-spacing: 0.06em;
  margin-top: 0.2rem;
}

.hero-tagline {
  font-size: 1.05rem;
  color: var(--text-mid);
  margin-bottom: 0.75rem;
  max-width: 460px;
  line-height: 1.8;
}

.hero-philosophy {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 0.95rem;
  color: var(--bougain-purple);
  margin-bottom: 1.75rem;
  padding-left: 1rem;
  border-left: 3px solid var(--bougain-lilac);
}

.hero-lead-info {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 2rem;
  background: rgba(255,255,255,0.85);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.9rem 1.1rem;
  box-shadow: var(--shadow-sm);
}

.lead-avatar {
  width: 44px; height: 44px;
  background: linear-gradient(135deg, var(--bougain-blush), var(--bougain-pale));
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
  border: 2px solid var(--bougain-magenta);
}
.lead-text .lead-name { font-weight: 700; font-size: 0.9rem; color: var(--yts-earth); }
.lead-text .lead-role { font-size: 0.76rem; color: var(--text-light); margin-top: 0.1rem; }

.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* Hero visual */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.bouganvillea-cluster {
  position: relative;
  width: 320px; height: 320px;
}

.bract {
  position: absolute;
  border-radius: 50% 0 50% 0;
  transform-origin: bottom center;
  opacity: 0.90;
}

/* Pastel bracts — each a different bougainvillea hue */
.bract-1  { width:90px; height:115px; background:var(--bougain-magenta); top:20px; left:80px;  transform:rotate(-40deg); animation:sway 4s ease-in-out infinite 0s;   }
.bract-2  { width:90px; height:115px; background:var(--bougain-bright);  top:15px; left:130px; transform:rotate(-10deg); animation:sway 4s ease-in-out infinite 0.3s; }
.bract-3  { width:85px; height:110px; background:var(--bougain-purple);  top:30px; left:175px; transform:rotate(25deg);  animation:sway 4s ease-in-out infinite 0.6s; }
.bract-4  { width:85px; height:110px; background:var(--bougain-coral);   top:25px; left:40px;  transform:rotate(-65deg); animation:sway 4s ease-in-out infinite 0.9s; }
.bract-5  { width:80px; height:105px; background:var(--bougain-lilac);   top:22px; left:200px; transform:rotate(50deg);  animation:sway 4s ease-in-out infinite 1.2s; }
.bract-6  { width:78px; height:100px; background:var(--bougain-salmon);  top:30px; left:225px; transform:rotate(72deg);  animation:sway 4s ease-in-out infinite 1.5s; }

.bract-s1 { width:60px; height:80px; background:var(--bougain-magenta); top:120px; left:55px;  transform:rotate(-50deg); opacity:0.65; animation:sway 5s ease-in-out infinite 0.4s; }
.bract-s2 { width:60px; height:80px; background:var(--bougain-coral);   top:125px; left:220px; transform:rotate(55deg);  opacity:0.60; animation:sway 5s ease-in-out infinite 0.8s; }
.bract-s3 { width:55px; height:75px; background:var(--bougain-purple);  top:115px; left:255px; transform:rotate(75deg);  opacity:0.55; animation:sway 5s ease-in-out infinite 1.1s; }

.bract-centre {
  position: absolute;
  width: 24px; height: 24px;
  background: var(--yts-gold);
  border-radius: 50%;
  top: 130px; left: 148px;
  z-index: 5;
  box-shadow: 0 0 0 6px rgba(251,191,36,0.28), 0 0 0 12px rgba(251,191,36,0.12);
}

.bract-leaf {
  position: absolute;
  border-radius: 0 50% 0 50%;
  background: var(--yts-leaf);
  opacity: 0.50;
}
.bract-leaf-1 { width:70px; height:90px; top:160px; left:60px;  transform:rotate(30deg); }
.bract-leaf-2 { width:65px; height:85px; top:155px; left:190px; transform:rotate(-25deg); }
.bract-leaf-3 { width:55px; height:75px; top:185px; left:125px; transform:rotate(5deg); }

.hero-stat-bubble {
  position: absolute;
  background: rgba(255,255,255,0.95);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.85rem 1rem;
  text-align: center;
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(6px);
  animation: float 3.5s ease-in-out infinite;
  z-index: 10;
}
.hero-stat-bubble.top    { top: 0; right: 0; animation-delay: 0s; }
.hero-stat-bubble.bottom { bottom: 30px; left: 0; animation-delay: 1.8s; }
.bubble-icon { font-size: 1.4rem; margin-bottom: 0.2rem; }
.bubble-val  { font-family:'Playfair Display',serif; font-size:1.2rem; font-weight:700; color:var(--bougain-bright); }
.bubble-lbl  { font-size:0.7rem; color:var(--text-light); }

@keyframes sway {
  0%,100% { margin-top: 0; }
  25%      { margin-top: -4px; }
  75%      { margin-top:  2px; }
}
@keyframes float {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   LIVE STATS STRIP — bright pastel gradient
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.stats-strip {
  background: linear-gradient(135deg, #FFE4F0 0%, #FDF0FF 50%, #EDE9FF 100%);
  color: var(--text-dark);
  padding: 3rem 0;
  border-top: 3px solid var(--bougain-magenta);
  border-bottom: 3px solid var(--bougain-magenta);
  position: relative;
  overflow: hidden;
}

.stats-strip::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle 40px at 5%  50%, rgba(255,128,171,0.12) 100%, transparent 100%),
    radial-gradient(circle 30px at 95% 50%, rgba(192,132,252,0.10) 100%, transparent 100%),
    radial-gradient(circle 25px at 50% 10%, rgba(255,183,77,0.10)  100%, transparent 100%);
  pointer-events: none;
}

.stats-strip-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  text-align: center;
  position: relative;
}

.stat-item {
  padding: 1.25rem 0.5rem;
  border-right: 1px solid rgba(244,114,182,0.20);
}
.stat-item:last-child { border-right: none; }

.stat-icon { font-size: 2.1rem; margin-bottom: 0.5rem; }

.stat-value {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 700;
  color: var(--bougain-bright);
  line-height: 1;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.1rem;
}
.stat-value .suffix { font-size: 0.45em; font-weight: 600; opacity: 0.75; }

.stat-label {
  font-size: 0.8rem;
  color: var(--text-mid);
  margin-top: 0.4rem;
  font-weight: 500;
}

.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.67rem;
  background: rgba(244,114,182,0.12);
  color: var(--text-mid);
  padding: 0.2rem 0.65rem;
  border-radius: 50px;
  margin-top: 0.45rem;
}
.live-dot {
  width: 6px; height: 6px;
  background: var(--bougain-bright);
  border-radius: 50%;
  animation: pulse-dot 1.5s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%,100% { opacity:1; transform:scale(1); }
  50%      { opacity:0.4; transform:scale(0.7); }
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   SECTIONS
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.section     { padding: 5.5rem 0; }
.section-alt { background: var(--warm-white); }

/* ── About ── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4.5rem;
  align-items: center;
}

.about-visual {
  position: relative;
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, var(--bougain-blush) 0%, var(--bougain-pale) 100%);
  padding: 3rem 2rem;
  text-align: center;
  min-height: 380px;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  overflow: hidden;
}
.about-visual::before {
  content: '🌸';
  position: absolute;
  font-size: 8rem;
  opacity: 0.08;
  top: -20px; right: -20px;
  pointer-events: none;
}

.about-big-icon { font-size: 4.5rem; margin-bottom: 1.5rem; }

.about-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: center;
}
.about-tag {
  background: var(--warm-white);
  border-radius: 50px;
  padding: 0.45rem 1rem;
  font-size: 0.8rem;
  font-weight: 600;
  box-shadow: var(--shadow-sm);
  display: flex; align-items: center; gap: 0.35rem;
}
.about-tag.magenta { color: var(--bougain-bright);   border: 1px solid rgba(244,114,182,0.30); }
.about-tag.purple  { color: var(--bougain-purple);   border: 1px solid rgba(192,132,252,0.30); }
.about-tag.coral   { color: #E06030;                 border: 1px solid rgba(255,158,128,0.40); }
.about-tag.gold    { color: var(--yts-earth);         border: 1px solid rgba(251,191,36,0.35); background: #FFFBEB; }

.about-content p { color: var(--text-mid); margin-bottom: 1rem; font-size: 0.97rem; line-height: 1.85; }

.about-quote {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 1rem;
  color: var(--bougain-purple);
  border-left: 3px solid var(--bougain-lilac);
  padding: 0.75rem 1.25rem;
  margin: 1.5rem 0;
  background: var(--bougain-pale);
  border-radius: 0 var(--radius) var(--radius) 0;
}

.about-team { margin-top: 1.5rem; display: flex; flex-direction: column; gap: 0.75rem; }

.team-member {
  display: flex; align-items: center; gap: 0.85rem;
  background: var(--parchment);
  padding: 0.85rem 1.1rem;
  border-radius: var(--radius);
  border-left: 3px solid var(--bougain-magenta);
}
.team-member:nth-child(2) { border-left-color: var(--bougain-purple); }
.team-avatar {
  width: 42px; height: 42px;
  background: linear-gradient(135deg, var(--bougain-blush), var(--bougain-pale));
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; flex-shrink: 0;
}
.team-info .team-name { font-weight: 700; font-size: 0.9rem; color: var(--yts-earth); }
.team-info .team-role { font-size: 0.76rem; color: var(--text-light); }

/* ── Steps ── */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.step-card {
  background: var(--parchment);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 2.25rem 1.75rem;
  transition: transform var(--transition), box-shadow var(--transition);
  position: relative; overflow: hidden;
}
.step-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 4px;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}
.step-card:nth-child(1)::after { background: var(--bougain-magenta); }
.step-card:nth-child(2)::after { background: var(--bougain-coral);   }
.step-card:nth-child(3)::after { background: var(--bougain-purple);  }
.step-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }

.step-number {
  width: 34px; height: 34px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 0.88rem; color: #fff;
  margin-bottom: 1rem;
}
.step-card:nth-child(1) .step-number { background: var(--bougain-magenta); }
.step-card:nth-child(2) .step-number { background: var(--bougain-coral);   }
.step-card:nth-child(3) .step-number { background: var(--bougain-purple);  }

.step-icon  { font-size: 2.4rem; margin-bottom: 0.75rem; }
.step-title { font-family: 'Playfair Display', serif; font-size: 1.1rem; color: var(--yts-earth); margin-bottom: 0.5rem; }
.step-desc  { font-size: 0.875rem; color: var(--text-mid); line-height: 1.8; }

/* ── Donate type cards ── */
.donate-types-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }

.donate-type-card {
  background: var(--warm-white);
  border: 2px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 2.25rem 1.75rem;
  text-align: center;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}
.donate-type-card:hover { border-color: var(--bougain-magenta); box-shadow: var(--shadow-md); transform: translateY(-5px); }
.donate-type-card:nth-child(2):hover { border-color: var(--bougain-purple); }
.donate-type-card:nth-child(3):hover { border-color: var(--bougain-coral); }
.donate-type-card .dt-icon  { font-size: 3rem; margin-bottom: 1rem; }
.donate-type-card .dt-title { font-family:'Playfair Display',serif; font-size:1.1rem; color:var(--yts-earth); margin-bottom:0.5rem; }
.donate-type-card .dt-desc  { font-size:0.85rem; color:var(--text-mid); line-height:1.8; }

/* ── Tree equivalence visual ── */
.tree-visual {
  background: linear-gradient(135deg, #5D3A1A 0%, #7B4F2E 50%, #3E2008 100%);
  border-radius: var(--radius-lg);
  padding: 3.5rem 2rem;
  color: #fff;
  text-align: center;
  margin-top: 2rem;
}
.tree-visual h3 { font-family:'Playfair Display',serif; font-size:1.5rem; margin-bottom:0.5rem; }
.tree-visual p  { opacity:0.82; font-size:0.92rem; margin-bottom:2rem; line-height:1.8; }

.tree-formula { display:flex; justify-content:center; gap:3rem; flex-wrap:wrap; margin-top:2rem; }
.formula-item  { text-align:center; }
.formula-item .f-icon { font-size:2.5rem; display:block; margin-bottom:0.3rem; }
.formula-item .f-val  { font-family:'Playfair Display',serif; font-size:1.3rem; font-weight:700; color:var(--yts-gold); }
.formula-item .f-lbl  { font-size:0.75rem; opacity:0.75; margin-top:0.15rem; }
.formula-sep { font-size:1.5rem; align-self:center; opacity:0.35; }

.tree-row { display:flex; justify-content:center; flex-wrap:wrap; gap:0.4rem; font-size:1.8rem; }

/* ── Feature cards ── */
.features-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:1.5rem; }

.feature-card {
  background: var(--warm-white);
  border-radius: var(--radius-lg);
  padding: 2.25rem 1.75rem;
  border-top: 4px solid transparent;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}
.feature-card:hover { transform:translateY(-4px); box-shadow:var(--shadow-md); }
.feature-card:nth-child(1) { border-top-color: var(--bougain-magenta); }
.feature-card:nth-child(2) { border-top-color: var(--bougain-coral);   }
.feature-card:nth-child(3) { border-top-color: var(--bougain-purple);  }

.feature-icon  { font-size:2.5rem; margin-bottom:0.85rem; }
.feature-title { font-family:'Playfair Display',serif; font-size:1.1rem; color:var(--yts-earth); margin-bottom:0.5rem; }
.feature-desc  { font-size:0.875rem; color:var(--text-mid); line-height:1.8; }

/* ── Timeline ── */
.timeline { position:relative; padding:1rem 0; }
.timeline::before {
  content:'';
  position:absolute;
  left:50%; top:0; bottom:0;
  width:2px;
  background: linear-gradient(to bottom, var(--bougain-magenta), var(--bougain-purple));
  transform:translateX(-50%);
}

.timeline-item {
  display:grid;
  grid-template-columns:1fr 70px 1fr;
  gap:1.5rem;
  align-items:start;
  margin-bottom:2.5rem;
}
.timeline-item:nth-child(odd)  .tl-content { grid-column:1; text-align:right; }
.timeline-item:nth-child(odd)  .tl-dot     { grid-column:2; }
.timeline-item:nth-child(odd)  .tl-empty   { grid-column:3; }
.timeline-item:nth-child(even) .tl-empty   { grid-column:1; }
.timeline-item:nth-child(even) .tl-dot     { grid-column:2; }
.timeline-item:nth-child(even) .tl-content { grid-column:3; }

.tl-dot {
  width:54px; height:54px;
  border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  font-size:1.5rem;
  border:4px solid var(--warm-white);
  box-shadow: var(--shadow-sm);
  z-index:1;
  margin:0 auto;
}
.timeline-item:nth-child(1) .tl-dot { background: var(--bougain-magenta); }
.timeline-item:nth-child(2) .tl-dot { background: var(--bougain-coral);   }
.timeline-item:nth-child(3) .tl-dot { background: var(--bougain-purple);  }

.tl-content {
  background: var(--warm-white);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 1.4rem 1.6rem;
  box-shadow: var(--shadow-sm);
}
.tl-phase { font-size:0.72rem; color:var(--bougain-bright); font-weight:700; letter-spacing:0.1em; text-transform:uppercase; }
.tl-title { font-family:'Playfair Display',serif; font-size:1.05rem; color:var(--yts-earth); margin:0.3rem 0; }
.tl-desc  { font-size:0.85rem; color:var(--text-mid); line-height:1.8; }

/* ── Partner card ── */
.partner-card {
  display:flex; align-items:center; gap:2.25rem;
  background: var(--warm-white);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 2.25rem 2.75rem;
  max-width:720px; margin:2.25rem auto 0;
  box-shadow: var(--shadow-sm);
}
.partner-icon {
  width:72px; height:72px;
  background: linear-gradient(135deg, #E0F2FE, #BAE6FD);
  border-radius: var(--radius);
  display:flex; align-items:center; justify-content:center;
  font-size:2.2rem; flex-shrink:0;
}
.partner-info .partner-name { font-family:'Playfair Display',serif; font-size:1.2rem; font-weight:700; color:var(--yts-earth); }
.partner-info p { font-size:0.875rem; color:var(--text-mid); margin-top:0.35rem; line-height:1.8; }
.partner-info a { color:var(--bougain-bright); font-weight:600; }

/* ── CTA banner — bright pastel ── */
.cta-banner {
  background: linear-gradient(135deg, #FF80AB 0%, #F472B6 45%, #C084FC 100%);
  color: var(--yts-earth);
  border-radius: var(--radius-xl);
  padding: 4rem 2rem;
  text-align: center;
  margin: 5rem 0;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '🌸';
  position: absolute;
  font-size: 12rem;
  opacity: 0.08;
  top: -30px; right: -20px;
  pointer-events: none;
}
.cta-banner h2 { font-family:'Playfair Display',serif; font-size:clamp(1.7rem,3vw,2.4rem); margin-bottom:0.75rem; color:var(--yts-earth); }
.cta-banner .cta-school-tagline {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 0.95rem;
  color: rgba(120,53,15,0.75);
  margin-bottom: 0.5rem;
}
.cta-banner p { color: rgba(62,39,35,0.82); margin-bottom:2rem; font-size:1rem; line-height:1.8; }
.cta-actions  { display:flex; justify-content:center; gap:1rem; flex-wrap:wrap; }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   FOOTER
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.footer { background: var(--yts-earth); color: rgba(255,255,255,0.8); padding: 3.5rem 0 1.75rem; }

.footer-grid { display:grid; grid-template-columns:2fr 1fr 1fr; gap:3rem; margin-bottom:2.25rem; }

.footer-brand .brand-name  { font-family:'Playfair Display',serif; color:#fff; font-size:1.3rem; font-weight:700; }
.footer-brand .brand-school-f { font-size:0.75rem; opacity:0.55; margin-top:0.15rem; }
.footer-brand .footer-tagline {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 0.85rem;
  color: var(--yts-gold);
  margin: 0.75rem 0 0.25rem;
}
.footer-brand p { font-size:0.85rem; margin-top:0.5rem; line-height:1.8; opacity:0.65; }

.footer h4 { color:#fff; font-size:0.82rem; margin-bottom:1rem; text-transform:uppercase; letter-spacing:0.1em; }
.footer-links li { margin-bottom:0.5rem; }
.footer-links a  { font-size:0.84rem; opacity:0.65; transition:opacity var(--transition); }
.footer-links a:hover { opacity:1; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.5rem;
  display:flex; justify-content:space-between; align-items:center;
  font-size:0.77rem; opacity:0.5; flex-wrap:wrap; gap:0.5rem;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   AUTH PAGE
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.auth-page {
  min-height: calc(100vh - 72px);
  display:flex; align-items:center; justify-content:center;
  padding: 3rem 1.5rem;
  background: radial-gradient(ellipse at 20% 50%, var(--bougain-blush) 0%, var(--parchment) 60%);
}

.auth-card {
  background: var(--warm-white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  padding: 2.75rem;
  width: 100%; max-width: 490px;
}

.auth-header { text-align:center; margin-bottom:2rem; }
.auth-header .auth-icon { font-size:3rem; margin-bottom:0.75rem; }
.auth-header h2 { font-family:'Playfair Display',serif; font-size:1.8rem; color:var(--yts-earth); }
.auth-header p  { color:var(--text-mid); font-size:0.88rem; margin-top:0.4rem; line-height:1.7; }

.tab-switcher {
  display:flex; background:var(--parchment); border-radius:12px; padding:4px; margin-bottom:2rem;
}
.tab-btn {
  flex:1; padding:0.65rem; border:none; background:transparent;
  border-radius:10px; font-family:'Poppins',sans-serif; font-weight:600;
  font-size:0.88rem; cursor:pointer; color:var(--text-mid);
  transition:background var(--transition), color var(--transition);
}
.tab-btn.active { background:var(--warm-white); color:var(--bougain-bright); box-shadow:var(--shadow-sm); }

.form-group { margin-bottom:1.25rem; }
.form-group label { display:block; font-size:0.83rem; font-weight:600; color:var(--text-dark); margin-bottom:0.4rem; }
.form-group input,
.form-group select,
.form-group textarea {
  width:100%; padding:0.78rem 1rem;
  border:1.5px solid var(--border-soft);
  border-radius:12px;
  font-family:'Poppins',sans-serif; font-size:0.88rem;
  color:var(--text-dark); background:var(--parchment);
  transition:border-color var(--transition), box-shadow var(--transition);
  outline:none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--bougain-bright);
  box-shadow: 0 0 0 3px rgba(244,114,182,0.15);
  background: var(--warm-white);
}
.form-row { display:grid; grid-template-columns:1fr 1fr; gap:1rem; }
.form-group .helper { font-size:0.73rem; color:var(--text-light); margin-top:0.3rem; }

.form-submit { margin-top:1.5rem; }
.form-submit .btn { width:100%; justify-content:center; font-size:0.98rem; padding:0.92rem; }

.form-footer { text-align:center; margin-top:1.25rem; font-size:0.84rem; color:var(--text-mid); }
.form-footer a { color:var(--bougain-bright); font-weight:600; cursor:pointer; }

.alert { padding:0.85rem 1rem; border-radius:12px; font-size:0.875rem; margin-bottom:1.25rem; display:none; }
.alert-success { background:var(--bougain-blush); color:#9D174D; border:1px solid rgba(244,114,182,0.30); }
.alert-error   { background:#FFF0F0; color:#C62828; border:1px solid #FFCDD2; }
.alert.show    { display:block; }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   DONATE PAGE
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.donate-page { padding:3rem 0 5rem; }

.donate-header {
  background: linear-gradient(135deg, #FF80AB 0%, #F472B6 50%, #C084FC 100%);
  color: var(--yts-earth);
  padding: 3.5rem 0; margin-bottom: 3rem; text-align: center;
  position: relative; overflow: hidden;
}
.donate-header::after {
  content:'🌺';
  position:absolute; right:5%; top:50%; transform:translateY(-50%);
  font-size:7rem; opacity:0.10; pointer-events:none;
}
.donate-header h1 { font-family:'Playfair Display',serif; font-size:2.1rem; margin-bottom:0.5rem; color:var(--yts-earth); }
.donate-header p  { opacity:0.75; max-width:500px; margin:0 auto; line-height:1.8; }

.donate-grid { display:grid; grid-template-columns:1fr 360px; gap:2.5rem; align-items:start; }

.donate-form-card {
  background: var(--warm-white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.form-section { padding:2rem 2rem 0; }
.form-section-title {
  font-family:'Playfair Display',serif; font-size:1rem; font-weight:700;
  color:var(--yts-earth); margin-bottom:1.25rem;
  padding-bottom:0.75rem; border-bottom:2px solid var(--bougain-blush);
  display:flex; align-items:center; gap:0.5rem;
}

.book-type-selector { display:grid; grid-template-columns:repeat(2,1fr); gap:0.75rem; margin-bottom:1.25rem; }
.book-type-option { position:relative; }
.book-type-option input[type="checkbox"] { position:absolute; opacity:0; width:0; }
.book-type-label {
  display:flex; flex-direction:column; align-items:center; gap:0.5rem;
  padding:1.25rem 0.75rem; border:2px solid var(--border-soft);
  border-radius:var(--radius); cursor:pointer;
  transition:all var(--transition); text-align:center;
}
.book-type-label:hover { border-color:var(--bougain-magenta); background:var(--bougain-blush); }
.book-type-option input:checked + .book-type-label { border-color:var(--bougain-bright); background:var(--bougain-blush); }
.book-type-label .bt-icon { font-size:2rem; }
.book-type-label .bt-name { font-size:0.85rem; font-weight:600; color:var(--yts-earth); }
.book-type-label .bt-desc { font-size:0.72rem; color:var(--text-light); }

.qty-row { display:grid; grid-template-columns:1fr 1fr; gap:1rem; }

.form-actions {
  padding:1.5rem 2rem 2rem; background:var(--parchment); border-top:1px solid var(--border-soft);
}

/* Sidebar */
.donate-sidebar .summary-card {
  background: var(--warm-white); border-radius:var(--radius-xl);
  box-shadow:var(--shadow-sm); overflow:hidden;
  position:sticky; top:92px;
}
.summary-header {
  background: linear-gradient(135deg, var(--bougain-magenta), var(--bougain-purple));
  color: var(--yts-earth);
  padding:1.4rem 1.5rem;
}
.summary-header h3 { font-family:'Playfair Display',serif; font-size:1.05rem; }
.summary-header p  { font-size:0.78rem; opacity:0.65; margin-top:0.2rem; }

.summary-body { padding:1.5rem; }
.summary-row {
  display:flex; justify-content:space-between; align-items:center;
  padding:0.65rem 0; border-bottom:1px solid var(--border-soft); font-size:0.875rem;
}
.summary-row:last-child { border-bottom:none; }
.summary-row .sr-label { color:var(--text-mid); }
.summary-row .sr-value { font-weight:700; color:var(--yts-earth); }

.impact-preview {
  margin-top:1.25rem; background:var(--bougain-blush);
  border-radius:var(--radius); padding:1.25rem; text-align:center;
}
.impact-preview .ip-icon { font-size:2.5rem; margin-bottom:0.5rem; }
.impact-preview .ip-val  { font-family:'Playfair Display',serif; font-size:1.6rem; font-weight:700; color:var(--bougain-bright); }
.impact-preview .ip-lbl  { font-size:0.8rem; color:var(--bougain-purple); }

.drop-points { margin-top:1.25rem; background:var(--parchment); border-radius:var(--radius); padding:1.25rem; }
.drop-points h4 { font-size:0.84rem; font-weight:700; color:var(--yts-earth); margin-bottom:0.75rem; }
.drop-point {
  display:flex; align-items:center; gap:0.5rem;
  font-size:0.8rem; color:var(--text-mid); margin-bottom:0.4rem;
}
.drop-point::before { content:'🌸'; font-size:0.85rem; }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   THANK YOU PAGE
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.thankyou-page {
  min-height: calc(100vh - 72px);
  display:flex; align-items:center; justify-content:center;
  padding: 3rem 1.5rem;
  background: radial-gradient(ellipse at 80% 20%, var(--bougain-blush) 0%, var(--parchment) 60%);
}
.thankyou-card {
  background:var(--warm-white); border-radius:var(--radius-xl);
  box-shadow:var(--shadow-lg); padding:3.5rem 2.75rem;
  text-align:center; max-width:560px; width:100%;
}
.ty-icon { font-size:5rem; margin-bottom:1.25rem; animation:bounce-in 0.6s cubic-bezier(0.175,0.885,0.32,1.275) both; }
@keyframes bounce-in { 0%{transform:scale(0);opacity:0} 100%{transform:scale(1);opacity:1} }

.ty-title { font-family:'Playfair Display',serif; font-size:2rem; color:var(--yts-earth); margin-bottom:0.5rem; }
.ty-sub   { color:var(--text-mid); margin-bottom:2rem; line-height:1.8; }

.ty-stats { display:grid; grid-template-columns:1fr 1fr; gap:1rem; margin-bottom:2rem; }
.ty-stat  { background:var(--parchment); border-radius:var(--radius); padding:1.25rem; }
.ty-stat .ts-val { font-family:'Playfair Display',serif; font-size:1.6rem; font-weight:700; color:var(--bougain-bright); }
.ty-stat .ts-lbl { font-size:0.78rem; color:var(--text-mid); margin-top:0.25rem; }

.ty-actions { display:flex; gap:1rem; justify-content:center; flex-wrap:wrap; }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   RESPONSIVE
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
@media (max-width: 960px) {
  .hero-inner        { grid-template-columns:1fr; }
  .hero-visual       { display:none; }
  .about-grid        { grid-template-columns:1fr; }
  .stats-strip-inner { grid-template-columns:repeat(2,1fr); }
  .steps-grid        { grid-template-columns:1fr; }
  .features-grid     { grid-template-columns:1fr; }
  .donate-types-grid { grid-template-columns:1fr 1fr; }
  .footer-grid       { grid-template-columns:1fr; gap:2rem; }
  .donate-grid       { grid-template-columns:1fr; }
  .donate-sidebar    { order:-1; }
  .donate-sidebar .summary-card { position:static; }
  .timeline::before  { left:27px; }
  .timeline-item     { grid-template-columns:60px 1fr; }
  .timeline-item:nth-child(odd) .tl-content,
  .timeline-item:nth-child(even) .tl-content { grid-column:2; text-align:left; }
  .timeline-item:nth-child(odd) .tl-dot,
  .timeline-item:nth-child(even) .tl-dot { grid-column:1; }
  .tl-empty { display:none; }
}

@media (max-width: 600px) {
  .navbar-links { display:none; }
  .stats-strip-inner { grid-template-columns:repeat(2,1fr); }
  .stat-item  { border-right:none; border-bottom:1px solid rgba(244,114,182,0.15); }
  .form-row   { grid-template-columns:1fr; }
  .donate-types-grid { grid-template-columns:1fr; }
  .book-type-selector { grid-template-columns:1fr 1fr; }
  .partner-card { flex-direction:column; text-align:center; }
  .qty-row { grid-template-columns:1fr; }
}
