/* ------------ RESET & BASICS ------------ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  color: #1f2933;
  background-color: #ffffff;
  line-height: 1.6;
}
h1,
h2,
h3,
.nav-logo span {
  font-family: "DM Sans", "Inter", sans-serif;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

/* ------------ UTILITIES ------------ */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 4.5rem 0;
}

.section-alt {
  padding: 4.5rem 0;
  background: #f7f7f9;
}

.section h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  text-align: center;
  color: #222;
}

/* reveal animation base for sections */
.section.reveal,
.section-alt.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.section.reveal.in-view,
.section-alt.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* ------------ BUTTONS ------------ */
.btn-primary,
.btn-secondary {
  position: relative;
  display: inline-block;
  padding: 0.9rem 2rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease,
    background 0.15s ease, color 0.15s ease;
  cursor: pointer;
  overflow: hidden;
}

/* default button styles (non-hero sections) */
.btn-primary {
  background: linear-gradient(135deg, #8a00ff, #0033ff);
  color: #ffffff;
  box-shadow: 0 10px 25px rgba(79, 70, 229, 0.3);
  border: none;
}

.btn-secondary {
  background: transparent;
  border: 2px solid #8a00ff;
  color: #8a00ff;
}

/* line-passing effect (like navbar links) */
.btn-primary::after,
.btn-secondary::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 3px;
  background: linear-gradient(135deg, #8a00ff, #ff2a2a);
  transition: width 0.25s ease;
}

.btn-primary:hover::after,
.btn-secondary:hover::after {
  width: 100%;
}

.btn-primary:hover,
.btn-secondary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(79, 70, 229, 0.4);
}

/* ------------ NAVBAR ------------ */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.6rem 1.5rem;
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.nav-logo img {
  width: 40px;
  height: 40px;
  border-radius: 12px;
}

.nav-logo span {
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  color: #4b008f;
}

.navbar nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.navbar nav a {
  font-size: 0.9rem;
  font-weight: 500;
  color: #555;
  position: relative;
  padding-bottom: 0.2rem;
}

.navbar nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(135deg, #8a00ff, #ff2a2a);
  transition: width 0.2s ease;
}

.navbar nav a:hover::after {
  width: 100%;
}

.menu-toggle {
  display: none;
  border: none;
  background: transparent;
  font-size: 1.4rem;
  cursor: pointer;
}

/* Theme toggle */
.theme-toggle {
  border: 1px solid rgba(148, 163, 184, 0.7);
  background: rgba(255, 255, 255, 0.8);
  border-radius: 999px;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  margin-right: 0.8rem;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease,
    box-shadow 0.2s ease;
}

.theme-toggle:hover {
  background: #f3f4ff;
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.18);
}

/* ------------ HERO ------------ */
.hero {
  min-height: calc(100vh - 70px); /* navbar height */
  display: flex;
  align-items: center;
  justify-content: center;

  padding: 0 1.5rem; /* ✅ REMOVE top/bottom padding */

  position: relative;
  color: #ffffff;
  text-align: center;
  overflow: hidden;
  border-bottom: 4px solid #8a00ff;
}

/* background image via HTML */
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  transform: scale(1.05);
  transition: transform 0.3s ease-out;
}

/* overlay to darken image */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top, rgba(15, 23, 42, 0.2), transparent 45%),
    linear-gradient(to bottom, rgba(15, 23, 42, 0.75), rgba(0, 0, 0, 0.9));
  z-index: 2;
}
.hero-content {
  max-width: 640px;
  position: relative;
  z-index: 3;

  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;

  animation: fade-up 0.9s ease-out both;

  transform: translateY(-12px); /* 🔥 MAGIC LINE */
}


.hero h1 {
  font-size: clamp(2.4rem, 4vw, 3rem);
  margin-bottom: 1rem;
  font-weight: 700;
}

.hero p {
  font-size: 1rem;
  margin-bottom: 1.6rem;
  opacity: 0.9;
}

/* hero button group alignment */
.hero-btn-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.6rem;
}

/* HERO BUTTON STYLES – HIGH CONTRAST */
.hero .btn-primary {
  background: #ffffff;
  color: #8a00ff;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
}

.hero .btn-secondary {
  background: rgba(255, 255, 255, 0.16);
  border: 2.5px solid #ffffff;
  color: #ffffff;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
}

.hero .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.26);
  color: #ffffff;
}

/* rounded hero buttons */
.hero .btn-primary,
.hero .btn-secondary {
  border-radius: 40px;
}

/* hero animation keyframes */
@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* parallax helper (JS will adjust transform) */
.hero.parallax-active .hero-bg {
  will-change: transform;
}

/* ------------ DOWNLOAD BUTTON ------------ */
.download-btn-container {
  text-align: center;
  margin-bottom: 1.5rem;
}

.download-btn {
  display: inline-block;
  padding: 0.9rem 2rem;
  background: linear-gradient(135deg, #8a00ff, #0033ff);
  color: #fff;
  font-weight: 600;
  border-radius: 40px;
  font-size: 1rem;
  box-shadow: 0 10px 25px rgba(79, 70, 229, 0.3);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  position: relative;
  overflow: hidden;
}

.download-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(79, 70, 229, 0.45);
}

.download-btn::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 3px;
  background: #ff2a2a;
  transition: width 0.25s ease;
}

.download-btn:hover::after {
  width: 100%;
}

/* ------------ ABOUT ------------ */
#about .container {
  display: flex;
  justify-content: center;
}

.about-card {
  background: #ffffff;
  padding: 2rem 1.8rem;
  border-radius: 20px;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.16);
  text-align: center;
  max-width: 480px;
  margin: 0 auto;
  border-top: 4px solid #8a00ff;
}
.about-enquire-btn {
  display: inline-block;
  margin-top: 1.2rem;
  padding: 0.65rem 1.6rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 500;
  background: linear-gradient(135deg, #8a00ff, #0033ff);
  color: #ffffff;
  box-shadow: 0 10px 28px rgba(79, 70, 229, 0.35);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.about-enquire-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(79, 70, 229, 0.45);
}

.about-photo {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.25);
  border: 4px solid #ffffff;
  margin: 0 auto 1rem;
}

