/* ==========================================================================
   CREATIVE KIDS ACADEMY — STYLESHEET
   Location: R.S. Puram, Coimbatore, Tamil Nadu
   ========================================================================== */

/* ---------- RESET & ROOT VARIABLES ---------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --primary: #1a1a8c;
  --primary-dark: #0f0f5c;
  --primary-light: #2d2db8;
  --primary-subtle: #f0f2ff;
  --accent: #ff4757;
  --gold: #ffb300;
  --gold-dark: #f59e0b;
  --green: #10b981;
  --whatsapp: #25d366;
  --purple: #8b5cf6;
  --cyan: #06b6d4;
  --text-dark: #1e293b;
  --text-mid: #475569;
  --text-light: #64748b;
  --bg-light: #f8fafc;
  --bg-white: #ffffff;
  --bg-cream: #fffdf7;
  --border-light: rgba(26, 26, 140, 0.08);
  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 10px 30px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 20px 40px rgba(15, 23, 42, 0.12);
  --shadow-primary: 0 12px 30px rgba(26, 26, 140, 0.22);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  --font-main: 'Nunito', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-title: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-main);
  color: var(--text-dark);
  background-color: var(--bg-light);
  line-height: 1.6;
  overflow-x: hidden;
  padding-bottom: 0;
}

/* Safe padding when mobile bottom dock is active */
@media (max-width: 768px) {
  body {
    padding-bottom: 65px;
  }
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

button, input, select, textarea {
  font-family: inherit;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Text Utility Colors */
.text-gold { color: var(--gold); }
.text-red { color: var(--accent); }
.text-green { color: var(--green); }
.text-blue { color: #2563eb; }
.text-purple { color: var(--purple); }
.text-orange { color: #f97316; }
.text-yellow { color: #eab308; }
.text-cyan { color: var(--cyan); }
.text-pink { color: #ec4899; }
.text-whatsapp { color: var(--whatsapp); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: var(--radius-full);
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  min-height: 48px;
  text-align: center;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: #fff;
  box-shadow: 0 8px 24px rgba(26, 26, 140, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(26, 26, 140, 0.45);
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
  color: #fff;
}

.btn-outline {
  background: rgba(255, 255, 255, 0.9);
  color: var(--primary);
  border: 2px solid rgba(26, 26, 140, 0.2);
  backdrop-filter: blur(10px);
}

.btn-outline:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  transform: translateY(-2px);
}

.btn-whatsapp {
  background: #25d366;
  color: #fff;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35);
}

.btn-whatsapp:hover {
  background: #1eb956;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.5);
}

.btn-whatsapp-hero {
  background: rgba(37, 211, 102, 0.15);
  color: #128c7e;
  border: 1.5px solid rgba(37, 211, 102, 0.4);
}

.btn-whatsapp-hero:hover {
  background: #25d366;
  color: #fff;
  border-color: #25d366;
  transform: translateY(-2px);
}

.btn-dark {
  background: #1e293b;
  color: #fff;
}

.btn-dark:hover {
  background: #0f172a;
  color: #fff;
  transform: translateY(-2px);
}

.btn-call-cta {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #fff;
}

.btn-call-cta:hover {
  background: #059669;
  color: #fff;
  transform: translateY(-2px);
}

.btn-phone-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-phone-outline:hover {
  background: var(--primary);
  color: #fff;
}

.btn-block {
  width: 100%;
}

.btn-sm {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 700;
  background: var(--primary-subtle);
  color: var(--primary);
  transition: var(--transition);
}

.btn-sm:hover {
  background: var(--primary);
  color: #fff;
}

/* Section Common Headings */
.section-head {
  max-width: 780px;
  margin: 0 auto 50px;
}

.section-head.text-center {
  text-align: center;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  background: var(--primary-subtle);
  color: var(--primary);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 14px;
}

.section-title {
  font-family: var(--font-title);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  color: var(--primary-dark);
  line-height: 1.25;
  margin-bottom: 16px;
}

.section-title span {
  background: linear-gradient(135deg, var(--accent) 0%, #f59e0b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-mid);
  line-height: 1.6;
}

/* ==========================================================================
   TOP BAR
   ========================================================================== */
.top-bar {
  background: #0d0d4d;
  color: #e2e8f0;
  font-size: 0.82rem;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.top-bar-left span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.top-bar-right {
  display: flex;
  align-items: center;
  gap: 14px;
}

.top-bar-link {
  color: #e2e8f0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.top-bar-link:hover {
  color: #fff;
  text-decoration: underline;
}

.top-divider {
  color: rgba(255, 255, 255, 0.25);
}

.top-rating {
  font-weight: 700;
  color: #fcd34d;
}

@media (max-width: 860px) {
  .top-bar {
    display: none;
  }
}

/* ==========================================================================
   NAVBAR
   ========================================================================== */
#navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(26, 26, 140, 0.08);
  transition: var(--transition);
}

#navbar.scrolled {
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.08);
  background: rgba(255, 255, 255, 0.98);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 14px;
}

.nav-logo img {
  width: 52px;
  height: 48px;
  object-fit: contain;
  transition: var(--transition);
}

.nav-logo:hover img {
  transform: scale(1.05);
}

.nav-logo-text .name {
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--primary);
  display: block;
  line-height: 1.15;
}

.nav-logo-text .tag {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-light);
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-mid);
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 4px;
  position: relative;
}

.nav-icon {
  font-size: 0.85rem;
  color: var(--primary-light);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transition: var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-cta {
  background: linear-gradient(135deg, var(--accent) 0%, #f59e0b 100%) !important;
  color: #fff !important;
  padding: 10px 22px !important;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 16px rgba(255, 71, 87, 0.35);
}

.nav-cta::after {
  display: none !important;
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 71, 87, 0.45);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  cursor: pointer;
  border-radius: var(--radius-sm);
  padding: 8px;
  background: var(--primary-subtle);
}

.hamburger span {
  display: block;
  width: 26px;
  height: 2.5px;
  background: var(--primary);
  border-radius: 4px;
  transition: var(--transition);
}

.hamburger.open span:nth-child(1) {
  transform: translateY(8.5px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: translateY(-8.5px) rotate(-45deg);
}

/* Mobile Nav Drawer */
.mobile-nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
  z-index: 1090;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.mobile-nav-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.mobile-nav {
  position: fixed;
  top: 0;
  right: -340px;
  width: 320px;
  max-width: 85vw;
  height: 100vh;
  background: #ffffff;
  z-index: 1100;
  box-shadow: -8px 0 30px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
}

.mobile-nav.open {
  right: 0;
}

.mobile-nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px;
  border-bottom: 1px solid var(--border-light);
  background: var(--primary-subtle);
}

.mob-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mob-brand img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.mob-title {
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 1rem;
  color: var(--primary);
}

.mob-subtitle {
  font-size: 0.72rem;
  color: var(--text-light);
}

.mobile-nav-close {
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--text-mid);
  cursor: pointer;
  line-height: 1;
  padding: 0 4px;
}

.mobile-nav-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.mob-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-dark);
  background: var(--bg-light);
}

