:root {
  color-scheme: light;
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #1f2937;
  background: #f8fafc;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background: linear-gradient(180deg, #fcfcff 0%, #f8fafc 100%);
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1200px, calc(100% - 2rem));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
}

.brand {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  align-items: center;
}

.nav a {
  font-weight: 500;
  color: #334155;
}

.hero {
  position: relative;
  min-height: 88vh;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.hero-carousel {
  width: 100%;
  height: 100%;
  position: relative;
}

.carousel-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 0.8s ease;
  display: grid;
  place-items: center;
}

.carousel-slide.active {
  opacity: 1;
}

.hero-copy {
  max-width: 700px;
  padding: 3rem 2rem;
  border-radius: 2rem;
  background: rgba(15, 23, 42, 0.72);
  color: #f8fafc;
  box-shadow: 0 32px 80px rgba(15, 23, 42, 0.24);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 700;
  color: #7dd3fc;
}

.hero-copy h1 {
  margin: 1rem 0 1rem;
  font-size: clamp(2.5rem, 4vw, 4.25rem);
  line-height: 1.02;
}

.hero-copy p {
  margin: 0;
  color: #e2e8f0;
  font-size: 1rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 1.6rem;
  border-radius: 999px;
  font-weight: 700;
  border: none;
  transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: #0f766e;
  color: #ffffff;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.16);
  color: #f8fafc;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.carousel-controls {
  position: absolute;
  width: 100%;
  bottom: 2rem;
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.carousel-btn {
  width: 3rem;
  height: 3rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  background: rgba(15, 23, 42, 0.45);
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
}

.section {
  padding: 5rem 0;
}

.section-alt {
  background: #ffffff;
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 3rem;
}

.section-header h2 {
  margin: 1rem 0 1rem;
  font-size: clamp(2rem, 2.8vw, 3rem);
}

.section-header p {
  color: #475569;
}

.cards-grid,
.team-grid,
.why-grid {
  display: grid;
  gap: 1.75rem;
}

.cards-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card {
  background: #ffffff;
  border-radius: 1.5rem;
  padding: 2rem;
  box-shadow: 0 22px 45px rgba(15, 23, 42, 0.08);
  border: 1px solid rgba(15, 23, 42, 0.06);
}

.card.highlighted {
  border-color: #0f766e;
  box-shadow: 0 32px 70px rgba(15, 23, 42, 0.14);
}

.card-top {
  display: inline-block;
  margin-bottom: 1rem;
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  background: #ecfeff;
  color: #0f766e;
  font-weight: 700;
  font-size: 0.9rem;
}

.card h3 {
  margin: 0 0 1rem;
  font-size: 1.4rem;
}

.card p {
  margin: 0 0 1.25rem;
  color: #475569;
}

.card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.8rem;
}

.card li::before {
  content: '✓';
  margin-right: 0.75rem;
  color: #0f766e;
}

.team-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.teacher-card {
  background: #ffffff;
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: 0 22px 40px rgba(15, 23, 42, 0.1);
  text-align: center;
}

.teacher-card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
}

.teacher-card h3 {
  margin: 1.25rem 1rem 0.5rem;
}

.teacher-card p {
  margin: 0 1.25rem 1.5rem;
  color: #475569;
}

.why-grid {
  grid-template-columns: 1.1fr 0.9fr;
  align-items: start;
}

.why-copy h2 {
  margin-top: 1rem;
  font-size: clamp(2rem, 3vw, 2.8rem);
}

.why-copy p {
  color: #475569;
  max-width: 620px;
}

.why-list {
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 1rem;
}

.why-list li {
  background: #f8fafc;
  border-radius: 1rem;
  padding: 1rem 1.2rem;
  color: #1f2937;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
}

.why-cards {
  display: grid;
  gap: 1rem;
}

.feature-card {
  background: #0f766e;
  color: white;
  border-radius: 1.5rem;
  padding: 1.75rem;
  box-shadow: 0 24px 45px rgba(15, 23, 42, 0.18);
}

.feature-card h3 {
  margin: 0 0 0.75rem;
}

.feature-card p {
  margin: 0;
  color: #d1fae5;
}

.stats-grid,
.plan-grid,
.testimonial-grid {
  display: grid;
  gap: 1.5rem;
}

.stats-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 2rem;
}

.stat-card {
  background: #ffffff;
  border-radius: 1.5rem;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
  border: 1px solid rgba(15, 23, 42, 0.06);
}

.stat-card span {
  display: block;
  font-size: 3rem;
  font-weight: 800;
  color: #0f766e;
}

.stat-card p {
  margin: 1rem 0 0;
  color: #475569;
  font-weight: 600;
}

.plan-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 2rem;
}

.plan-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.plan-price {
  margin-top: 1.75rem;
  font-size: 1.25rem;
  font-weight: 800;
  color: #0f766e;
}

.testimonial-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 2rem;
}

.testimonial-card {
  background: #ffffff;
  border-radius: 1.75rem;
  padding: 2rem;
  box-shadow: 0 22px 45px rgba(15, 23, 42, 0.08);
  min-height: 260px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.testimonial-card p {
  margin: 0 0 1.5rem;
  color: #334155;
  line-height: 1.75;
}

.testimonial-meta {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  color: #475569;
}

.testimonial-meta strong {
  color: #0f172a;
}

.admissions-hero {
  padding: 5rem 0 2rem;
  background: linear-gradient(180deg, #0f766e 0%, #0f172a 100%);
  color: white;
}

.admissions-hero .section-header h1,
.admissions-hero .section-header p {
  color: #f8fafc;
}

.info-grid,
.contact-grid {
  display: grid;
  gap: 1.5rem;
}

.info-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.contact-grid {
  grid-template-columns: 1fr 1fr;
}

.contact-card,
.batch-card,
.location-card {
  background: #ffffff;
  border-radius: 1.5rem;
  padding: 2rem;
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.08);
  border: 1px solid rgba(15, 23, 42, 0.06);
}

.location-card {
  display: grid;
  gap: 1rem;
}

.location-card h3,
.contact-card h3,
.batch-card h3 {
  margin-top: 0;
}

.map-container {
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.12);
}

.map-container iframe {
  width: 100%;
  height: 320px;
  border: 0;
}

.site-footer {
  background: #0f172a;
  color: #e2e8f0;
  padding: 3rem 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer-inner h3 {
  margin: 0 0 0.75rem;
}

.footer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.site-footer .btn-primary {
  background: #22c55e;
}

.site-footer .btn-secondary {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.24);
}

@media (max-width: 980px) {
  .cards-grid,
  .team-grid,
  .why-grid {
    grid-template-columns: 1fr;
  }

  .why-grid {
    gap: 2rem;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 720px) {
  .header-inner {
    flex-direction: column;
    align-items: stretch;
  }

  .nav {
    justify-content: center;
  }

  .hero-copy {
    padding: 2rem 1.5rem;
  }

  .carousel-controls {
    bottom: 1rem;
  }

  .teacher-card img {
    height: 220px;
  }
}

@media (max-width: 520px) {
  .hero-copy h1 {
    font-size: 2rem;
  }

  .hero-actions {
    flex-direction: column;
  }

  .carousel-btn {
    width: 2.6rem;
    height: 2.6rem;
  }
}
