/* ================= GENERAL RESETS ================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
}

body {
  font-family: "Century Gothic", sans-serif;
  overflow-x: hidden;
}

body.no-scroll {
  height: 100vh;
  overflow: hidden !important;
}

/* ================= HEADER ================= */
.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 60px;
  position: fixed;
  top: 0;
  width: 100%;
  height: 90px;
  background: #f9f9f9;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  z-index: 1000;
}

.logo {
  margin-left: -30px;
}

.logo img {
  width: 300px;
  height: 59px;
  margin-top: 14px;
  display: block;
}

.navbar ul {
  display: inline-flex;
  list-style: none;
}

.navbar a {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 90px;
  padding: 0 8px;
  margin-top: 5px;
  text-decoration: none;
  color: #447693;
  font-size: 18px;
  font-weight: 400;
  transition: color 0.3s ease;
  overflow: hidden;
}

.navbar a::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0%;
  background: #940e0d;
  transition: all 450ms ease-in-out;
  z-index: -1;
}

.navbar a:hover {
  color: #fff;
}

.navbar a:hover::before {
  height: 100%;
}

/* .donate-btn button {
  background: #940e0d;
  color: #fff;
  padding: 16px 20px;
  border: none;
  margin-right: 60px;
  border-radius: 5px;
  font-size: 14px;
  cursor: pointer;
  transition: background 0.3s;
}

.donate-btn button:hover {
  background: #bc6c6b;
} */

.floating-donate-btn {
  position: fixed;
  bottom: 18px;
  right: 0;
  background: #7c0c0c;
  color: #fff;
  padding: 14px 22px;
  border-radius: 5px;
  font-family: "Century Gothic", sans-serif;
  font-size: 14px;
  font-weight: 400;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(0,0,0,0.2);
  z-index: 1000;
  transition: 0.3s ease;
}

.floating-donate-btn:hover {
  background: #bc6c6b;
  transform: translateY(-3px);
}

.menu-toggle {
  display: none;
  font-size: 28px;
  cursor: pointer;
  background: transparent;
  border: none;
  padding: 6px 8px;
}

.menu-toggle .hamburger {
  color: #ffffff !important;
}

/* ============= POPUP DONATION FORM ============= */

.modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 9999;
  justify-content: center;
  align-items: center;
}

.modal-content {
  background: #fffdf5;
  width: 90%;
  max-width: 750px;
  padding: 30px 40px;
  border-radius: 12px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 5px 25px rgba(0,0,0,0.25);
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(15px); }
  to { opacity: 1; transform: translateY(0); }
}

.close {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 26px;
  cursor: pointer;
  color: #444;
}

h2 {
  margin-bottom: 20px;
  color: #444;
}

label {
  /* font-weight: 600; */
  margin-top: 12px;
  display: block;
}

input {
  width: 100%;
  padding: 12px;
  margin-top: 6px;
  border: 1px solid #d0d0d0;
  border-radius: 6px;
}

/* Row for side-by-side fields */
.row {
  display: flex;
  gap: 20px;
}

.col {
  flex: 1;
}


/* ================= HERO SECTION ================= */
.hero-slider {
  position: relative;
  width: 100%;
  height: 87vh;
  overflow: hidden;
  margin-top: 94px;
}

