/* =============================================
   Teacher David Global — Design System
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Outfit:wght@400;600;700;800&display=swap');

/* --- CSS Variables --- */
:root {
  --primary: #FF9F29;
  --primary-dark: #f37739;
  --primary-light: #fed7aa;
  --navy: #071431;
  --navy-mid: #066CCB;
  --navy-light: #1890d7;
  --accent: #00d084;
  --white: #ffffff;
  --off-white: #F3F9FF;
  --gray-100: #e3e5eb;
  --gray-200: #cdcfd5;
  --gray-400: #abb8c3;
  --gray-600: #5f5f5f;
  --text-dark: #212327;
  --text-muted: #576070;
  --success: #00d084;

  --font-body: 'Inter', sans-serif;
  --font-heading: 'Outfit', sans-serif;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 32px;

  --shadow-sm: 0 1px 2px rgba(0,0,0,.04);
  --shadow-md: 0 4px 6px rgba(0,0,0,.05);
  --shadow-lg: 0 10px 15px rgba(0,0,0,.05);
  --shadow-glow: 0 4px 14px rgba(255,159,41,.15);

  --transition: all .25s cubic-bezier(.4,0,.2,1);
  --transition-slow: all .45s cubic-bezier(.4,0,.2,1);
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  background: var(--off-white);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* --- Utility --- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--primary);
  background: rgba(255,159,41,.1);
  border: 1px solid rgba(255,159,41,.25);
  padding: 6px 16px;
  border-radius: 9px;
  margin-bottom: 24px;
  width: fit-content;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--navy);
}

.section-title span { color: var(--primary); }

.section-subtitle {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 600px;
  margin-top: 12px;
  line-height: 1.7;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 9px;
  font-weight: 600;
  font-size: .9rem;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary,
.btn-outline {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 4px 12px rgba(255,159,41,.2);
}
.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(255,159,41,.3);
}



.btn-ghost {
  background: rgba(255,159,41,.08);
  color: var(--primary);
  border: 1px solid rgba(255,159,41,.2);
}
.btn-ghost:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}

/* =============================================
   HEADER / NAV
   ============================================= */
.site-header {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 82%;
  max-width: 1200px;
  z-index: 1000;
  padding: 0 32px;
  border-radius: 36px;
  transition: var(--transition);
}

.site-header.scrolled {
  background: rgba(7,20,49,.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: var(--shadow-lg);
}

.site-header.header-hidden {
  transform: translate(-50%, calc(-100% - 30px));
  pointer-events: none;
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-logo .logo-icon {
  width: 42px;
  height: 42px;
  background: var(--primary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.nav-logo .logo-text {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--white);
  line-height: 1.1;
}

.nav-logo .logo-text span {
  display: block;
  font-size: .7rem;
  font-weight: 400;
  color: rgba(255,255,255,.6);
  letter-spacing: .08em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-links a {
  color: rgba(255,255,255,.8);
  font-size: .9rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 8px;
  transition: var(--transition);
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
  background: rgba(255,255,255,.1);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  border-radius: 8px;
  cursor: pointer;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 105px; 
  left: 4%; 
  right: 4%;
  max-width: 1200px;
  margin: 0 auto;
  background: rgba(7,20,49,.97);
  backdrop-filter: blur(20px);
  padding: 24px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 20px;
  flex-direction: column;
  gap: 8px;
  z-index: 999;
}

.mobile-menu.open { display: flex; }
.mobile-menu a {
  color: rgba(255,255,255,.85);
  font-size: 1rem;
  font-weight: 500;
  padding: 14px 16px;
  border-radius: 10px;
  transition: var(--transition);
}
.mobile-menu a:hover {
  background: rgba(255,159,41,.15);
  color: var(--primary);
}

/* =============================================
   HERO SLIDER
   ============================================= */
.hero-slider {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 650px;
  overflow: hidden;
  background: var(--navy);
}

.slides-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
}

/* Individual Slide */
.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1s cubic-bezier(.4,0,.2,1), visibility 1s;
  z-index: 1;
}

.slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

.slide-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
  transition: transform 8s ease-out;
}

.slide.active .slide-bg {
  transform: scale(1);
}

.slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(7,20,49,.88) 0%,
    rgba(7,20,49,.72) 40%,
    rgba(7,20,49,.55) 100%
  );
  z-index: 1;
}

.slide-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  align-items: center;
}

.slide-inner {
  max-width: 680px;
  padding: 140px 0 120px;
}

/* Slide text animations */
.slide-inner .hero-badge,
.slide-inner .slide-actions {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .6s ease, transform .6s ease;
}

.slide.active .slide-inner .hero-badge {
  opacity: 1; transform: translateY(0);
  transition-delay: .2s;
}
.slide.active .slide-inner .slide-actions {
  opacity: 1; transform: translateY(0);
  transition-delay: .8s;
}

.slide-inner .slide-title,
.slide-inner .slide-description {
  opacity: 1;
  transform: none;
  transition: none;
}

/* Slide Typography */
.slide-title {
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 20px;
  letter-spacing: -.02em;
}

.slide-title .highlight {
  color: var(--primary);
  position: relative;
}

.slide-description {
  font-size: 1.1rem;
  color: rgba(255,255,255,.75);
  line-height: 1.8;
  margin-bottom: 36px;
  max-width: 540px;
}

.slide-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* Navigation Arrows */
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.15);
  color: var(--white);
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.slider-arrow:hover {
  background: var(--primary);
  border-color: var(--primary);
  transform: translateY(-50%) scale(1.08);
  box-shadow: 0 0 30px rgba(255,159,41,.4);
}

.slider-prev { left: 30px; }
.slider-next { right: 30px; }

/* Navigation Dots */
.slider-dots {
  position: absolute;
  bottom: 120px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 12px;
}

.slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255,255,255,.3);
  border: 2px solid rgba(255,255,255,.4);
  cursor: pointer;
  transition: var(--transition);
  padding: 0;
}

.slider-dot:hover {
  background: rgba(255,255,255,.6);
}

.slider-dot.active {
  background: var(--primary);
  border-color: var(--primary);
  transform: scale(1.3);
  box-shadow: 0 0 12px rgba(255,159,41,.5);
}

/* Stats Bar (bottom of hero) */
.hero-stats-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 10;
  background: rgba(7,20,49,.65);
  backdrop-filter: blur(16px);
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 24px 0;
}

.stats-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
}

.stat-item {
  text-align: center;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,.15);
}

.stat-item .stat-number {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}

.stat-item .stat-label {
  font-size: .8rem;
  color: rgba(255,255,255,.6);
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: .05em;
  font-weight: 500;
}

/* =============================================
   WHY CHOOSE US (Features)
   ============================================= */
.features-section,
.trainings-section,
.trainings-wrapper,
.training-content,
.shop-wrapper,
.signs-wrapper,
.quiz-wrapper,
.dmv-wrapper {
  display: flex !important;
  width: 100%;
  padding: 100px 0;
}

.ads-side {
  width: 10%;
  flex: 0 0 10%;
  padding: 0 2px;
  position: sticky;
  top: 120px;
  background: var(--gray-200);
  border-radius: 10px;
  align-self: flex-start;
  min-height: 600px;
}

.features-section .container,
.trainings-section .container,
.trainings-wrapper .container,
.training-content .container,
.shop-wrapper .container,
.signs-wrapper .container,
.quiz-wrapper .container,
.dmv-wrapper .container {
  width: 80% !important;
  flex: 0 0 80% !important;
  max-width: none !important;
  margin: 0 !important;
}

.single-sidebar .container {
  width: 80% !important;
  flex: 0 0 80% !important;
}

@media (max-width: 992px) {
  .features-section,
  .trainings-section,
  .trainings-wrapper,
  .training-content,
  .shop-wrapper,
  .signs-wrapper,
  .quiz-wrapper,
  .dmv-wrapper {
    flex-direction: column;
  }
  .ads-side,
  .features-section .container,
  .trainings-section .container,
  .trainings-wrapper .container,
  .training-content .container,
  .shop-wrapper .container,
  .signs-wrapper .container,
  .quiz-wrapper .container,
  .dmv-wrapper .container {
    width: 100% !important;
    flex: 0 0 100% !important;
    padding: 20px;
  }
}


.features-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 60px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.feature-card {
  padding: 36px 28px;
  border-radius: var(--radius-lg);
  background: var(--off-white);
  border: 1px solid var(--gray-200);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition);
}

.feature-card:hover {
  border-color: var(--primary-light);
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.feature-card:hover::before { transform: scaleX(1); }

.feature-icon {
  width: 56px;
  height: 56px;
  background: rgba(255,159,41,.1);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 20px;
  transition: var(--transition);
}

.feature-card:hover .feature-icon {
  background: var(--primary);
}

.feature-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
}

.feature-desc {
  font-size: .9rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* =============================================
   PACKAGES
   ============================================= */
.packages-section {
  padding: 100px 0;
  background: var(--navy);
  position: relative;
  overflow: hidden;
}

.packages-section::before {
  content: none;
}

.packages-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 60px;
}

.packages-header .section-title { color: var(--white); }
.packages-header .section-subtitle { color: rgba(255,255,255,.6); margin: 0 auto; }

.packages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 22px;
}

.package-card {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-lg);
  padding: 8px;
  transition: var(--transition);
  position: relative;
  backdrop-filter: blur(8px);
}

.package-card img {
  width: 100%;
  height: 100%;
 max-height: 200px;
  object-fit: fill;
  border-radius: var(--radius-lg);
}

.package-card:hover {
  border-color: var(--primary);
  transform: translateY(-6px);
  box-shadow: var(--shadow-glow);
}

.package-badge {
  display: inline-block;
  background: var(--primary);
  color: var(--white);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 16px;
}

.package-class {
  font-size: .8rem;
  color: rgba(255,255,255,.5);
  font-weight: 500;
  letter-spacing: .05em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.package-name {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 6px;
}

.package-price {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 900;
  color: var(--primary);
  margin-bottom: 2px;
}

.package-price span {
  font-size: .9rem;
  font-weight: 400;
  color: rgba(255,255,255,.5);
}

.package-requirements {
  margin-bottom: 4px;
}

.package-req-label {
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.4);
  margin-bottom: 10px;
}

.package-requirements li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,.75);
  font-size: .88rem;
  padding: 5px 0;
}

