/* ==========================================================================
   HAREESH ACADEMY - MAIN STYLESHEET
   Responsive, High-Performance, Accessible CSS with Rich Image Sliders
   ========================================================================== */

:root {
  /* Color Palette */
  --primary-navy: #0b3377;
  --primary-navy-dark: #071f4b;
  --primary-navy-deep: #051636;
  --accent-blue: #1a73e8;
  --accent-blue-hover: #1558d6;
  --accent-blue-light: #e8f1fd;
  --accent-amber: #f59e0b;
  --accent-amber-light: #fef3c7;
  --accent-green: #10b981;
  --accent-green-bg: #ecfdf5;

  /* Neutrals */
  --bg-page: #f8fafc;
  --bg-surface: #ffffff;
  --bg-subtle: #f1f5f9;
  --text-main: #0f172a;
  --text-muted: #475569;
  --text-light: #94a3b8;
  --border-light: #e2e8f0;
  --border-medium: #cbd5e1;

  /* Typography */
  --font-heading: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(11, 51, 119, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 12px rgba(11, 51, 119, 0.08), 0 2px 4px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 12px 28px rgba(11, 51, 119, 0.12), 0 4px 10px rgba(0, 0, 0, 0.06);
  --shadow-hover: 0 16px 36px rgba(11, 51, 119, 0.16), 0 6px 14px rgba(0, 0, 0, 0.08);

  /* Layout */
  --container-max: 1240px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
}

/* ==========================================================================
   RESET & BASE STYLES
   ========================================================================== */

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 85px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  padding: 0;
  background-color: var(--bg-page);
  color: var(--text-main);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg {
  vertical-align: middle;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--accent-blue);
  outline-offset: 3px;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--text-main);
  margin-top: 0;
  line-height: 1.2;
}

p {
  margin-top: 0;
  margin-bottom: 1rem;
}

p:last-child {
  margin-bottom: 0;
}

em {
  font-family: Georgia, 'Times New Roman', serif;
  font-style: italic;
  font-weight: 400;
}

/* ==========================================================================
   COMMON COMPONENTS & UTILITIES
   ========================================================================== */

.section-container {
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: 24px;
}

.section {
  padding-block: 80px;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 30px;
  margin-bottom: 48px;
}

.section-head-copy {
  max-width: 650px;
}

.section-title {
  font-size: clamp(30px, 3.8vw, 46px);
  letter-spacing: -0.03em;
  margin-bottom: 0;
}

.section-title em {
  color: var(--accent-blue);
}

.section-sub {
  max-width: 440px;
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-blue);
  margin-bottom: 12px;
}

.eyebrow-dot {
  width: 7px;
  height: 7px;
  background-color: var(--accent-amber);
  border-radius: 50%;
  display: inline-block;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 600;
  padding: 14px 24px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  text-align: center;
  white-space: nowrap;
}

.btn-arrow {
  font-size: 16px;
  transition: transform 0.2s ease;
}

.btn:hover .btn-arrow {
  transform: translate(3px, -3px);
}

.btn-primary {
  background-color: var(--primary-navy);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(11, 51, 119, 0.25);
}

.btn-primary:hover {
  background-color: var(--accent-blue-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(11, 51, 119, 0.35);
}

.btn-secondary {
  background-color: #ffffff;
  color: var(--primary-navy);
  border-color: var(--border-medium);
}

.btn-secondary:hover {
  background-color: var(--bg-subtle);
  border-color: var(--accent-blue);
  color: var(--accent-blue);
  transform: translateY(-2px);
}

.btn-secondary:hover .btn-arrow {
  transform: translateX(4px);
}

.btn-sm {
  padding: 10px 18px;
  font-size: 13px;
  gap: 8px;
}

.btn-full {
  width: 100%;
}

.btn-cream {
  background-color: #ffffff;
  color: var(--primary-navy);
  font-weight: 700;
}

.btn-cream:hover {
  background-color: var(--accent-amber-light);
  color: var(--primary-navy-dark);
  transform: translateY(-2px);
}

.btn-outline-white {
  background: transparent;
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.35);
}

.btn-outline-white:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: #ffffff;
}

.btn-whatsapp-sm {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background-color: var(--accent-green-bg);
  color: #065f46;
  border: 1px solid #a7f3d0;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
  transition: all 0.2s ease;
}

.btn-whatsapp-sm:hover {
  background-color: var(--accent-green);
  color: #ffffff;
  border-color: var(--accent-green);
}

.btn-whatsapp-full {
  background-color: #25d366;
  color: #ffffff;
  border: none;
}

.btn-whatsapp-full:hover {
  background-color: #128c7e;
  transform: translateY(-2px);
}

/* ==========================================================================
   TOP NOTIFICATION BAR
   ========================================================================== */

