@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=DM+Sans:wght@300;400;500;600&display=swap');

:root {
  --bg: #0a0d12;
  --bg2: #0f1319;
  --bg3: #141920;
  --card: #161c25;
  --border: #1e2736;
  --accent: #1a8fa0;
  --accent2: #0fc6dc;
  --accent3: #0a7a8a;
  --text: #e8ecf0;
  --muted: #7a8a9a;
  --light: #b8c8d8;
  --white: #ffffff;
  --coral: #e05a3a;
  --gold: #c8a84b;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  font-weight: 300;
  line-height: 1.7;
  overflow-x: hidden;
}

/* ─── NAVBAR ─── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(10, 13, 18, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  padding: 0 2rem;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.nav-logo img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
}

.nav-logo span {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  line-height: 1.2;
}

.nav-logo span em {
  display: block;
  font-style: normal;
  color: var(--accent2);
  font-size: 0.7rem;
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

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

.nav-links a {
  color: var(--light);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 400;
  padding: 0.4rem 0.75rem;
  border-radius: 6px;
  transition: all 0.2s;
  letter-spacing: 0.02em;
}

.nav-links a:hover {
  color: var(--white);
  background: rgba(26, 143, 160, 0.15);
}

.nav-links a.active {
  color: var(--accent2);
}

.nav-donate-btn {
  background: var(--accent) !important;
  color: var(--white) !important;
  padding: 0.4rem 1rem !important;
  border-radius: 6px !important;
  font-weight: 500 !important;
}

.nav-donate-btn:hover {
  background: var(--accent2) !important;
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}

.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--light);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ─── PAGE WRAPPER ─── */
main {
  padding-top: 70px;
}

/* ─── HERO ─── */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 20% 50%, rgba(26,143,160,0.18) 0%, transparent 60%),
              radial-gradient(ellipse at 80% 20%, rgba(15,198,220,0.08) 0%, transparent 50%),
              linear-gradient(180deg, #0a0d12 0%, #0d1520 100%);
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(26,143,160,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(26,143,160,0.06) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 2rem;
  width: 100%;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(26,143,160,0.12);
  border: 1px solid rgba(26,143,160,0.3);
  border-radius: 100px;
  padding: 0.35rem 1rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--accent2);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 2rem;
}

.hero-eyebrow::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--accent2);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.3); }
}

.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.8rem, 6vw, 5.5rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 1.5rem;
}

.hero h1 span {
  color: var(--accent2);
  display: block;
}

.hero p.lead {
  font-size: 1.15rem;
  color: var(--light);
  max-width: 560px;
  margin-bottom: 2.5rem;
  font-weight: 300;
}

.btn-group {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: var(--white);
  text-decoration: none;
  padding: 0.85rem 1.8rem;
  border-radius: 8px;
  font-weight: 500;
  font-size: 0.95rem;
  transition: all 0.2s;
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  background: var(--accent2);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(15,198,220,0.25);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--light);
  text-decoration: none;
  padding: 0.85rem 1.8rem;
  border-radius: 8px;
  font-weight: 400;
  font-size: 0.95rem;
  transition: all 0.2s;
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  border-color: var(--accent);
  color: var(--accent2);
  background: rgba(26,143,160,0.08);
}

/* ─── SECTIONS ─── */
section {
  padding: 6rem 2rem;
}

.section-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.section-eyebrow {
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--accent2);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 1rem;
}

.section-subtitle {
  color: var(--light);
  font-size: 1.05rem;
  max-width: 600px;
  font-weight: 300;
  margin-bottom: 3rem;
}

/* ─── CARDS ─── */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.card-grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2rem;
  transition: all 0.3s;
}

.card:hover {
  border-color: rgba(26,143,160,0.4);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.3);
}

.card-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  color: var(--white);
  margin-bottom: 0.6rem;
}

.card p {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.7;
}

/* ─── STATS ROW ─── */
.stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.5rem;
  margin: 3rem 0;
}

.stat-box {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.8rem;
  text-align: center;
}

.stat-box .num {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent2);
  line-height: 1;
}

.stat-box .label {
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 0.4rem;
  letter-spacing: 0.05em;
}

/* ─── DIVIDER ─── */
.divider {
  height: 1px;
  background: var(--border);
  margin: 0;
}

/* ─── ACCENT BG ─── */
.bg-accent {
  background: var(--bg2);
}

.bg-dark {
  background: var(--bg3);
}

/* ─── TWO COL ─── */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.two-col.reverse { direction: rtl; }
.two-col.reverse > * { direction: ltr; }

/* ─── LIST STYLED ─── */
.styled-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.styled-list li {
  display: flex;
  gap: 12px;
  color: var(--light);
  font-size: 0.95rem;
}

.styled-list li::before {
  content: '▸';
  color: var(--accent2);
  flex-shrink: 0;
  margin-top: 2px;
}

/* ─── TIMELINE ─── */
.timeline {
  position: relative;
  padding-left: 2rem;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--accent), transparent);
}

.timeline-item {
  position: relative;
  padding-bottom: 2.5rem;
  padding-left: 1.5rem;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -2.45rem;
  top: 6px;
  width: 10px;
  height: 10px;
  background: var(--accent2);
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(15,198,220,0.15);
}

