:root {
  --bg: #ffffff;
  --text: #1a1a1a;
  --primary: #0b3d2e;
  --card: #f4f4f4;
  --accent: #e63946;
}
/* PAGE TRANSITION OVERLAY */
#page-transition {
  position: fixed;
  inset: 0;
  background: linear-gradient(180deg, var(--primary), #000);
  z-index: 9999;
  pointer-events: none;
  transform: translateY(100%);
  transition: transform 0.6s cubic-bezier(0.77, 0, 0.175, 1);
}

#page-transition.active {
  transform: translateY(0);
}

/* PAGE ENTER */
.page-enter {
  animation: pageEnter 0.8s cubic-bezier(0.25, 1, 0.5, 1) both;
}

@keyframes pageEnter {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* INTERNAL PAGES */
.page {
  padding: 4rem 0;
  min-height: calc(100vh - 140px);
}

.page h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

.page p {
  max-width: 800px;
  font-size: 1.05rem;
  line-height: 1.8;
}

/* Page enter animation */
.page-enter {
  animation: pageEnter 0.6s ease forwards;
}

@keyframes pageEnter {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


html[data-theme="dark"] {
  --bg: #0f172a;
  --text: #e5e7eb;
  --primary: #020617;
  --card: #1e293b;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: system-ui, sans-serif;
}

/* NAVBAR */
.navbar {
  background: var(--primary);
  padding: 1rem 0;
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo, .nav-links a {
  color: #fff;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 1.5rem;
}

.nav-links a.active {
  text-decoration: underline;
}

#themeToggle {
  background: none;
  border: none;
  color: #fff;
  font-size: 1.2rem;
  cursor: pointer;
}

/* HERO */
.hero {
  padding: 4rem 1rem;
  text-align: center;
}

/* FEATURES */
.container {
  width: 90%;
  max-width: 1100px;
  margin: auto;
}

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin: 3rem auto;
}

.feature-card {
  background: var(--card);
  padding: 2rem;
  border-radius: 6px;
}

/* FORMS */
input, textarea {
  width: 100%;
  padding: 0.7rem;
  margin-bottom: 1rem;
  background: var(--card);
  border: none;
  color: var(--text);
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  padding: 0.7rem 1.5rem;
  border: none;
  cursor: pointer;
}

footer {
  background: var(--primary);
  color: #fff;
  text-align: center;
  padding: 1rem;
}
.emergency-box {
  background: #b91c1c;
  color: #fff;
  padding: 2rem;
  border-radius: 8px;
  margin-bottom: 2.5rem;
}

.btn-emergency {
  display: inline-block;
  margin-top: 1rem;
  background: #fff;
  color: #b91c1c;
  padding: 0.8rem 1.4rem;
  font-weight: 700;
  border-radius: 4px;
  text-decoration: none;
}
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 2rem 0;
}

.contact-btn {
  padding: 0.8rem 1.4rem;
  border-radius: 6px;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
}

