:root {
  --green: #0F766E;
  --red: #F59E0B;
  --dark: #1E293B;
  --white: #FFFFFF;
  --light: #F8FAFC;
  --soft: #EDF7F7;
  --border: #E2E8F0;
  --muted: #64748B;
  --shadow: 0 22px 60px rgba(15, 118, 110, .16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  color: var(--dark);
  background: var(--white);
  line-height: 1.65;
}

h1, 
h2,
h3,
h4,
h5,
h6 {
  font-family: "Poppins", sans-serif;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: 0;
}

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

img {
  max-width: 100%;
  display: block;
}

section {
  padding: 88px 0;
}

.section-soft {
  background: var(--soft);
}

.section-light {
  background: var(--light);
}

.eyebrow {
  color: var(--red);
  font-weight: 800;
  text-transform: uppercase;
  font-size: .78rem;
  letter-spacing: .08em;
  margin-bottom: 10px;
}

.section-title {
  color: var(--green);
  margin-bottom: 16px;
}

.section-copy {
  color: var(--muted);
  max-width: 760px;
}

.text-muted {
  color: var(--muted) !important;
}

.btn-school {
  --bs-btn-padding-x: 1.2rem;
  --bs-btn-padding-y: .82rem;
  --bs-btn-border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  font-weight: 800;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.btn-school:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(31, 41, 55, .18);
}

.btn-green {
  background: var(--green);
  color: #fff;
  border: 1px solid var(--green);
}

.btn-green:hover {
  background: #0B5B57;
  color: #fff;
  border-color: #0B5B57;
}

.btn-red {
  background: var(--red);
  color: #fff;
  border: 1px solid var(--red);
}

.btn-red:hover {
  background: #D97706;
  color: #fff;
  border-color: #D97706;
}

.btn-blue {
  background: #2563EB;
  color: #fff;
  border: 1px solid #2563EB;
}

.btn-blue:hover {
  background: #1D4ED8;
  color: #fff;
  border-color: #1D4ED8;
}

.btn-white {
  background: #fff;
  color: var(--green);
  border: 1px solid #fff;
}

.btn-outline-white {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .75);
}

.btn-outline-white:hover {
  background: #fff;
  color: var(--green);
}

.topbar {
  background: var(--green);
  color: rgba(255, 255, 255, .92);
  font-size: .88rem;
  padding: 8px 0;
}

.topbar a {
  color: rgba(255, 255, 255, .92);
}

.topbar i {
  color: #fff;
  margin-right: 7px;
}

.site-header {
  background: #fff;
  box-shadow: 0 10px 35px rgba(31, 41, 55, .08);
}

.navbar {
  padding: 14px 0;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--green);
  font-family: "Poppins", sans-serif;
  font-weight: 800;
  max-width: 280px;
  line-height: 1.1;
}

.brand-mark {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--green), var(--red));
  color: #fff;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}

.nav-link {
  color: var(--green);
  font-weight: 800;
  font-size: .94rem;
  padding-inline: .58rem !important;
}

.nav-link:hover,
.nav-link:focus,
.nav-link.active {
  color: var(--red);
}

.dropdown-menu {
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: 0 20px 55px rgba(31, 41, 55, .12);
  padding: 10px;
}

.dropdown-item {
  border-radius: 6px;
  color: var(--green);
  font-weight: 700;
  padding: 10px 12px;
}

.dropdown-item:hover,
.dropdown-item.active {
  background: var(--soft);
  color: var(--red);
}

.hero {
  min-height: calc(100vh - 120px);
  display: grid;
  align-items: center;
  color: #fff;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(120deg, rgba(13, 92, 58, .94), rgba(176, 32, 22, .72)),
    url("https://images.unsplash.com/photo-1588072432836-e10032774350?auto=format&fit=crop&w=2200&q=80") center/cover;
  padding: 96px 0 64px;
}

.hero h1 {
  font-size: clamp(2.35rem, 6vw, 5.6rem);
  max-width: 920px;
}

.hero p {
  max-width: 720px;
  color: rgba(255, 255, 255, .9);
  font-size: clamp(1.05rem, 2vw, 1.32rem);
}

