* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
  }
  
  body {
    font-family: Arial, sans-serif;
    background-color: #fff;
    overflow-x: hidden; /* No horizontal scrolling */
  }
  
  header {
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 20px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 9999;
  }
  
  nav ul {
    display: flex;
    list-style: none;
  }
  
  nav li {
    margin-right: 10px;
  }
  
  nav li:last-child {
    margin-right: 0;
  }
  
  nav a {
    display: block;
    color: #333;
    font-weight: bold;
    text-decoration: none;
    padding: 8px 14px;
    border-radius: 30px;
    border: 2px solid transparent; /* reserve space so hover border doesn't cause jump */
    transition: all 0.2s ease-in-out;
  }

  nav .donate a {
    background-color: #f00;
    color: #fff;
    border: 2px solid #f00;
  }

  nav a:hover {
    background-color: transparent;
    color: #333;
    border: 2px solid #333;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  }

  /* Make sure nav hover rule doesn't bleed onto social buttons */
  .social-btn:hover {
    border: 2px solid transparent !important;
    box-shadow: none !important;
  }
  
  
  nav .donate a:hover {
    background-color: #c00;
    color: #fff;
    border: 2px solid #c00;
  }

  .video-section {
    position: relative;
    height: 500px;
    max-width: 1300px;
    width: 100%;
    margin: 100px auto 0; /* Starts below fixed navbar */
    padding: 0 20px;
  }
  
  .video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Change opacity value as desired */
    z-index: 1;
  }
  

  .video-wrapper {
    position: relative;
    height: 100%;
    width: 100%;
    z-index: 2;
  }
  
  video {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    object-fit: cover;
  }
  
  .photo-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    height: 500px;
    width: 1300px;
    transform: translate(-50%, -50%);
    z-index: 3;
  }
  
  
  .photo-overlay img {
    position:absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    object-fit: cover;
    opacity: 0.7;
  }

  /* Learn More Button */
  .learn-more-btn {
    display: block;
    position: absolute;
    top: 70%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 4;
    background-color: #f00;
    text-decoration: none;
    color: #fff;
    border-radius: 30px;
    padding: 10px 15px;
    text-align: center;
    font-weight: bold;
    font-size: 18px;
    transition: all 0.2s ease-in-out;  

  }
  
  .learn-more-btn a {
    display: inline-block;
    background-color: #f00;
    color: #fff;
    font-weight: bold;
    text-decoration: none;
    z-index: 4;
    padding: 15px 30px;
    border-radius: 50px;
    transition: all 0.2s ease-in-out;
  } 

  .learn-more-btn a:hover {
    background-color: transparent;
    color: rgba(255, 255, 255, 0.9);
    z-index: 4;
    border: 2px solid #ff4d4d;
  }  

  /* Gallery Section */
  .gallery-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    margin: 80px auto 40px;
    max-width: 1300px;
    width: 100%;
    padding: 0 20px;
  }
  
  .gallery-box {
    width: 400px;
    height: 400px;
    background-color: #fff;
    border-radius: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    overflow: hidden;
  }
  
  .gallery-box a {
    display: block;
    height: 100%;
    color: inherit;
    text-decoration: none;
  }
  
  .gallery-box img {
    display: block;
    height: 50%;
    width: 100%;
    object-fit: cover;
  }
  
  .gallery-description {
    padding: 20px;
    height: 50%;
    text-align: center;
    
  }
  
  .gallery-description h3 {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 10px;
    text-align: center;
    color: #f00;
  }
  
  .gallery-description p {
    font-size: 16px;
    margin-bottom: 0;
    text-align: center;
  }
  
  .gallery-box:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    transform: translateY(-5px);
    transition: all 0.2s ease-in-out;
  }
  
 /* Footer Section */
 footer {
  text-align: center;
  padding: 30px 20px;
  margin-top: 40px;
  border-top: 1px solid #eee;
  color: #666;
 }

 /* Responsive: stack gallery on smaller screens */
 @media (max-width: 900px) {
   .gallery-section {
     flex-direction: column;
     align-items: center;
   }
   .gallery-box {
     width: 100%;
     max-width: 400px;
   }
   .video-section {
     height: 300px;
   }
 }

/* ─── Inner Page Shared Styles ───────────────────────────────────────────── */

/* Page hero banner (used on About, Events, Blog, etc.) */
.page-hero {
  background: linear-gradient(135deg, #c00 0%, #ff4d4d 100%);
  color: #fff;
  text-align: center;
  padding: 110px 20px 60px; /* top padding clears the fixed navbar + adds red breathing room */
  border-radius: 0 0 36px 36px;
}

.page-hero h1 {
  font-size: 48px;
  margin-bottom: 16px;
}

.page-hero p {
  font-size: 20px;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto;
}

/* Content wrapper for inner pages */
.page-content {
  max-width: 1100px;
  width: 100%;
  margin: 60px auto;
  padding: 0 24px;
}

/* Section title used across inner pages */
.section-title {
  font-size: 32px;
  font-weight: bold;
  color: #222;
  margin-bottom: 12px;
}

.section-subtitle {
  font-size: 17px;
  color: #666;
  margin-bottom: 40px;
  line-height: 1.6;
}

/* Card grid layout */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 28px;
  margin-top: 32px;
}

.card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 24px rgba(0,0,0,0.14);
}

.card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.card-body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card-body h3 {
  font-size: 20px;
  margin-bottom: 8px;
  color: #222;
}

.card-body p {
  font-size: 15px;
  color: #555;
  line-height: 1.6;
  flex: 1;
}

.card-body .card-meta {
  font-size: 13px;
  color: #999;
  margin-bottom: 8px;
}

