:root {
  --teal-900: #052e2b;
  --teal-800: #0b4f4a;
  --teal-700: #0f766e;
  --teal-600: #14919b;
  --teal-100: #d7f2ef;
  --green: #16a34a;
  --gold: #f59e0b;
  --gold-600: #d97706;
  --orange: #ea580c;
  --whatsapp: #25d366;
  --ink: #0f172a;
  --muted: #556067;
  --line: #e2e8e8;
  --bg: #ffffff;
  --bg-tint: #f2f8f7;
  --shadow-sm: 0 4px 14px rgba(5, 46, 43, 0.08);
  --shadow: 0 14px 40px rgba(5, 46, 43, 0.14);
  --radius: 18px;
  --radius-sm: 12px;
  --font-te: 'Noto Sans Telugu', 'Poppins', system-ui, sans-serif;
  --font-en: 'Poppins', system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  font-family: var(--font-te);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container { width: min(1180px, 92%); margin-inline: auto; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 24px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
  text-align: center;
  line-height: 1.2;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn--primary { background: var(--teal-700); color: #fff; }
.btn--primary:hover { background: var(--teal-800); }
.btn--gold { background: var(--gold); color: #3b2a05; }
.btn--gold:hover { background: var(--gold-600); color: #fff; }
.btn--whatsapp { background: var(--whatsapp); color: #06331a; }
.btn--whatsapp:hover { background: #1ebe5a; color: #fff; }
.btn--outline { background: transparent; color: var(--teal-700); border-color: var(--teal-700); }
.btn--outline:hover { background: var(--teal-700); color: #fff; }
.btn--block { width: 100%; }

.topbar {
  background: var(--teal-900);
  color: #cde7e4;
  font-size: .85rem;
  padding: 8px 0;
}
.topbar__inner { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.topbar__phones { display: flex; gap: 16px; }
.topbar__phones a { font-family: var(--font-en); font-weight: 600; color: #fff; }
.topbar__phones a:hover { color: var(--gold); }

.header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 10px 0; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand__logo {
  font-size: 1.5rem;
  background: var(--teal-100);
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
}
.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__text strong { font-size: 1.05rem; color: var(--teal-800); }
.brand__text small { font-size: .72rem; color: var(--muted); }

.nav { display: flex; align-items: center; gap: 6px; }
.nav__link {
  padding: 9px 14px;
  border-radius: 999px;
  font-weight: 600;
  font-size: .95rem;
  color: var(--teal-800);
  transition: background .18s, color .18s;
}
.nav__link:hover { background: var(--teal-100); }
.nav__link--cta { background: var(--gold); color: #3b2a05; }
.nav__link--cta:hover { background: var(--gold-600); color: #fff; }

.burger { display: none; background: none; border: 0; flex-direction: column; gap: 5px; padding: 8px; cursor: pointer; }
.burger span { width: 26px; height: 3px; background: var(--teal-800); border-radius: 3px; transition: .25s; }
.burger.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.hero { position: relative; color: #fff; isolation: isolate; }
.hero__bg {
  position: absolute; inset: 0; z-index: -2;
  background-image: url("https://images.unsplash.com/photo-1582719471384-894fbb16e074?auto=format&fit=crop&w=1600&q=70");
  background-size: cover; background-position: center;
}
.hero__overlay {
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(120deg, rgba(5,46,43,.94) 0%, rgba(15,118,110,.88) 48%, rgba(5,46,43,.72) 100%);
}
.hero__inner { padding: clamp(48px, 8vw, 96px) 0; max-width: 900px; }
.hero__badge {
  display: inline-block;
  background: var(--gold);
  color: #3b2a05;
  font-weight: 700;
  padding: 7px 16px;
  border-radius: 999px;
  font-size: .9rem;
  margin-bottom: 18px;
  box-shadow: 0 8px 22px rgba(245,158,11,.4);
}
.hero__title { font-size: clamp(1.7rem, 4.4vw, 3rem); font-weight: 800; line-height: 1.2; }
.hero__subtitle { font-size: clamp(1.15rem, 2.6vw, 1.7rem); font-weight: 700; color: var(--gold); margin-top: 12px; }
.hero__course {
  display: inline-block;
  font-family: var(--font-en);
  font-weight: 700;
  letter-spacing: .04em;
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.3);
  padding: 8px 16px;
  border-radius: 10px;
  margin-top: 16px;
  font-size: clamp(.85rem, 2vw, 1.05rem);
}
.hero__tagline { margin-top: 14px; font-size: 1.1rem; color: #e6fffb; }

.hero__points {
  list-style: none;
  margin: 26px 0 18px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 22px;
}
.hero__points li { font-weight: 600; color: #effffd; }

.hero__urgent {
  background: rgba(234, 88, 12, .95);
  display: inline-block;
  padding: 10px 18px;
  border-radius: 12px;
  font-weight: 700;
  margin-bottom: 24px;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(234,88,12,.6); }
  50% { box-shadow: 0 0 0 12px rgba(234,88,12,0); }
}

.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }

.strip { background: var(--teal-100); padding: 26px 0; }
.strip__inner { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.strip__card {
  background: #fff; border-radius: var(--radius-sm); padding: 18px 10px; text-align: center;
  box-shadow: var(--shadow-sm); font-weight: 600; color: var(--teal-800);
  transition: transform .18s ease;
}
.strip__card:hover { transform: translateY(-4px); }
.strip__card span { font-size: 1.7rem; display: block; margin-bottom: 6px; }

.section { padding: clamp(48px, 7vw, 88px) 0; }
.section--tint { background: var(--bg-tint); }
.section__head { text-align: center; max-width: 760px; margin: 0 auto 42px; }
.section__eyebrow {
  display: inline-block;
  color: var(--teal-700);
  background: var(--teal-100);
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 999px;
  font-size: .85rem;
  margin-bottom: 12px;
}
.section__title { font-size: clamp(1.5rem, 3.4vw, 2.2rem); font-weight: 800; color: var(--teal-900); line-height: 1.3; }
.section__note { margin-top: 12px; font-size: .85rem; color: var(--muted); }

.about { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: start; }
.about__text p { margin-bottom: 16px; color: #2b3a3a; font-size: 1.05rem; }
.about__actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 22px; }
.about__cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.mini-card {
  background: #fff; border-radius: var(--radius); padding: 22px 18px;
  box-shadow: var(--shadow-sm); border: 1px solid var(--line);
  transition: transform .18s, box-shadow .18s;
}
.mini-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.mini-card span { font-size: 1.8rem; }
.mini-card h3 { font-size: 1.05rem; color: var(--teal-800); margin: 8px 0 4px; }
.mini-card p { font-size: .9rem; color: var(--muted); }

.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.gallery__item {
  position: relative; border-radius: var(--radius); overflow: hidden; cursor: pointer;
  background: linear-gradient(135deg, var(--teal-100), #eafaf7);
  box-shadow: var(--shadow-sm); aspect-ratio: 4 / 3;
}
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.gallery__item:hover img { transform: scale(1.08); }
.gallery__item figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 30px 16px 14px;
  background: linear-gradient(to top, rgba(5,46,43,.92), rgba(5,46,43,0));
  color: #fff; font-weight: 600; font-size: .92rem; line-height: 1.4;
}
.gallery__item.is-broken img { display: none; }
.gallery__item.is-broken::before {
  content: "🖼️ ఫోటో"; position: absolute; inset: 0;
  display: grid; place-items: center; color: var(--teal-700); font-weight: 700;
}

.elig { display: grid; grid-template-columns: 1.6fr 1fr; gap: 28px; align-items: start; }
.elig__box {
  background: #fff; border-radius: var(--radius); padding: 32px;
  box-shadow: var(--shadow-sm); border: 1px solid var(--line);
}
.tick-list { list-style: none; display: grid; gap: 16px; margin-bottom: 26px; }
.tick-list li {
  font-size: 1.05rem; font-weight: 500;
  padding-left: 4px; color: #243333;
}
.elig__aside {
  background: linear-gradient(160deg, var(--teal-800), var(--teal-700));
  color: #eafffb; border-radius: var(--radius); padding: 28px;
  box-shadow: var(--shadow);
}
.elig__aside h3 { color: var(--gold); margin-bottom: 10px; }
.elig__aside p { font-size: .95rem; color: #d8f4f0; }

.section--admissions {
  background: linear-gradient(120deg, var(--teal-900), var(--teal-700) 70%, var(--teal-600));
  color: #fff;
}
.admissions { display: grid; grid-template-columns: 1.6fr 1fr; gap: 34px; align-items: center; }
.admissions__content h2 { font-size: clamp(1.6rem, 3.6vw, 2.4rem); color: var(--gold); line-height: 1.25; }
.admissions__lead { font-size: 1.2rem; font-weight: 700; margin: 12px 0; color: #fff; }
.admissions__content > p { color: #dcf6f2; }
.admissions__phones { display: flex; gap: 14px; flex-wrap: wrap; margin: 22px 0; }
.phone-pill {
  background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.35);
  padding: 12px 22px; border-radius: 999px; font-weight: 700;
  font-family: var(--font-en); font-size: 1.1rem; letter-spacing: .02em;
  transition: background .18s;
}
.phone-pill:hover { background: rgba(255,255,255,.28); }
.admissions__actions { display: flex; gap: 14px; flex-wrap: wrap; }
.admissions__badge {
  background: var(--gold); color: #3b2a05; border-radius: var(--radius);
  padding: 34px 24px; text-align: center; box-shadow: var(--shadow);
  transform: rotate(-2deg);
}
.admissions__badge-big { display: block; font-size: clamp(1.6rem, 3.4vw, 2.2rem); font-weight: 800; line-height: 1.15; }
.admissions__badge-sub { display: block; margin-top: 8px; font-weight: 700; }

.contact { display: grid; grid-template-columns: 1.5fr 1fr; gap: 30px; align-items: start; }
.form {
  background: #fff; border-radius: var(--radius); padding: 32px;
  box-shadow: var(--shadow-sm); border: 1px solid var(--line);
}
.form__row { margin-bottom: 18px; }
.form__row label { display: block; font-weight: 600; margin-bottom: 7px; color: var(--teal-800); }
.form__row label span { color: var(--orange); }
.form__row input,
.form__row select,
.form__row textarea {
  width: 100%; padding: 13px 15px; border: 2px solid var(--line);
  border-radius: var(--radius-sm); font-family: inherit; font-size: 1rem;
  background: #fbfdfd; transition: border-color .18s, box-shadow .18s;
}
.form__row input:focus,
.form__row select:focus,
.form__row textarea:focus {
  outline: none; border-color: var(--teal-600);
  box-shadow: 0 0 0 4px rgba(20,145,155,.14);
}
.form__row input.invalid,
.form__row select.invalid { border-color: #dc2626; background: #fff5f5; }
.form__note { margin-top: 14px; font-weight: 600; }
.form__note.ok { color: var(--green); }
.form__note.err { color: #dc2626; }

.contact__aside {
  background: var(--teal-100); border-radius: var(--radius); padding: 28px;
  border: 1px solid #caebe6;
}
.contact__aside h3 { color: var(--teal-800); margin-bottom: 14px; }
.contact__phone {
  display: block; font-family: var(--font-en); font-weight: 700; font-size: 1.25rem;
  color: var(--teal-800); padding: 8px 0;
}
.contact__phone:hover { color: var(--gold-600); }
.contact__address { margin-top: 20px; border-top: 1px dashed #a9d8d2; padding-top: 18px; }
.contact__address h4 { color: var(--teal-800); margin-bottom: 6px; }
.contact__address p { color: #2b3a3a; font-size: .95rem; }

.footer { background: var(--teal-900); color: #cde7e4; padding: 54px 0 0; }
.footer__inner { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 32px; padding-bottom: 40px; }
.footer__col h3 { color: #fff; font-size: 1.1rem; margin-bottom: 12px; }
.footer__col h4 { color: var(--gold); margin-bottom: 12px; font-size: 1rem; }
.footer__col p { font-size: .92rem; }
.footer__col a { display: block; padding: 5px 0; color: #cde7e4; font-size: .95rem; }
.footer__col a:hover { color: var(--gold); }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.12); padding: 20px 0 90px;
  text-align: center; font-size: .85rem;
}
.footer__disclaimer { color: #9ec4bf; margin-top: 8px; font-size: .8rem; }

.floaters { position: fixed; right: 16px; bottom: 84px; z-index: 70; display: flex; flex-direction: column; gap: 12px; }
.floater {
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  color: #fff; box-shadow: var(--shadow); transition: transform .18s;
}
.floater:hover { transform: scale(1.08); }
.floater--wa { background: var(--whatsapp); color: #fff; animation: bob 2.4s ease-in-out infinite; }
.floater--call { background: var(--teal-700); }
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }

.callbar { display: none; }

.lightbox {
  position: fixed; inset: 0; z-index: 100; background: rgba(3,20,18,.92);
  display: none; flex-direction: column; align-items: center; justify-content: center;
  padding: 24px; text-align: center;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: min(1000px, 92vw); max-height: 76vh; border-radius: 14px; box-shadow: var(--shadow); }
.lightbox__caption { color: #eafffb; margin-top: 16px; font-weight: 600; max-width: 800px; }
.lightbox__close {
  position: absolute; top: 18px; right: 22px; background: rgba(255,255,255,.12);
  border: 0; color: #fff; font-size: 1.4rem; width: 44px; height: 44px;
  border-radius: 50%; cursor: pointer;
}
.lightbox__close:hover { background: var(--orange); }

@media (max-width: 980px) {
  .about, .elig, .admissions, .contact { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .strip__inner { grid-template-columns: repeat(3, 1fr); }
  .admissions__badge { transform: none; max-width: 340px; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .topbar__item { display: none; }
  .topbar__inner { justify-content: center; }
  .burger { display: flex; }
  .nav {
    position: fixed; inset: 0 0 0 auto; width: min(78vw, 320px);
    background: #fff; flex-direction: column; align-items: stretch;
    padding: 90px 20px 20px; gap: 6px; transform: translateX(105%);
    transition: transform .28s ease; box-shadow: var(--shadow); z-index: 65;
  }
  .nav.open { transform: translateX(0); }
  .nav__link { padding: 14px 16px; border-radius: 12px; }
  .hero__points { grid-template-columns: 1fr; }
  .hero__actions .btn { width: 100%; }
  .gallery { grid-template-columns: 1fr; }
  .strip__inner { grid-template-columns: repeat(2, 1fr); }
  .footer__inner { grid-template-columns: 1fr; }
  .form { padding: 24px; }
  .elig__box { padding: 24px; }

  .callbar {
    display: flex; align-items: center; justify-content: center;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 75;
    background: var(--orange); color: #fff; font-weight: 700;
    padding: 15px; font-size: 1rem; box-shadow: 0 -6px 20px rgba(0,0,0,.18);
  }
  .floaters { bottom: 78px; right: 12px; }
  .floater { width: 50px; height: 50px; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto; }
}
