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

:root {
  /* ── Brand palette (new) ── */
  --teal:        #2EC4B6;
  --teal-dark:   #1A9E92;
  --teal-light:  #7EDDD6;
  --navy:        #1A1A2E;
  --navy2:       #16213E;
  --crimson:     #D62828;
  --crimson2:    #B22222;
  --crimson-light:#E85555;

  /* ── Keep gold tones for accent details ── */
  --gold:        #2EC4B6;   /* replaced with teal for accents */
  --gold2:       #2EC4B6;
  --gold-light:  #7EDDD6;
  --gold-dark:   #1A9E92;

  --cream:       #F0FAFA;
  --warm-white:  #F5FDFD;
  --ivory:       #E8F7F6;
  --parchment:   #D4EFED;
  --deep:        #1A1A2E;
  --deep2:       #16213E;
  --surface:     rgba(255,255,255,0.88);
  --surface2:    rgba(255,255,255,0.97);
  --rim:         rgba(46,196,182,0.22);
  --rim2:        rgba(46,196,182,0.5);
  --text:        #1A1A2E;
  --text-dim:    rgba(26,26,46,0.72);
  --text-mute:   rgba(26,26,46,0.45);

  --font-display: 'Cormorant Garamond', serif;
  --font-body:    'Outfit', sans-serif;
  --font-accent:  'Playfair Display', serif;
  --transition:   all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --glow:         0 8px 40px rgba(46,196,182,0.22);
  --shadow:       0 20px 60px rgba(26,26,46,0.14);
  --shadow-lg:    0 30px 80px rgba(26,26,46,0.22);
}

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

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

body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.7;
  overflow-y: auto;
}

body.menu-open { overflow: hidden; }

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

::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--ivory); }
::-webkit-scrollbar-thumb { background: var(--teal); border-radius: 2px; }

h1,h2,h3,h4 { font-family: var(--font-display); line-height: 1.15; font-weight: 600; }
h1 { font-size: clamp(2.8rem, 6vw, 5.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.5rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.6rem); }
p  { color: var(--text-dim); line-height: 1.8; }

/* ── Gradient text now uses teal → navy ── */
.gradient-text {
  background: linear-gradient(135deg, var(--teal-dark) 0%, var(--teal) 50%, var(--teal-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.container { max-width: 1240px; margin: 0 auto; padding: 0 40px; }
section { padding: 120px 0; position: relative; }

/* ══════════════════════════════════════════
   STYLISH SECTION EYEBROW / INTRO
══════════════════════════════════════════ */
.section-eyebrow {
  font-family: var(--font-body);
  font-size: 0.68rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--teal);
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
  justify-content: center;
  position: relative;
}
.section-eyebrow::before,
.section-eyebrow::after {
  content: '';
  height: 1px;
  width: 50px;
  background: linear-gradient(90deg, transparent, var(--teal));
  flex-shrink: 0;
}
.section-eyebrow::after {
  background: linear-gradient(90deg, var(--teal), transparent);
}

/* Stylish section intro text — reveals with gradient underline */
.section-intro {
  position: relative;
  font-family: var(--font-display);
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  font-style: italic;
  color: var(--text-dim);
  text-align: center;
  max-width: 640px;
  margin: 0 auto 64px;
  line-height: 1.9;
  padding-bottom: 28px;
}
.section-intro::after {
  content: '';
  position: absolute;
  bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: 80px; height: 2px;
  background: linear-gradient(90deg, var(--teal-dark), var(--crimson));
  border-radius: 2px;
  animation: introLineGrow 1s ease .4s both;
}
@keyframes introLineGrow {
  from { width: 0; opacity: 0; }
  to   { width: 80px; opacity: 1; }
}

/* Decorative drop-cap first letter */
.section-intro::before {
  content: '\201C';
  font-family: var(--font-display);
  font-size: 5rem;
  line-height: 0;
  color: var(--teal);
  opacity: .15;
  position: absolute;
  top: 28px; left: -10px;
}

.section-title {
  text-align: center;
  margin-bottom: 16px;
  color: var(--text);
}
.section-sub {
  text-align: center;
  font-size: 1rem;
  color: var(--text-dim);
  max-width: 580px;
  margin: 0 auto 64px;
}

.gold-divider {
  display: flex; align-items: center; justify-content: center;
  gap: 14px; margin: 24px auto;
}
.gold-divider span {
  width: 60px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--teal));
}
.gold-divider span:last-child {
  background: linear-gradient(90deg, var(--teal), transparent);
}
.gold-divider i { color: var(--teal); font-size: 0.9rem; }

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 15px 35px;
  border-radius: 2px;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.btn::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  width: 0; height: 0;
  background: rgba(255,255,255,0.18);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.5s, height 0.5s;
}
.btn:hover::after { width: 300px; height: 300px; }

