/* ============================================================
   ANAMIKA'S ENGLISH ACADEMY — STYLESHEET
   ============================================================ */

/* ---------- CSS Variables ---------- */
:root {
  --primary:   #1b3a6b;
  --primary-light: #2756a8;
  --accent:    #f5a623;
  --accent-dark: #e08b00;
  --white:     #ffffff;
  --light-bg:  #f4f7ff;
  --gray:      #6b7280;
  --dark:      #111827;
  --card-shadow: 0 8px 32px rgba(27,58,107,0.10);
  --radius:    14px;
  --transition: 0.3s ease;
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Poppins', sans-serif;
  color: var(--dark);
  background: var(--white);
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ---------- Reusable ---------- */
.container { width: min(1200px, 92vw); margin-inline: auto; }

.section-tag {
  display: inline-block;
  background: rgba(245,166,35,0.15);
  color: var(--accent-dark);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: .35rem 1rem;
  border-radius: 50px;
  margin-bottom: .75rem;
}

.section-title {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 800;
  color: var(--primary);
  line-height: 1.25;
  margin-bottom: .75rem;
}

.section-subtitle {
  color: var(--gray);
  font-size: 1rem;
  max-width: 580px;
  line-height: 1.7;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .8rem 1.8rem;
  border-radius: 50px;
  font-size: .95rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  border: none;
}
.btn-primary {
  background: var(--accent);
  color: var(--white);
  box-shadow: 0 4px 18px rgba(245,166,35,.4);
}
.btn-primary:hover { background: var(--accent-dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(245,166,35,.45); }
.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}
.btn-outline:hover { background: var(--primary); color: var(--white); transform: translateY(-2px); }
.btn-white {
  background: var(--white);
  color: var(--primary);
  box-shadow: 0 4px 18px rgba(0,0,0,.12);
}
.btn-white:hover { background: var(--accent); color: var(--white); transform: translateY(-2px); }

/* ---------- NAVBAR ---------- */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 10000;            /* must be above mobile-menu overlay */
  padding: 1rem 0;
  transition: background var(--transition), box-shadow var(--transition), padding var(--transition);
}
#navbar.scrolled {
  background: var(--white);
  box-shadow: 0 2px 20px rgba(27,58,107,.12);
  padding: .6rem 0;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo img { height: 56px; transition: height var(--transition); }
#navbar.scrolled .nav-logo img { height: 46px; }

.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}
.nav-links a {
  font-size: .92rem;
  font-weight: 600;
  color: var(--white);
  position: relative;
  transition: color var(--transition);
}
#navbar.scrolled .nav-links a { color: var(--dark); }
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--accent);
  transition: width var(--transition);
}
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }

/* accent colour must win regardless of scrolled-state specificity */
.nav-links a:hover,
.nav-links a.active,
#navbar.scrolled .nav-links a:hover,
#navbar.scrolled .nav-links a.active { color: var(--accent); }

.nav-cta { margin-left: 1rem; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
  position: relative;
  z-index: 10001;            /* always on top of the mobile-menu overlay */
}
.hamburger span {
  width: 26px; height: 3px;
  background: var(--white);
  border-radius: 3px;
  transition: var(--transition);
}
#navbar.scrolled .hamburger span { background: var(--primary); }
/* keep bars visible (white) while menu is open over the dark overlay */
.hamburger.open span { background: var(--white) !important; }
.hamburger.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- HERO ---------- */
#hero {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 55%, #3b72c4 100%);
  display: flex;
  align-items: center;
  padding: 7rem 0 4rem;
  position: relative;
  overflow: hidden;
}
.hero-bg-circle {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,.05);
}
.hero-bg-circle.c1 { width: 500px; height: 500px; top: -150px; right: -100px; }
.hero-bg-circle.c2 { width: 300px; height: 300px; bottom: -80px; left: -80px; }
.hero-bg-circle.c3 { width: 200px; height: 200px; top: 30%; left: 40%; }

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(255,255,255,.15);
  backdrop-filter: blur(8px);
  color: var(--white);
  font-size: .8rem;
  font-weight: 600;
  padding: .45rem 1rem;
  border-radius: 50px;
  margin-bottom: 1.25rem;
  border: 1px solid rgba(255,255,255,.25);
}
.hero-badge .dot { width: 8px; height: 8px; background: var(--accent); border-radius: 50%; animation: pulse 1.5s infinite; }