/* Primary red button (reusable) */
.btn-primary {
  display: inline-block;
  background-color: #f00;
  color: #fff;
  font-weight: bold;
  text-decoration: none;
  padding: 12px 28px;
  border-radius: 30px;
  border: none;
  cursor: pointer;
  font-size: 16px;
  transition: all 0.2s ease-in-out;
}

.btn-primary:hover {
  background-color: #c00;
  transform: translateY(-1px);
}

/* Outlined button */
.btn-outline {
  display: inline-block;
  background: transparent;
  color: #f00;
  font-weight: bold;
  text-decoration: none;
  padding: 10px 24px;
  border-radius: 30px;
  border: 2px solid #f00;
  cursor: pointer;
  font-size: 15px;
  transition: all 0.2s ease-in-out;
}

.btn-outline:hover {
  background-color: #f00;
  color: #fff;
}

/* ─── Forms ──────────────────────────────────────────────────────────────── */
.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-weight: bold;
  margin-bottom: 6px;
  color: #333;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 16px;
  font-family: Arial, sans-serif;
  transition: border-color 0.2s;
  background: #fff;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: #f00;
  box-shadow: 0 0 0 3px rgba(255,0,0,0.08);
}

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

/* Form status messages */
.form-message {
  padding: 14px 18px;
  border-radius: 8px;
  margin-top: 16px;
  font-size: 15px;
  display: none;
}

.form-message.success {
  background: #e6f9ec;
  color: #1a7a3a;
  border: 1px solid #a8e6bc;
}

.form-message.error {
  background: #fff0f0;
  color: #b00;
  border: 1px solid #ffb3b3;
}

/* ─── Donation amount selector ───────────────────────────────────────────── */
.amount-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 16px;
}

.amount-btn {
  padding: 14px;
  border: 2px solid #ddd;
  border-radius: 10px;
  background: #fff;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.2s;
  color: #333;
}

.amount-btn:hover,
.amount-btn.active {
  border-color: #f00;
  color: #f00;
  background: #fff5f5;
}

/* ─── Store product grid ─────────────────────────────────────────────────── */
.product-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 24px rgba(0,0,0,0.14);
}

.product-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.product-card .product-body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.product-card h3 {
  font-size: 20px;
  color: #222;
}

.product-card .price {
  font-size: 22px;
  font-weight: bold;
  color: #f00;
}

.product-card p {
  font-size: 14px;
  color: #666;
  flex: 1;
}

/* ─── Success / Cancel pages ─────────────────────────────────────────────── */
.status-page {
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 24px 60px;
}

.status-page .status-icon {
  font-size: 72px;
  margin-bottom: 24px;
}

.status-page h1 {
  font-size: 40px;
  margin-bottom: 16px;
  color: #222;
}

.status-page p {
  font-size: 18px;
  color: #555;
  max-width: 500px;
  margin: 0 auto 32px;
  line-height: 1.6;
}

/* Social media buttons */
.social-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #f0f0f0;
  padding: 10px 16px;
  border-radius: 30px;
  text-decoration: none;
  color: #333;
  font-size: 14px;
  font-weight: bold;
  transition: background 0.2s;
}

.social-btn:hover {
  background: #e0e0e0;
  color: #333;
  border: none;
  box-shadow: none;
}

@media (max-width: 600px) {
  .page-hero h1 { font-size: 32px; }
  .page-hero p  { font-size: 16px; }
  .amount-grid  { grid-template-columns: repeat(2, 1fr); }
  .section-title { font-size: 26px; }
}

/* ─── Header social icons ────────────────────────────────────────────────── */
.header-social {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-left: 16px;
}

.header-social a {
  color: #555;
  font-size: 20px;
  text-decoration: none;
  transition: color 0.2s ease;
  line-height: 1;
}

.header-social a:hover {
  color: #f00;
}

/* ─── Instagram feed section ─────────────────────────────────────────────── */
.instagram-section {
  max-width: 1300px;
  margin: 60px auto 80px;
  padding: 0 20px;
}

.instagram-header {
  text-align: center;
  margin-bottom: 32px;
}

.instagram-title {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 26px;
  font-weight: bold;
  color: #222;
  text-decoration: none;
  transition: color 0.2s;
}

.instagram-title i {
  font-size: 28px;
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.instagram-title:hover {
  color: #d6249f;
}

.instagram-sub {
  color: #888;
  font-size: 15px;
  margin-top: 6px;
}

.instagram-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.instagram-cell {
  display: block;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 12px;
}

.instagram-cell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.instagram-cell:hover img {
  transform: scale(1.05);
}

@media (max-width: 700px) {
  .instagram-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ─── Donation sponsorship tier cards ────────────────────────────────────── */
.tier-card {
  background: #fff;
  border: 2px solid #eee;
  border-radius: 18px;
  padding: 28px 24px;
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
  text-align: center;
}

.tier-card:hover {
  border-color: #f00;
  box-shadow: 0 6px 24px rgba(255, 0, 0, 0.10);
  transform: translateY(-2px);
}

.tier-card--selected {
  border-color: #f00;
  box-shadow: 0 6px 24px rgba(255, 0, 0, 0.15);
}

.tier-icon {
  font-size: 36px;
  margin-bottom: 10px;
}

.tier-price {
  font-size: 32px;
  font-weight: 800;
  color: #f00;
  margin-bottom: 4px;
}

.tier-name {
  font-size: 15px;
  font-weight: 700;
  color: #222;
  margin-bottom: 12px;
}

.tier-desc {
  font-size: 14px;
  color: #666;
  line-height: 1.65;
}