.timeline-item h4 {
  color: var(--white);
  font-weight: 500;
  margin-bottom: 0.4rem;
}

.timeline-item p {
  color: var(--muted);
  font-size: 0.9rem;
}

/* ─── PAGE HERO (inner pages) ─── */
.page-hero {
  background: linear-gradient(180deg, #0d1520 0%, var(--bg) 100%);
  padding: 5rem 2rem 4rem;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(ellipse at 30% 60%, rgba(26,143,160,0.12) 0%, transparent 60%);
}

.page-hero-inner {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
}

.page-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3.5rem);
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 1rem;
}

.page-hero p {
  color: var(--light);
  font-size: 1.1rem;
  max-width: 580px;
}

/* ─── BREADCRUMB ─── */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 1.5rem;
  font-size: 0.82rem;
  color: var(--muted);
}

.breadcrumb a { color: var(--accent2); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb span { color: var(--muted); }

/* ─── FOOTER ─── */
footer {
  background: var(--bg3);
  border-top: 1px solid var(--border);
  padding: 4rem 2rem 2rem;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}

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

.footer-brand img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  margin-bottom: 1rem;
}

.footer-brand h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  color: var(--white);
  margin-bottom: 0.75rem;
}

.footer-brand p {
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.7;
}

.footer-col h4 {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-col ul a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.88rem;
  transition: color 0.2s;
}

.footer-col ul a:hover {
  color: var(--accent2);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom p {
  color: var(--muted);
  font-size: 0.82rem;
}

/* ─── FORM ─── */
.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  color: var(--light);
  margin-bottom: 0.5rem;
  font-weight: 400;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.8rem 1rem;
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  transition: border-color 0.2s;
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--accent);
}

.form-group textarea {
  resize: vertical;
  min-height: 140px;
}

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

/* ─── GALLERY ─── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
}

.gallery-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 4/3;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  transition: all 0.3s;
}

.gallery-item:hover {
  transform: scale(1.02);
  border-color: var(--accent);
}

.gallery-item .caption {
  position: absolute;
  bottom: 0;
  left: 0; right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.8));
  padding: 1.5rem 1rem 1rem;
  font-size: 0.82rem;
  color: var(--light);
}

/* ─── BLOG CARD ─── */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
}

.blog-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s;
  text-decoration: none;
  display: block;
}

.blog-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
}

.blog-card-thumb {
  background: linear-gradient(135deg, var(--bg3), var(--border));
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  border-bottom: 1px solid var(--border);
}

.blog-card-body {
  padding: 1.5rem;
}

.blog-tag {
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--accent2);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.blog-card-body h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  color: var(--white);
  margin-bottom: 0.6rem;
  line-height: 1.3;
}

.blog-card-body p {
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.6;
}

.blog-meta {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
  font-size: 0.78rem;
  color: var(--muted);
}

/* ─── DONATE TIERS ─── */
.donate-tier {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s;
  cursor: pointer;
  position: relative;
}

.donate-tier:hover,
.donate-tier.featured {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent), 0 16px 40px rgba(26,143,160,0.15);
}

.donate-tier.featured .tier-badge {
  display: inline-block;
  background: var(--accent);
  color: white;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  margin-bottom: 0.8rem;
}

.tier-amount {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent2);
  margin-bottom: 0.3rem;
}

.tier-name {
  font-size: 1rem;
  color: var(--white);
  font-weight: 500;
  margin-bottom: 1rem;
}

.tier-desc {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.6;
}

/* ─── HIGHLIGHT BOX ─── */
.highlight-box {
  background: rgba(26,143,160,0.08);
  border: 1px solid rgba(26,143,160,0.25);
  border-radius: 12px;
  padding: 2rem;
  margin: 2rem 0;
}

.highlight-box h3 {
  color: var(--accent2);
  font-family: 'Playfair Display', serif;
  margin-bottom: 0.75rem;
}

.highlight-box p {
  color: var(--light);
  font-size: 0.95rem;
}

/* ─── TEAM ─── */
.team-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
}

.team-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent3), var(--accent));
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
}

.team-card h3 {
  font-family: 'Playfair Display', serif;
  color: var(--white);
  font-size: 1.05rem;
  margin-bottom: 0.25rem;
}

.team-card .role {
  font-size: 0.8rem;
  color: var(--accent2);
  letter-spacing: 0.05em;
  font-weight: 500;
  margin-bottom: 0.75rem;
}

.team-card p {
  color: var(--muted);
  font-size: 0.85rem;
}

/* ─── PROGRESS BAR ─── */
.progress-wrap {
  background: var(--border);
  border-radius: 100px;
  height: 8px;
  margin-top: 0.5rem;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  border-radius: 100px;
}

/* ─── RESPONSIVE ─── */
@media (max-width: 900px) {
  .two-col { grid-template-columns: 1fr; gap: 2.5rem; }
  .two-col.reverse { direction: ltr; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 2rem; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  
  nav.open .nav-links {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 70px; left: 0; right: 0;
    background: rgba(10,13,18,0.98);
    border-bottom: 1px solid var(--border);
    padding: 1rem;
    gap: 0.25rem;
  }

  .hero { min-height: 80vh; }
  .form-row { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  section { padding: 4rem 1.25rem; }
  .page-hero { padding: 4rem 1.25rem 3rem; }
}
