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

:root {
  --navy:    #0d1f3c;
  --navy2:   #162e55;
  --gold:    #c9972e;
  --gold2:   #e8b84b;
  --white:   #ffffff;
  --off-white: #f7f6f2;
  --text:    #1c2533;
  --muted:   #5a6a80;
  --radius:  10px;
  --transition: 0.28s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
}

/* ── Scroll reveal ── */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: 0.15s; }
.reveal-delay-2 { transition-delay: 0.3s; }

.reveal-hero {
  opacity: 0;
  transform: translateY(24px);
  animation: heroIn 1.1s 0.3s ease forwards;
}
@keyframes heroIn {
  to { opacity: 1; transform: none; }
}

/* ── Nav ── */
.nav-wrap {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(13,31,60,0.93);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(201,151,46,0.18);
}

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

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo-img {
  height: 58px;
  width: auto;
  display: block;
  filter: brightness(0) invert(1);
}

.footer-logo-img {
  height: 48px;
  width: auto;
  display: block;
  margin-bottom: 12px;
  filter: brightness(0) invert(1);
  opacity: 0.85;
}

.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links a {
  color: rgba(255,255,255,0.78);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: color var(--transition);
}

.nav-links a:hover { color: var(--gold2); }

.btn-nav {
  background: var(--gold);
  color: var(--navy) !important;
  padding: 8px 20px;
  border-radius: 100px;
  font-weight: 600 !important;
  transition: background var(--transition) !important;
}
.btn-nav:hover { background: var(--gold2) !important; color: var(--navy) !important; }

.hamburger {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.4rem;
  cursor: pointer;
}

/* ── Hero ── */
.hero {
  position: relative;
  height: 100vh;
  min-height: 620px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--navy);
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  transform: scale(1.06);
  transition: transform 10s ease;
}
.hero:hover .hero-bg { transform: scale(1); }

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(13,31,60,0.6) 0%,
    rgba(13,31,60,0.45) 40%,
    rgba(13,31,60,0.82) 100%
  );
}

.hero-content {
  position: relative;
  text-align: center;
  max-width: 760px;
  padding: 0 28px;
}

.hero-tag {
  display: inline-block;
  color: var(--gold2);
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 22px;
  padding: 10px 26px;
  border: 1px solid rgba(232,184,75,0.35);
  border-radius: 100px;
  background: rgba(232,184,75,0.08);
}

.hero-content h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.8rem, 7vw, 5rem);
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 22px;
  text-shadow: 0 2px 24px rgba(0,0,0,0.35);
}

.hero-frontiers {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 28px;
}

.hero-frontiers span {
  color: var(--navy);
  background: var(--gold2);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 5px 16px;
  border-radius: 100px;
}

.hero-content p {
  color: rgba(255,255,255,0.78);
  font-size: 1.05rem;
  margin-bottom: 40px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.hero-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-scroll-hint {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-scroll-hint span {
  display: block;
  width: 2px;
  height: 48px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.6), transparent);
  animation: scrollPulse 2s infinite;
}

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

/* ── Buttons ── */
.btn-primary {
  display: inline-block;
  background: var(--gold);
  color: var(--navy);
  padding: 14px 32px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  letter-spacing: 0.02em;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
}
.btn-primary:hover {
  background: var(--gold2);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(201,151,46,0.4);
}

.btn-secondary {
  display: inline-block;
  background: transparent;
  color: var(--white);
  padding: 14px 32px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none;
  border: 2px solid rgba(255,255,255,0.45);
  transition: border-color var(--transition), background var(--transition);
}
.btn-secondary:hover {
  border-color: var(--white);
  background: rgba(255,255,255,0.1);
}

.btn-outline {
  display: inline-block;
  background: transparent;
  color: var(--navy);
  padding: 13px 30px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none;
  border: 2px solid var(--navy);
  transition: background var(--transition), color var(--transition);
}
.btn-outline:hover { background: var(--navy); color: var(--white); }

.full-width { width: 100%; text-align: center; }

/* ── Pillars ── */
.pillars {
  background: var(--navy);
  padding: 0;
}

.pillars-inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: 1200px;
  margin: 0 auto;
}

