/* ===================================================
   ElevateIQ – Coaching Institute Website Styles
   =================================================== */

/* === GOOGLE FONTS === */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700;900&family=DM+Sans:wght@300;400;500;600&display=swap');

/* ============================================================
   CSS VARIABLES – LIGHT THEME
   ============================================================ */
:root {
  --bg: #f8f7f4;
  --bg-alt: #f0ede8;
  --bg-card: #ffffff;
  --text: #1a1512;
  --text-muted: #6b6560;
  --text-light: #9b9490;
  --border: #e2ddd8;
  --accent: #c8622a;
  --accent-2: #e8553e;
  --accent-light: rgba(200, 98, 42, 0.1);
  --gradient: linear-gradient(135deg, #c8622a 0%, #e8553e 100%);
  --gradient-soft: linear-gradient(135deg, rgba(200,98,42,0.08) 0%, rgba(232,85,62,0.08) 100%);
  --shadow-sm: 0 2px 12px rgba(26,21,18,0.06);
  --shadow-md: 0 8px 32px rgba(26,21,18,0.10);
  --shadow-lg: 0 20px 60px rgba(26,21,18,0.14);
  --radius: 16px;
  --radius-sm: 8px;
  --navbar-bg: rgba(248,247,244,0.92);
  --font-display: 'Playfair Display', serif;
  --font-body: 'DM Sans', sans-serif;
}

/* ============================================================
   CSS VARIABLES – DARK THEME
   ============================================================ */
[data-theme="dark"] {
  --bg: #111010;
  --bg-alt: #1a1917;
  --bg-card: #1f1e1c;
  --text: #f0ede8;
  --text-muted: #a09890;
  --text-light: #706860;
  --border: #2e2c28;
  --accent: #e07840;
  --accent-2: #f0654a;
  --accent-light: rgba(224,120,64,0.12);
  --gradient: linear-gradient(135deg, #e07840 0%, #f0654a 100%);
  --gradient-soft: linear-gradient(135deg, rgba(224,120,64,0.1) 0%, rgba(240,101,74,0.1) 100%);
  --shadow-sm: 0 2px 12px rgba(0,0,0,0.3);
  --shadow-md: 0 8px 32px rgba(0,0,0,0.4);
  --shadow-lg: 0 20px 60px rgba(0,0,0,0.5);
  --navbar-bg: rgba(17,16,16,0.94);
}

/* ============================================================
   BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  transition: background 0.4s ease, color 0.4s ease;
  overflow-x: hidden;
}

::selection { background: var(--accent); color: #fff; }

img { max-width: 100%; }

a { text-decoration: none; color: inherit; }

/* ============================================================
   SCROLLBAR
   ============================================================ */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-alt); }
::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 3px; }

/* ============================================================
   TYPOGRAPHY HELPERS
   ============================================================ */
.text-gradient {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-light);
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 1rem;
}

.section-label.light {
  color: #fff;
  background: rgba(255,255,255,0.18);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.section-sub {
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
  font-size: 1.05rem;
}

.section-desc {
  color: var(--text-muted);
  line-height: 1.8;
  font-size: 1.05rem;
}

.section-pad { padding: 100px 0; }

.bg-subtle { background: var(--bg-alt); }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn-primary-custom {
  display: inline-flex;
  align-items: center;
  background: var(--gradient);
  color: #fff !important;
  border: none;
  border-radius: 50px;
  padding: 12px 28px;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(200,98,42,0.35);
  cursor: pointer;
}

.btn-primary-custom:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(200,98,42,0.45);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  background: transparent;
  color: var(--text) !important;
  border: 2px solid var(--border);
  border-radius: 50px;
  padding: 10px 26px;
  font-weight: 500;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  cursor: pointer;
}

.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent) !important;
  transform: translateY(-2px);
}

.btn-outline-accent {
  border: 1.5px solid var(--accent) !important;
  color: var(--accent) !important;
  border-radius: 50px !important;
  padding: 6px 18px !important;
  font-weight: 500 !important;
  transition: all 0.3s ease !important;
  background: transparent !important;
}

.btn-outline-accent:hover {
  background: var(--gradient) !important;
  color: #fff !important;
  border-color: transparent !important;
  transform: translateY(-1px);
}

