/* ===== Amlekars Academy — Reference Design Theme ===== */
:root {
  --navy: #0a1e3c;
  --navy-dark: #061428;
  --navy-mid: #0f2a50;
  --gold: #f0b429;
  --gold-dark: #d49a0f;
  --gold-light: #ffd04d;
  --white: #ffffff;
  --off-white: #f4f6f9;
  --text-dark: #1a2744;
  --text-muted: #5a6478;
  --text-light: rgba(255, 255, 255, 0.75);
  --wa-green: #25d366;
  --radius: 10px;
  --radius-lg: 16px;
  --shadow: 0 8px 32px rgba(10, 30, 60, 0.12);
  --shadow-lg: 0 16px 48px rgba(10, 30, 60, 0.18);
  --font: 'Montserrat', system-ui, sans-serif;
  --container: min(1200px, 88%);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  font-family: var(--font);
  color: var(--text-dark);
  background: var(--off-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
.container { width: var(--container); margin-inline: auto; }
.text-gold { color: var(--gold); }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .85rem 1.75rem;
  border-radius: 6px;
  font-family: var(--font);
  font-weight: 700;
  font-size: .8rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all .25s ease;
}
.btn-gold {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}
.btn-gold:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(240, 180, 41, 0.4);
}
.btn-outline {
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.45);
}
.btn-outline:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--gold);
  color: var(--gold-light);
}
.btn-navy {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}
.btn-navy:hover { background: var(--navy-mid); }
.btn-wa-outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-wa-outline:hover { background: rgba(10, 30, 60, 0.08); }
.btn-full { width: 100%; }

/* ===== Header ===== */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: var(--navy);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .5rem 0;
  min-height: 88px;
}
.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.logo-img {
  height: 88px;
  width: auto;
  max-width: 260px;
  object-fit: contain;
}
.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  flex: 1;
  flex-wrap: wrap;
}
.nav a {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-light);
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
  transition: color .2s, border-color .2s;
}
.nav a:hover,
.nav a.active {
  color: var(--gold);
  border-bottom-color: var(--gold);
}
.header-phone {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: var(--gold);
  color: var(--navy);
  font-weight: 700;
  font-size: .78rem;
  letter-spacing: .04em;
  padding: .65rem 1.1rem;
  border-radius: 6px;
  white-space: nowrap;
  transition: background .2s;
}
.header-phone:hover { background: var(--gold-light); }
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  flex-shrink: 0;
}
.nav-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: var(--white);
}

/* ===== Hero ===== */
.hero {
  position: relative;
  background: linear-gradient(135deg, #0a1e3c 0%, #0d2548 100%);
  padding: 6.5rem 0 0;
  overflow: hidden;
}
.hero-dots {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 24px 24px;
  opacity: .5;
  pointer-events: none;
  z-index: 1;
}
.hero-curve {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: min(52%, 620px);
  background: linear-gradient(160deg, #f5c842 0%, #e8a80f 100%);
  clip-path: ellipse(100% 88% at 100% 52%);
  pointer-events: none;
  z-index: 1;
}
.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 1.5rem;
  align-items: center;
  min-height: calc(100vh - 88px);
  max-height: 780px;
  padding-bottom: 3rem;
}
.hero-content {
  padding: 2rem 0;
  align-self: center;
}
.hero h1 {
  font-size: clamp(1.85rem, 3.8vw, 2.85rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: .03em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 1rem;
}
.hero-sub {
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(.88rem, 1.3vw, 1rem);
  margin-bottom: 1.75rem;
  max-width: 460px;
  line-height: 1.7;
}
.hero-stats {
  display: flex;
  flex-direction: column;
  gap: .65rem;
  margin-bottom: 2rem;
}
.hero-stats li {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-size: .8rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.88);
}
.hero-stat-icon {
  color: var(--gold);
  font-size: .75rem;
  width: 18px;
  text-align: center;
}
.hero-btns { display: flex; flex-wrap: wrap; gap: .85rem; }
.hero-image {
  position: relative;
  z-index: 3;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  align-self: center;
}
.hero-image img {
  width: 100%;
  max-height: min(65vh, 480px);
  object-fit: contain;
  object-position: center center;
  border-radius: 12px;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.25);
}