.mob-link i {
  color: var(--primary);
  width: 20px;
  text-align: center;
}

.mob-link:hover {
  background: var(--primary-subtle);
  color: var(--primary);
}

.mob-cta {
  background: linear-gradient(135deg, var(--accent) 0%, #f59e0b 100%) !important;
  color: #fff !important;
  margin-top: 10px;
  justify-content: center;
}

.mob-cta i {
  color: #fff !important;
}

.mobile-nav-footer {
  padding: 20px;
  border-top: 1px solid var(--border-light);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  background: #fafafa;
}

.mob-foot-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-weight: 700;
  background: var(--primary);
  color: #fff;
}

.mob-foot-btn.wa {
  background: #25d366;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
#hero {
  position: relative;
  background: linear-gradient(145deg, #0d0d4d 0%, #1a1a8c 50%, #2a2ab8 100%);
  color: #ffffff;
  padding: 80px 0 100px;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background-image: 
    radial-gradient(circle at 15% 25%, rgba(255, 71, 87, 0.15) 0%, transparent 40%),
    radial-gradient(circle at 85% 75%, rgba(255, 179, 0, 0.15) 0%, transparent 40%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 50px;
  align-items: center;
}

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(10px);
  padding: 8px 18px;
  border-radius: var(--radius-full);
  font-size: 0.84rem;
  font-weight: 700;
  margin-bottom: 24px;
}

.pill-dot {
  opacity: 0.5;
}

.hero-text h1 {
  font-family: var(--font-title);
  font-size: clamp(2.2rem, 4.2vw, 3.4rem);
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 20px;
}

.hero-text .highlight {
  background: linear-gradient(135deg, #ffd166 0%, #ff9f1c 50%, #ff4757 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 1.12rem;
  color: #e2e8f0;
  line-height: 1.65;
  margin-bottom: 32px;
  max-width: 600px;
}

.hero-btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.hero-stat .num {
  font-family: var(--font-title);
  font-size: 1.9rem;
  font-weight: 900;
  color: #ffd166;
  line-height: 1.1;
}

.hero-stat .star-accent {
  font-size: 1.3rem;
  color: #ffd166;
}

.hero-stat .lbl {
  font-size: 0.78rem;
  color: #cbd5e1;
  font-weight: 600;
  margin-top: 4px;
  display: flex;
  align-items: center;
  gap: 4px;
}

/* Hero Visual & Card Stack */
.hero-visual {
  display: flex;
  justify-content: center;
}

.hero-card-stack {
  position: relative;
  width: 100%;
  max-width: 420px;
}

.hero-logo-wrap {
  position: relative;
  width: 320px;
  height: 320px;
  margin: 0 auto;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.02) 70%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-logo-ring {
  position: absolute;
  inset: -12px;
  border-radius: 50%;
  border: 2px dashed rgba(255, 215, 0, 0.4);
  animation: spinSlow 30s linear infinite;
}

@keyframes spinSlow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.hero-logo-img {
  width: 230px;
  height: 230px;
  object-fit: contain;
  filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.35));
  z-index: 2;
}