.topline {
  background-color: var(--primary-navy-deep);
  color: #cbd5e1;
  font-size: 12px;
  font-weight: 500;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.topline-container {
  max-width: var(--container-max);
  margin-inline: auto;
  padding: 8px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.topline-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.badge-live {
  width: 8px;
  height: 8px;
  background-color: var(--accent-amber);
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.25);
  animation: pulse-live 2s infinite;
}

@keyframes pulse-live {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(245, 158, 11, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(245, 158, 11, 0); }
}

.topline-tag {
  color: var(--accent-amber);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.05em;
}

.topline-sep {
  opacity: 0.4;
}

.topline-right {
  display: flex;
  align-items: center;
  gap: 18px;
}

.topline-loc {
  opacity: 0.9;
}

.topline-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #ffffff;
  font-weight: 600;
}

.topline-link:hover {
  color: var(--accent-amber);
}

/* ==========================================================================
   HEADER & NAVBAR
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-light);
  transition: all 0.25s ease;
}

.header-container {
  max-width: var(--container-max);
  margin-inline: auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

/* Brand Logo */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-logo {
  width: 44px;
  height: 44px;
  background-color: var(--primary-navy);
  color: #ffffff;
  border-radius: 10px 0 10px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow: 0 3px 8px rgba(11, 51, 119, 0.2);
}

.logo-char {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 900;
  line-height: 1;
  margin-left: 2px;
}

.logo-arrow {
  position: absolute;
  top: -6px;
  right: -4px;
  font-size: 18px;
  color: var(--accent-amber);
  font-weight: 800;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: var(--primary-navy);
  line-height: 1.1;
}

.brand-sub {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.35em;
  color: var(--text-muted);
}

/* Main Nav */
.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-link {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  position: relative;
  padding-block: 6px;
}

.nav-link:hover {
  color: var(--primary-navy);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background-color: var(--accent-blue);
  transition: width 0.2s ease;
}

.nav-link:hover::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 38px;
  height: 38px;
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 9px;
  cursor: pointer;
}

.menu-toggle .bar {
  width: 100%;
  height: 2px;
  background-color: var(--primary-navy);
  border-radius: 2px;
  transition: all 0.25s ease;
}

/* Mobile Drawer */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  max-width: 380px;
  height: 100vh;
  background-color: #ffffff;
  box-shadow: -8px 0 30px rgba(0, 0, 0, 0.15);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
  overflow-y: auto;
  transition: right 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

.drawer-close {
  background: transparent;
  border: none;
  font-size: 32px;
  line-height: 1;
  color: var(--text-muted);
  cursor: pointer;
}

.drawer-nav {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-block: 28px;
}

.drawer-link {
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 600;
  color: var(--primary-navy);
  padding-block: 6px;
  border-bottom: 1px solid var(--bg-subtle);
}

.drawer-contact-info {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 18px;
}

.drawer-buttons {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* ==========================================================================
   HERO SLIDER WITH REAL PHOTOGRAPHY
   ========================================================================== */

.hero-slider {
  max-width: var(--container-max);
  margin-inline: auto;
  padding: 30px 24px 50px;
  position: relative;
}

.slider-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.slide-count {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.slide-current {
  color: var(--primary-navy);
  font-size: 20px;
  font-weight: 800;
}

.slide-divider {
  opacity: 0.4;
}

.hero-google-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: #ffffff;
  border: 1px solid var(--border-light);
  padding: 6px 14px;
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
}

.stars {
  color: #fbbf24;
  letter-spacing: 1px;
}

.hero-slide {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: center;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.hero-slide.active {
  opacity: 1;
  transform: translateY(0);
}

.hero-slide[hidden] {
  display: none;
}

.hero-title {
  font-size: clamp(38px, 4.8vw, 64px);
  letter-spacing: -0.04em;
  line-height: 1.06;
  margin-bottom: 20px;
}

.hero-title em {
  color: var(--accent-blue);
}

.slide-copy .intro {
  font-size: 15px;
  line-height: 1.75;
  color: var(--text-muted);
  max-width: 530px;
  margin-bottom: 28px;
}

.actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.slide-tags {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  padding-top: 22px;
  border-top: 1px solid var(--border-light);
}

.tag-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-light);
  letter-spacing: 0.08em;
}

.tag-pill {
  background-color: var(--bg-subtle);
  color: var(--primary-navy);
  font-size: 12px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 999px;
  border: 1px solid var(--border-light);
}

/* Hero Visual with Real Photographic Background */
.hero-visual {
  position: relative;
}

.visual-card {
  height: 480px;
  border-radius: var(--radius-xl);
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 45px rgba(11, 51, 119, 0.22);
  color: #ffffff;
  padding: 34px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.visual-card-with-img {
  background: var(--primary-navy);
}

.hero-bg-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 6s ease;
  z-index: 0;
}

.hero-slide.active .hero-bg-photo {
  transform: scale(1.05);
}

.hero-photo-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(7, 31, 75, 0.88) 0%, rgba(11, 51, 119, 0.75) 50%, rgba(5, 22, 54, 0.92) 100%);
  z-index: 1;
}

.overlay-academic {
  background: linear-gradient(135deg, rgba(30, 58, 138, 0.9) 0%, rgba(15, 23, 42, 0.82) 100%);
}

.overlay-skills {
  background: linear-gradient(135deg, rgba(6, 78, 59, 0.9) 0%, rgba(2, 44, 34, 0.84) 100%);
}