.hero-title {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 1.25rem;
}
.hero-title span { color: var(--accent); }

.hero-desc {
  color: rgba(255,255,255,.85);
  font-size: 1.05rem;
  line-height: 1.75;
  margin-bottom: 2rem;
  max-width: 480px;
}

.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero-stats {
  display: flex;
  gap: 2rem;
  margin-top: 2.5rem;
}
.hero-stat strong {
  display: block;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--accent);
}
.hero-stat span {
  font-size: .82rem;
  color: rgba(255,255,255,.75);
  font-weight: 500;
}

.hero-image-wrap {
  position: relative;
  display: flex;
  justify-content: center;
}
.hero-img-main {
  border-radius: 20px;
  width: 100%;
  max-width: 480px;
  box-shadow: 0 30px 80px rgba(0,0,0,.3);
  animation: floatY 4s ease-in-out infinite;
}
.hero-shape {
  position: absolute;
  pointer-events: none;
}
.hero-shape.s1 { top: -20px; left: -30px; width: 90px; opacity: .7; animation: spin 12s linear infinite; }
.hero-shape.s2 { bottom: 10px; right: -20px; width: 70px; opacity: .6; animation: spin 16s linear infinite reverse; }
.hero-card-float {
  position: absolute;
  background: var(--white);
  border-radius: 12px;
  padding: .75rem 1rem;
  box-shadow: var(--card-shadow);
  display: flex;
  align-items: center;
  gap: .6rem;
  font-size: .82rem;
  font-weight: 600;
  color: var(--primary);
  animation: floatY 3s ease-in-out infinite;
}
.hero-card-float.left { bottom: 60px; left: -30px; animation-delay: .5s; }
.hero-card-float.top  { top: 30px;  right: -20px; animation-delay: 1s; }
.hero-card-float .icon { font-size: 1.3rem; }

/* ---------- MARQUEE BAR ---------- */
.marquee-bar {
  background: var(--accent);
  padding: .7rem 0;
  overflow: hidden;
}
.marquee-track {
  display: flex;
  gap: 3rem;
  animation: marquee 22s linear infinite;
  width: max-content;
}
.marquee-track span {
  white-space: nowrap;
  font-size: .85rem;
  font-weight: 700;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: .6rem;
}
.marquee-track span::before { content: "★"; }

/* ---------- ABOUT ---------- */
#about {
  padding: 6rem 0;
  background: var(--white);
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.about-img-wrap {
  position: relative;
  border-radius: 20px;
  overflow: visible;
}
.about-single-img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(27,58,107,0.18);
  display: block;
}
.about-badge-iso {
  position: absolute;
  bottom: 20px; right: 10px;
  background: var(--primary);
  color: var(--white);
  border-radius: 12px;
  padding: .8rem 1.1rem;
  text-align: center;
  font-weight: 800;
  font-size: .85rem;
  box-shadow: 0 8px 24px rgba(27,58,107,.35);
  line-height: 1.3;
}
.about-badge-iso span { display: block; font-size: 1.3rem; color: var(--accent); }

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 1.75rem 0;
}
.about-feat {
  display: flex;
  gap: .75rem;
  align-items: flex-start;
  background: var(--light-bg);
  padding: .9rem 1rem;
  border-radius: 10px;
}
.about-feat .feat-icon {
  font-size: 1.4rem;
  flex-shrink: 0;
}
.about-feat h4 { font-size: .88rem; font-weight: 700; color: var(--primary); }
.about-feat p  { font-size: .78rem; color: var(--gray); margin-top: .2rem; }

.about-branches {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}
.branch-pill {
  display: flex;
  align-items: center;
  gap: .4rem;
  background: rgba(245,166,35,.12);
  color: var(--primary);
  padding: .45rem .9rem;
  border-radius: 50px;
  font-size: .82rem;
  font-weight: 600;
}
.branch-pill .icon { color: var(--accent); }

