/* ========== RESET & BASE ========== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  background: #f7faf7;
  color: #0d1f0d;
  line-height: 1.7;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: #0a7a2a;
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: #055d1b;
}

.container {
  width: min(1200px, 92%);
  margin: 0 auto;
  padding: 0 10px;
}

/* ========== UTILITY ========== */
.section {
  padding: 70px 0;
}

.section.alt {
  background: #eef6f0;
}

.section.dark {
  background: #0a1f0e;
  color: #ecf7ef;
}

.section.dark .eyebrow {
  color: #7be09a;
}

.section.dark .card {
  background: #142f1a;
  color: #ecf7ef;
}

.section.dark h2,
.section.dark h3 {
  color: #b8f0cb;
}

.eyebrow {
  display: inline-block;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.75rem;
  color: #0a7a2a;
  background: #e4f3e7;
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 8px;
}

.title {
  font-size: clamp(2rem, 5vw, 3.8rem);
  line-height: 1.08;
  margin: 0.2em 0 0.4em;
  font-weight: 800;
}

.subtitle {
  font-size: 1.2rem;
  color: #4a6b4a;
  max-width: 700px;
}

.section.dark .subtitle {
  color: #b0d4b8;
}

/* ========== GRID ========== */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

/* ========== CARDS ========== */
.card {
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  overflow: hidden;
  transition: transform 0.25s, box-shadow 0.25s;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}

.card .pad {
  padding: 28px;
}

.card h3 {
  font-size: 1.2rem;
  margin-bottom: 8px;
}

.card p {
  color: #3d553d;
}

.section.dark .card p {
  color: #bfdbc4;
}

/* ========== BUTTONS ========== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 50px;
  border: none;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.25s;
}

.btn-primary {
  background: #0a7a2a;
  color: #fff;
}

.btn-primary:hover {
  background: #055d1b;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(10, 122, 42, 0.35);
}

.btn-secondary {
  background: #e4f0e6;
  color: #0a5a1e;
}

.btn-secondary:hover {
  background: #d0e6d4;
}

.btn-outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.5);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
}

.btn-outline-dark {
  border: 2px solid #0a7a2a;
  color: #0a7a2a;
  background: transparent;
}

.btn-outline-dark:hover {
  background: #0a7a2a;
  color: #fff;
}

.btn-sm {
  padding: 8px 18px;
  font-size: 0.85rem;
}

/* ========== TOP BAR ========== */
.top-bar {
  background: #05180a;
  color: #cfe6d4;
  font-size: 0.82rem;
  padding: 6px 0;
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.top-bar .social-links {
  display: flex;
  gap: 14px;
  align-items: center;
}

.top-bar .social-links a {
  color: #b8dcc0;
  font-weight: 600;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: color 0.2s;
}

.top-bar .social-links a:hover {
  color: #fff;
}

/* ========== HEADER / NAV ========== */
.site-header {
  background: #0a7a2a;
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.12);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.3rem;
  color: #fff;
  letter-spacing: -0.02em;
  flex-shrink: 0;
}

.brand .logo-icon {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.85);
  padding: 8px 14px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.88rem;
  transition: all 0.2s;
  position: relative;
}

.nav-links a:hover,
.nav-links a.active {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
}

.nav-links a.active {
  background: rgba(255, 255, 255, 0.18);
}

.nav-links .btn-primary {
  padding: 8px 22px;
  font-size: 0.85rem;
  background: #fff;
  color: #0a7a2a;
}

.nav-links .btn-primary:hover {
  background: #f0faf2;
  box-shadow: 0 4px 16px rgba(255, 255, 255, 0.25);
}

/* Mobile Menu Toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.nav-toggle span {
  display: block;
  width: 26px;
  height: 3px;
  background: #fff;
  border-radius: 3px;
  transition: all 0.3s;
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* ========== HERO ========== */
.hero {
  position: relative;
  min-height: 620px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #062d12;
  color: #fff;
}

.hero-slider {
  position: absolute;
  inset: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  animation: heroFade 25s infinite;
}

.hero-slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(3, 27, 10, 0.92) 0%, rgba(3, 27, 10, 0.6) 50%, rgba(3, 27, 10, 0.2) 100%);
}

.hero-slide:nth-child(1) {
  animation-delay: 0s;
}
.hero-slide:nth-child(2) {
  animation-delay: 5s;
}
.hero-slide:nth-child(3) {
  animation-delay: 10s;
}
.hero-slide:nth-child(4) {
  animation-delay: 15s;
}
.hero-slide:nth-child(5) {
  animation-delay: 20s;
}