#about h2 {
  font-size: 1.6rem;
  margin-bottom: 0.2rem;
  color: #111827;
}

.small-title {
  font-size: 0.9rem;
  color: #6b7280;
  margin-bottom: 0.8rem;
}

.about-text {
  font-size: 0.95rem;
  color: #374151;
  max-width: 420px;
  margin: 0 auto;
}
.about-enquire-btn {
  display: inline-block;
  margin-top: 1.2rem;
  padding: 0.65rem 1.6rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 500;
  background: linear-gradient(135deg, #8a00ff, #0033ff);
  color: #ffffff;
  box-shadow: 0 10px 28px rgba(79, 70, 229, 0.35);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.about-enquire-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(79, 70, 229, 0.45);
}

/* ------------ WHY CHOOSE US ------------ */
#why-us .why-tagline {
  text-align: center;
  font-size: 0.95rem;
  color: #6b7280;
  margin-top: -0.6rem;
  margin-bottom: 2rem;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
}

.why-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 1.4rem 1.2rem;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
  border-top: 4px solid #8a00ff;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.why-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.4rem;
  color: #111827;
}

.why-card p {
  font-size: 0.9rem;
  color: #4b5563;
}

.why-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 60px rgba(15, 23, 42, 0.16);
}

/* ------------ COURSES ------------ */
.course-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.course-card {
  background: #ffffff;
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: 0 12px 25px rgba(15, 23, 42, 0.08);
  border-top: 4px solid #8a00ff;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.course-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.18);
}

.course-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.7rem;
  color: #111827;
}

.course-card ul {
  list-style: disc;
  padding-left: 1.2rem;
  font-size: 0.9rem;
  color: #4b5563;
}

/* ------------ BATCH TABLE ------------ */
.batch-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1.5rem;
  font-size: 0.92rem;
}

.batch-table th,
.batch-table td {
  border: 1px solid #e5e7eb;
  padding: 0.7rem 0.75rem;
  text-align: left;
}

.batch-table thead {
  background: #f3f4ff;
}

.batch-table th {
  font-weight: 600;
  color: #111827;
}

/* ------------ TESTIMONIALS – HORIZONTAL SCROLL ------------ */
.testimonial-marquee {
  margin-top: 1.5rem;
  overflow: hidden;
  position: relative;
}



.testimonial-card {
  flex: 0 0 320px;
  max-width: 320px;
  background: #ffffff;
  border-radius: 1rem;
  padding: 1.1rem 1.2rem;
  border: 1px solid #e5e7eb;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.06);
  position: relative;
  overflow: hidden;
}

.testimonial-card::before {
  content: "“";
  position: absolute;
  font-size: 3.2rem;
  color: rgba(138, 0, 255, 0.08);
  top: -18px;
  left: 12px;
}

.testimonial-header {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.3rem;
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.25);
  border: 3px solid #ffffff;
}

.testimonial-card p {
  font-size: 0.9rem;
  line-height: 1.35;
  margin-bottom: 0.5rem;
  color: #374151;
}

.testimonial-name {
  font-size: 0.88rem;
  font-weight: 600;
  color: #8a00ff;
}

/* ------------ FAQ ------------ */
/* ===== FAQ ===== */

.faq-list {
  max-width: 800px;
  margin: 2rem auto 0;
}

.faq-item {
  background: #ffffff;
  border-radius: 14px;
  border: 1px solid #e5e7eb;
  margin-bottom: 1rem;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
}

.faq-question {
  width: 100%;
  padding: 1rem 1.2rem;
  border: none;
  background: transparent;
  cursor: pointer;

  display: flex;
  justify-content: space-between;
  align-items: center;

  font-size: 1rem;
  font-weight: 600;
  color: #111827;
}

.faq-icon {
  font-size: 1.3rem;
  transition: transform 0.3s ease;
}

.faq-answer {
  display: none;
  padding: 0 1.2rem 1rem;
}

.faq-answer p {
  font-size: 0.95rem;
  color: #4b5563;
}

/* OPEN STATE */
.faq-item.active .faq-answer {
  display: block;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}


/* ------------ GALLERY ------------ */
/* ================= ACADEMY MOMENTS (FIXED) ================= */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.6rem;
  margin-top: 2rem;
}

/* Card wrapper */
.gallery-card {
  position: relative;
  height: 220px;
  border-radius: 18px;
  overflow: hidden;
  background: #020617;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.18);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

/* Purple accent line (like other cards) */
.gallery-card::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 3px;
  width: 0;
  background: linear-gradient(135deg, #8a00ff, #0033ff);
  transition: width 0.3s ease;
}

/* Image */
.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

/* Hover */
.gallery-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 70px rgba(15, 23, 42, 0.35);
}

.gallery-card:hover img {
  transform: scale(1.08);
}

.gallery-card:hover::after {
  width: 100%;
}

/* ================= RESPONSIVE ================= */

@media (max-width: 900px) {
  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-card {
    height: 200px;
  }
}


/* ------------ CONTACT ------------ */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: 2rem;
  align-items: flex-start;
}

#contact iframe {
  border-radius: 12px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.12);
}

#contact a {
  color: #0033ff;
}

#contact a:hover {
  text-decoration: underline;
}