/* ============================================================
   NAVBAR
   ============================================================ */
#mainNavbar {
  background: var(--navbar-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
  transition: all 0.3s ease;
  z-index: 1050;
}

#mainNavbar.scrolled {
  padding: 10px 0;
  box-shadow: var(--shadow-md);
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
}

.brand-icon {
  width: 38px;
  height: 38px;
  background: var(--gradient);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.1rem;
}

.brand-text { color: var(--text); }
.brand-text .accent { color: var(--accent); }

.nav-link {
  color: var(--text-muted) !important;
  font-weight: 500;
  font-size: 0.92rem;
  padding: 8px 14px !important;
  border-radius: 8px;
  transition: all 0.25s ease;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
  transition: width 0.3s ease;
}

.nav-link:hover, .nav-link.active {
  color: var(--text) !important;
}

.nav-link:hover::after, .nav-link.active::after {
  width: 60%;
}

/* Theme Toggle */
.theme-toggle {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  background: var(--bg-card);
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.9rem;
}

.theme-toggle:hover {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
  transform: rotate(20deg);
}

/* Hamburger */
.toggler-bar {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  margin: 5px 0;
  transition: all 0.3s ease;
}

/* ============================================================
   HERO
   ============================================================ */
.hero-section {
  position: relative;
  overflow: hidden;
  background: var(--bg);
  min-height: 100vh;
}

.hero-bg-shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.35;
}

.shape-1 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(200,98,42,0.3) 0%, transparent 70%);
  top: -100px; right: -100px;
  animation: floatShape 8s ease-in-out infinite;
}

.shape-2 {
  width: 350px; height: 350px;
  background: radial-gradient(circle, rgba(232,85,62,0.2) 0%, transparent 70%);
  bottom: 100px; left: -80px;
  animation: floatShape 10s ease-in-out infinite reverse;
}

.shape-3 {
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(200,98,42,0.25) 0%, transparent 70%);
  top: 40%; left: 40%;
  animation: floatShape 6s ease-in-out infinite;
}

@keyframes floatShape {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(20px, -20px) scale(1.05); }
}

.hero-content { position: relative; z-index: 1; padding-top: 100px; }

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 1.5rem;
}

.hero-desc {
  color: var(--text-muted);
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 2rem;
  max-width: 520px;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 3rem;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 0;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px 28px;
  box-shadow: var(--shadow-sm);
  width: fit-content;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 24px;
}

.stat-item:first-child { padding-left: 0; }
.stat-item:last-child { padding-right: 0; }

.stat-num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}

.stat-item > span:nth-child(2) {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}

.stat-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-top: 4px;
  letter-spacing: 0.05em;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
}

/* Hero Visual */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  padding-top: 80px;
  z-index: 1;
}

.hero-card-wrap {
  position: relative;
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
}

.hero-main-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 36px 30px;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.card-glow {
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 70% 30%, rgba(200,98,42,0.08) 0%, transparent 60%);
  pointer-events: none;
}

.avatar-row {
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
}

