/* =========================================================
   Sugu Driving School — Master Stylesheet
   style.css  |  Vanilla CSS  |  Mobile-First
   ========================================================= */

/* ── Google Font imports are in header.php ── */

/* ─────────────────────────────────────────
   1. CSS CUSTOM PROPERTIES (Design Tokens)
   ───────────────────────────────────────── */
:root {
  --red:        #d30a11;
  --red-dark:   #a50009;
  --red-light:  #ffe0e0;
  --blue:       #3a90d4;
  --blue-dark:  #1f6aaa;
  --blue-light: #d3eafd;
  --dark:       #0f0f14;
  --dark-mid:   #1a1a24;
  --mid:        #2d2d3a;
  --grey-100:   #f8f9fa;
  --grey-200:   #f0f0f0;
  --grey-300:   #e2e2e2;
  --grey-400:   #c4c6d0;
  --grey-500:   #74777f;
  --grey-700:   #474747;
  --text:       #1f1b10;
  --text-muted: #474747;
  --white:      #ffffff;

  --font-head:  'Montserrat', sans-serif;
  --font-body:  'Inter', sans-serif;

  --radius-sm:  6px;
  --radius-md:  12px;
  --radius-lg:  20px;
  --radius-xl:  32px;
  --radius-full: 999px;

  --shadow-sm:  0 2px 8px rgba(0,0,0,.08);
  --shadow-md:  0 6px 24px rgba(0,0,0,.12);
  --shadow-lg:  0 16px 48px rgba(0,0,0,.18);
  --shadow-red: 0 8px 32px rgba(211,10,17,.35);

  --transition: 0.3s cubic-bezier(.4,0,.2,1);
  --max-width:  1280px;
}


/* ─────────────────────────────────────────
   2. RESET & BASE
   ───────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  font-size: 16px;
  /* clip (not hidden) prevents horizontal scroll WITHOUT breaking the
     sticky header — `overflow: hidden` on an ancestor disables position:sticky. */
  overflow-x: clip;
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

body.menu-open { overflow: hidden; }

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }
input, select, textarea { font: inherit; }
details summary { cursor: pointer; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.section-pad { padding: 5rem 0; }
.bg-light { background: var(--grey-100); }

/* Alignment utilities.
   `.text-center` was used on eight pages — every section heading, and every
   "Book now" / "View all services" call to action under one — but had never
   actually been defined. The result was that all of those buttons sat hard
   against the left edge instead of under the middle of their section.
   `text-align` alone is not enough for the buttons: an <a class="btn"> is
   inline-flex, so it honours the parent's text-align, but a flex or grid
   parent would not. These cover both. */
.text-center { text-align: center; }
.text-center > .btn,
.text-center > .btn-large { margin-left: auto; margin-right: auto; }
.text-left { text-align: left; }

/* Material Icons sizing */
.material-symbols-outlined {
  font-variation-settings: 'FILL' 0,'wght' 400,'GRAD' 0,'opsz' 24;
  vertical-align: middle;
  line-height: 1;
}


/* ─────────────────────────────────────────
   3. PRELOADER
   ───────────────────────────────────────── */
#preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white); /* Changed to white */
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

#preloader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }

.preloader-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.preloader-road {
  width: 200px;
  height: 60px;
}

#road-path {
  animation: drawRoad 1.6s ease-in-out infinite alternate;
}

@keyframes drawRoad {
  to { stroke-dashoffset: 0; }
}

.preloader-car {
  animation: carMove 1.6s ease-in-out infinite;
}

@keyframes carMove {
  0%   { cx: 0;   cy: 30; }
  25%  { cx: 50;  cy: 5;  }
  50%  { cx: 100; cy: 30; }
  75%  { cx: 150; cy: 55; }
  100% { cx: 200; cy: 30; }
}

.preloader-logo img {
  opacity: 0;
  mix-blend-mode: multiply;
  animation: fadeUp 0.6s 0.4s ease forwards;
}

.preloader-text {
  color: var(--blue);
  font-size: 0.875rem;
  letter-spacing: 0.1em;
  font-family: var(--font-head);
}

.dots { display: inline-block; animation: dotBlink 1.2s infinite; }
@keyframes dotBlink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}


/* ─────────────────────────────────────────
   4. BUTTONS
   ───────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.5rem;
  border-radius: var(--radius-full);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  transition: all var(--transition);
  white-space: nowrap;
  text-align: center;
  justify-content: center;
}

.btn-primary {
  background: var(--red);
  color: var(--white);
  box-shadow: var(--shadow-red);
}
.btn-primary:hover, .btn-primary:focus-visible {
  background: var(--red-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(211,10,17,.45);
}

.btn-secondary {
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 8px 24px rgba(58,144,212,.3);
}
.btn-secondary:hover, .btn-secondary:focus-visible {
  background: var(--blue-dark);
  transform: translateY(-2px);
}

.btn-ghost {
  background: rgba(255,255,255,.12);
  color: var(--white);
  border: 2px solid rgba(255,255,255,.5);
  backdrop-filter: blur(4px);
}
.btn-ghost:hover {
  background: rgba(255,255,255,.22);
  border-color: var(--white);
}

.btn-large { padding: 0.9rem 2rem; font-size: 1rem; }
.btn-block  { width: 100%; display: flex; }


/* ─────────────────────────────────────────
   5. SECTION HEADINGS
   ───────────────────────────────────────── */