/* ------------ ENQUIRE CTA ------------ */
.enquire-cta {
  padding: 3rem 1.5rem 3.5rem;
  background: linear-gradient(135deg, #8a00ff, #0033ff);
  color: #ffffff;
  text-align: center;
  margin-top: 2rem;
}

.enquire-inner h2 {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
}

.enquire-inner p {
  font-size: 0.98rem;
  opacity: 0.9;
  margin-bottom: 1.5rem;
}

.whatsapp-btn {
  display: inline-block;
  padding: 0.9rem 2.2rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  background: #25d366;
  color: #0b1724;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
  position: relative;
  overflow: hidden;
}

.whatsapp-btn::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 3px;
  background: rgba(255, 255, 255, 0.85);
  transition: width 0.25s ease;
}

.whatsapp-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
  background: #22c45c;
}

.whatsapp-btn:hover::after {
  width: 100%;
}

/* ------------ FEES & PRICING (Premium dark section) ------------ */
#fees.section-alt {
  background: radial-gradient(circle at top left, #111827 0, #020617 45%, #020617 100%);
  color: #e5e7eb;
}

#fees h2 {
  color: #f9fafb;
}

#fees .fees-note {
  color: #9ca3af;
  text-align: center;
  max-width: 520px;
  margin: 0 auto;
}

.fees-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.6rem;
  margin-top: 1.8rem;
}

/* glassy pricing cards */
.fees-card {
  position: relative;
  background: radial-gradient(circle at top left, rgba(138, 0, 255, 0.14), rgba(15, 23, 42, 0.95));
  border-radius: 20px;
  padding: 1.8rem 1.6rem 2.2rem;
  border: 1px solid rgba(148, 163, 184, 0.45);
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
  overflow: hidden;
}

.fees-card::after {
  content: "";
  position: absolute;
  inset: auto 14px 14px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, #8a00ff, #0033ff);
  opacity: 0.9;
}

.fees-card:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: 0 32px 80px rgba(15, 23, 42, 0.95);
  border-color: rgba(167, 139, 250, 0.9);
}

.fees-card h3 {
  font-size: 1.08rem;
  margin-bottom: 0.8rem;
  color: #f9fafb;
}

.fees-old {
  font-size: 0.9rem;
  color: #9ca3af;
  text-decoration: line-through;
  margin-bottom: 0.15rem;
}

.fees-current {
  font-size: 1.45rem;
  font-weight: 600;
  color: #fbbf24;
  margin-bottom: 0.7rem;
}

.fees-current span {
  font-size: 0.9rem;
  font-weight: 500;
  color: #facc15;
}

.fees-detail {
  font-size: 0.9rem;
  color: #e5e7eb;
  margin-bottom: 0.6rem;
}

.fees-extra {
  font-size: 0.86rem;
  color: #4ade80;
  font-weight: 500;
}

/* Reasons list inside fees cards */
.fees-reasons {
  margin: 0.4rem 0 0.7rem;
  padding-left: 1.1rem;
  font-size: 0.88rem;
  color: #e5e7eb;
}

.fees-reasons li {
  list-style: disc;
  margin-bottom: 0.25rem;
}

/* Demo button inside fees cards */
.fees-demo-btn {
  display: inline-block;
  margin-top: 0.4rem;
  padding: 0.6rem 1.5rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 500;
  border: 1px solid rgba(148, 163, 184, 0.8);
  background: transparent;
  color: #e5e7eb;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease,
    transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.fees-demo-btn:hover {
  background: #e5e7eb;
  color: #111827;
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.6);
}

/* Highlighted demo button for BEST VALUE card */
.fees-demo-btn.primary-demo {
  background: linear-gradient(135deg, #8a00ff, #0033ff);
  border-color: transparent;
  color: #ffffff;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.8);
}

.fees-demo-btn.primary-demo:hover {
  background: linear-gradient(135deg, #a855f7, #2563eb);
}

/* BEST VALUE badge */
.fees-card.best-value {
  padding-top: 3.2rem;
  position: relative;
  border-color: rgba(250, 204, 21, 0.9);
  box-shadow: 0 30px 80px rgba(15, 23, 42, 0.95);
}

.fees-badge {
  position: absolute;
  top: 0.8rem;
  right: 1.2rem;
  padding: 0.18rem 0.6rem;
  border-radius: 6px;
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  background: #facc15;
  color: #111827;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

/* ------------ FOOTER (premium layout) ------------ */
.site-footer {
  background: #050b1e;
  color: #e5e7eb;
  padding: 3.2rem 1.5rem 1.6rem;
}

.footer-main {
  display: grid;
  grid-template-columns: 2.2fr 1.2fr 1.4fr 1.6fr;
  gap: 3rem;

  align-items: flex-start;

  width: 100%;
  max-width: 1200px;

  padding-bottom: 2.2rem;
  margin-bottom: 1.2rem;

  border-bottom: 1px solid rgba(148, 163, 184, 0.25);
}


.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.footer-brand img {
  width: 42px;
  height: 42px;
  border-radius: 12px;
}

.footer-brand span {
  font-size: 1.15rem;
  font-weight: 600;
  color: #f9fafb;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.footer-text {
  max-width: 300px;
  line-height: 1.6;
}

.footer-text {
  font-size: 0.9rem;
  color: #9ca3af;
  max-width: 260px;
}
.footer-socials {
  display: flex;
  gap: 0.8rem;
  margin-top: 1.2rem;
  flex-wrap: wrap;
}
.footer-heading {
  margin-bottom: 0.8rem;
}

.footer-links a,
.footer-links span {
  line-height: 1.7;
}

.footer-socials {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.social-icon {
  width: 42px;
  height: 42px;
  border-radius: 999px;

  display: flex;
  align-items: center;
  justify-content: center;

  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(148, 163, 184, 0.45);

  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.55);
  transition: transform 0.18s ease,
              box-shadow 0.18s ease,
              background 0.18s ease;
}

.social-icon img {
  width: 20px;
  height: 20px;
  object-fit: contain;
  filter: grayscale(100%) brightness(1.1);
  transition: filter 0.18s ease, transform 0.18s ease;
}

/* Apple-style hover */
.social-icon:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.75);
  background: rgba(138, 0, 255, 0.14);
}

.social-icon:hover img {
  filter: none;
  transform: scale(1.08);
}


.social-icon:hover {
  background: #111827;
  border-color: rgba(167, 139, 250, 0.8);
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.7);
}