.avatar-bubble {
  width: 52px; height: 52px;
  background: var(--gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.3rem;
  animation: avatarPop 0.5s ease calc(var(--i) * 0.1s + 0.6s) both;
}

@keyframes avatarPop {
  from { transform: scale(0); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.card-subject-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.subj-tag {
  background: var(--gradient-soft);
  color: var(--accent);
  border: 1px solid var(--accent-light);
  padding: 5px 12px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 500;
}

.card-score-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--gradient);
  color: #fff;
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 0.88rem;
  font-weight: 600;
}

.card-score-badge i { color: #ffd700; }

/* Floating Cards */
.floating-card {
  position: absolute;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow-md);
  min-width: 160px;
  z-index: 2;
}

.floating-card i {
  font-size: 1.6rem;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.floating-card strong {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1;
}

.floating-card small {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.fc-1 {
  top: -20px;
  right: -20px;
  animation: floatCard 4s ease-in-out infinite;
}

.fc-2 {
  bottom: -20px;
  left: -20px;
  animation: floatCard 4s ease-in-out infinite 2s;
}

@keyframes floatCard {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* Hero Scroll Hint */
.hero-scroll-hint {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-light);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  z-index: 1;
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  animation: scrollPulse 1.5s ease-in-out infinite;
}

@keyframes scrollPulse {
  0% { transform: scaleY(0); transform-origin: top; opacity: 0; }
  50% { transform: scaleY(1); opacity: 1; }
  100% { transform: scaleY(0); transform-origin: bottom; opacity: 0; }
}

/* ============================================================
   MARQUEE
   ============================================================ */
.marquee-strip {
  background: var(--gradient);
  padding: 14px 0;
  overflow: hidden;
  position: relative;
}

.marquee-track {
  display: flex;
  align-items: center;
  gap: 20px;
  white-space: nowrap;
  animation: marqueeScroll 30s linear infinite;
  width: max-content;
}

.marquee-track span {
  color: #fff;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
}

.marquee-track .fa-circle {
  color: rgba(255,255,255,0.5);
  font-size: 0.4rem;
}

@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ============================================================
   ABOUT
   ============================================================ */
.about-image-stack {
  position: relative;
  padding-bottom: 60px;
}

.about-img-main {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.img-placeholder-main {
  background: var(--gradient-soft);
  border: 2px dashed var(--border);
  height: 380px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border-radius: 20px;
  color: var(--accent);
}

.img-placeholder-main i { font-size: 4rem; }
.img-placeholder-main span { font-weight: 500; color: var(--text-muted); }

.about-badge-float {
  position: absolute;
  bottom: 20px;
  right: -20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px 18px;
  box-shadow: var(--shadow-md);
  animation: floatCard 5s ease-in-out infinite;
}

.badge-float-inner {
  display: flex;
  align-items: center;
  gap: 10px;
}

.badge-float-inner i {
  font-size: 1.8rem;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.badge-float-inner strong { display: block; font-size: 0.9rem; color: var(--text); }
.badge-float-inner small { font-size: 0.72rem; color: var(--text-muted); }

.about-years-float {
  position: absolute;
  top: 20px;
  left: -20px;
  background: var(--gradient);
  border-radius: 14px;
  padding: 18px 22px;
  text-align: center;
  box-shadow: var(--shadow-md);
  animation: floatCard 4s ease-in-out infinite 1s;
}

.years-num {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 900;
  color: #fff;
  line-height: 1;
}

.years-text { font-size: 0.72rem; color: rgba(255,255,255,0.85); font-weight: 500; }

.about-features { margin: 1.5rem 0; }

.feature-row {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}

.feature-row:last-child { border-bottom: none; }

.feature-icon {
  width: 44px;
  height: 44px;
  background: var(--accent-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 1.1rem;
  flex-shrink: 0;
}

.feature-row h6 { font-weight: 600; margin-bottom: 2px; font-size: 0.95rem; }
.feature-row p { color: var(--text-muted); font-size: 0.87rem; margin: 0; }

/* ============================================================
   COURSES
   ============================================================ */
.course-filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.filter-btn {
  padding: 9px 22px;
  border-radius: 50px;
  border: 1.5px solid var(--border);
  background: transparent;
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.88rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.filter-btn:hover, .filter-btn.active {
  background: var(--gradient);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 4px 15px rgba(200,98,42,0.3);
}

.course-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  height: 100%;
  transition: all 0.35s ease;
  position: relative;
  overflow: hidden;
}

.course-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gradient);
  transform: scaleX(0);
  transition: transform 0.3s ease;
  transform-origin: left;
}

.course-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.course-card:hover::before { transform: scaleX(1); }

.course-icon-wrap {
  width: 52px; height: 52px;
  background: color-mix(in srgb, var(--ccolor) 15%, transparent);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ccolor);
  font-size: 1.4rem;
  margin-bottom: 16px;
}

.course-badge {
  position: absolute;
  top: 20px; right: 20px;
  background: var(--gradient);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 50px;
}

.course-card h5 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text);
}

.course-card p {
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.7;
  margin-bottom: 16px;
}

.course-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.course-meta span {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 500;
}

.course-meta i { color: var(--accent); margin-right: 4px; }

.course-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.course-fee {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--accent);
}

