/* ============================================================
   RESTORE AND RISE FOUNDATION — Global Styles
   ============================================================ */

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

/* --- Variables --- */
:root {
  --lavender:    #C8B6E2;
  --rose:        #E8A1B1;
  --plum:        #5A3E6B;
  --plum-dark:   #3e2a4d;
  --cream:       #F7F4F9;
  --gold:        #D4AF7F;
  --sage:        #AFC4B5;
  --white:       #ffffff;
  --text-dark:   #2d2235;
  --text-body:   #4a3f56;
  --shadow:      0 4px 24px rgba(90,62,107,0.10);
  --shadow-card: 0 6px 32px rgba(90,62,107,0.13);
  --radius:      16px;
  --radius-sm:   10px;
  --transition:  0.3s ease;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Lato', sans-serif;
  font-weight: 400;
  color: var(--text-body);
  background: var(--cream);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a  { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* --- Typography --- */
h1, h2, h3, h4 {
  font-family: 'Playfair Display', serif;
  color: var(--text-dark);
  line-height: 1.25;
}
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 700; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); font-weight: 600; }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.6rem); font-weight: 600; }
h4 { font-size: 1.1rem; font-weight: 600; }
p  { font-size: 1.05rem; }

/* --- Layout Helpers --- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section    { padding: 96px 0; }
.section--sm { padding: 64px 0; }
.text-center { text-align: center; }

.section-label {
  font-family: 'Lato', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--plum);
  display: block;
  margin-bottom: 12px;
}

.section-title  { margin-bottom: 18px; }

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-body);
  max-width: 620px;
  margin: 0 auto;
  line-height: 1.75;
}

/* --- Divider --- */
.divider {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--lavender), var(--rose));
  border-radius: 2px;
  margin: 16px auto 0;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 30px;
  border-radius: 50px;
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: all var(--transition);
  border: 2px solid transparent;
  text-decoration: none;
}

.btn-primary {
  background: var(--plum);
  color: var(--white);
  border-color: var(--plum);
}
.btn-primary:hover {
  background: var(--plum-dark);
  border-color: var(--plum-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(90,62,107,0.25);
}

.btn-outline {
  background: transparent;
  color: var(--plum);
  border-color: var(--plum);
}
.btn-outline:hover {
  background: var(--plum);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-white {
  background: var(--white);
  color: var(--plum);
  border-color: var(--white);
}
.btn-white:hover {
  background: var(--cream);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.btn-white-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.7);
}
.btn-white-outline:hover {
  background: rgba(255,255,255,0.12);
  border-color: var(--white);
  transform: translateY(-2px);
}

.btn-gold {
  background: var(--gold);
  color: var(--plum-dark);
  border-color: var(--gold);
}
.btn-gold:hover {
  background: #c49a65;
  border-color: #c49a65;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(212,175,127,0.35);
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0 24px 0 0;
  transition: all var(--transition);
  background: rgba(247,244,249,0.96);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(90,62,107,0.10);
}

.navbar.scrolled {
  background: rgba(247,244,249,0.98);
  box-shadow: 0 4px 28px rgba(90,62,107,0.15);
}

.navbar__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 200px;
  padding-left: 0;
}

.navbar__logo {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.navbar__logo-img {
  height: 190px;
  width: auto;
  display: block;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.navbar__logo-main {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--plum);
  transition: color var(--transition);
}

.navbar__logo-sub {
  font-family: 'Lato', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  transition: color var(--transition);
}
.navbar.scrolled .navbar__logo-sub { color: var(--gold); }

.navbar__links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.navbar__links a {
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: 0.04em;
  color: var(--text-dark);
  transition: color var(--transition);
  position: relative;
}

.navbar__links a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0; right: 0;
  height: 2px;
  background: var(--rose);
  transform: scaleX(0);
  transition: transform var(--transition);
  border-radius: 2px;
}

.navbar__links a:hover,
.navbar__links a.active { color: var(--plum); }

.navbar__links a:hover::after,
.navbar__links a.active::after { transform: scaleX(1); }