.slides-container {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.hero-slide.active {
  opacity: 1;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  top: 150px;
  width: 78%;
  height: 50%;
  padding-left: 20px;
  display: flex;
  align-items: center;
}

.hero-text {
  width: 60%;
  padding: 40px;
  border-radius: 5px;
  color: #fff;
  backdrop-filter: blur(2px);
}

.hero-text h1 {
  font-size: 38px;
  font-weight: 550;
  margin-bottom: 25px;
}

.hero-text p {
  font-size: 25px;
  margin-bottom: 40px;
}

.hero-btn {
  background: #940e0d;
  color: #fff;
  padding: 15px 15px;
  border-radius: 5px;
  border: none;
  font-size: 22px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.hero-btn:hover {
  background: #bc6c6b;
}

.slider-dots {
  position: absolute;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
}

.dot {
  width: 12px;
  height: 12px;
  background: #fff;
  opacity: 0.6;
  border-radius: 50%;
  cursor: pointer;
  border: none;
  transition: opacity 0.3s;
}

.dot.active {
  background: #940e0d;
  opacity: 1;
}

.ai-credit {
  position: absolute;
  bottom: 15px;
  right: 20px;
  font-size: 13px;
  font-weight: 500;
  color: #ffffff;
 <!-- background: rgba(0, 0, 0, 0.4);-->
  padding: 4px 10px;
  border-radius: 4px;
  z-index: 10;
  pointer-events: none; /* so it doesn't interfere with clicks */
}

/* ================= GET INVOLVED MODAL ================= */
.model {
  display: none;
  position: fixed;
  z-index: 1000;
  inset: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  justify-content: center;
  align-items: center;
}

.model-content {
  background: #f9f6ef;
  padding: 30px 40px;
  border-radius: 10px;
  width: 90%;
  max-width: 600px;
  max-height: 90vh;     
  overflow-y: auto;      
  margin: 5% auto;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  animation: fadeIn 0.3s ease;
  position: relative;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

.close {
  position: absolute;
  top: 15px;
  right: 20px;
  color: #333;
  font-size: 24px;
  cursor: pointer;
}

label {
  display: block;
  margin-top: 15px;
  font-size: 15px;
  color: #333333dc;
}

.required::after {
  content: " *";
  color: red;
}

input[type=text],
input[type=email],
input[type=tel],
textarea {
  width: 100%;
  padding: 10px;
  margin-top: 6px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 14px;
}

textarea {
  height: 90px;
  resize: vertical;
}

.radio-group label {
  display: flex;
  align-items: center;
  margin: 6px 0;
}

.radio-group input {
  margin-right: 10px;
}

.row {
  display: flex;
  gap: 20px;
  margin-top: 15px;
}

.col {
  flex: 1;
}

.col input {
  width: 100%;
}

/* ✅ MOBILE RESPONSIVE — STACK ITEMS */
@media (max-width: 500px) {
  .row {
    flex-direction: column;
  }
}

.submit-btn {
  display: block;
  margin: 25px auto 0;
  background: #ffce4a;
  padding: 12px 28px;
  border-radius: 6px;
  cursor: pointer;
  border: none;
  font-size: 16px;
  transition: background 0.3s ease;
}

.submit-btn:hover {
  background: #ffb700;
}

.success-message {
  display: none;
  margin-top: 15px;
  text-align: center;
  color: green;
  font-weight: bold;
}



/* ================= MISSION SECTION ================= */
.mission-section {
  padding: 80px 40px;
  background: #fff;
  text-align: center;
  font-family: "Century Gothic", sans-serif;
}

.mission-section h1 {
  font-size: 30px;
  font-weight: 500;
}

/* CARD WRAPPER */
.mission-cards {
  margin-top: 50px;
  display: flex;
  justify-content: center;
  gap: 80px;
  flex-wrap: wrap;
}

/* CARD */
.mission-card {
  background: #f9f6ef;
  width: 350px;
  min-height: 310px;
  padding: 40px 20px;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* ICON */
.mission-card img {
  width: 90px;
  height: 100px;
  margin-bottom: 10px;
  filter: invert(36%) sepia(89%) saturate(6361%) hue-rotate(203deg) brightness(70%) contrast(101%);
}

/* Title */
.mission-card h1 {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 15px;
}

/* Text */
.mission-card p {
  font-family: "Century Gothic", sans-serif;
  font-weight: 500;
  font-size: 16px;
  margin-bottom: 20px;
  text-align: justify;
}

/* Button */
.mission-btn {
  background: #940e0d;
  color: #fff;
  padding: 10px 18px;
  border-radius: 6px;
  border: none;
  font-size: 15px;
  cursor: pointer;
  transition: 0.3s ease;
}

.mission-btn:hover {
  background: #447693;
}


.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  inset: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  justify-content: center;
  align-items: center;
}

.modal-content {
  background: #f9f6ef;
  padding: 30px 40px;
  border-radius: 10px;
  width: 90%;
  max-width: 600px;
  margin: 10% auto;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  animation: fadeIn 0.3s ease;
  position: relative;
  font-family: "Century Gothic", sans-serif;
}

.modal-content h2{
  font-family: "Century Gothic", sans-serif;
  font-size: 18px;
  text-align: center;
  margin-bottom: 15px;
}

.modal-content p{
  text-align: justify;
  line-height: 1.7;
}
/* ================= IMPACT BAR ================= */
.impact-bar {
  width: 80%;
  margin: auto;
  padding: 80px 40px;
  text-align: center;
  background: #fff;
  font-family: "Century Gothic", sans-serif;
}

.impact-item h1 {
  font-size: 30px;
  font-weight: 500;
  margin-bottom: 50px;
}

.impact-item p {
  font-size: 18px;
  color: rgba(0,0,0,0.65);
  line-height: 2;
}



/* ================= INSPIRATION SECTION ================= */
.inspiration-section {
  display: flex;
  flex-wrap: wrap;
  gap: 120px;
  margin-top: 60px;
  padding: 80px;
  background: #f9f6ef;
  border-top: 1px solid #ddd;
  border-bottom: 1px solid #ddd;
  justify-content: center;
}

.inspiration-image img {
  width: 380px;
  height: 380px;
}

.image-caption {
  margin-top: 8px;
  text-align: center;
  font-size: 16px;
  font-weight: 500;
  color: #222;
}

.image-caption .years {
  font-size: 13px;
  color: #999;
  font-weight: 500;
}

.inspiration-content {
  max-width: 700px;
}

.inspiration-content h2 {
  font-size: 22px;
  font-weight: 500;
  color: #555;
  margin: 30px 0 30px 0;
}

.inspiration-content p {
  font-size: 18px;
  color: #333;
  line-height: 1.7;
  margin-bottom: 90px;
}

.inspire-btn {
  background: #940e0d;
  color: #fff;
  padding: 10px 22px;
  border-radius: 4px;
  border: none;
  font-size: 18px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.inspire-btn:hover {
  background: #447693;
}



/* ================= JOIN SECTION ================= */
.Join-bar {
  width: 65%;
  margin: auto;
  padding: 80px 40px;
  background: #fff;
  text-align: center;
}

.Join-item h1 {
  font-size: 30px;
  font-weight: 500;
  margin-bottom: 50px;
}

.Join-item p {
  font-size: 18px;
  color: rgba(0,0,0,0.65);
  line-height: 1.5;
}



/* ================= PARTNERS ================= */

.partner-section {
  width: 70%;
  margin: auto;
  padding: 80px 40px;
  text-align: center;
  background: #fff;
}

.partners-slider {
  width: 100%;
  height: 100px;
  overflow: hidden;
  margin-top: 30px;
  /* border: 1px solid red; */
  position: relative;
}

.partners-track {
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  gap: 50px;
  align-items: center;
  white-space: nowrap;
  will-change: transform;
}

.partner-logo {
  height: 80px;
  width: auto;
  object-fit: contain;
  opacity: inherit;
}


/* ================= FOOTER ================= */
.site-footer {
  background: #d4d4d4;
  padding: 60px 20px 30px;
}

/* Main layout: clean gap, centered middle */
.footer-container {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding-bottom: 30px;
  gap: 60px;
}

/* ----- LEFT (Logo) ----- */
.footer-left {
  padding-left: 50px;
}
.footer-left img {
  width: 260px;
  height: 52px;
  /* margin-left: 40px; */
}

/* ----- CENTER (Links) ----- */
.footer-middle {
  flex: 1;
  display: flex;
  justify-content: center;
  gap: 80px; /* Space between the middle columns */
  text-align: center; /* CENTER H4 + LINKS */
}

/* Each box in the center */
.footer-links,
.footer-contact {
  min-width: 160px;
}

.footer-middle h4,
.footer-contact h4 {
  font-size: 1rem;
  color: #447693;
  margin-bottom: 12px;
}

.footer-middle ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-middle li {
  margin: 6px 0;
}

.footer-middle a {
  color: #1c1c1c;
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.3s ease;
}

.footer-middle a:hover {
  color: #940e0d;
}

.footer-contact p {
  margin-top: 6px;
  font-size: 0.95rem;
}

/* ----- RIGHT (Social Media) ----- */
.footer-right {
  text-align: right;
  padding-right: 50px;
}

.footer-right h4 {
  font-size: 18px;
  color: #940e0d;
  margin-bottom: 12px;
  margin-right: 10px;
}

.social-icons {
  display: flex;
  gap: 22px;
}

/* ICONS */
.social-icons a {
  font-size: 28px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.social-icons a:hover {
  transform: translateY(-3px);
}

/* LinkedIn */
.social-icons a:nth-child(1) {
  color: #0A66C2;
}
.social-icons a:nth-child(1):hover {
  color: #004182;
}

/* Facebook */
.social-icons a:nth-child(2) {
  color: #1877F2;
}
.social-icons a:nth-child(2):hover {
  color: #0d5bd7;
}

/* Instagram */
.social-icons a:nth-child(3) {
  background: linear-gradient(45deg,#f58529,#dd2a7b,#8134af,#515bd4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.social-icons a:nth-child(3):hover {
  opacity: 0.8;
  transform: scale(1.1);
}

/* ----- COPYRIGHT BAR ----- */
.copyright {
  height: 50px;
  background: #447693;
  display: flex;
  justify-content: center;
  align-items: center;
}

.copyright p {
  font-size: 14px;
  color: #fff;
}

.copyright a {
  font-size: 14px;
  color: #fff;
}

#model2 .radio-group label {
  display: flex !important;
  align-items: center !important;
  flex-direction: row !important;
  gap: 8px;
  margin: 6px 0;
}

#model2 .radio-group input[type="radio"] {
  width: auto !important;
  margin: 0 !important;
  padding: 0 !important;
}

.model .close,
.modal .close {
  background: none !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
}

/* ============================================================
RESPONSIVE BREAKPOINTS (FINAL - whole site)
-- Keep colors, fonts and general sizes intact; only layout changes
============================================================ */

/* ---------- Utility for smaller paddings on medium screens ---------- */
@media (max-width: 1200px) {
  .site-header {
    padding: 0 40px;
  }
  .mission-section,
  .impact-bar,
  .inspiration-section,
  .partner-section,
  .Join-bar {
    padding-left: 30px;
    padding-right: 30px;
  }
  .footer-left { padding-left: 30px; }
  .footer-right { padding-right: 30px; }
}

/* ---------- Tablet landscape 992px and below ---------- */
@media (max-width: 992px) {
  .navbar ul { gap: 14px; }
  .logo img { width: 260px; height: auto; margin-top: 10px; }
  .hero-slider { height: 70vh; margin-top: 90px; }
  .hero-text h1 { font-size: 34px; }
  .hero-text p { font-size: 20px; }
  .mission-card { width: 320px; padding: 34px; }
  .inspiration-image img { width: 320px; height: 320px; }
  .inspiration-content { max-width: 600px; }
  .footer-container { gap: 30px; }
}

/* ---------- Tablet portrait / large phones 768px and below ---------- */
@media (max-width: 768px) {
  /* Header transforms into stacked layout */
  .site-header {
    padding: 8px 18px;
    height: auto;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
  }

  .logo { margin-left: 0; order: 1; width: 100%; display: flex; justify-content: center; }
  .logo img { width: 220px; height: auto; margin-top: 6px; }

  /* show hamburger and hide inline nav by default */
  .menu-toggle { display: block; order: 2; background: transparent; border: none; color: #447693; }
  .menu-toggle .hamburger { font-size: 28px; line-height: 1; }

  /* the navbar becomes a full-width dropdown (hidden until JS toggles .show) */
  .navbar {
    position: absolute;
    top: calc(90px + 8px);
    left: 0;
    width: 100%;
    background: #f9f9f9;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    display: none;
    padding: 18px 0;
    z-index: 1500;
    order: 3;
  }

  .navbar.show { display: block; }
  .navbar ul {
    flex-direction: column;
    align-items: center;
    gap: 6px;
  }

  .navbar a { height: auto; padding: 12px 16px; margin: 0; font-size: 16px; }

  /* donate button becomes centered full-width row under logo */
  .floating-donate-btn {
    bottom: 75px; 
    right: 15px;
    padding: 12px 18px;
    font-size: 13px;
    z-index: 9999;
  }

  /* Hero adjustments */
  .hero-slider {
    height: 60vh;
    margin-top: 0; /* header is no longer overlaying same way */
  }
  .hero-overlay {
    position: absolute;
    top: auto;
    bottom: 8%;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    height: auto;
    padding-left: 0;
    justify-content: center;
  }
  .hero-text {
    width: 100%;
    padding: 20px;
    background: rgba(0,0,0,0); /* keep colors same — transparent */
  }
  .hero-text h1 { font-size: 30px; }
  .hero-text p { font-size: 18px; margin-bottom: 20px; }
  .hero-btn { font-size: 18px; padding: 12px 18px; }

  /* mission cards wrap tighter */
  .mission-cards { gap: 24px; justify-content: center; }
  .mission-card { width: calc(50% - 24px); padding: 28px; }

  /* footer stacks */
  .footer-container { flex-direction: column; align-items: center; gap: 22px; text-align: center; }
  .footer-left, .footer-right { padding: 0; }
  .footer-right { text-align: center; }
  .footer-middle { gap: 36px; }
}

/* ---------- Small phones 600px and below ---------- */
@media (max-width: 600px) {
  .site-header { padding: 8px 14px; }
  .logo img { width: 180px; height: auto; margin-top: 4px; }
  .hero-slider { height: 50vh; }
  .hero-text h1 { font-size: 24px; }
  .hero-text p { font-size: 16px; }
  .hero-btn { font-size: 16px; padding: 10px 14px; }

  /* mission cards become single column */
  .mission-cards { gap: 16px; }
  .mission-card { width: 100%; padding: 26px; }

  /* inspiration section stacks */
  .inspiration-section { padding: 40px 22px; gap: 28px; }
  .inspiration-image img { width: 100%; height: auto; max-width: 320px; }
  .inspiration-content { max-width: 100%; padding: 0 12px; }

  .Join-bar { width: 100%; padding: 40px 20px; }
  .impact-bar { width: 100%; padding: 40px 20px; }

  /* partner logos wrap nicely */
  .partner-logos { gap: 18px; padding: 0 10px; }
  .partner-logo { height: 64px; margin-right: 18px; }

  .footer-middle { gap: 24px; flex-wrap: wrap; }
}

/* ---------- Very small phones 480px and below ---------- */
@media (max-width: 480px) {
  .site-header { padding: 8px 12px; }
  .logo img { width: 160px; }
  .menu-toggle {
    display: block;
    position: absolute;
    right: 15px;
    height: 65px;
    width: 50px;
    /* top: 12px; */
    background: none;
    border: none;
    font-size: 26px;
    cursor: pointer;
    z-index: 1000;
    background-color: #940e0d;
  }
  .hero-slider { height: 45vh; }
  .hero-text h1 { font-size: 20px; }
  .hero-text p { font-size: 14px; margin-bottom: 16px; }
  .hero-overlay { bottom: 6%; }

  .mission-section { padding: 40px 18px; }
  .mission-card { padding: 20px; }

  .inspiration-section { padding: 30px 12px; gap: 18px; }
  .inspiration-content p { margin-bottom: 36px; }

  .partner-section { padding: 40px 12px; }
  .partner-logo { height: 56px; margin-right: 12px; }

  .footer-container { padding: 0 12px; }
  .footer-left img { width: 200px; height: auto; }
}

/* ---------- Extra small devices 360px and below (ensure slider 40vh) ---------- */
@media (max-width: 360px) {
  /* ===== YOUR ORIGINAL CODE ===== */
  .logo img { width: 220px; }
  .donate-btn{ width: auto;}
    .menu-toggle {
    display: block;
    position: absolute;
    right: 10px;
    height: 65px;
    /* top: 12px; */
    background: none;
    border: none;
    font-size: 26px;
    cursor: pointer;
    z-index: 1000;
    background-color: #940e0d;
  }
  .hero-slider { height: 80vh !important; }
  .hero-text h1 { font-size: 18px; }
  .hero-text p { font-size: 13px; }
  .hero-btn { font-size: 14px; padding: 9px 12px; }

  .mission-section { padding: 30px 12px; }
  .mission-card { padding: 18px; }

  .inspiration-section { padding: 22px 10px; gap: 12px; }
  .partner-logo { height: 48px; }

  .footer-left img { width: 160px; }
  .copyright { height: auto; padding: 10px 0; text-align: center; }


  /* ===== HEADER FIXES ADDED ===== */
  /* header {
  position: relative;
  z-index: 999;
} */
  .site-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 65px;
    padding: 0 10px;
    position: relative;
  }

  .logo {
    margin-left: 0;
  }

  .logo img {
    width: 150px; /* smaller for tiny screens */
    height: auto;
  }

  /* Donate Button alignment */
  .donate-btn {
    margin-left: auto;
    margin-right: 45px; /* space before hamburger */
  }

  .donate-btn button {
    /* margin-right: 20px; */
    padding: 6px 10px;
    font-size: 12px;
    position: relative;
  }

  /* Hamburger visible */
  .menu-toggle {
    display: block;
    position: absolute;
    right: 10px;
    height: 65px;
    /* top: 12px; */
    background: none;
    border: none;
    font-size: 26px;
    cursor: pointer;
    z-index: 1000;
    background-color: #940e0d;
  }

  /* Navbar hidden until clicked */
  .navbar {
    display: none;
    position: absolute;
    top: 65px;
    right: 10px;
    width: 200px;
    background-color: #940e0d;
    /* border-radius: 8px; */
    padding: 12px 0;
    text-align: right;
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
    z-index: 999;
  }

  .navbar.active {
    display: block;
  }

  .navbar ul {
    flex-direction: column;
    gap: 8px;
    padding: 0;
  }

  .navbar a {
    padding: 10px 16px;
    height: auto;
    display: block;
    font-size: 14px;
  }
}


/* ---------- Accessibility and touch improvements ---------- */
/* enlarge click targets on small screens */
@media (max-width: 768px) {
  .site-header {
    padding: 8px 14px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  /* Logo stays left */
  .logo {
    order: 1;
    width: auto;
    margin-left: 0;
  }

  /* Donate button next to hamburger (right side) */
  .donate-btn {
    order: 2;
    width: auto;
    margin-right: 10px;
  }

  /* Show hamburger menu at the right */
  .menu-toggle {
    display: block;
    order: 3;
    /* margin-left: 10px; */
  }

  /* Hide dropdown menu by default */
  .navbar {
    display: none;
    position: absolute;
    top: 70px; /* below new header height */
    left: 0;
    width: 100%;
    background: #f9f9f9;
    text-align: center;
    padding: 10px 0;
  }

  .navbar.show {
    display: block;
  }

  .navbar ul {
    flex-direction: column;
    gap: 8px;
  }
}
  

/* ---------- Minor visual helpers to avoid overlap ---------- */
@media (max-width: 992px) {
  .hero-overlay { max-width: 100%; left: 50%; transform: translateX(-50%); }
}

/* Keep any modal content usable on small screens */
@media (max-width: 600px) {
  .modal-content, .model-content { padding: 20px; width: 95%; max-width: 520px; }
  .modal-content h2, .model-content h2 { font-size: 16px; }
}

/* Ensure hero dots remain visible on small screens */
@media (max-width: 480px) {
  .slider-dots { bottom: 12px; gap: 8px; }
  .dot { width: 10px; height: 10px; }
}

/* Final safety: prevent images from overflowing containers */
img, svg, video {
  max-width: 100%;
  height: auto;
  display: block;
}