@keyframes heroFade {
  0%, 16% { opacity: 1; }
  20%, 96% { opacity: 0; }
  100% { opacity: 1; }
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(1200px, 92%);
  margin: 0 auto;
  padding: 80px 0;
}

.hero-content .eyebrow {
  background: rgba(255, 255, 255, 0.15);
  color: #b8f0cb;
}

.hero-content h1 {
  font-size: clamp(2.8rem, 7vw, 5.4rem);
  line-height: 1.02;
  max-width: 860px;
  margin: 12px 0 20px;
}

.hero-content p {
  font-size: 1.2rem;
  max-width: 700px;
  color: #d4f0db;
  margin-bottom: 24px;
}

.hero-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* ========== STATS ========== */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: #0a7a2a;
  color: #fff;
}

.stat-item {
  padding: 32px 20px;
  text-align: center;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-item:last-child {
  border-right: none;
}

.stat-item .number {
  display: block;
  font-size: 2.6rem;
  font-weight: 900;
  line-height: 1.1;
}

.stat-item .label {
  font-weight: 600;
  font-size: 0.85rem;
  opacity: 0.85;
}

/* ========== PAGE BANNER ========== */
.page-banner {
  position: relative;
  min-height: 320px;
  overflow: hidden;
  background: #062d12;
  color: #fff;
  display: flex;
  align-items: center;
}

.page-banner .banner-slides {
  position: absolute;
  inset: 0;
}

.page-banner .banner-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  animation: heroFade 25s infinite;
}

.page-banner .banner-slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(3, 27, 10, 0.88) 0%, rgba(3, 27, 10, 0.5) 60%, rgba(3, 27, 10, 0.1) 100%);
}

.page-banner .banner-slide:nth-child(1) {
  animation-delay: 0s;
}
.page-banner .banner-slide:nth-child(2) {
  animation-delay: 5s;
}
.page-banner .banner-slide:nth-child(3) {
  animation-delay: 10s;
}
.page-banner .banner-slide:nth-child(4) {
  animation-delay: 15s;
}
.page-banner .banner-slide:nth-child(5) {
  animation-delay: 20s;
}

.page-banner-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 50px 0;
}

.page-banner-content h1 {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  line-height: 1.05;
  margin: 8px 0 12px;
}

.page-banner-content p {
  font-size: 1.05rem;
  font-weight: 500;
  opacity: 0.9;
  max-width: 600px;
}

.page-banner-content .eyebrow {
  background: rgba(255, 255, 255, 0.12);
  color: #b8f0cb;
}

/* ========== GALLERY ========== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.gallery-item {
  border: none;
  padding: 0;
  width: 100%;
  aspect-ratio: 4/3;
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
  background: #dce4dc;
  transition: transform 0.3s;
}

.gallery-item:hover {
  transform: scale(1.02);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gallery-more {
  margin: 30px auto 0;
  display: block;
}

.gallery-count {
  font-weight: 600;
  color: #4a6b4a;
  margin-bottom: 20px;
}

/* ========== LIGHTBOX ========== */
.gallery-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.94);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 40px 60px;
}

.gallery-lightbox.open {
  display: flex;
}

.gallery-lightbox img {
  max-width: min(92vw, 1100px);
  max-height: 84vh;
  object-fit: contain;
  border-radius: 8px;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  border: none;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  cursor: pointer;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  font-size: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
  background: rgba(255, 255, 255, 0.18);
}

.lightbox-close {
  top: 20px;
  right: 24px;
  font-size: 32px;
}

.lightbox-prev {
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-next {
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-counter {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.7);
  font-weight: 600;
  font-size: 0.9rem;
}

.no-scroll {
  overflow: hidden;
}

/* ========== EVENTS / PROGRAMS ========== */
.events-list {
  display: grid;
  gap: 16px;
}

.event-card {
  display: flex;
  gap: 20px;
  background: #fff;
  border-radius: 14px;
  padding: 20px 24px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
  align-items: center;
}

.event-card .date-badge {
  min-width: 72px;
  text-align: center;
  background: #e9f5eb;
  border-radius: 12px;
  padding: 12px 8px;
}

.event-card .date-badge .day {
  display: block;
  font-size: 1.8rem;
  font-weight: 900;
  color: #0a7a2a;
  line-height: 1;
}

.event-card .date-badge .month {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #3d6b3d;
}

.event-card .event-info {
  flex: 1;
}

.event-card .event-info h3 {
  font-size: 1.1rem;
  margin-bottom: 4px;
}

.event-card .event-info p {
  color: #4a6b4a;
  font-size: 0.95rem;
  margin: 0;
}

.event-card .event-info .venue {
  font-weight: 600;
  color: #0a7a2a;
}

/* ========== FORMS ========== */
.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 4px;
  font-size: 0.9rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #dce4dc;
  border-radius: 10px;
  font: inherit;
  font-size: 1rem;
  transition: border-color 0.2s;
  background: #fff;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: #0a7a2a;
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

/* ========== TEAM / MANAGEMENT ========== */
.team-member {
  text-align: center;
}

.team-member .avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 12px;
  background: #dce4dc;
}