.navbar__cta {
  padding: 12px 26px;
  font-size: 1.05rem;
  background: var(--plum);
  color: var(--white);
  border: 1.5px solid var(--plum);
  transition: all var(--transition);
}
.navbar__cta:hover {
  background: var(--plum-dark);
  border-color: var(--plum-dark);
  transform: translateY(-2px);
}

.navbar__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}

.navbar__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--plum);
  border-radius: 2px;
  transition: all var(--transition);
}

.navbar__mobile {
  display: none;
  position: fixed;
  top: 200px; left: 0; right: 0;
  background: rgba(247,244,249,0.96);
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 20px rgba(90,62,107,0.12);
  padding: 24px;
  box-shadow: 0 8px 24px rgba(90,62,107,0.12);
  z-index: 999;
  flex-direction: column;
  gap: 16px;
  border-top: 1px solid var(--lavender);
}

.navbar__mobile.open { display: flex; }

.navbar__mobile a {
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-dark);
  padding: 10px 0;
  border-bottom: 1px solid var(--lavender);
}

.navbar__mobile a:last-child { border-bottom: none; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  min-height: 100vh;
  background:
    linear-gradient(105deg, rgba(30,15,45,0.42) 0%, rgba(62,42,77,0.30) 55%, rgba(90,62,107,0.12) 100%),
    url('https://images.unsplash.com/photo-1631563099794-3fe34c5564ab?w=1800&q=90&fit=crop') center 40% / cover no-repeat;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 80px;
}

.hero::before {
  content: '';
  position: absolute;
  top: -120px; right: -120px;
  width: 520px; height: 520px;
  background: radial-gradient(circle, rgba(200,182,226,0.35) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -80px; left: -80px;
  width: 380px; height: 380px;
  background: radial-gradient(circle, rgba(232,161,177,0.3) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: center;
  min-height: calc(100vh - 80px);
  padding: 60px 0;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.45);
  border-radius: 50px;
  padding: 8px 18px;
  font-family: 'Lato', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 28px;
  backdrop-filter: blur(6px);
}

.hero__badge::before {
  content: '';
  width: 8px; height: 8px;
  background: var(--rose);
  border-radius: 50%;
  display: inline-block;
}

.hero__title {
  font-size: clamp(3rem, 6.5vw, 5.6rem);
  color: var(--white);
  margin-bottom: 24px;
  line-height: 1.15;
}

.hero__title em {
  font-style: italic;
  color: var(--rose);
}

.hero__subtitle {
  font-size: 1.45rem;
  color: rgba(255,255,255,0.85);
  line-height: 1.8;
  margin-bottom: 42px;
  max-width: 100%;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero__actions .btn-outline {
  color: var(--white);
  border-color: rgba(255,255,255,0.75);
  font-weight: 700;
}
.hero__actions .btn-outline:hover {
  background: rgba(255,255,255,0.15);
  border-color: var(--white);
}

.hero__visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero__visual-card {
  background: rgba(255,255,255,0.75);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(200,182,226,0.4);
  border-radius: 28px;
  padding: 56px 40px;
  text-align: center;
  box-shadow: var(--shadow-card);
  position: relative;
  z-index: 1;
  max-width: 380px;
  width: 100%;
}

.hero__visual-icon {
  font-size: 4rem;
  margin-bottom: 16px;
  display: block;
}

.hero__visual-text {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  color: var(--plum);
  line-height: 1.4;
  margin-bottom: 24px;
}

.hero__stats {
  display: flex;
  gap: 32px;
  justify-content: center;
  margin-top: 16px;
  padding-top: 24px;
  border-top: 1px solid var(--lavender);
}

.hero__stat span:first-child {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--plum);
}

.hero__stat span:last-child {
  font-size: 0.78rem;
  color: var(--text-body);
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.hero__scroll {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.6);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.7;
  cursor: pointer;
  z-index: 1;
}

.hero__scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(180deg, rgba(255,255,255,0.6), transparent);
  animation: scrollPulse 1.8s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; transform: scaleY(1); }
  50%       { opacity: 1;   transform: scaleY(1.15); }
}

/* ============================================================
   WHO WE ARE
   ============================================================ */
.who-we-are {
  background:
    linear-gradient(135deg, rgba(247,244,249,0.78) 0%, rgba(200,182,226,0.65) 100%),
    url('https://images.unsplash.com/photo-1607868894064-2b6e7ed1b324?w=1800&q=85&fit=crop') center / cover no-repeat;
}