.footer-heading {
  font-weight: 600;
  font-size: 1.05rem;
  margin-bottom: 1rem;
  color: #f9fafb;
}

.footer-links a,
.footer-links span {
  display: block;
  font-size: 0.9rem;
  color: #d1d5db;
  margin-bottom: 0.45rem;
}

.footer-links a:hover {
  color: #ffffff;
}

.footer-contact p {
  font-size: 0.9rem;
  color: #e5e7eb;
  margin-bottom: 0.4rem;
}

.footer-contact a {
  color: #a5b4fc;
}

.footer-contact a:hover {
  color: #ffffff;
}

.footer-bottom {
  text-align: center;
  font-size: 0.85rem;
  color: #9ca3af;
}

/* ------------ FLOATING WHATSAPP BUTTON ------------ */
.floating-whatsapp {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 52px;
  height: 52px;
  border-radius: 999px;
  background: #25d366;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0b1724;
  font-weight: 700;
  font-size: 1.1rem;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.4);
  cursor: pointer;
  z-index: 120;
  border: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease,
    background 0.15s ease;
}

.floating-whatsapp:hover {
  transform: translateY(-3px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
  background: #22c45c;
}

/* ------------ SCROLL-TOP BUTTON ------------ */
.scroll-top-btn {
  position: fixed;
  right: 18px;
  bottom: 84px;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: none;
  background: rgba(15, 23, 42, 0.9);
  color: #e5e7eb;
  font-size: 1.1rem;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 110;
}

.scroll-top-btn.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

/* ------------ RESPONSIVE ------------ */
@media (max-width: 1100px) {
  .why-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .course-grid,
  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .fees-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .navbar {
    padding: 0.6rem 1rem;
  }

  .menu-toggle {
    display: block;
  }

  .navbar nav {
    position: fixed;
    inset: 56px 0 auto 0;
    background: #ffffff;
    flex-direction: column;
    padding: 0.75rem 1.25rem 1.5rem;
    gap: 0.75rem;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.15);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.2s ease, opacity 0.2s ease;
  }

  .navbar nav.nav-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .hero {
    padding-top: 5.5rem;
  }

  .hero-content {
    text-align: left;
  }
}

@media (max-width: 640px) {
  .course-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .testimonial-card {
    flex: 0 0 260px;
    max-width: 260px;
  }

  .hero {
    text-align: left;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero .btn-primary {
    margin-right: 0.5rem;
  }

  .fees-grid {
    grid-template-columns: 1fr;
  }

  .footer-main {
    grid-template-columns: 1fr;
  }

  .why-grid {
    grid-template-columns: 1fr;
  }
}

/* ------------ DARK MODE ------------ */
body.dark-mode {
  background-color: #020617;
  color: #e5e7eb;
}

body.dark-mode .navbar {
  background: rgba(15, 23, 42, 0.92);
  border-bottom-color: rgba(148, 163, 184, 0.35);
}

body.dark-mode .nav-logo span {
  color: #e5e7eb;
}

body.dark-mode .navbar nav a {
  color: #e5e7eb;
}

body.dark-mode .navbar nav {
  background: #020617;
}

body.dark-mode .theme-toggle {
  background: rgba(15, 23, 42, 0.9);
  border-color: rgba(148, 163, 184, 0.8);
  color: #e5e7eb;
}

body.dark-mode .section {
  background: #020617;
}

body.dark-mode .section-alt {
  background: #020617;
}

body.dark-mode .section h2 {
  color: #f9fafb;
}

body.dark-mode p {
  color: #e5e7eb;
}

body.dark-mode .about-card,
body.dark-mode .course-card,
body.dark-mode .why-card,
body.dark-mode .testimonial-card,
body.dark-mode .faq-item,
body.dark-mode .enquire-cta {
  background: #020617;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.9);
  border-color: rgba(148, 163, 184, 0.4);
}

body.dark-mode .faq-answer p {
  color: #e5e7eb;
}

body.dark-mode .gallery-grid img {
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.9);
}

body.dark-mode .download-btn {
  box-shadow: 0 14px 35px rgba(15, 23, 42, 0.9);
}

body.dark-mode .enquire-cta {
  background: linear-gradient(135deg, #4c1d95, #1d4ed8);
}

body.dark-mode .site-footer {
  background: #020617;
}

/* hero stays dark already, so just make sure text is bright */
body.dark-mode .hero p {
  color: #e5e7eb;
}
/* ---- STATIC TESTIMONIAL FIX ---- */
.static-testimonials {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.static-testimonials .testimonial-card {
  max-width: 360px;
}
/* ------------ SAMPLE TEACHING VIDEOS ------------ */
#demo-videos {
  background: #ffffff;
}

#demo-videos h2 {
  text-align: center;
  margin-bottom: 0.4rem;
}

#demo-videos .why-tagline {
  text-align: center;
  font-size: 0.95rem;
  color: #6b7280;
  margin-bottom: 2rem;
}

/* Grid layout */
.video-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.6rem;
}

/* Video card */
.video-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 1rem 1rem 1.3rem;
  border-top: 4px solid #8a00ff;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.12);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.video-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 28px 70px rgba(15, 23, 42, 0.22);
}

/* Video wrapper (keeps 16:9 ratio) */
.video-frame {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 */
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.25);
  margin-bottom: 0.9rem;
}

.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* Video text */
.video-card h3 {
  font-size: 1rem;
  font-weight: 600;
  color: #111827;
  margin-bottom: 0.3rem;
}

.video-card p {
  font-size: 0.88rem;
  color: #4b5563;
  line-height: 1.45;
}