.floating-badge {
  position: absolute;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: #ffffff;
  z-index: 2;
}

.floating-badge.formula {
  top: 28px;
  right: 28px;
  font-family: Georgia, serif;
}

.floating-badge.rank {
  top: 74px;
  right: 28px;
  background: var(--accent-amber);
  color: var(--primary-navy-deep);
  border: none;
}

.visual-heading {
  font-family: var(--font-heading);
  font-size: clamp(26px, 3.2vw, 38px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  z-index: 2;
  position: relative;
}

.visual-heading em {
  color: var(--accent-amber);
}

.book-stack {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 320px;
  z-index: 2;
  position: relative;
}

.stack-item {
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius-sm);
  padding: 10px 16px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  display: flex;
  align-items: center;
  gap: 12px;
}

.stack-item span {
  color: var(--accent-amber);
}

.visual-badge-circle {
  position: absolute;
  bottom: 26px;
  right: 26px;
  width: 82px;
  height: 82px;
  background-color: var(--accent-blue);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  z-index: 3;
}

.badge-arrow {
  font-size: 22px;
  line-height: 1;
}

.badge-sub {
  font-size: 8px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: 0.05em;
}

.visual-category-num {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #93c5fd;
  z-index: 2;
  position: relative;
}

.diagram-symbol {
  text-align: center;
  margin-block: auto;
  z-index: 2;
  position: relative;
}

.symbol-large {
  font-size: 100px;
  line-height: 1;
  color: #93c5fd;
  opacity: 0.9;
}

.symbol-caption {
  font-size: 11px;
  letter-spacing: 0.2em;
  color: #cbd5e1;
  font-weight: 600;
  margin-top: 8px;
  display: block;
}

.quote-caption {
  font-size: 24px;
  line-height: 1.25;
  font-weight: 600;
  z-index: 2;
  position: relative;
}

.quote-caption em {
  color: var(--accent-amber);
}

.badge-math {
  top: 32px;
  right: 28px;
  font-family: monospace;
}

.badge-pass {
  bottom: 32px;
  right: 28px;
  background-color: #059669;
  border: none;
}

/* Coding Visual Card */
.code-editor-mock {
  background-color: rgba(1, 22, 18, 0.88);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(16, 185, 129, 0.35);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-block: auto;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
  z-index: 2;
  position: relative;
}

.editor-header {
  background-color: #02241d;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.dot-red, .dot-yellow, .dot-green {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.dot-red { background: #ef4444; }
.dot-yellow { background: #f59e0b; }
.dot-green { background: #10b981; }

.editor-filename {
  font-size: 11px;
  color: #9ca3af;
  margin-left: 10px;
  font-family: monospace;
}

.editor-code {
  padding: 16px;
  margin: 0;
  font-family: 'Courier New', Courier, monospace;
  font-size: 13px;
  line-height: 1.6;
  color: #e5e7eb;
}

.editor-code .k { color: #f43f5e; font-weight: bold; }
.editor-code .f { color: #38bdf8; }
.editor-code .s { color: #a3e635; }

.badge-code {
  bottom: 32px;
  right: 28px;
  background-color: #047857;
  border: none;
  font-family: monospace;
}

/* Slider Controls */
.slider-controls-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 36px;
  padding-top: 22px;
  border-top: 1px solid var(--border-light);
}

.slider-dots {
  display: flex;
  gap: 12px;
}

.dot-btn {
  background: transparent;
  border: 1px solid var(--border-medium);
  padding: 8px 18px;
  border-radius: 999px;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s ease;
}

.dot-btn:hover {
  border-color: var(--primary-navy);
  color: var(--primary-navy);
}

.dot-btn.active {
  background-color: var(--primary-navy);
  border-color: var(--primary-navy);
  color: #ffffff;
}

.slider-arrows {
  display: flex;
  align-items: center;
  gap: 10px;
}

.arrow-btn {
  width: 42px;
  height: 42px;
  background-color: #ffffff;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-navy);
  cursor: pointer;
  transition: all 0.2s ease;
}

.arrow-btn:hover {
  background-color: var(--primary-navy);
  color: #ffffff;
  border-color: var(--primary-navy);
}

.pause-btn {
  font-size: 15px;
  font-weight: 800;
}

/* ==========================================================================
   MARQUEE RIBBON
   ========================================================================== */

.marquee-ribbon {
  background-color: var(--primary-navy);
  color: #ffffff;
  overflow: hidden;
  padding-block: 16px;
  border-block: 1px solid rgba(255, 255, 255, 0.1);
  white-space: nowrap;
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee-scroll 32s linear infinite;
}

.marquee-group {
  display: flex;
  align-items: center;
  gap: 28px;
  padding-right: 28px;
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.marquee-group b {
  color: var(--accent-amber);
}

@keyframes marquee-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.marquee-ribbon:hover .marquee-track {
  animation-play-state: paused;
}

/* ==========================================================================
   THREE CORE PILLARS WITH IMAGE HEADERS
   ========================================================================== */

.pillars-section {
  background-color: #ffffff;
}

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

.pillar-card {
  background-color: var(--bg-page);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.3s ease;
  position: relative;
}

.pillar-img-wrapper {
  position: relative;
  height: 190px;
  overflow: hidden;
}

.pillar-card-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.pillar-card:hover .pillar-card-photo {
  transform: scale(1.06);
}

.pillar-tag-float {
  position: absolute;
  top: 14px;
  left: 14px;
  background-color: rgba(11, 51, 119, 0.9);
  backdrop-filter: blur(6px);
  color: #ffffff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
}

.pillar-tag-float.tag-accent {
  background-color: rgba(26, 115, 232, 0.95);
}

.pillar-tag-float.tag-green {
  background-color: rgba(16, 185, 129, 0.95);
}

.pillar-body {
  padding: 28px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  justify-content: space-between;
}

.pillar-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent-blue-light);
  background-color: #ffffff;
}

.pillar-card.highlight {
  border-top: 4px solid var(--accent-blue);
  box-shadow: var(--shadow-md);
}

.pillar-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}

.pillar-num {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--text-light);
}

.pillar-icon {
  font-size: 20px;
  color: var(--accent-blue);
  font-weight: 700;
}

.pillar-title {
  font-size: 22px;
  margin-bottom: 12px;
  line-height: 1.2;
}

.pillar-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 20px;
}

.pillar-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.pillar-tags span {
  background-color: #ffffff;
  border: 1px solid var(--border-light);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  font-size: 11px;
  font-weight: 600;
  color: var(--primary-navy);
}

.pillar-action {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--border-light);
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  color: var(--accent-blue);
}