.section-badge {
  display: inline-block;
  background: var(--red-light);
  color: var(--red);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.35rem 1rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.75rem;
}

.section-title {
  font-family: var(--font-head);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 800;
  line-height: 1.18;
  color: var(--text);
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.accent-text {
  color: var(--red);
  position: relative;
}


/* ─────────────────────────────────────────
   6. HEADER / NAV
   ───────────────────────────────────────── */
#site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  border-bottom: 1px solid var(--grey-300);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), background var(--transition);
}

#site-header.scrolled {
  box-shadow: var(--shadow-md);
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1rem;
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-left {
  display: none;
  align-items: center;
  gap: 1.75rem;
}

.nav-link {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: color var(--transition);
  position: relative;
  padding-bottom: 2px;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--red);
  transition: width var(--transition);
}
.nav-link:hover, .nav-link.active { color: var(--red); }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }

.header-logo img {
  height: 52px;
  width: auto;
  mix-blend-mode: multiply;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  justify-content: flex-end;
}
.nav-right .btn { display: none; }

/* Hamburger */
.hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 32px;
  padding: 4px;
}
.hamburger span {
  display: block;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Menu — right-side off-canvas drawer */
body.menu-open .hamburger { opacity: 0; visibility: hidden; }
.menu-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease;
  z-index: 1200;
}
body.menu-open .menu-backdrop { opacity: 1; visibility: visible; }

.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  height: 100dvh;
  width: min(82%, 320px);
  background: var(--white);
  display: flex;
  flex-direction: column;
  gap: 0;
  padding-top: 4.75rem;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(.4, 0, .2, 1);
  box-shadow: -8px 0 30px rgba(0, 0, 0, 0.15);
  overflow-y: auto;
  z-index: 1250;
}
.mobile-menu.open { transform: translateX(0); }

.mobile-menu-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--grey-100);
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text);
}

.mobile-link {
  padding: 1rem 1.5rem;
  font-weight: 600;
  color: var(--text-muted);
  border-bottom: 1px solid var(--grey-200);
  transition: color var(--transition), background var(--transition);
}
.mobile-link:hover, .mobile-link.active { color: var(--red); background: var(--red-light); }
.mobile-cta { margin: 1rem 1.5rem 0; border-radius: var(--radius-full); text-align: center; }

@media (min-width: 768px) {
  .header-inner { height: 120px; padding: 0 1.25rem; }
  .header-logo img { height: 96px; }
  .nav-left { display: flex; }
  .nav-right .btn { display: inline-flex; }
  .hamburger { display: none; }
  .mobile-menu { display: none !important; }
  .menu-backdrop { display: none !important; }
}


/* ─────────────────────────────────────────
   7. HERO SECTION
   ───────────────────────────────────────── */
.hero-section {
  position: relative;
  width: 100%;
  height: 100svh;
  min-height: 600px;
  max-height: 900px;
  overflow: hidden;
}

.hero-slider {
  width: 100%;
  height: 100%;
  position: relative;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.9s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-slide.active { opacity: 1; z-index: 1; }

.hero-slide-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
  transition: transform 6s ease;
}
.hero-slide.active .hero-slide-bg { transform: scale(1); }

.hero-slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(15,15,20,.82) 0%,
    rgba(15,15,20,.55) 60%,
    rgba(211,10,17,.15) 100%
  );
}

/* The hero copy sits on the container's left edge, in line with the logo and
   the nav above it, rather than floating in the middle of the screen.
   `.hero-slide` centres its child, so the block is widened to the full site
   container and the text inside is capped separately — that keeps the left
   edge aligned with every other section while stopping the headline from
   running the whole width of a large monitor. */
.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--max-width);
  padding: 2rem 1.25rem;
  text-align: left;
  width: 100%;
}

.hero-eyebrow,
.hero-title,
.hero-stats { max-width: 760px; }

.hero-eyebrow {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 0.75rem;
}

.hero-title {
  font-family: var(--font-head);
  font-size: clamp(2.25rem, 6vw, 4.25rem);
  font-weight: 900;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 1.25rem;
  text-shadow: 0 2px 16px rgba(0,0,0,.4);
}

.hero-title .accent-text { color: var(--red); text-shadow: 0 0 32px rgba(211,10,17,.5); }

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: rgba(255,255,255,.82);
  margin-bottom: 2rem;
  max-width: 560px;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}

@media (max-width: 480px) {
  .hero-ctas { gap: 0.6rem; }
  .hero-ctas .btn { flex: 1 1 100%; justify-content: center; }
  .btn-large { padding: 0.85rem 1.25rem; }
}

