:root {
  --green-950: #0b1f19;
  --green-900: #102a21;
  --green-800: #15372b;
  --green-700: #1e4c3b;
  --gold: #d8b15c;
  --gold-2: #f0ddb0;
  --cream: #fbf7ef;
  --cream-2: #fffdf9;
  --sand: #f5ecd8;
  --text: #1b231f;
  --muted: #5f685e;
  --line: #e7dbc1;
  --shadow: 0 18px 45px rgba(10, 31, 25, .08);
  --shadow-lg: 0 28px 70px rgba(10, 31, 25, .18);
  --radius: 24px;
}

* {
  box-sizing: border-box
}

html {
  scroll-behavior: smooth
}

body {
  margin: 0;
  font-family: "Noto Sans Devanagari", "Segoe UI", Arial, sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #fffcf6 0%, #f7f0e0 100%);
  line-height: 1.7
}

a {
  text-decoration: none;
  color: inherit
}

img {
  display: block;
  max-width: 100%
}

.container {
  width: min(1200px, 92%);
  margin: auto
}

.section {
  padding: 88px 0
}

.soft {
  background: linear-gradient(180deg, rgba(255, 250, 240, .7), rgba(248, 238, 215, .8))
}

.topbar {
  background: var(--green-950);
  color: #f3ebd0;
  font-size: 14px
}

.topbar .container {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 10px 0
}

.header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(255, 252, 245, .88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(16, 42, 33, .08)
}


/* ===== POPUP ===== */
.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.popup-box {
  background: #fff;
  padding: 25px;
  border-radius: 16px;
  width: 90%;
  max-width: 500px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
}

.close-btn {
  position: absolute;
  right: 15px;
  top: 10px;
  font-size: 26px;
  cursor: pointer;
}

/* FORM */
.member-form {
  display: grid;
  gap: 12px;
}

.member-form input,
.member-form textarea,
.member-form select {
  padding: 12px;
  border-radius: 10px;
  border: 1px solid #ccc;
}

.qr-box {
  text-align: center;
  margin-top: 15px;
}

.qr-box img {
  max-width: 100% !important;
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 0
}

.brand {
  display: flex;
  align-items: center;
  gap: 15px;
  min-width: 0
}

.brand img {
  width: 76px;
  height: 76px;
  object-fit: contain;
  border-radius: 50%;
  background: #fff;
  padding: 6px;
  border: 2px solid rgba(216, 177, 92, .3);
  box-shadow: var(--shadow)
}

.brand-text h1 {
  margin: 0;
  font-size: 1.22rem;
  line-height: 1.15;
  color: var(--green-900)
}

.brand-text small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: .9rem
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap
}

.nav-links a {
  font-weight: 700;
  color: var(--green-900);
  position: relative
}



.nav-links a.active,
.nav-links a:hover {
  color: #a56b00
}

.mobile-toggle {
  display: none;
  border: none;
  background: var(--green-900);
  color: #fff;
  padding: 11px 14px;
  border-radius: 14px;
  font-weight: 700
}

.btn,
.btn-outline,
.btn-soft {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 24px;
  border-radius: 999px;
  font-weight: 800;
  transition: .25s ease;
  border: none;
  cursor: pointer
}

.btn {
  background: linear-gradient(135deg, var(--green-900), var(--green-700));
  color: white !important;
  box-shadow: var(--shadow)
}

.btn:hover {
  transform: translateY(-2px)
}

.btn-outline {
  border: 2px solid var(--green-900);
  background: transparent;
  color: var(--green-900)
}

.btn-outline:hover {
  background: var(--green-900);
  color: #fff
}

.btn-soft {
  background: linear-gradient(135deg, #fff0c9, #f0ddb0);
  color: var(--green-900);
  border: 1px solid #ead7a8
}

.hero-premium {
  position: relative;
  overflow: hidden;
  background: linear-gradient(115deg, rgba(7, 22, 17, .88), rgba(16, 42, 33, .75)), url('assets/school-group.jpg') center/cover no-repeat;
  color: #fff
}

.hero-premium:before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(216, 177, 92, .22), transparent 30%)
}

.hero-premium .container {
  position: relative;
  z-index: 2
}

.hero-layout {
  min-height: calc(100vh - 92px);
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 38px;
  align-items: center;
  padding: 72px 0
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .18);
  font-weight: 700;
  font-size: .92rem;
  margin-bottom: 16px
}

.hero-premium h2 {
  font-size: clamp(2.25rem, 4.4vw, 4.6rem);
  line-height: 1.04;
  margin: 0 0 16px;
  max-width: 760px
}

.hero-premium p {
  max-width: 720px;
  color: #eee6cf;
  font-size: 1.08rem
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 28px
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 28px
}

.hero-facts .fact {
  background: rgba(255, 255, 255, .1);
  backdrop-filter: blur(8px);
  padding: 18px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, .12)
}

.hero-facts strong {
  display: block;
  font-size: 1.1rem;
  color: #fff6d7
}