/* ===== Features ===== */
.features {
  background: var(--off-white);
  padding: 3rem 0 5rem;
  position: relative;
  z-index: 5;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
.feature-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  box-shadow: var(--shadow);
  text-align: center;
  transition: transform .3s, box-shadow .3s;
}
.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.feature-icon {
  width: 64px; height: 64px;
  margin: 0 auto 1.25rem;
  background: var(--navy);
  border: 3px solid var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
}
.feature-icon svg { width: 28px; height: 28px; }
.feature-card h3 {
  font-size: .85rem;
  font-weight: 800;
  letter-spacing: .06em;
  color: var(--navy);
  margin-bottom: .75rem;
}
.feature-card p {
  font-size: .82rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 1.25rem;
}
.feature-line {
  display: block;
  width: 36px; height: 3px;
  background: var(--gold);
  margin: 0 auto;
  border-radius: 2px;
}

/* ===== About ===== */
.about {
  background: var(--white);
  padding: 5rem 0;
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 3rem;
  align-items: center;
}
.about-photo-wrap {
  position: relative;
}
.about-photo-bg {
  position: absolute;
  left: -10%;
  top: 10%;
  width: 85%;
  height: 85%;
  background: var(--navy);
  border-radius: 0 50% 50% 0 / 0 40% 40% 0;
}
.about-photo {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 380px;
  border-radius: 8px;
  box-shadow: var(--shadow-lg);
}
.about-content h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  color: var(--navy);
  letter-spacing: .04em;
  margin-bottom: 1.25rem;
}
.about-content p {
  color: var(--text-muted);
  font-size: .92rem;
  line-height: 1.75;
  margin-bottom: 1.75rem;
}
.about-content p strong { color: var(--navy); }
.section-label {
  display: inline-block;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: .5rem;
}
.section-label-dark { color: var(--gold-dark); }
.about-checks li {
  display: flex;
  align-items: center;
  gap: .75rem;
  font-size: .88rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: .75rem;
}
.about-checks .check {
  width: 22px; height: 22px;
  background: var(--gold);
  color: var(--navy);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .7rem;
  font-weight: 800;
  flex-shrink: 0;
}

/* ===== Course Covers ===== */
.covers {
  position: relative;
  background: var(--navy);
  padding: 4.5rem 0;
  overflow: hidden;
}
.covers-dots {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 20px 20px;
  pointer-events: none;
}
.covers-title {
  text-align: center;
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-weight: 800;
  letter-spacing: .12em;
  color: var(--white);
  margin-bottom: 3rem;
  position: relative;
  z-index: 1;
}
.covers-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 1rem;
  position: relative;
  z-index: 1;
}
.cover-item {
  text-align: center;
}
.cover-icon {
  width: 56px; height: 56px;
  margin: 0 auto .75rem;
  border: 2px solid var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
}
.cover-icon svg { width: 24px; height: 24px; }
.cover-item span {
  font-size: .65rem;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--text-light);
  line-height: 1.4;
  display: block;
}