.hero-stats {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}
.stat {
  display: flex;
  flex-direction: column;
}
.stat strong {
  font-family: var(--font-head);
  font-size: 1.75rem;
  font-weight: 900;
  color: var(--white);
  line-height: 1;
}
.stat span {
  font-size: 0.75rem;
  color: rgba(255,255,255,.65);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 2px;
}

/* Slider controls */
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255,255,255,.15);
  backdrop-filter: blur(6px);
  border: 1.5px solid rgba(255,255,255,.3);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}
.slider-btn:hover { background: rgba(211,10,17,.7); border-color: var(--red); }
.slider-prev { left: 1rem; }
.slider-next { right: 1rem; }

.slider-dots {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
  z-index: 10;
}
.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,.4);
  border: none;
  transition: all var(--transition);
}
.dot.active { background: var(--red); transform: scale(1.3); }

.scroll-indicator {
  position: absolute;
  bottom: 1.5rem;
  right: 1.5rem;
  color: rgba(255,255,255,.5);
  z-index: 10;
  animation: bounce 2s infinite;
}
@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(6px); }
}


/* ─────────────────────────────────────────
   8. ABOUT SECTION
   ───────────────────────────────────────── */
.about-section { overflow: hidden; }

.about-grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}

.about-text p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
}

.about-features {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2rem;
}
.about-features li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 500;
  color: var(--text);
}
.about-features li .material-symbols-outlined { color: var(--blue); font-size: 1.2rem; }

.about-image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.about-image img { width: 100%; height: 380px; object-fit: cover; border-radius: var(--radius-lg); }

/* Portrait variant — the instructor bio photo.
   The 380px height above is a landscape crop; forcing it on a 4:5 portrait
   squashed the framing. This lets the image keep its own ratio, and drops
   overflow:hidden so the name badge can overhang the corner as intended. */
.about-image--portrait {
  overflow: visible;
  box-shadow: none;
  position: relative;
}
.about-image--portrait picture { display: block; }
.about-image--portrait img {
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 12%;   /* favour the face over the feet */
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.instructor-name-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--blue);
  color: var(--white);
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}
.instructor-name-badge h4 { margin: 0; font-size: 1.15rem; line-height: 1.3; }
.instructor-name-badge p  { margin: 0; opacity: .9; font-size: .875rem; }

/* On narrow screens the negative offset would push the badge past the
   viewport edge, so tuck it back inside the image. */
@media (max-width: 560px) {
  .instructor-name-badge { right: 0.75rem; bottom: 0.75rem; padding: 0.85rem 1rem; }
  .instructor-name-badge h4 { font-size: 1rem; }
}

.about-badge-float {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  background: var(--red);
  color: var(--white);
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  font-family: var(--font-head);
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: var(--shadow-red);
  animation: floatBadge 3s ease-in-out infinite;
}
.about-badge-float strong { font-size: 1.75rem; font-weight: 900; line-height: 1; }
.about-badge-float span  { font-size: 0.72rem; text-align: center; opacity: .9; }

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

@media (min-width: 768px) {
  .about-grid { grid-template-columns: 1fr 1fr; }
}


/* ─────────────────────────────────────────
   9. SERVICES SECTION
   ───────────────────────────────────────── */
.services-grid {
  display: grid;
  gap: 1.5rem;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--grey-300);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 4px;
  height: 100%;
  background: var(--icon-color, var(--red));
  border-radius: 4px 0 0 4px;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--icon-color, var(--red));
}

.service-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: color-mix(in srgb, var(--icon-color) 12%, white);
  display: flex;
  align-items: center;
  justify-content: center;
}
.service-icon .material-symbols-outlined {
  color: var(--icon-color, var(--red));
  font-size: 1.6rem;
  font-variation-settings: 'FILL' 0,'wght' 500,'GRAD' 0,'opsz' 40;
}

.service-price {
  font-family: var(--font-head);
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--text);
  position: absolute;
  top: 1.75rem;
  right: 1.75rem;
}
.service-price small { font-size: 0.8rem; font-weight: 500; color: var(--grey-500); }

.service-card h3 {
  font-family: var(--font-head);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text);
}
.service-card p { color: var(--text-muted); font-size: 0.95rem; }

.service-features {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.service-features li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--grey-500);
}
.service-features li .material-symbols-outlined { font-size: 1rem; }

@media (min-width: 640px) {
  .services-grid { grid-template-columns: 1fr 1fr; }
}


/* ─────────────────────────────────────────
   10. WHY CHOOSE US
   ───────────────────────────────────────── */
.why-grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}

.why-image {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.why-image img { width: 100%; height: 380px; object-fit: cover; border-radius: var(--radius-xl); }

.why-experience-badge {
  position: absolute;
  bottom: 1.5rem;
  right: 1.5rem;
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  color: var(--white);
  padding: 1rem;
  border-radius: var(--radius-md);
  text-align: center;
  box-shadow: var(--shadow-red);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  animation: floatBadge 3.5s ease-in-out infinite;
}
.why-experience-badge .material-symbols-outlined { font-size: 1.5rem; font-variation-settings: 'FILL' 1,'wght' 700,'GRAD' 0,'opsz' 40; }
.why-experience-badge strong { font-family: var(--font-head); font-size: 1.5rem; font-weight: 900; line-height: 1; }
.why-experience-badge small { font-size: 0.7rem; opacity: .9; }

.why-text p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
}

