* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  padding-top: 78px;
  background: #ffffff;
  color: #111827;
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

img,
iframe {
  max-width: 100%;
}

button,
a {
  font: inherit;
}

header {
  position: relative;
  z-index: 1000;
}

nav {
  position: fixed;
  inset: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  min-height: 78px;
  padding: 14px 8%;
  background: #ffffff;
  box-shadow: 0 8px 28px rgba(15, 23, 42, 0.08);
}

.logo {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

nav img {
  display: block;
  width: 105px;
  max-height: 58px;
  height: auto;
  object-fit: contain;
}

nav ul {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  list-style: none;
}

nav a {
  color: inherit;
  text-decoration: none;
}

.ul a,
nav ul button,
.hero-btn,
.program-btn,
.contact-form button[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
}

.ul a,
nav ul button {
  padding: 10px 18px;
}

.ul a {
  background: #0b7a2a;
  color: #ffffff;
}

nav ul button {
  background: #f36b21;
  color: #ffffff;
}

nav ul button a {
  color: #ffffff;
}

.nav-toggle {
  display: none;
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  padding: 10px;
  border: 0;
  border-radius: 8px;
  background: #f4f6f8;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 3px;
  margin: 4px auto;
  border-radius: 2px;
  background: #111827;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

nav.nav-open .nav-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

nav.nav-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}

nav.nav-open .nav-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: calc(100vh - 78px);
  padding: 72px 8%;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(3, 30, 12, 0.86) 0%, rgba(3, 30, 12, 0.68) 46%, rgba(3, 30, 12, 0.25) 100%),
    url("Sponsor1.jpg") center 28% / cover no-repeat;
}

.hero .left {
  position: relative;
  z-index: 1;
  max-width: 650px;
}

.hero h1 {
  max-width: 12ch;
  color: #ffffff;
  font-size: clamp(2.45rem, 6vw, 4.8rem);
  line-height: 1.02;
}

.hero p {
  max-width: 620px;
  margin: 22px 0 30px;
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(1rem, 2.2vw, 1.35rem);
}

.hero-btn {
  padding: 14px 26px;
  background: #0b7a2a;
  color: #ffffff;
}

.hero-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.hero-highlights span {
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 700;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  padding: 56px 8%;
}

.box {
  min-height: 130px;
  padding: 24px 16px;
  border-radius: 12px;
  background: linear-gradient(135deg, #f36b21 0%, #f4c430 100%);
  color: #111827;
  text-align: center;
}

.box h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1;
}

.box p {
  margin-top: 10px;
  font-weight: 700;
}

.about,
.programs,
.blog,
.sponsors-section,
.contact-section {
  padding: 72px 8%;
}

.about {
  background: #ffffff;
}

.grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-areas:
    "box1 box1"
    "box2 box3";
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
  text-align: left;
}

.abouts,
.vision,
.mission,
.blog-card,
.program-card,
.sponsor-card,
.contact-form {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
}

.abouts,
.vision,
.mission {
  padding: 28px;
  color: #334155;
  font-size: 1.02rem;
}

.abouts {
  grid-area: box1;
}

.vision {
  grid-area: box2;
}

.mission {
  grid-area: box3;
}

.head {
  margin-bottom: 12px;
  color: #087326;
  text-align: center;
}

.programs,
.blog {
  background: #f8fafb;
}

.programs {
  text-align: center;
}

.programs h2,
.blog-content h2,
.sponsors-section > h2,
.contact-info h2 {
  color: #087326;
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.1;
}

.program-subtitle,
.blog-content > p {
  max-width: 680px;
  margin: 12px auto 38px;
  color: #526174;
  font-size: 1.05rem;
}

.program-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.program-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 24px;
  text-align: left;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.program-card:hover,
.sponsor-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.13);
}

.program-card h3 {
  margin-bottom: 12px;
  color: #0f5f24;
  font-size: 1.35rem;
  line-height: 1.2;
}

.program-card p,
.program-card ul,
.sponsor-info p {
  color: #526174;
}

.program-card p {
  margin-bottom: 16px;
}

.program-card ul {
  flex: 1;
  margin: 0 0 22px;
  list-style: none;
}

.program-card ul li {
  margin-bottom: 6px;
}

.program-card ul li::before {
  content: "•";
  display: inline-block;
  width: 1em;
  color: #0b7a2a;
  font-weight: 700;
}

.program-btn {
  align-self: flex-start;
  padding: 12px 22px;
  background: #0b7a2a;
  color: #ffffff;
}

.blog-content,
.sponsors-section {
  max-width: 1100px;
  margin: 0 auto;
}

.blog-card {
  max-width: 900px;
  padding: 28px;
}

.blog-card h3 {
  margin-bottom: 10px;
  color: #0f5f24;
}

.sponsor-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 34px;
}

