body {
  margin: 0;
  padding: 0;
  font-family: 'Arial', sans-serif;
  color: white;
  background: url('basketb.jpg') no-repeat center center fixed;
  background-size: cover;
}

.overlay {
  background: rgba(0, 0, 0, 0.7);
  padding: 60px 20px;
  text-align: center;
}

.hero-content {
  max-width: 700px;
  margin: 0 auto;
}

.logo {
  width: 120px;
  margin-bottom: 16px;
}

h1 {
  font-size: 36px;
  font-weight: bold;
  margin-bottom: 12px;
}

p {
  font-size: 18px;
  margin-bottom: 30px;
}

.download-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}

.download-buttons button {
  background-color: #444;
  color: white;
  border: none;
  padding: 12px 20px;
  border-radius: 10px;
  font-size: 16px;
  cursor: not-allowed;
  display: flex;
  align-items: center;
  gap: 10px;
  opacity: 0.85;
}

.download-buttons button img {
  width: 24px;
  height: 24px;
}

.champ-card {
  background: white;
  color: #111;
  max-width: 600px;
  margin: 40px auto;
  border-radius: 16px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 8px 16px rgba(0,0,0,0.2);
}

.champ-card h2 {
  font-size: 24px;
  margin-bottom: 8px;
  color: #2c3e50;
}

.champ-card img {
  max-width: 100%;
  border-radius: 12px;
  margin-top: 12px;
}

.youtube-section {
  max-width: 1180px;
  margin: 24px auto;
  text-align: center;
  padding: 0 16px;
}

.youtube-section iframe {
  width: 100%;
  height: 400px;
  border: none;
  border-radius: 12px;
}

/* Maintain a 16:9 box for the video */
.video-embed {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;    /* modern browsers */
  background: #000;
}
.video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* Fallback for older browsers without aspect-ratio */
@supports not (aspect-ratio: 1 / 1) {
  .video-embed { padding-top: 56.25%; } /* 9/16 = 56.25% */
  .video-embed iframe { position: absolute; top: 0; left: 0; }
}

/* Avoid sticky header covering the top when scrolling to #gallery */
#gallery { scroll-margin-top: 72px; }

.social-links {
  margin: 40px 0;
  text-align: center;
}

.social-links a {
  display: inline-block;
  background-color: #1e1e1e;
  color: white;
  padding: 10px 20px;
  margin: 6px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s ease;
}

.social-links a:hover {
  background-color: #444;
}

.donate-button:hover {
  background-color: #45a049;
}

/* MODAL BACKDROP */
#donationModal {
  display: none;
  position: fixed;
  z-index: 10000;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

/* SHOW MODAL */
#donationModal.active {
  display: flex;
  opacity: 1;
  pointer-events: auto;
}

#donationModal.active .modal-content {
  transform: translateY(0);
  opacity: 1;
}

/* CLOSE BUTTON */
.close-button {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 20px;
  color: #aaa;
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.2s ease;
}
.close-button:hover {
  color: #333;
}

