:root {
  --navy: #0e1b3f;
  --navy-soft: #132757;
  --sky: #57b4ff;
  --cyan: #69e2ff;
  --mint: #68f0c1;
  --coral: #ff7b7b;
  --peach: #ffb86c;
  --purple: #7d73ff;
  --pink: #f26fd4;
  --gold: #ffd36e;
  --white: #ffffff;
  --text: #162033;
  --muted: #5b667e;
  --bg: #f5f8ff;
  --line: rgba(22, 32, 51, 0.08);
  --shadow: 0 18px 50px rgba(15, 30, 65, 0.12);
  --radius: 24px;
  --container: 1220px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.72;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

img {
  width: 100%;
  display: block;
  object-fit: cover;
}

a {
  text-decoration: none;
  color: inherit;
}

button,
input,
textarea {
  font: inherit;
}

.container {
  width: min(calc(100% - 40px), var(--container));
  margin: 0 auto;
}

/* TOPBAR */
.topbar {
  background: linear-gradient(90deg, var(--purple), var(--pink), var(--coral));
  color: #fff;
  font-size: 0.92rem;
}

.topbar-inner {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

/* HEADER */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(14, 27, 63, 0.76);
  backdrop-filter: blur(14px);
  box-shadow: 0 10px 30px rgba(11, 21, 49, 0.12);
  transition: all 0.28s ease;
}

.site-header.is-scrolled {
  background: rgba(14, 27, 63, 0.92);
}

.header-inner {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  width: 46px;
  height: 46px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 800;
  font-size: 1.2rem;
  background: linear-gradient(135deg, var(--sky), var(--purple));
  box-shadow: 0 12px 24px rgba(87, 180, 255, 0.24);
  flex-shrink: 0;
}

.brand-mark.large {
  width: 54px;
  height: 54px;
  font-size: 1.35rem;
}

.brand-copy {
  display: grid;
  line-height: 1.05;
}

.brand-copy strong {
  color: #fff;
  font-size: 1rem;
  letter-spacing: 0.03em;
}

.brand-copy small {
  color: rgba(255, 255, 255, 0.74);
  letter-spacing: 0.16em;
  margin-top: 5px;
}

.brand-copy.dark strong {
  color: #fff;
}

.brand-copy.dark small {
  color: rgba(255, 255, 255, 0.8);
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-link,
.dropdown-toggle {
  color: rgba(255, 255, 255, 0.92);
  font-weight: 600;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 10px 0;
  position: relative;
  transition: color 0.24s ease, opacity 0.24s ease;
}

.nav-link:hover,
.dropdown-toggle:hover {
  color: #fff;
}

.nav-link.active::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 2px;
  width: 100%;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--cyan), var(--mint));
}

.nav-dropdown {
  position: relative;
}

.chevron {
  margin-left: 6px;
  font-size: 0.85rem;
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 14px);
  left: 0;
  min-width: 220px;
  padding: 12px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow);
  border: 1px solid rgba(20, 30, 60, 0.06);
  display: grid;
  gap: 6px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: 0.22s ease;
}

.nav-dropdown:hover .dropdown-menu,
.nav-dropdown.open .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu a {
  color: var(--text);
  font-weight: 600;
  padding: 10px 12px;
  border-radius: 12px;
}

.dropdown-menu a:hover {
  background: #eef5ff;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  color: #fff;
  font-weight: 700;
  background: linear-gradient(135deg, var(--sky), var(--purple));
  box-shadow: 0 14px 28px rgba(87, 180, 255, 0.2);
}

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  background: #fff;
  transition: 0.24s ease;
}

.menu-toggle.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 10px;
  padding: 0 20px 20px;
  background: linear-gradient(180deg, rgba(14, 27, 63, 0.98), rgba(16, 38, 87, 0.98));
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.mobile-menu.open {
  display: flex;
}

.mobile-link {
  color: #fff;
  font-weight: 600;
  padding: 12px 14px;
  border-radius: 14px;
}

.mobile-link:hover,
.mobile-link.active {
  background: rgba(255, 255, 255, 0.08);
}

.mobile-cta {
  background: linear-gradient(135deg, var(--sky), var(--purple));
}

/* HERO */
.hero {
  position: relative;
  min-height: calc(100vh - 42px);
  overflow: hidden;
  background: var(--navy);
}