.sponsor-card {
  padding: 24px;
  text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.sponsor-card img {
  width: 150px;
  height: 150px;
  margin-bottom: 16px;
  border: 4px solid #e6e6e6;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 20%;
}

.sponsor-info h2 {
  margin-bottom: 6px;
  font-size: 1.15rem;
  line-height: 1.25;
}

.sponsor-info h4 {
  color: #087326;
  font-size: 0.9rem;
  line-height: 1.4;
}

.sponsor-info p {
  margin-top: 10px;
  font-size: 0.95rem;
}

.contact-section {
  background: #f8fafb;
}

.contact-container {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 1.1fr);
  align-items: start;
  gap: 32px;
  max-width: 1000px;
  margin: 0 auto;
}

.contact-info p {
  margin-top: 10px;
  color: #526174;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 24px;
}

.contact-form label {
  color: #334155;
  font-size: 0.95rem;
  font-weight: 700;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #d8dee8;
  border-radius: 8px;
  font-size: 1rem;
}

.contact-form button[type="submit"] {
  margin-top: 8px;
  padding: 12px 18px;
  background: #0b7a2a;
  color: #ffffff;
}

.form-status {
  min-height: 1.5em;
  margin-top: 8px;
  color: #0f5132;
  font-size: 0.95rem;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(10, 25, 47, 0.75);
}

.modal.open {
  display: flex;
}

.modal-content {
  position: relative;
  width: min(100%, 960px);
  max-height: 90vh;
  overflow: hidden;
  padding: 28px;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.22);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: #f1f5f9;
  color: #0f172a;
  cursor: pointer;
  font-size: 1.5rem;
}

.iframe-wrap {
  width: 100%;
  height: 70vh;
  margin-top: 18px;
  overflow: hidden;
  border-radius: 12px;
}

.iframe-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.form-note {
  margin-top: 14px;
  color: #475569;
  font-size: 0.95rem;
}

.footer {
  margin-top: 0;
  padding: 44px 8% 20px;
  background: #f36b21;
  color: #ffffff;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
}

.footer-contact p,
.footer-social a,
.copyright {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.92rem;
}

.footer-contact p {
  margin-bottom: 8px;
}

.footer-social {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-social a {
  text-decoration: none;
}

.footer-social a:hover {
  color: #ffffff;
}

.copyright {
  margin-top: 18px;
  text-align: center;
}

@media (max-width: 1100px) {
  .program-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  body {
    padding-top: 72px;
  }

  nav {
    min-height: 72px;
    padding: 12px 5%;
  }

  .nav-toggle {
    display: inline-block;
  }

  nav ul {
    position: absolute;
    top: 100%;
    right: 5%;
    left: 5%;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding: 16px;
    border-radius: 0 0 14px 14px;
    background: #ffffff;
    box-shadow: 0 18px 38px rgba(15, 23, 42, 0.14);
  }

  nav.nav-open ul {
    display: flex;
  }

  nav ul li,
  nav ul button,
  .ul a {
    width: 100%;
  }

  .hero {
    min-height: auto;
    padding: 48px 5%;
    background:
      linear-gradient(90deg, rgba(3, 30, 12, 0.88) 0%, rgba(3, 30, 12, 0.7) 58%, rgba(3, 30, 12, 0.42) 100%),
      url("Sponsor1.jpg") center 24% / cover no-repeat;
  }

  .stats,
  .about,
  .programs,
  .blog,
  .sponsors-section,
  .contact-section {
    padding: 54px 5%;
  }

  .stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .grid,
  .contact-container {
    grid-template-columns: 1fr;
  }

  .grid {
    grid-template-areas:
      "box1"
      "box2"
      "box3";
  }
}

@media (max-width: 620px) {
  nav img {
    width: 88px;
    max-height: 50px;
  }

  .hero {
    padding: 34px 18px 44px;
  }

  .hero h1 {
    max-width: 100%;
    font-size: 2.35rem;
  }

  .hero p {
    margin: 18px 0 24px;
  }

  .hero-btn,
  .program-btn {
    width: 100%;
  }

  .hero-highlights {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero-highlights span {
    text-align: center;
  }

  .hero {
    min-height: calc(100vh - 72px);
    background:
      linear-gradient(180deg, rgba(3, 30, 12, 0.9) 0%, rgba(3, 30, 12, 0.72) 52%, rgba(3, 30, 12, 0.58) 100%),
      url("Sponsor1.jpg") center top / cover no-repeat;
  }

  .stats,
  .about,
  .programs,
  .blog,
  .sponsors-section,
  .contact-section {
    padding: 42px 18px;
  }

  .stats,
  .program-grid,
  .sponsor-grid {
    grid-template-columns: 1fr;
  }

  .box {
    min-height: 110px;
  }

  .abouts,
  .vision,
  .mission,
  .blog-card,
  .program-card,
  .sponsor-card,
  .contact-form {
    padding: 20px;
  }

  .program-subtitle,
  .blog-content > p {
    margin-bottom: 28px;
  }

  .modal {
    padding: 12px;
  }

  .modal-content {
    max-height: 94vh;
    padding: 20px;
    border-radius: 12px;
  }

  .modal-content h2 {
    padding-right: 46px;
    line-height: 1.2;
  }

  .iframe-wrap {
    height: 62vh;
  }

  .footer {
    padding: 34px 18px 18px;
  }

  .footer-container {
    display: block;
  }

  .footer-social {
    margin-top: 18px;
  }
}