/* ============================================================
   RESULTS
   ============================================================ */
.results-section { background: var(--bg); }

.results-numbers-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
}

.result-num-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 20px;
  text-align: center;
  transition: transform 0.3s ease;
}

.result-num-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

.result-num-card.highlight {
  background: var(--gradient);
  border-color: transparent;
}

.result-num-card.highlight .rnum,
.result-num-card.highlight span,
.result-num-card.highlight p {
  color: #fff !important;
}

.rnum {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 900;
  color: var(--accent);
  display: inline;
  line-height: 1;
}

.result-num-card > span:nth-child(2) {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--accent);
}

.result-num-card p {
  margin-top: 8px;
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 0;
}

/* Topper Cards */
.topper-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 16px;
  text-align: center;
  transition: all 0.3s ease;
}

.topper-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

.topper-avatar {
  width: 60px; height: 60px;
  background: var(--gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.5rem;
  margin: 0 auto 12px;
}

.topper-card h6 { font-weight: 600; font-size: 0.9rem; margin-bottom: 6px; }
.topper-card small { color: var(--text-muted); font-size: 0.78rem; display: block; margin-top: 4px; }

.rank-badge {
  background: var(--gradient);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 12px;
  border-radius: 50px;
  display: inline-block;
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials-slider {
  overflow: hidden;
  position: relative;
}

.testi-track {
  display: flex;
  gap: 24px;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.testi-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  flex: 0 0 calc(33.333% - 16px);
  min-width: calc(33.333% - 16px);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.3s ease;
}

.testi-card:hover { box-shadow: var(--shadow-md); }

.testi-stars {
  color: #f59e0b;
  font-size: 1.1rem;
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.testi-card > p {
  color: var(--text-muted);
  line-height: 1.8;
  font-size: 0.92rem;
  margin-bottom: 20px;
  font-style: italic;
}

.testi-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-avatar {
  width: 46px; height: 46px;
  background: var(--gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.testi-author strong { display: block; font-size: 0.92rem; font-weight: 600; }
.testi-author small { font-size: 0.78rem; color: var(--text-muted); }

.testi-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 32px;
}

.testi-btn {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  background: var(--bg-card);
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.9rem;
}

.testi-btn:hover {
  background: var(--gradient);
  color: #fff;
  border-color: transparent;
}

.testi-dots { display: flex; gap: 8px; }

.testi-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--border);
  cursor: pointer;
  transition: all 0.3s ease;
}

.testi-dot.active {
  background: var(--accent);
  width: 22px;
  border-radius: 4px;
}

/* ============================================================
   WHY US
   ============================================================ */
.why-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  transition: all 0.35s ease;
}

.why-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent);
}

.why-icon {
  width: 64px; height: 64px;
  background: var(--gradient);
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.5rem;
  margin: 0 auto 20px;
  box-shadow: 0 8px 20px rgba(200,98,42,0.3);
}

.why-card h6 { font-weight: 700; font-size: 1rem; margin-bottom: 10px; }
.why-card p { color: var(--text-muted); font-size: 0.87rem; line-height: 1.7; margin: 0; }

/* ============================================================
   ENQUIRY FORM
   ============================================================ */
.enquiry-section { background: var(--bg-alt); }

.enquiry-wrapper {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.enquiry-left {
  background: var(--gradient);
  padding: 60px 40px;
}

.enquiry-info h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 1rem;
  line-height: 1.3;
}

.enquiry-info h2 span {
  text-decoration: underline;
  text-decoration-color: rgba(255,255,255,0.5);
}

.enquiry-info > p {
  color: rgba(255,255,255,0.85);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.enquiry-perks {
  list-style: none;
  padding: 0;
  margin-bottom: 2rem;
}

.enquiry-perks li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,0.9);
  padding: 8px 0;
  font-size: 0.92rem;
}

.enquiry-perks li i { color: rgba(255,255,255,0.9); font-size: 1rem; }

.enquiry-contact-mini {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.enquiry-contact-mini a {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,0.9);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
}

.enquiry-contact-mini a:hover { color: #fff; }
.enquiry-contact-mini i { opacity: 0.8; }

.enquiry-right {
  background: var(--bg-card);
  padding: 60px 40px;
}

.form-title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 24px;
  color: var(--text);
}