.package-requirements li::before {
  content: '\f00c';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  width: 18px;
  height: 18px;
  background: rgba(255,159,41,.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .7rem;
  color: var(--primary);
  flex-shrink: 0;
}

.package-cta {
  width: 100%;
  padding: 13px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: .9rem;
  background: rgba(255,159,41,.15);
  color: var(--primary);
  border: 1px solid rgba(255,159,41,.3);
  transition: var(--transition);
}

.package-cta:hover {
  background: var(--primary);
  color: var(--white);
}

/* =============================================
   TRAININGS
   ============================================= */
.trainings-section {
  padding: 100px 0;
  background: var(--off-white);
}

.trainings-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 40px;
  gap: 24px;
  flex-wrap: wrap;
}

/* Filter tabs */
.filter-tabs {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 40px;
  padding: 4px 0;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.filter-tabs::-webkit-scrollbar {
  display: none;
}

.filter-tab {
  padding: 10px 22px;
  border-radius: 10px;
  font-size: .88rem;
  font-weight: 600;
  background: var(--white);
  border: 1px solid var(--gray-200);
  color: var(--text-muted);
  transition: var(--transition);
  cursor: pointer;
  white-space: nowrap;
  box-shadow: var(--shadow-sm);
}

.filter-tab.active,
.filter-tab:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
}

@media (max-width: 768px) {
  .filter-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding: 4px 4px 12px;
    scroll-snap-type: x mandatory;
    margin-bottom: 30px;
    justify-content: flex-start !important; /* Ensure start alignment on mobile */
  }
  
  .filter-tab {
    scroll-snap-align: start;
  }
}

.trainings-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}

.training-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--gray-200);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.training-card:hover {
  border-color: var(--primary-light);
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.training-thumbnail {
  height: 160px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.training-thumb-icon {
  font-size: 3rem;
  opacity: .4;
}

.training-category {
  position: absolute;
  top: 14px; left: 14px;
  background: rgba(255,159,41,.9);
  color: var(--white);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
}

.training-free-badge {
  position: absolute;
  top: 14px; right: 14px;
  background: rgba(34,197,94,.9);
  color: var(--white);
  font-size: .7rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
}

.training-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.training-author {
  font-size: .78rem;
  color: var(--text-muted);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.training-author::before {
  content: '\f51c';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  font-size: .9rem;
}

.training-title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
  line-height: 1.4;
}

.training-card:hover .training-title { color: var(--primary); }

.training-footer {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.training-price {
  font-weight: 700;
  color: var(--success);
  font-size: .9rem;
}

.training-enroll {
  font-size: .82rem;
  font-weight: 600;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 4px;
  transition: var(--transition);
}

.training-enroll:hover { gap: 8px; }

.trainings-cta {
  text-align: center;
  margin-top: 48px;
}

/* =============================================
   THEORY BOOK CTA BANNER
   ============================================= */
.theory-banner {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  position: relative;
  overflow: hidden;
}

.theory-banner::after {
  content: '\f518';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  right: 5%;
  top: 50%;
  transform: translateY(-50%);
  font-size: 8rem;
  opacity: .07;
}

.theory-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.theory-banner h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 12px;
}

.theory-banner p {
  color: rgba(255,255,255,.65);
  max-width: 480px;
  font-size: .95rem;
}

/* =============================================
   TESTIMONIALS
   ============================================= */
.testimonials-section {
  padding: 100px 0;
  background: var(--white);
}

.testimonials-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 60px;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  background: var(--off-white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 32px;
  position: relative;
  transition: var(--transition);
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 16px; right: 24px;
  font-size: 6rem;
  color: rgba(255,159,41,.1);
  font-family: Georgia, serif;
  line-height: 1;
}

.testimonial-card:hover {
  border-color: var(--primary-light);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.testimonial-stars {
  display: flex;
  gap: 3px;
  margin-bottom: 16px;
}

.testimonial-stars span { color: #fbbf24; font-size: 1rem; }

.testimonial-text {
  font-size: .93rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 24px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--white);
  font-weight: 700;
  flex-shrink: 0;
}

.author-info .name {
  font-weight: 700;
  color: var(--navy);
  font-size: .95rem;
}

.author-info .role {
  font-size: .8rem;
  color: var(--text-muted);
}

/* =============================================
   CONTACT CTA
   ============================================= */
.contact-cta-section {
  padding: 100px 0;
  background: var(--off-white);
}

.contact-cta-inner {
  background: linear-gradient(135deg, var(--navy) 0%, #1a2d5a 100%);
  border-radius: var(--radius-xl);
  padding: 70px 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.contact-cta-inner::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(255,159,41,.15) 0%, transparent 70%);
  border-radius: 50%;
  top: -200px;
}

.contact-cta-inner h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 16px;
  position: relative;
}

.contact-cta-inner p {
  color: rgba(255,255,255,.65);
  max-width: 500px;
  margin: 0 auto 36px;
  font-size: .97rem;
}

.cta-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* =============================================
   FAQ
   ============================================= */
.faq-section {
  padding: 100px 0;
  background: var(--white);
}

.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.faq-list { margin-top: 32px; }

.faq-item {
  border-bottom: 1px solid var(--gray-200);
  transition: background-color 0.3s ease;
}

.faq-item.open {
  background-color: rgba(59, 130, 246, 0.05);
  border-radius: 8px;
  margin-bottom: 8px;
}

.faq-question {
  width: 100%;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0;
  font-weight: 600;
  color: var(--navy);
  font-size: .95rem;
  transition: var(--transition);
  cursor: pointer;
}

.faq-question:hover { color: var(--primary); }

.faq-icon {
  width: 28px;
  height: 28px;
  background: var(--gray-100);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
  transition: var(--transition);
}

.faq-item.open .faq-icon {
  background: var(--primary);
  color: var(--white);
  transform: rotate(45deg);
}

.faq-answer {
  font-size: .9rem;
  color: var(--text-muted);
  line-height: 1.8;
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s ease, padding .3s ease;
}

.faq-item.open .faq-answer {
  max-height: 300px;
  padding-bottom: 20px;
}

.faq-image {
  border-radius: var(--radius-xl);
  overflow: hidden;
  position: sticky;
  top: 100px;
  background: linear-gradient(135deg, var(--navy), var(--navy-mid));
  padding: 40px;
  color: var(--white);
  text-align: center;
}

.faq-image h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.faq-image p {
  color: rgba(255,255,255,.65);
  font-size: .9rem;
  margin-bottom: 24px;
}

.faq-image .big-emoji {
  font-size: 4rem;
  display: block;
  margin-bottom: 20px;
}

/* =============================================
   LOADING STATES
   ============================================= */
.loading-state {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  color: var(--text-muted);
}

.loading-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid var(--gray-200);
  border-top: 3px solid var(--primary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-bottom: 16px;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* =============================================
   FOOTER
   ============================================= */
.site-footer {
  background: var(--navy);
  padding: 80px 0 0;
  color: rgba(255,255,255,.7);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1.2fr;
  gap: 48px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.footer-brand .nav-logo { margin-bottom: 20px; }

.footer-brand p {
  font-size: .9rem;
  line-height: 1.7;
  color: rgba(255,255,255,.55);
  max-width: 280px;
  margin-bottom: 24px;
}

.footer-socials {
  display: flex;
  gap: 10px;
}

.social-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: var(--transition);
}

.social-icon:hover {
  background: var(--primary);
  border-color: var(--primary);
  transform: translateY(-3px);
}

.footer-col h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--primary);
  display: inline-block;
}

.footer-links li { margin-bottom: 10px; }

.footer-links a {
  color: rgba(255,255,255,.55);
  font-size: .88rem;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--primary);
  gap: 12px;
}

.footer-links a::before { content: '\f105'; font-family: 'Font Awesome 6 Free'; font-weight: 900; font-size: .75rem; opacity: .5; }

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: rgba(255,255,255,.55);
  font-size: .88rem;
  margin-bottom: 14px;
}

.contact-icon {
  width: 32px;
  height: 32px;
  background: rgba(255,159,41,.15);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .9rem;
  flex-shrink: 0;
}

.footer-bottom {
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: .83rem;
  color: rgba(255,255,255,.35);
}

.footer-bottom a {
  color: rgba(255,255,255,.45);
  transition: var(--transition);
}

.footer-bottom a:hover { color: var(--primary); }

/* =============================================
   SCROLL TO TOP
   ============================================= */
.scroll-top {
  position: fixed;
  bottom: 32px; right: 32px;
  width: 46px; height: 46px;
  background: var(--primary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--white);
  box-shadow: 0 4px 20px rgba(255,159,41,.4);
  cursor: pointer;
  transition: var(--transition);
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  z-index: 999;
  border: none;
}

.scroll-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.scroll-top:hover {
  background: var(--primary-dark);
  transform: translateY(-3px);
}

/* =============================================
   ANIMATIONS (Intersection Observer)
   ============================================= */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .6s ease, transform .6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity .6s ease, transform .6s ease;
}

.fade-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.fade-in-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity .6s ease, transform .6s ease;
}

.fade-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* =============================================
   WORD-BY-WORD REVEAL ANIMATIONS
   ============================================= */
.reveal-text {
  display: block;
}

.reveal-text .char {
  display: inline-block;
  opacity: 0;
  transition: opacity 0.5s ease;
  will-change: opacity;
}

.reveal-text.visible .char,
.slide.active .reveal-text .char {
  opacity: 1;
}

/* Staggered Delay for chars - handled via JS */

/* Left/Right variations - removed translateY as requested */
.reveal-left .char { transform: translateX(-10px); }
.reveal-right .char { transform: translateX(10px); }