/* ---------- COURSES ---------- */
#courses {
  padding: 6rem 0;
  background: var(--light-bg);
}
.courses-header {
  text-align: center;
  margin-bottom: 3rem;
}
.courses-header .section-subtitle { margin-inline: auto; }

.courses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
  gap: 1.75rem;
}
.course-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--card-shadow);
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
}
.course-card:hover { transform: translateY(-6px); box-shadow: 0 20px 50px rgba(27,58,107,.18); }
.course-card-img {
  height: 200px;
  object-fit: cover;
  width: 100%;
}
.course-card-body { padding: 1.4rem; flex: 1; display: flex; flex-direction: column; }
.course-tag {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--accent-dark);
  margin-bottom: .5rem;
}
.course-card-body h3 { font-size: 1.1rem; font-weight: 800; color: var(--primary); margin-bottom: .5rem; }
.course-card-body p { font-size: .88rem; color: var(--gray); line-height: 1.65; flex: 1; }
.course-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 1.2rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(0,0,0,.06);
}
.course-card-footer .enroll-btn {
  font-size: .82rem;
  font-weight: 700;
  color: var(--primary-light);
  display: flex;
  align-items: center;
  gap: .3rem;
  cursor: pointer;
  transition: gap var(--transition);
}
.course-card-footer .enroll-btn:hover { gap: .6rem; color: var(--accent-dark); }
.course-card-footer .level-badge {
  font-size: .72rem;
  font-weight: 600;
  padding: .25rem .7rem;
  border-radius: 50px;
  background: var(--light-bg);
  color: var(--gray);
}

/* ---------- WHY CHOOSE US ---------- */
#why {
  padding: 6rem 0;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  position: relative;
  overflow: hidden;
}
#why::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.why-inner {
  position: relative;
  z-index: 1;
}
.why-header { text-align: center; margin-bottom: 3rem; }
.why-header .section-title { color: var(--white); }
.why-header .section-subtitle { color: rgba(255,255,255,.75); margin-inline: auto; }

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.5rem;
}
.why-card {
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: background var(--transition), transform var(--transition);
}
.why-card:hover { background: rgba(255,255,255,.15); transform: translateY(-4px); }
.why-card .wi { font-size: 2.4rem; margin-bottom: 1rem; }
.why-card h3 { font-size: 1rem; font-weight: 700; color: var(--white); margin-bottom: .5rem; }
.why-card p  { font-size: .85rem; color: rgba(255,255,255,.7); line-height: 1.65; }

/* ---------- TESTIMONIALS ---------- */
#testimonials {
  padding: 6rem 0;
  background: var(--white);
}
.testi-header { text-align: center; margin-bottom: 3rem; }

.testi-slider-wrap { position: relative; overflow: hidden; }
.testi-track {
  display: flex;
  transition: transform .5s ease;
  gap: 1.5rem;
  will-change: transform;
}
.testi-card {
  /* width is set in JS via flex-basis so % bugs don't apply */
  flex-shrink: 0;
  background: var(--light-bg);
  border-radius: var(--radius);
  padding: 2rem;
  position: relative;
  flex-shrink: 0;
}
.testi-card::before {
  content: '\201C';
  position: absolute;
  top: 1rem; left: 1.5rem;
  font-size: 4rem;
  color: var(--accent);
  font-family: Georgia, serif;
  line-height: 1;
  opacity: .4;
}
.testi-stars { color: var(--accent); font-size: .9rem; margin-bottom: .75rem; }
.testi-text { font-size: .92rem; color: var(--gray); line-height: 1.75; margin-bottom: 1.25rem; }
.testi-author { display: flex; align-items: center; gap: .75rem; }
.testi-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 800;
  font-size: .95rem;
  flex-shrink: 0;
}
.testi-author-name { font-weight: 700; font-size: .9rem; color: var(--primary); }
.testi-author-tag { font-size: .75rem; color: var(--gray); }