.form-group-custom {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group-custom label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.03em;
}

.form-control-custom {
  width: 100%;
  background: var(--bg-alt);
  border: 1.5px solid var(--border);
  border-radius: 10px;
  padding: 12px 16px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.92rem;
  transition: all 0.3s ease;
  outline: none;
  appearance: none;
}

.form-control-custom:focus {
  border-color: var(--accent);
  background: var(--bg-card);
  box-shadow: 0 0 0 3px var(--accent-light);
}

.form-control-custom::placeholder { color: var(--text-light); }

.form-err {
  font-size: 0.78rem;
  color: #e74c3c;
  font-weight: 500;
}

.submit-btn { position: relative; overflow: hidden; }

.form-success {
  text-align: center;
  padding: 40px 20px;
}

.form-success i {
  font-size: 3.5rem;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 16px;
  display: block;
}

.form-success h5 { font-family: var(--font-display); font-size: 1.5rem; margin-bottom: 8px; }
.form-success p { color: var(--text-muted); }

/* ============================================================
   CONTACT
   ============================================================ */
.contact-info-cards { display: flex; flex-direction: column; gap: 14px; }

.contact-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 20px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  transition: all 0.3s ease;
}

.contact-card:hover { border-color: var(--accent); box-shadow: var(--shadow-sm); }

.contact-icon {
  width: 40px; height: 40px;
  background: var(--gradient);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 0.95rem;
  flex-shrink: 0;
}

.contact-card h6 { font-weight: 600; font-size: 0.85rem; margin-bottom: 4px; }
.contact-card p { color: var(--text-muted); font-size: 0.82rem; line-height: 1.6; margin: 0; }

.map-placeholder {
  background: var(--bg-card);
  border: 2px dashed var(--border);
  border-radius: 20px;
  height: 100%;
  min-height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.map-inner {
  text-align: center;
  color: var(--text-muted);
}

.map-inner i {
  font-size: 3rem;
  color: var(--accent);
  margin-bottom: 12px;
  display: block;
}

.map-inner p { font-weight: 600; margin-bottom: 4px; }
.map-inner small { font-size: 0.8rem; opacity: 0.7; }

/* Social Links */
.social-links { display: flex; gap: 10px; }

.social-links a {
  width: 38px; height: 38px;
  border-radius: 10px;
  border: 1.5px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.88rem;
  transition: all 0.3s ease;
}

.social-links a:hover {
  background: var(--gradient);
  color: #fff;
  border-color: transparent;
  transform: translateY(-2px);
}

/* ============================================================
   FOOTER
   ============================================================ */

/* Light mode: dark footer */
:root {
  --footer-bg: #18161400;
  --footer-bg-real: #1c1a17;
  --footer-border: #2e2c28;
  --footer-text: #c8c4be;
  --footer-muted: #8a8480;
  --footer-heading: #f0ede8;
  --footer-bottom-bg: #111010;
}

/* Dark mode: light footer */
[data-theme=dark] {
  --footer-bg-real: #f0ede8;
  --footer-border: #d8d3cc;
  --footer-text: #4a4540;
  --footer-muted: #7a7570;
  --footer-heading: #1a1512;
  --footer-bottom-bg: #e0dbd4;
}

.site-footer {
  background: var(--footer-bg-real);
  border-top: 1px solid var(--footer-border);
  transition: background 0.4s ease;
}

.footer-top { padding: 70px 0 40px; }

.footer-desc {
  color: var(--footer-text);
  font-size: 0.95rem;
  line-height: 1.75;
  margin-bottom: 1.5rem;
}

.footer-heading {
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--footer-heading);
  margin-bottom: 18px;
}

.footer-links { list-style: none; padding: 0; margin: 0; }

.footer-links li {
  margin-bottom: 11px;
  color: var(--footer-text);
  font-size: 0.95rem;
}

.footer-links a {
  color: var(--footer-text);
  font-size: 0.95rem;
  transition: color 0.2s ease, padding-left 0.2s ease;
}

.footer-links a:hover { color: var(--accent); padding-left: 4px; }