.team-member h3 {
  font-size: 1.1rem;
  margin-bottom: 2px;
}

.team-member .role {
  color: #0a7a2a;
  font-weight: 600;
  font-size: 0.85rem;
}

.section.dark .team-member .role {
  color: #7be09a;
}

/* ========== BLOG / NEWS ========== */
.news-card img {
  width: 100%;
  height: 210px;
  object-fit: cover;
}

.news-card .meta {
  font-size: 0.8rem;
  color: #6a8a6a;
  margin-bottom: 4px;
}

.news-card h3 {
  font-size: 1.15rem;
  margin-bottom: 6px;
}

.news-card p {
  color: #4a6b4a;
  font-size: 0.95rem;
}

/* ========== CONTACT ========== */
.contact-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  background: #f0f6f1;
  border-radius: 12px;
}

.contact-item .icon {
  font-size: 1.6rem;
}

.contact-item .details {
  font-weight: 600;
}

.contact-item .details small {
  display: block;
  font-weight: 400;
  color: #4a6b4a;
  font-size: 0.85rem;
}

/* ========== FOOTER ========== */
.footer {
  background: #05180a;
  color: #cfe6d4;
  padding: 50px 0 30px;
}

.footer a {
  color: #b8e0c0;
}

.footer a:hover {
  color: #fff;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 30px;
}

.footer h3,
.footer h4 {
  color: #fff;
  margin-bottom: 12px;
}

.footer p {
  margin-bottom: 4px;
  font-size: 0.95rem;
}

.footer .social-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.footer .social-links a {
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 600;
}

.footer .footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 20px;
  text-align: center;
  font-size: 0.85rem;
  opacity: 0.7;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
}

@media (max-width: 850px) {
  .stats-bar {
    grid-template-columns: repeat(2, 1fr);
  }
  .stat-item {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .gallery-lightbox {
    padding: 30px 16px;
  }
  .lightbox-prev {
    left: 8px;
  }
  .lightbox-next {
    right: 8px;
  }
  .lightbox-close {
    right: 10px;
    top: 10px;
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    width: 100%;
    padding: 16px 0 8px;
    gap: 4px;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    width: 100%;
    padding: 10px 16px;
    border-radius: 8px;
  }

  .nav-links .btn-primary {
    margin-top: 4px;
    text-align: center;
    justify-content: center;
  }

  .hero {
    min-height: 500px;
  }

  .hero-content {
    padding: 50px 0;
  }

  .page-banner {
    min-height: 240px;
  }

  .page-banner-content {
    padding: 30px 0;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .event-card {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }

  .event-card .date-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px;
  }

  .event-card .date-badge .day {
    font-size: 1.4rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .top-bar .container {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }

  .top-bar .social-links {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .section {
    padding: 40px 0;
  }

  .stats-bar {
    grid-template-columns: 1fr 1fr;
  }

  .stat-item {
    padding: 20px 12px;
  }

  .stat-item .number {
    font-size: 1.8rem;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .hero-content h1 {
    font-size: 2.2rem;
  }

  .hero {
    min-height: 400px;
  }

  .page-banner {
    min-height: 200px;
  }
}


/* ========== BRAND / LOGO ========== */
.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 800;
    font-size: 1.2rem;
    color: #fff;
    text-decoration: none;
    flex-shrink: 0;
}

.brand .logo {
    height: 45px;
    width: auto;
    display: block;
}

.brand .brand-text {
    font-weight: 800;
    font-size: 1.1rem;
    letter-spacing: -0.02em;
}

/* Mobile responsive logo */
@media (max-width: 768px) {
    .brand .logo {
        height: 35px;
    }
    .brand .brand-text {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .brand .logo {
        height: 30px;
    }
    .brand .brand-text {
        font-size: 0.8rem;
    }
}