.testi-controls {
  display: flex;
  gap: .75rem;
  justify-content: center;
  margin-top: 2rem;
}
.testi-btn {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 2px solid var(--primary);
  background: var(--white);
  color: var(--primary);
  font-size: 1.1rem;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}
.testi-btn:hover { background: var(--primary); color: var(--white); }
.testi-dots { display: flex; gap: .5rem; align-items: center; }
.testi-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #d1d5db;
  cursor: pointer;
  transition: var(--transition);
}
.testi-dot.active { background: var(--primary); width: 22px; border-radius: 4px; }

/* ---------- REGISTER ---------- */
#register {
  padding: 6rem 0;
  background: var(--light-bg);
}
.register-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
/* ---------- MAP SIDE ---------- */
.register-map { display: flex; align-items: stretch; }
.map-card {
  background: var(--white);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--card-shadow);
  width: 100%;
  display: flex;
  flex-direction: column;
}
.map-label {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  padding: 1.1rem 1.25rem;
  background: var(--primary);
  color: var(--white);
}
.map-label i {
  font-size: 1.3rem;
  color: var(--accent);
  margin-top: .1rem;
  flex-shrink: 0;
}
.map-label strong { display: block; font-size: .9rem; font-weight: 700; margin-bottom: .2rem; }
.map-label span   { font-size: .78rem; color: rgba(255,255,255,.78); line-height: 1.5; }
.map-frame {
  flex: 1;
  min-height: 320px;
}
.map-frame iframe { display: block; width: 100%; height: 100%; border: 0; }
.map-directions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .85rem;
  background: var(--accent);
  color: var(--white);
  font-size: .88rem;
  font-weight: 700;
  text-decoration: none;
  transition: background var(--transition);
}
.map-directions:hover { background: var(--accent-dark); }

.register-form-box {
  background: var(--white);
  border-radius: 20px;
  padding: 2.5rem;
  box-shadow: var(--card-shadow);
}
.register-form-box h2 { font-size: 1.6rem; font-weight: 800; color: var(--primary); margin-bottom: .5rem; }
.register-form-box p { font-size: .9rem; color: var(--gray); margin-bottom: 1.75rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { margin-bottom: 1rem; }
.form-group label { display: block; font-size: .82rem; font-weight: 600; color: var(--primary); margin-bottom: .4rem; }
.form-group input,
.form-group select,
.form-group textarea,
.form-group .form-control {
  width: 100%;
  padding: .75rem 1rem;
  border: 1.5px solid #e5e7eb;
  border-radius: 8px;
  font-size: .9rem;
  font-family: inherit;
  color: var(--dark);
  transition: border-color var(--transition), box-shadow var(--transition);
  background: var(--white);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-light);
  box-shadow: 0 0 0 3px rgba(39,86,168,.12);
}
.form-group textarea { resize: vertical; min-height: 80px; }
.form-submit { width: 100%; padding: .9rem; font-size: 1rem; border-radius: 8px; }

/* ---------- CONTACT STRIP ---------- */
#contact-strip {
  background: var(--primary);
  padding: 2.5rem 0;
}
.contact-strip-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
}
.contact-items { display: flex; gap: 2.5rem; flex-wrap: wrap; }
.contact-item { display: flex; align-items: center; gap: .75rem; }
.contact-item .ci { font-size: 1.5rem; color: var(--accent); }
.contact-item-text small { display: block; font-size: .72rem; color: rgba(255,255,255,.6); font-weight: 600; text-transform: uppercase; letter-spacing: .08em; }
.contact-item-text strong { font-size: .95rem; color: var(--white); }