.hero-panel {
  background: rgba(255, 252, 246, .1);
  border: 1px solid rgba(255, 255, 255, .15);
  backdrop-filter: blur(8px);
  border-radius: 30px;
  padding: 24px;
  box-shadow: var(--shadow-lg)
}

.hero-panel .hero-image {
  width: 100%;
  height: 440px;
  object-fit: cover;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, .14)
}

.hero-panel .caption {
  padding-top: 14px;
  color: #f4ecd2
}

.hero-panel .mini-brand {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  align-items: center;
  margin-top: 16px;
  background: rgba(255, 248, 228, .95);
  color: var(--green-900);
  padding: 16px;
  border-radius: 22px
}

.hero-panel .mini-brand img {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: #fff;
  padding: 5px;
  object-fit: contain
}

.page-hero {
  padding: 62px 0;
  background: linear-gradient(180deg, #f7ebc2, #fcf8ef)
}

.page-hero h2 {
  margin: 0;
  color: var(--green-900);
  font-size: clamp(2rem, 3.5vw, 3.2rem)
}

.page-hero p {
  max-width: 920px;
  color: var(--muted);
  margin-top: 10px
}

.section-title {
  max-width: 860px;
  margin: 0 auto 38px;
  text-align: center
}

.section-title h2 {
  margin: 0;
  color: var(--green-900);
  font-size: clamp(1.9rem, 3vw, 3rem)
}

.section-title p {
  color: var(--muted);
  margin: 12px 0 0
}

.grid {
  display: grid;
  gap: 24px
}

.grid-2 {
  grid-template-columns: repeat(2, 1fr)
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr)
}

.grid-4 {
  grid-template-columns: repeat(4, 1fr)
}

.card {
  background: var(--cream-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow)
}

.card h3,
.card h4 {
  margin: 0 0 10px;
  color: var(--green-900)
}

.card p,
.card li,
.card span {
  color: var(--muted)
}

.tag {
  display: inline-flex;
  padding: 7px 12px;
  border-radius: 999px;
  background: #fff2ca;
  color: #8d5b00;
  border: 1px solid #edd793;
  font-size: .84rem;
  font-weight: 800;
  margin-bottom: 12px
}

.intro-cards .card {
  position: relative;
  overflow: hidden
}

.intro-cards .card:after {
  content: "";
  position: absolute;
  right: -25px;
  top: -25px;
  width: 85px;
  height: 85px;
  border-radius: 50%;
  background: rgba(216, 177, 92, .12)
}

.impact-band {
  background: linear-gradient(135deg, var(--green-900), var(--green-700));
  color: #fff;
  border-radius: 34px;
  padding: 30px;
  box-shadow: var(--shadow-lg)
}

.impact-band .grid {
  gap: 18px
}

.impact-band .mini {
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .1);
  padding: 22px;
  border-radius: 22px;
  text-align: center
}

.impact-band strong {
  display: block;
  font-size: 1.35rem;
  color: #fff4cd
}

.impact-band span {
  color: #ecdfbb
}

.banner {
  background: linear-gradient(135deg, #fff8e3, #f1dfaf);
  border: 1px solid #e5d39a;
  border-radius: 30px;
  padding: 32px;
  box-shadow: var(--shadow)
}

.banner h3 {
  margin: 0 0 10px;
  color: var(--green-900);
  font-size: 1.7rem
}

.list-check {
  padding-left: 18px;
  margin: 0
}

.list-check li {
  margin-bottom: 12px
}

.media-card,
.feature-card {
  height: 100%;
  display: flex;
  flex-direction: column
}

.media-card img,
.gallery-item img,
.doc-thumb,
.showcase img,
.initiative-hero img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: #f5ead3
}

.media-card .actions {
  margin-top: auto;
  padding-top: 8px
}

.dual-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px
}

.quote-box {
  background: linear-gradient(135deg, var(--green-900), var(--green-700));
  color: #f6eed6;
  border-radius: 28px;
  padding: 30px;
  box-shadow: var(--shadow-lg)
}

.quote-box p {
  margin: 0;
  color: #f6eed6;
  font-size: 1.06rem
}

.quote-box strong {
  display: block;
  font-size: 1.12rem;
  margin-bottom: 12px;
  color: #fff
}

.stat-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 18px
}

.stat-pill {
  background: #fff7df;
  border: 1px solid #ecdba8;
  padding: 16px;
  border-radius: 18px
}

.stat-pill strong {
  display: block;
  color: var(--green-900);
  font-size: 1.15rem
}

.timeline {
  position: relative;
  padding-left: 24px
}

.timeline:before {
  content: "";
  position: absolute;
  left: 7px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: #d8bc70
}

.timeline-item {
  position: relative;
  padding: 0 0 24px 26px
}

.timeline-item:before {
  content: "";
  position: absolute;
  left: -2px;
  top: 8px;
  width: 14px;
  height: 14px;
  background: var(--gold);
  border-radius: 50%;
  border: 3px solid var(--green-900)
}

.showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: center
}

.showcase .big-card {
  padding: 0;
  overflow: hidden
}

.showcase .big-card .content {
  padding: 24px
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px
}