.reveal-left.visible .char,
.reveal-right.visible .char { transform: translateX(0); }

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
  .slider-arrow { width: 44px; height: 44px; font-size: .9rem; }
  .slider-prev { left: 16px; }
  .slider-next { right: 16px; }
  .slide-inner { max-width: 560px; }
  .stats-row { gap: 24px; }
  .stat-item .stat-number { font-size: 1.5rem; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  .faq-grid { grid-template-columns: 1fr; }
  .faq-image { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-cta-inner { padding: 50px 36px; }
}

@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .features-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .packages-grid { grid-template-columns: 1fr; }
  .hero-slider { min-height: 550px; }
  .slide-inner { padding: 120px 0 100px; }
  .slide-title { font-size: clamp(1.8rem, 6vw, 2.6rem); }
  .slide-description { font-size: 1rem; }
  .slider-arrow { display: none; }
  .slider-dots { bottom: 105px; }
  .stats-row { flex-wrap: wrap; gap: 16px; justify-content: center; }
  .stat-divider { display: none; }
  .stat-item { min-width: 80px; }
  .hero-stats-bar { padding: 16px 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .theory-banner-inner { flex-direction: column; text-align: center; }
  .trainings-header { flex-direction: column; align-items: flex-start; }
  .trainings-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .contact-cta-inner { padding: 40px 24px; }
  .cta-actions { flex-direction: column; align-items: stretch; }
  .cta-actions .btn { justify-content: center; }
}

@media (max-width: 480px) {
  .slide-inner { padding: 110px 0 100px; }
  .slide-actions { flex-direction: column; }
  .slide-actions .btn { width: 100%; justify-content: center; }
  .btn { width: 100%; justify-content: center; }
  .slider-dots { bottom: 95px; }
}

/* === Styles from admin.html === */

    body.admin-layout { background: var(--off-white); display: flex; height: 100vh; overflow: hidden; margin: 0; }
    
    body.admin-layout .btn-outline {
      color: var(--navy);
      border-color: var(--gray-300);
      background: transparent;
    }
    body.admin-layout .btn-outline:hover {
      background: var(--gray-100);
      border-color: var(--navy);
      color: var(--navy);
    }
    /* Sidebar */
    .admin-sidebar {
      width: 280px; background: var(--navy); color: var(--white);
      display: flex; flex-direction: column; flex-shrink: 0;
      box-shadow: 4px 0 20px rgba(0,0,0,0.1);
    }
    .sidebar-header {
      padding: 24px; border-bottom: 1px solid rgba(255,255,255,0.05);
      font-family: var(--font-heading); font-size: 1.2rem; font-weight: 700;
      display: flex; align-items: center; gap: 12px;
    }
    .sidebar-nav { padding: 20px 0; flex: 1; overflow-y: auto; }
    .nav-item {
      padding: 14px 24px; color: rgba(255,255,255,0.7); display: flex; gap: 12px; cursor: pointer;
      transition: var(--transition); text-decoration: none; font-weight: 500; font-size: 0.95rem; border-left: 4px solid transparent;
    }
    .nav-item:hover, .nav-item.active { background: rgba(255,255,255,0.05); color: var(--white); border-left-color: var(--primary); }
    
    .sidebar-footer { padding: 20px 24px; border-top: 1px solid rgba(255,255,255,0.05); }

    /* Main Area */
    .admin-main { flex: 1; display: flex; flex-direction: column; overflow: hidden; }
    
    .admin-topbar {
      height: 70px; background: var(--white); border-bottom: 1px solid var(--gray-200);
      display: flex; align-items: center; justify-content: space-between; padding: 0 30px;
    }
    .admin-title { font-family: var(--font-heading); font-size: 1.4rem; color: var(--navy); }
    
    .admin-content { flex: 1; padding: 30px; overflow-y: auto; background: var(--off-white); }
    
    /* Data Tables Layout */
    .data-panel { display: none; animation: fadeIn 0.3s; }
    .data-panel.active { display: block; }

    @keyframes fadeIn { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: translateY(0); } }

    .panel-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px;}
    
    table { width: 100%; border-collapse: collapse; background: var(--white); border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--gray-200); }
    th, td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--gray-200); }
    th { background: var(--gray-100); color: var(--navy); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 1px; font-weight: 700; }
    td { font-size: 0.95rem; color: var(--text-dark); }
    tr:last-child td { border-bottom: none; }
    tr:hover td { background: rgba(0,0,0,0.01); }

    .action-btns { display: flex; gap: 8px; }
    .btn-icon { padding: 6px 12px; border-radius: 4px; border: none; cursor: pointer; font-size: 0.9rem; font-weight: 600; color: white; }
    .btn-edit { background: var(--primary); }
    .btn-delete { background: #ef4444; }

    /* Modal Styling */
    .modal-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.5); display: flex; justify-content: center; align-items: center; z-index: 100; opacity: 0; pointer-events: none; transition: 0.3s; }
    .modal-overlay.open { opacity: 1; pointer-events: all; }
    
    .modal-card { background: var(--white);  border-radius: var(--radius-lg); padding: 30px; transform: translateY(20px); transition: 0.3s; box-shadow: var(--shadow-lg); }
    .modal-overlay.open .modal-card { transform: translateY(0); }

    .modal-header { font-family: var(--font-heading); font-size: 1.3rem; color: var(--navy); margin-bottom: 20px; display: flex; justify-content: space-between;}
    .close-modal { cursor: pointer; color: var(--text-muted); font-size: 1.5rem; }

    .form-group { margin-bottom: 16px; }
    .form-group label { display: block; font-weight: 600; font-size: 0.85rem; margin-bottom: 6px; color: var(--navy-light); }
    .form-control { width: 100%; padding: 10px 14px; border: 1px solid var(--gray-200); border-radius: 4px; font-size: 0.95rem; }

  