.floating-icons .fi {
  position: absolute;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  animation: floatBounce 4s ease-in-out infinite;
  z-index: 3;
}

.fi-1 { top: 0; left: 15px; animation-delay: 0s; color: #2563eb; }
.fi-2 { top: 20px; right: 20px; animation-delay: 0.8s; color: var(--purple); }
.fi-3 { bottom: 35px; left: 0; animation-delay: 1.6s; color: var(--accent); }
.fi-4 { bottom: 10px; right: 25px; animation-delay: 2.4s; color: var(--green); }
.fi-5 { top: 45%; left: -25px; animation-delay: 1.2s; color: var(--gold-dark); }
.fi-6 { top: 50%; right: -20px; animation-delay: 2.0s; color: #f59e0b; }

@keyframes floatBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.hero-floating-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  color: var(--text-dark);
  padding: 12px 18px;
  border-radius: var(--radius-md);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 4;
}

.hero-floating-card strong {
  display: block;
  font-size: 0.88rem;
  color: var(--primary);
}

.hero-floating-card span {
  display: block;
  font-size: 0.74rem;
  color: var(--text-light);
}

.card-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ffd166, #ff9f1c);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.card-avatar.green {
  background: linear-gradient(135deg, #10b981, #059669);
}

.top-card {
  top: -15px;
  left: -20px;
}

.bottom-card {
  bottom: -20px;
  right: -10px;
}

/* ==========================================================================
   RATING BANNER STRIP
   ========================================================================== */
.rating-banner {
  background: #ffffff;
  padding: 20px 0;
  border-bottom: 1px solid var(--border-light);
  box-shadow: 0 4px 20px rgba(26, 26, 140, 0.04);
}

.rating-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.rating-item {
  display: flex;
  align-items: center;
  gap: 14px;
}

.google-badge-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ea4335;
  font-size: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.rating-stars {
  color: #f59e0b;
  font-size: 1.25rem;
  letter-spacing: 2px;
  line-height: 1;
  margin-bottom: 4px;
}

.rating-text strong {
  font-size: 0.95rem;
  color: var(--text-dark);
  display: block;
}

.rating-text span {
  font-size: 0.8rem;
  color: var(--text-light);
}

.rating-divider {
  width: 1px;
  height: 38px;
  background: rgba(0, 0, 0, 0.08);
}

.rating-loc-icon {
  font-size: 1.6rem;
  color: var(--accent);
}

.rating-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: var(--radius-full);
  background: #4285f4;
  color: #fff;
  font-size: 0.88rem;
  font-weight: 700;
  transition: var(--transition);
}