.who-we-are__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.who-we-are__image { position: relative; }

.who-we-are__img-placeholder {
  width: 100%;
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--lavender) 0%, var(--rose) 100%);
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
}

.who-we-are__img-placeholder::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 40%;
  background: linear-gradient(0deg, rgba(90,62,107,0.15), transparent);
}

.who-we-are__badge {
  position: absolute;
  bottom: -20px; right: -20px;
  background: var(--white);
  border-radius: var(--radius);
  padding: 18px 22px;
  box-shadow: var(--shadow-card);
  text-align: center;
  border: 1px solid var(--lavender);
}

.who-we-are__badge-num {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--plum);
}

.who-we-are__badge-text {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-body);
}

.who-we-are__content p + p { margin-top: 16px; }
.who-we-are__content p { font-size: 1.25rem; line-height: 1.85; }

/* ============================================================
   MISSION & VISION
   ============================================================ */
.mission-vision {
  background:
    linear-gradient(135deg, rgba(200,182,226,0.82) 0%, rgba(232,161,177,0.82) 100%),
    url('https://images.unsplash.com/photo-1600699260716-d5ed9a3f9efe?w=1800&q=85&fit=crop') center / cover no-repeat;
  position: relative;
  overflow: hidden;
}

.mission-vision::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.mission-vision__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  position: relative;
  z-index: 1;
}

.mv-card {
  background: rgba(255,255,255,0.90);
  backdrop-filter: blur(10px);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid rgba(255,255,255,0.6);
}

.mv-card__img-wrap {
  width: 100%;
  height: 260px;
  overflow: hidden;
}

.mv-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  display: block;
  transition: transform 0.6s ease;
}

.mv-card:hover .mv-card__img { transform: scale(1.05); }

.mv-card__body { padding: 36px 36px 40px; }

.mv-card__icon { font-size: 2.2rem; margin-bottom: 16px; display: block; }
.mv-card h3    { margin-bottom: 14px; color: var(--plum); }
.mv-card p     { font-size: 1.05rem; line-height: 1.8; color: var(--text-body); }

/* ============================================================
   PROGRAMS PREVIEW
   ============================================================ */
.programs-preview {
  background:
    linear-gradient(rgba(247,244,249,0.88), rgba(247,244,249,0.88)),
    url('https://images.unsplash.com/photo-1533808235766-376cdc7e7661?w=1800&q=85&fit=crop') center / cover no-repeat;
}

.programs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
  margin-top: 56px;
}

.program-card__img-wrap {
  width: 100%;
  height: 200px;
  overflow: hidden;
  border-radius: var(--radius) var(--radius) 0 0;
}

.program-card__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  display: block;
  transition: transform 0.6s ease;
}

.program-card:hover .program-card__img-wrap img { transform: scale(1.05); }

.program-card__body { padding: 28px 28px 32px; }

.program-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 0;
  box-shadow: var(--shadow);
  border: 1px solid rgba(200,182,226,0.2);
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
  gap: 16px;
  cursor: pointer;
}

.program-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card);
  border-color: var(--lavender);
}

.program-card--rose     { border-top: 4px solid var(--rose); }
.program-card--lavender { border-top: 4px solid var(--lavender); }
.program-card--sage     { border-top: 4px solid var(--sage); }
.program-card--plum     { border-top: 4px solid var(--plum); }

.program-card__icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
}

.program-card--rose     .program-card__icon { background: rgba(232,161,177,0.2); }
.program-card--lavender .program-card__icon { background: rgba(200,182,226,0.2); }
.program-card--sage     .program-card__icon { background: rgba(175,196,181,0.2); }
.program-card--plum     .program-card__icon { background: rgba(90,62,107,0.1); }

.program-card__name {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-dark);
}

.program-card__desc {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-body);
  flex: 1;
}

.program-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.04em;
  color: var(--plum);
  transition: gap var(--transition);
}

.program-card:hover .program-card__link { gap: 10px; }
.program-card__link::after { content: '→'; font-size: 1rem; }

/* ============================================================
   IMPACT
   ============================================================ */