.pillar-action:hover {
  color: var(--primary-navy);
}

.pillar-action .action-arrow {
  font-size: 16px;
  transition: transform 0.2s ease;
}

.pillar-action:hover .action-arrow {
  transform: translate(3px, -3px);
}

/* ==========================================================================
   NEW: CAMPUS LIFE & CLASSROOM GALLERY SLIDER
   ========================================================================== */

.gallery-section {
  background-color: #ffffff;
  border-top: 1px solid var(--border-light);
}

.gallery-controls {
  display: flex;
  align-items: center;
  gap: 20px;
}

.gallery-counter {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  color: var(--primary-navy);
}

.gallery-arrows {
  display: flex;
  gap: 8px;
}

.gallery-slider-wrapper {
  position: relative;
  height: 480px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  margin-bottom: 20px;
}

.gallery-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.45s ease, visibility 0.45s ease;
}

.gallery-slide.active {
  opacity: 1;
  visibility: visible;
}

.gallery-slide[hidden] {
  display: none;
}

.gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(0deg, rgba(5, 22, 54, 0.94) 0%, rgba(5, 22, 54, 0.7) 65%, transparent 100%);
  color: #ffffff;
  padding: 40px 36px 30px;
  max-width: 750px;
}

.gallery-badge {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--accent-amber);
  display: block;
  margin-bottom: 8px;
}

.gallery-caption h3 {
  color: #ffffff;
  font-size: 26px;
  margin-bottom: 8px;
}

.gallery-caption p {
  font-size: 14px;
  color: #cbd5e1;
  line-height: 1.6;
  margin: 0;
}

/* Gallery Thumbnails */
.gallery-thumbnails {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.thumb-btn {
  background-color: var(--bg-page);
  border: 2px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 8px;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.thumb-btn img {
  width: 50px;
  height: 40px;
  border-radius: var(--radius-sm);
  object-fit: cover;
}

.thumb-btn span {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  color: var(--text-main);
}

.thumb-btn:hover {
  border-color: var(--accent-blue);
  background-color: #ffffff;
}

.thumb-btn.active {
  border-color: var(--accent-blue);
  background-color: var(--accent-blue-light);
  box-shadow: var(--shadow-sm);
}

.thumb-btn.active span {
  color: var(--accent-blue);
}

/* ==========================================================================
   DETAILED COURSE DIRECTORY (COURSE RAIL SLIDER WITH IMAGES)
   ========================================================================== */

.detail-section {
  background-color: var(--accent-blue-light);
  border-block: 1px solid #dae5f5;
}

.rail-controls {
  display: flex;
  align-items: center;
  gap: 20px;
}

.rail-counter {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
}

.rail-buttons {
  display: flex;
  gap: 8px;
}

/* Filter Tabs */
.course-filters {
  display: flex;
  gap: 10px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.filter-pill {
  background-color: #ffffff;
  border: 1px solid var(--border-medium);
  padding: 8px 18px;
  border-radius: 999px;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s ease;
}

.filter-pill:hover {
  border-color: var(--primary-navy);
  color: var(--primary-navy);
}

.filter-pill.active {
  background-color: var(--primary-navy);
  border-color: var(--primary-navy);
  color: #ffffff;
}

/* Horizontal Scroll Rail Slider */
.course-rail {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-block: 8px 24px;
  scrollbar-width: thin;
  scrollbar-color: #8fb5ec #e5eefc;
}

.course-rail::-webkit-scrollbar {
  height: 8px;
}

.course-rail::-webkit-scrollbar-track {
  background: #e5eefc;
  border-radius: 4px;
}

.course-rail::-webkit-scrollbar-thumb {
  background-color: #8fb5ec;
  border-radius: 4px;
}

.detail-card {
  flex: 0 0 calc((100% - 48px) / 3);
  min-width: 330px;
  scroll-snap-align: start;
  background-color: #ffffff;
  border: 1px solid #dae5f5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 4px 15px rgba(11, 51, 119, 0.04);
  transition: all 0.25s ease;
}

.detail-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: #bcd4f7;
}

.detail-card-thumb {
  position: relative;
  height: 160px;
  overflow: hidden;
}

.card-thumb-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.detail-card:hover .card-thumb-photo {
  transform: scale(1.06);
}

.detail-number-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background-color: rgba(11, 51, 119, 0.9);
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
}

.detail-badge-pill {
  position: absolute;
  top: 12px;
  right: 12px;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(6px);
  color: var(--primary-navy);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 4px 8px;
  border-radius: var(--radius-sm);
}

.detail-card-content {
  padding: 24px 24px 16px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.detail-title {
  font-size: 21px;
  margin-bottom: 10px;
  color: var(--primary-navy);
}

.detail-summary {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.7;
  min-height: 64px;
  margin-bottom: 18px;
}

.detail-list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
  border-top: 1px dashed var(--border-light);
  padding-top: 16px;
}

.detail-list li {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.9;
  position: relative;
  padding-left: 18px;
}

.detail-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent-blue);
  font-weight: 700;
}