.hero-stats {
  margin-top: 52px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.stat-tile {
  background: rgba(255, 255, 255, .13);
  border: 1px solid rgba(255, 255, 255, .22);
  backdrop-filter: blur(12px);
  border-radius: 8px;
  padding: 22px;
}

.stat-tile strong {
  display: block;
  font-family: "Poppins", sans-serif;
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  line-height: 1;
}

.stat-tile span {
  color: rgba(255, 255, 255, .84);
  font-weight: 700;
}

.page-hero {
  color: #fff;
  background:
    linear-gradient(120deg, rgba(13, 92, 58, .92), rgba(176, 32, 22, .70)),
    url("https://images.unsplash.com/photo-1498243691581-b145c3f54a5a?auto=format&fit=crop&w=1800&q=80") center/cover;
  padding: 96px 0;
}

.page-hero h1 {
  font-size: clamp(2.2rem, 5vw, 4.4rem);
}

.breadcrumb-lite {
  color: rgba(255, 255, 255, .82);
  font-weight: 700;
}

.breadcrumb-lite a {
  color: #fff;
}

.media-card {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  min-height: 430px;
  box-shadow: var(--shadow);
}

.media-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}

.premium-card,
.feature-card,
.program-card,
.life-card,
.news-card,
.testimonial-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  /* height: 100%; */
  box-shadow: 0 14px 40px rgba(31, 41, 55, .06);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.premium-card:hover,
.feature-card:hover,
.program-card:hover,
.life-card:hover,
.news-card:hover {
  transform: translateY(-7px);
  box-shadow: var(--shadow);
  border-color: rgba(13, 92, 58, .25);
}

.icon-box {
  width: 58px;
  height: 58px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: var(--soft);
  color: var(--green);
  font-size: 1.35rem;
  margin-bottom: 20px;
}

.feature-card:hover .icon-box,
.life-card:hover .icon-box {
  background: var(--red);
  color: #fff;
}

.program-card {
  padding: 30px;
  position: relative;
  overflow: hidden;
}

.program-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 5px;
  background: linear-gradient(90deg, var(--green), var(--red));
}

.program-level {
  color: var(--red);
  font-weight: 800;
}

.activity-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  height: 100%;
  box-shadow: 0 14px 40px rgba(31, 41, 55, .06);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  display: flex;
  flex-direction: column;
}

.activity-card:hover {
  transform: translateY(-7px);
  box-shadow: var(--shadow);
  border-color: rgba(13, 92, 58, .25);
}

.activity-image {
  position: relative;
  overflow: hidden;
  height: 180px;
  flex: 0 0 auto;
}

.activity-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}

.activity-card:hover .activity-image img {
  transform: scale(1.08);
}

.activity-content {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
  position: relative;
}

.activity-content::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--green), var(--red));
}

.activity-content>* {
  margin-bottom: 8px;
}

.activity-content h4 {
  margin-bottom: 12px;
  color: var(--green);
}

.activity-content p {
  flex: 1;
}

.facility-item,
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 18px 45px rgba(31, 41, 55, .1);
}

.facility-item {
  height: 250px;
}

.facility-item img,
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .45s ease;
}

.facility-item:hover img,
.gallery-item:hover img {
  transform: scale(1.08);
}

.facility-item span {
  position: absolute;
  inset: auto 18px 18px 18px;
  color: #fff;
  font-family: "Poppins", sans-serif;
  font-weight: 800;
  z-index: 1;
}

.facility-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(13, 92, 58, .82), transparent 62%);
}

.admission-band {
  color: #fff;
  background:
    linear-gradient(120deg, rgba(176, 32, 22, .93), rgba(13, 92, 58, .82)),
    url("https://images.unsplash.com/photo-1498243691581-b145c3f54a5a?auto=format&fit=crop&w=1800&q=80") center/cover fixed;
  text-align: center;
}

.counter-wrap {
  background: var(--green);
  color: #fff;
  border-radius: 8px;
  padding: 38px;
  box-shadow: var(--shadow);
}

.counter-number {
  font-family: "Poppins", sans-serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  line-height: 1;
}

.life-card {
  padding: 24px;
  text-align: center;
}

.life-card .icon-box {
  margin-inline: auto;
}

.news-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  box-shadow: 0 14px 40px rgba(31, 41, 55, .06);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.news-card:hover {
  transform: translateY(-7px);
  box-shadow: var(--shadow);
  border-color: rgba(13, 92, 58, .25);
}

.news-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: var(--soft);
}

.news-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .35s ease;
}

.news-card:hover .news-image img {
  transform: scale(1.08);
}

.news-card .p-4 {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  padding: 24px;
  position: relative;
}

.news-card .p-4::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--green), var(--red));
}

.news-card h4 {
  margin-bottom: 12px;
  color: var(--green);
}

.news-card p {
  flex: 1;
}

.news-date {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  color: var(--red);
  font-weight: 800;
  font-size: .9rem;
  margin-bottom: 12px;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.news-item {
  display: flex;
}

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

@media (max-width: 767.98px) {
  .news-grid {
    grid-template-columns: 1fr;
  }
}

.gallery-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 32px;
}