/* === Styles from book-view.html === */



    .reader-header {
      background: var(--white);
      border-bottom: 1px solid var(--gray-200);
      padding: 10px 20px;
      display: flex;
      justify-content: space-between;
      align-items: center;
      z-index: 10;
      box-shadow: 0 2px 5px rgba(0,0,0,0.05);
      flex-wrap: wrap;
      gap: 10px;
    }
    
    .reader-brand {
      display: flex;
      align-items: center;
      gap: 10px;
      color: var(--navy);
      text-decoration: none;
      font-weight: 700;
      font-size: 1.1rem;
    }

    .reader-controls {
      display: flex;
      align-items: center;
      gap: 15px;
      background: var(--gray-50);
      padding: 6px 12px;
      border-radius: 8px;
      border: 1px solid var(--gray-200);
    }

    .control-group {
      display: flex;
      align-items: center;
      gap: 5px;
    }

    .btn-control {
      background: var(--white);
      border: 1px solid var(--gray-300);
      color: var(--navy);
      padding: 6px 12px;
      border-radius: 6px;
      cursor: pointer;
      font-size: 0.9rem;
      font-weight: 600;
      transition: all 0.2s;
      display: flex;
      align-items: center;
      justify-content: center;
    }
    .btn-control:hover:not(:disabled) {
      background: var(--gray-100);
      border-color: var(--gray-400);
    }
    .btn-control:disabled {
      opacity: 0.5;
      cursor: not-allowed;
    }

    .page-info {
      font-size: 0.9rem;
      font-weight: 600;
      color: var(--text-muted);
      min-width: 80px;
      text-align: center;
    }

    .reader-workspace {
      flex: 1;
      overflow: auto;
      display: flex;
      justify-content: center;
      align-items: flex-start;
      padding: 30px;
      position: relative;
    }

    #pdf-render-container {
      position: relative;
      background: white;
      box-shadow: 0 10px 30px rgba(0,0,0,0.15);
      margin: 0 auto;
    }

    #pdf-canvas {
      display: block;
      max-width: 100%;
      height: auto;
    }

    .loading-state, .error-state {
      text-align: center;
      padding: 40px;
      color: var(--text-muted);
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
    }
    .loading-state .spinner {
      width: 40px; height: 40px; border: 4px solid var(--gray-200); border-top-color: var(--primary); border-radius: 50%; margin: 0 auto 20px; animation: spin 1s linear infinite;
    }
    @keyframes spin { to { transform: rotate(360deg); } }

    /* Fullscreen styles */
    :fullscreen .reader-header { display: none; }
    :fullscreen .reader-workspace { padding: 0; align-items: center; background: #222; }
    
    /* Overlay controls for fullscreen */
    .fs-controls {
      display: none;
      position: fixed;
      bottom: 20px;
      left: 50%;
      transform: translateX(-50%);
      background: rgba(0,0,0,0.7);
      padding: 10px 20px;
      border-radius: 30px;
      z-index: 1000;
      align-items: center;
      gap: 15px;
      color: white;
      box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    }
    :fullscreen .fs-controls { display: flex; }
    .fs-controls .btn-control {
      background: rgba(255,255,255,0.2);
      border: none;
      color: white;
    }
    .fs-controls .btn-control:hover:not(:disabled) {
      background: rgba(255,255,255,0.3);
    }
    .fs-controls .page-info { color: white; }
  

    /* Full-screen web app layout (scoped to book-view page) */
    body.book-layout {
      margin: 0;
      height: 100vh;
      overflow: hidden;
      display: flex;
      flex-direction: column;
      background: var(--gray-100);
    }

    /* Top navbar specific for reader */
    .reader-header {
      height: 60px;
      background: var(--white);
      border-bottom: 1px solid var(--gray-200);
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 0 24px;
      flex-shrink: 0;
      box-shadow: 0 1px 4px rgba(0,0,0,0.05);
      z-index: 10;
    }
    .reader-brand {
      font-family: var(--font-heading);
      font-weight: 700;
      color: var(--navy);
      display: flex;
      align-items: center;
      gap: 12px;
      text-decoration: none;
    }
    .reader-tools {
      display: flex;
      align-items: center;
      gap: 16px;
    }
    .tool-btn {
      padding: 6px 12px;
      background: var(--off-white);
      border: 1px solid var(--gray-200);
      border-radius: 6px;
      font-size: 0.85rem;
      color: var(--text-dark);
      cursor: pointer;
    }
    .tool-btn:hover { background: var(--gray-200); }

    /* Main workspace area */
    .reader-workspace {
      display: flex;
      height: calc(100vh - 60px);
    }

    /* Sidebar TOC */
    .toc-sidebar {
      width: 300px;
      background: var(--white);
      border-right: 1px solid var(--gray-200);
      display: flex;
      flex-direction: column;
      flex-shrink: 0;
      transition: transform 0.3s ease;
    }
    .toc-header {
      padding: 20px;
      border-bottom: 1px solid var(--gray-200);
      font-weight: 700;
      color: var(--navy);
      font-family: var(--font-heading);
    }
    .toc-list {
      flex: 1;
      overflow-y: auto;
      padding: 10px 0;
      list-style: none;
      margin: 0;
    }
    .toc-list li a {
      display: block;
      padding: 12px 20px;
      color: var(--text-muted);
      font-size: 0.9rem;
      border-left: 3px solid transparent;
      transition: all 0.2s;
    }
    .toc-list li a:hover {
      background: var(--off-white);
      color: var(--primary);
    }
    .toc-list li a.active {
      color: var(--primary-dark);
      background: rgba(255,159,41,0.08);
      border-left-color: var(--primary);
      font-weight: 600;
    }

    /* Document Viewer */
    .viewer-area {
      flex: 1;
      overflow-y: auto;
      padding: 40px;
      display: flex;
      justify-content: center;
      background: #e2e8f0;
    }
    
    .document-page {
      background: var(--white);
      width: 100%;
      max-width: 800px;
      min-height: 1000px;
      padding: 60px;
      box-shadow: 0 10px 30px rgba(0,0,0,0.1);
      border-radius: 4px;
      color: var(--text-dark);
      font-family: Georgia, serif;
      line-height: 1.9;
    }
    .document-page h1 { font-family: var(--font-heading); color: var(--navy); font-size: 2.2rem; margin-bottom: 20px; }
    .document-page h2 { font-family: var(--font-heading); color: var(--navy-light); font-size: 1.5rem; margin-top: 40px; margin-bottom: 16px; border-bottom: 1px solid var(--gray-200); padding-bottom: 8px;}
    .document-page p { margin-bottom: 20px; font-size: 1.1rem; }

    /* Sticky Buy Overlay inside viewer */
    .premium-overlay {
      margin-top: 60px;
      background: linear-gradient(135deg, rgba(7,20,49,0.95), rgba(5,86,162,0.95));
      border-radius: 12px;
      padding: 40px;
      text-align: center;
      color: var(--white);
      box-shadow: var(--shadow-glow);
    }
    .premium-overlay h3 { font-family: var(--font-heading); font-size: 1.6rem; margin-bottom: 12px; }
    .premium-overlay p { color: rgba(255,255,255,0.7); margin-bottom: 24px; font-family: var(--font-body); }

    @media (max-width: 768px) {
      .toc-sidebar { position: absolute; left: -300px; height: 100%; z-index: 20; }
      .viewer-area { padding: 20px; }
      .document-page { padding: 30px; }
    }
  
/* === Styles from checkout.html === */
    body.checkout-layout {
      background: var(--gray-100);
    }
    
    .checkout-header {
      background: var(--white);
      border-bottom: 1px solid var(--gray-200);
      padding: 20px 24px;
      text-align: center;
    }
    .checkout-header .nav-logo {
      justify-content: center;
    }
    .checkout-header .logo-text { color: var(--navy); }
    .checkout-header .logo-text span { color: var(--text-muted); }

    .checkout-wrapper {
      max-width: 1000px;
      margin: 60px auto;
      padding: 0 24px;
      display: grid;
      grid-template-columns: 1fr 1.3fr;
      gap: 40px;
    }

    /* Left: Order Summary */
    .order-summary {
      background: var(--white);
      border-radius: var(--radius-lg);
      padding: 30px;
      border: 1px solid var(--gray-200);
      box-shadow: 0 4px 20px rgba(0,0,0,0.03);
      height: fit-content;
    }
    .order-summary h3 {
      font-family: var(--font-heading);
      color: var(--navy);
      font-size: 1.3rem;
      margin-bottom: 24px;
      padding-bottom: 16px;
      border-bottom: 1px solid var(--gray-100);
    }
    .order-item {
      display: flex;
      gap: 16px;
      margin-bottom: 20px;
    }
    .order-img {
      width: 60px;
      height: 60px;
      background: var(--off-white);
      border: 1px solid var(--gray-200);
      border-radius: 8px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.8rem;
    }
    .order-details h4 {
      color: var(--navy);
      font-size: 0.95rem;
      margin-bottom: 4px;
    }
    .order-details p {
      color: var(--text-muted);
      font-size: 0.85rem;
    }
    .order-price {
      margin-left: auto;
      font-weight: 700;
      color: var(--primary);
    }
    .order-totals {
      margin-top: 30px;
      border-top: 1px dashed var(--gray-200);
      padding-top: 20px;
    }
    .tot-row {
      display: flex;
      justify-content: space-between;
      margin-bottom: 12px;
      color: var(--text-muted);
      font-size: 0.95rem;
    }
    .tot-row.grand {
      color: var(--navy);
      font-size: 1.2rem;
      font-weight: 800;
      margin-top: 16px;
      padding-top: 16px;
      border-top: 1px solid var(--gray-200);
    }

    /* Right: Payment Method */
    .payment-box {
      background: var(--white);
      border-radius: var(--radius-lg);
      padding: 40px;
      border: 1px solid var(--gray-200);
      box-shadow: 0 8px 30px rgba(0,0,0,0.06);
    }
    .payment-box h2 {
      font-family: var(--font-heading);
      color: var(--navy);
      font-size: 1.6rem;
      margin-bottom: 8px;
    }
    .payment-box > p {
      color: var(--text-muted);
      font-size: 0.95rem;
      margin-bottom: 30px;
    }

    .payment-tabs {
      display: flex;
      gap: 12px;
      margin-bottom: 30px;
    }
    .pay-tab {
      flex: 1;
      padding: 14px;
      text-align: center;
      border-radius: var(--radius-md);
      border: 1px solid var(--gray-200);
      background: var(--off-white);
      font-weight: 600;
      color: var(--text-muted);
      cursor: pointer;
      transition: var(--transition);
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
    }
    .pay-tab.active {
      background: rgba(255,159,41,0.1);
      border-color: var(--primary);
      color: var(--primary);
    }

    .tab-content { display: none; }
    .tab-content.active { display: block; animation: fadeIn 0.4s ease; }

    @keyframes fadeIn {
      from { opacity: 0; transform: translateY(10px); }
      to { opacity: 1; transform: translateY(0); }
    }

    .form-group { margin-bottom: 20px; }
    .form-group label {
      display: block;
      font-weight: 600;
      color: var(--navy-light);
      margin-bottom: 8px;
      font-size: 0.9rem;
    }
    .form-control {
      width: 100%;
      padding: 14px 16px;
      border-radius: var(--radius-sm);
      border: 1px solid var(--gray-200);
      font-family: var(--font-body);
      font-size: 1rem;
      transition: var(--transition);
      background: var(--white);
    }
    .form-control:focus {
      outline: none;
      border-color: var(--primary);
      box-shadow: 0 0 0 3px rgba(255,159,41,0.15);
    }
    .form-row {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 16px;
    }

    .pay-btn {
      width: 100%;
      padding: 18px;
      font-size: 1.1rem;
      border-radius: var(--radius-md);
      margin-top: 10px;
      display: flex;
      justify-content: center;
      gap: 10px;
    }

    .mpesa-logo {
      color: #3bb54a;
      font-weight: 900;
      font-style: italic;
      letter-spacing: -0.5px;
    }
    
    .stripe-logo {
      color: #635bff;
      font-weight: 800;
      letter-spacing: 0.5px;
    }

    /* Success Screen */
    .success-screen {
      display: none;
      text-align: center;
      padding: 40px 0;
    }
    .success-icon {
      width: 80px; height: 80px;
      background: rgba(0,208,132,0.15);
      color: var(--success);
      border-radius: 50%;
      display: flex; align-items: center; justify-content: center;
      font-size: 2.5rem;
      margin: 0 auto 24px;
    }
    .success-screen h2 { color: var(--navy); margin-bottom: 12px; font-family: var(--font-heading); font-size: 1.8rem; }
    .success-screen p { color: var(--text-muted); margin-bottom: 30px; line-height: 1.6; }

    @media (max-width: 768px) {
      .checkout-wrapper { grid-template-columns: 1fr; gap: 30px; margin: 30px auto; }
      .order-summary { order: 2; }
      .payment-box { order: 1; padding: 24px; }
    }
  
/* === Styles from contact.html === */

    /* Specific styles for the Contact Page */
    .page-hero {
      padding: 160px 24px 80px;
      background: var(--navy);
      text-align: center;
      position: relative;
      overflow: hidden;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
    }
    .page-hero .container {
      display: flex;
      flex-direction: column;
      align-items: center;
    }

    .page-hero::before {
      content: '';
      position: absolute;
      top: 0; left: 0; right: 0; bottom: 0;
      background: radial-gradient(circle at 50% 50%, rgba(255,159,41,0.1) 0%, transparent 80%);
    }

    .page-hero .section-title {
      color: var(--white);
      margin-bottom: 16px;
      position: relative;
    }

    .page-hero .section-subtitle {
      color: rgba(255,255,255,0.7);
      margin: 0 auto;
      max-width: 600px;
      position: relative;
    }

     .container-1 {
      background-color: transparent;
      text-align: center;
      padding-bottom: 0;
      margin-bottom: 0;
    }

    .container-1 .section-title {
      margin-bottom: 16px;
      position: relative;
    }

    .container-1 .section-subtitle {
      margin: 0 auto;
      max-width: 600px;
      position: relative;
      color: var(--text-dark);
    }

    

    .contact-wrapper {
      padding: 80px 0;
      background: var(--off-white);
    }

    .contact-info-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
      gap: 24px;
      margin-bottom: 60px;
    }

    .info-card {
      background: var(--white);
      padding: 40px 30px;
      border-radius: var(--radius-lg);
      border: 1px solid var(--gray-200);
      text-align: center;
      transition: var(--transition);
      box-shadow: var(--shadow-sm);
    }

    .info-card:hover {
      transform: translateY(-5px);
      box-shadow: var(--shadow-md);
      border-color: var(--primary);
    }

    .info-icon {
      width: 64px;
      height: 64px;
      background: rgba(255,159,41,0.1);
      color: var(--primary);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.8rem;
      margin: 0 auto 20px;
      transition: var(--transition);
    }

    .info-card:hover .info-icon {
      background: var(--primary);
      color: var(--white);
    }

    .info-card h3 {
      font-family: var(--font-heading);
      font-size: 1.2rem;
      color: var(--navy);
      margin-bottom: 12px;
    }

    .info-card p, .info-card a {
      color: var(--text-muted);
      font-size: 1rem;
      line-height: 1.6;
    }

    .info-card a:hover {
      color: var(--primary);
      text-decoration: underline;
    }

    .contact-content {
      display: grid;
      grid-template-columns: 1fr 1.2fr;
      gap: 60px;
      align-items: start;
    }

    .contact-text-box {
      background: var(--navy);
      padding: 50px 40px;
      border-radius: var(--radius-xl);
      color: var(--white);
      position: relative;
      overflow: hidden;
    }

    .contact-text-box::after {
      content: '\f1b9';
      font-family: 'Font Awesome 6 Free';
      font-weight: 900;
      position: absolute;
      bottom: -20px; right: -20px;
      font-size: 10rem;
      opacity: 0.05;
    }

    .contact-text-box h3 {
      font-family: var(--font-heading);
      font-size: 2rem;
      margin-bottom: 20px;
    }

    .contact-text-box p {
      color: rgba(255,255,255,0.7);
      line-height: 1.8;
      margin-bottom: 30px;
      font-size: 1.05rem;
    }

    .contact-form {
      background: var(--white);
      padding: 30px;
      border-radius: var(--radius-xl);
      box-shadow: var(--shadow-md);
      border: 1px solid var(--gray-200);
    }

    .contact-form h3 {
      font-family: var(--font-heading);
      font-size: 1.8rem;
      color: var(--navy);
      margin-bottom: 30px;
    }

    .form-group {
      margin-bottom: 24px;
    }

    .form-group label {
      display: block;
      font-weight: 600;
      color: var(--navy-light);
      margin-bottom: 8px;
      font-size: 0.95rem;
    }

    .form-control {
      width: 100%;
      padding: 16px 20px;
      border-radius: var(--radius-md);
      border: 1px solid var(--gray-200);
      background: var(--off-white);
      color: var(--text-dark);
      font-family: var(--font-body);
      font-size: 1rem;
      transition: var(--transition);
    }

    .form-control:focus {
      outline: none;
      border-color: var(--primary);
      background: var(--white);
      box-shadow: 0 0 0 4px rgba(255,159,41,0.15);
    }

    textarea.form-control {
      min-height: 150px;
      resize: vertical;
    }

    .submit-btn {
      width: 100%;
      justify-content: center;
      padding: 18px;
      font-size: 1.1rem;
    }

    @media (max-width: 900px) {
      .contact-content {
        grid-template-columns: 1fr;
      }
      .contact-form {
        padding: 20px;
      }
    }
  