/* Purple glow line on hover (premium feel) */
.video-card::after {
  content: "";
  display: block;
  height: 2px;
  width: 0;
  margin-top: 0.9rem;
  background: linear-gradient(135deg, #8a00ff, #0033ff);
  transition: width 0.3s ease;
  border-radius: 999px;
}

.video-card:hover::after {
  width: 100%;
}

/* ------------ RESPONSIVE ------------ */
@media (max-width: 900px) {
  .video-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .video-grid {
    grid-template-columns: 1fr;
  }

  .video-card {
    padding: 0.9rem;
  }
}
.faq-answer {
  display: none;
  padding: 0 1.2rem 1rem;
}

.faq-item.active .faq-answer {
  display: block;
}
/* ===== FAQ SECTION (WORKING) ===== */

.faq-list {
  max-width: 800px;
  margin: 2rem auto 0;
}

.faq-item {
  background: #ffffff;
  border-radius: 14px;
  border: 1px solid #e5e7eb;
  margin-bottom: 1rem;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
}

.faq-question {
  width: 100%;
  padding: 1rem 1.2rem;
  background: none;
  border: none;
  cursor: pointer;

  display: flex;
  justify-content: space-between;
  align-items: center;

  font-size: 1rem;
  font-weight: 600;
  color: #111827;
}

.faq-icon {
  font-size: 1.4rem;
  transition: transform 0.25s ease;
}

/* CLOSED by default */
.faq-answer {
  display: none;
  padding: 0 1.2rem 1rem;
  font-size: 0.95rem;
  color: #4b5563;
}

/* OPEN STATE */
.faq-item.active .faq-answer {
  display: block;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg); /* + → × */
}
/* ===== HOW COURSE WORKS ===== */

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.6rem;
  margin-top: 2.5rem;
}

.process-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 1.8rem 1.5rem;
  box-shadow: 0 16px 45px rgba(15, 23, 42, 0.1);
  border-top: 4px solid #8a00ff;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.process-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 26px 65px rgba(15, 23, 42, 0.18);
}

.process-card .step {
  font-size: 0.75rem;
  font-weight: 700;
  color: #8a00ff;
  letter-spacing: 0.12em;
}

.process-card h3 {
  margin: 0.6rem 0 0.4rem;
  font-size: 1.05rem;
  color: #111827;
}

.process-card p {
  font-size: 0.9rem;
  color: #4b5563;
}

/* responsive */
@media (max-width: 900px) {
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .process-grid {
    grid-template-columns: 1fr;
  }
}
/* ===== HERO GOOGLE RATING ===== */
.hero-rating {
  margin-top: 1.2rem;
  text-align: center;
  line-height: 1.4;

  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-rating strong {
  font-weight: 600;
  color: #fde68a;
}

.hero-rating span {
  font-size: 0.78rem;
  color: rgba(229, 231, 235, 0.85);
  margin-top: 0.2rem;
}
.hero-content {
  max-width: 720px;
  margin: 0 auto;

  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;

  gap: 1.2rem; /* 🔑 controls vertical rhythm */
}

/* Heading */
.hero-content h1 {
  font-size: clamp(2.6rem, 4vw, 3.2rem);
  font-weight: 700;
  line-height: 1.2;
  margin: 0;
}

.hero-highlight {
  display: block;
  margin-top: 0.4rem;
}

/* Subtitle */
.hero-subtitle {
  max-width: 560px;
  font-size: 1rem;
  opacity: 0.9;
  margin: 0;
}

/* Buttons */
.hero-btn-group {
  display: flex;
  justify-content: center;
  gap: 1.1rem;
  margin-top: 0.6rem;
}

/* Rating */
.hero-rating {
  margin-top: 0.6rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
}

.hero-rating .stars {
  font-size: 1.1rem;
}

.hero-rating .rating-text {
  font-size: 0.85rem;
  opacity: 0.85;
}
.hero-rating {
  margin-top: 1rem;
  text-align: center;
  font-size: 0.85rem;
  opacity: 0.9;
}

.hero-rating .stars {
  font-size: 1.1rem;
  margin-bottom: 0.2rem;
}
/* ------------ HERO GOOGLE RATING ------------ */
.hero-rating {
  margin-top: 1.4rem;
  display: flex;
  justify-content: center;
}

.rating-card {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 18px;
  padding: 0.8rem 1.6rem;
  text-align: center;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.35);
  animation: rating-fade-up 0.8s ease both;
}

/* Stars */
.rating-card .stars {
  font-size: 1.2rem;
  letter-spacing: 2px;
  color: #facc15;
  margin-bottom: 0.25rem;
}

/* Score */
.rating-card .score {
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.15rem;
}

/* Trust text */
.rating-card .trust {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.85);
  letter-spacing: 0.02em;
}

/* Subtle entrance */
@keyframes rating-fade-up {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* ------------ MOBILE NAVBAR FIX ------------ */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
    font-size: 1.6rem;
    color: #4b008f;
    z-index: 1001;
  }

  .navbar nav {
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;

    background: #ffffff;
    flex-direction: column;
    align-items: center;

    gap: 1rem;
    padding: 1.5rem 1.5rem 2rem;

    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);

    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;

    transition: transform 0.3s ease, opacity 0.3s ease;
    z-index: 1000;
  }

  .navbar nav.nav-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .navbar nav a {
    font-size: 1rem;
    font-weight: 600;
    color: #111827;
  }
}
.hero-tagline {
  font-size: 0.95rem;
  opacity: 0.9;
  margin-bottom: 0.8rem;
}
.hero-rating {
  margin-top: 1rem;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 500;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  color: #facc15;
}

.hero-rating span {
  color: #e5e7eb;
  font-weight: 400;
}
/* SF Symbols style icons */
.why-card i,
.section i {
  width: 26px;
  height: 26px;
  stroke-width: 1.6;
  color: #8a00ff;
  margin-bottom: 0.6rem;
}
.why-card:hover i {
  transform: scale(1.05);
}
/* ================= FOOTER FIX ================= */