.btn-gold {
  background: linear-gradient(135deg, var(--teal-dark), var(--teal));
  color: white;
  box-shadow: 0 8px 30px rgba(46,196,182,0.35);
}
.btn-gold:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(46,196,182,0.45);
}

.btn-outline {
  background: transparent;
  color: var(--teal-dark);
  border: 1.5px solid var(--teal);
}
.btn-outline:hover {
  background: rgba(46,196,182,0.1);
  transform: translateY(-3px);
}

.btn-ghost {
  background: rgba(26,26,46,0.06);
  color: var(--text);
  border: 1px solid rgba(26,26,46,0.15);
}
.btn-ghost:hover {
  background: rgba(26,26,46,0.1);
  transform: translateY(-3px);
}

/* ══════════════════════════════════════════
   NAV
══════════════════════════════════════════ */
.nav-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0 40px;
  transition: var(--transition);
}
.nav-header.scrolled {
  background: rgba(240,250,250,0.97);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--rim);
  box-shadow: 0 4px 30px rgba(26,26,46,0.1);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  max-width: 1240px;
  margin: 0 auto;
}

/* Logo — uses image */
.nav-logo {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: 0.03em;
}
.nav-logo-img {
  width: 52px; height: 52px;
  border-radius: 50%;
  object-fit: cover;
  border: 2.5px solid var(--teal);
  box-shadow: 0 0 0 4px rgba(46,196,182,0.15), 0 4px 20px rgba(46,196,182,0.25);
  transition: var(--transition);
}
.nav-logo-img:hover {
  box-shadow: 0 0 0 6px rgba(46,196,182,0.2), 0 6px 28px rgba(46,196,182,0.35);
}
.nav-logo-icon {
  width: 44px; height: 44px;
  background: linear-gradient(135deg, var(--navy), var(--teal));
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; color: white; flex-shrink: 0;
  box-shadow: 0 0 20px rgba(46,196,182,0.3);
}
.nav-logo-text { line-height: 1.1; }
.nav-logo-title {
  font-size: 1.05rem; font-weight: 700;
  color: var(--text); display: block;
}
.nav-logo-sub {
  font-size: 0.58rem; letter-spacing: 0.22em;
  color: var(--teal); font-family: var(--font-body);
  font-weight: 700; text-transform: uppercase; display: block;
}
.nav-logo span { color: var(--teal); }

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links > li { position: relative; }
.nav-links > li > a {
  display: flex; align-items: center; gap: 4px;
  font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--text-dim); padding: 10px 14px;
  border-radius: 4px; transition: var(--transition);
}
.nav-links > li > a:hover {
  color: var(--teal-dark);
  background: rgba(46,196,182,0.08);
}
.nav-links > li > a.active { color: var(--teal-dark); }