/* === Styles from dmv.html === */

    .page-hero { padding: 160px 24px 80px; background: var(--navy); text-align: center; position: relative; overflow: hidden;}
    .page-hero::before { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: radial-gradient(circle at 50% 50%, rgba(255,159,41,0.15) 0%, transparent 80%); }
    .page-hero .section-title { color: var(--white); margin-bottom: 16px; position: relative; }
    .page-hero .section-subtitle { color: rgba(255,255,255,0.7); margin: 0 auto; max-width: 600px; position: relative; }

    .dmv-wrapper { padding: 80px 0; background: var(--off-white); }
    
    .list-wrapper { background: var(--white); border-radius: var(--radius-lg); border: 1px solid var(--gray-200); box-shadow: var(--shadow-sm); overflow: hidden; margin-bottom: 40px;}
    
    .list-header { background: var(--gray-100); padding: 20px 30px; font-family: var(--font-heading); color: var(--navy); font-weight: 700; border-bottom: 1px solid var(--gray-200); display:flex; justify-content:space-between; align-items:center;}
    
    .test-item { display: flex; justify-content: space-between; align-items: center; padding: 24px 30px; border-bottom: 1px solid var(--gray-200); transition: var(--transition); }
    .test-item:last-child { border-bottom: none; }
    .test-item:hover { background: rgba(255,159,41,0.03); }
    
    .test-info { display: flex; align-items: center; gap: 20px; }
    .test-icon { width: 50px; height: 50px; background: var(--navy); color: var(--white); border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; }
    .test-info h4 { color: var(--navy); font-size: 1.15rem; margin-bottom: 4px; font-family: var(--font-heading); }
    .test-info p { color: var(--text-muted); font-size: 0.9rem; }

    .test-actions { display: flex; gap: 12px; align-items: center; }
    .status-badge { background: rgba(0,208,132,0.1); color: var(--success); padding: 6px 12px; border-radius: 999px; font-size: 0.8rem; font-weight: 700; }
  
/* === Styles from login.html === */
    body.login-layout {
      background: var(--navy);
      display: flex;
      align-items: center;
      justify-content: center;
      min-height: 100vh;
      margin: 0;
    }
    .login-container {
      background: var(--white);
      padding: 50px 40px;
      border-radius: var(--radius-xl);
      box-shadow: 0 20px 40px rgba(0,0,0,0.2);
      width: 100%;
      max-width: 440px;
      position: relative;
    }
    .login-header { text-align: center; margin-bottom: 30px; }
    .logo-icon { width: 60px; height: 60px; font-size: 2rem; background: rgba(255,159,41,0.1); color: var(--primary); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; }
    .login-header h2 { font-family: var(--font-heading); color: var(--navy); font-size: 1.6rem; }
    .login-header p { color: var(--text-muted); font-size: 0.95rem; margin-top: 8px; }

    .form-group { margin-bottom: 24px; }
    .form-group label { display: block; font-weight: 600; color: var(--navy-light); margin-bottom: 8px; font-size: 0.9rem; }
    .form-control { width: 100%; padding: 14px 16px; border-radius: var(--radius-sm); border: 1px solid var(--gray-200); background: var(--off-white); font-size: 1rem; transition: var(--transition); }
    .form-control:focus { outline: none; border-color: var(--primary); background: var(--white); box-shadow: 0 0 0 3px rgba(255,159,41,0.15); }
    
    .btn-login { width: 100%; padding: 16px; font-size: 1.1rem; justify-content: center; border-radius: var(--radius-sm); }
    
    .error-msg { color: #ef4444; font-size: 0.85rem; text-align: center; margin-bottom: 16px; display: none; }
  
/* === Styles from quiz.html === */

    /* body { background off-white removed } */
    
    /* Quiz Specific Layout */
    .quiz-app-wrapper {
      max-width: 800px;
      margin: 120px auto 80px;
      padding: 0 24px;
    }

    .quiz-container {
      background: var(--white);
      border-radius: var(--radius-xl);
      box-shadow: var(--shadow-lg);
      overflow: hidden;
      border: 1px solid var(--gray-200);
    }
    
    .quiz-header {
      background: var(--navy);
      padding: 30px;
      color: var(--white);
      display: flex;
      justify-content: space-between;
      align-items: center;
    }
    .quiz-title { font-family: var(--font-heading); font-size: 1.4rem; }
    .quiz-progress { font-size: 0.9rem; background: rgba(255,255,255,0.1); padding: 8px 16px; border-radius: 999px; }

    .quiz-body { padding: 40px; }
    .question-box h2 { font-size: 1.5rem; color: var(--navy); margin-bottom: 30px; line-height: 1.4; }
    
    .options-grid { display: flex; flex-direction: column; gap: 16px; }
    .option-btn {
      display: flex; align-items: center; gap: 16px;
      padding: 20px; width: 100%; text-align: left;
      background: var(--white); border: 2px solid var(--gray-200);
      border-radius: var(--radius-md); font-size: 1.05rem; font-weight: 500; color: var(--text-dark);
      transition: var(--transition); cursor: pointer;
    }
    .option-btn:hover { border-color: var(--primary); background: rgba(255,159,41,0.05); }
    
    .opt-letter {
      width: 32px; height: 32px; flex-shrink:0; background: var(--gray-100); color: var(--text-muted);
      border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700;
    }
    .option-btn:hover .opt-letter { background: var(--primary); color: var(--white); }

    .option-btn.selected { border-color: var(--primary); background: rgba(255,159,41,0.1); }
    .option-btn.selected .opt-letter { background: var(--primary); color: var(--white); }

    .option-btn.correct { border-color: var(--success); background: rgba(0,208,132,0.1); }
    .option-btn.correct .opt-letter { background: var(--success); color: var(--white); }

    .option-btn.wrong { border-color: #ef4444; background: rgba(239,68,68,0.1); }
    .option-btn.wrong .opt-letter { background: #ef4444; color: var(--white); }

    .quiz-footer {
      padding: 30px 40px; border-top: 1px solid var(--gray-100);
      display: flex; justify-content: space-between; align-items: center; background: #fafafa;
    }

    .feedback { font-weight: 600; font-size: 1.1rem; opacity: 0; transition: opacity 0.3s; }
    .feedback.show { opacity: 1; }
    .feedback.success { color: var(--success); }
    .feedback.error { color: #ef4444; }

    /* Return Home Header Mini */
    .mini-header { position: absolute; top:0; left:0; right:0; padding: 20px 40px; display: flex; justify-content: space-between; align-items:center;}
  
/* === Styles from road-signs.html === */

    .page-hero { padding: 160px 24px 80px; background: var(--navy); text-align: center; position: relative; overflow: hidden; }
    .page-hero::before { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: radial-gradient(circle at 50% 50%, rgba(255,159,41,0.1) 0%, transparent 80%); }
    .page-hero .section-title { color: var(--white); margin-bottom: 16px; position: relative; }
    .page-hero .section-subtitle { color: rgba(255,255,255,0.7); margin: 0 auto; max-width: 600px; position: relative; }

    .signs-wrapper { padding: 80px 0; background: var(--off-white); min-height: 600px; }
    
    .signs-category { margin-bottom: 60px; }
    .signs-category h3 { font-family: var(--font-heading); font-size: 1.8rem; color: var(--navy); margin-bottom: 24px; padding-bottom: 12px; border-bottom: 2px solid rgba(255,159,41,0.3); display: inline-block; }
    
    .signs-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 24px; }
    
    .sign-card {
      background: var(--white); border-radius: var(--radius-lg); padding: 30px 20px;
      text-align: center; border: 1px solid var(--gray-200); box-shadow: var(--shadow-sm);
      transition: var(--transition);
    }
    .sign-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--primary); }
    
    .sign-icon {
      width: 100px; height: 100px; margin: 0 auto 20px;
      display: flex; align-items: center; justify-content: center; font-size: 3.5rem;

/* === PAGINATION STYLES === */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin: 32px 0;
}

.pagination-btn {
  padding: 8px 16px;
  border: 1px solid var(--gray-200);
  background: var(--white);
  color: var(--text-dark);
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  min-width: 40px;
  text-align: center;
}

.pagination-btn:hover {
  border-color: var(--primary);
  background: var(--primary);
  color: var(--white);
}

.pagination-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
  font-weight: 600;
}

/* === SINGLE TRAINING PAGE STYLES === */
.training-content {
  padding: 80px 0;
  background: var(--off-white);
}

.content-wrapper {
  max-width: 800px;
  margin: 0 auto;
}

.training-article {
  background: var(--white);
  padding: 60px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  margin-bottom: 60px;
  line-height: 1.7;
}

.training-article h1,
.training-article h2,
.training-article h3,
.training-article h4,
.training-article h5,
.training-article h6 {
  color: var(--navy);
  margin-top: 32px;
  margin-bottom: 16px;
  font-family: var(--font-heading);
}

.training-article p {
  margin-bottom: 20px;
  color: var(--text-dark);
}

.training-article ul,
.training-article ol {
  margin-bottom: 20px;
  padding-left: 30px;
}

.training-article li {
  margin-bottom: 8px;
}