/* ---------- FOOTER ---------- */
footer {
  background: var(--dark);
  color: rgba(255,255,255,.75);
  padding: 3.5rem 0 1.5rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 2.5rem;
}
.footer-brand img { height: 52px; margin-bottom: 1rem; }
.footer-brand p { font-size: .88rem; line-height: 1.7; max-width: 280px; }
.footer-socials { display: flex; gap: .75rem; margin-top: 1.25rem; }
.social-btn {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  display: flex; align-items: center; justify-content: center;
  font-size: .9rem;
  color: var(--white);
  transition: background var(--transition);
  cursor: pointer;
}
.social-btn:hover { background: var(--accent); }
footer h4 { color: var(--white); font-size: .95rem; font-weight: 700; margin-bottom: 1rem; }
footer ul li { margin-bottom: .55rem; }
footer ul li a { font-size: .88rem; color: rgba(255,255,255,.65); transition: color var(--transition); }
footer ul li a:hover { color: var(--accent); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .5rem;
  font-size: .82rem;
}
.footer-bottom span { color: rgba(255,255,255,.45); }
.footer-bottom strong { color: var(--accent); }

/* ---------- FLOATING CTA ---------- */
#float-cta {
  position: fixed;
  bottom: 2rem; right: 2rem;
  z-index: 998;
  display: flex;
  flex-direction: column;
  gap: .75rem;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .4s, transform .4s;
  pointer-events: none;
}
#float-cta.visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
.float-btn {
  width: 52px; height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  box-shadow: 0 4px 18px rgba(0,0,0,.25);
  cursor: pointer;
  transition: transform var(--transition);
  border: none;
}
.float-btn:hover { transform: scale(1.1); }
.float-btn.call  { background: #25d366; color: var(--white); }
.float-btn.top   { background: var(--primary); color: var(--white); }

/* ---------- ENQUIRE FLOAT TAB ---------- */
.enquire-float-tab {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%) rotate(0deg);
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .45rem;
  background: var(--accent);
  color: var(--white);
  border: none;
  border-radius: 12px 0 0 12px;
  padding: 1.1rem .65rem;
  cursor: pointer;
  box-shadow: -4px 4px 18px rgba(0,0,0,.18);
  transition: background var(--transition), box-shadow var(--transition), transform .25s;
  font-family: 'Poppins', sans-serif;
}
.enquire-float-tab:hover {
  background: var(--accent-dark);
  box-shadow: -6px 6px 24px rgba(0,0,0,.25);
  transform: translateY(-50%) translateX(-4px);
}
.enquire-float-tab i {
  font-size: 1.15rem;
}
.enquire-float-tab span {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  transform: rotate(180deg);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  white-space: nowrap;
}

/* ---------- MODAL ---------- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.55);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s;
}
.modal-overlay.open { opacity: 1; pointer-events: auto; }
.modal {
  background: var(--white);
  border-radius: 20px;
  max-width: 480px;
  width: 100%;
  padding: 2.5rem;
  position: relative;
  transform: translateY(30px);
  transition: transform .3s;
}
.modal-overlay.open .modal { transform: translateY(0); }
.modal-close {
  position: absolute;
  top: 1rem; right: 1.25rem;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--gray);
  background: none;
  border: none;
  line-height: 1;
}
.modal h3 { font-size: 1.4rem; font-weight: 800; color: var(--primary); margin-bottom: .5rem; }
.modal p { font-size: .9rem; color: var(--gray); margin-bottom: 1.5rem; }
.toast {
  position: fixed;
  bottom: 5rem; left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: #10b981;
  color: var(--white);
  padding: .75rem 1.5rem;
  border-radius: 50px;
  font-size: .9rem;
  font-weight: 600;
  box-shadow: 0 4px 18px rgba(0,0,0,.2);
  opacity: 0;
  transition: opacity .3s, transform .3s;
  z-index: 99999;
  pointer-events: none;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ---------- ANIMATIONS ---------- */