.pillar {
  padding: 64px 44px;
  border-right: 1px solid rgba(255,255,255,0.07);
  text-align: center;
  transition: background var(--transition);
}
.pillar:last-child { border-right: none; }
.pillar:hover { background: rgba(255,255,255,0.03); }

.pillar-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 24px;
  color: var(--gold);
}
.pillar-icon svg { width: 100%; height: 100%; }

.pillar h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 14px;
  letter-spacing: 0.04em;
}

.pillar p {
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  line-height: 1.7;
}

/* ── Section tags ── */
.section-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}
.section-tag.light { color: var(--gold2); }

.section-header {
  text-align: center;
  margin-bottom: 56px;
}
.section-header h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--text);
  line-height: 1.2;
}

/* ── About ── */
.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  padding: 120px 60px;
  max-width: 1200px;
  margin: 0 auto;
  background: var(--off-white);
  max-width: 100%;
}

.about-img-wrap {
  position: relative;
  display: flex;
  justify-content: flex-end;
  padding-right: 24px;
}

.about-img-wrap img {
  width: 100%;
  max-width: 500px;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 16px;
  position: relative;
  z-index: 1;
  box-shadow: 0 24px 80px rgba(13,31,60,0.18);
}

.about-img-accent {
  position: absolute;
  bottom: -20px;
  right: 4px;
  width: 65%;
  height: 65%;
  border: 3px solid var(--gold);
  border-radius: 16px;
  z-index: 0;
}

.about-text { padding: 0 12px; }
.about-text .section-tag { display: block; }

.about-text h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  margin-bottom: 24px;
  line-height: 1.2;
  color: var(--navy);
}

.about-text p {
  color: var(--muted);
  margin-bottom: 16px;
  font-size: 0.94rem;
}

.about-text strong { color: var(--text); }
.about-text .btn-outline { margin-top: 12px; }

/* ── Global Impact ── */
.impact {
  position: relative;
  padding: 120px 28px;
  overflow: hidden;
  background: var(--navy2);
}

.impact-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.18;
}

.impact-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(13,31,60,0.9), rgba(22,46,85,0.85));
}

.impact-content {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.impact-content h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  color: var(--white);
  margin-bottom: 16px;
  line-height: 1.2;
}
.impact-subtitle {
  color: rgba(255,255,255,0.75);
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 36px;
}

.regions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 72px;
}

.region {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(201,151,46,0.3);
  border-radius: 100px;
  padding: 10px 22px;
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 500;
}

.region-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 8px var(--gold);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%,100% { box-shadow: 0 0 4px var(--gold); }
  50% { box-shadow: 0 0 16px var(--gold2); }
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.1);
  border-radius: var(--radius);
  overflow: hidden;
}

.stat {
  background: rgba(13,31,60,0.7);
  padding: 40px 24px;
  text-align: center;
}

.stat-num {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-size: 3rem;
  font-weight: 700;
  color: var(--gold2);
  line-height: 1;
  margin-bottom: 10px;
}

.stat-label {
  display: block;
  color: rgba(255,255,255,0.6);
  font-size: 0.85rem;
  line-height: 1.5;
}

/* ── Summit ── */
.summit {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  padding: 120px 60px;
  max-width: 1200px;
  margin: 0 auto;
}

.summit-text .section-tag { display: block; }

.summit-text h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.9rem, 3.5vw, 2.6rem);
  color: var(--navy);
  margin-bottom: 20px;
  line-height: 1.2;
}

.summit-meta {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.summit-meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--gold);
  font-size: 0.9rem;
  font-weight: 600;
}

.summit-meta-item svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.summit-text p {
  color: var(--muted);
  font-size: 0.94rem;
  margin-bottom: 16px;
}

.summit-text .btn-primary { margin-top: 12px; }

.summit-img-wrap {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(13,31,60,0.16);
}

.summit-img-wrap img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}
.summit-img-wrap:hover img { transform: scale(1.04); }

/* ── Give ── */
.give {
  position: relative;
  padding: 130px 28px;
  text-align: center;
  overflow: hidden;
  background: var(--navy);
}

.give-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.05);
  transition: transform 10s ease;
  z-index: 0;
}

.give:hover .give-bg { transform: scale(1); }

.give-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    135deg,
    rgba(13,31,60,0.88) 0%,
    rgba(13,31,60,0.72) 50%,
    rgba(13,31,60,0.88) 100%
  );
}