.hero-slides,
.hero-slide {
  position: absolute;
  inset: 0;
}

.hero-slide {
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 0.9s ease, transform 4.6s ease;
}

.hero-slide.active {
  opacity: 1;
  transform: scale(1);
}

.hero-overlay-blur {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 20%, rgba(105, 226, 255, 0.15), transparent 28%),
    radial-gradient(circle at 85% 70%, rgba(242, 111, 212, 0.16), transparent 30%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  min-height: calc(100vh - 42px);
  display: grid;
  grid-template-columns: 1.08fr 0.62fr;
  gap: 34px;
  align-items: center;
  padding: 84px 0 124px;
}

.eyebrow,
.section-label {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.8rem;
  font-weight: 800;
}

.eyebrow {
  color: rgba(255, 255, 255, 0.84);
  margin-bottom: 18px;
}

.section-label {
  color: var(--purple);
  margin-bottom: 14px;
}

.hero-copy h1,
.about-copy h2,
.mission-copy h2,
.section-heading h2,
.support-panel h2,
.contact-copy h2 {
  font-family: "Playfair Display", serif;
  line-height: 1.06;
  margin-top: 0;
}

.hero-copy h1 {
  color: #fff;
  font-size: clamp(2.8rem, 5.8vw, 5.6rem);
  max-width: 780px;
  margin-bottom: 20px;
}

.hero-text {
  color: rgba(255, 255, 255, 0.92);
  max-width: 680px;
  font-size: 1.08rem;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.hero-meta span {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  padding: 10px 14px;
  border-radius: 999px;
  font-size: 0.92rem;
}

.glass-card {
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(16px);
}

.hero-card {
  color: #fff;
  padding: 28px;
  border-radius: 26px;
  box-shadow: 0 22px 60px rgba(8, 18, 46, 0.28);
}

.hero-card h3 {
  font-size: 1.45rem;
  margin: 14px 0 16px;
}

.hero-card ul {
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
}

.hero-card li {
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.hero-address p {
  margin-bottom: 0;
}

.pill {
  display: inline-block;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-controls {
  position: absolute;
  left: 50%;
  bottom: 26px;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.hero-arrow {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
  display: grid;
  place-items: center;
  backdrop-filter: blur(10px);
}

.hero-dots {
  display: flex;
  gap: 10px;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 0;
  padding: 0;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.38);
}

.dot.active {
  width: 34px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--cyan), var(--mint));
}

/* BUTTONS */
.btn {
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  transition: transform 0.24s ease, opacity 0.24s ease, box-shadow 0.24s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--sky), var(--purple));
  box-shadow: 0 16px 34px rgba(87, 180, 255, 0.26);
}