.detail-footer {
  border-top: 1px solid var(--border-light);
  padding: 16px 24px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.detail-link {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  color: var(--accent-blue);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.detail-link:hover {
  color: var(--primary-navy);
}

.detail-link:hover .link-arrow {
  transform: translate(2px, -2px);
}

.detail-wa-btn {
  font-size: 11px;
  font-weight: 600;
  background-color: var(--accent-green-bg);
  color: #065f46;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid #a7f3d0;
  transition: all 0.2s ease;
}

.detail-wa-btn:hover {
  background-color: var(--accent-green);
  color: #ffffff;
}

.rail-hint {
  text-align: center;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #64748b;
  margin-top: 14px;
}

/* ==========================================================================
   APPROACH & METHODOLOGY
   ========================================================================== */

.approach-section {
  background-color: #ffffff;
}

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

.approach-heading {
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}

.approach-heading em {
  color: var(--accent-blue);
}

.approach-lead {
  font-size: 16px;
  line-height: 1.75;
  color: var(--text-muted);
  margin-bottom: 32px;
}

.approach-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 36px;
}

.stat-box {
  background-color: var(--bg-page);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 16px 12px;
  text-align: center;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 26px;
  font-weight: 800;
  color: var(--primary-navy);
  display: block;
  line-height: 1.1;
  margin-bottom: 4px;
}

.stat-desc {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 500;
  line-height: 1.4;
}

.principles-list {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.principle-item {
  display: flex;
  gap: 22px;
  align-items: flex-start;
  padding: 20px 24px;
  background-color: var(--bg-page);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  transition: all 0.2s ease;
}

.principle-item:hover {
  background-color: #ffffff;
  box-shadow: var(--shadow-sm);
  border-color: var(--accent-blue-light);
}

.principle-num {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 800;
  color: var(--accent-blue);
  line-height: 1;
  padding-top: 3px;
}

.principle-body h3 {
  font-size: 18px;
  margin-bottom: 6px;
}

.principle-body p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ==========================================================================
   INTERACTIVE DEMO CLASS & COURSE ENQUIRY FORM
   ========================================================================== */

.demo-form-section {
  background: linear-gradient(180deg, #ffffff 0%, var(--bg-subtle) 100%);
  border-top: 1px solid var(--border-light);
}

.form-wrapper-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 50px;
  align-items: center;
}

.form-heading {
  font-size: clamp(30px, 3.8vw, 44px);
  margin-bottom: 18px;
  line-height: 1.15;
}

.form-heading em {
  color: var(--accent-blue);
}

.form-text {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 28px;
}

.perks-checklist {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 32px;
}

.perk-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-main);
}

.quick-call-card {
  background-color: #ffffff;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  display: inline-flex;
  flex-direction: column;
  gap: 6px;
  box-shadow: var(--shadow-sm);
}

.quick-call-card p {
  font-size: 12px;
  color: var(--text-muted);
  margin: 0;
}

.quick-call-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 800;
  color: var(--primary-navy);
}

.quick-call-link:hover {
  color: var(--accent-blue);
}

/* Form Box */
.enquiry-form {
  background-color: #ffffff;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-lg);
}

.form-box-title {
  font-size: 24px;
  margin-bottom: 4px;
}

.form-box-sub {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 28px;
}

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

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

.form-group label {
  display: block;
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--text-main);
  background-color: var(--bg-page);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  background-color: #ffffff;
  border-color: var(--accent-blue);
  box-shadow: 0 0 0 3px rgba(26, 115, 232, 0.15);
}

.field-error {
  display: none;
  font-size: 11px;
  color: #dc2626;
  font-weight: 600;
  margin-top: 4px;
}

.form-group.has-error .field-error {
  display: block;
}