/* ENTRY ANIMATION */
@keyframes slideUpFade {
  from {
    transform: translateY(40px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.donor-section {
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem;
  font-family: 'Arial', sans-serif;
  color: #222;
  background: #fff;
  line-height: 1.7;
}

.donor-title {
  text-align: center;
  color: #003366;
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.donor-subtitle {
  text-align: center;
  color: #555;
  font-weight: normal;
  font-size: 1.2rem;
}

.section-heading {
  margin-top: 2rem;
  color: #003366;
  font-size: 1.5rem;
  border-bottom: 2px solid #ccc;
  padding-bottom: 0.25rem;
}

.donor-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
  font-size: 0.95rem;
}

.donor-table th,
.donor-table td {
  border: 1px solid #ccc;
  padding: 10px;
  vertical-align: top;
  text-align: left;
}

.donor-table thead {
  background: #003366;
  color: #fff;
}

.donor-contact a {
  color: #003366;
  font-weight: bold;
  text-decoration: none;
}

.donor-thankyou {
  margin-top: 2rem;
  text-align: center;
  font-size: 1.2rem;
  color: #003366;
}

.modal-content input[type="text"],
.modal-content input[type="email"],
.modal-content input[type="number"] {
  width: 100%;
  padding: 12px 16px;
  margin-bottom: 14px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 15px;
  transition: border-color 0.2s;
}

.modal-content input:focus {
  border-color: #28a745;
  outline: none;
}

@media (max-width: 600px) {
  .modal-content {
    padding: 20px 16px;
  }

  .donor-section {
    padding: 1rem;
  }

  .donor-title {
    font-size: 1.6rem;
  }

  .donor-table {
    font-size: 0.85rem;
  }
}
.donate-now-button {
  background-color: #28a745;
  color: white;
  font-weight: bold;
  padding: 12px 24px;
  font-size: 1.1rem;
  border-radius: 30px;
  border: none;
  text-decoration: none;
  display: inline-block;
  transition: background-color 0.3s ease;
}

.donate-now-button:hover {
  background-color: #218838;
}

.sponsorship-content {
  max-height: 90vh;
  overflow-y: auto;
  padding: 40px;
  background-color: #fff;
  font-size: 15px;
}
.platinum-banner {
  background: gold;
  color: #111;
  font-size: 20px;
  font-weight: bold;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.2);
  margin-bottom: 20px;
  position: relative;
  animation: fadeIn 0.5s ease;
  z-index: 999;
}

.close-banner {
  position: absolute;
  right: 12px;
  top: 10px;
  font-size: 22px;
  cursor: pointer;
  color: #555;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.donor-tiered-list {
  max-width: 800px;
  margin: 40px auto;
  padding: 0 20px;
  font-family: 'Arial', sans-serif;
  color: #222;
}

.donor-tier {
  margin-top: 32px;
}

.donor-tier h3 {
  font-size: 1.5rem;
  margin-bottom: 12px;
}

.donor-tier ul {
  list-style: none;
  padding-left: 0;
}

.donor-tier li {
  background: #f0f0f0;
  margin-bottom: 10px;
  padding: 12px 16px;
  border-radius: 8px;
  font-weight: bold;
}

/* Tier-specific colors */
.donor-tier.platinum h3 { color: #b9f2ff; }
.donor-tier.gold h3 { color: #ffd700; }
.donor-tier.silver h3 { color: #c0c0c0; }
.donor-tier.bronze h3 { color: #cd7f32; }

.nav-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  background-color: #111;
  padding: 12px 20px;
  position: sticky;
  top: 0;
  z-index: 10000;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.nav-buttons button {
  background-color: #28a745;
  color: white;
  font-size: 16px;
  font-weight: bold;
  border: none;
  padding: 10px 20px;
  border-radius: 8px;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0,0,0,0.25);
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.nav-buttons button:hover {
  background-color: #218838;
  transform: translateY(-2px);
}
/* Base hidden modal */
.modal {
  display: none;
  position: fixed;
  inset: 0;                 /* top:0; right:0; bottom:0; left:0 */
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(2px);
  z-index: 10000;           /* above hero/headers */
}

/* Shown state */
.modal.active { display: flex; }

/* Panel */
.modal .modal-content {
  position: relative;
  background: #fff;
  color: #111;
  max-width: 960px;
  width: min(92vw, 960px);
  max-height: 85vh;
  overflow: auto;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 10px 40px rgba(0,0,0,.3);
}

/* Close button */
.close-button {
  position: absolute;
  top: 10px;
  right: 12px;
  border: none;
  background: transparent;
  font-size: 20px;
  cursor: pointer;
}

/* Keep your nav visible but below the modal */
.nav-buttons { position: sticky; top: 0; z-index: 50; }

/* Keep modal above everything */
.modal { z-index: 10000; }

/* Footer that stays visible at the bottom of the modal content */
.modal-footer {
  position: sticky;            /* sticks to bottom while content scrolls */
  bottom: 0;
  background: rgba(255,255,255,0.96);
  border-top: 1px solid #eee;
  padding: 12px 16px;
  display: flex;
  justify-content: center;
  backdrop-filter: blur(2px);
}

/* Button style – match your brand */
.btn-home {
  appearance: none;
  border: none;
  border-radius: 999px;
  padding: 10px 18px;
  font-weight: 700;
  cursor: pointer;
  background: #0f766e;         /* teal accent */
  color: #fff;
  box-shadow: 0 4px 14px rgba(0,0,0,.12);
}
.btn-home:hover { filter: brightness(1.05); }
.btn-home:focus { outline: 2px solid #0ea5a5; outline-offset: 2px; }

/* Ensure modal content can scroll so sticky footer works */
.modal .modal-content {
  display: flex;
  flex-direction: column;
  max-height: 85vh;
  overflow: auto;              /* scrolling area */
}