.nav-dropdown {
  position: absolute;
  top: calc(100% + 10px); left: 0;
  min-width: 210px;
  background: white;
  backdrop-filter: blur(20px);
  border: 1px solid var(--rim);
  border-radius: 8px; padding: 8px;
  opacity: 0; visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition);
  box-shadow: var(--shadow);
}
.nav-links > li:hover .nav-dropdown {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.nav-dropdown a {
  display: block; padding: 12px 16px;
  font-size: 0.78rem; font-weight: 500;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--text-dim); border-radius: 6px;
  transition: var(--transition);
}
.nav-dropdown a:hover {
  color: var(--teal-dark);
  background: rgba(46,196,182,0.07);
  padding-left: 22px;
}

.nav-cta {
  background: linear-gradient(135deg, var(--navy), var(--teal-dark)) !important;
  color: white !important;
  padding: 10px 22px !important;
  border-radius: 2px !important;
  font-weight: 700 !important;
}
.nav-cta:hover {
  box-shadow: 0 8px 25px rgba(46,196,182,0.4);
  transform: translateY(-2px);
}

.hamburger {
  display: none; flex-direction: column;
  gap: 5px; cursor: pointer; padding: 8px; z-index: 1001;
}
.hamburger span {
  display: block; height: 2px;
  background: var(--text); border-radius: 1px;
  transition: var(--transition);
}
.hamburger span:nth-child(1) { width: 26px; }
.hamburger span:nth-child(2) { width: 20px; }
.hamburger span:nth-child(3) { width: 26px; }
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); width:26px; }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); width:26px; }

/* ── MOBILE NAV — with background ── */
@media (max-width: 900px) {
  .nav-links {
    position: fixed; inset: 0;
    /* Rich navy background with teal glow */
    background: linear-gradient(150deg, #1A1A2E 0%, #16213E 60%, #0d2a35 100%);
    backdrop-filter: blur(24px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transform: translateX(100%);
    transition: transform 0.45s cubic-bezier(0.4,0,0.2,1);
    z-index: 999;
    /* Teal left border accent */
    border-left: 3px solid var(--teal);
    box-shadow: -20px 0 80px rgba(26,26,46,0.6);
  }
  /* Decorative background pattern */
  .nav-links::before {
    content: '';
    position: absolute; inset: 0;
    background:
      radial-gradient(circle at 20% 30%, rgba(46,196,182,0.12) 0%, transparent 50%),
      radial-gradient(circle at 80% 70%, rgba(214,40,40,0.08) 0%, transparent 40%);
    pointer-events: none;
  }
  .nav-links.open { transform: translateX(0); }
  .nav-links > li > a {
    font-size: 1.25rem;
    padding: 16px 36px;
    color: rgba(255,255,255,0.85);
    letter-spacing: 0.12em;
    border-bottom: 1px solid rgba(46,196,182,0.1);
    width: 260px;
    border-radius: 0;
    transition: var(--transition);
  }
  .nav-links > li > a:hover,
  .nav-links > li > a.active {
    color: var(--teal-light);
    background: rgba(46,196,182,0.08);
    padding-left: 48px;
    border-bottom-color: rgba(46,196,182,0.25);
  }
  .nav-dropdown {
    position: static; opacity: 1; visibility: visible;
    transform: none; background: transparent;
    box-shadow: none; border: none; display: none; padding: 4px 0;
  }
  .nav-links > li.open .nav-dropdown { display: block; }
  .nav-dropdown a {
    color: rgba(255,255,255,0.5);
    font-size: 0.82rem;
    padding-left: 60px;
  }
  .nav-dropdown a:hover {
    color: var(--teal-light);
    background: rgba(46,196,182,0.06);
  }
  .hamburger { display: flex; }
  .hamburger span { background: white; }
  .container { padding: 0 24px; }
}

/* ── PAGE HERO ── */
.page-hero {
  min-height: 55vh;
  display: flex; align-items: flex-end;
  padding-bottom: 80px;
  position: relative; overflow: hidden;
  background: var(--navy);
}
.page-hero-bg {
  position: absolute; inset: 0;
  background: url('https://images.unsplash.com/photo-1507692049790-de58290a4334?w=1600&q=80') center/cover;
  opacity: 0.25;
}
.page-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, var(--navy) 0%, rgba(26,26,46,0.55) 60%, transparent 100%);
}
.page-hero-content { position: relative; z-index: 2; padding-top: 120px; }
.page-hero h1 { margin-bottom: 16px; color: white; }
.breadcrumb {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.72rem; letter-spacing: 0.15em; text-transform: uppercase;
  color: rgba(255,255,255,0.5); margin-bottom: 20px;
}
.breadcrumb a { color: var(--teal-light); }
.breadcrumb i { font-size: 0.55rem; }

