/* ========================================================================== */
/* Base / Global Styles                                                       */
/* ========================================================================== */

body, html {
    overflow-x: hidden;
  }
  
  * {
    -webkit-tap-highlight-color: transparent;
  }
  
  body {
    min-height: 100vh;
    background-color: rgb(228, 228, 222);
    font-family: 'Josefin Sans', sans-serif;
    margin: 0;
    width: 100%;
    overflow-x: hidden;
  }
  
  h1, h2, h3, h4, h5 {
    font-family: 'Syne', sans-serif;
    color: black;
  }
  
  h1 {
    font-size: 4.3rem; 
    line-height: 5rem;
  }
  
  h2 {
    font-size: 4rem; 
  }
  
  h3 {
    font-size: 3rem; 
  }
  
  h4 {
    font-size: 2.4rem; 
  }
  
  h5 {
    font-size: 1.5rem; 
  }
  
  p, span, li {
    font-size: 1rem; 
    font-weight: 400;
    font-family: 'Josefin Sans', sans-serif;
    color: black;
    line-height: 1.2rem;
  }
  
  a {
    text-decoration: none;
    color: black;
  }
  
  a:hover {
    color: #555; 
  }
  
  a:active {
    color: #333; 
  }
  
  .button-link {
    text-decoration: none;
    color: black;
    background-color: #ffbb00;
    padding: 10px 20px;
    border-radius: 8px;
    display: inline-block;
    border: none;
  
    /* smoother transitions */
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
  }
  
  .button-link:hover {
    background-color: #e6a800; 
    color: black;
  }
  
  .button-link:active {
    transform: scale(0.95); 
  }
  
  .button-link:focus {
    outline: none; 
    transform: scale(1.05); 
  }
  
  .section-title {
    font-size: 1.2rem;
    padding-bottom: 10px;
    color: #4c6328;
  }
  
  .section-subtitle {
    padding-bottom: 10px;
    font-size: 3rem;
  }
  
  
  
  /* -- Base: responsive (≤1400px) -------------------------------------------- */
  @media (max-width: 1400px) {
    h1 { font-size: 4rem; line-height: 5.2rem; }
    h2 { font-size: 3.8rem; }
    h3 { font-size: 2.7rem; }
    h4 { font-size: 2.2rem; }
    h5 { font-size: 1.3rem; }
    a  { font-size: 0.9rem; }
  
    .section-title    { font-size: 1.2rem; }
    .section-subtitle { font-size: 2.8rem; }
  
    /* modal belongs to the page globally */
    .modal-content { width: 70%; }
  }
  
  /* -- Base: responsive (≤1024px) -------------------------------------------- */
  @media (max-width: 1024px) {
    h1 {
      font-size: 3.2rem;
      line-height: 4.8rem;
    }
    h2 { font-size: 3.5rem; }
    h3 { font-size: 2.5rem; }
    h4 { font-size: 2rem; }
    h5 { font-size: 1.2rem; }
    a, p { font-size: 0.8rem; }
  
    .button-link {
      padding: 8px 16px;
    }
  
    .section-title { font-size: 1rem; }
    .section-subtitle { font-size: 2.4rem; }
  }
  
  /* -- Base: responsive (≤768px) --------------------------------------------- */
  @media (max-width: 768px) {
    h1 { font-size: 2.6rem; line-height: 4rem; }
    h2 { font-size: 2.6rem; }
    h3 { font-size: 2.2rem; }
    h4 { font-size: 1.7rem; }
    h5 { font-size: 1rem; }
  
    a, p { font-size: 0.8rem; }
  
    .button-link { padding: 7px 14px; }
  
    .section-title { font-size: 0.9rem; }
    .section-subtitle { font-size: 2rem; padding-bottom: 5px;}
  }
  
  /* -- Base: responsive (≤440px) --------------------------------------------- */
  @media (max-width: 500px) {
    h1 { font-size: 2.2rem; line-height: 3.2rem; }
    h2 { font-size: 2rem; }
    h3 { font-size: 1.8rem; }
    h4 { font-size: 1.5rem; }
    h5 { font-size: 1rem; }
  
    a, p { font-size: 0.9rem; }
  
    .button-link { padding: 6px 12px; }
  
    .section-title { font-size: 0.9rem; }
    .section-subtitle { font-size: 1.7rem; line-height: 2.2rem;}
  }





  /* ==========================================
RAMADAN APPEAL PROMO
========================================== */

.ramadan-appeal {
  padding: 0 30px;
  margin-top: 50px; /* pulls it closer to hero for “immediately seen” */
  position: relative;
  z-index: 15;       /* above hero fade */
}

.ramadan-appeal-inner {
  max-width: 1400px;
  margin: 0 auto;
}

.ramadan-poster {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 18px 45px rgba(0,0,0,0.35);
  border: 1px solid rgba(255,255,255,0.08);
}

/* Background image (optional but recommended) */
.ramadan-poster-bg {
  position: absolute;
  inset: 0;
  background-image: url("/donate/images/gaza-hero.png"); /* change if needed */
  background-size: cover;
  background-position: center;
  filter: saturate(0.95) contrast(1.05);
  transform: scale(1.03);
}

/* Overlay in Flight2Faith olive style */
.ramadan-poster-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(33,42,21,0.96) 0%,
    rgba(33,42,21,0.88) 45%,
    rgba(33,42,21,0.55) 100%
  );
}

.ramadan-poster-content {
  position: relative;
  z-index: 2;
  padding: 58px 30px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 900px;
}

/* Badges */
.ramadan-badges {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;

}

.ramadan-badge {
  font-size: 0.85rem;
  padding: 8px 12px;
  border-radius: 999px;
  letter-spacing: 0.2px;
}

.ramadan-badge.gold {
  background: #ffbb00;
  color: #212a15;
  font-weight: 700;
}

.ramadan-badge.soft {
  background: rgba(255,255,255,0.10);
  color: rgba(255,255,255,0.9);
  border: 1px solid rgba(255,255,255,0.14);
}

/* Text */
.ramadan-title {
  color: white;
  font-size: 1.8rem;
  line-height: 2.2rem;
  margin: 0;
}

.ramadan-title span {
  display: block;
  color: #ffbb00;
  margin-top: 10px;
  font-size: 1rem;
  line-height: 1.4rem;
  font-weight: 600;
}

.ramadan-desc {
  color: rgba(255,255,255,0.86);
  line-height: 1.6;
  margin: 0;
  max-width: 720px;
}

/* Actions */
.ramadan-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 6px;
}

.ramadan-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 700;
  transition: 0.25s ease;
  width: fit-content;
}

.ramadan-btn.primary {
  background: #ffbb00;
  color: #212a15;
}

.ramadan-btn.primary:hover {
  background: #ffd24a;
  transform: translateY(-2px);
}

.ramadan-btn.secondary {
  background: rgba(255,255,255,0.10);
  color: white;
  border: 1px solid rgba(255,255,255,0.18);
}

.ramadan-btn.secondary:hover {
  background: rgba(255,255,255,0.16);
  transform: translateY(-2px);
}

.ramadan-footnote {
  margin-top: 4px;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.6);
}

/* Responsive */
@media (max-width: 768px) {
  .ramadan-appeal {
    padding: 0 20px;
    margin-top: 40px;
  }

  .ramadan-poster-content {
    padding: 22px 18px;
  }

  .ramadan-title {
    font-size: 1.45rem;
    line-height: 1.9rem;
  }
}