.site-footer {
  background: radial-gradient(circle at top, #050b1e, #020617);
  color: #e5e7eb;
  padding: 4rem 0 1.6rem;
}

.footer-main {
  display: grid;
  grid-template-columns: 2.2fr 1fr 1.2fr 1.4fr;
  gap: 3rem;
  align-items: flex-start;
}

/* BRAND */
.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 1rem;
}

.footer-brand img {
  width: 42px;
  height: 42px;
  border-radius: 12px;
}

.footer-brand span {
  font-size: 1.1rem;
  font-weight: 600;
  color: #ffffff;
}

.footer-text {
  font-size: 0.9rem;
  color: #9ca3af;
  max-width: 300px;
}

/* SOCIAL ICONS */
.footer-socials {
  display: flex;
  gap: 0.8rem;
  margin-top: 1.4rem;
}

.footer-socials img {
  width: 36px;
  height: 36px;
  padding: 7px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  transition: transform 0.2s ease, background 0.2s ease;
}

.footer-socials img:hover {
  transform: translateY(-3px);
  background: rgba(138,0,255,0.3);
}

/* COLUMNS */
.footer-col h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #ffffff;
}

.footer-col a,
.footer-col span,
.footer-col p {
  display: block;
  font-size: 0.9rem;
  color: #cbd5f5;
  margin-bottom: 0.5rem;
}

.footer-col a:hover {
  color: #ffffff;
}

/* BOTTOM */
.footer-bottom {
  text-align: center;
  font-size: 0.85rem;
  color: #9ca3af;
  margin-top: 3rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(255,255,255,0.15);
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .footer-main {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .footer-main {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-text {
    margin: 0 auto;
  }

  .footer-socials {
    justify-content: center;
  }
}
/* ===== SECTION TITLE FIX ===== */
.section-title {
  font-size: 2rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 2rem;
  color: #111827;
}

/* ===== ACADEMY MOMENTS (FIXED WIDTH & ALIGNMENT) ===== */

#gallery .container {
  max-width: 1100px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
  justify-content: center;
}

/* Card */
.gallery-card {
  position: relative;
  height: 220px;
  border-radius: 18px;
  overflow: hidden;
  background: #020617;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.18);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

/* Purple accent line */
.gallery-card::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 3px;
  width: 0;
  background: linear-gradient(135deg, #8a00ff, #0033ff);
  transition: width 0.3s ease;
}

/* Image */
.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

/* Hover */
.gallery-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 70px rgba(15, 23, 42, 0.35);
}

.gallery-card:hover img {
  transform: scale(1.08);
}

.gallery-card:hover::after {
  width: 100%;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-card {
    height: 200px;
  }
}
/* WhatsApp button with icon */
/* ===== ENQUIRE NOW (PURPLE THEME) ===== */
.whatsapp-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;

  padding: 0.9rem 2.4rem 0.9rem 1.6rem;
  border-radius: 999px;

  font-weight: 600;
  font-size: 1rem;

  background: linear-gradient(135deg, #8a00ff, #0033ff);
  color: #ffffff;

  box-shadow: 0 14px 34px rgba(79, 70, 229, 0.45);
  transition: transform 0.2s ease,
              box-shadow 0.2s ease,
              background 0.2s ease;
}

/* WhatsApp icon – PERFECT SIZE */
.whatsapp-btn img {
  width: 26px;      /* ⬆️ increased */
  height: 26px;
  object-fit: contain;
  filter: brightness(1.2);
}

/* Hover – Apple smooth */
.whatsapp-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 45px rgba(79, 70, 229, 0.65);
  background: linear-gradient(135deg, #a855f7, #2563eb);
}

/* ===== FAQ TAGLINE CENTER FIX ===== */
#process .why-tagline {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 2rem;
}
/* ===== MOBILE NAVBAR (FINAL FIX) ===== */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
    font-size: 1.6rem;
    cursor: pointer;
    z-index: 1001;
  }

  .nav-links {
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;

    background: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;

    gap: 1rem;
    padding: 1.5rem 1.5rem 2rem;

    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);

    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;

    transition: transform 0.3s ease, opacity 0.3s ease;
    z-index: 1000;
  }

  .nav-links.nav-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
}
/* ===== MOBILE NAVBAR (FINAL FIX) ===== */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
    font-size: 1.8rem;
    background: none;
    border: none;
    cursor: pointer;
    color: #4b008f;
    z-index: 1001;
  }

  .nav-links {
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;

    background: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;

    gap: 1rem;
    padding: 1.5rem 0 2rem;

    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;

    transition: transform 0.3s ease, opacity 0.3s ease;
    z-index: 1000;
  }

  .nav-links.nav-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-links a {
    font-size: 1.05rem;
    font-weight: 600;
    color: #111827;
  }
}
/* ================= NEXT LEVEL UI POLISH ================= */

/* ---- Global smoothness ---- */
* {
  -webkit-tap-highlight-color: transparent;
}

body {
  scroll-behavior: smooth;
}

/* ---- Section breathing ---- */
.section,
.section-alt {
  position: relative;
}

.section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top, rgba(138,0,255,0.04), transparent 45%);
  pointer-events: none;
}

/* ---- Headings glow underline ---- */
.section h2 {
  position: relative;
  display: inline-block;
}