/* ── CARDS ── */
.card {
  background: white;
  border: 1px solid var(--rim);
  border-radius: 4px; transition: var(--transition);
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(26,26,46,0.07);
}
.card:hover {
  border-color: var(--rim2);
  transform: translateY(-8px);
  box-shadow: var(--glow);
}
.card-img { height: 220px; overflow: hidden; position: relative; }
.card-img img { width:100%; height:100%; object-fit:cover; transition: transform 0.6s ease; }
.card:hover .card-img img { transform: scale(1.06); }
.card-body { padding: 28px; }
.card-label {
  font-size: 0.65rem; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--teal); margin-bottom: 10px;
}
.card-body h3 { margin-bottom: 10px; font-size: 1.25rem; color: var(--text); }
.card-body p { font-size: 0.88rem; color: var(--text-dim); }

.counter-num {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 700;
  color: var(--teal-dark);
  line-height: 1;
}

/* ── GIVE FAB ── */
.give-fab {
  position: fixed; bottom: 30px; right: 30px;
  z-index: 900;
  display: flex; flex-direction: column;
  align-items: center; gap: 6px;
}
.give-fab-btn {
  width: 64px; height: 64px;
  background: linear-gradient(135deg, var(--crimson), var(--crimson-light));
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; color: white;
  box-shadow: 0 0 0 0 rgba(214,40,40,0.6);
  animation: fabPulse 2.5s ease-out infinite;
  cursor: pointer;
  border: 2px solid rgba(255,255,255,0.3);
  transition: var(--transition);
}
.give-fab-btn:hover { transform: scale(1.1); }
.give-fab-label {
  font-size: 0.62rem; font-weight: 700;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--text-mute);
}

@keyframes fabPulse {
  0%   { box-shadow: 0 0 0 0 rgba(214,40,40,0.6); }
  70%  { box-shadow: 0 0 0 20px rgba(214,40,40,0); }
  100% { box-shadow: 0 0 0 0 rgba(214,40,40,0); }
}

/* ── GIVING MODAL ── */
.giving-modal {
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(26,26,46,0.82);
  backdrop-filter: blur(12px);
  display: none; align-items: center;
  justify-content: center; padding: 30px 20px;
  overflow-y: auto;
}
.giving-modal.open { display: flex; }
.giving-box {
  background: white;
  border: 1px solid var(--rim2);
  border-radius: 8px; padding: 50px;
  max-width: 900px; width: 100%;
  position: relative;
  box-shadow: var(--shadow-lg);
  animation: modalIn 0.4s cubic-bezier(0.4,0,0.2,1);
}
@keyframes modalIn {
  from { opacity:0; transform: scale(0.9) translateY(20px); }
  to   { opacity:1; transform: scale(1) translateY(0); }
}
.giving-box::before {
  content:''; position:absolute; top:0; left:0; right:0; height:4px;
  background: linear-gradient(90deg, var(--navy), var(--teal), var(--crimson));
  border-radius: 8px 8px 0 0;
}
.modal-close {
  position:absolute; top:20px; right:20px;
  width:40px; height:40px;
  background: var(--ivory); border: 1px solid var(--rim);
  border-radius: 50%;
  display:flex; align-items:center; justify-content:center;
  cursor:pointer; font-size:1.1rem; color:var(--text-dim);
  transition:var(--transition);
}
.modal-close:hover { border-color:var(--teal); color:var(--teal-dark); }
.giving-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 36px; }
.give-method {
  background: var(--ivory); border: 1px solid var(--rim);
  border-radius: 6px; padding: 24px; transition: var(--transition);
  display: flex; align-items: center; gap: 18px;
}
.give-method:hover { border-color: var(--rim2); transform: translateY(-4px); box-shadow: var(--glow); }
.give-method-logo {
  width: 56px; height: 56px; background: white;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem; flex-shrink: 0;
  border: 1px solid var(--rim);
}
.give-method strong { display:block; font-size:0.92rem; color:var(--text); margin-bottom:4px; }
.give-method p { font-size:0.88rem; color:var(--teal-dark); font-weight:700; margin-bottom:2px; }
.give-method span { font-size:0.78rem; color:var(--text-mute); }