.impact {
  background:
    linear-gradient(135deg, rgba(62,42,77,0.75) 0%, rgba(90,62,107,0.55) 50%, rgba(200,182,226,0.45) 100%),
    url('https://images.unsplash.com/photo-1495898969439-a2a84bea6a22?w=1800&q=85&fit=crop') center / cover no-repeat;
}

.impact__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.impact__stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.impact__stat {
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(8px);
  border-radius: var(--radius-sm);
  padding: 28px 24px;
  text-align: center;
  border: 1px solid rgba(255,255,255,0.25);
}

.impact__stat-num {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
  margin-bottom: 8px;
}

.impact__stat-label {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.8);
}

.impact__content .section-label { text-align: left; color: rgba(255,255,255,0.8); border-color: rgba(255,255,255,0.3); }
.impact__content h2 { text-align: left; color: var(--white); }
.impact__content .divider { margin-left: 0; margin-right: auto; }
.impact__content p { margin-top: 20px; font-size: 1.05rem; line-height: 1.8; color: rgba(255,255,255,0.88); }

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-banner {
  background: linear-gradient(135deg, var(--plum) 0%, var(--plum-dark) 100%);
  padding: 96px 0;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(200,182,226,0.15) 0%, transparent 70%);
  border-radius: 50%;
}

.cta-banner::after {
  content: '';
  position: absolute;
  bottom: -80px; left: -80px;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(232,161,177,0.12) 0%, transparent 70%);
  border-radius: 50%;
}

.cta-banner .section-label { color: var(--rose); }
.cta-banner h2 { color: var(--white); max-width: 660px; margin: 0 auto 20px; }
.cta-banner p  { color: rgba(255,255,255,0.75); max-width: 500px; margin: 0 auto 44px; font-size: 1.1rem; }

.cta-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  position: relative;
  z-index: 1;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--plum-dark);
  color: rgba(255,255,255,0.75);
  padding: 72px 0 32px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 56px;
}

.footer__brand-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  color: var(--white);
  margin-bottom: 4px;
}

.footer__brand-tagline {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
  display: block;
}

.footer__brand-desc { font-size: 0.92rem; line-height: 1.75; margin-bottom: 24px; }

.footer__social { display: flex; gap: 12px; }