.rating-cta:hover {
  background: #2b6cb0;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(66, 133, 244, 0.35);
}

/* ==========================================================================
   MARQUEE BAR
   ========================================================================== */
.marquee-bar {
  background: #0f0f5c;
  color: #fff;
  padding: 14px 0;
  overflow: hidden;
  white-space: nowrap;
}

.marquee-track {
  display: inline-flex;
  gap: 36px;
  animation: marqueeScroll 35s linear infinite;
}

.marquee-track span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.5px;
}

@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ==========================================================================
   ABOUT SECTION
   ========================================================================== */
#about {
  padding: 100px 0;
  background: #ffffff;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 60px;
  align-items: center;
}

.about-visual {
  position: relative;
}

.about-img-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: visible;
}

.about-main-img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  object-fit: cover;
  aspect-ratio: 4/3;
}

.about-badge-float {
  position: absolute;
  top: -20px;
  left: -20px;
  background: #ffffff;
  padding: 16px 22px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
  text-align: center;
}

.about-badge-float .ab-num {
  font-family: var(--font-title);
  font-size: 1.6rem;
  font-weight: 900;
  color: #f59e0b;
  line-height: 1;
}

.about-badge-float .ab-text {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-top: 4px;
}

.about-sub-photo {
  position: absolute;
  bottom: -35px;
  right: -25px;
  width: 160px;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.22);
  border: 4px solid #ffffff;
}

.about-sub-photo img {
  width: 100%;
  height: 150px;
  object-fit: cover;
}

.sub-photo-tag {
  background: var(--primary);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 800;
  text-align: center;
  padding: 4px 6px;
}

.about-lead {
  font-size: 1.1rem;
  color: var(--text-mid);
  margin-bottom: 28px;
  line-height: 1.65;
}

.about-features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin-bottom: 36px;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: #fff;
  flex-shrink: 0;
}