.why-features {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.why-feature {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: var(--grey-100);
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  border-left: 3px solid var(--blue);
  transition: box-shadow var(--transition);
}
.why-feature:hover { box-shadow: var(--shadow-sm); }

.why-feature-icon {
  width: 40px;
  height: 40px;
  background: var(--blue-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.why-feature-icon .material-symbols-outlined { color: var(--blue); font-size: 1.2rem; }
.why-feature h4 { font-weight: 700; font-size: 0.95rem; color: var(--text); margin-bottom: 0.2rem; }
.why-feature p  { font-size: 0.875rem; color: var(--text-muted); margin: 0; }

@media (min-width: 900px) {
  .why-grid { grid-template-columns: 1fr 1fr; }
}


/* ─────────────────────────────────────────
   11. GRADUATES SECTION
   ───────────────────────────────────────── */
.graduates-slider-wrap {
  position: relative;
}

.graduates-slider {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.graduate-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--grey-300);
  display: flex;
  flex-direction: column;
  transition: all var(--transition);
}
.graduate-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.graduate-photo-wrap {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
  background: var(--grey-200);
}
.graduate-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  transition: transform 0.6s ease;
}
.graduate-card:hover .graduate-photo { transform: scale(1.04); }

.graduate-pass-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: linear-gradient(135deg, #00875A, #005c3c);
  color: var(--white);
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  box-shadow: 0 4px 16px rgba(0,135,90,.4);
  letter-spacing: 0.05em;
}
.graduate-pass-badge .material-symbols-outlined { font-size: 1rem; font-variation-settings: 'FILL' 1,'wght' 600,'GRAD' 0,'opsz' 24; }

.graduate-info {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
}
.graduate-info h3 {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text);
}
.stars { color: var(--red); font-size: 1rem; letter-spacing: 2px; }
.graduate-info p { font-size: 0.875rem; color: var(--text-muted); font-style: italic; flex: 1; }
.graduate-meta {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  color: var(--grey-500);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: auto;
}
.graduate-meta .material-symbols-outlined { font-size: 0.9rem; color: #00875A; font-variation-settings: 'FILL' 1,'wght' 600,'GRAD' 0,'opsz' 24; }

/* Testimonial cards */
.testimonial-card {
  padding: 2rem;
  background: linear-gradient(135deg, var(--grey-100), var(--white));
}
.testimonial-icon .material-symbols-outlined {
  font-size: 2.5rem;
  color: var(--red);
  font-variation-settings: 'FILL' 1,'wght' 700,'GRAD' 0,'opsz' 40;
  line-height: 1;
  margin-bottom: 0.5rem;
}
.testimonial-card p { font-size: 0.95rem; color: var(--text-muted); font-style: italic; margin: 0.5rem 0; }
.testimonial-card strong { font-size: 0.9rem; color: var(--text); }

/* Grad slider buttons */
.grad-slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--grey-300);
  color: var(--text);
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  transition: all var(--transition);
}
.grad-slider-btn:hover { background: var(--red); color: var(--white); border-color: var(--red); }
.grad-prev { left: -1.5rem; }
.grad-next { right: -1.5rem; }

/* Responsive graduates grid */
@media (max-width: 1023px) {
  .graduates-slider { grid-template-columns: repeat(2, 1fr); }
  .graduate-card:nth-child(n+3) { display: none; }
}
@media (max-width: 639px) {
  .graduates-slider { grid-template-columns: 1fr; }
  .graduate-card:nth-child(n+2) { display: none; }
  .grad-slider-btn { display: flex; }
  .grad-prev { left: -0.5rem; }
  .grad-next { right: -0.5rem; }
}


/* ─────────────────────────────────────────
   12. BOOKING SECTION
   ───────────────────────────────────────── */
.booking-wrap {
  background: linear-gradient(135deg, var(--blue-dark) 0%, #154c79 100%);
  border-radius: var(--radius-xl);
  padding: 3rem 2rem;
  display: grid;
  gap: 3rem;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}
.booking-wrap::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(211,10,17,.18) 0%, transparent 70%);
  pointer-events: none;
}

.booking-left .section-badge { background: rgba(211,10,17,.2); color: #ff9fa3; }
.booking-left .section-title { color: var(--white); }
.booking-left p { color: rgba(255,255,255,.7); font-size: 1.05rem; margin-bottom: 2rem; }

.booking-info { display: flex; flex-direction: column; gap: 1rem; }
.booking-info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}
.booking-info-item .material-symbols-outlined {
  color: var(--red);
  font-size: 1.4rem;
  font-variation-settings: 'FILL' 0,'wght' 400,'GRAD' 0,'opsz' 24;
  margin-top: 2px;
  flex-shrink: 0;
}
.booking-info-item strong {
  display: block;
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}
.booking-info-item a, .booking-info-item span {
  color: rgba(255,255,255,.7);
  font-size: 0.95rem;
  transition: color var(--transition);
}
.booking-info-item a:hover { color: var(--white); }