.footer__social a {
  width: 38px; height: 38px;
  background: rgba(255,255,255,0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: all var(--transition);
  border: 1px solid rgba(255,255,255,0.1);
}

.footer__social a:hover {
  background: var(--rose);
  border-color: var(--rose);
  transform: translateY(-2px);
}

.footer__col h4 {
  font-family: 'Lato', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 20px;
}

.footer__col ul { display: flex; flex-direction: column; gap: 10px; }

.footer__col ul li a {
  font-size: 0.92rem;
  color: rgba(255,255,255,0.65);
  transition: color var(--transition);
}

.footer__col ul li a:hover { color: var(--rose); }

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer__bottom p      { font-size: 0.85rem; }
.footer__bottom-note   { font-size: 0.78rem; color: rgba(255,255,255,0.4); }

/* ============================================================
   PROGRAMS PAGE
   ============================================================ */
.page-header {
  background: linear-gradient(135deg, #e8dff5 0%, #f0d8e4 60%, #f7f0f9 100%);
  padding: 160px 0 96px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(200,182,226,0.4) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.page-header .section-label { margin-bottom: 16px; }
.page-header h1 { color: var(--plum-dark); }
.page-header p  { max-width: 560px; margin: 20px auto 0; font-size: 1.1rem; }

.program-detail {
  padding: 96px 0;
  border-bottom: 1px solid var(--lavender);
}

.program-detail:last-of-type { border-bottom: none; }
.program-detail:nth-child(even) { background: var(--white); }
.program-detail:nth-child(odd)  { background: var(--cream); }

.program-detail__inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 80px;
  align-items: start;
}

.program-detail:nth-child(even) .program-detail__inner { direction: rtl; }
.program-detail:nth-child(even) .program-detail__inner > * { direction: ltr; }

.program-detail__sidebar { position: sticky; top: 100px; }

.program-detail__photo {
  width: 100%;
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 28px;
  box-shadow: var(--shadow-card);
}

.program-detail__photo img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  object-position: center 20%;
  display: block;
  transition: transform 0.6s ease;
}

.program-detail__photo img:hover { transform: scale(1.03); }

.program-detail__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.badge--rose     { background: rgba(232,161,177,0.2); color: #a04a5e; }
.badge--lavender { background: rgba(200,182,226,0.25); color: var(--plum); }
.badge--sage     { background: rgba(175,196,181,0.25); color: #3d6b50; }
.badge--plum     { background: rgba(90,62,107,0.12); color: var(--plum); }

.program-detail__sidebar h2  { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 16px; }
.program-detail__sidebar p.lead { font-size: 1.05rem; line-height: 1.8; color: var(--text-body); margin-bottom: 28px; }

.program-detail__content h3 {
  font-size: 1.15rem;
  color: var(--plum);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--lavender);
}

.program-detail__content + .program-detail__content { margin-top: 36px; }

.program-offer-list { display: flex; flex-direction: column; gap: 12px; }

.program-offer-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1rem;
  padding: 12px 16px;
  background: var(--cream);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(200,182,226,0.3);
}

.program-offer-list li::before {
  content: '✓';
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px; height: 22px;
  background: var(--plum);
  color: var(--white);
  border-radius: 50%;
  font-size: 0.7rem;
  font-weight: 900;
  flex-shrink: 0;
}

.program-detail:nth-child(even) .program-offer-list li { background: var(--cream); }
.program-detail:nth-child(odd)  .program-offer-list li { background: var(--white); }

.outcome-box {
  margin-top: 32px;
  padding: 28px;
  border-radius: var(--radius);
  border-left: 4px solid var(--gold);
  background: linear-gradient(135deg, rgba(212,175,127,0.1) 0%, rgba(200,182,226,0.1) 100%);
}

.outcome-box h4 {
  color: var(--plum);
  margin-bottom: 10px;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.outcome-box p { font-size: 1rem; line-height: 1.7; }

.programs-cta {
  background: linear-gradient(135deg, var(--lavender) 0%, var(--rose) 100%);
  padding: 80px 0;
  text-align: center;
}

.programs-cta h2 { color: var(--plum-dark); margin-bottom: 16px; }
.programs-cta p  { max-width: 500px; margin: 0 auto 36px; }

.programs-cta__actions { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; }

/* ============================================================
   GET INVOLVED PAGE
   ============================================================ */
.donation-section { background: var(--cream); }

.donation-intro { text-align: center; max-width: 640px; margin: 0 auto 56px; }

.giving-tiers {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  margin-bottom: 48px;
}

.giving-tier {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  border: 2px solid rgba(200,182,226,0.3);
  cursor: pointer;
  transition: all var(--transition);
  position: relative;
}

.giving-tier:hover,
.giving-tier.active {
  border-color: var(--plum);
  box-shadow: var(--shadow-card);
  transform: translateY(-4px);
}

.giving-tier--featured {
  border-color: var(--gold);
  background: linear-gradient(135deg, rgba(212,175,127,0.08) 0%, rgba(200,182,226,0.08) 100%);
}

.giving-tier--featured::before {
  content: 'Most Impactful';
  position: absolute;
  top: -12px; left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: var(--plum-dark);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 20px;
  white-space: nowrap;
}

.giving-tier__amount {
  font-family: 'Playfair Display', serif;
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--plum);
  display: block;
  margin-bottom: 8px;
}

.giving-tier__impact { font-size: 0.9rem; color: var(--text-body); line-height: 1.5; }

.donation-actions { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; }

.signup-section { background: var(--white); }

.signup-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.signup-image {
  border-radius: 24px;
  overflow: hidden;
  aspect-ratio: 4/3;
  box-shadow: var(--shadow-card);
}

.signup-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform 0.6s ease;
}

.signup-image:hover img { transform: scale(1.03); }

.signup-content .section-label { text-align: left; }
.signup-content .section-title { text-align: left; }
.signup-content p { margin-top: 20px; font-size: 1.05rem; line-height: 1.8; }

.signup-program-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.signup-tag {
  display: inline-block;
  padding: 8px 20px;
  border-radius: 50px;
  font-family: 'Lato', sans-serif;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  transition: transform var(--transition), box-shadow var(--transition);
  cursor: default;
}