.gallery-item {
  background: var(--cream-2);
  border: 1px solid var(--line);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow)
}

.gallery-item .content {
  padding: 20px
}

.doc-grid .card {
  padding: 18px
}

.doc-grid h4 {
  margin: 12px 0 8px
}

.mosaic {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px
}

.mosaic img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 18px;
  border: 1px solid var(--line);
  cursor: pointer;
  box-shadow: var(--shadow)
}

.notice {
  font-size: .95rem;
  color: var(--muted)
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px
}

.form-group {
  margin-bottom: 16px
}

input,
textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid #d6c899;
  background: #fffdf7;
  font: inherit;
  color: var(--text)
}

textarea {
  min-height: 140px;
  resize: vertical
}

.cta-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  background: linear-gradient(135deg, var(--green-900), var(--green-700));
  color: #fff;
  padding: 32px;
  border-radius: 32px;
  box-shadow: var(--shadow-lg)
}

.cta-strip p {
  color: #e7dec0;
  margin: 0
}

.footer {
  background: var(--green-950);
  color: #f4ecd3;
  padding: 60px 0 24px;
  margin-top: 28px
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr .8fr;
  gap: 24px
}

.footer h4 {
  margin: 0 0 10px;
  color: #fff
}

.footer a,
.footer p {
  color: #e8dfbf
}

.copyright {
  border-top: 1px solid rgba(255, 255, 255, .12);
  margin-top: 28px;
  padding-top: 18px;
  font-size: .92rem;
  color: #d7cda8
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(4, 10, 8, .88);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  z-index: 100
}

.lightbox.open {
  display: flex
}

.lightbox img {
  max-width: min(1100px, 94vw);
  max-height: 88vh;
  border-radius: 18px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .45)
}

.lightbox button {
  position: absolute;
  top: 18px;
  right: 18px;
  background: #fff;
  border: none;
  border-radius: 999px;
  width: 42px;
  height: 42px;
  font-size: 24px;
  cursor: pointer
}

@media (max-width:1024px) {

  .hero-layout,
  .grid-4,
  .grid-3,
  .grid-2,
  .dual-panel,
  .contact-layout,
  .showcase,
  .gallery-grid,
  .footer-grid,
  .mosaic {
    grid-template-columns: 1fr
  }

  .hero-layout {
    min-height: auto
  }

  .mosaic {
    grid-template-columns: repeat(2, 1fr)
  }

  .nav-wrap {
    align-items: flex-start
  }

  .mobile-toggle {
    display: block
  }

  .nav-links {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    padding-top: 12px
  }

  .nav-links.open {
    display: flex
  }
}

@media (max-width:640px) {
  .section {
    padding: 68px 0
  }

  .hero-premium .hero-panel .hero-image {
    height: 280px
  }

  .hero-facts,
  .stat-list {
    grid-template-columns: 1fr
  }

  .brand img {
    width: 62px;
    height: 62px
  }

  .brand-text h1 {
    font-size: 1.05rem
  }

  .mosaic {
    grid-template-columns: 1fr
  }
}


/* HEADER */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 252, 245, .95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(16, 42, 33, .08);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  position: relative;
}

/* BRAND */
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand img {
  width: 65px;
  height: 65px;
  border-radius: 50%;
}

.brand-text h1 {
  margin: 0;
  font-size: 1.2rem;
}

.brand-text small {
  font-size: 0.85rem;
  color: #666;
}

/* NAV DESKTOP */
.nav-links {
  display: flex;
  gap: 22px;
  align-items: center;
}

.nav-links a {
  font-weight: 700;
  color: #102a21;
  transition: all 0.25s ease;
}

.nav-links a:hover {
  padding-left: 4px;
}

.nav-links a.active,
.nav-links a:hover {
  color: #a56b00;
}

/* BUTTON */
.btn {
  background: linear-gradient(135deg, #102a21, #1e4c3b);
  color: #fff !important;
  padding: 10px 18px;
  border-radius: 999px;
}

/* MOBILE BUTTON */
.mobile-toggle {
  display: none;
  border: none;
  background: #102a21;
  color: #fff;
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: bold;
  cursor: pointer;
}

/* ================= MOBILE ================= */
@media (max-width: 1024px) {

  .mobile-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #fffdf7;

    flex-direction: column;

    padding: 10px 0;
    border-top: 1px solid #eee;

    border-radius: 0 0 16px 16px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);

    /* ANIMATION */
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
    transition: all 0.45s ease;
  }

  .nav-links.open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .nav-links a {
    padding: 14px 20px;
    font-size: 16px;
  }

  .nav-links a:not(.btn) {
    border-bottom: 1px solid #eee;
  }

  .nav-links a:last-child {
    border-bottom: none;
  }

  .nav-links a.btn {
    margin: 12px 16px;
    border-radius: 12px;
    text-align: center;
  }
}

/* SMALL MOBILE */
@media (max-width: 640px) {

  .brand img {
    width: 55px;
    height: 55px;
  }

  .brand-text h1 {
    font-size: 1rem;
  }

  .brand-text small {
    display: none;
  }
}