/* Form */
.booking-form, .contact-form {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-row {
  display: grid;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.form-group label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text);
}
.required { color: var(--red); }

.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--grey-300);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  color: var(--text);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(58,144,212,.15);
}
.form-group textarea { resize: vertical; min-height: 100px; }

.form-note {
  text-align: center;
  font-size: 0.8rem;
  color: var(--grey-500);
}

@media (min-width: 640px) {
  .form-row { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 900px) {
  .booking-wrap { grid-template-columns: 1fr 1.2fr; padding: 4rem; }
}


/* ─────────────────────────────────────────
   13. FAQ SECTION
   ───────────────────────────────────────── */
.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--grey-300);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: box-shadow var(--transition);
}
.faq-item[open] { box-shadow: var(--shadow-md); }
.faq-item[open] summary { color: var(--red); }
.faq-item[open] .faq-icon { transform: rotate(180deg); color: var(--red); }

.faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 1.5rem;
  font-weight: 600;
  font-size: 1rem;
  color: var(--text);
  list-style: none;
  transition: color var(--transition);
  gap: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--red); }

.faq-icon { transition: transform var(--transition), color var(--transition); flex-shrink: 0; }

.faq-body {
  padding: 0 1.5rem 1.25rem;
  color: var(--text-muted);
  line-height: 1.7;
  border-top: 1px solid var(--grey-200);
  padding-top: 1rem;
}


/* ─────────────────────────────────────────
   14. CONTACT SECTION
   ───────────────────────────────────────── */
.contact-grid {
  display: grid;
  gap: 3rem;
  align-items: start;
}

.contact-info .section-title { margin-bottom: 0.75rem; }
.contact-info > p { color: var(--text-muted); margin-bottom: 2rem; }

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}
.contact-item-icon {
  width: 44px;
  height: 44px;
  background: var(--blue-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-item-icon .material-symbols-outlined { color: var(--blue); }
.contact-item h4 { font-weight: 700; font-size: 0.875rem; color: var(--text); margin-bottom: 0.2rem; }
.contact-item p, .contact-item a { font-size: 0.95rem; color: var(--text-muted); }
.contact-item a:hover { color: var(--red); }

.contact-form-wrap {
  background: var(--grey-100);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
}
.contact-form { background: none; padding: 0; }

@media (min-width: 900px) {
  .contact-grid { grid-template-columns: 1fr 1fr; }
}


/* ─────────────────────────────────────────
   15. FOOTER
   ───────────────────────────────────────── */
#site-footer {
  background: var(--blue-dark);
  color: var(--white);
  padding: 4rem 0 0;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.25rem 3rem;
  display: grid;
  gap: 3rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: flex-start;
}
.footer-logo { 
  background: var(--white); 
  padding: 10px 15px; 
  border-radius: var(--radius-md); 
  mix-blend-mode: normal; 
}
.footer-tagline {
  font-family: var(--font-head);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.footer-copy { font-size: 0.8rem; color: var(--white); }
.footer-socials { display: flex; gap: 0.75rem; margin-top: 0.5rem; }

.social-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  transition: all var(--transition);
}
.social-icon:hover { background: var(--red); color: var(--white); border-color: var(--red); }

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.footer-col h4 {
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--white);
  margin-bottom: 1rem;
}
.footer-col a, .footer-col p, .footer-col span {
  display: block;
  font-size: 0.875rem;
  color: var(--white);
  margin-bottom: 0.5rem;
  transition: color var(--transition);
}
.footer-col a:hover { color: var(--red-light); }
.footer-col p { display: flex; align-items: center; gap: 0.4rem; }
.footer-col .material-symbols-outlined { font-size: 1rem; color: var(--white); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  text-align: center;
  padding: 1.25rem;
  font-size: 0.8rem;
  color: var(--white);
}

@media (min-width: 768px) {
  .footer-inner { grid-template-columns: 1fr 2fr; }
}
@media (max-width: 480px) {
  .footer-links { grid-template-columns: 1fr; }
}


/* ─────────────────────────────────────────
   16. SCROLL REVEAL ANIMATION
   ───────────────────────────────────────── */
/* Base state only applies when JS is available (html.js). Without JS the
   content stays fully visible — never hidden behind a broken observer. */
.reveal {
  transition: opacity 0.7s cubic-bezier(.4,0,.2,1), transform 0.7s cubic-bezier(.4,0,.2,1);
}
html.js .reveal {
  opacity: 0; transform: translateY(30px); will-change: opacity, transform;
  /* Fallback: auto-reveal after 2s if IntersectionObserver fails */
  animation: revealFallback 0.7s ease forwards;
  animation-delay: 2s;
}
html.js .reveal-left  { transform: translateX(-40px); }
html.js .reveal-right { transform: translateX(40px); }
html.js .reveal-scale { transform: scale(.92); }