.contact-btn.phone { background: #1e40af; }
.contact-btn.whatsapp { background: #16a34a; }
.contact-btn.telegram { background: #0284c7; }
.trust-fund-btn {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  background: var(--accent);
  color: #fff;
  border: none;
  padding: 0.9rem 1.4rem;
  border-radius: 999px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 10px 25px rgba(0,0,0,0.25);
  z-index: 9000;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.trust-fund-btn:hover {
  transform: translateY(-3px);
  opacity: 0.95;
}
.trust-fund-modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.65);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 10000;
}

.trust-fund-modal.active {
  display: flex;
}
.trust-fund-content {
  background: var(--bg);
  color: var(--text);
  width: 90%;
  max-width: 520px;
  padding: 2rem;
  border-radius: 10px;
  position: relative;
  animation: modalIn 0.4s ease;
}

@keyframes modalIn {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.close-modal {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  font-size: 1.6rem;
  cursor: pointer;
  color: var(--text);
}

.note {
  font-size: 0.9rem;
  opacity: 0.85;
  margin-top: 1rem;
}
.donation-actions {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

.donate-btn {
  flex: 1;
  padding: 0.8rem;
  border-radius: 6px;
  border: none;
  font-weight: 700;
  cursor: pointer;
}

.donate-btn.primary {
  background: var(--primary);
  color: #fff;
}

.donate-btn.secondary {
  background: var(--card);
  color: var(--text);
}
/* BACKGROUND SLIDESHOW */
#bg-slideshow {
  position: fixed;
  inset: 0;
  z-index: -1; /* behind content */
  overflow: hidden;
}

#bg-slideshow img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
}

#bg-slideshow img.active {
  opacity: 1;
  transform: scale(1.05);
  transition: opacity 1.5s ease-in-out, transform 12s linear;
}
/* CONTENT BLOCK */
.content-block {
  background: rgba(0, 0, 0, 0.65); /* semi-transparent dark block */
  color: #fff;
  padding: 2rem 2.5rem;
  border-radius: 12px;
  max-width: 900px;
  margin: 4rem auto;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(8px); /* optional: blur background for clarity */
}

.content-block h2 {
  margin-bottom: 1.5rem;
  font-size: 2rem;
}

.content-block p {
  margin-bottom: 1rem;
  line-height: 1.75;
  font-size: 1rem;
}

/* Optional: Adjust buttons inside block */
.content-block .contact-actions {
  display: flex;
  gap: 1rem;
  margin: 1.5rem 0;
  flex-wrap: wrap;
}

.content-block .contact-btn {
  flex: 1;
  padding: 0.8rem;
  border-radius: 6px;
  font-weight: 700;
  text-decoration: none;
  text-align: center;
}

.contact-btn.phone { background: #1e40af; color: #fff; }
.contact-btn.whatsapp { background: #16a34a; color: #fff; }
.contact-btn.telegram { background: #0284c7; color: #fff; }
/* HEADER */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
}

/* BRAND */
.brand {
  display: flex;
  align-items: center;
  gap: 1.2rem; /* more breathing space */
}


.logo-img {
  width: 68px;          /* bigger, but still elegant */
  height: auto;
  filter: drop-shadow(0 4px 10px rgba(0,0,0,0.4));
}
.site-title {
  margin: 0;
  font-size: 2.1rem;      /* noticeably larger */
  font-weight: 900;       /* authoritative */
  letter-spacing: 1px;
  color: #ffffff;
  text-transform: uppercase;
  text-shadow: 0 3px 12px rgba(0,0,0,0.6);
}

.site-title span {
  color: #22c55e;
}
.site-header {
  padding: 1.3rem 2.5rem;
}

/* NAV */
.main-nav a {
  margin-left: 1.5rem;
  text-decoration: none;
  font-weight: 600;
  color: #fff;
  position: relative;
}

.main-nav a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  background: #22c55e;
  left: 0;
  bottom: -5px;
  transition: width 0.3s ease;
}

.main-nav a:hover::after {
  width: 100%;
}
.submit-report-btn {
  display: inline-block;
  margin-top: 1.5rem;
  padding: 0.9rem 1.8rem;
  background: #dc2626; /* emergency red */
  color: #fff;
  font-weight: 800;
  text-decoration: none;
  border-radius: 8px;
  box-shadow: 0 10px 25px rgba(220, 38, 38, 0.4);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.submit-report-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 35px rgba(220, 38, 38, 0.55);
}
/* FLOATING TRUST FUND BUTTON */
.floating-trust-btn {
  position: fixed;
  bottom: 25px;
  right: 25px;
  padding: 0.9rem 1.4rem;
  font-size: 1rem;
  font-weight: 800;
  border: none;
  border-radius: 50px;
  background: linear-gradient(135deg, #16a34a, #22c55e);
  color: #fff;
  cursor: pointer;
  z-index: 1200;
  box-shadow: 0 15px 40px rgba(22, 163, 74, 0.5);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.floating-trust-btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 55px rgba(22, 163, 74, 0.65);
}
/* OVAL FEATURE CARDS */
.feature-card {
  background: rgba(0, 0, 0, 0.65);
  padding: 2.2rem 2.4rem;
  border-radius: 999px; /* makes it oval */
  text-align: center;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.55);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  color: #fff;
  max-width: 460px;
  margin: 1.5rem auto;
}

/* Text spacing inside oval */
.feature-card h3 {
  margin-bottom: 0.8rem;
  font-size: 1.2rem;
}

.feature-card p {
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Hover effect */
.feature-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.7);
}