.signup-tag:hover { transform: translateY(-2px); box-shadow: 0 4px 14px rgba(90,62,107,0.15); }

.tag--rose     { background: rgba(232,161,177,0.18); color: #9e4d63; border: 1.5px solid rgba(232,161,177,0.55); }
.tag--lavender { background: rgba(200,182,226,0.22); color: var(--plum); border: 1.5px solid rgba(200,182,226,0.6); }
.tag--sage     { background: rgba(175,196,181,0.22); color: #3d6a50; border: 1.5px solid rgba(175,196,181,0.6); }
.tag--plum     { background: rgba(90,62,107,0.10); color: var(--plum); border: 1.5px solid rgba(90,62,107,0.28); }

.form-card {
  background: var(--white);
  border-radius: 20px;
  padding: 56px 56px;
  max-width: 780px;
  margin: 0 auto;
  box-shadow: 0 8px 40px rgba(90,62,107,0.10);
}

.form-card__header {
  margin-bottom: 40px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--lavender);
}

.form-card__title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--plum);
  margin-bottom: 18px;
  line-height: 1.3;
}

.form-card__intro {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-body);
  margin-bottom: 10px;
}

.form-card__required-note {
  font-size: 0.82rem;
  color: var(--rose);
  margin-top: 14px;
}

.required { color: var(--rose); }
.form-optional { color: var(--text-body); opacity: 0.55; font-size: 0.85rem; font-weight: 400; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

.form-group { display: flex; flex-direction: column; gap: 8px; margin-bottom: 24px; }

.form-group label {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  border: 1.5px solid #e0d6ee;
  border-radius: 10px;
  font-family: 'Lato', sans-serif;
  font-size: 1rem;
  color: var(--text-dark);
  background: var(--cream);
  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(--plum);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(90,62,107,0.08);
}

.form-group textarea { resize: vertical; min-height: 130px; }
.form-group select   { cursor: pointer; }

.form-checkboxes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 10px;
}

.form-radios {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}

.form-checkbox,
.form-radio {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-size: 0.95rem;
  color: var(--text-body);
  padding: 11px 16px;
  border-radius: 10px;
  border: 1.5px solid #e0d6ee;
  background: var(--cream);
  transition: border-color var(--transition), background var(--transition);
  user-select: none;
}

.form-checkbox:hover,
.form-radio:hover {
  border-color: var(--plum);
  background: rgba(90,62,107,0.05);
}

.form-checkbox:has(input:checked),
.form-radio:has(input:checked) {
  border-color: var(--plum);
  background: rgba(90,62,107,0.07);
  color: var(--plum);
  font-weight: 700;
}

.form-checkbox input,
.form-radio input {
  width: 16px;
  height: 16px;
  accent-color: var(--plum);
  flex-shrink: 0;
  margin: 0;
  cursor: pointer;
}

.form-safe-note {
  background: rgba(200,182,226,0.15);
  border-left: 3px solid var(--plum);
  border-radius: 0 8px 8px 0;
  padding: 12px 18px;
  margin-bottom: 32px;
  font-size: 0.92rem;
  color: var(--plum);
}

.form-submit {
  width: 100%;
  padding: 16px;
  font-size: 1.05rem;
  justify-content: center;
  border-radius: 10px;
  margin-top: 10px;
  letter-spacing: 0.02em;
}

.volunteer-section { background: var(--cream); }

.volunteer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.volunteer-content .section-label { text-align: left; }
.volunteer-content h2 { text-align: left; }
.volunteer-content .divider { margin-left: 0; margin-right: auto; }
.volunteer-content p { margin-top: 20px; font-size: 1.05rem; line-height: 1.8; margin-bottom: 32px; }

.volunteer-image {
  border-radius: 24px;
  overflow: hidden;
  aspect-ratio: 4/3;
  box-shadow: var(--shadow-card);
}

.volunteer-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.6s ease;
}

.volunteer-image:hover img { transform: scale(1.03); }