.section h2::after {
  content: "";
  display: block;
  height: 3px;
  width: 60%;
  margin: 0.6rem auto 0;
  border-radius: 999px;
  background: linear-gradient(90deg, #8a00ff, #0033ff);
  opacity: 0.85;
}

/* ---- Card hover polish ---- */
.course-card,
.why-card,
.process-card,
.video-card,
.gallery-card,
.fees-card {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.course-card:hover,
.why-card:hover,
.process-card:hover,
.video-card:hover {
  transform: translateY(-8px) scale(1.015);
}

/* ---- Soft glass buttons ---- */
.btn-primary,
.btn-secondary,
.whatsapp-btn,
.fees-demo-btn {
  backdrop-filter: blur(12px);
}

/* ---- Button press feel ---- */
.btn-primary:active,
.btn-secondary:active,
.whatsapp-btn:active,
.fees-demo-btn:active {
  transform: scale(0.96);
}

/* ---- Hero premium glow ---- */
.hero-content h1 {
  text-shadow: 0 10px 40px rgba(0,0,0,0.45);
}

/* ---- Hero rating glass polish ---- */
.hero-rating {
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.18),
              0 10px 30px rgba(0,0,0,0.35);
}

/* ---- Navbar active link indicator ---- */
.navbar nav a {
  transition: color 0.2s ease;
}

.navbar nav a:hover {
  color: #8a00ff;
}

/* ---- Footer premium depth ---- */
.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top, rgba(138,0,255,0.06), transparent 60%);
  pointer-events: none;
}

/* ---- Social icon bounce ---- */
.footer-socials a:hover img {
  transform: scale(1.12) rotate(-2deg);
}

/* ---- Mobile touch optimization ---- */
@media (max-width: 768px) {
  button,
  a {
    touch-action: manipulation;
  }
}

/* ---- Subtle page fade-in ---- */
body {
  animation: page-fade 0.6s ease both;
}

@keyframes page-fade {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* ================= HEADING ALIGNMENT FIX ================= */

/* Force center alignment for ALL main section titles */
.section > .container > h2,
.section-alt > .container > h2,
.section-title {
  display: block !important;
  width: 100%;
  text-align: center !important;
  margin-left: auto;
  margin-right: auto;
}

/* Fix emoji alignment inside headings */
.section h2,
.section-title {
  line-height: 1.25;
}

/* Center underline properly */
.section h2::after,
.section-title::after {
  margin-left: auto !important;
  margin-right: auto !important;
}

/* ---------- GOOGLE MAP HEADING FIX ---------- */
#contact h3 {
  font-size: 2rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 1.5rem;
  color: #111827;
  font-family: "DM Sans", "Inter", sans-serif;
}

/* Underline for Google Map heading */
#contact h3::after {
  content: "";
  display: block;
  height: 3px;
  width: 60px;
  margin: 0.6rem auto 0;
  border-radius: 999px;
  background: linear-gradient(90deg, #8a00ff, #0033ff);
}

/* Dark mode fix */
body.dark-mode #contact h3 {
  color: #f9fafb;
}
/* ========= HERO GOOGLE RATING – PREMIUM FIX ========= */
.hero-rating {
  margin-top: 1.6rem;
  display: flex;
  justify-content: center;
}

.hero-rating {
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.18),
    rgba(255, 255, 255, 0.08)
  );
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);

  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;

  padding: 0.85rem 1.8rem; /* 🔥 MORE BREATHING SPACE */
  text-align: center;

  box-shadow:
    0 18px 45px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);

  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;

  animation: rating-fade-up 0.8s ease both;
}

/* Stars */
.hero-rating .stars,
.hero-rating strong {
  font-size: 1.25rem;
  letter-spacing: 3px;
  color: #facc15;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
}

/* Score */
.hero-rating strong {
  font-weight: 700;
}

/* Trust text */
.hero-rating span {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.9);
  letter-spacing: 0.02em;
}

/* Subtle entrance */
@keyframes rating-fade-up {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* ===== REGISTRATION CTA (GOOGLE FORM BUTTON) ===== */

.register-box {
  max-width: 520px;
  margin: 0 auto;
  text-align: center;
  background: #ffffff;
  padding: 2.2rem 2rem;
  border-radius: 22px;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.12);
  border-top: 4px solid #8a00ff;
}

.register-text {
  font-size: 0.95rem;
  color: #4b5563;
  margin-bottom: 1.6rem;
}

/* Register button */
.register-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;

  padding: 0.95rem 2.4rem;
  border-radius: 999px;

  font-size: 1rem;
  font-weight: 600;

  background: linear-gradient(135deg, #8a00ff, #0033ff);
  color: #ffffff;

  box-shadow: 0 14px 35px rgba(79, 70, 229, 0.4);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.register-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 45px rgba(79, 70, 229, 0.55);
}

/* Mobile */
@media (max-width: 640px) {
  .register-box {
    padding: 2rem 1.5rem;
  }
}
/* ===== ACADEMY MOMENTS – AUTO SCROLL ===== */

/* ===== ACADEMY MOMENTS – 6 IMAGE AUTO SCROLL ===== */
.gallery-marquee {
  position: relative;
  overflow: hidden;
  margin-top: 2.2rem;
}

.gallery-track {
  display: flex;
  gap: 1.6rem;
  width: max-content;
  animation: gallery-scroll 38s linear infinite; /* slower for more cards */
}

.gallery-marquee:hover .gallery-track {
  animation-play-state: paused;
}

/* Cards */
.gallery-card {
  flex: 0 0 320px;
  height: 220px;
  border-radius: 18px;
  overflow: hidden;
  background: #020617;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.18);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  position: relative;
}

.gallery-card::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 3px;
  width: 0;
  background: linear-gradient(135deg, #8a00ff, #0033ff);
  transition: width 0.3s ease;
}

.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

/* Hover effects */
.gallery-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 70px rgba(15, 23, 42, 0.35);
}

.gallery-card:hover img {
  transform: scale(1.08);
}

.gallery-card:hover::after {
  width: 100%;
}

/* Animation */
@keyframes gallery-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* Responsive tweaks */
@media (max-width: 640px) {
  .gallery-card {
    flex: 0 0 260px;
    height: 190px;
  }
  .gallery-track {
    gap: 1.2rem;
    animation-duration: 32s;
  }
}
/* ===== GALLERY EDGE FADE (BG-MATCHED) ===== */