.form-group.has-error input,
.form-group.has-error select {
  border-color: #dc2626;
}

.form-submit-row {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 26px;
}

/* Success Banner */
.form-success-banner {
  display: none;
  margin-top: 20px;
  background-color: #ecfdf5;
  border: 1px solid #6ee7b7;
  border-radius: var(--radius-md);
  padding: 18px;
  color: #065f46;
  font-size: 13px;
}

.form-success-banner.active {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.success-icon {
  width: 24px;
  height: 24px;
  background-color: #10b981;
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  flex-shrink: 0;
}

.success-content strong {
  display: block;
  font-size: 14px;
  margin-bottom: 4px;
}

.success-content p {
  margin: 0;
  line-height: 1.5;
}

.success-content a {
  color: #047857;
  font-weight: 700;
  text-decoration: underline;
}

/* ==========================================================================
   ADMISSIONS JOURNEY (4 STEPS)
   ========================================================================== */

.journey-section {
  background-color: #ffffff;
  border-top: 1px solid var(--border-light);
}

.journey-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.journey-card {
  background-color: var(--bg-page);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 30px 24px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-top: 4px solid #bfdbfe;
  transition: all 0.25s ease;
}

.journey-card:hover {
  transform: translateY(-4px);
  border-top-color: var(--accent-blue);
  box-shadow: var(--shadow-md);
  background-color: #ffffff;
}

.journey-step-num {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 800;
  color: var(--accent-blue);
  line-height: 1;
  margin-bottom: 18px;
}

.journey-card-title {
  font-size: 19px;
  margin-bottom: 10px;
}

.journey-card-text {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 20px;
}

.journey-card-foot {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--text-light);
  border-top: 1px dashed var(--border-light);
  padding-top: 14px;
}

/* ==========================================================================
   NEW: INTERACTIVE TESTIMONIALS SLIDER
   ========================================================================== */

.reviews-section {
  background-color: var(--bg-subtle);
  border-top: 1px solid var(--border-light);
}

.reviews-head-action {
  display: flex;
  align-items: center;
  gap: 16px;
}

.review-slider-controls {
  display: flex;
  gap: 8px;
}

.google-review-badge-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: #ffffff;
  border: 1px solid var(--border-medium);
  padding: 10px 18px;
  border-radius: 999px;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  color: var(--primary-navy);
  box-shadow: var(--shadow-sm);
  transition: all 0.2s ease;
}

.google-review-badge-btn:hover {
  background-color: var(--primary-navy);
  color: #ffffff;
  border-color: var(--primary-navy);
}

.google-review-badge-btn:hover svg path {
  fill: #ffffff;
}

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

.review-card {
  background-color: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-sm);
  transition: all 0.25s ease;
}

.review-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent-blue-light);
}

.review-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.review-stars {
  color: #f59e0b;
  font-size: 16px;
  letter-spacing: 2px;
}

.review-verified-badge {
  font-size: 10px;
  font-weight: 700;
  color: #059669;
  background-color: #ecfdf5;
  padding: 3px 8px;
  border-radius: var(--radius-sm);
}

.review-text {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.75;
  font-style: italic;
  margin-bottom: 26px;
}

.reviewer-info {
  display: flex;
  align-items: center;
  gap: 14px;
  border-top: 1px solid var(--border-light);
  padding-top: 18px;
}

.reviewer-avatar-img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--accent-blue-light);
}

.reviewer-name {
  display: block;
  font-family: var(--font-heading);
  font-size: 14px;
  color: var(--primary-navy);
}

.reviewer-role {
  font-size: 12px;
  color: var(--text-light);
}

.review-dots {
  display: none;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
}

.review-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--border-medium);
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.review-dot.active {
  background-color: var(--primary-navy);
  transform: scale(1.2);
}

/* ==========================================================================
   FAQS ACCORDION
   ========================================================================== */

.faq-section {
  background-color: #ffffff;
  border-top: 1px solid var(--border-light);
}

.faq-layout {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 60px;
}

.faq-heading {
  font-size: clamp(30px, 3.8vw, 44px);
  margin-bottom: 16px;
  line-height: 1.15;
}

.faq-heading em {
  color: var(--accent-blue);
}

.faq-sub {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 28px;
}

.faq-contact-box {
  background-color: var(--bg-page);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 18px 22px;
  display: inline-flex;
  flex-direction: column;
  gap: 6px;
}

.faq-contact-box span {
  font-size: 12px;
  color: var(--text-muted);
}