/* --- Modals --- */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(42,26,56,0.55);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.modal-card {
  background: var(--white);
  border-radius: 20px;
  padding: 52px 52px 48px;
  max-width: 700px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(42,26,56,0.25);
  position: relative;
  transform: translateY(28px) scale(0.97);
  transition: transform 0.35s cubic-bezier(0.34,1.56,0.64,1), opacity 0.3s ease;
  opacity: 0;
}

.modal-overlay.open .modal-card {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 22px;
  background: none;
  border: none;
  font-size: 1.7rem;
  line-height: 1;
  color: var(--plum);
  cursor: pointer;
  opacity: 0.55;
  transition: opacity var(--transition);
  padding: 4px 8px;
}

.modal-close:hover { opacity: 1; }

body.modal-open { overflow: hidden; }

/* --- Donate Modal --- */
.modal-card--donate { max-width: 560px; }

.donate-amounts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 10px;
}

.donate-amount {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  padding: 14px 8px;
  border-radius: 12px;
  border: 1.5px solid #e0d6ee;
  background: var(--cream);
  cursor: pointer;
  transition: all var(--transition);
  font-family: 'Lato', sans-serif;
  color: var(--text-body);
}

.donate-amount:hover {
  border-color: var(--plum);
  background: rgba(90,62,107,0.05);
}

.donate-amount--selected {
  border-color: var(--plum);
  background: var(--plum);
  color: var(--white);
}

.donate-amount__num {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1;
}

.donate-amount__desc {
  font-size: 0.7rem;
  opacity: 0.7;
  line-height: 1.3;
  text-align: center;
}

.donate-amount--selected .donate-amount__desc { opacity: 0.88; }

.donate-divider { border-top: 1px solid var(--lavender); margin: 24px 0; }

.donate-custom-input {
  display: flex;
  align-items: center;
  border: 1.5px solid #e0d6ee;
  border-radius: 10px;
  background: var(--cream);
  overflow: hidden;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.donate-custom-input:focus-within {
  border-color: var(--plum);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(90,62,107,0.08);
}

.donate-custom-input__symbol {
  padding: 14px 4px 14px 18px;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--plum);
}

.donate-custom-input input {
  flex: 1;
  border: none;
  background: transparent;
  padding: 14px 18px 14px 6px;
  font-family: 'Lato', sans-serif;
  font-size: 1rem;
  color: var(--text-dark);
  outline: none;
}

.donate-monthly-toggle {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  margin-top: 16px;
  font-size: 0.95rem;
  color: var(--text-body);
  user-select: none;
}

.donate-monthly-toggle input { display: none; }

.donate-toggle-track {
  position: relative;
  width: 44px;
  height: 24px;
  background: #d5cce4;
  border-radius: 50px;
  flex-shrink: 0;
  transition: background var(--transition);
}

.donate-toggle-thumb {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  background: var(--white);
  border-radius: 50%;
  box-shadow: 0 1px 4px rgba(0,0,0,0.2);
  transition: left var(--transition);
}

.donate-monthly-toggle input:checked ~ .donate-toggle-track { background: var(--plum); }
.donate-monthly-toggle input:checked ~ .donate-toggle-track .donate-toggle-thumb { left: 23px; }

.stripe-card-element {
  padding: 14px 18px;
  border: 1.5px solid #e0d6ee;
  border-radius: 10px;
  background: var(--cream);
  transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
}

.stripe-card-element.StripeElement--focus {
  border-color: var(--plum);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(90,62,107,0.08);
}

.stripe-card-element.StripeElement--invalid { border-color: #c95071; }

.donate-error {
  margin-top: 8px;
  padding: 10px 14px;
  background: rgba(201,80,113,0.08);
  border-left: 3px solid #c95071;
  border-radius: 0 8px 8px 0;
  color: #c95071;
  font-size: 0.9rem;
}

.donate-secure-note {
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-body);
  opacity: 0.55;
  margin-top: 14px;
}

.donate-success-icon {
  font-size: 2.8rem;
  color: var(--rose);
  margin-bottom: 16px;
}

#donateSubmit:disabled { opacity: 0.65; cursor: not-allowed; }

.contact-section { background: var(--white); }

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 28px;
  margin-top: 48px;
}

.contact-card {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 36px 28px;
  text-align: center;
  border: 1px solid var(--lavender);
  transition: all var(--transition);
}