.bg-blue { background: linear-gradient(135deg, #3b82f6, #1d4ed8); }
.bg-yellow { background: linear-gradient(135deg, #f59e0b, #d97706); }
.bg-green { background: linear-gradient(135deg, #10b981, #059669); }
.bg-purple { background: linear-gradient(135deg, #8b5cf6, #6d28d9); }
.bg-red { background: linear-gradient(135deg, #ef4444, #dc2626); }
.bg-orange { background: linear-gradient(135deg, #f97316, #ea580c); }

.feature-item h4 {
  font-family: var(--font-title);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.feature-item p {
  font-size: 0.82rem;
  color: var(--text-light);
  line-height: 1.45;
}

.about-cta-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* ==========================================================================
   COURSES SECTION
   ========================================================================== */
#courses {
  padding: 100px 0;
  background: var(--bg-light);
}

.courses-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.course-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  position: relative;
}

.course-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
  border-color: rgba(26, 26, 140, 0.2);
}

.featured-card {
  border: 2px solid var(--primary);
  box-shadow: 0 8px 24px rgba(26, 26, 140, 0.12);
}

.popular-ribbon {
  position: absolute;
  top: 12px;
  right: 12px;
  background: linear-gradient(135deg, #ff4757, #ff6b81);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  z-index: 3;
  box-shadow: 0 4px 12px rgba(255, 71, 87, 0.35);
  display: flex;
  align-items: center;
  gap: 4px;
}

.course-thumb {
  position: relative;
  height: 190px;
  overflow: hidden;
  background: #e2e8f0;
}

.course-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.course-card:hover .course-thumb img {
  transform: scale(1.06);
}

.hindi-thumb-art {
  height: 100%;
  background: linear-gradient(135deg, #fff7ed 0%, #fed7aa 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #c2410c;
}

.hindi-letter {
  font-size: 3.5rem;
  font-weight: 900;
  line-height: 1;
}

.hindi-sub {
  font-size: 0.8rem;
  font-weight: 700;
  margin-top: 6px;
}

.course-badge {
  position: absolute;
  bottom: 12px;
  left: 12px;
  color: #fff;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  backdrop-filter: blur(8px);
}

.badge-vm { background: rgba(30, 58, 138, 0.85); }
.badge-ab { background: rgba(220, 38, 38, 0.85); }
.badge-ph { background: rgba(13, 148, 136, 0.85); }
.badge-hw { background: rgba(217, 119, 6, 0.85); }
.badge-ch { background: rgba(88, 28, 135, 0.85); }
.badge-se { background: rgba(2, 132, 199, 0.85); }
.badge-hn { background: rgba(194, 65, 12, 0.85); }
.badge-tu { background: rgba(5, 150, 105, 0.85); }
.badge-ht { background: rgba(109, 40, 217, 0.85); }

.course-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.course-icon-pill {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-top: -46px;
  margin-bottom: 14px;
  position: relative;
  z-index: 2;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
  color: #fff;
}

.icon-vm { background: linear-gradient(135deg, #1e40af, #3b82f6); }
.icon-ab { background: linear-gradient(135deg, #dc2626, #ef4444); }
.icon-ph { background: linear-gradient(135deg, #0d9488, #14b8a6); }
.icon-hw { background: linear-gradient(135deg, #d97706, #f59e0b); }
.icon-ch { background: linear-gradient(135deg, #4c1d95, #7c3aed); }
.icon-se { background: linear-gradient(135deg, #0284c7, #38bdf8); }
.icon-hn { background: linear-gradient(135deg, #ea580c, #fb923c); }
.icon-tu { background: linear-gradient(135deg, #059669, #10b981); }
.icon-ht { background: linear-gradient(135deg, #7c2d12, #b45309); }

.course-body h3 {
  font-family: var(--font-title);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--primary-dark);
  margin-bottom: 10px;
}

.course-body p {
  font-size: 0.88rem;
  color: var(--text-mid);
  line-height: 1.55;
  margin-bottom: 18px;
}

.course-highlights {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 20px;
  padding: 12px;
  border-radius: var(--radius-sm);
  background: var(--bg-light);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-dark);
}

.course-highlights span {
  display: flex;
  align-items: center;
  gap: 8px;
}

.course-footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid var(--border-light);
}

.course-age {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-light);
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ==========================================================================
   GOOGLE PHOTOS & CAMPUS GALLERY
   ========================================================================== */
#gallery {
  padding: 100px 0;
  background: #ffffff;
}

.gallery-tabs {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.gallery-tab {
  padding: 10px 20px;
  border-radius: var(--radius-full);
  background: var(--bg-light);
  color: var(--text-mid);
  font-weight: 700;
  font-size: 0.85rem;
  border: 1px solid var(--border-light);
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.gallery-tab:hover,
.gallery-tab.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  box-shadow: 0 4px 14px rgba(26, 26, 140, 0.25);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.gallery-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  background: #0f172a;
}

.gallery-card.tall {
  grid-row: span 2;
}

.gallery-img-wrap {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 240px;
}

.gallery-card.tall .gallery-img-wrap {
  min-height: 500px;
}

.gallery-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-card:hover .gallery-img-wrap img {
  transform: scale(1.08);
  opacity: 0.85;
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.92) 0%, rgba(15, 23, 42, 0.3) 60%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  color: #fff;
  opacity: 0.92;
  transition: var(--transition);
}

.gallery-card:hover .gallery-overlay {
  opacity: 1;
}

.gallery-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(8px);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 800;
  width: fit-content;
  margin-bottom: 8px;
}

.gallery-overlay h4 {
  font-family: var(--font-title);
  font-size: 1.05rem;
  font-weight: 800;
  margin-bottom: 6px;
  line-height: 1.25;
}

.gallery-overlay p {
  font-size: 0.78rem;
  color: #cbd5e1;
  line-height: 1.45;
  margin-bottom: 12px;
}

.view-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  color: #ffd166;
}

/* Gallery Footer Callout */
.gallery-foot-cta {
  margin-top: 50px;
}

.gfoot-box {
  background: linear-gradient(135deg, #f0f4ff 0%, #fff7ed 100%);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 36px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}

.gfoot-text h3 {
  font-family: var(--font-title);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 6px;
}

.gfoot-text p {
  font-size: 0.95rem;
  color: var(--text-mid);
}

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

/* Lightbox Modal */
.lightbox-modal {
  position: fixed;
  inset: 0;
  background: rgba(10, 15, 30, 0.92);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.lightbox-modal.active {
  display: flex;
}

.lightbox-content {
  position: relative;
  max-width: 900px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-content img {
  max-width: 100%;
  max-height: 75vh;
  object-fit: contain;
  border-radius: var(--radius-md);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
}

.lightbox-caption {
  color: #ffffff;
  font-size: 0.95rem;
  text-align: center;
  margin-top: 14px;
  font-weight: 600;
  max-width: 600px;
}

.lightbox-close {
  position: absolute;
  top: 24px;
  right: 28px;
  background: rgba(255, 255, 255, 0.15);
  border: none;
  color: #fff;
  font-size: 2.2rem;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.lightbox-close:hover {
  background: rgba(255, 71, 87, 0.8);
  transform: scale(1.1);
}

/* ==========================================================================
   SCHEDULE SECTION
   ========================================================================== */
#schedule {
  padding: 100px 0;
  background: var(--bg-light);
}

.schedule-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.schedule-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.schedule-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.schedule-header {
  padding: 28px;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 18px;
}

.bg-reg {
  background: linear-gradient(135deg, #1a1a8c 0%, #2d2db8 100%);
}

.bg-wknd {
  background: linear-gradient(135deg, #b45309 0%, #ea580c 100%);
}

.sched-icon {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.sched-type {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: 0.85;
  display: block;
}

.schedule-header h3 {
  font-family: var(--font-title);
  font-size: 1.4rem;
  font-weight: 800;
  line-height: 1.2;
}

.schedule-body {
  padding: 30px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.timing-chip {
  background: var(--bg-light);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.timing-chip i {
  font-size: 1.6rem;
}

.timing-chip strong {
  display: block;
  font-size: 0.95rem;
  color: var(--text-dark);
}

.timing-chip span {
  font-size: 0.85rem;
  color: var(--text-mid);
  font-weight: 600;
}

.timing-chips-double {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

.weekend-chip {
  margin-bottom: 0;
  padding: 12px 18px;
}

.sched-features {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 30px;
}

.sched-features li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.88rem;
  color: var(--text-mid);
  line-height: 1.45;
}

.sched-features li i {
  margin-top: 3px;
  flex-shrink: 0;
}

.sched-foot {
  margin-top: auto;
}

/* ==========================================================================
   LOCATION SECTION
   ========================================================================== */
#location {
  padding: 100px 0;
  background: #ffffff;
}

.location-wrapper {
  max-width: 960px;
  margin: 0 auto;
}

.location-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
}

.location-map-embed {
  width: 100%;
  height: 360px;
  background: #e2e8f0;
}

.location-map-embed iframe {
  width: 100%;
  height: 100%;
}

.location-details {
  padding: 40px;
}

.location-header-row {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 30px;
}

.loc-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--accent) 0%, #f59e0b 100%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}

.location-header-row h3 {
  font-family: var(--font-title);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--primary-dark);
  margin-bottom: 6px;
}

.google-rating-inline {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.stars-sm {
  color: #f59e0b;
  font-size: 1.05rem;
}

.rc {
  font-size: 0.85rem;
  color: var(--text-mid);
  font-weight: 600;
}

.cat {
  font-size: 0.82rem;
  color: var(--text-light);
}

.loc-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 32px;
}

.loc-info-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.loc-info-item i {
  font-size: 1.25rem;
  margin-top: 3px;
  flex-shrink: 0;
}

.loc-label {
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 4px;
}

.loc-val {
  font-size: 0.9rem;
  color: var(--text-dark);
  font-weight: 600;
  line-height: 1.5;
}

.loc-tel {
  color: var(--primary);
  font-size: 1.1rem;
  font-weight: 800;
}

.loc-tel:hover {
  text-decoration: underline;
}

.loc-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* ==========================================================================
   TESTIMONIALS SECTION
   ========================================================================== */
#testimonials {
  padding: 100px 0;
  background: var(--bg-light);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.testimonial-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.testimonial-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.testi-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.testi-stars {
  color: #f59e0b;
  font-size: 1.15rem;
  letter-spacing: 2px;
}

.testi-source {
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--text-light);
  display: flex;
  align-items: center;
  gap: 4px;
}

.testi-text {
  font-size: 0.92rem;
  color: var(--text-mid);
  line-height: 1.65;
  margin-bottom: 24px;
  flex: 1;
  font-style: italic;
}

.testi-author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--border-light);
}

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  color: #fff;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.bg-pink { background: linear-gradient(135deg, #ec4899, #db2777); }

.testi-author strong {
  display: block;
  font-size: 0.92rem;
  color: var(--text-dark);
}

.testi-author span {
  display: block;
  font-size: 0.76rem;
  color: var(--text-light);
}

/* ==========================================================================
   CONTACT SECTION
   ========================================================================== */
#contact {
  padding: 100px 0;
  background: #ffffff;
}

.contact-head {
  margin-bottom: 50px;
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px;
  align-items: start;
}

.contact-items {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  border-radius: var(--radius-md);
  background: var(--bg-light);
  border: 1px solid var(--border-light);
}

.ci-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: #fff;
  flex-shrink: 0;
}

.contact-item h4 {
  font-family: var(--font-title);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.contact-item p {
  font-size: 0.88rem;
  color: var(--text-mid);
  line-height: 1.45;
}

.contact-item small {
  font-size: 0.75rem;
  color: var(--text-light);
  margin-top: 4px;
  display: block;
}

.contact-form-wrap {
  background: var(--bg-light);
  border-radius: var(--radius-lg);
  padding: 36px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}

.contact-form-wrap h3 {
  font-family: var(--font-title);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--primary-dark);
  margin-bottom: 24px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid #cbd5e1;
  border-radius: var(--radius-sm);
  background: #ffffff;
  color: var(--text-dark);
  font-size: 16px; /* Prevents auto-zoom on iOS Safari */
  transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(26, 26, 140, 0.12);
}

.form-submit {
  width: 100%;
  margin-top: 10px;
}

.form-success {
  display: none;
  text-align: center;
  padding: 40px 20px;
}

.form-success i {
  font-size: 3.5rem;
  color: var(--green);
  margin-bottom: 16px;
}

.form-success h4 {
  font-family: var(--font-title);
  font-size: 1.3rem;
  color: var(--primary);
  margin-bottom: 8px;
}

.form-success p {
  color: var(--text-mid);
  font-size: 0.95rem;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
footer {
  background: #0d0d4d;
  color: #cbd5e1;
  padding: 80px 0 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 60px;
}

.logo-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.logo-name {
  font-family: var(--font-title);
  font-size: 1.25rem;
  font-weight: 800;
  color: #ffffff;
}

.logo-sub {
  font-size: 0.75rem;
  color: #94a3b8;
}

.footer-brand p {
  font-size: 0.88rem;
  line-height: 1.6;
  margin-bottom: 22px;
  color: #94a3b8;
}

.social-links {
  display: flex;
  gap: 10px;
}

.social-link {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: var(--transition);
}

.social-link:hover {
  background: var(--primary-light);
  transform: translateY(-2px);
}

.footer-col h4 {
  font-family: var(--font-title);
  font-size: 1rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 20px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 0.85rem;
  color: #94a3b8;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-links a i {
  font-size: 0.65rem;
  color: var(--primary-light);
}

.footer-links a:hover {
  color: #ffffff;
  padding-left: 4px;
}

.footer-contact-items {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.fci {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.85rem;
  color: #94a3b8;
  line-height: 1.45;
}

.fci i {
  margin-top: 3px;
  flex-shrink: 0;
}

.fci a {
  color: #ffffff;
  font-weight: 700;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.78rem;
  color: #64748b;
}

/* ==========================================================================
   FLOATING WHATSAPP & SCROLL TO TOP
   ========================================================================== */
.wa-float {
  position: fixed;
  bottom: 28px;
  left: 28px;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #25d366;
  color: #ffffff;
  padding: 12px 22px 12px 16px;
  border-radius: var(--radius-full);
  font-weight: 800;
  font-size: 0.9rem;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
  z-index: 999;
  transition: var(--transition);
}

.wa-float i {
  font-size: 1.4rem;
}

.wa-float:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.6);
  color: #fff;
}

#scrollTop {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  box-shadow: 0 6px 18px rgba(26, 26, 140, 0.35);
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px);
  transition: var(--transition);
  z-index: 998;
}

#scrollTop.visible {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}

#scrollTop:hover {
  background: var(--accent);
  transform: translateY(-3px);
}

/* ==========================================================================
   MOBILE & TABLET STICKY BOTTOM DOCK
   ========================================================================== */
.mobile-bottom-dock {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #ffffff;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.08);
  z-index: 1050;
  padding: 6px 12px;
  justify-content: space-around;
  align-items: center;
}

.dock-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--text-mid);
  font-size: 0.68rem;
  font-weight: 700;
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  gap: 3px;
  min-width: 58px;
}

.dock-item i {
  font-size: 1.15rem;
  color: var(--primary);
}

.dock-item.dock-wa i {
  color: #25d366;
}

.dock-item.dock-cta {
  background: linear-gradient(135deg, var(--accent) 0%, #f59e0b 100%);
  color: #ffffff;
  border-radius: var(--radius-full);
  padding: 8px 14px;
}

.dock-item.dock-cta i {
  color: #ffffff;
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES (DESKTOP, TABLET & PHONE)
   ========================================================================== */

/* TABLET LANDSCAPE & DESKTOP MEDIUM (max-width: 1100px) */
@media (max-width: 1100px) {
  .courses-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
}

/* TABLET PORTRAIT (max-width: 900px) */
@media (max-width: 900px) {
  .nav-links {
    display: none;
  }
  .hamburger {
    display: flex;
  }

  #hero {
    padding: 60px 0 80px;
  }
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }
  .hero-text .badge-pill {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-desc {
    margin: 0 auto 32px;
  }
  .hero-btns {
    justify-content: center;
  }
  .hero-stats {
    justify-content: center;
    max-width: 600px;
    margin: 0 auto;
  }
  .hero-visual {
    order: -1;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 60px;
  }
  .about-visual {
    max-width: 560px;
    margin: 0 auto;
  }

  .schedule-grid {
    grid-template-columns: 1fr;
  }

  .contact-wrapper {
    grid-template-columns: 1fr;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
    max-width: 580px;
    margin: 0 auto;
  }

  .gfoot-box {
    flex-direction: column;
    text-align: center;
  }
  .gfoot-btns {
    justify-content: center;
  }
}

/* SMALL TABLETS & LARGE PHONES (max-width: 768px) */
@media (max-width: 768px) {
  .mobile-bottom-dock {
    display: flex;
  }
  
  .wa-float {
    bottom: 74px; /* Shifted above bottom dock */
    left: 16px;
    padding: 10px 14px;
  }
  .wa-float span {
    display: none;
  }

  #scrollTop {
    bottom: 74px; /* Shifted above bottom dock */
    right: 16px;
    width: 42px;
    height: 42px;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
  .gallery-card.tall {
    grid-row: span 1;
  }
  .gallery-card.tall .gallery-img-wrap {
    min-height: 240px;
  }

  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .about-features-grid {
    grid-template-columns: 1fr;
  }
  .about-sub-photo {
    display: none; /* Avoid overflowing mobile edge */
  }

  .loc-info-grid {
    grid-template-columns: 1fr;
  }
  .loc-actions {
    flex-direction: column;
  }
  .loc-actions .btn {
    width: 100%;
  }

  .rating-banner .rating-inner {
    flex-direction: column;
    text-align: center;
    gap: 16px;
  }
  .rating-divider {
    display: none;
  }
}

/* SMARTPHONES (max-width: 560px) */
@media (max-width: 560px) {
  .container {
    padding: 0 16px;
  }

  .courses-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .hero-logo-wrap {
    width: 250px;
    height: 250px;
  }
  .hero-logo-img {
    width: 180px;
    height: 180px;
  }
  .top-card, .bottom-card {
    display: none;
  }

  .hero-btns {
    flex-direction: column;
  }
  .hero-btns .btn {
    width: 100%;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .contact-form-wrap {
    padding: 24px 18px;
  }

  .location-details {
    padding: 24px 18px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}