.filter-btn {
  border: 1px solid var(--border);
  background: #fff;
  color: var(--green);
  font-weight: 800;
  border-radius: 999px;
  padding: 9px 18px;
}

.filter-btn.active,
.filter-btn:hover {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
}

.gallery-grid {
  columns: 3 270px;
  column-gap: 18px;
}

.gallery-item {
  break-inside: avoid;
  margin-bottom: 18px;
}

.gallery-item img {
  height: auto;
}

.gallery-item.hidden {
  display: none;
}

.testimonial-card {
  padding: 30px;
  min-height: 280px;
}

.profile {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 22px;
}

.profile img {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  object-fit: cover;
}

.stars {
  color: #f59e0b;
  margin-bottom: 12px;
}

.swiper {
  padding: 10px 8px 54px;
}

.swiper-pagination-bullet-active {
  background: var(--green);
}

.form-panel,
.contact-panel {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: var(--shadow);
  padding: 34px;
  height: 100%;
}

.form-control,
.form-select {
  border-radius: 6px;
  border-color: var(--border);
  padding: 13px 14px;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 .2rem rgba(13, 92, 58, .14);
}

.map-placeholder {
  min-height: 390px;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(13, 92, 58, .83), rgba(176, 32, 22, .68)),
    url("https://images.unsplash.com/photo-1524661135-423995f22d0b?auto=format&fit=crop&w=1200&q=80") center/cover;
  color: #fff;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 24px;
}

.table-fees th {
  color: var(--green);
}

footer {
  background: linear-gradient(135deg, #0F766E 0%, #134E4A 100%);
  color: rgba(255, 255, 255, .82);
  padding-top: 72px;
}

footer h5 {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 18px;
}

footer a {
  display: block;
  color: rgba(255, 255, 255, .82);
  margin-bottom: 10px;
}

footer a:hover {
  color: #FDE68A;
}

.socials a {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: rgba(255, 255, 255, .14);
  margin-right: 8px;
  transition: background .2s ease, transform .2s ease;
}

.socials a:hover {
  background: rgba(245, 158, 11, .28);
  transform: translateY(-2px);
}

.copyright {
  border-top: 1px solid rgba(255, 255, 255, .16);
  margin-top: 42px;
  padding: 20px 0;
}

.accordion-item {
  border: 1px solid var(--border);
  border-radius: 8px;
  margin-bottom: 12px;
  box-shadow: 0 2px 8px rgba(31, 41, 55, .06);
  transition: box-shadow .25s ease;
}

.accordion-item:hover {
  box-shadow: 0 8px 20px rgba(31, 41, 55, .12);
}

.accordion-button {
  color: var(--dark);
  font-weight: 700;
  padding: 1.2rem 1.5rem;
  background: #fff;
  border: none;
}

.accordion-button:not(.collapsed) {
  background: var(--soft);
  color: var(--green);
  box-shadow: none;
}

.accordion-button:focus {
  box-shadow: none;
  border-color: var(--border);
}

.accordion-body {
  padding: 1.2rem 1.5rem;
  background: #fff;
  color: var(--muted);
  line-height: 1.8;
}

.nav-tabs {
  border-bottom: 2px solid var(--border);
  gap: 12px;
}

.nav-tabs .nav-link {
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--dark);
  font-weight: 600;
  padding: 10px 16px;
  transition: all .25s ease;
  background: #fff;
}

.nav-tabs .nav-link:hover {
  border-color: var(--green);
  color: var(--green);
}

.nav-tabs .nav-link.active {
  background: var(--green);
  color: #fff;
  border-color: var(--green);
}

@media (max-width: 1199px) {
  .navbar-collapse {
    padding-top: 18px;
  }

  .nav-link {
    padding-block: 9px !important;
  }
}

@media (max-width: 991px) {
  section {
    padding: 70px 0;
  }

  .hero {
    min-height: auto;
    padding: 88px 0 54px;
  }

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

  .topbar .container {
    justify-content: center !important;
    text-align: center;
    gap: 8px !important;
  }
}

@media (max-width: 575px) {
  /* Phone view: hide top info bar */
  .topbar {
    display: none;
  }

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

  .stat-tile {
    padding: 18px;
  }

  .media-card {
    min-height: 320px;
  }

  .form-panel,
  .contact-panel,
  .counter-wrap {
    padding: 24px;
  }

  /* Reduce header spacing on phone to avoid layout issues */
  .navbar {
    padding: 10px 0;
  }

  .site-header {
    box-shadow: 0 6px 18px rgba(31, 41, 55, .08);
  }

  .navbar-brand {
    max-width: 220px;
    font-size: 1rem;
  }

  .brand-mark {
    width: 42px;
    height: 42px;
  }
}