.faq-phone-link {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 800;
  color: var(--accent-blue);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.faq-phone-link:hover {
  color: var(--primary-navy);
}

.faq-accordion {
  display: flex;
  flex-direction: column;
}

.faq-item {
  border-bottom: 1px solid var(--border-light);
  transition: background-color 0.2s ease;
}

.faq-summary {
  padding: 22px 10px 22px 0;
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 600;
  color: var(--primary-navy);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  list-style: none;
}

.faq-summary::-webkit-details-marker {
  display: none;
}

.faq-icon {
  width: 28px;
  height: 28px;
  background-color: var(--bg-subtle);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.faq-icon::before {
  content: '+';
  font-size: 20px;
  font-weight: 600;
  color: var(--accent-blue);
  line-height: 1;
}

.faq-item[open] .faq-icon::before {
  content: '−';
}

.faq-item[open] .faq-icon {
  background-color: var(--accent-blue-light);
}

.faq-answer {
  padding-bottom: 24px;
  padding-right: 20px;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.8;
}

.faq-answer p {
  margin-bottom: 12px;
}

.faq-answer ul {
  padding-left: 20px;
  margin: 10px 0;
}

.faq-answer li {
  margin-bottom: 8px;
}

/* ==========================================================================
   VISIT ACADEMY & CONTACT SECTION
   ========================================================================== */

.visit-section {
  background-color: var(--primary-navy);
  color: #ffffff;
  padding-block: 90px;
}

.visit-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}

.visit-section .eyebrow {
  color: #93c5fd;
}

.visit-section .eyebrow-dot {
  background-color: var(--accent-amber);
}

.visit-heading {
  color: #ffffff;
  font-size: clamp(34px, 4.4vw, 54px);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 22px;
}

.visit-heading em {
  color: var(--accent-amber);
}

.visit-lead {
  font-size: 16px;
  line-height: 1.8;
  color: #cbd5e1;
  max-width: 520px;
  margin-bottom: 34px;
}

.visit-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.visit-hours {
  background-color: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  max-width: 440px;
}

.hours-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #ffffff;
  margin-bottom: 6px;
}

.status-pulse {
  width: 8px;
  height: 8px;
  background-color: #34d399;
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(52, 211, 153, 0.3);
}

.visit-hours p {
  font-size: 13px;
  color: #cbd5e1;
  margin: 0;
  line-height: 1.6;
}

/* Visit Card & Map Preview */
.visit-card-inner {
  background-color: #ffffff;
  color: var(--text-main);
  border-radius: var(--radius-xl);
  padding: 38px 32px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
}

.visit-card-title {
  font-size: 24px;
  margin-bottom: 20px;
  color: var(--primary-navy);
}

.address-box {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-light);
}