.training-article blockquote {
  border-left: 4px solid var(--primary);
  padding-left: 24px;
  margin: 32px 0;
  font-style: italic;
  color: var(--text-muted);
}

.training-navigation {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 10px;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 24px 28px;
  background: var(--white);
  border-radius: 16px;
  text-decoration: none;
  color: var(--text-dark);
  border: 1px solid var(--gray-200);
  transition: all 0.35s cubic-bezier(.4,0,.2,1);
  flex: 1;
  max-width: 48%;
  position: relative;
  overflow: hidden;
}

.nav-link::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(7,20,49,0.03) 0%, rgba(255,159,41,0.05) 100%);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.nav-link:hover {
  border-color: var(--primary);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(7,20,49,0.12), 0 4px 12px rgba(255,159,41,0.08);
}

.nav-link:hover::before {
  opacity: 1;
}

.nav-link.prev {
  justify-content: flex-start;
}

.nav-link.next {
  justify-content: flex-end;
  text-align: right;
}

.nav-arrow {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(7,20,49,0.06);
  color: var(--navy);
  font-size: 1rem;
  flex-shrink: 0;
  transition: all 0.35s cubic-bezier(.4,0,.2,1);
}

.nav-link:hover .nav-arrow {
  background: var(--primary);
  color: var(--white);
  transform: scale(1.1);
}

.nav-link.prev:hover .nav-arrow {
  transform: scale(1.1) translateX(-3px);
}

.nav-link.next:hover .nav-arrow {
  transform: scale(1.1) translateX(3px);
}

.nav-content {
  display: flex;
  flex-direction: column;
  gap: 5px;
  position: relative;
  z-index: 1;
}

.nav-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 700;
}

.nav-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.35;
  transition: color 0.3s ease;
}

.nav-link:hover .nav-title {
  color: var(--primary);
}

.nav-placeholder {
  flex: 1;
  max-width: 48%;
}
      border-radius: 50%; background: var(--off-white); border: 2px solid var(--gray-200);
    }
    .warning .sign-icon { border-color: #ef4444; border-radius: 20%; transform: rotate(45deg); }
    .warning .sign-icon span { transform: rotate(-45deg); display: block; }
    .prohibitory .sign-icon { border-color: #ef4444; border-width: 6px; }
    .compulsory .sign-icon { background: #3b82f6; border-color: #2563eb; color: var(--white); }
    
    .sign-card h4 { font-family: var(--font-heading); color: var(--navy); font-size: 1.1rem; margin-bottom: 8px; }
    .sign-card p { font-size: 0.9rem; color: var(--text-muted); }
  
/* === Styles from shop.html === */

    .page-hero {
      padding: 160px 24px 80px;
      background: var(--navy);
      text-align: center;
      position: relative;
    }
    .page-hero .section-title { color: var(--white); margin-bottom: 16px; }
    .page-hero .section-subtitle { color: rgba(255,255,255,0.7); margin: 0 auto; max-width: 600px; }

    .shop-wrapper { padding: 80px 0; background: var(--off-white); }
    
    .products-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
      gap: 30px;
    }

    .product-card {
      background: var(--white);
      border-radius: var(--radius-lg);
      border: 1px solid var(--gray-200);
      overflow: hidden;
      transition: var(--transition);
      display: flex;
      flex-direction: column;
    }
    .product-card:hover {
      transform: translateY(-6px);
      box-shadow: var(--shadow-md);
      border-color: var(--primary);
    }
    
    .product-img {
      height: 240px;
      background: linear-gradient(135deg, var(--gray-100), var(--gray-200));
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 5rem;
      border-bottom: 1px solid var(--gray-200);
      position: relative;
    }
    .badge-digital {
      position: absolute;
      top: 16px; right: 16px;
      background: var(--navy-light);
      color: white;
      font-size: 0.75rem;
      font-weight: 700;
      padding: 4px 12px;
      border-radius: 999px;
      text-transform: uppercase;
      letter-spacing: 0.05em;
    }
    .badge-physical {
      position: absolute;
      top: 16px; right: 16px;
      background: var(--primary);
      color: white;
      font-size: 0.75rem;
      font-weight: 700;
      padding: 4px 12px;
      border-radius: 999px;
      text-transform: uppercase;
      letter-spacing: 0.05em;
    }

    .product-body {
      padding: 30px;
      flex: 1;
      display: flex;
      flex-direction: column;
    }
    .product-title { font-family: var(--font-heading); font-size: 1.3rem; color: var(--navy); margin-bottom: 12px; }
    .product-desc { color: var(--text-muted); font-size: 0.95rem; line-height: 1.6; margin-bottom: 24px; flex: 1; }
    
    .product-footer {
      display: flex;
      align-items: center;
      justify-content: space-between;
      margin-top: auto;
      padding-top: 20px;
      border-top: 1px solid var(--gray-100);
    }
    .product-price { font-family: var(--font-heading); font-size: 1.5rem; font-weight: 800; color: var(--primary); }
    
    .cart-btn {
      padding: 10px 20px;
      border-radius: 8px;
      background: rgba(255,159,41,0.1);
      color: var(--primary);
      font-weight: 600;
      transition: var(--transition);
      cursor: pointer;
      border: 1px solid transparent;
    }
    .cart-btn:hover {
      background: var(--primary);
      color: var(--white);
    }
  
/* === Styles from temp_page.html === */

				.e-con.e-parent:nth-of-type(n+4):not(.e-lazyloaded):not(.e-no-lazyload),
				.e-con.e-parent:nth-of-type(n+4):not(.e-lazyloaded):not(.e-no-lazyload) * {
					background-image: none !important;
				}
				@media screen and (max-height: 1024px) {
					.e-con.e-parent:nth-of-type(n+3):not(.e-lazyloaded):not(.e-no-lazyload),
					.e-con.e-parent:nth-of-type(n+3):not(.e-lazyloaded):not(.e-no-lazyload) * {
						background-image: none !important;
					}
				}
				@media screen and (max-height: 640px) {
					.e-con.e-parent:nth-of-type(n+2):not(.e-lazyloaded):not(.e-no-lazyload),
					.e-con.e-parent:nth-of-type(n+2):not(.e-lazyloaded):not(.e-no-lazyload) * {
						background-image: none !important;
					}
				}
			
/* === Styles from theory.html === */

    .page-hero {
      padding: 160px 24px 80px;
      background: var(--navy);
      text-align: center;
      position: relative;
      overflow: hidden;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
    }
    .page-hero .container {
      display: flex;
      flex-direction: column;
      align-items: center;
    }
    .page-hero::before {
      content: '';
      position: absolute;
      top: 0; left: 0; right: 0; bottom: 0;
      background: radial-gradient(circle at 50% 50%, rgba(255,159,41,0.1) 0%, transparent 80%);
    }
    .page-hero .section-title { color: var(--white); margin-bottom: 16px; position: relative; }
    .page-hero .section-subtitle { color: rgba(255,255,255,0.7); margin: 0 auto; max-width: 600px; position: relative; }

    .book-preview {
      padding: 100px 0;
      background: var(--white);
    }
    .book-preview-grid {
      display: grid;
      grid-template-columns: 1fr 1.2fr;
      gap: 60px;
      align-items: center;
    }
    .book-cover-container {
      position: relative;
      perspective: 1000px;
      padding: 20px;
    }
    .book-cover {
      background: linear-gradient(135deg, var(--navy-mid), var(--navy));
      border: 8px solid var(--primary);
      border-left: 24px solid var(--primary-dark);
      border-radius: 4px 16px 16px 4px;
      height: 500px;
      box-shadow: 20px 20px 40px rgba(0,0,0,0.2), -5px 0 10px rgba(0,0,0,0.1);
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      text-align: center;
      padding: 40px;
      color: var(--white);
      transform: rotateY(-15deg);
      transition: transform 0.5s ease;
    }
    .book-cover:hover { transform: rotateY(0deg); }
    .book-cover h2 { font-family: var(--font-heading); font-size: 2.2rem; margin-bottom: 10px; line-height: 1.2; }
    .book-cover p { color: rgba(255,255,255,0.7); font-size: 1.1rem; }
    .book-cover .icon { font-size: 4rem; margin-bottom: 20px; }

    .book-info h3 { font-family: var(--font-heading); font-size: 2rem; color: var(--navy); margin-bottom: 24px; }
    .book-info p { color: var(--text-muted); font-size: 1.05rem; line-height: 1.8; margin-bottom: 24px; }
    
    .features-list { list-style: none; padding: 0; margin-bottom: 40px; }
    .features-list li {
      display: flex; align-items: center; gap: 12px;
      margin-bottom: 16px; color: var(--text-dark); font-weight: 500;
    }
    .features-list li::before {
      content: '\f00c'; font-family: 'Font Awesome 6 Free'; font-weight: 900; width: 28px; height: 28px; border-radius: 50%;
      background: rgba(255,159,41,0.2); color: var(--primary);
      display: flex; justify-content: center; align-items: center;
    }

    .book-actions { display: flex; gap: 16px; flex-wrap: wrap; }

    @media (max-width: 900px) {
      .book-preview-grid { grid-template-columns: 1fr; }
      .book-cover { height: 400px; transform: rotateY(0deg); }
    }
  
/* === Styles from training.html === */

    /* Specific styles for the Trainings Page */
    .page-hero {
      padding: 160px 24px 80px;
      background: var(--navy);
      text-align: center;
      position: relative;
      overflow: hidden;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
    }
    .page-hero .container {
      display: flex;
      flex-direction: column;
      align-items: center;
    }
    
    .page-hero::before {
      content: '';
      position: absolute;
      top: 0; left: 0; right: 0; bottom: 0;
      background: radial-gradient(circle at 50% 50%, rgba(255,159,41,0.1) 0%, transparent 80%);
    }

    .page-hero .section-title {
      color: var(--white);
      margin-bottom: 16px;
      position: relative;
    }

    .page-hero .section-subtitle {
      color: rgba(255,255,255,0.7);
      margin: 0 auto;
      max-width: 600px;
      position: relative;
    }

    .trainings-wrapper {
      padding: 80px 0;
      background: var(--off-white);
      min-height: 500px;
    }

  .page-footer-section {
    background: var(--navy);
    padding: 60px 0;
    color: var(--white);
  }

  .page-footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
  }

  .page-footer-text p {
    margin: 0 0 16px 0;
    font-size: 1.05rem;
    line-height: 1.7;
    opacity: 0.95;
  }

  .page-footer-cta {
    flex-shrink: 0;
  }

  .page-footer-cta .btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    font-size: 1rem;
    font-weight: 600;
    white-space: nowrap;
  }

  /* Mobile */
  @media (max-width: 768px) {
    .page-footer-content {
      flex-direction: column;
      text-align: center;
    }
    
    .page-footer-text p {
      font-size: 0.95rem;
    }

    .page-footer-cta .btn-primary {
      width: 100%;
      justify-content: center;
    }
  }