.gallery-marquee {
  position: relative;
  overflow: hidden;
}

/* fade overlays */
.gallery-fade {
  position: absolute;
  top: 0;
  width: 90px;
  height: 100%;
  z-index: 3;
  pointer-events: none;
}

/* LEFT fade — matches section-alt bg */
.gallery-fade.left {
  left: 0;
  background: linear-gradient(
    to right,
    #f7f7f9 0%,
    rgba(247, 247, 249, 0) 100%
  );
}

/* RIGHT fade — matches section-alt bg */
.gallery-fade.right {
  right: 0;
  background: linear-gradient(
    to left,
    #f7f7f9 0%,
    rgba(247, 247, 249, 0) 100%
  );
}

/* MOBILE fine tuning */
@media (max-width: 640px) {
  .gallery-fade {
    width: 50px;
  }
}

/* ===== WHO SHOULD JOIN ===== */
.join-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.6rem;
  margin-top: 2.2rem;
}

.join-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 1.6rem 1.4rem;
  text-align: center;

  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.1);
  border-top: 4px solid #8a00ff;

  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.join-card h3 {
  margin: 0.6rem 0 0.4rem;
  font-size: 1.05rem;
  color: #111827;
}

.join-card p {
  font-size: 0.9rem;
  color: #4b5563;
}

.join-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 70px rgba(15, 23, 42, 0.18);
}

/* Responsive */
@media (max-width: 900px) {
  .join-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .join-grid {
    grid-template-columns: 1fr;
  }
}
/* ===== TIMELINE ===== */
.timeline {
  display: flex;
  justify-content: space-between;
  gap: 1.2rem;
  margin-top: 2.5rem;
  flex-wrap: wrap;
}

.timeline-item {
  flex: 1;
  min-width: 200px;

  background: #ffffff;
  border-radius: 18px;
  padding: 1.4rem 1.2rem;
  text-align: center;

  box-shadow: 0 14px 35px rgba(15, 23, 42, 0.1);
  border-top: 4px solid #8a00ff;
}

.timeline-item span {
  display: block;
  font-size: 1.2rem;
  font-weight: 700;
  color: #8a00ff;
  margin-bottom: 0.4rem;
}

.timeline-item p {
  font-size: 0.9rem;
  color: #4b5563;
}
/* ===== SECTION SUBTITLE (CENTER FIX) ===== */
.section-subtitle {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 2rem auto;

  font-size: 0.95rem;
  color: #6b7280;
  line-height: 1.6;
}
/* ------------ STUDENT REGISTRATION CARD ------------ */

.section-subtext {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 1.6rem;
  font-size: 0.95rem;
  color: #6b7280;
}

.register-card {
  max-width: 720px; /* 👈 same visual weight as others */
  margin: 0 auto;

  background: #ffffff;
  border-radius: 20px;
  border-top: 4px solid #8a00ff;

  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.14);
  overflow: hidden;
}

/* Google Form iframe */
.register-card iframe {
  width: 100%;
  height: 620px; /* balanced height */
  border: none;
}

/* Mobile adjustment */
@media (max-width: 640px) {
  .register-card iframe {
    height: 680px;
  }
}/* ------------ REGISTRATION CARD (CLEAN & BALANCED) ------------ */

.section-subtext {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 1.8rem;
  font-size: 0.95rem;
  color: #6b7280;
}

.register-card {
  max-width: 520px; /* 👈 same visual size as course cards */
  margin: 0 auto;

  background: #ffffff;
  border-radius: 20px;
  border-top: 4px solid #8a00ff;

  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.14);
  padding: 2.2rem 2rem;

  text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.register-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 70px rgba(15, 23, 42, 0.22);
}

.register-content h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
  color: #111827;
}

.register-content p {
  font-size: 0.95rem;
  color: #4b5563;
  margin-bottom: 1.6rem;
}

/* Register Button */
.register-btn {
  display: inline-block;
  padding: 0.85rem 2.2rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;

  background: linear-gradient(135deg, #8a00ff, #0033ff);
  color: #ffffff;

  box-shadow: 0 14px 35px rgba(79, 70, 229, 0.45);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.register-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 55px rgba(79, 70, 229, 0.65);
}

/* Mobile */
@media (max-width: 640px) {
  .register-card {
    padding: 1.8rem 1.4rem;
  }
}
/* ===============================
   🍎 GLOBAL APPLE-STYLE BUTTON MOTION
   Applies to ALL buttons & CTAs
================================ */

button,
.btn-primary,
.btn-secondary,
.fees-demo-btn,
.whatsapp-btn,
.about-enquire-btn,
.apple-btn,
a[class*="btn"] {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;

  transition:
    transform 0.18s cubic-bezier(0.2, 0.8, 0.2, 1),
    box-shadow 0.18s cubic-bezier(0.2, 0.8, 0.2, 1),
    background 0.18s ease,
    color 0.18s ease;
}

/* Hover lift */
button:hover,
.btn-primary:hover,
.btn-secondary:hover,
.fees-demo-btn:hover,
.whatsapp-btn:hover,
.about-enquire-btn:hover,
a[class*="btn"]:hover {
  transform: translateY(-3px);
}

/* Press feedback */
button:active,
.btn-primary:active,
.btn-secondary:active,
.fees-demo-btn:active,
.whatsapp-btn:active,
.about-enquire-btn:active,
a[class*="btn"]:active {
  transform: translateY(-1px) scale(0.97);
}

/* Disable ugly tap highlight on mobile */
button,
a {
  -webkit-tap-highlight-color: transparent;
}
button img,
button svg,
button i,
a img,
a svg,
a i {
  transition:
    transform 0.22s cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* Icon slide on hover */
button:hover img,
button:hover svg,
button:hover i,
a:hover img,
a:hover svg,
a:hover i {
  transform: translateX(5px) scale(1.05);
}