.btn-secondary {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.btn-light-solid {
  color: var(--navy);
  background: #fff;
}

.btn-dark {
  color: #fff;
  background: linear-gradient(135deg, var(--navy-soft), var(--purple));
}

/* GENERAL */
section {
  padding: 98px 0;
}

.section-heading {
  margin-bottom: 38px;
}

.section-heading.center {
  text-align: center;
}

.section-heading h2 {
  font-family: "Playfair Display", serif;
  font-size: clamp(2.15rem, 4vw, 3.6rem);
  margin-bottom: 10px;
}

.section-subtext {
  color: var(--muted);
  max-width: 760px;
  margin: 0 auto;
}

/* ABOUT */
.about-section {
  background: linear-gradient(180deg, #f8fbff, #f5f8ff);
}

.about-grid {
  display: grid;
  grid-template-columns: 1.06fr 0.94fr;
  gap: 28px;
  align-items: start;
}

.about-copy h2 {
  font-size: clamp(2rem, 4vw, 3.15rem);
  margin-bottom: 16px;
}

.about-copy p {
  color: var(--muted);
}

.feature-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.feature-tags span {
  padding: 10px 14px;
  border-radius: 999px;
  background: #eaf3ff;
  color: #2950a5;
  font-weight: 700;
  font-size: 0.92rem;
}

.org-info-card {
  background: #fff;
  padding: 28px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid rgba(20, 30, 60, 0.05);
}

.org-info-card h3 {
  margin-top: 0;
  margin-bottom: 20px;
  font-size: 1.35rem;
}

.info-list {
  display: grid;
  gap: 18px;
}

.info-item {
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.info-item:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.info-item span {
  display: block;
  color: #5671ad;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.info-item p {
  margin: 0;
}

/* MISSION */
.mission-section {
  background: #fff;
}

.mission-grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 32px;
  align-items: center;
}

.mission-image img {
  height: 560px;
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.mission-copy h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  margin-bottom: 16px;
}

.mission-copy p {
  color: var(--muted);
}

.mission-points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 24px;
}

.point {
  padding: 18px;
  border-radius: 20px;
  background: linear-gradient(180deg, #f7f9ff, #eef4ff);
}

.point strong {
  display: block;
  margin-bottom: 8px;
  color: #21418d;
}

.point p {
  margin: 0;
  font-size: 0.95rem;
}

/* TAKE ACTION */
.take-action-section {
  background: linear-gradient(180deg, #f8f6ff, #fff9f5);
}

.action-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.action-card {
  overflow: hidden;
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--shadow);
}

.action-card img {
  height: 250px;
}

.action-card-body {
  padding: 24px;
}

.action-card-body h3 {
  margin-top: 0;
  margin-bottom: 10px;
  font-size: 1.35rem;
}

.action-card-body p {
  color: var(--muted);
  margin-bottom: 16px;
}

.text-link {
  color: #2f58bf;
  font-weight: 700;
}

.gradient-a .action-card-body {
  background: linear-gradient(180deg, #ffffff, #eef7ff);
}

.gradient-b .action-card-body {
  background: linear-gradient(180deg, #ffffff, #f6f0ff);
}

.gradient-c .action-card-body {
  background: linear-gradient(180deg, #ffffff, #fff3f1);
}

/* SUPPORT */
.support-section {
  background: #fff;
}

.support-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.support-panel {
  padding: 36px;
  border-radius: 28px;
  box-shadow: var(--shadow);
  overflow: hidden;
  position: relative;
}

.support-panel::before {
  content: "";
  position: absolute;
  inset: auto auto -80px -80px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  opacity: 0.14;
  background: #fff;
}

.support-panel-primary {
  color: #fff;
  background:
    radial-gradient(circle at top right, rgba(255,255,255,0.18), transparent 24%),
    linear-gradient(135deg, var(--purple), var(--pink), var(--coral));
}

.support-panel-secondary {
  color: var(--text);
  background:
    radial-gradient(circle at top right, rgba(255,255,255,0.5), transparent 26%),
    linear-gradient(135deg, #dff7ff, #eef3ff, #fff1f9);
}

.support-panel h2 {
  font-size: clamp(2rem, 3.7vw, 3rem);
  margin-bottom: 14px;
}

.support-panel p {
  max-width: 520px;
}

.section-label.light {
  color: rgba(255, 255, 255, 0.86);
}

/* IMPACT */
.impact-section {
  background: linear-gradient(180deg, #f5f8ff, #fff);
}

.impact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.impact-card {
  padding: 26px;
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--shadow);
}

.impact-card h3 {
  margin-top: 0;
  margin-bottom: 10px;
  font-size: 1.4rem;
}

.impact-card p {
  color: var(--muted);
  margin-bottom: 0;
}

/* CONTACT - FIXED READABILITY */
.contact-section {
  background:
    radial-gradient(circle at top left, rgba(105, 226, 255, 0.10), transparent 22%),
    radial-gradient(circle at bottom right, rgba(242, 111, 212, 0.10), transparent 22%),
    linear-gradient(180deg, #fbfdff, #f4f7ff);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.94fr 1.06fr;
  gap: 28px;
  align-items: start;
}

.contact-copy h2 {
  font-size: clamp(2rem, 4vw, 3.1rem);
  margin-bottom: 16px;
}

.contact-copy p,
.contact-details p {
  color: #1d2740;
}

.contact-details p {
  margin-bottom: 14px;
}

.contact-details a {
  color: #315fd3;
  font-weight: 600;
}

.contact-form {
  padding: 28px;
  border-radius: 26px;
  box-shadow: var(--shadow);
  background: #ffffff;
  border: 1px solid rgba(20, 30, 60, 0.08);
  color: #162033;
}

.field {
  margin-bottom: 16px;
}

.field label {
  display: block;
  font-weight: 700;
  margin-bottom: 8px;
  color: #162033;
}

.field input,
.field textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid #d7dfef;
  background: #f9fbff;
  color: #162033;
  outline: none;
  transition: border-color 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.field input::placeholder,
.field textarea::placeholder {
  color: #7f8aa3;
}

.field input:focus,
.field textarea:focus {
  border-color: #5b7dff;
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(91, 125, 255, 0.12);
}

.field input.is-invalid,
.field textarea.is-invalid {
  border-color: #e17f7f;
  box-shadow: 0 0 0 4px rgba(225, 127, 127, 0.12);
  background: #fffafa;
}

.field-error {
  display: block;
  min-height: 18px;
  margin-top: 6px;
  color: #c14f4f;
  font-size: 0.88rem;
}

.form-feedback {
  display: none;
  margin-bottom: 14px;
  padding: 12px 14px;
  border-radius: 14px;
  font-size: 0.94rem;
  font-weight: 500;
}

.form-feedback.success {
  display: block;
  color: #145a32;
  background: #e8fff0;
  border: 1px solid #b8ebc8;
}

.form-feedback.error {
  display: block;
  color: #8e2d2d;
  background: #fdeaea;
  border: 1px solid #efc7c7;
}

.submit-btn {
  width: 100%;
  min-height: 54px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--sky), var(--mint));
  color: #0e1b3f;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.24s ease, box-shadow 0.24s ease, opacity 0.24s ease;
  box-shadow: 0 14px 28px rgba(87, 180, 255, 0.20);
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 32px rgba(87, 180, 255, 0.26);
}

.submit-btn:disabled {
  opacity: 0.7;
  cursor: wait;
}

.form-note {
  color: #667089;
  font-size: 0.92rem;
  margin-top: 12px;
  margin-bottom: 0;
}

/* FOOTER */
.site-footer {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(135deg, #0e1738, #172e66 38%, #3c2d7a 72%, #7a2b6f);
  padding: 72px 0 24px;
}

.footer-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.45;
  pointer-events: none;
}

.footer-glow-a {
  width: 260px;
  height: 260px;
  background: #51d0ff;
  top: -80px;
  left: -40px;
}

.footer-glow-b {
  width: 300px;
  height: 300px;
  background: #ff6bd6;
  right: -80px;
  bottom: -100px;
}

.footer-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 0.9fr 0.9fr;
  gap: 28px;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.footer-brand-block p,
.footer-address,
.footer-links li {
  color: rgba(255,255,255,0.82);
}

.site-footer h4 {
  margin-top: 6px;
  margin-bottom: 16px;
  font-size: 1.05rem;
  color: #fff;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.footer-links a:hover {
  text-decoration: underline;
}

.footer-bottom {
  position: relative;
  z-index: 1;
  margin-top: 36px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,0.12);
}

/* REVEAL */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
  transition-delay: var(--reveal-delay, 0ms);
}

[data-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
}

/* RESPONSIVE */
@media (max-width: 1180px) {
  .desktop-nav {
    display: none;
  }

  .menu-toggle {
    display: inline-block;
  }

  .hero-inner,
  .about-grid,
  .mission-grid,
  .support-grid,
  .contact-grid,
  .footer-grid,
  .impact-grid,
  .action-grid {
    grid-template-columns: 1fr;
  }

  .mission-points {
    grid-template-columns: 1fr;
  }

  .hero-card {
    max-width: 620px;
  }
}

@media (max-width: 768px) {
  .container {
    width: min(calc(100% - 24px), var(--container));
  }

  .topbar-inner {
    min-height: 48px;
    flex-direction: column;
    justify-content: center;
    padding: 8px 0;
    text-align: center;
  }

  .header-inner {
    min-height: 78px;
  }

  .brand-copy strong {
    font-size: 0.92rem;
  }

  .brand-copy small {
    font-size: 0.7rem;
    letter-spacing: 0.12em;
  }

  .hero {
    min-height: auto;
  }

  .hero-inner {
    min-height: auto;
    padding: 88px 0 120px;
  }

  .hero-controls {
    bottom: 20px;
    gap: 12px;
  }

  .hero-actions,
  .hero-meta,
  .feature-tags {
    flex-direction: column;
  }

  .btn,
  .hero-meta span {
    width: 100%;
  }

  .action-card img {
    height: 220px;
  }

  .mission-image img {
    height: 340px;
  }

  section {
    padding: 78px 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  * {
    transition: none !important;
    animation: none !important;
  }

  [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
  }
}