.newsletter-form {
  display: flex;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  background: var(--bg-card);
}

.newsletter-form input {
  flex: 1;
  background: transparent;
  border: none;
  padding: 12px 16px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.88rem;
  outline: none;
}

.newsletter-form input::placeholder { color: var(--text-light); }

.newsletter-form button {
  width: 46px;
  background: var(--gradient);
  border: none;
  color: #fff;
  cursor: pointer;
  transition: opacity 0.2s;
}

.newsletter-form button:hover { opacity: 0.85; }

.footer-bottom {
  background: var(--footer-bottom-bg);
  border-top: 1px solid var(--footer-border);
  padding: 22px 0;
  text-align: center;
  transition: background 0.4s ease;
}

.footer-bottom p {
  color: var(--footer-muted);
  font-size: 0.92rem;
  margin: 0;
  letter-spacing: 0.01em;
}

/* Footer brand + social in dark footer */
.site-footer .navbar-brand .brand-text { color: var(--footer-heading); }
.site-footer .navbar-brand .accent { color: var(--accent); }
.site-footer .social-links a {
  border-color: var(--footer-border);
  color: var(--footer-text);
}
.site-footer .social-links a:hover {
  background: var(--gradient);
  color: #fff;
  border-color: transparent;
}

/* ============================================================
   FLOATING ELEMENTS
   ============================================================ */
.whatsapp-float {
  position: fixed;
  bottom: 80px;
  right: 24px;
  width: 52px; height: 52px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.5rem;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  z-index: 999;
  transition: all 0.3s ease;
  animation: waPulse 2s infinite;
}

.whatsapp-float:hover { transform: scale(1.1); color: #fff; }

@keyframes waPulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(37,211,102,0.4); }
  50% { box-shadow: 0 4px 30px rgba(37,211,102,0.7); }
}

.back-to-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 44px; height: 44px;
  background: var(--gradient);
  border: none;
  border-radius: 12px;
  color: #fff;
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 999;
  box-shadow: 0 4px 15px rgba(200,98,42,0.3);
  transition: all 0.3s ease;
}

.back-to-top:hover { transform: translateY(-2px); }
.back-to-top.visible { display: flex; }

/* ============================================================
   ANIMATIONS
   ============================================================ */
.animate-fade-up {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 0.7s ease forwards;
  animation-delay: var(--delay, 0s);
}

.animate-fade-left {
  opacity: 0;
  transform: translateX(40px);
  animation: fadeLeft 0.7s ease forwards;
  animation-delay: var(--delay, 0s);
}

@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeLeft {
  to { opacity: 1; transform: translateX(0); }
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

.course-item.hidden { display: none; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 991.98px) {
  .testi-card { flex: 0 0 calc(50% - 12px); min-width: calc(50% - 12px); }
  .about-badge-float { right: 0; }
  .about-years-float { left: 0; }
  .section-pad { padding: 70px 0; }
  .enquiry-left { padding: 40px 30px; }
  .enquiry-right { padding: 40px 30px; }
  .hero-visual { padding-top: 40px; padding-bottom: 40px; }
}

@media (max-width: 767.98px) {
  .testi-card { flex: 0 0 calc(100% - 0px); min-width: 100%; }
  .hero-title { font-size: 2.2rem; }
  .hero-stats { flex-wrap: wrap; width: 100%; justify-content: center; }
  .stat-divider { display: none; }
  .stat-item { padding: 8px 16px; }
  .fc-1, .fc-2 { position: relative; top: auto; left: auto; right: auto; bottom: auto; margin-top: 12px; }
  .section-pad { padding: 60px 0; }
  .results-numbers-row { grid-template-columns: repeat(2, 1fr); }
  .enquiry-left, .enquiry-right { padding: 36px 24px; }
  .footer-top { padding: 50px 0 30px; }
  .hero-card-wrap { max-width: 320px; }
}

@media (max-width: 575.98px) {
  .hero-title { font-size: 1.9rem; }
  .hero-cta { flex-direction: column; }
  .hero-cta .btn { text-align: center; justify-content: center; }
  .section-title { font-size: 1.8rem; }
  .results-numbers-row { grid-template-columns: repeat(2, 1fr); }
}