.address-icon {
  width: 44px;
  height: 44px;
  background-color: var(--accent-blue-light);
  color: var(--primary-navy);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.address-street {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}

.address-street strong {
  color: var(--primary-navy);
  font-size: 15px;
}

.map-preview-container {
  background-color: #e2e8f0;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-medium);
  margin-bottom: 18px;
}

.map-graphic {
  height: 130px;
  background: 
    radial-gradient(circle at 50% 50%, rgba(26, 115, 232, 0.15) 0%, transparent 60%),
    linear-gradient(to right, #e2e8f0 1px, transparent 1px) 0 0 / 20px 20px,
    linear-gradient(to bottom, #e2e8f0 1px, transparent 1px) 0 0 / 20px 20px,
    #cbd5e1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
}

.map-pin-pulse {
  width: 18px;
  height: 18px;
  background-color: #dc2626;
  border-radius: 50%;
  border: 3px solid #ffffff;
  box-shadow: 0 0 0 6px rgba(220, 38, 38, 0.3);
  animation: pulse-live 1.8s infinite;
  margin-bottom: 8px;
}

.map-label {
  background-color: #ffffff;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  color: var(--primary-navy);
  box-shadow: var(--shadow-sm);
}

.map-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 10px;
  background-color: #ffffff;
}

.btn-map-directions {
  background-color: var(--accent-blue);
  color: #ffffff;
  font-size: 11px;
  padding: 9px 10px;
}

.btn-map-directions:hover {
  background-color: var(--primary-navy);
}

.btn-map-google {
  background-color: var(--bg-subtle);
  color: var(--primary-navy);
  font-size: 11px;
  padding: 9px 10px;
  border: 1px solid var(--border-medium);
}

.btn-map-google:hover {
  background-color: #ffffff;
  border-color: var(--primary-navy);
}

.visit-note {
  font-size: 12px;
  color: var(--text-light);
  line-height: 1.5;
  margin: 0;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.site-footer {
  background-color: var(--primary-navy-deep);
  color: #cbd5e1;
  padding-top: 70px;
  padding-bottom: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-container {
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: 24px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.brand-light .brand-name {
  color: #ffffff;
}

.brand-light .brand-sub {
  color: #94a3b8;
}

.brand-light .brand-logo {
  background-color: #ffffff;
  color: var(--primary-navy);
}

.footer-tagline {
  font-size: 14px;
  line-height: 1.7;
  color: #94a3b8;
  margin-top: 18px;
  margin-bottom: 22px;
  max-width: 300px;
}

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

.footer-badge-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #cbd5e1;
  background: rgba(255, 255, 255, 0.06);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  width: fit-content;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-badge-link:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

.footer-heading {
  color: #ffffff;
  font-size: 15px;
  margin-bottom: 20px;
  letter-spacing: 0.02em;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  font-size: 13px;
  color: #94a3b8;
  transition: all 0.2s ease;
}

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

.footer-address {
  font-style: normal;
  font-size: 13px;
  line-height: 1.7;
  color: #94a3b8;
}

.footer-address strong {
  color: #ffffff;
}

.footer-phone {
  margin-top: 12px;
}

.footer-phone a {
  color: var(--accent-amber);
  font-weight: 700;
}

.footer-maps {
  margin-top: 8px;
}

.footer-maps a {
  color: #93c5fd;
  text-decoration: underline;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 30px;
  font-size: 12px;
  color: #64748b;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-legal {
  display: flex;
  gap: 20px;
}

.footer-legal a {
  color: #94a3b8;
}

.footer-legal a:hover {
  color: #ffffff;
}

/* ==========================================================================
   FLOATING ACTION BUTTONS
   ========================================================================== */

.floating-actions {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-end;
}

.float-btn {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  position: relative;
  border: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.float-btn:hover {
  transform: scale(1.08) translateY(-2px);
}

.float-tooltip {
  position: absolute;
  right: 66px;
  background-color: var(--primary-navy-deep);
  color: #ffffff;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transform: translateX(8px);
  transition: all 0.2s ease;
  box-shadow: var(--shadow-md);
}

.float-btn:hover .float-tooltip {
  opacity: 1;
  transform: translateX(0);
}

.float-whatsapp {
  background-color: #25d366;
  color: #ffffff;
}

.float-whatsapp::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background-color: #25d366;
  opacity: 0.4;
  animation: pulse-ring 2.2s infinite;
  z-index: -1;
}

@keyframes pulse-ring {
  0% { transform: scale(1); opacity: 0.5; }
  100% { transform: scale(1.6); opacity: 0; }
}

.float-call {
  background-color: var(--accent-blue);
  color: #ffffff;
}

.float-top {
  width: 44px;
  height: 44px;
  background-color: #ffffff;
  color: var(--primary-navy);
  border: 1px solid var(--border-medium);
  box-shadow: var(--shadow-sm);
  display: none;
}

.float-top.visible {
  display: flex;
}

/* ==========================================================================
   RESPONSIVE DESIGN (MEDIA QUERIES)
   ========================================================================== */

@media (max-width: 1050px) {
  .hero-slide {
    gap: 36px;
  }
  .visual-card {
    height: 430px;
    padding: 28px;
  }
  .gallery-slider-wrapper {
    height: 400px;
  }
  .pillar-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .detail-card {
    flex-basis: calc((100% - 24px) / 2);
  }
  .journey-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .reviews-slider-track {
    grid-template-columns: repeat(2, 1fr);
  }
  .approach-grid {
    gap: 40px;
  }
  .form-wrapper-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .visit-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .footer-top {
    grid-template-columns: repeat(2, 1fr);
    gap: 36px;
  }
}

@media (max-width: 860px) {
  .site-header {
    padding-block: 8px;
  }
  .main-nav,
  .topline-loc,
  .btn-whatsapp-sm {
    display: none;
  }
  .menu-toggle {
    display: flex;
  }
  .topline-container {
    justify-content: center;
    text-align: center;
  }
  .hero-slide {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .visual-card {
    height: 380px;
  }
  .gallery-slider-wrapper {
    height: 340px;
  }
  .gallery-thumbnails {
    grid-template-columns: repeat(2, 1fr);
  }
  .faq-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .approach-grid {
    grid-template-columns: 1fr;
  }
  .section-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
}

@media (max-width: 640px) {
  .section {
    padding-block: 55px;
  }
  .hero-slider {
    padding: 20px 16px 36px;
  }
  .section-container {
    padding-inline: 16px;
  }
  .hero-title {
    font-size: 36px;
  }
  .hero-slide .intro {
    font-size: 14px;
  }
  .visual-card {
    height: 340px;
    padding: 20px;
  }
  .visual-heading {
    font-size: 26px;
  }
  .stack-item {
    font-size: 10px;
    padding: 8px 12px;
  }
  .visual-badge-circle {
    width: 68px;
    height: 68px;
    bottom: 18px;
    right: 18px;
  }
  .gallery-slider-wrapper {
    height: 280px;
  }
  .gallery-caption {
    padding: 24px 18px 18px;
  }
  .gallery-caption h3 {
    font-size: 19px;
  }
  .gallery-caption p {
    font-size: 12px;
  }
  .gallery-thumbnails {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  .thumb-btn {
    padding: 6px;
    gap: 8px;
  }
  .thumb-btn img {
    width: 38px;
    height: 32px;
  }
  .thumb-btn span {
    font-size: 11px;
  }
  .pillar-grid {
    grid-template-columns: 1fr;
  }
  .detail-card {
    flex-basis: 90%;
    min-width: 270px;
  }
  .detail-card-thumb {
    height: 140px;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .enquiry-form {
    padding: 24px 18px;
  }
  .journey-grid {
    grid-template-columns: 1fr;
  }
  .reviews-slider-track {
    grid-template-columns: 1fr;
  }
  .review-dots {
    display: flex;
  }
  .footer-top {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }
  .floating-actions {
    bottom: 16px;
    right: 16px;
  }
  .float-btn {
    width: 48px;
    height: 48px;
  }
  .map-actions {
    grid-template-columns: 1fr;
  }
}

/* Reduced Motion Accessibility */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .course-rail {
    scroll-behavior: auto;
  }
}