@media (max-width:600px) {
  .giving-grid { grid-template-columns:1fr; }
  .giving-box { padding: 30px 22px; }
}

/* ── FOOTER ── */
.site-footer {
  background: var(--navy);
  border-top: 1px solid rgba(46,196,182,0.12);
  padding: 90px 0 0;
}
.footer-top {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 50px; padding-bottom: 60px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.footer-brand p { font-size:0.88rem; color:rgba(255,255,255,0.42); line-height:1.8; margin:20px 0 28px; }
.footer-socials { display:flex; gap:10px; }
.social-link {
  width:38px; height:38px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 50%;
  display:flex; align-items:center; justify-content:center;
  font-size:0.85rem; transition:var(--transition);
  color: rgba(255,255,255,0.4);
}
.social-link:hover { border-color:var(--teal); color:var(--teal-light); background:rgba(46,196,182,0.12); }
.footer-col h4 {
  font-family: var(--font-body); font-size: 0.65rem;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--teal-light); margin-bottom: 22px;
}
.footer-col li { margin-bottom:12px; }
.footer-col a {
  font-size:0.85rem; color:rgba(255,255,255,0.4);
  transition:var(--transition);
  display:flex; align-items:center; gap:6px;
}
.footer-col a:hover { color:rgba(255,255,255,0.85); padding-left:6px; }
.footer-col a::before { content:'›'; color:var(--teal); font-size:1rem; }
.footer-bottom {
  display:flex; align-items:center; justify-content:space-between;
  padding: 24px 0; font-size:0.78rem; color:rgba(255,255,255,0.25);
}
.footer-bottom-links { display:flex; gap:24px; }
.footer-bottom-links a { color:rgba(255,255,255,0.25); font-size:0.75rem; }
.footer-bottom-links a:hover { color:var(--teal); }

/* ── ANIMATIONS ── */
.anim-up    { opacity:0; transform:translateY(40px);  transition: opacity 0.8s ease, transform 0.8s ease; }
.anim-left  { opacity:0; transform:translateX(-40px); transition: opacity 0.8s ease, transform 0.8s ease; }
.anim-right { opacity:0; transform:translateX(40px);  transition: opacity 0.8s ease, transform 0.8s ease; }
.anim-scale { opacity:0; transform:scale(0.92);       transition: opacity 0.8s ease, transform 0.8s ease; }
.in-view    { opacity:1 !important; transform:none !important; }

.delay-1 { transition-delay:0.1s !important; }
.delay-2 { transition-delay:0.2s !important; }
.delay-3 { transition-delay:0.3s !important; }
.delay-4 { transition-delay:0.4s !important; }
.delay-5 { transition-delay:0.5s !important; }
.delay-6 { transition-delay:0.6s !important; }

@media (max-width:768px) {
  .footer-top { grid-template-columns:1fr 1fr; gap:32px; }
  section { padding:80px 0; }
}
@media (max-width:480px) {
  .footer-top { grid-template-columns:1fr; }
  .footer-bottom { flex-direction:column; gap:12px; text-align:center; }
  .footer-bottom-links { flex-wrap:wrap; justify-content:center; }
}