.reveal.visible { opacity: 1 !important; transform: none !important; animation: none; }
.reveal-delay  { transition-delay: 0.15s; }
.reveal-delay2 { transition-delay: 0.3s; }
.reveal-delay3 { transition-delay: 0.45s; }

/* Stagger: children of a .reveal-stagger animate in sequence */
html.js .reveal-stagger > * {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s cubic-bezier(.4,0,.2,1), transform 0.6s cubic-bezier(.4,0,.2,1);
  /* Fallback: auto-reveal after 2s if IntersectionObserver fails */
  animation: revealFallback 0.7s ease forwards;
  animation-delay: 2s;
}
/* When observer fires, cancel the fallback animation */
.reveal-stagger.visible > * { opacity: 1; transform: none; animation: none; }
.reveal-stagger.visible > *:nth-child(1) { transition-delay: .05s; }
.reveal-stagger.visible > *:nth-child(2) { transition-delay: .13s; }
.reveal-stagger.visible > *:nth-child(3) { transition-delay: .21s; }
.reveal-stagger.visible > *:nth-child(4) { transition-delay: .29s; }
.reveal-stagger.visible > *:nth-child(5) { transition-delay: .37s; }
.reveal-stagger.visible > *:nth-child(6) { transition-delay: .45s; }
.reveal-stagger.visible > *:nth-child(7) { transition-delay: .53s; }
.reveal-stagger.visible > *:nth-child(8) { transition-delay: .61s; }

@keyframes revealFallback {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: none; }
}

/* ── Scroll progress bar ── */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0;
  background: linear-gradient(90deg, var(--red), var(--blue));
  z-index: 9999; transition: width .1s linear; pointer-events: none;
}

/* ── FAQ accordion ── */
.faq-list { max-width: 820px; margin: 2.5rem auto 0; }
.faq-item {
  background: #fff; border: 1px solid var(--grey-200); border-radius: var(--radius-md);
  margin-bottom: 1rem; overflow: hidden; transition: box-shadow .25s, border-color .25s;
}
.faq-item.open { box-shadow: var(--shadow-md); border-color: var(--blue); }
.faq-q {
  width: 100%; text-align: left; background: none; border: none; cursor: pointer;
  padding: 1.25rem 1.5rem; font-size: 1.02rem; font-weight: 600; color: var(--text);
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; font-family: inherit;
}
.faq-q .faq-icon { transition: transform .3s ease; color: var(--red); flex-shrink: 0; }
.faq-item.open .faq-q .faq-icon { transform: rotate(45deg); }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .3s ease; }
.faq-item.open .faq-a { grid-template-rows: 1fr; }
.faq-a > div { overflow: hidden; }
.faq-a p { padding: 0 1.5rem 1.25rem; color: var(--text-muted); margin: 0; }

/* ── Hover-lift utility ── */
.hover-lift { transition: transform .3s cubic-bezier(.4,0,.2,1), box-shadow .3s; }
.hover-lift:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }

/* ── Stat band (dark) ── */
.stat-band {
  background: linear-gradient(135deg, var(--dark) 0%, var(--mid) 100%);
  color: #fff; border-radius: var(--radius-lg);
  padding: 2.5rem 1.5rem;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(160px,1fr)); gap: 1rem;
  text-align: center;
}
.stat-band .sb-item strong {
  display: block; font-family: var(--font-head); font-size: 2.6rem; font-weight: 900;
  color: #fff; line-height: 1;
}
.stat-band .sb-item span { color: rgba(255,255,255,.65); text-transform: uppercase; letter-spacing: .08em; font-size: .78rem; }
.stat-band .sb-item .accent-text { color: var(--red); }