/* ===== Stats Bar ===== */
.stats-bar {
  background: var(--white);
  padding: 3.5rem 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
}
.stat-item {
  text-align: center;
  padding: 0 1rem;
  border-right: 1px solid #e0e4ea;
}
.stat-item:last-child { border-right: none; }
.stat-item strong {
  display: block;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.1;
  margin-bottom: .35rem;
}
.stat-item span {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ===== Admissions ===== */
.admissions {
  background: var(--gold);
  padding: 2rem 0;
}
.admissions-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.admissions-text {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.admissions-icon { font-size: 2rem; }
.admissions-text strong {
  display: block;
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: .08em;
  color: var(--navy);
  margin-bottom: .2rem;
}
.admissions-text p {
  font-size: .85rem;
  color: var(--navy);
  opacity: .85;
}
.admissions-btns {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ===== Contact ===== */
.contact {
  background: var(--off-white);
  padding: 5rem 0;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 3rem;
  align-items: start;
}
.contact-info h2 {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 800;
  color: var(--navy);
  letter-spacing: .04em;
  margin-bottom: 1rem;
}
.contact-info > p {
  color: var(--text-muted);
  font-size: .92rem;
  margin-bottom: 2rem;
}
.contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.25rem;
}
.contact-list-icon { font-size: 1.25rem; }
.contact-list strong {
  display: block;
  font-size: .8rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: .15rem;
}
.contact-list a,
.contact-list span {
  font-size: .88rem;
  color: var(--text-muted);
}
.contact-list a:hover { color: var(--gold-dark); }
.contact-form {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow);
}
.contact-form h3 {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: .06em;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--off-white);
}
.form-group { margin-bottom: 1.1rem; }
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.form-group label {
  display: block;
  font-size: .78rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: .4rem;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.form-group label span { color: #e53e3e; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: .8rem 1rem;
  border: 1px solid #dde2ea;
  border-radius: 6px;
  font-family: inherit;
  font-size: .9rem;
  color: var(--text-dark);
  background: var(--off-white);
  transition: border-color .2s, box-shadow .2s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(240, 180, 41, 0.2);
  background: var(--white);
}
.form-group input.error,
.form-group select.error { border-color: #e53e3e; }
.error-msg {
  display: block;
  font-size: .72rem;
  color: #e53e3e;
  margin-top: .3rem;
  min-height: 1rem;
}

/* ===== Footer ===== */
.footer {
  background: var(--navy-dark);
  padding: 4rem 0 0;
  color: var(--text-light);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
}
.footer-logo {
  height: 90px;
  width: auto;
  max-width: 240px;
  margin-bottom: .75rem;
}
.footer-tagline {
  font-size: .78rem;
  color: rgba(255,255,255,0.5);
  letter-spacing: .04em;
}
.footer-col h4 {
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .12em;
  color: var(--gold);
  margin-bottom: 1.25rem;
}
.footer-col ul li { margin-bottom: .6rem; }
.footer-col ul a,
.footer-col p {
  font-size: .82rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.6;
}
.footer-col ul a:hover { color: var(--gold); }
.footer-contact li {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-size: .82rem;
  color: rgba(255,255,255,0.55);
  margin-bottom: .75rem;
}
.footer-map {
  margin-top: 1rem;
  border-radius: 8px;
  overflow: hidden;
  border: 2px solid rgba(255,255,255,0.1);
}
.footer-map iframe {
  width: 100%;
  height: 120px;
  border: 0;
  display: block;
  filter: grayscale(30%);
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 1.25rem 0;
  text-align: center;
}
.footer-bottom p {
  font-size: .72rem;
  color: rgba(255,255,255,0.35);
  letter-spacing: .04em;
}
.footer-credits {
  margin-top: .5rem;
}
.footer-credits a {
  color: #00bfff;
  font-weight: 600;
  transition: color .2s, text-shadow .2s;
}
.footer-credits a:hover {
  color: #66d4ff;
  text-shadow: 0 0 12px rgba(0, 191, 255, 0.45);
}

/* ===== WhatsApp Float ===== */
.whatsapp-float {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 54px; height: 54px;
  background: var(--wa-green);
  border-radius: 50%;
  z-index: 999;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  transition: transform .3s;
}
.whatsapp-float::after {
  content: '';
  position: absolute;
  inset: 13px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M17.472 14.382c-.297-.149-1.758-.867-2.03-.967-.273-.099-.471-.148-.67.15-.197.297-.767.966-.94 1.164-.173.199-.347.223-.644.075-.297-.15-1.255-.463-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.298-.347.446-.52.149-.174.198-.298.298-.497.099-.198.05-.371-.025-.52-.075-.149-.669-1.612-.916-2.207-.242-.579-.487-.5-.669-.51-.173-.008-.371-.01-.57-.01-.198 0-.52.074-.792.372-.272.297-1.04 1.016-1.04 2.479 0 1.462 1.065 2.875 1.213 3.074.149.198 2.096 3.2 5.077 4.487.709.306 1.262.489 1.694.625.712.227 1.36.195 1.871.118.571-.085 1.758-.719 2.006-1.413.248-.694.248-1.289.173-1.413-.074-.124-.272-.198-.57-.347m-5.421 7.403h-.004a9.87 9.87 0 01-5.031-1.378l-.361-.214-3.741.982.998-3.648-.235-.374a9.86 9.86 0 01-1.51-5.26c.001-5.45 4.436-9.884 9.888-9.884 2.64 0 5.122 1.03 6.988 2.898a9.825 9.825 0 012.893 6.994c-.003 5.45-4.435 9.884-9.884 9.884m8.413-18.297A11.815 11.815 0 0012.05 0C5.495 0 .16 5.335.157 11.892c0 2.096.547 4.142 1.588 5.945L.057 24l6.305-1.654a11.882 11.882 0 005.683 1.448h.005c6.554 0 11.89-5.335 11.893-11.893a11.821 11.821 0 00-3.48-8.413z'/%3E%3C/svg%3E") center/contain no-repeat;
}
.whatsapp-float:hover { transform: scale(1.08); }

/* ===== Responsive ===== */
@media (max-width: 1100px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .covers-grid { grid-template-columns: repeat(4, 1fr); }
  .stats-grid { grid-template-columns: repeat(3, 1fr); }
  .stat-item:nth-child(3) { border-right: none; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .header-inner {
    flex-wrap: wrap;
    min-height: auto;
    padding: .65rem 0;
  }
  .nav-toggle { display: flex; }
  .header-phone { display: none; }
  .nav {
    display: none;
    order: 3;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--navy-mid);
    border-radius: var(--radius);
    padding: .35rem 0;
    margin-top: .25rem;
  }
  .nav.open { display: flex; }
  .nav a {
    width: 100%;
    padding: .7rem 1rem;
    border-bottom: none;
  }
  .hero {
    padding-bottom: 1rem;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    min-height: auto;
    max-height: none;
    text-align: center;
    padding-bottom: 5.5rem;
    gap: 1rem;
  }
  .hero-content {
    display: contents;
  }
  .hero h1 {
    order: -2;
    margin-bottom: 0.75rem;
    padding: 0 1rem;
    font-size: clamp(1.65rem, 7vw, 2.1rem);
  }
  .hero h1 .text-gold {
    color: var(--gold);
    display: block;
    margin-top: 0.15rem;
  }
  .hero-sub {
    order: 0;
    margin-inline: auto;
    margin-bottom: 1.25rem;
    padding: 0 1rem;
    color: rgba(255, 255, 255, 0.88);
    max-width: 100%;
  }
  .hero-stats {
    order: 0;
    align-items: center;
    gap: 0.85rem;
    margin-bottom: 1.5rem;
    padding: 0 1rem;
    padding-right: 4rem;
  }
  .hero-stats li {
    color: rgba(255, 255, 255, 0.92);
  }
  .hero-stat-icon {
    color: var(--gold);
  }
  .hero-btns {
    order: 0;
    justify-content: center;
    gap: 0.75rem;
    padding: 0 1rem 1.25rem;
  }
  .hero-btns .btn-outline {
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.45);
    background: rgba(255, 255, 255, 0.06);
  }
  .hero-curve {
    width: 100%;
    height: 30%;
    top: auto;
    bottom: 0;
    clip-path: ellipse(110% 75% at 50% 100%);
  }
  .hero-image {
    order: -1;
    height: auto;
    padding: 0.5rem 1rem 0;
  }
  .hero-image img {
    max-height: 240px;
    object-fit: contain;
    border-radius: 12px;
  }
  .about-grid,
  .contact-grid { grid-template-columns: 1fr; }
  .about-photo { margin-inline: auto; }
  .admissions-inner { flex-direction: column; text-align: center; }
  .admissions-text { flex-direction: column; }
  .admissions-btns { justify-content: center; }
}

@media (max-width: 600px) {
  .header-inner { min-height: 72px; }
  .logo-img { height: 64px; max-width: 180px; }
  .hero { padding-top: 5.75rem; }
  .hero-grid { padding-bottom: 6rem; }
  .hero-stats { padding-right: 4rem; }
  .whatsapp-float {
    bottom: 1rem;
    right: 1rem;
    width: 50px;
    height: 50px;
  }
  .features-grid { grid-template-columns: 1fr; }
  .covers-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat-item { border-right: none; border-bottom: 1px solid #e0e4ea; padding-bottom: 1rem; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; text-align: center; }
  .footer-logo { margin-inline: auto; }
}