/* =============================================
   PAGE SPECIFIC STYLES (Moved from HTML)
   ============================================= */

/* --- Styles from assets/Components/Pages/training.html --- */
/* ── Search & Filter Bar ───────────────────────────── */
    .page-toolbar {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      gap: 16px;
      margin-bottom: 36px;
    }

    .search-box {
      position: relative;
      flex: 1 1 320px;
      min-width: 240px;
    }
    .search-box .search-icon {
      position: absolute;
      left: 16px;
      top: 50%;
      transform: translateY(-50%);
      color: var(--text-muted);
      font-size: 0.95rem;
      pointer-events: none;
    }
    .search-box input {
      width: 100%;
      padding: 14px 16px 14px 44px;
      border: 1px solid var(--gray-200);
      border-radius: 12px;
      font-size: 0.95rem;
      font-family: var(--font-body);
      color: var(--text-dark);
      background: var(--white);
      transition: var(--transition);
      outline: none;
    }
    .search-box input::placeholder {
      color: var(--text-muted);
    }
    .search-box input:focus {
      border-color: var(--primary);
      box-shadow: 0 0 0 3px rgba(255,159,41,0.12);
    }

    .no-results-info {
      grid-column: 1 / -1;
      text-align: center;
      padding: 48px 20px;
      color: var(--text-muted);
    }
    .no-results-info i {
      font-size: 2.5rem;
      margin-bottom: 16px;
      display: block;
      opacity: 0.4;
    }
    .no-results-info p {
      font-size: 1.05rem;
    }

    }

/* --- Styles from assets/Components/Pages/road-signs.html --- */
.page-toolbar {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      gap: 16px;
      margin-bottom: 28px;
    }
    .search-box {
      position: relative;
      flex: 1 1 320px;
      min-width: 240px;
    }
    .search-box .search-icon {
      position: absolute;
      left: 16px;
      top: 50%;
      transform: translateY(-50%);
      color: var(--text-muted);
      font-size: 0.95rem;
      pointer-events: none;
    }
    .search-box input {
      width: 100%;
      padding: 14px 16px 14px 44px;
      border: 1px solid var(--gray-200);
      border-radius: 12px;
      font-size: 0.95rem;
      font-family: var(--font-body);
      color: var(--text-dark);
      background: var(--white);
      transition: var(--transition);
      outline: none;
    }
    .search-box input::placeholder { color: var(--text-muted); }
    .search-box input:focus {
      border-color: var(--primary);
      box-shadow: 0 0 0 3px rgba(255,159,41,0.12);
    }
    .no-results-info {
      text-align: center;
      padding: 48px 20px;
      color: var(--text-muted);
      display: none;
    }
    .no-results-info i {
      font-size: 2.5rem;
      margin-bottom: 16px;
      display: block;
      opacity: 0.4;
    }
    @media (max-width: 768px) {
      .page-toolbar { flex-direction: column; align-items: stretch; }
    }

/* --- Styles from assets/Components/Pages/road-signs.html --- */
@keyframes spin { to { transform: rotate(360deg); } }

    .sign-card-img {
      background: var(--white);
      border: 1px solid var(--gray-200);
      border-radius: 12px;
      overflow: hidden;
      box-shadow: var(--shadow-sm);
      transition: transform 0.3s, box-shadow 0.3s;
      cursor: pointer;
      display: flex;
      flex-direction: column;
    }
    .sign-card-img:hover {
      transform: translateY(-4px);
      box-shadow: 0 12px 32px rgba(0,0,0,0.12);
    }
    .sign-card-img .sign-thumb {
      width: 100%;
      aspect-ratio: 1;
      object-fit: cover;
      background: var(--gray-100);
      display: block;
    }
    .sign-card-img .sign-info {
      padding: 14px;
      flex-grow: 1;
    }
    .sign-card-img .sign-info h4 {
      font-size: 1rem;
      font-weight: 700;
      color: var(--navy);
      margin: 0 0 6px;
      line-height: 1.3;
    }
    .sign-card-img .sign-info span {
      font-size: 0.8rem;
      color: var(--text-muted);
      background: var(--gray-100);
      padding: 2px 8px;
      border-radius: 4px;
    }

    .pg-btn {
      padding: 10px 18px;
      border: 1px solid var(--gray-200);
      background: white;
      color: var(--navy);
      border-radius: 8px;
      cursor: pointer;
      font-weight: 600;
      transition: all 0.2s;
    }
    .pg-btn:hover {
      border-color: var(--primary);
      color: var(--primary);
    }
    .pg-btn.active {
      background: var(--primary);
      color: white;
      border-color: var(--primary);
    }
    .pg-btn:disabled {
      opacity: 0.5;
      cursor: not-allowed;
    }