@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-12px); }
}
@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%       { transform: scale(1.5); opacity: .6; }
}
@keyframes spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ---------- MOBILE MENU (always off-screen until .open) ---------- */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: var(--primary);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  transform: translateX(100%);   /* hidden off-screen on ALL screen sizes */
  transition: transform .35s ease;
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: auto;
}
.mobile-menu a {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--white);
}
.mobile-close-btn {
  position: absolute;
  top: 1.25rem; right: 1.5rem;
  background: rgba(255,255,255,.15);
  border: none;
  color: var(--white);
  font-size: 1.6rem;
  width: 44px; height: 44px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  line-height: 1;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 992px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-desc  { margin-inline: auto; }
  .hero-actions { justify-content: center; }
  .hero-stats   { justify-content: center; }
  .hero-image-wrap { display: none; }
  .about-grid        { grid-template-columns: 1fr; }
  .about-single-img  { height: 280px; }
  .about-badge-iso   { bottom: 12px; right: 12px; }
  .register-grid { grid-template-columns: 1fr; }
  .map-frame { min-height: 260px; }
  /* testi-card widths handled by JS */
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  /* testi-card widths handled by JS */
  .form-row { grid-template-columns: 1fr; }
  .contact-strip-inner { flex-direction: column; align-items: flex-start; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
@media (max-width: 480px) {
  .about-features { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr 1fr; }
}

/* ============================================================
   ON-LOAD POPUP
   ============================================================ */
.popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}
.popup-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.popup-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  max-width: 820px;
  width: 100%;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
  transform: translateY(40px) scale(0.97);
  transition: transform 0.4s ease;
  position: relative;
}
.popup-overlay.active .popup-box {
  transform: translateY(0) scale(1);
}

/* Left panel */
.popup-left {
  background: linear-gradient(145deg, var(--primary) 0%, var(--primary-light) 100%);
  padding: 2.5rem 2rem;
  color: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
}
.popup-brand img {
  height: 52px;
  margin-bottom: .5rem;
}
.popup-left h2 {
  font-size: 1.7rem;
  font-weight: 900;
  line-height: 1.2;
  color: var(--white);
}
.popup-left h2 span { color: var(--accent); }
.popup-left p {
  font-size: .88rem;
  color: rgba(255,255,255,.82);
  line-height: 1.65;
}
.popup-perks {
  display: flex;
  flex-direction: column;
  gap: .55rem;
  margin-top: .5rem;
}
.popup-perks li {
  display: flex;
  align-items: center;
  gap: .55rem;
  font-size: .83rem;
  color: rgba(255,255,255,.9);
  font-weight: 500;
}
.popup-perks li i { color: var(--accent); font-size: .9rem; }

/* Right panel */
.popup-right {
  background: var(--white);
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.popup-right h3 {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: .3rem;
}
.popup-sub {
  font-size: .82rem;
  color: var(--gray);
  margin-bottom: 1.5rem;
}
.popup-form { display: flex; flex-direction: column; gap: .85rem; }
.popup-field { width: 100%; }
.popup-input {
  width: 100%;
  padding: .75rem 1rem;
  border: 1.5px solid #e5e7eb;
  border-radius: 8px;
  font-size: .88rem;
  font-family: 'Poppins', sans-serif;
  color: var(--dark);
  outline: none;
  transition: border-color 0.25s, box-shadow 0.25s;
  background: #fafafa;
}
.popup-input:focus {
  border-color: var(--primary-light);
  box-shadow: 0 0 0 3px rgba(39,86,168,.12);
  background: var(--white);
}
.popup-submit {
  width: 100%;
  padding: .85rem;
  background: var(--accent);
  color: var(--white);
  border: none;
  border-radius: 8px;
  font-size: .95rem;
  font-weight: 700;
  font-family: 'Poppins', sans-serif;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  transition: background 0.25s, transform 0.25s, box-shadow 0.25s;
  box-shadow: 0 4px 18px rgba(245,166,35,.4);
  margin-top: .25rem;
}
.popup-submit:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(245,166,35,.45);
}

/* Close button */
.popup-close {
  position: absolute;
  top: .85rem;
  right: 1rem;
  background: rgba(0,0,0,.18);
  border: none;
  color: var(--white);
  font-size: 1.4rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  line-height: 1;
  z-index: 2;
  transition: background 0.2s;
}
.popup-close:hover { background: rgba(0,0,0,.4); }

/* Mobile */
@media (max-width: 640px) {
  .popup-box { grid-template-columns: 1fr; }
  .popup-left { display: none; }
  .popup-right { padding: 2rem 1.5rem; }
  .popup-close { background: rgba(27,58,107,.2); color: var(--primary); }
}