.give-inner {
  position: relative;
  z-index: 2;
  max-width: 620px;
  margin: 0 auto;
}

.give-inner h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--white);
  margin-bottom: 18px;
  line-height: 1.2;
}

.give-inner p {
  color: rgba(255,255,255,0.72);
  font-size: 0.95rem;
  margin-bottom: 36px;
}

/* ── Contact ── */
.contact {
  padding: 120px 28px;
  background: var(--off-white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 60px;
  max-width: 1000px;
  margin: 0 auto;
}

.contact-info h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  color: var(--navy);
  margin-bottom: 18px;
}

.contact-info p {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 14px;
  line-height: 1.6;
}

.contact-info strong { color: var(--text); }

.contact-info a {
  color: var(--gold);
  text-decoration: none;
  font-weight: 500;
  transition: color var(--transition);
}
.contact-info a:hover { color: var(--navy); }

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

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

.contact-form input,
.contact-form textarea {
  background: var(--white);
  border: 1.5px solid #dde1e9;
  border-radius: 8px;
  padding: 13px 16px;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  color: var(--text);
  outline: none;
  transition: border-color var(--transition);
  resize: vertical;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder { color: #aab0be; }

.contact-form input:focus,
.contact-form textarea:focus { border-color: var(--navy); }

.form-success {
  display: none;
  color: #2d7d55;
  font-size: 0.9rem;
  text-align: center;
  padding: 14px;
  background: rgba(45,125,85,0.08);
  border-radius: 8px;
  border: 1px solid rgba(45,125,85,0.22);
}

/* ── Confirmation modal ── */
.confirm-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(13,31,60,0.75);
  backdrop-filter: blur(6px);
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.confirm-modal.open {
  display: flex;
  animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.confirm-box {
  background: var(--white);
  border-radius: 20px;
  padding: 52px 44px;
  max-width: 460px;
  width: 100%;
  text-align: center;
  box-shadow: 0 32px 80px rgba(13,31,60,0.3);
  animation: boxSlideUp 0.35s ease;
}

@keyframes boxSlideUp {
  from { transform: translateY(24px); opacity: 0; }
  to   { transform: none; opacity: 1; }
}

.confirm-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 24px;
  color: var(--gold);
}

.confirm-icon svg { width: 100%; height: 100%; }

.confirm-box h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  color: var(--navy);
  margin-bottom: 14px;
}

.confirm-box p {
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.7;
  margin-bottom: 32px;
}

/* ── Footer ── */
.footer {
  background: #07111f;
  padding: 60px 28px;
  border-top: 1px solid rgba(201,151,46,0.15);
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.footer-brand .logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  letter-spacing: 0.12em;
  color: var(--gold2);
  display: block;
  margin-bottom: 10px;
}

.footer-brand p {
  color: rgba(255,255,255,0.4);
  font-size: 0.82rem;
  line-height: 1.6;
}

.footer-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 32px;
}

.footer-links a {
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  font-size: 0.88rem;
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--gold2); }

.footer-copy {
  color: rgba(255,255,255,0.25);
  font-size: 0.78rem;
  line-height: 1.7;
  text-align: right;
}

/* ── Responsive ── */
@media (max-width: 960px) {
  .pillars-inner { grid-template-columns: 1fr; }
  .pillar { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.07); }
  .pillar:last-child { border-bottom: none; }

  .about { grid-template-columns: 1fr; padding: 80px 28px; gap: 48px; }
  .about-img-wrap { justify-content: center; padding-right: 0; }

  .summit { grid-template-columns: 1fr; padding: 80px 28px; gap: 48px; }
  .summit-img-wrap { order: -1; }

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

  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .form-row { grid-template-columns: 1fr; }

  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .footer-copy { text-align: left; }
}

@media (max-width: 640px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 68px; left: 0; right: 0;
    background: rgba(13,31,60,0.98);
    padding: 24px;
    gap: 18px;
    align-items: flex-start;
    border-top: 1px solid rgba(201,151,46,0.2);
  }
  .hamburger { display: block; }
  .hero-cta { flex-direction: column; align-items: center; }
  .regions { gap: 10px; }
  .about { padding: 60px 20px; }
  .summit { padding: 60px 20px; }
  .contact { padding: 80px 20px; }
}