/* --- Styles from assets/Components/Pages/single-training.html --- */
/* ── WordPress Content Normalization ─────────────────────────── */
    .training-article img,
    .training-article video,
    .training-article iframe,
    .training-article embed {
      max-width: 100% !important;
      height: auto !important;
      border-radius: 12px;
      margin: 24px 0;
      display: block;
    }
    .training-article figure {
      margin: 32px 0;
      max-width: 100%;
    }
    .training-article figcaption {
      font-size: 0.85rem;
      color: var(--text-muted);
      text-align: center;
      margin-top: 10px;
      font-style: italic;
    }

    /* ── Parsed WordPress Captions (Road Signs) ── */
    .training-article .wp-caption {
      background: var(--white);
      border: 1px solid var(--gray-200);
      border-radius: 16px;
      overflow: hidden;
      margin: 24px auto;
      max-width: 300px; /* Kept small to make images smaller */
      text-align: center;
      box-shadow: 0 4px 12px rgba(0,0,0,0.05);
      transition: transform 0.3s ease, box-shadow 0.3s ease;
    }
    .training-article .wp-caption:hover {
      transform: translateY(-4px);
      box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    }
    .training-article .wp-caption img {
      width: 100%;
      height: auto;
      max-height: 250px;
      object-fit: contain;
      display: block;
      border-radius: 0;
      margin: 0;
      background: var(--gray-50);
      padding: 10px;
    }
    .training-article .wp-caption figcaption {
      padding: 14px 16px;
      font-weight: 700;
      font-size: 0.95rem;
      color: var(--navy);
      border-top: 1px solid var(--gray-100);
      text-align: center;
      margin: 0;
      font-style: normal;
      background: var(--white);
    }

    /* WordPress alignment classes */
    .training-article .wp-align-center {
      display: block;
      margin-left: auto;
      margin-right: auto;
      text-align: center;
    }
    .training-article .wp-align-left {
      float: left;
      margin: 0 24px 16px 0;
      max-width: 40%;
    }
    .training-article .wp-align-right {
      float: right;
      margin: 0 0 16px 24px;
      max-width: 40%;
    }

    /* Grid layout for sign-type posts (many consecutive figures) */
    .training-article .wp-caption-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
      gap: 24px;
      margin: 32px 0;
    }
    .training-article .wp-caption-grid .wp-caption {
      margin: 0;
      max-width: 100%;
      height: 100%;
      display: flex;
      flex-direction: column;
    }
    .training-article .wp-caption-grid .wp-caption figcaption {
      flex-grow: 1;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    /* ── Quiz Format Cards ── */
    .training-article .quiz-card {
      background: var(--white);
      border: 1px solid var(--gray-200);
      border-radius: 12px;
      padding: 24px;
      margin: 5px 0;
      box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    }
    .training-article .quiz-question {
      font-size: 1.15rem;
      font-weight: 700;
      color: var(--navy);
      margin-bottom: 5px;
      line-height: 1.5;
    }
    .training-article .quiz-options {
      display: flex;
      flex-direction: column;
      gap: 2px;
    }
    .training-article .quiz-option {
      background: var(--gray-50);
      border: 1px solid var(--gray-200);
      padding: 5px 18px;
      border-radius: 8px;
      font-size: 1rem;
      color: var(--text-dark);
      transition: all 0.2s ease;
    }
    .training-article .quiz-option.correct-answer {
      background: rgba(34, 197, 94, 0.1);
      border-color: var(--success);
      color: #166534;
      font-weight: 600;
      box-shadow: 0 0 0 1px var(--success);
    }
    .training-article .quiz-option.correct-answer::after {
      content: '✓ Correct Answer';
      float: right;
      font-size: 0.85rem;
      background: var(--success);
      color: white;
      padding: 2px 8px;
      border-radius: 12px;
      margin-top: -2px;
    }

    .training-article table {
      width: 100%;
      border-collapse: collapse;
      margin: 24px 0;
      font-size: 0.95rem;
      border-radius: 12px;
      overflow: hidden;
      box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    }
    .training-article table th {
      background: var(--navy);
      color: var(--white);
      font-weight: 600;
      text-align: left;
      padding: 14px 18px;
      font-size: 0.9rem;
    }
    .training-article table td {
      padding: 12px 18px;
      border-bottom: 1px solid var(--gray-100);
      color: var(--text-dark);
    }
    .training-article table tr:nth-child(even) td {
      background: var(--off-white);
    }
    .training-article a {
      color: #2563eb;
      text-decoration: underline;
      text-decoration-color: rgba(37,99,235,0.3);
      text-underline-offset: 3px;
      transition: var(--transition);
    }
    .training-article a:hover {
      color: var(--primary);
      text-decoration-color: var(--primary);
    }
    .training-article pre,
    .training-article code {
      background: #f1f5f9;
      border-radius: 8px;
      padding: 2px 6px;
      font-size: 0.9em;
      color: #e11d48;
    }
    .training-article pre {
      padding: 20px;
      overflow-x: auto;
      margin: 24px 0;
    }
    .training-article pre code {
      background: none;
      padding: 0;
      color: inherit;
    }
    .training-article hr {
      border: none;
      height: 1px;
      background: var(--gray-200);
      margin: 40px 0;
    }

    /* WordPress Gutenberg block overrides */
    .training-article .wp-block-image,
    .training-article .wp-block-video,
    .training-article .wp-block-embed {
      margin: 32px 0;
    }
    .training-article .wp-block-image img {
      border-radius: 12px;
    }
    .training-article .wp-block-gallery {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
      gap: 12px;
      margin: 24px 0;
    }
    .training-article .wp-block-gallery img {
      border-radius: 8px;
      width: 100%;
      height: 180px;
      object-fit: cover;
    }
    .training-article .wp-block-columns {
      display: flex;
      gap: 24px;
      margin: 24px 0;
    }
    .training-article .wp-block-column {
      flex: 1;
    }
    .training-article .wp-block-separator {
      border: none;
      height: 1px;
      background: var(--gray-200);
      margin: 40px 0;
    }
    .training-article .wp-block-quote,
    .training-article .wp-block-pullquote {
      border-left: 4px solid var(--primary);
      padding: 20px 24px;
      margin: 32px 0;
      background: rgba(255,159,41,0.06);
      border-radius: 0 12px 12px 0;
      font-style: italic;
    }
    .training-article .wp-block-quote p,
    .training-article .wp-block-pullquote p {
      color: var(--navy);
      font-size: 1.1rem;
      margin: 0;
    }
    .training-article .wp-block-quote cite,
    .training-article .wp-block-pullquote cite {
      display: block;
      margin-top: 12px;
      font-size: 0.85rem;
      color: var(--text-muted);
      font-style: normal;
    }
    .training-article .wp-block-button a,
    .training-article .wp-block-button__link {
      display: inline-block;
      padding: 14px 28px;
      background: var(--primary);
      color: var(--white) !important;
      border-radius: 999px;
      text-decoration: none !important;
      font-weight: 600;
      transition: var(--transition);
    }
    .training-article .wp-block-button a:hover,
    .training-article .wp-block-button__link:hover {
      transform: translateY(-2px);
      box-shadow: var(--shadow-sm);
    }
    .training-article .wp-block-cover {
      position: relative;
      border-radius: 12px;
      overflow: hidden;
      margin: 32px 0;
      padding: 48px;
      min-height: 280px;
      display: flex;
      align-items: center;
    }
    .training-article .wp-block-list {
      margin-bottom: 20px;
      padding-left: 30px;
    }

    /* Force WordPress inline styles to not break layout */
    .training-article [style*="width"] {
      max-width: 100% !important;
    }
    .training-article [style*="height"]:not(table):not(tr):not(td):not(th) {
      height: auto !important;
    }
    .training-article div[class*="wp-block"] {
      max-width: 100%;
    }

    /* Hide WordPress cruft */
    .training-article .sharedaddy,
    .training-article .jp-relatedposts,
    .training-article .wpcf7,
    .training-article .sd-sharing,
    .training-article .entry-meta {
      display: none;
    }

    /* ── Article Navigation ── */
    .training-navigation {
      display: flex;
      justify-content: space-between;
      gap: 20px;
      margin-top: 60px;
      padding-top: 30px;
      border-top: 1px solid var(--gray-200);
    }
    .nav-link {
      display: flex;
      align-items: center;
      gap: 16px;
      padding: 16px 20px;
      background: var(--white);
      border: 1px solid var(--gray-200);
      border-radius: 12px;
      text-decoration: none;
      flex: 1;
      transition: all 0.2s ease;
      max-width: 48%;
    }
    .nav-link:hover {
      border-color: var(--primary);
      box-shadow: 0 4px 15px rgba(0,0,0,0.05);
      transform: translateY(-2px);
    }
    .nav-link.next {
      text-align: right;
      justify-content: flex-end;
    }
    .nav-arrow {
      display: flex;
      align-items: center;
      justify-content: center;
      width: 40px;
      height: 40px;
      border-radius: 50%;
      background: var(--gray-50);
      color: var(--navy);
      font-size: 1.1rem;
      transition: all 0.2s ease;
      flex-shrink: 0;
    }
    .nav-link:hover .nav-arrow {
      background: var(--primary);
      color: var(--white);
    }
    .nav-content {
      display: flex;
      flex-direction: column;
      gap: 4px;
      overflow: hidden;
    }
    .nav-label {
      font-size: 0.8rem;
      text-transform: uppercase;
      letter-spacing: 1px;
      color: var(--text-muted);
      font-weight: 700;
    }
    .nav-title {
      font-weight: 700;
      color: var(--navy);
      font-size: 1rem;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }
    .nav-placeholder {
      flex: 1;
      max-width: 48%;
    }

    /* ── Page Layout ───────────────────────────────────────────── */
    .training-grid-layout,
    .dmv-layout {
      display: grid;
      grid-template-columns: 1fr 340px;
      gap: 40px;
      align-items: start;
      margin: 0 0 15px 0;
    }
    .dmv-layout {
      grid-template-columns: 350px 1fr;
    }
    .training-sidebar,
    .tests-sidebar {
      position: sticky;
      top: 120px;
    }
    .sidebar-card {
      background: var(--white);
      padding: 28px;
      border-radius: 16px;
      border: 1px solid var(--gray-200);
      margin-bottom: 24px;
    }
    .sidebar-card h4 {
      font-family: var(--font-heading);
      font-size: 1rem;
      color: var(--navy);
      margin-bottom: 20px;
      padding-bottom: 14px;
      border-bottom: 1px solid var(--gray-100);
    }
    .course-meta-list {
      list-style: none;
      padding: 0;
      margin: 0;
    }
    .course-meta-list li {
      display: flex;
      align-items: center;
      gap: 12px;
      padding: 12px 0;
      border-bottom: 1px solid var(--gray-50);
      font-size: 0.92rem;
      color: var(--text-dark);
    }
    .course-meta-list li:last-child {
      border-bottom: none;
    }
    .course-meta-list li i {
      width: 32px;
      height: 32px;
      display: flex;
      align-items: center;
      justify-content: center;
      border-radius: 8px;
      background: rgba(7,20,49,0.06);
      color: var(--navy);
      font-size: 0.85rem;
      flex-shrink: 0;
    }
    .course-meta-list li strong {
      margin-left: auto;
      color: var(--navy);
    }
    .share-buttons {
      display: flex;
      gap: 10px;
    }
    .share-btn {
      width: 40px;
      height: 40px;
      display: flex;
      align-items: center;
      justify-content: center;
      border-radius: 10px;
      background: var(--off-white);
      color: var(--text-muted);
      border: 1px solid var(--gray-200);
      text-decoration: none;
      transition: var(--transition);
      font-size: 0.9rem;
    }
    .share-btn:hover {
      background: var(--navy);
      color: var(--white);
      border-color: var(--navy);
    }

    @media (max-width: 1024px) {
      .training-grid-layout {
        grid-template-columns: 1fr;
      }
      .training-sidebar {
        position: static;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 16px;
      }
    }
    @media (max-width: 600px) {
      .training-sidebar {
        grid-template-columns: 1fr;
      }
      .training-article {
        padding: 28px 20px !important;
      }
      .training-navigation {
        flex-direction: column;
      }
      .nav-link {
        max-width: 100% !important;
      }
    }

    @media (max-width: 992px) {
      .training-grid-layout,
      .dmv-layout {
        grid-template-columns: 1fr;
      }
      .training-sidebar,
      .tests-sidebar {
        position: static;
        margin-top: 40px;
      }
    }
/* === MOTION & UNDERLINE EFFECTS === */
html { scroll-behavior: smooth; }


/* === CTA SECTIONS === */
.cta-section-img {
  position: relative; padding: 100px 20px; text-align: center; color: white;
  background-size: cover; background-position: center; background-attachment: fixed;
  border-radius: var(--radius-xl); overflow: hidden; margin: 60px 0;
}
.cta-section-img::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(7,20,49,0.9), rgba(2,84,122,0.8)); z-index: 1;
}
.cta-section-img > * { position: relative; z-index: 2; }
.cta-section-img h2 { font-size: 2.5rem; margin-bottom: 20px; font-family: var(--font-heading); }
.cta-section-img p { font-size: 1.1rem; max-width: 600px; margin: 0 auto 30px; opacity: 0.9; }

/* === SLIDER MARQUEE === */
.marquee-container {
  overflow: hidden; white-space: nowrap; width: 100%; padding: 20px 0;
  background: var(--off-white); border-radius: var(--radius-lg); margin: 40px 0;
  border: 1px solid var(--gray-200);
}
.marquee-content {
  display: inline-flex; animation: scrollMarquee 15s linear infinite; gap: 40px; align-items: center;
}
@keyframes scrollMarquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
.marquee-item {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  font-size: 3rem; color: var(--navy); min-width: 120px;
}
.marquee-item span { font-size: 1rem; margin-top: 10px; font-weight: 600; }

/* === ROAD SIGNS HIGHLIGHT SLIDER === */
.signs-highlight-section {
  padding: 80px 0;
  background: var(--white);
  border-top: 1px solid var(--gray-100);
  border-bottom: 1px solid var(--gray-100);
}

.signs-highlight-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 30px;
  margin-bottom: 40px;
}

.signs-highlight-header .section-subtitle {
  margin-top: 10px;
  max-width: 550px;
}

.signs-slider-wrapper {
  position: relative;
}

.signs-slider-track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 10px 0 20px;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.signs-slider-track::-webkit-scrollbar {
  display: none;
}

.sign-slide-card {
  flex: 0 0 240px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.sign-slide-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.1);
}

.sign-slide-img {
  height: 180px;
  background: var(--off-white);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.sign-slide-img img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
}

.sign-slide-info {
  padding: 16px;
  text-align: center;
}

.sign-slide-info h4 {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sign-slide-cat {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
}

.signs-slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--gray-200);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--navy);
  cursor: pointer;
  z-index: 5;
  transition: var(--transition);
}

.signs-slider-arrow:hover {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

.signs-slider-prev { left: -22px; }
.signs-slider-next { right: -22px; }

@media (max-width: 992px) {
  .signs-highlight-header {
    flex-direction: column;
    align-items: flex-start;
  }
  .signs-slider-prev { left: -10px; }
  .signs-slider-next { right: -10px; }
  .sign-slide-card { flex: 0 0 200px; }
  .sign-slide-img { height: 140px; }
}

@media (max-width: 600px) {
  .signs-highlight-section { padding: 50px 0; }
  .signs-slider-arrow { display: none; }
  .sign-slide-card { flex: 0 0 180px; }
  .sign-slide-img { height: 120px; padding: 14px; }
  .sign-slide-info { padding: 12px; }
  .sign-slide-info h4 { font-size: 0.85rem; }
}

/* === RESPONSIVENESS FIXES === */
.container { max-width: 1400px; }

/* === HIDE ADS ON MOBILE === */
@media (max-width: 768px) {
  .adsbygoogle, .ad-slot, .ad-sidebar, .ads-side {
    display: none !important;
  }
}