.contact-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
  border-color: var(--rose);
}

.contact-card__icon { font-size: 2.2rem; margin-bottom: 14px; display: block; }

.contact-card h4 {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--plum);
  margin-bottom: 8px;
}

.contact-card p { font-size: 0.95rem; color: var(--text-body); }
.contact-card a { color: var(--plum); font-weight: 700; transition: color var(--transition); }
.contact-card a:hover { color: var(--rose); }

.form-success {
  display: none;
  text-align: center;
  padding: 48px;
  background: linear-gradient(135deg, rgba(200,182,226,0.15), rgba(232,161,177,0.15));
  border-radius: var(--radius);
  border: 1px solid var(--lavender);
}

.form-success.show { display: block; }
.form-success h3   { color: var(--plum); margin-bottom: 12px; }
.form-success p    { color: var(--text-body); }

/* ============================================================
   IMAGES
   ============================================================ */

/* ============================================================
   HERO — visual photo card
   ============================================================ */
.hero__photo-wrap {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 100%;
}

.hero__photo-frame {
  width: 100%;
  aspect-ratio: 3/4;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 4px solid rgba(255,255,255,0.55);
}

.hero__photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  display: block;
  transition: transform 0.6s ease;
}

.hero__photo-frame:hover img {
  transform: scale(1.04);
}

.hero__photo-stats {
  display: flex;
  background: rgba(255,255,255,0.88);
  backdrop-filter: blur(10px);
  border-radius: 0 0 22px 22px;
  border: 1px solid rgba(200,182,226,0.35);
  border-top: none;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(90,62,107,0.12);
}

.hero__photo-stat {
  flex: 1;
  padding: 16px 12px;
  text-align: center;
  border-right: 1px solid rgba(200,182,226,0.3);
}

.hero__photo-stat:last-child { border-right: none; }

.hero__photo-stat span:first-child {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--plum);
  line-height: 1;
}

.hero__photo-stat span:last-child {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-body);
}

/* ============================================================
   WHO WE ARE — photo image
   ============================================================ */
.who-we-are__img-wrap {
  width: 100%;
  aspect-ratio: 3/4;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.who-we-are__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  display: block;
  transition: transform 0.6s ease;
}

.who-we-are__img-wrap:hover .who-we-are__img {
  transform: scale(1.04);
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }
.fade-up:nth-child(2) { transition-delay: 0.1s; }
.fade-up:nth-child(3) { transition-delay: 0.2s; }
.fade-up:nth-child(4) { transition-delay: 0.3s; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .section { padding: 72px 0; }
  .navbar__links, .navbar__cta { display: none; }
  .navbar__toggle { display: flex; }

  .hero__inner { grid-template-columns: 1fr; gap: 40px; padding: 60px 0 48px; text-align: center; }
  .hero__actions { justify-content: center; }
  .hero__subtitle { margin: 0 auto 42px; }
  .hero__scroll { display: none; }

  .who-we-are__inner,
  .impact__inner,
  .mission-vision__grid,
  .volunteer-grid { grid-template-columns: 1fr; gap: 40px; }

  .form-row { grid-template-columns: 1fr; }
  .form-card { padding: 36px 24px; }
  .signup-grid { grid-template-columns: 1fr; gap: 36px; }
  .signup-image { aspect-ratio: 16/9; }

  .program-detail__inner { grid-template-columns: 1fr; gap: 40px; direction: ltr !important; }
  .program-detail__inner > * { direction: ltr !important; }
  .program-detail__sidebar { position: static; }

  .footer__grid { grid-template-columns: 1fr; gap: 36px; }
  .footer__bottom { flex-direction: column; text-align: center; }
  .who-we-are__badge { right: 0; bottom: -16px; }
  .impact__stats { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .hero__title { font-size: 2rem; }
  h2 { font-size: 1.7rem; }
  .hero__actions,
  .cta-banner__actions,
  .donation-actions { flex-direction: column; align-items: center; }
  .giving-tiers { grid-template-columns: 1fr 1fr; }
  .programs-grid { grid-template-columns: 1fr; }
  .modal-card { padding: 40px 24px 32px; }
  .form-checkboxes { grid-template-columns: 1fr; }
}