/* ── Vertical timeline ── */
.timeline { position: relative; max-width: 820px; margin: 3rem auto 0; padding-left: 2.5rem; }
.timeline::before {
  content: ""; position: absolute; left: 9px; top: 6px; bottom: 6px; width: 2px;
  background: linear-gradient(var(--red), var(--blue));
}
.tl-item { position: relative; padding-bottom: 2.5rem; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before {
  content: ""; position: absolute; left: -2.5rem; top: 2px; width: 20px; height: 20px;
  background: #fff; border: 3px solid var(--red); border-radius: 50%;
}
.tl-item:nth-child(even)::before { border-color: var(--blue); }
.tl-item h4 { font-size: 1.15rem; margin-bottom: .35rem; }
.tl-item .tl-year { color: var(--red); font-weight: 700; font-size: .85rem; letter-spacing: .05em; }
.tl-item p { color: var(--text-muted); margin: .25rem 0 0; }

/* ── Credentials box (shown after register / auto-created booking account) ── */
.cred-box {
  text-align: left; background: var(--grey-100); border: 1px dashed var(--grey-300);
  border-radius: var(--radius-md); padding: 1.25rem 1.25rem 1rem; margin: 1.25rem auto; max-width: 460px;
}
.cred-row {
  display: flex; align-items: center; gap: .75rem; padding: .6rem .75rem; margin-bottom: .6rem;
  background: #fff; border: 1px solid var(--grey-200); border-radius: var(--radius-sm);
}
.cred-row:last-of-type { margin-bottom: 0; }
.cred-row .cred-label { font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; color: var(--grey-500); width: 74px; flex-shrink: 0; }
.cred-row .cred-val { font-weight: 600; word-break: break-all; flex: 1; font-family: 'Inter', monospace; }
.copy-btn {
  background: var(--blue-light); color: var(--blue-dark); border: none; border-radius: var(--radius-sm);
  padding: .4rem .55rem; cursor: pointer; display: inline-flex; align-items: center; gap: .3rem; font-size: .8rem; font-weight: 600; font-family: inherit;
  transition: background .2s;
}
.copy-btn:hover { background: var(--blue); color: #fff; }
.copy-btn.copied { background: #22c55e; color: #fff; }
.copy-all-btn {
  width: 100%; margin-top: .5rem; justify-content: center; padding: .6rem;
}
.cred-note { font-size: .82rem; color: var(--grey-500); margin: .85rem 0 0; text-align: center; }

/* ── Two-column auth layout ── */
.auth-split {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0; max-width: 980px;
  margin: 0 auto; background: #fff; border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-lg);
}
.auth-brand {
  background: linear-gradient(150deg, var(--dark) 0%, var(--blue-dark) 100%);
  color: #fff; padding: 3rem 2.5rem; display: flex; flex-direction: column; justify-content: center;
  position: relative; overflow: hidden;
}
.auth-brand::after {
  content: ""; position: absolute; right: -60px; bottom: -60px; width: 220px; height: 220px;
  background: radial-gradient(circle, rgba(211,10,17,.35), transparent 70%); border-radius: 50%;
}
.auth-brand img { width: 180px; height: auto; margin-bottom: 1.5rem; }
.auth-brand h2 { font-size: 1.8rem; margin-bottom: .75rem; line-height: 1.2; }
.auth-brand p { color: rgba(255,255,255,.8); margin-bottom: 1.75rem; }
.auth-benefits { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: .85rem; }
.auth-benefits li { display: flex; align-items: center; gap: .65rem; color: rgba(255,255,255,.92); }
.auth-benefits .material-symbols-outlined { color: #4ade80; }
.auth-form-side { padding: 3rem 2.5rem; display: flex; flex-direction: column; justify-content: center; }
.pw-wrap { position: relative; }
.pw-wrap .pw-toggle {
  position: absolute; right: .5rem; top: 50%; transform: translateY(-50%);
  background: none; border: none; cursor: pointer; color: var(--grey-500); padding: .35rem; display: flex;
}
.pw-strength { height: 6px; border-radius: 3px; background: var(--grey-200); margin-top: .5rem; overflow: hidden; }
.pw-strength > span { display: block; height: 100%; width: 0; transition: width .3s, background .3s; }
@media (max-width: 760px) {
  .auth-split { grid-template-columns: 1fr; max-width: 480px; }
  .auth-brand { display: none; }
}

/* ── Quick-contact cards ── */
.quick-contact { display:grid; grid-template-columns:repeat(auto-fit,minmax(220px,1fr)); gap:1.25rem; }
.qc-card {
  display:flex; align-items:center; gap:1rem; padding:1.5rem; background:#fff;
  border:1px solid var(--grey-200); border-radius:var(--radius-md); box-shadow:var(--shadow-sm);
  transition: transform .3s cubic-bezier(.4,0,.2,1), box-shadow .3s, border-color .3s;
}
.qc-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--blue); }
.qc-card .qc-icon {
  width:52px; height:52px; flex-shrink:0; border-radius:50%; display:flex; align-items:center; justify-content:center;
  background:var(--blue-light); color:var(--blue-dark);
}
.qc-card strong { display:block; }
.qc-card span { color:var(--grey-500); font-size:.9rem; }

/* ── Page-header Ken-Burns slow zoom (inner-page hero banners) ── */
.page-header {
  background-size: 112% !important;
  animation: pageZoom 22s ease-in-out infinite alternate;
}
@keyframes pageZoom { to { background-size: 128% !important; } }

/* ── Button shine on hover ── */
.btn { position: relative; overflow: hidden; }
.btn::after {
  content: ""; position: absolute; top: 0; left: -120%; width: 60%; height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,.35), transparent);
  transform: skewX(-20deg); transition: left .6s ease; pointer-events: none;
}
.btn:hover::after { left: 140%; }

/* ── Section entrance for headings handled by .reveal ── */

/* ── Respect reduced-motion: show everything, kill movement ── */
@media (prefers-reduced-motion: reduce) {
  html.js .reveal,
  html.js .reveal-stagger > * { opacity: 1 !important; transform: none !important; }
  *, *::before, *::after {
    animation-duration: .001ms !important; animation-iteration-count: 1 !important;
    transition-duration: .001ms !important; scroll-behavior: auto !important;
  }
  .scroll-progress { display: none; }
}


/* ─────────────────────────────────────────
   17. UTILITY
   ───────────────────────────────────────── */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
}

:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
  border-radius: 4px;
}


/* ─────────────────────────────────────────
   18. RESPONSIVE TWEAKS
   ───────────────────────────────────────── */
@media (min-width: 768px) {
  /* 1.25rem, not 3rem: it matches .container's gutter exactly, so the hero
     headline starts on the same vertical line as every section heading down
     the page instead of being inset by a random amount. */
  .hero-content { padding: 3rem 1.25rem; }
  .section-pad  { padding: 7rem 0; }
}

@media (max-width: 639px) {
  .hero-stats   { gap: 1.25rem; }
  .stat strong  { font-size: 1.4rem; }
  .services-grid{ grid-template-columns: 1fr; }
}

/* WhatsApp Float */
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #25d366;
  color: white;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 2px 2px 10px rgba(0,0,0,0.2);
  z-index: 1000;
  transition: transform 0.3s ease;
}
.whatsapp-float:hover {
  transform: scale(1.1);
  color: white;
}


/* ─────────────────────────────────────────
   CREATIVE SECTIONS — Driving Skill Development
   ───────────────────────────────────────── */

/* Hover-lift cards */
.hover-lift {
  transition: transform var(--transition), box-shadow var(--transition);
}
.hover-lift:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

/* Driving Skill Development — Gradient BG */
.skill-dev-section {
  background: linear-gradient(135deg, #0f0f14 0%, #1a1a2e 40%, #16213e 100%);
  position: relative;
  overflow: hidden;
}
.skill-dev-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 30% 50%, rgba(58,144,212,0.08) 0%, transparent 50%),
              radial-gradient(circle at 70% 80%, rgba(211,10,17,0.06) 0%, transparent 50%);
  animation: skillBgPulse 15s ease-in-out infinite;
  pointer-events: none;
}
@keyframes skillBgPulse {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-3%, 3%); }
}

/* Skill chip/pill */
.skill-chip {
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 50px;
  padding: 0.85rem 1.6rem;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 600;
  font-size: 1.05rem;
  color: #fff;
  transition: all 0.35s cubic-bezier(.4,0,.2,1);
  cursor: default;
  position: relative;
  overflow: hidden;
}
.skill-chip::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(58,144,212,0.15), rgba(211,10,17,0.15));
  opacity: 0;
  transition: opacity 0.35s ease;
}
.skill-chip:hover {
  transform: translateY(-4px) scale(1.04);
  border-color: rgba(255,255,255,0.3);
  box-shadow: 0 8px 32px rgba(58,144,212,0.2), 0 0 0 1px rgba(255,255,255,0.08);
}
.skill-chip:hover::before {
  opacity: 1;
}
.skill-chip .material-symbols-outlined {
  font-size: 1.4rem;
  color: var(--blue);
  filter: drop-shadow(0 0 6px rgba(58,144,212,0.4));
  position: relative;
  z-index: 1;
}
.skill-chip span:last-child {
  position: relative;
  z-index: 1;
}

/* Animated grid lines behind skills */
.skill-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

/* Why Choose SDS section on homepage (reused on About) */
.why-choose-section {
  background: linear-gradient(180deg, #f8f9fa 0%, #eef3f8 100%);
  position: relative;
}
.why-card {
  background: #fff;
  padding: 2.5rem 2rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: all 0.4s cubic-bezier(.4,0,.2,1);
  position: relative;
  overflow: hidden;
  border: 1px solid transparent;
}
.why-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--red), var(--blue));
  transition: width 0.4s ease;
  border-radius: 3px;
}
.why-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--grey-200);
}
.why-card:hover::after {
  width: 60%;
}
.why-card .service-icon {
  transition: transform 0.4s ease;
}
.why-card:hover .service-icon {
  transform: scale(1.15) rotate(5deg);
}

/* Principle cards — creative overhaul */
.principle-card-v2 {
  background: #fff;
  padding: 2.5rem 2rem;
  border-radius: var(--radius-md);
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(.4,0,.2,1);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--grey-200);
}
.principle-card-v2::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--card-accent, var(--red));
  transform: scaleX(0);
  transition: transform 0.4s ease;
  transform-origin: left;
}
.principle-card-v2:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}
.principle-card-v2:hover::before {
  transform: scaleX(1);
}
.principle-card-v2 .card-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  transition: all 0.4s ease;
}
.principle-card-v2:hover .card-icon {
  transform: scale(1.1);
}

/* Process steps — creative connector line */
.process-steps-v2 {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-top: 2.5rem;
  position: relative;
}
.process-step-v2 {
  flex: 1;
  min-width: 180px;
  max-width: 220px;
  text-align: center;
  position: relative;
  padding: 1.5rem 1rem;
}
.process-step-v2 .step-circle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 800;
  color: #fff;
  margin: 0 auto 1rem;
  position: relative;
  z-index: 2;
  transition: all 0.4s ease;
  box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}
.process-step-v2:hover .step-circle {
  transform: scale(1.15);
  box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

@media (max-width: 768px) {
  .skill-chip {
    font-size: 0.95rem;
    padding: 0.7rem 1.2rem;
  }
  .process-steps-v2 {
    flex-direction: column;
    align-items: center;
  }
  .process-step-v2 {
    max-width: 100%;
  }
}
