
/* ==================== 2026 MAIN HEADER & LUXURY SPACIOUS NAVIGATION ==================== */
.main-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  background: #ffffff;
  z-index: 1000;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  border-bottom: 1px solid #e2e8f0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
  position: relative;
  gap: 2rem;
}

.logo-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-img-real, .logo-img {
  height: 50px;
  width: auto;
  max-width: 190px;
  object-fit: contain;
}

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

.logo-title {
  font-family: var(--font-heading);
  font-size: 1.18rem;
  font-weight: 900;
  color: var(--kcd-navy-950);
  line-height: 1.1;
  letter-spacing: -0.01em;
}

.logo-subtitle {
  font-size: 0.74rem;
  font-weight: 800;
  color: var(--kcd-red-600);
  letter-spacing: 0.12em;
}

.main-nav, .nav-menu-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  height: 100%;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 1.65rem;
  list-style: none;
  margin: 0;
  padding: 0;
  height: 100%;
}

.nav-item {
  position: relative;
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  height: 100%;
  cursor: pointer !important;
}

.nav-link {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  padding: 0.65rem 0.95rem !important;
  font-family: var(--font-heading) !important;
  font-size: 1rem !important;
  font-weight: 700 !important;
  color: #1e293b !important;
  text-decoration: none !important;
  border-radius: 10px !important;
  transition: all 0.2s ease !important;
  white-space: nowrap !important;
  cursor: pointer !important;
  user-select: none !important;
  -webkit-user-select: none !important;
  position: relative !important;
  z-index: 50 !important;
  pointer-events: auto !important;
}

.nav-link * {
  pointer-events: none !important;
  cursor: pointer !important;
  user-select: none !important;
}

.nav-link:hover, .nav-link.active {
  color: var(--kcd-red-600) !important;
  background: rgba(220, 38, 38, 0.06) !important;
}

.header-cta-group {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
  position: relative;
  z-index: 50;
}

/* ==================== 2026 UNIFIED LUXURY MEGA-MENU SYSTEM ==================== */
.has-dropdown {
  position: relative;
}

.chevron-icon {
  width: 14px;
  height: 14px;
  fill: currentColor;
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-block;
  vertical-align: middle;
  pointer-events: none;
}

.has-dropdown:hover .chevron-icon,
.has-dropdown.is-open .chevron-icon {
  transform: rotate(180deg);
}

/* Mega Dropdown Panel Base: display: none and pointer-events: none when closed, zero event hijacking */
.dropdown-card {
  display: none !important;
  pointer-events: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  position: absolute !important;
  top: 100% !important;
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 20px !important;
  box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.18), 0 0 1px 1px rgba(0, 0, 0, 0.04) !important;
  padding: 1.15rem !important;
  z-index: 1050 !important;
  box-sizing: border-box !important;
}

.has-dropdown:hover > .dropdown-card,
.has-dropdown.is-open > .dropdown-card {
  display: block !important;
  pointer-events: auto !important;
  visibility: visible !important;
  opacity: 1 !important;
  animation: navDropdownFade 0.15s ease-out forwards;
}

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

/* Programs 8-Service Compact Mega Menu */
.mega-menu-programs {
  width: 740px !important;
  max-width: min(740px, 94vw) !important;
  left: -80px !important;
  padding: 1.15rem 1.15rem 0.85rem !important;
}

.mega-menu-about {
  width: 380px !important;
  max-width: min(380px, 90vw) !important;
  left: -20px !important;
}

@media (min-width: 769px) and (max-width: 1200px) {
  .header-inner {
    gap: 1rem !important;
  }
  .nav-list {
    gap: 0.85rem !important;
  }
  .nav-link {
    padding: 0.5rem 0.65rem !important;
    font-size: 0.92rem !important;
  }
  .mega-menu-programs {
    width: 650px !important;
    left: -120px !important;
  }
  .mega-menu-about {
    width: 340px !important;
    left: -40px !important;
  }
}

@media (max-width: 1200px) {
  .mega-menu-programs {
    width: 680px !important;
    left: -130px !important;
  }
}

/* Active Navigation Highlights */
.nav-link.active,
.has-dropdown.active-parent > .nav-link {
  color: var(--kcd-red-600) !important;
  background: rgba(220, 38, 38, 0.08) !important;
  font-weight: 800 !important;
}

.mega-menu-card.active-subitem {
  background: #fef2f2 !important;
  border-color: rgba(220, 38, 38, 0.4) !important;
  box-shadow: 0 0 0 1px rgba(220, 38, 38, 0.25) !important;
}

.mega-menu-card.active-subitem .mega-card-title {
  color: var(--kcd-red-600) !important;
  font-weight: 800 !important;
}

.mega-menu-card.active-subitem .mega-icon-wrap {
  transform: scale(1.1) !important;
}

.mega-menu-grid {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 0.45rem 0.75rem !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

.mega-about-grid {
  display: flex !important;
  flex-direction: column !important;
  gap: 0.6rem !important;
  width: 100% !important;
}

.mega-menu-card {
  display: flex !important;
  align-items: center !important;
  gap: 0.65rem !important;
  padding: 0.55rem 0.75rem !important;
  border-radius: 12px !important;
  text-decoration: none !important;
  background: #ffffff !important;
  border: 1px solid #f1f5f9 !important;
  transition: all 0.18s ease !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
  cursor: pointer !important;
  pointer-events: auto !important;
}

.mega-menu-card:hover {
  background: #f8fafc !important;
  border-color: #cbd5e1 !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04) !important;
}

.mega-icon-wrap {
  width: 36px !important;
  height: 36px !important;
  border-radius: 10px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 1.2rem !important;
  flex-shrink: 0 !important;
  transition: transform 0.18s ease !important;
}

.mega-menu-card:hover .mega-icon-wrap {
  transform: scale(1.08) !important;
}

.mega-card-content {
  flex: 1 !important;
  min-width: 0 !important;
}

.mega-card-header {
  display: flex !important;
  align-items: center !important;
  gap: 0.4rem !important;
  margin-bottom: 2px !important;
}

.mega-card-title {
  font-family: var(--font-heading) !important;
  font-size: 0.9rem !important;
  font-weight: 800 !important;
  color: var(--kcd-navy-950) !important;
  line-height: 1.25 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  transition: color 0.2s ease !important;
}

.mega-menu-card:hover .mega-card-title {
  color: var(--kcd-red-600) !important;
}

.mega-card-desc {
  font-size: 0.75rem !important;
  color: var(--slate-500) !important;
  line-height: 1.25 !important;
  margin: 0 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

.mega-badge {
  font-size: 0.62rem !important;
  font-weight: 800 !important;
  padding: 2px 6px !important;
  border-radius: 999px !important;
  text-transform: uppercase !important;
  letter-spacing: 0.3px !important;
  flex-shrink: 0 !important;
}

.badge-popular { background: rgba(220, 38, 38, 0.1) !important; color: var(--kcd-red-600) !important; }
.badge-blue { background: rgba(30, 58, 138, 0.1) !important; color: var(--kcd-navy-700) !important; }
.badge-green { background: rgba(16, 185, 129, 0.1) !important; color: #059669 !important; }
.badge-amber { background: rgba(245, 158, 11, 0.1) !important; color: #d97706 !important; }
.badge-red { background: rgba(239, 68, 68, 0.1) !important; color: #dc2626 !important; }
.badge-gray { background: rgba(100, 116, 139, 0.1) !important; color: #475569 !important; }

.mega-menu-footer {
  margin-top: 0.75rem !important;
  padding-top: 0.65rem !important;
  border-top: 1px solid #f1f5f9 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  font-size: 0.78rem !important;
}

.mega-footer-link {
  color: var(--kcd-red-600) !important;
  font-weight: 800 !important;
  text-decoration: none !important;
  cursor: pointer !important;
  pointer-events: auto !important;
  transition: all 0.2s ease !important;
}

.mega-footer-link:hover {
  text-decoration: underline !important;
  color: var(--kcd-red-700) !important;
}



/* ==========================================================================
   KCD TRAINING CDL DRIVING SCHOOL - COMPREHENSIVE LUXURY DESIGN SYSTEM 2026
   Brand Colors: KCD Deep Navy, Dynamic Red Accent, Safety Gold & Pure Crisp White
   ========================================================================== */

:root {
  /* Official Brand Palette */
  --kcd-navy-950: #071224;
  --kcd-navy-900: #0c1e3d;
  --kcd-navy-800: #122c5a;
  --kcd-navy-700: #183e7d;
  --kcd-navy-600: #1d4ed8;
  --kcd-navy-500: #2563eb;
  --kcd-navy-100: #dbeafe;
  --kcd-navy-50: #eff6ff;

  /* Energetic KCD Logo Red Accents */
  --kcd-red-700: #991b1b;
  --kcd-red-600: #dc2626;
  --kcd-red-500: #ef4444;
  --kcd-red-100: #fee2e2;
  --kcd-red-50: #fef2f2;

  /* Highway Safety Amber / Gold */
  --accent-600: #d97706;
  --accent-500: #f59e0b;
  --accent-400: #fbbf24;
  --accent-100: #fef3c7;
  --accent-50: #fffbeb;

  /* Status Colors */
  --success-600: #059669;
  --success-500: #10b981;
  --success-100: #d1fae5;
  --success-50: #ecfdf5;

  /* Neutral Slates */
  --slate-950: #020617;
  --slate-900: #0f172a;
  --slate-800: #1e293b;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-500: #64748b;
  --slate-400: #94a3b8;
  --slate-300: #cbd5e1;
  --slate-200: #e2e8f0;
  --slate-100: #f1f5f9;
  --slate-50: #f8fafc;
  --white: #ffffff;

  /* Typography */
  --font-heading: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;

  /* Shadows & Depth */
  --shadow-xs: 0 1px 2px 0 rgba(15, 23, 42, 0.05);
  --shadow-sm: 0 2px 4px -1px rgba(15, 23, 42, 0.06), 0 1px 2px -1px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 4px 14px -2px rgba(12, 30, 61, 0.08), 0 2px 6px -1px rgba(12, 30, 61, 0.04);
  --shadow-lg: 0 12px 28px -4px rgba(12, 30, 61, 0.12), 0 4px 10px -2px rgba(12, 30, 61, 0.05);
  --shadow-xl: 0 20px 40px -6px rgba(12, 30, 61, 0.16), 0 10px 18px -5px rgba(12, 30, 61, 0.08);
  --shadow-2xl: 0 25px 55px -12px rgba(12, 30, 61, 0.25);
  --shadow-dropdown: 0 20px 45px -10px rgba(12, 30, 61, 0.15), 0 0 0 1px rgba(226, 232, 240, 0.95);

  /* Transitions */
  --transition-fast: 160ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 280ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 450ms cubic-bezier(0.16, 1, 0.3, 1);

  /* Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Layout */
  --container-max: 1320px;
}

/* Reset & Global */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-body);
  color: var(--slate-800);
  background-color: #ffffff;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: inherit;
  text-decoration: none;
}

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

button {
  cursor: pointer;
  border: none;
  background: none;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

/* ==================== 2026 LUXURY CINEMATIC SPLASH SCREEN ==================== */
.splash-screen-overlay {
  position: fixed;
  inset: 0;
  background: #ffffff;
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.6s;
  cursor: pointer;
}

.splash-screen-overlay.is-hidden {
  opacity: 0 !important;
  visibility: hidden !important;
  transform: scale(1.02) !important;
  pointer-events: none !important;
}

.splash-content-box {
  width: 100%;
  max-width: 720px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  pointer-events: auto;
}

.splash-logo-row {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 1.75rem;
}

.splash-logo-img {
  height: 74px;
  width: auto;
  filter: drop-shadow(0 4px 14px rgba(0, 0, 0, 0.08));
}

.splash-badge-fallback {
  background: var(--kcd-navy-950);
  color: #ffffff;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.25rem;
  padding: 8px 16px;
  border-radius: var(--radius-md);
}

.splash-badge-fallback span {
  color: var(--kcd-red-600);
}

.splash-brand-titles {
  text-align: left;
}

.splash-title {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.65rem;
  font-weight: 900;
  color: var(--kcd-navy-950);
  letter-spacing: -0.5px;
  line-height: 1.1;
}

.splash-sub {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--slate-500);
  letter-spacing: 0.5px;
  margin-top: 4px;
}

.splash-highway-track {
  position: relative;
  width: 100%;
  height: 130px;
  background: #0b1120;
  border-radius: var(--radius-xl);
  border: 2px solid #334155;
  overflow: hidden;
  display: flex;
  align-items: center;
  box-shadow: inset 0 0 45px rgba(0, 0, 0, 0.95), 0 16px 36px rgba(12, 30, 61, 0.2);
  margin-bottom: 2rem;
}

.splash-road-asphalt {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, #1e293b 0%, #0f172a 65%, #050811 100%);
}

.splash-road-dashes {
  position: absolute;
  top: 60%;
  left: 0;
  width: 200%;
  height: 5px;
  background: repeating-linear-gradient(
    90deg,
    #fbbf24 0px,
    #fbbf24 55px,
    transparent 55px,
    transparent 110px
  );
  transform: translateY(-50%);
  animation: moveSplashHighway 1.6s linear infinite;
}

@keyframes moveSplashHighway {
  0% { transform: translate(0, -50%); }
  100% { transform: translate(-50%, -50%); }
}

.splash-truck-wrapper {
  position: absolute;
  left: -40%;
  bottom: 12px;
  z-index: 5;
  display: flex;
  align-items: flex-end;
  filter: drop-shadow(0 12px 26px rgba(0, 0, 0, 0.95));
  will-change: left;
}

.splash-truck-svg {
  width: 320px;
  height: 76px;
  display: block;
}

.splash-truck-headlight {
  position: absolute;
  right: -220px;
  top: 28px;
  width: 220px;
  height: 60px;
  background: linear-gradient(90deg, rgba(254, 240, 138, 0.95) 0%, rgba(254, 240, 138, 0) 100%);
  clip-path: polygon(0% 35%, 100% 0%, 100% 100%, 0% 65%);
  pointer-events: none;
  filter: drop-shadow(0 0 22px rgba(254, 240, 138, 0.95));
}

.splash-progress-wrapper {
  width: 100%;
}

.splash-progress-track {
  width: 100%;
  height: 9px;
  background: #e2e8f0;
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 0.95rem;
}

.splash-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--kcd-red-600) 0%, #f59e0b 50%, var(--kcd-red-600) 100%);
  border-radius: 999px;
  box-shadow: 0 0 14px rgba(220, 38, 38, 0.6);
  transition: width 0.04s linear;
}

.splash-status-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.94rem;
}

.splash-status-text {
  font-weight: 700;
  color: var(--slate-700);
}

.splash-percent-num {
  font-family: var(--font-mono);
  font-weight: 800;
  color: var(--kcd-red-600);
  font-size: 1.2rem;
}

.splash-click-hint {
  font-size: 0.8rem;
  color: var(--slate-400);
  margin-top: 0.85rem;
  letter-spacing: 0.3px;
}

/* ==================== TOP BAR ==================== */
.top-bar {
  background-color: var(--kcd-navy-950);
  color: var(--slate-300);
  font-size: 0.85rem;
  padding: 0.45rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-bar-left, .top-bar-right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.top-bar-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.top-bar-item svg {
  width: 15px;
  height: 15px;
  fill: currentColor;
}

.lang-switcher {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-full);
  padding: 2px;
}

.lang-btn {
  padding: 2px 8px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  color: #fff;
  transition: all var(--transition-fast);
}

.lang-btn.active {
  background-color: var(--kcd-red-600);
  color: #fff;
}

/* ==================== MAIN HEADER ==================== */
.main-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--slate-200);
  box-shadow: var(--shadow-sm);
}

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

.logo-wrapper {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.logo-img-real {
  height: 52px;
  width: auto;
}

.logo-badge {
  background: var(--kcd-navy-950);
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.15rem;
  padding: 6px 12px;
  border-radius: var(--radius-md);
}

.logo-badge span {
  color: var(--kcd-red-600);
}

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

.logo-title {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.2rem;
  color: var(--kcd-navy-950);
  line-height: 1;
  letter-spacing: -0.5px;
}

.logo-subtitle {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--kcd-red-600);
  letter-spacing: 1px;
  margin-top: 3px;
}

/* Nav Menu */
.nav-menu-bar {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  list-style: none;
  position: relative;
}

/* Nav-link styles defined in main navigation system */



.submenu-item-card {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.65rem;
  border-radius: var(--radius-md);
  transition: background var(--transition-fast);
}

.submenu-item-card:hover {
  background-color: var(--slate-50);
}

.submenu-icon {
  font-size: 1.35rem;
}

.submenu-title-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.submenu-title {
  font-weight: 700;
  color: var(--kcd-navy-950);
  font-size: 0.92rem;
}

.submenu-desc {
  font-size: 0.78rem;
  color: var(--slate-500);
  line-height: 1.3;
  margin-top: 2px;
}

.submenu-tag {
  font-size: 0.65rem;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: var(--radius-full);
}

.submenu-tag.gold { background: var(--accent-100); color: var(--accent-600); }
.submenu-tag.blue { background: var(--kcd-navy-100); color: var(--kcd-navy-700); }
.submenu-tag.green { background: var(--success-100); color: var(--success-600); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.95rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
  cursor: pointer;
}

.btn-sm { padding: 0.5rem 1rem; font-size: 0.85rem; }
.btn-lg { padding: 0.95rem 2rem; font-size: 1.05rem; }
.btn-block { width: 100%; }

.btn-primary {
  background: var(--kcd-red-600);
  color: #fff;
  box-shadow: 0 4px 14px rgba(220, 38, 38, 0.35);
}
.btn-primary:hover {
  background: var(--kcd-red-700);
  transform: translateY(-2px);
}

.btn-secondary {
  background: var(--kcd-navy-900);
  color: #fff;
}
.btn-secondary:hover {
  background: var(--kcd-navy-800);
}

.btn-whatsapp {
  background: #25D366;
  color: #fff;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
}
.btn-whatsapp:hover {
  background: #20BA5A;
  transform: translateY(-2px);
}

.btn-google {
  background: #ffffff;
  color: var(--slate-800);
  border: 1px solid var(--slate-300);
  box-shadow: var(--shadow-sm);
}

.btn-hero-accent {
  background: var(--kcd-red-600);
  color: #fff;
  box-shadow: 0 8px 25px rgba(220, 38, 38, 0.5);
}
.btn-hero-accent:hover {
  background: #b91c1c;
  transform: translateY(-3px);
}

.btn-hero-secondary {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(8px);
}
.btn-hero-secondary:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
}

.mobile-toggle {
  display: none;
  font-size: 1.5rem;
  color: var(--kcd-navy-950);
}

/* ==================== 2026 FULL-BLEED VIDEO HERO ==================== */
.hero-cinematic-section {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #020617;
  padding: 5rem 0;
}

.hero-video-bg-container {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-bg-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.68) contrast(1.1);
}

.hero-video-overlay-60 {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 18, 36, 0.75) 0%, rgba(7, 18, 36, 0.85) 100%);
}

.hero-ambient-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(220, 38, 38, 0.18) 0%, transparent 70%);
  pointer-events: none;
}

.hero-cinematic-container {
  position: relative;
  z-index: 10;
  text-align: center;
}

.hero-center-content {
  max-width: 960px;
  margin: 0 auto;
}

.hero-badge-pill-2026 {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius-full);
  padding: 6px 18px;
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--accent-400);
  margin-bottom: 1.5rem;
  backdrop-filter: blur(8px);
}

.badge-dot-glow {
  width: 8px;
  height: 8px;
  background: #22c55e;
  border-radius: 50%;
  box-shadow: 0 0 10px #22c55e;
}

.hero-cinematic-title {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  font-weight: 900;
  color: #ffffff;
  line-height: 1.1;
  letter-spacing: -1px;
  margin-bottom: 1.25rem;
}

.hero-title-gradient {
  display: block;
  background: linear-gradient(90deg, #ffffff 0%, var(--accent-400) 50%, var(--kcd-red-500) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-cinematic-desc {
  font-size: 1.2rem;
  color: var(--slate-200);
  max-width: 780px;
  margin: 0 auto 2.5rem;
  line-height: 1.6;
}

.hero-actions-clean {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin-bottom: 3.5rem;
}

/* Metric Capsules */
.hero-metrics-capsules {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  max-width: 1040px;
  margin: 0 auto;
}

.metric-capsule {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-lg);
  padding: 1.1rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-align: left;
}

.metric-capsule-icon {
  font-size: 1.75rem;
  flex-shrink: 0;
}

.metric-capsule-text {
  display: flex;
  flex-direction: column;
}

.metric-capsule-val {
  font-family: var(--font-heading);
  font-weight: 800;
  color: #fff;
  font-size: 1.05rem;
  line-height: 1.2;
}

.metric-capsule-sub {
  font-size: 0.75rem;
  color: var(--slate-300);
  margin-top: 2px;
}

/* ==================== TRUST BANNER ==================== */
.trust-banner-section {
  background: var(--kcd-navy-950);
  padding: 2.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.trust-badges-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.trust-badge-card {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.trust-badge-icon {
  font-size: 2rem;
}

.trust-badge-content h4 {
  color: #fff;
  font-weight: 800;
  font-size: 1rem;
  margin-bottom: 2px;
}

.trust-badge-content p {
  color: var(--slate-400);
  font-size: 0.82rem;
  line-height: 1.3;
}

/* ==================== SECTIONS GENERAL ==================== */
.section {
  padding: 5.5rem 0;
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 3.5rem;
}

.section-tag {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--kcd-red-600);
  text-transform: uppercase;
  letter-spacing: 1px;
  background: var(--kcd-red-50);
  padding: 4px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 0.75rem;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  font-weight: 900;
  color: var(--kcd-navy-950);
  line-height: 1.2;
  letter-spacing: -0.5px;
  margin-bottom: 0.85rem;
}

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

/* ==================== PROGRAMS GRID ==================== */
.programs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.program-card {
  background: #fff;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-xl);
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
}

.program-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: var(--kcd-red-600);
}

.program-card.featured {
  border: 2px solid var(--kcd-red-600);
  box-shadow: var(--shadow-lg);
}

.program-badge-popular {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--kcd-red-600);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  letter-spacing: 0.5px;
}

.program-category {
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--slate-500);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.4rem;
  display: block;
}

.program-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--kcd-navy-950);
  margin-bottom: 0.75rem;
}

.program-description {
  font-size: 0.92rem;
  color: var(--slate-600);
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

.program-features-box {
  margin-bottom: 2rem;
  flex-grow: 1;
}

.program-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  font-size: 0.88rem;
  color: var(--slate-700);
}

.program-card-footer {
  margin-top: auto;
}

/* ==================== COMPARISON MATRIX ==================== */
.comparison-matrix-wrapper {
  background: #fff;
  border-radius: var(--radius-xl);
  border: 1px solid var(--slate-200);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.comparison-table th {
  background: var(--slate-100);
  color: var(--kcd-navy-950);
  font-weight: 800;
  padding: 1rem 1.25rem;
  text-align: left;
  border-bottom: 2px solid var(--slate-200);
}

.comparison-table td {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--slate-200);
  color: var(--slate-700);
  vertical-align: middle;
}

.check-green { color: var(--success-600); font-weight: 700; }
.cross-red { color: var(--kcd-red-600); font-weight: 700; }

/* ==================== CURRICULUM TABS ==================== */
.curriculum-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}

.curriculum-tab-btn {
  background: #fff;
  border: 2px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 800;
  color: var(--slate-700);
  transition: all var(--transition-fast);
  text-align: left;
}

.curriculum-tab-btn.active {
  background: var(--kcd-navy-950);
  color: #fff;
  border-color: var(--kcd-navy-950);
}

.tab-step-num {
  font-family: var(--font-mono);
  font-size: 1.2rem;
  color: var(--kcd-red-600);
  font-weight: 900;
}

.curriculum-content-panel {
  display: none;
  background: #fff;
  border-radius: var(--radius-xl);
  padding: 3rem;
  border: 1px solid var(--slate-200);
  box-shadow: var(--shadow-md);
}

.curriculum-content-panel.active {
  display: block;
}

.curriculum-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  align-items: center;
}

/* ==================== SALARY CALCULATOR ==================== */
.salary-calc-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-xl);
  padding: 3rem;
  backdrop-filter: blur(10px);
}

.form-group {
  margin-bottom: 1.75rem;
}

.form-label {
  display: block;
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
  color: var(--slate-200);
}

.form-select {
  width: 100%;
  padding: 0.85rem 1rem;
  background: #0f172a;
  border: 1px solid var(--slate-700);
  border-radius: var(--radius-md);
  color: #fff;
  font-weight: 600;
}

.form-range {
  width: 100%;
  accent-color: var(--kcd-red-600);
}

.salary-calc-result-box {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.calc-result-header {
  font-size: 1rem;
  font-weight: 700;
  color: var(--accent-400);
  margin-bottom: 0.5rem;
}

.calc-result-amount {
  font-family: var(--font-heading);
  font-size: 3.2rem;
  font-weight: 900;
  color: #fff;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.calc-result-sub {
  font-size: 1.1rem;
  color: var(--slate-300);
  margin-bottom: 1.25rem;
}

.calc-roi-pill {
  background: rgba(16, 185, 129, 0.2);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #34d399;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  display: inline-block;
  margin: 0 auto;
}

/* ==================== REVIEWS SECTION ==================== */
.reviews-section {
  background: var(--kcd-navy-950);
  padding: 6rem 0;
  color: #fff;
}

.reviews-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 3.5rem;
  flex-wrap: wrap;
  gap: 2rem;
}

.google-trust-badge {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 1rem 1.5rem;
  border-radius: var(--radius-lg);
}

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

.review-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-xl);
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
}

.reviewer-meta {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1.25rem;
}

.reviewer-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--kcd-red-600);
  color: #fff;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.reviewer-name {
  font-weight: 800;
  color: #fff;
  font-size: 1.05rem;
}

.reviewer-badge {
  font-size: 0.78rem;
  color: var(--accent-400);
}

.review-text {
  font-size: 0.92rem;
  color: var(--slate-300);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex-grow: 1;
  font-style: italic;
}

.review-verified {
  font-size: 0.8rem;
  font-weight: 700;
  color: #34d399;
}

/* ==================== LOCATIONS SECTION ==================== */
.locations-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
}

.location-card {
  background: #fff;
  border-radius: var(--radius-xl);
  border: 1px solid var(--slate-200);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.location-img-header {
  position: relative;
  height: 240px;
}

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

.location-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(0, 0, 0, 0.7) 100%);
}

.location-card-content {
  padding: 2.25rem;
}

.location-badge {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--kcd-red-600);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: block;
  margin-bottom: 0.4rem;
}

.location-name {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--kcd-navy-950);
  margin-bottom: 1.25rem;
}

.location-detail-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.75rem;
  font-size: 0.92rem;
  color: var(--slate-700);
}

.location-detail-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.location-icon-box {
  font-size: 1.25rem;
}

/* ==================== FAQ ACCORDION ==================== */
.faq-accordion-box {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: #fff;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  padding: 1.35rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--kcd-navy-950);
  text-align: left;
}

.faq-icon {
  width: 18px;
  height: 18px;
  fill: currentColor;
  transition: transform var(--transition-fast);
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  display: none;
  padding: 0 1.5rem 1.5rem;
  color: var(--slate-600);
  font-size: 0.95rem;
  line-height: 1.6;
}

.faq-item.active .faq-answer {
  display: block;
}

/* ==================== FINAL CTA BANNER ==================== */
.cta-banner-section {
  background: linear-gradient(135deg, var(--kcd-navy-950) 0%, var(--kcd-navy-900) 100%);
  padding: 5.5rem 0;
  color: #fff;
  text-align: center;
}

.cta-banner-inner {
  max-width: 820px;
  margin: 0 auto;
}

.cta-banner-title {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 900;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.cta-banner-desc {
  font-size: 1.15rem;
  color: var(--slate-300);
  margin-bottom: 2.5rem;
}

.cta-banner-buttons {
  display: flex;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

/* ==================== FOOTER ==================== */
.main-footer {
  background: #020617;
  color: var(--slate-400);
  padding: 5rem 0 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer-bio {
  font-size: 0.9rem;
  line-height: 1.6;
  margin-top: 1.25rem;
}

.footer-heading {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 1.25rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: #fff;
}

.footer-contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  font-size: 0.9rem;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.85rem;
}

/* ==================== RESPONSIVE BREAKPOINTS ==================== */
@media (max-width: 1024px) {
  .hero-cinematic-title { font-size: 2.75rem; }
  .hero-metrics-capsules { grid-template-columns: repeat(2, 1fr); }
  .trust-badges-grid { grid-template-columns: repeat(2, 1fr); }
  .programs-grid { grid-template-columns: repeat(2, 1fr); }
  .curriculum-tabs { grid-template-columns: repeat(2, 1fr); }
  .curriculum-grid { grid-template-columns: 1fr; }
  .salary-calc-wrapper { grid-template-columns: 1fr; }
  .reviews-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .top-bar { display: none; }
  .main-nav { display: none; }
  .mobile-toggle { display: block; }
  .hero-cinematic-title { font-size: 2.2rem; }
  .hero-metrics-capsules { grid-template-columns: 1fr; }
  .trust-badges-grid { grid-template-columns: 1fr; }
  .programs-grid { grid-template-columns: 1fr; }
  .curriculum-tabs { grid-template-columns: 1fr; }
  .locations-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}


/* ==================== 2026 MOBILE & DESKTOP SEPARATION (ZERO OVERFLOW) ==================== */

/* 1. Global Viewport Safety */
html, body {
  width: 100% !important;
  max-width: 100% !important;
  overflow-x: hidden !important;
  position: relative !important;
  margin: 0 !important;
  padding: 0 !important;
  -webkit-overflow-scrolling: touch !important;
}

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

img, video, iframe, svg {
  max-width: 100% !important;
}

/* 2. Container Padding Safety */
.container {
  width: 100% !important;
  max-width: 1320px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 1.25rem !important;
  padding-right: 1.25rem !important;
  box-sizing: border-box !important;
}

/* 3. Mobile Header & Viewport Constraints */
@media (max-width: 768px) {
  .top-bar {
    display: none !important;
  }

  .main-nav {
    display: none !important;
  }

  .main-header {
    height: 66px !important;
    padding: 0 !important;
    position: sticky !important;
    top: 0 !important;
    z-index: 1000 !important;
    background: #ffffff !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08) !important;
  }

  .header-inner {
    height: 66px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 8px !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
  }

  .logo-wrapper {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    min-width: 0 !important;
    flex-shrink: 1 !important;
    overflow: hidden !important;
    text-decoration: none !important;
  }

  .logo-img-real {
    height: 38px !important;
    width: auto !important;
    flex-shrink: 0 !important;
  }

  .logo-badge {
    padding: 4px 8px !important;
    font-size: 0.95rem !important;
    border-radius: 6px !important;
  }

  .logo-text {
    display: flex !important;
    flex-direction: column !important;
    line-height: 1.1 !important;
  }

  .logo-title {
    font-size: 0.92rem !important;
    font-weight: 900 !important;
    color: var(--kcd-navy-950) !important;
    white-space: nowrap !important;
  }

  .logo-subtitle {
    display: none !important;
  }

  .header-cta-group {
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    flex-shrink: 0 !important;
  }

  /* Hide long WhatsApp text button in mobile header to prevent 430px overflow */
  .header-cta-group .btn-whatsapp {
    display: none !important;
  }

  /* Mobile Language Switcher Pill in Header */
  .header-lang-pill {
    display: inline-flex !important;
    align-items: center !important;
    background: #f1f5f9 !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 999px !important;
    padding: 2px !important;
    gap: 2px !important;
  }

  .header-lang-pill .lang-btn {
    padding: 3px 8px !important;
    font-size: 0.72rem !important;
    font-weight: 800 !important;
    border-radius: 999px !important;
    color: #475569 !important;
    background: transparent !important;
    border: none !important;
    cursor: pointer !important;
  }

  .header-lang-pill .lang-btn.active {
    background: var(--kcd-red-600) !important;
    color: #ffffff !important;
    box-shadow: 0 1px 4px rgba(220, 38, 38, 0.3) !important;
  }

  .mobile-toggle {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 38px !important;
    height: 38px !important;
    border-radius: 8px !important;
    background: var(--kcd-navy-950) !important;
    color: #ffffff !important;
    font-size: 1.2rem !important;
    border: none !important;
    cursor: pointer !important;
    flex-shrink: 0 !important;
  }

  /* Mobile Content Margins & Grids */
  .container {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  .section {
    padding: 3rem 0 !important;
    overflow-x: hidden !important;
  }

  .hero-cinematic-title {
    font-size: clamp(1.65rem, 6vw, 2.2rem) !important;
  }

  .hero-metrics-capsules {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }

  .trust-badges-grid {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }

  .programs-grid {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
  }

  .curriculum-tabs {
    grid-template-columns: 1fr !important;
  }

  .locations-grid {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
  }

  .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }
}

/* 4. Luxury Mobile Navigation Drawer */
.mobile-nav-drawer {
  position: fixed !important;
  top: 0 !important;
  right: -100% !important;
  width: 86% !important;
  max-width: 360px !important;
  height: 100vh !important;
  height: 100dvh !important;
  background: linear-gradient(180deg, #071224 0%, #030814 100%) !important;
  z-index: 9999999 !important;
  padding: 1.25rem !important;
  overflow-y: auto !important;
  transition: right 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
  display: flex !important;
  flex-direction: column !important;
  box-shadow: -15px 0 50px rgba(0, 0, 0, 0.85) !important;
  border-left: 1px solid rgba(255, 255, 255, 0.12) !important;
  box-sizing: border-box !important;
}

.mobile-nav-drawer.open, .mobile-nav-drawer.active {
  right: 0 !important;
}

.drawer-overlay {
  position: fixed !important;
  inset: 0 !important;
  background: rgba(3, 8, 18, 0.75) !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
  z-index: 9999998 !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  transition: all 0.3s ease !important;
}

.drawer-overlay.active, .drawer-overlay.open {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

.drawer-top-header {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  margin-bottom: 1.2rem !important;
  padding-bottom: 0.9rem !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.drawer-brand-logo {
  display: flex !important;
  align-items: center !important;
  text-decoration: none !important;
}

.drawer-logo-img {
  height: 44px !important;
  width: auto !important;
  background: #ffffff !important;
  padding: 4px 10px !important;
  border-radius: 8px !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25) !important;
  display: block !important;
}

.drawer-close-btn {
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  color: #ffffff !important;
  width: 36px !important;
  height: 36px !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 1.1rem !important;
  cursor: pointer !important;
}

.drawer-lang-card {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  margin-bottom: 1.25rem !important;
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  padding: 10px 14px !important;
  border-radius: 12px !important;
}

.drawer-lang-label {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  color: #e2e8f0 !important;
  font-size: 0.88rem !important;
}

.drawer-nav-menu {
  display: flex !important;
  flex-direction: column !important;
  gap: 0.65rem !important;
  margin-bottom: 1.5rem !important;
}

.drawer-nav-card {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  padding: 10px 14px !important;
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 14px !important;
  text-decoration: none !important;
  color: #ffffff !important;
  cursor: pointer !important;
}

.drawer-card-icon {
  font-size: 1.35rem !important;
  width: 38px !important;
  height: 38px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: rgba(255, 255, 255, 0.07) !important;
  border-radius: 10px !important;
  flex-shrink: 0 !important;
}

.drawer-card-info {
  display: flex !important;
  flex-direction: column !important;
  gap: 2px !important;
  flex-grow: 1 !important;
}

.drawer-card-title {
  font-family: var(--font-heading) !important;
  font-weight: 800 !important;
  font-size: 0.98rem !important;
  color: #ffffff !important;
}

.drawer-card-sub {
  font-size: 0.72rem !important;
  color: #94a3b8 !important;
}

.drawer-accordion-caret {
  font-size: 0.75rem !important;
  color: #94a3b8 !important;
  transition: transform 0.3s ease !important;
}

.has-mobile-submenu.open .drawer-accordion-caret {
  transform: rotate(180deg) !important;
  color: var(--kcd-red-500) !important;
}

.drawer-accordion-body {
  display: none !important;
  flex-direction: column !important;
  gap: 6px !important;
  padding: 8px 0 8px 12px !important;
  margin-top: 4px !important;
  border-left: 2px solid rgba(239, 68, 68, 0.4) !important;
  margin-left: 19px !important;
}

.has-mobile-submenu.open .drawer-accordion-body {
  display: flex !important;
}

.drawer-sub-item {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  padding: 8px 12px !important;
  background: rgba(255, 255, 255, 0.03) !important;
  border: 1px solid rgba(255, 255, 255, 0.06) !important;
  border-radius: 10px !important;
  text-decoration: none !important;
}

.sub-item-badge {
  font-family: var(--font-mono) !important;
  font-size: 0.65rem !important;
  font-weight: 800 !important;
  background: rgba(255, 255, 255, 0.1) !important;
  color: #f87171 !important;
  padding: 3px 6px !important;
  border-radius: 6px !important;
  flex-shrink: 0 !important;
}

.sub-item-text strong {
  font-size: 0.85rem !important;
  color: #ffffff !important;
  font-weight: 700 !important;
}

.sub-item-text small {
  font-size: 0.7rem !important;
  color: #94a3b8 !important;
}

.drawer-action-group {
  margin-top: auto !important;
  padding-top: 1.25rem !important;
  border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 0.65rem !important;
}

.drawer-action-btn {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  padding: 12px 16px !important;
  border-radius: 12px !important;
  text-decoration: none !important;
  font-weight: 800 !important;
  font-size: 0.95rem !important;
}

.drawer-action-btn.btn-wa {
  background: #25d366 !important;
  color: #ffffff !important;
}

.drawer-action-btn.btn-call {
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
  color: #ffffff !important;
}


/* White Footer Logo */
.footer-logo, .footer-brand img, .footer-brand-logo img {
  filter: brightness(0) invert(1) !important;
  max-height: 48px !important;
  width: auto !important;
  display: block !important;
  margin-bottom: 1rem !important;
}


/* ==================== 3 EXACT SWITCH LOCATIONS SYSTEM ==================== */

/* Location 1: Desktop Top Bar */
@media (min-width: 769px) {
  .top-bar {
    display: block !important;
  }
  .lang-switcher {
    display: flex !important;
    align-items: center !important;
    background: rgba(255, 255, 255, 0.12) !important;
    border-radius: 999px !important;
    padding: 2px !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
  }
  .lang-switcher .lang-btn {
    padding: 3px 10px !important;
    border-radius: 999px !important;
    font-size: 0.75rem !important;
    font-weight: 800 !important;
    color: #cbd5e1 !important;
    background: transparent !important;
    border: none !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
  }
  .lang-switcher .lang-btn.active {
    background: var(--accent-500) !important;
    color: var(--kcd-navy-950) !important;
    box-shadow: 0 1px 4px rgba(0,0,0,0.2) !important;
  }
  /* HIDE secondary mobile pill on Desktop to prevent duplicate/floating switches */
  .header-lang-pill {
    display: none !important;
  }
  .mobile-toggle {
    display: none !important;
  }
}

/* Location 2: Mobile Header (Top Right Corner) */
@media (max-width: 768px) {
  .top-bar {
    display: none !important;
  }
  .header-lang-pill {
    display: inline-flex !important;
    align-items: center !important;
    background: #f1f5f9 !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 999px !important;
    padding: 2px !important;
    gap: 2px !important;
    margin-right: 4px !important;
  }
  .header-lang-pill .lang-btn {
    padding: 3px 8px !important;
    font-size: 0.72rem !important;
    font-weight: 800 !important;
    border-radius: 999px !important;
    color: #475569 !important;
    background: transparent !important;
    border: none !important;
    cursor: pointer !important;
  }
  .header-lang-pill .lang-btn.active {
    background: var(--kcd-red-600) !important;
    color: #ffffff !important;
    box-shadow: 0 1px 4px rgba(220, 38, 38, 0.3) !important;
  }
}

/* Location 3: Inside Mobile Navigation Drawer */
.drawer-lang-card .header-lang-pill {
  display: inline-flex !important;
  background: rgba(255, 255, 255, 0.1) !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
}

.drawer-lang-card .header-lang-pill .lang-btn {
  color: #cbd5e1 !important;
}

.drawer-lang-card .header-lang-pill .lang-btn.active {
  background: var(--kcd-red-600) !important;
  color: #ffffff !important;
}

/* White Footer Logo */
.footer-logo {
  max-height: 48px !important;
  width: auto !important;
  display: block !important;
  margin-bottom: 1.25rem !important;
  filter: none !important;
}


/* ==================== FLOATING WHATSAPP BUTTON ==================== */
.floating-wa-btn {
  position: fixed !important;
  bottom: 24px !important;
  right: 24px !important;
  width: 56px !important;
  height: 56px !important;
  border-radius: 50% !important;
  background: #25d366 !important;
  color: #ffffff !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4) !important;
  z-index: 9999 !important;
  text-decoration: none !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease !important;
}

.floating-wa-btn:hover {
  transform: scale(1.08) !important;
  box-shadow: 0 6px 25px rgba(37, 211, 102, 0.5) !important;
}

.floating-wa-btn svg {
  width: 30px !important;
  height: 30px !important;
  max-width: 30px !important;
  max-height: 30px !important;
  fill: #ffffff !important;
  display: block !important;
}

.floating-wa-pulse {
  display: none !important;
}

/* ==================== FAQ ACCORDION STYLING ==================== */
.faq-item {
  background: #ffffff;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  margin-bottom: 1rem;
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.faq-item.active {
  border-color: var(--kcd-red-500);
  box-shadow: 0 4px 15px rgba(220, 38, 38, 0.08);
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 1.5rem;
  background: transparent;
  border: none;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--kcd-navy-950);
  cursor: pointer;
  text-align: left;
}

.faq-question:hover {
  color: var(--kcd-red-600);
}

.faq-icon {
  font-size: 0.9rem;
  transition: transform 0.25s ease;
  color: var(--slate-400);
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
  color: var(--kcd-red-600);
}

.faq-answer {
  display: none;
  padding: 0 1.5rem 1.25rem;
  color: var(--slate-600);
  font-size: 0.95rem;
  line-height: 1.65;
}

.faq-item.active .faq-answer {
  display: block !important;
}

/* ==================== HEADER CART ICON BUTTON ==================== */
.header-cart-icon-btn {
  display: none; /* Managed by backend / admin setting */
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  color: var(--kcd-navy-950);
  font-size: 1.1rem;
  text-decoration: none;
  position: relative;
  transition: all 0.2s ease;
}

.header-cart-icon-btn:hover {
  background: #e2e8f0;
  transform: scale(1.05);
}

/* ==================== MODERN SUBPAGE HERO & LAYOUTS ==================== */
.page-header {
  background: linear-gradient(135deg, #071224 0%, #0c1a30 50%, #112240 100%) !important;
  color: #ffffff !important;
  padding: 4rem 0 3.5rem !important;
  position: relative !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.page-header::after {
  content: '';
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  background: radial-gradient(circle at top right, rgba(220, 38, 38, 0.12) 0%, transparent 60%);
  pointer-events: none;
}

.page-title {
  font-family: var(--font-heading) !important;
  font-size: 2.35rem !important;
  font-weight: 800 !important;
  color: #ffffff !important;
  margin: 0.75rem 0 1rem !important;
  line-height: 1.2 !important;
}

.page-subtitle {
  font-size: 1.05rem !important;
  color: #94a3b8 !important;
  max-width: 760px !important;
  line-height: 1.65 !important;
}

.breadcrumbs {
  display: flex !important;
  align-items: center !important;
  gap: 0.5rem !important;
  font-size: 0.85rem !important;
  color: #94a3b8 !important;
  margin-bottom: 1rem !important;
}

.breadcrumbs a {
  color: #e2e8f0 !important;
  text-decoration: none !important;
  transition: color 0.2s ease !important;
}

.breadcrumbs a:hover {
  color: #f87171 !important;
}

/* Modern Blog Cards */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 2rem;
  margin-top: 1.5rem;
}

.blog-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-xl, 16px);
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.04);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  transform: translateY(-5px);
  border-color: #cbd5e1;
  box-shadow: 0 16px 36px rgba(0,0,0,0.08);
}

.blog-card-img-wrap {
  position: relative;
  width: 100%;
  height: 220px;
  overflow: hidden;
  background: var(--slate-100);
}

.blog-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
  transition: transform 0.4s ease;
}

.blog-card:hover .blog-card-img {
  transform: scale(1.05);
}

.blog-card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.blog-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.8rem;
  color: var(--slate-500);
  margin-bottom: 0.75rem;
}

.blog-card-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(7, 18, 36, 0.9);
  color: #f8fafc;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  backdrop-filter: blur(4px);
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.blog-card-title {
  font-family: var(--font-heading);
  font-size: 1.18rem;
  font-weight: 800;
  color: var(--kcd-navy-950);
  margin-bottom: 0.65rem;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-card-desc {
  font-size: 0.92rem;
  color: var(--slate-600);
  line-height: 1.6;
  margin-bottom: 1.25rem;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-card-footer {
  margin-top: auto;
  border-top: 1px solid var(--slate-100);
  padding-top: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

@media (max-width: 768px) {
  .blog-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}


/* ==================== 2026 MODERN PROGRAM HERO & SUBPAGE STYLES ==================== */
.program-hero {
  background: linear-gradient(135deg, #071224 0%, #0c1a30 50%, #112240 100%) !important;
  color: #ffffff !important;
  padding: 4.5rem 0 4rem !important;
  position: relative !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  overflow: hidden !important;
}

.program-hero::after {
  content: '';
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  background: radial-gradient(circle at 85% 20%, rgba(220, 38, 38, 0.15) 0%, transparent 50%),
              radial-gradient(circle at 15% 80%, rgba(37, 99, 235, 0.12) 0%, transparent 40%);
  pointer-events: none;
}

.program-hero-grid {
  display: grid !important;
  grid-template-columns: 1.2fr 0.8fr !important;
  gap: 3rem !important;
  align-items: center !important;
  position: relative !important;
  z-index: 2 !important;
}

@media (max-width: 900px) {
  .program-hero-grid {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }
}

.program-stat-strip {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 0.75rem !important;
  margin-top: 1.75rem !important;
}

.stat-pill {
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.5rem !important;
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
  color: #f1f5f9 !important;
  font-size: 0.85rem !important;
  font-weight: 700 !important;
  padding: 0.45rem 1rem !important;
  border-radius: 999px !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2) !important;
}

/* ==========================================================================
   MASTER MEDIA SWITCHER (FOTOS VS VIDEOS YOUTUBE)
   ========================================================================== */
.gallery-master-switcher-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 1.75rem;
}

.gallery-master-switcher {
  display: inline-flex;
  align-items: center;
  background: #ffffff;
  padding: 6px;
  border-radius: 999px;
  border: 1px solid var(--slate-200);
  box-shadow: 0 4px 16px -2px rgba(15, 23, 42, 0.08);
  gap: 6px;
  max-width: 100%;
}

.master-switch-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.7rem 1.4rem;
  border-radius: 999px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--slate-700);
  font-family: var(--font-heading);
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  text-align: left;
  position: relative;
}

.master-switch-btn:hover {
  background: var(--slate-100);
  color: var(--kcd-navy-950);
}

.master-switch-btn.active {
  background: var(--kcd-navy-950);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(7, 18, 36, 0.25);
}

.switch-icon {
  font-size: 1.35rem;
  line-height: 1;
}

.switch-text-wrap {
  display: flex;
  flex-direction: column;
}

.switch-title {
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1.2;
}

.switch-subtitle {
  font-size: 0.75rem;
  opacity: 0.8;
  font-weight: 600;
}

/* YouTube Master Switch Button Accent */
.master-switch-btn.btn-switch-yt {
  background: rgba(239, 68, 68, 0.06);
  border-color: rgba(239, 68, 68, 0.25);
  color: #b91c1c;
}

.master-switch-btn.btn-switch-yt:hover {
  background: rgba(239, 68, 68, 0.12);
  border-color: #ef4444;
  color: #991b1b;
}

.master-switch-btn.btn-switch-yt.active {
  background: linear-gradient(135deg, #ff0000 0%, #dc2626 100%);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 6px 20px rgba(220, 38, 38, 0.4);
}

.switch-yt-icon {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #ff0000;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  box-shadow: 0 2px 6px rgba(255, 0, 0, 0.4);
  flex-shrink: 0;
}

.master-switch-btn.btn-switch-yt.active .switch-yt-icon {
  background: #ffffff;
  color: #dc2626;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.switch-title-row {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.switch-live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ff0000;
  box-shadow: 0 0 6px #ff0000;
  animation: pulseLive 1.8s infinite;
}

.master-switch-btn.btn-switch-yt.active .switch-live-dot {
  background: #ffffff;
  box-shadow: 0 0 6px #ffffff;
}

@keyframes pulseLive {
  0% { transform: scale(0.9); opacity: 0.7; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.7; }
}

.switch-highlight-badge {
  background: #fef08a;
  color: #854d0e;
  font-size: 0.65rem;
  font-weight: 900;
  padding: 2px 7px;
  border-radius: 999px;
  letter-spacing: 0.5px;
  margin-left: 0.25rem;
}

.master-switch-btn.btn-switch-yt.active .switch-highlight-badge {
  background: #ffffff;
  color: #dc2626;
}

/* ==========================================================================
   PHOTO SUB-FILTERS WRAPPER & HORIZONTAL CAROUSEL
   ========================================================================== */
.gallery-photo-filters-wrapper {
  background: #ffffff;
  border: 1px solid var(--slate-200);
  border-radius: 16px;
  padding: 0.85rem 1.25rem;
  margin-bottom: 2rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.photo-filters-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.6rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--slate-100);
}

.photo-filters-label {
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--slate-500);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.photo-filters-hint {
  font-size: 0.78rem;
  color: var(--slate-400);
  font-weight: 600;
}

.gallery-filter-bar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  overflow-x: auto;
  padding: 0.25rem 0.25rem 0.5rem 0.25rem;
  scrollbar-width: thin;
  scrollbar-color: var(--slate-300) transparent;
  -webkit-overflow-scrolling: touch;
}

.gallery-filter-bar::-webkit-scrollbar {
  height: 4px;
}

.gallery-filter-bar::-webkit-scrollbar-thumb {
  background: var(--slate-300);
  border-radius: 4px;
}

.gallery-chip {
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
  color: var(--slate-700);
  padding: 0.45rem 1rem;
  border-radius: 999px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.82rem;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  flex-shrink: 0;
}

.gallery-chip:hover {
  background: var(--slate-100);
  border-color: var(--slate-300);
  color: var(--slate-900);
}

.gallery-chip.active {
  background: var(--kcd-navy-950);
  color: #ffffff;
  border-color: var(--kcd-navy-950);
  box-shadow: 0 3px 10px rgba(7, 18, 36, 0.2);
}

/* ==========================================================================
   VIP FEATURED YOUTUBE SHOWCASE CARD (Inside Albums Grid)
   ========================================================================== */
.yt-featured-album-card {
  grid-column: 1 / -1;
  background: linear-gradient(135deg, #090e17 0%, #1e1b4b 60%, #450a0a 100%);
  border: 1px solid rgba(239, 68, 68, 0.4) !important;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 12px 36px -4px rgba(220, 38, 38, 0.2), 0 4px 16px rgba(0,0,0,0.4);
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  color: #ffffff;
}

.yt-featured-album-card:hover {
  transform: translateY(-4px);
  border-color: #ef4444 !important;
  box-shadow: 0 18px 45px -4px rgba(220, 38, 38, 0.35), 0 8px 24px rgba(0,0,0,0.5);
}

.yt-featured-inner {
  padding: 1.75rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.yt-featured-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.yt-featured-pill-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: #ff0000;
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.5px;
  padding: 4px 12px;
  border-radius: 999px;
  text-transform: uppercase;
  box-shadow: 0 2px 8px rgba(255, 0, 0, 0.4);
}

.yt-featured-stats-tag {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.82rem;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.08);
  padding: 4px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.yt-featured-main-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 2rem;
  align-items: center;
}

.yt-featured-left h3 {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 0.5rem 0;
  line-height: 1.3;
}

.yt-featured-left p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.92rem;
  line-height: 1.45;
  margin: 0 0 1.25rem 0;
}

.yt-featured-cta-group {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-yt-featured-play {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #ff0000;
  color: #ffffff;
  font-weight: 800;
  font-size: 0.9rem;
  padding: 0.65rem 1.35rem;
  border-radius: 999px;
  box-shadow: 0 4px 14px rgba(255, 0, 0, 0.5);
  transition: transform 0.2s ease, background 0.2s ease;
}

.yt-featured-album-card:hover .btn-yt-featured-play {
  transform: scale(1.04);
  background: #ef4444;
}

.yt-featured-meta-info {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.82rem;
  font-weight: 600;
}

.yt-featured-thumbs-showcase {
  display: flex;
  gap: 0.6rem;
  position: relative;
}

.yt-preview-thumb-box {
  flex: 1;
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
  background: #000;
}

.yt-preview-thumb-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.yt-featured-album-card:hover .yt-preview-thumb-box img {
  transform: scale(1.08);
}

.yt-preview-play-icon {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.3);
  color: #fff;
  font-size: 1rem;
}

@media (max-width: 900px) {
  .gallery-master-switcher {
    flex-direction: column;
    border-radius: 16px;
    width: 100%;
  }
  .master-switch-btn {
    width: 100%;
    justify-content: center;
  }
  .yt-featured-main-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  .yt-featured-thumbs-showcase {
    display: none;
  }
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.75rem;
}

.gallery-card {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
  border: 1px solid var(--slate-200);
  background: #ffffff;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  aspect-ratio: 4 / 3;
}

.gallery-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 35px rgba(0, 0, 0, 0.12);
}

.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
  display: block;
  transition: transform 0.5s ease;
}

.gallery-card:hover img {
  transform: scale(1.05);
}

.gallery-card-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(0deg, rgba(7, 18, 36, 0.95) 0%, rgba(7, 18, 36, 0.4) 60%, transparent 100%);
  padding: 1.5rem 1.25rem 1rem;
  color: #ffffff;
  transform: translateY(10px);
  opacity: 0.9;
  transition: all 0.3s ease;
}

.gallery-card:hover .gallery-card-overlay {
  transform: translateY(0);
  opacity: 1;
}

.gallery-badge {
  display: inline-block;
  background: var(--kcd-red-600);
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 999px;
  margin-bottom: 0.35rem;
  text-transform: uppercase;
}

.gallery-card {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
  border: 1px solid var(--slate-200);
  background: #ffffff;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.gallery-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 35px rgba(0, 0, 0, 0.12);
}

.gallery-card-img-wrap {
  position: relative;
  height: 220px;
  overflow: hidden;
  background: var(--slate-900);
}

.gallery-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
  display: block;
  transition: transform 0.5s ease;
}

.gallery-card:hover .gallery-card-img {
  transform: scale(1.05);
}

.gallery-card-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 10px;
  border-radius: 6px;
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  z-index: 2;
  box-shadow: 0 2px 8px rgba(0,0,0,0.25);
}

.gallery-zoom-badge {
  position: absolute;
  bottom: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(7, 18, 36, 0.75);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 2;
}

.gallery-card:hover .gallery-zoom-badge {
  opacity: 1;
}

.gallery-card-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.gallery-card-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--kcd-navy-950);
  margin-bottom: 0.4rem;
  line-height: 1.35;
}

.gallery-card-desc {
  font-size: 0.85rem;
  color: var(--slate-600);
  line-height: 1.5;
  margin-bottom: 1rem;
  flex: 1;
}

.gallery-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: var(--slate-400);
  border-top: 1px solid var(--slate-100);
  padding-top: 0.75rem;
}

/* Gallery Pagination */
.gallery-pagination-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
  flex-wrap: wrap;
}

.page-btn {
  background: #ffffff;
  border: 1px solid var(--slate-300);
  color: var(--slate-700);
  min-width: 40px;
  height: 40px;
  border-radius: 8px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 0.75rem;
}

.page-btn:hover {
  border-color: var(--kcd-navy-950);
  color: var(--kcd-navy-950);
}

.page-btn.active {
  background: var(--kcd-navy-950);
  color: #ffffff;
  border-color: var(--kcd-navy-950);
}

.page-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.gallery-pagination-info {
  font-size: 0.85rem;
  color: var(--slate-500);
}

/* Lightbox Modal */
.gallery-lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(7, 18, 36, 0.95);
  backdrop-filter: blur(8px);
  z-index: 99999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

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

.lightbox-content {
  position: relative;
  max-width: 900px;
  width: 100%;
  background: #0b1528;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
}

.lightbox-img-wrap {
  position: relative;
  max-height: 70vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000000;
}

.lightbox-img-wrap img {
  max-width: 100%;
  max-height: 70vh;
  object-fit: contain;
  display: block;
}

.lightbox-info {
  padding: 1.25rem 1.75rem;
  color: #ffffff;
}

.lightbox-title {
  font-size: 1.2rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.35rem;
}

.lightbox-desc {
  font-size: 0.9rem;
  color: var(--slate-300);
  line-height: 1.4;
}

.lightbox-close-btn {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: background 0.2s ease;
}

.lightbox-close-btn:hover {
  background: rgba(220, 38, 38, 0.8);
}

.lightbox-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  font-size: 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: all 0.2s ease;
}

.lightbox-nav-btn:hover {
  background: rgba(255, 255, 255, 0.2);
}

.lightbox-prev-btn {
  left: 20px;
}

.lightbox-next-btn {
  right: 20px;
}

/* Modern 2026 Blog Styles */
.blog-featured-card {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2.5rem;
  background: #ffffff;
  border: 1px solid var(--slate-200);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  margin-bottom: 3.5rem;
  align-items: center;
}

@media (max-width: 850px) {
  .blog-featured-card {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

.blog-featured-content {
  padding: 2.5rem;
}

.blog-featured-img-wrap {
  height: 100%;
  min-height: 320px;
  position: relative;
  overflow: hidden;
}

.blog-featured-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Modern Technical Spec Tables */
.spec-table-container {
  background: #ffffff;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  margin: 2.5rem 0;
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
}

.spec-table th {
  background: var(--kcd-navy-950);
  color: #ffffff;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.92rem;
  padding: 1.1rem 1.25rem;
  text-align: left;
}

.spec-table td {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--slate-100);
  font-size: 0.92rem;
  color: var(--slate-700);
}

.spec-table tr:nth-child(even) td {
  background: #f8fafc;
}

.spec-table tr:last-child td {
  border-bottom: none;
}


/* ==================== 2026 COMPLETE SUBPAGE DESIGN SYSTEM ==================== */

/* 1. Program 2-Column Grid Layout */
.program-body-grid {
  display: grid !important;
  grid-template-columns: 1fr 380px !important;
  gap: 2.5rem !important;
  align-items: start !important;
  margin-top: 2rem !important;
}

@media (max-width: 980px) {
  .program-body-grid {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }
}

.program-main-col {
  display: flex !important;
  flex-direction: column !important;
  gap: 2rem !important;
}

.program-card-block {
  background: #ffffff !important;
  border: 1px solid var(--slate-200) !important;
  border-radius: var(--radius-2xl) !important;
  padding: 2.5rem !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04) !important;
}

@media (max-width: 640px) {
  .program-card-block {
    padding: 1.5rem !important;
  }
}

/* 2. 4-Phase Curriculum Mini Cards */
.curriculum-phase-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)) !important;
  gap: 1.25rem !important;
  margin-top: 1.5rem !important;
}

.phase-card {
  display: flex !important;
  gap: 1rem !important;
  align-items: flex-start !important;
  padding: 1.25rem !important;
  background: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: var(--radius-xl) !important;
  transition: all 0.2s ease !important;
}

.phase-card:hover {
  background: #ffffff !important;
  border-color: var(--kcd-red-500) !important;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06) !important;
  transform: translateY(-2px) !important;
}

.phase-badge {
  width: 38px !important;
  height: 38px !important;
  border-radius: 50% !important;
  background: var(--kcd-navy-950) !important;
  color: #ffffff !important;
  font-family: var(--font-mono) !important;
  font-weight: 800 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
  font-size: 0.95rem !important;
}

.phase-card:hover .phase-badge {
  background: var(--kcd-red-600) !important;
}

/* 3. High-Contrast Specs Tables */
.specs-table-container {
  background: #ffffff !important;
  border: 1px solid var(--slate-200) !important;
  border-radius: var(--radius-xl) !important;
  overflow: hidden !important;
  box-shadow: var(--shadow-sm) !important;
  margin-top: 1.25rem !important;
}

.specs-table {
  width: 100% !important;
  border-collapse: collapse !important;
}

.specs-table th {
  background: var(--kcd-navy-950) !important;
  color: #ffffff !important;
  font-family: var(--font-heading) !important;
  font-weight: 800 !important;
  font-size: 0.9rem !important;
  padding: 1rem 1.25rem !important;
  text-align: left !important;
}

.specs-table td {
  padding: 1rem 1.25rem !important;
  border-bottom: 1px solid #f1f5f9 !important;
  font-size: 0.92rem !important;
  color: var(--slate-700) !important;
  line-height: 1.5 !important;
}

.specs-table tr:nth-child(even) td {
  background: #f8fafc !important;
}

.specs-table tr:last-child td {
  border-bottom: none !important;
}

/* 4. Luxury Sticky Sidebar */
.sticky-sidebar-card {
  position: sticky !important;
  top: 100px !important;
  background: linear-gradient(135deg, #071224 0%, #0f172a 100%) !important;
  color: #ffffff !important;
  border-radius: var(--radius-2xl) !important;
  padding: 2.25rem !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.3) !important;
}

.sidebar-price-header {
  margin-bottom: 1.5rem !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
  padding-bottom: 1.25rem !important;
}

.sidebar-features-list {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 0 1.75rem !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 0.9rem !important;
  font-size: 0.92rem !important;
  color: #e2e8f0 !important;
}

.sidebar-features-list li {
  display: flex !important;
  align-items: flex-start !important;
  gap: 0.5rem !important;
}

/* 5. Locations Page Cards */
.locations-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr)) !important;
  gap: 2.5rem !important;
  margin-top: 2rem !important;
}

.location-card {
  background: #ffffff !important;
  border: 1px solid var(--slate-200) !important;
  border-radius: var(--radius-2xl) !important;
  overflow: hidden !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05) !important;
  transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}

.location-card:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.1) !important;
}

.location-img-header {
  position: relative !important;
  height: 240px !important;
  overflow: hidden !important;
}

.location-img-header img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}

.location-card-content {
  padding: 2rem !important;
}

.location-detail-list {
  list-style: none !important;
  padding: 0 !important;
  margin: 1.5rem 0 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 1.15rem !important;
}

.location-detail-item {
  display: flex !important;
  align-items: flex-start !important;
  gap: 1rem !important;
  font-size: 0.92rem !important;
  color: var(--slate-600) !important;
}

.location-icon-box {
  width: 36px !important;
  height: 36px !important;
  border-radius: 8px !important;
  background: #f1f5f9 !important;
  color: var(--kcd-navy-950) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
}

/* 6. About Page 2-Column Grid */
.about-grid {
  display: grid !important;
  grid-template-columns: 1.1fr 0.9fr !important;
  gap: 3.5rem !important;
  align-items: center !important;
}

@media (max-width: 880px) {
  .about-grid {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }
}


/* ==================== 2026 REVIEWS & PROGRAM TEMPLATES ==================== */
.reviews-grid-3col {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)) !important;
  gap: 1.75rem !important;
  margin-top: 1.5rem !important;
}

.review-item-card {
  background: #ffffff !important;
  border: 1px solid var(--slate-200) !important;
  border-radius: var(--radius-2xl) !important;
  padding: 1.75rem !important;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04) !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 1rem !important;
  transition: transform 0.25s ease, box-shadow 0.25s ease !important;
}

.review-item-card:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.08) !important;
}

.review-author-box {
  display: flex !important;
  align-items: center !important;
  gap: 0.85rem !important;
}

.review-avatar {
  width: 44px !important;
  height: 44px !important;
  border-radius: 50% !important;
  background: var(--kcd-navy-950) !important;
  color: #ffffff !important;
  font-family: var(--font-heading) !important;
  font-weight: 800 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 1rem !important;
  flex-shrink: 0 !important;
}

.review-stars {
  color: #f59e0b !important;
  font-size: 1.1rem !important;
  letter-spacing: 2px !important;
}

/* =============================================
   MANUAL EARNINGS CALCULATOR - 2026
   ============================================= */
.calc-mode-btn {
  padding: 0.55rem 0.5rem;
  border: 2px solid rgba(255,255,255,0.15);
  border-radius: 8px;
  background: rgba(255,255,255,0.06);
  color: var(--slate-300);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: all 0.2s ease;
  text-transform: uppercase;
}
.calc-mode-btn:hover {
  border-color: var(--accent-400);
  color: var(--accent-400);
  background: rgba(245,158,11,0.08);
}
.calc-mode-btn.active {
  border-color: var(--accent-400);
  background: var(--accent-400);
  color: var(--kcd-navy-950);
}

.form-input-manual {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 2px solid rgba(255,255,255,0.12);
  border-radius: 10px;
  background: rgba(255,255,255,0.06);
  color: #fff;
  font-family: var(--font-body);
  font-size: 1rem;
  transition: border-color 0.2s;
  box-sizing: border-box;
  -moz-appearance: textfield;
}
.form-input-manual::-webkit-outer-spin-button,
.form-input-manual::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.form-input-manual:focus {
  outline: none;
  border-color: var(--accent-400);
  background: rgba(255,255,255,0.1);
}
.form-input-manual::placeholder { color: rgba(255,255,255,0.35); }

.calc-mode-inputs { margin-top: 0.5rem; }

.calc-result-grid {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  margin: 1rem 0;
}
.calc-result-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.55rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.calc-result-row.annual-row {
  border-bottom: none;
  padding-top: 0.75rem;
}
.calc-result-label {
  font-size: 0.9rem;
  color: var(--slate-300);
  font-weight: 500;
}
.annual-row .calc-result-label {
  font-size: 1.05rem;
  color: var(--white);
  font-weight: 700;
}
.calc-result-value {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--white);
}
.annual-value {
  font-size: 2.2rem;
  color: var(--accent-400);
}
.calc-result-divider {
  height: 2px;
  background: linear-gradient(90deg, var(--accent-400), transparent);
  border-radius: 2px;
  margin: 0.4rem 0;
}
.calc-disclaimer {
  font-size: 0.75rem;
  color: var(--slate-400);
  margin: 0.75rem 0 0;
  line-height: 1.5;
}


/* ==================== 2026 CONTROLLED BLOG & ARTICLE IMAGE SIZES & ANTI-FACE CLIPPING ==================== */
.article-hero-banner {
  max-height: 520px !important;
  min-height: 280px !important;
  width: 100% !important;
  overflow: hidden !important;
  border-radius: var(--radius-xl) !important;
  margin-bottom: 2rem !important;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08) !important;
  background: #0f172a !important;
}

.article-hero-banner img {
  width: 100% !important;
  height: auto !important;
  max-height: 520px !important;
  min-height: 280px !important;
  object-fit: cover !important;
  object-position: center 15% !important; /* Preserves heads and faces from being cropped */
  display: block !important;
}

.article-content img {
  max-width: 100% !important;
  max-height: 450px !important;
  height: auto !important;
  object-fit: cover !important;
  object-position: center 15% !important;
  border-radius: var(--radius-lg) !important;
  margin: 1.75rem auto !important;
  display: block !important;
}

.blog-card-img-wrap {
  height: 220px !important;
  max-height: 220px !important;
  overflow: hidden !important;
  background: var(--slate-900);
}

.blog-card-img {
  height: 220px !important;
  max-height: 220px !important;
  width: 100% !important;
  object-fit: cover !important;
  object-position: center 15% !important; /* Always keeps faces and heads visible */
}

.blog-featured-img-wrap {
  max-height: 420px !important;
  height: auto !important;
  overflow: hidden !important;
  background: var(--slate-900);
}

.blog-featured-img-wrap img {
  max-height: 420px !important;
  height: 100% !important;
  width: 100% !important;
  object-fit: cover !important;
  object-position: center 15% !important;
}

@media (max-width: 768px) {
  .article-hero-banner, .article-hero-banner img {
    height: auto !important;
    max-height: 320px !important;
    min-height: 220px !important;
    object-position: center 15% !important;
  }
  .blog-featured-img-wrap, .blog-featured-img-wrap img {
    height: 250px !important;
    max-height: 250px !important;
    object-position: center 15% !important;
  }
}



/* ==================== 2026 HIGH-CONVERTING SALES & ENROLLMENT SHOWCASE ==================== */
.payment-plans-section {
  padding: 4.5rem 0 3.5rem 0;
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
  position: relative;
  overflow: hidden;
}

.payment-showcase-card {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3rem;
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 28px;
  padding: 3.5rem;
  box-shadow: 0 25px 60px -15px rgba(7, 18, 36, 0.07), 0 0 1px 1px rgba(0, 0, 0, 0.03);
  align-items: center;
  position: relative;
}

.payment-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(37, 99, 235, 0.08);
  color: var(--kcd-navy-600);
  border: 1px solid rgba(37, 99, 235, 0.2);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  margin-bottom: 1.25rem;
}

.payment-badge-dot {
  width: 7px;
  height: 7px;
  background: var(--kcd-navy-600);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--kcd-navy-600);
}

.payment-showcase-title {
  font-family: var(--font-heading);
  font-size: 2.35rem;
  font-weight: 900;
  color: var(--kcd-navy-950);
  line-height: 1.2;
  margin-bottom: 1rem;
}

.text-gradient-gold {
  background: linear-gradient(135deg, #d97706 0%, #b45309 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.payment-showcase-subtitle {
  font-size: 1.05rem;
  color: var(--slate-600);
  line-height: 1.65;
  margin-bottom: 2rem;
}

.payment-options-grid {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  margin-bottom: 2.25rem;
}

.payment-opt-card {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 1.25rem 1.5rem;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.payment-opt-card:hover {
  transform: translateX(4px);
  border-color: var(--kcd-navy-500);
  background: #ffffff;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

.payment-opt-icon {
  font-size: 1.6rem;
  background: #ffffff;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.payment-opt-card h4 {
  font-family: var(--font-heading);
  font-size: 1.08rem;
  font-weight: 800;
  color: var(--kcd-navy-950);
  margin-bottom: 0.25rem;
}

.payment-opt-card p {
  font-size: 0.88rem;
  color: var(--slate-600);
  line-height: 1.45;
  margin-bottom: 0.5rem;
}

.payment-opt-methods {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.pay-method-tag {
  background: #ffffff;
  color: var(--kcd-navy-950);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 6px;
  border: 1px solid #cbd5e1;
}

.payment-cta-row {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
}

/* Right Visual & Fast-Enrollment Column */
.payment-showcase-visual {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.payment-img-wrap {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
}

.payment-main-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.payment-floating-pill {
  position: absolute;
  bottom: 12px;
  left: 12px;
  right: 12px;
  background: rgba(7, 18, 36, 0.90);
  backdrop-filter: blur(10px);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  padding: 0.65rem 1rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.pill-icon {
  font-size: 1.25rem;
}

.pill-text strong {
  display: block;
  font-size: 0.85rem;
  color: #fbbf24;
}

.pill-text span {
  font-size: 0.75rem;
  color: var(--slate-300);
}

/* Fast Enrollment Summary Card (Pure Sales & Benefits) */
.fast-enrollment-card {
  background: linear-gradient(145deg, #071224 0%, #0f172a 100%);
  color: #ffffff;
  border-radius: 20px;
  padding: 1.75rem;
  box-shadow: 0 15px 35px rgba(7, 18, 36, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.fast-enrollment-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 0.75rem;
}

.fast-enrollment-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 8px;
}

.fast-enrollment-badge {
  background: rgba(16, 185, 129, 0.2);
  color: #34d399;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 999px;
  border: 1px solid rgba(16, 185, 129, 0.4);
}

.fast-enrollment-benefits {
  list-style: none;
  padding: 0;
  margin: 0 0 1.25rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.fast-enrollment-benefits li {
  font-size: 0.88rem;
  color: #e2e8f0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.fast-enrollment-benefits li strong {
  color: #fbbf24;
}

.fast-enrollment-action-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  background: #10b981;
  color: #ffffff;
  font-weight: 800;
  font-size: 0.95rem;
  padding: 0.85rem 1.25rem;
  border-radius: 12px;
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.35);
  transition: transform 0.2s ease, background 0.2s ease;
}

.fast-enrollment-action-btn:hover {
  background: #059669;
  transform: translateY(-2px);
}

@media (max-width: 980px) {
  .payment-showcase-card {
    grid-template-columns: 1fr;
    padding: 2rem;
    gap: 2rem;
  }
  .payment-showcase-title {
    font-size: 1.85rem;
  }
}


/* ==================== 2026 OFFICIAL STORE & PROGRAM CATALOG STYLING ==================== */
.store-hero-header {
  background: linear-gradient(135deg, #071224 0%, #0d1e38 100%);
  padding: 4.5rem 0 3.5rem;
  color: #ffffff;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.store-hero-header::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(217, 119, 6, 0.15) 0%, rgba(37, 99, 235, 0.05) 50%, transparent 70%);
  pointer-events: none;
}

.store-filter-bar {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin: 2.5rem 0 3rem;
}

.store-chip {
  background: #ffffff;
  color: var(--kcd-navy-950);
  border: 1px solid #e2e8f0;
  padding: 0.65rem 1.35rem;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
}

.store-chip:hover {
  border-color: var(--kcd-navy-600);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.store-chip.active {
  background: var(--kcd-navy-900);
  color: #ffffff;
  border-color: var(--kcd-navy-900);
  box-shadow: 0 4px 14px rgba(7, 18, 36, 0.25);
}

.store-products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.25rem;
  margin-bottom: 4rem;
}

@media (max-width: 1024px) {
  .store-products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 720px) {
  .store-products-grid {
    grid-template-columns: 1fr;
  }
}

.store-product-card {
  background: #ffffff;
  border-radius: 20px;
  border: 1px solid #e2e8f0;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  position: relative;
}

.store-product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(7, 18, 36, 0.1);
  border-color: var(--kcd-navy-400);
}

.store-card-img-wrap {
  position: relative;
  height: 220px;
  background: #071224;
  overflow: hidden;
}

.store-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.store-product-card:hover .store-card-img-wrap img {
  transform: scale(1.05);
}

.store-cat-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(7, 18, 36, 0.85);
  backdrop-filter: blur(8px);
  color: #fbbf24;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  padding: 4px 10px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.store-card-body {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.store-card-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--kcd-navy-950);
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.store-card-desc {
  font-size: 0.9rem;
  color: var(--slate-600);
  line-height: 1.55;
  margin-bottom: 1.25rem;
}

.store-features-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  font-size: 0.84rem;
  color: var(--slate-700);
}

.store-features-list li {
  display: flex;
  align-items: center;
  gap: 6px;
}

.store-features-list li span.check {
  color: #10b981;
  font-weight: 900;
}

.store-payment-badge-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 0.5rem 0.85rem;
  margin-bottom: 1.25rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--slate-600);
}

.store-card-actions {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-top: auto;
}

.btn-pay-direct {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
  color: #ffffff !important;
  font-weight: 800 !important;
  font-size: 0.92rem !important;
  padding: 0.75rem 1rem !important;
  border-radius: 10px !important;
  text-align: center !important;
  text-decoration: none !important;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.3) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease !important;
  border: none !important;
  cursor: pointer !important;
}

.btn-pay-direct:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 18px rgba(16, 185, 129, 0.4) !important;
}

.btn-pay-placeholder {
  background: #f1f5f9 !important;
  color: #94a3b8 !important;
  font-weight: 700 !important;
  font-size: 0.9rem !important;
  padding: 0.75rem 1rem !important;
  border-radius: 10px !important;
  text-align: center !important;
  text-decoration: none !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  border: 1px dashed #cbd5e1 !important;
  cursor: pointer !important;
}

.btn-pay-placeholder:hover {
  background: #e2e8f0 !important;
  color: #64748b !important;
}

/* Instant Payment & Checkout Modal */
.kcd-payment-modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(7, 18, 36, 0.8);
  backdrop-filter: blur(6px);
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.kcd-payment-modal-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.kcd-payment-modal-card {
  background: #ffffff;
  border-radius: 24px;
  max-width: 540px;
  width: 100%;
  padding: 2.5rem;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
  position: relative;
  animation: kcdModalIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes kcdModalIn {
  from { transform: scale(0.92) translateY(15px); opacity: 0; }
  to { transform: scale(1) translateY(0); opacity: 1; }
}

.kcd-modal-close-btn {
  position: absolute;
  top: 18px;
  right: 18px;
  background: #f1f5f9;
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--slate-600);
  transition: background 0.2s ease;
}

.kcd-modal-close-btn:hover {
  background: #e2e8f0;
  color: var(--kcd-navy-950);
}

.kcd-modal-prog-badge {
  display: inline-block;
  background: rgba(37, 99, 235, 0.1);
  color: var(--kcd-navy-600);
  font-size: 0.78rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 6px;
  margin-bottom: 0.75rem;
}

.kcd-modal-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--kcd-navy-950);
  margin-bottom: 0.5rem;
}

.kcd-modal-desc {
  font-size: 0.92rem;
  color: var(--slate-600);
  line-height: 1.5;
  margin-bottom: 1.5rem;
}

.kcd-payment-method-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 1.15rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.kcd-payment-method-info strong {
  display: block;
  font-size: 0.95rem;
  color: var(--kcd-navy-950);
}

.kcd-payment-method-info span {
  font-size: 0.82rem;
  color: var(--slate-500);
}

/* ==========================================================================
   KCD 12 OFFICIAL ALBUMS & DYNAMIC GALLERY
   ========================================================================== */
.albums-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.75rem;
}

.gallery-album-card {
  position: relative;
  background: #ffffff;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
  border: 1.5px solid var(--slate-200);
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  display: flex;
  flex-direction: column;
}

.gallery-album-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
  border-color: var(--kcd-red-600);
}

.album-cover-wrap {
  position: relative;
  height: 240px;
  overflow: hidden;
  background: var(--slate-900);
}

.album-cover-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-album-card:hover .album-cover-img {
  transform: scale(1.08);
}

.album-overlay-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.1) 0%, rgba(7, 18, 36, 0.8) 100%);
  pointer-events: none;
}

.album-badge-count {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(7, 18, 36, 0.85);
  backdrop-filter: blur(8px);
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.2);
  z-index: 2;
}

.album-badge-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  z-index: 2;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.album-card-info {
  padding: 1.35rem 1.25rem 1.25rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.album-header-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.5rem;
}

.album-icon {
  font-size: 1.35rem;
}

.album-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--kcd-navy-950);
  margin: 0;
  line-height: 1.3;
}

.album-desc {
  font-size: 0.85rem;
  color: var(--slate-600);
  line-height: 1.5;
  margin: 0 0 1.25rem;
  flex: 1;
}

.album-card-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--slate-100);
  padding-top: 0.85rem;
  color: var(--kcd-red-600);
  font-weight: 700;
  font-size: 0.85rem;
}

.gallery-album-card:hover .album-card-action {
  color: var(--kcd-navy-950);
}

/* Album Active Banner */
.album-active-banner {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.75rem;
  margin-bottom: 2rem;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
  border: 1px solid var(--slate-200);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.btn-back-albums {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--slate-100);
  color: var(--slate-700);
  border: 1px solid var(--slate-300);
  border-radius: 8px;
  padding: 6px 14px;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  width: fit-content;
  transition: all 0.2s ease;
}

.btn-back-albums:hover {
  background: var(--kcd-red-600);
  color: #ffffff;
  border-color: var(--kcd-red-600);
}

.active-album-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--kcd-navy-950);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.active-album-badge {
  background: var(--kcd-navy-950);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 999px;
}

.active-album-desc {
  font-size: 0.95rem;
  color: var(--slate-600);
  margin: 0;
}

/* ==========================================================================
   OFFICIAL YOUTUBE CHANNEL EMBED & VIDEO GALLERY ARCHITECTURE
   Canal Oficial: @KCDTRAININGCDL (Kemex Training CDL)
   ========================================================================== */

.yt-channel-banner {
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid var(--slate-200);
  box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.06);
  padding: 1.5rem 1.75rem;
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  position: relative;
  overflow: hidden;
}

.yt-channel-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, #ff0000, #dc2626, #991b1b);
}

.yt-channel-profile-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.yt-channel-left {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.yt-channel-avatar-wrap {
  position: relative;
  width: 76px;
  height: 76px;
  flex-shrink: 0;
}

.yt-channel-avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #ffffff;
  box-shadow: 0 4px 12px rgba(0,0,0,0.12);
  background: #f1f5f9;
}

.yt-badge-play {
  position: absolute;
  bottom: -2px;
  right: -2px;
  width: 24px;
  height: 24px;
  background: #ff0000;
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  border: 2px solid #ffffff;
}

.yt-channel-meta-box {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.yt-channel-title-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.yt-channel-name {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--kcd-navy-950);
  margin: 0;
  letter-spacing: -0.02em;
}

.yt-verified-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  background: var(--slate-400);
  color: #fff;
  border-radius: 50%;
  font-size: 10px;
  font-weight: 900;
}

.yt-channel-handle-stats {
  font-size: 0.88rem;
  color: var(--slate-500);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.yt-channel-desc {
  font-size: 0.88rem;
  color: var(--slate-600);
  margin: 0.2rem 0 0 0;
  max-width: 650px;
  line-height: 1.4;
}

.yt-channel-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.btn-yt-subscribe {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #0f0f0f;
  color: #ffffff !important;
  font-size: 0.88rem;
  font-weight: 700;
  padding: 0.6rem 1.25rem;
  border-radius: 999px;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.15s ease;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.btn-yt-subscribe:hover {
  background: #ff0000;
  transform: translateY(-1px);
}

.btn-yt-channel-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--slate-100);
  color: var(--slate-700) !important;
  font-size: 0.88rem;
  font-weight: 700;
  padding: 0.6rem 1.1rem;
  border-radius: 999px;
  text-decoration: none;
  border: 1px solid var(--slate-200);
  transition: all 0.2s ease;
}

.btn-yt-channel-link:hover {
  background: var(--slate-200);
  color: var(--slate-900) !important;
}

/* YouTube Interactive Toolbar (Tabs, Sort & Search) */
.yt-toolbar {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--slate-100);
}

.yt-toolbar-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.yt-tabs {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  overflow-x: auto;
  padding-bottom: 2px;
}

.yt-tab-pill {
  padding: 0.45rem 1rem;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 700;
  border: 1px solid transparent;
  background: var(--slate-100);
  color: var(--slate-700);
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  white-space: nowrap;
}

.yt-tab-pill:hover {
  background: var(--slate-200);
}

.yt-tab-pill.active {
  background: #0f0f0f;
  color: #ffffff;
}

.yt-sort-group {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  overflow-x: auto;
}

.yt-sort-label {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--slate-500);
  margin-right: 0.25rem;
  white-space: nowrap;
}

.yt-sort-chip {
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  background: #ffffff;
  color: var(--slate-700);
  border: 1px solid var(--slate-200);
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.yt-sort-chip:hover {
  background: var(--slate-50);
  border-color: var(--slate-300);
}

.yt-sort-chip.active {
  background: #dc2626;
  color: #ffffff;
  border-color: #dc2626;
}

.yt-search-box {
  position: relative;
  width: 100%;
  max-width: 320px;
}

.yt-search-input {
  width: 100%;
  padding: 0.5rem 1rem 0.5rem 2.25rem;
  border-radius: 8px;
  border: 1px solid var(--slate-200);
  background: var(--slate-50);
  font-size: 0.85rem;
  color: var(--slate-800);
  outline: none;
  transition: all 0.2s ease;
}

.yt-search-input:focus {
  background: #ffffff;
  border-color: #dc2626;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.12);
}

.yt-search-icon {
  position: absolute;
  left: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--slate-400);
  font-size: 0.85rem;
  pointer-events: none;
}

/* YouTube Video Cards Grid */
.yt-videos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.yt-video-card {
  background: #ffffff;
  border-radius: 12px;
  border: 1px solid var(--slate-200);
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  cursor: pointer;
  display: flex;
  flex-direction: column;
}

.yt-video-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px -4px rgba(15, 23, 42, 0.12);
  border-color: #fca5a5;
}

.yt-thumb-container {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 Standard */
  background: #0f172a;
  overflow: hidden;
}

.yt-video-card.is-short .yt-thumb-container {
  padding-top: 130%; /* Vertical Short Ratio */
}

.yt-thumb-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

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

.yt-overlay-hover {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.yt-video-card:hover .yt-overlay-hover {
  opacity: 1;
}

.yt-play-button-circle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #ff0000;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  box-shadow: 0 4px 16px rgba(255, 0, 0, 0.5);
  transform: scale(0.85);
  transition: transform 0.2s ease;
}

.yt-video-card:hover .yt-play-button-circle {
  transform: scale(1);
}

.yt-badge-duration {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(0, 0, 0, 0.85);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
  letter-spacing: 0.3px;
  z-index: 2;
}

.yt-badge-short {
  position: absolute;
  top: 8px;
  left: 8px;
  background: #ff0000;
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 4px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  z-index: 2;
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
}

.yt-card-content {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  justify-content: space-between;
}

.yt-card-title {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--kcd-navy-950);
  line-height: 1.35;
  margin: 0 0 0.5rem 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.2s ease;
}

.yt-video-card:hover .yt-card-title {
  color: #dc2626;
}

.yt-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--slate-500);
  font-weight: 600;
  border-top: 1px solid var(--slate-100);
  padding-top: 0.6rem;
  margin-top: 0.4rem;
}

.yt-card-stats {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.yt-card-watch-link {
  color: #dc2626;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
}

/* ==========================================================================
   INTERACTIVE YOUTUBE VIDEO MODAL PLAYER
   ========================================================================== */

.yt-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.yt-modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.yt-modal-dialog {
  background: #0f172a;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  width: 100%;
  max-width: 960px;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7);
  transform: scale(0.94) translateY(10px);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}

.yt-modal-overlay.active .yt-modal-dialog {
  transform: scale(1) translateY(0);
}

.yt-modal-dialog.is-short-dialog {
  max-width: 440px;
}

.yt-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1.25rem;
  background: rgba(15, 23, 42, 0.95);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.yt-modal-title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding-right: 1rem;
}

.yt-modal-close-btn {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease;
  flex-shrink: 0;
}

.yt-modal-close-btn:hover {
  background: #ff0000;
  transform: scale(1.1);
}

.yt-modal-player-wrap {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 */
  background: #000000;
}

.yt-modal-dialog.is-short-dialog .yt-modal-player-wrap {
  padding-top: 177.77%; /* 9:16 vertical */
}

.yt-modal-iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.yt-modal-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.25rem;
  background: #090e17;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  flex-wrap: wrap;
  gap: 0.5rem;
}

.yt-modal-external-link {
  color: #f87171;
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.yt-modal-external-link:hover {
  color: #ffffff;
  text-decoration: underline;
}

.yt-modal-kcd-cta {
  color: var(--slate-400);
  font-size: 0.82rem;
}

.yt-modal-kcd-cta a {
  color: var(--accent-400);
  font-weight: 700;
  text-decoration: none;
}

@media (max-width: 768px) {
  .yt-channel-banner {
    padding: 1.25rem 1rem;
  }
  .yt-channel-profile-row {
    flex-direction: column;
    align-items: flex-start;
  }
  .yt-toolbar-top {
    flex-direction: column;
    align-items: stretch;
  }
  .yt-search-box {
    max-width: 100%;
  }
  .yt-videos-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   KCD WHATSAPP LEAD CAPTURE MODAL
   ========================================================================== */
.kcd-lead-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(7, 18, 36, 0.78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, visibility 0.25s ease;
  visibility: hidden;
}

.kcd-lead-modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
}

.kcd-lead-modal-dialog {
  background: #ffffff;
  border-radius: 20px;
  max-width: 460px;
  width: 100%;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.1);
  overflow: hidden;
  transform: translateY(20px) scale(0.96);
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.kcd-lead-modal-overlay.active .kcd-lead-modal-dialog {
  transform: translateY(0) scale(1);
}

.kcd-lead-header {
  background: linear-gradient(135deg, #075e54 0%, #128c7e 50%, #071224 100%);
  color: #ffffff;
  padding: 1.25rem 1.5rem;
  position: relative;
}

.kcd-lead-badge-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}

.kcd-lead-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 3px 10px;
  border-radius: 999px;
}

.kcd-lead-close-btn {
  background: rgba(255, 255, 255, 0.12);
  border: none;
  color: #ffffff;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.kcd-lead-close-btn:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: scale(1.05);
}

.kcd-lead-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 0.35rem 0;
  line-height: 1.25;
}

.kcd-lead-subtitle {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.85);
  margin: 0;
  line-height: 1.4;
}

.kcd-lead-body {
  padding: 1.25rem 1.5rem;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.kcd-lead-form {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.kcd-lead-form-group {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  text-align: left;
}

.kcd-lead-label {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--slate-700);
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.kcd-lead-input-wrap {
  position: relative;
}

.kcd-lead-input,
.kcd-lead-select {
  width: 100%;
  padding: 0.65rem 0.85rem;
  border-radius: 10px;
  border: 1px solid var(--slate-300);
  background: var(--slate-50);
  font-size: 0.88rem;
  color: var(--slate-800);
  font-family: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  box-sizing: border-box;
}

.kcd-lead-input:focus,
.kcd-lead-select:focus {
  outline: none;
  background: #ffffff;
  border-color: #128c7e;
  box-shadow: 0 0 0 3px rgba(18, 140, 126, 0.15);
}

.kcd-lead-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

@media (max-width: 480px) {
  .kcd-lead-grid-2 {
    grid-template-columns: 1fr;
  }
}

.kcd-lead-security-note {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #166534;
  font-size: 0.72rem;
  padding: 0.45rem 0.75rem;
  border-radius: 8px;
  margin-top: 0.25rem;
  font-weight: 600;
}

.kcd-lead-submit-btn {
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
  color: #ffffff;
  border: none;
  border-radius: 999px;
  padding: 0.85rem 1.5rem;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  margin-top: 0.35rem;
  width: 100%;
}

.kcd-lead-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
  background: linear-gradient(135deg, #22c55e 0%, #0f766e 100%);
}

.kcd-lead-submit-btn:active {
  transform: translateY(0);
}

.kcd-lead-direct-skip {
  display: block;
  text-align: center;
  font-size: 0.75rem;
  color: var(--slate-400);
  margin-top: 0.5rem;
  text-decoration: none;
  transition: color 0.2s ease;
}

.kcd-lead-direct-skip:hover {
  color: var(--slate-600);
  text-decoration: underline;
}



/* ==========================================================================
   2026 PROFESSIONAL BLOG & ARTICLE SYSTEM (NO DUPLICATES, FULL GUIDES)
   ========================================================================== */

/* ==========================================================================
   DYNAMIC EDITORIAL BLOG SYSTEM (2026 FULL-WIDTH MODERN REDESIGN)
   ========================================================================== */

/* Full-width Section */
.blog-modern-section {
  background: #f8fafc;
  padding: 3rem 0 5rem;
}

/* Official FMCSA Mandate Notice Banner */
.blog-fmcsa-official-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
  border: 1px solid #bae6fd;
  border-left: 5px solid #0284c7;
  border-radius: 16px;
  padding: 1.25rem 1.75rem;
  margin-bottom: 2rem;
  box-shadow: 0 4px 16px rgba(2, 132, 199, 0.06);
}

.fmcsa-banner-left {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.fmcsa-banner-icon {
  font-size: 2.2rem;
  flex-shrink: 0;
  line-height: 1;
}

.fmcsa-banner-text {
  font-size: 0.94rem;
  color: #0c4a6e;
  line-height: 1.55;
}

.fmcsa-banner-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
  flex-wrap: wrap;
}

@media (max-width: 850px) {
  .blog-fmcsa-official-banner {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Category Filter Rail (Matching Gallery) */
.blog-category-filters-wrapper {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 1.15rem 1.5rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
  margin-bottom: 1.25rem;
}

.blog-filter-bar {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  overflow-x: auto;
  padding: 0.25rem 0.25rem 0.5rem 0.25rem;
  scrollbar-width: thin;
  scrollbar-color: var(--slate-300) transparent;
  -webkit-overflow-scrolling: touch;
}

.blog-filter-bar::-webkit-scrollbar {
  height: 4px;
}

.blog-filter-bar::-webkit-scrollbar-thumb {
  background: var(--slate-300);
  border-radius: 4px;
}

.blog-pill {
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
  color: var(--slate-700);
  padding: 0.5rem 1.15rem;
  border-radius: 999px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  flex-shrink: 0;
  outline: none;
}

.blog-pill:hover {
  background: var(--slate-100);
  border-color: var(--slate-300);
  color: var(--slate-900);
  transform: translateY(-1px);
}

.blog-pill.active {
  background: var(--kcd-navy-950, #071224);
  color: #ffffff;
  border-color: var(--kcd-navy-950, #071224);
  box-shadow: 0 4px 14px rgba(7, 18, 36, 0.25);
}

/* Modern Blog Toolbar (Live Counter + Search) */
.blog-modern-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 0.85rem 1.5rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
  margin-bottom: 2rem;
}

.blog-status-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.blog-counter-pill {
  font-size: 0.9rem;
  color: var(--kcd-navy-950, #071224);
  font-weight: 700;
}

.blog-verified-badge {
  font-size: 0.82rem;
  color: #16a34a;
  font-weight: 700;
  background: rgba(22, 163, 74, 0.08);
  padding: 4px 10px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.blog-modern-search {
  position: relative;
  min-width: 280px;
  max-width: 400px;
  flex-grow: 1;
}

.blog-modern-search input {
  width: 100%;
  padding: 0.6rem 1rem 0.6rem 2.45rem;
  border-radius: 999px;
  border: 1.5px solid #cbd5e1;
  font-size: 0.88rem;
  outline: none;
  background: #f8fafc;
  transition: all 0.2s ease;
  box-sizing: border-box;
}

.blog-modern-search input:focus {
  border-color: #0284c7;
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
}

.blog-modern-search .search-icon {
  position: absolute;
  left: 0.9rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.95rem;
  opacity: 0.55;
  pointer-events: none;
}

/* ==========================================================================
   BLOG VIP FEATURED HIGHLIGHT CARD (Matches YouTube Card in Gallery)
   ========================================================================== */
.blog-vip-featured-card {
  grid-column: 1 / -1;
  background: linear-gradient(135deg, #071224 0%, #0f172a 55%, #1e1b4b 100%);
  border: 1px solid rgba(239, 68, 68, 0.45) !important;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 16px 40px -8px rgba(0, 0, 0, 0.35), 0 4px 16px rgba(220, 38, 38, 0.15);
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  color: #ffffff;
  margin-bottom: 0.75rem;
}

.blog-vip-featured-card:hover {
  transform: translateY(-4px);
  border-color: #ef4444 !important;
  box-shadow: 0 22px 50px -6px rgba(220, 38, 38, 0.35), 0 8px 24px rgba(0, 0, 0, 0.5);
}

.blog-vip-inner {
  padding: 2.25rem 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.blog-vip-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.blog-vip-pill-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: #dc2626;
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.5px;
  padding: 5px 14px;
  border-radius: 999px;
  text-transform: uppercase;
  box-shadow: 0 2px 10px rgba(220, 38, 38, 0.5);
}

.blog-vip-stats-tag {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.82rem;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.08);
  padding: 4px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.blog-vip-main-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

.blog-vip-left h3 {
  font-family: var(--font-heading);
  font-size: 1.65rem;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 0.65rem 0;
  line-height: 1.25;
}

.blog-vip-left p {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0 0 1.25rem 0;
}

.blog-vip-features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem 1rem;
  margin-bottom: 1.5rem;
}

.vip-feat-item {
  font-size: 0.84rem;
  color: #93c5fd;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.blog-vip-cta-group {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-blog-vip-action {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #dc2626;
  color: #ffffff;
  font-weight: 800;
  font-size: 0.9rem;
  padding: 0.7rem 1.5rem;
  border-radius: 8px;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(220, 38, 38, 0.4);
  transition: transform 0.2s ease, background 0.2s ease;
}

.btn-blog-vip-action:hover {
  background: #b91c1c;
  transform: translateY(-2px);
}

.btn-blog-vip-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 0.65rem 1.25rem;
  border-radius: 8px;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.2s ease;
}

.btn-blog-vip-secondary:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.35);
}

.blog-vip-thumb-box {
  position: relative;
  width: 100%;
  height: 260px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  background: #000;
}

.blog-vip-thumb-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  transition: transform 0.5s ease;
}

.blog-vip-featured-card:hover .blog-vip-thumb-box img {
  transform: scale(1.06);
}

.blog-vip-badge-overlay {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(7, 18, 36, 0.88);
  color: #38bdf8;
  padding: 5px 12px;
  border-radius: 6px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  backdrop-filter: blur(6px);
  border: 1px solid rgba(56, 189, 248, 0.3);
}

@media (max-width: 900px) {
  .blog-vip-main-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .blog-vip-thumb-box {
    height: 200px;
  }
  .blog-vip-inner {
    padding: 1.5rem;
  }
  .blog-vip-features-grid {
    grid-template-columns: 1fr;
  }
}

/* Full-Width Bottom Enrollment Banner */
.blog-bottom-enrollment-cta {
  background: linear-gradient(135deg, #071224 0%, #0c1a30 50%, #112240 100%);
  padding: 4.5rem 0;
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.blog-bottom-enrollment-cta::after {
  content: '';
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  background: radial-gradient(circle at 85% 20%, rgba(220, 38, 38, 0.15) 0%, transparent 50%),
              radial-gradient(circle at 15% 80%, rgba(37, 99, 235, 0.12) 0%, transparent 40%);
  pointer-events: none;
}

.blog-enrollment-box {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 3.5rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.blog-enrollment-badge {
  display: inline-block;
  background: rgba(220, 38, 38, 0.2);
  color: #f87171;
  font-size: 0.78rem;
  font-weight: 800;
  padding: 4px 14px;
  border-radius: 999px;
  letter-spacing: 0.5px;
  margin-bottom: 0.85rem;
  border: 1px solid rgba(220, 38, 38, 0.35);
}

.blog-enrollment-title {
  font-family: var(--font-heading);
  font-size: 2.15rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.25;
  margin-bottom: 0.85rem;
}

.blog-enrollment-desc {
  font-size: 0.98rem;
  color: #cbd5e1;
  line-height: 1.65;
  margin-bottom: 1.5rem;
}

.blog-enrollment-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.blog-enrollment-pills span {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #f1f5f9;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 5px 13px;
  border-radius: 999px;
}

.blog-enrollment-actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.75rem;
  border-radius: 18px;
  backdrop-filter: blur(10px);
}

.blog-enrollment-locations {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.82rem;
  color: #94a3b8;
  text-align: center;
}

@media (max-width: 950px) {
  .blog-enrollment-box {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* Enhanced Blog Card Elements */
.blog-card {
  transition: transform 0.25s ease, box-shadow 0.25s ease !important;
}

.blog-card:hover {
  transform: translateY(-5px) !important;
  box-shadow: 0 15px 35px rgba(0,0,0,0.08) !important;
}

.blog-card-meta-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: #64748b;
  margin-bottom: 0.6rem;
}

.blog-card-badge {
  display: inline-block;
  padding: 3px 9px;
  border-radius: 6px;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.badge-pretrip { background: rgba(5, 150, 105, 0.1); color: #059669; }
.badge-manual { background: rgba(217, 119, 6, 0.1); color: #d97706; }
.badge-hazmat { background: rgba(220, 38, 38, 0.1); color: #dc2626; }
.badge-eldt { background: rgba(37, 99, 235, 0.1); color: #2563eb; }
.badge-upgrade { background: rgba(124, 58, 237, 0.1); color: #7c3aed; }

/* In-Article Editorial Typography & Components */
.article-lead {
  font-size: 1.15rem;
  line-height: 1.75;
  color: #334155;
  font-weight: 500;
  margin-bottom: 1.75rem;
  border-left: 4px solid #0284c7;
  padding-left: 1.25rem;
}

.article-alert {
  display: flex;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  border-radius: 12px;
  margin: 1.75rem 0;
  line-height: 1.6;
}

.article-alert.info {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-left: 5px solid #2563eb;
  color: #1e3a8a;
}

.article-alert.warning {
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-left: 5px solid #d97706;
  color: #78350f;
}

.article-alert .alert-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}

.article-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.75rem 0;
  font-size: 0.92rem;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.article-table th {
  background: #0c1a30;
  color: #ffffff;
  text-align: left;
  padding: 0.85rem 1rem;
  font-weight: 700;
}

.article-table td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid #e2e8f0;
  color: #334155;
  vertical-align: top;
}

.article-table tr:nth-child(even) {
  background: #f8fafc;
}

.article-steps {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin: 1.75rem 0;
}

.step-card {
  display: flex;
  gap: 1.25rem;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 1.25rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}

.step-number {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #0c1a30;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.step-content h4 {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
  color: #0f172a;
  font-weight: 700;
}

.step-content p {
  margin: 0;
  font-size: 0.92rem;
  color: #475569;
  line-height: 1.6;
}

.feature-checklist {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 1.75rem 0;
}

.checklist-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: #f8fafc;
  padding: 1rem;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
}

.check-icon {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #dcfce7;
  color: #16a34a;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.article-pro-tip {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-left: 5px solid #16a34a;
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
  margin: 2rem 0;
}

.article-pro-tip h4 {
  color: #166534;
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
  font-weight: 800;
}

.article-pro-tip p {
  color: #14532d;
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.6;
}

.article-cta-box {
  background: linear-gradient(135deg, #071224 0%, #0f172a 100%);
  color: #ffffff;
  border-radius: 16px;
  padding: 2.25rem 2rem;
  margin: 2.5rem 0;
  text-align: center;
  box-shadow: 0 10px 30px rgba(7, 18, 36, 0.15);
}

.article-cta-box h3 {
  color: #ffffff;
  font-size: 1.45rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
}

.article-cta-box p {
  color: #cbd5e1;
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.related-posts-section {
  margin-top: 3.5rem;
  padding-top: 2.5rem;
  border-top: 2px solid #e2e8f0;
}

.related-posts-section h3 {
  font-size: 1.5rem;
  font-weight: 800;
  color: #071224;
  margin-bottom: 1.5rem;
}

.related-posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}


/* ==================== 2026 BLOG ENHANCEMENTS & TOC ==================== */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 1.75rem 0;
}

.sidebar-toc-widget {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg, 12px);
  padding: 1.25rem;
  margin-bottom: 1.75rem;
}

.sidebar-toc-widget h4 {
  font-family: var(--font-heading);
  color: #ffffff;
  font-size: 1.1rem;
  font-weight: 800;
  margin: 0.25rem 0 0.75rem;
}

#articleTocList {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.toc-link {
  color: #94a3b8;
  text-decoration: none;
  font-size: 0.86rem;
  line-height: 1.45;
  transition: all 0.2s ease;
  display: block;
  border-left: 2px solid transparent;
  padding-left: 0.6rem;
}

.toc-link:hover, .toc-link.active {
  color: var(--accent-400, #38bdf8);
  border-left-color: var(--accent-400, #38bdf8);
  padding-left: 0.85rem;
}

/* Ensure clean blog grid cards */
.blog-card {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.08) !important;
}

/* ==================== 2026 CLASS B TO A DUAL PHOTO HERO SHOWCASE ==================== */
.upgrade-dual-showcase {
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-2xl, 24px);
  padding: 1.15rem;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.45);
}

.upgrade-dual-grid {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.upgrade-truck-card {
  position: relative;
  background: rgba(255, 255, 255, 0.04);
  border-radius: var(--radius-xl, 18px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.upgrade-truck-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.25);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.upgrade-truck-card.highlight-target {
  border-color: rgba(56, 189, 248, 0.45);
  background: rgba(56, 189, 248, 0.06);
}

.upgrade-truck-img-wrap {
  position: relative;
  height: 195px;
  overflow: hidden;
  background: #071224;
}

.upgrade-truck-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.4s ease;
  display: block;
}

.upgrade-truck-card:hover .upgrade-truck-img-wrap img {
  transform: scale(1.04);
}

.upgrade-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  font-size: 0.74rem;
  font-weight: 800;
  padding: 5px 11px;
  border-radius: 999px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 2;
}

.badge-class-b {
  background: rgba(15, 23, 42, 0.88);
  color: #cbd5e1;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.badge-class-a {
  background: linear-gradient(135deg, #dc2626, #b91c1c);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 4px 12px rgba(220, 38, 38, 0.45);
}

.upgrade-truck-info {
  padding: 0.75rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.upgrade-truck-info strong {
  color: #f8fafc;
  font-size: 0.95rem;
  font-weight: 700;
  font-family: var(--font-heading);
}

.upgrade-truck-info span {
  color: #94a3b8;
  font-size: 0.8rem;
}

.upgrade-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: -0.25rem 0;
}

.upgrade-pulse-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: #34d399;
  font-size: 0.78rem;
  font-weight: 800;
  padding: 4px 13px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.pulse-dot {
  width: 6px;
  height: 6px;
  background: #34d399;
  border-radius: 50%;
  box-shadow: 0 0 8px #34d399;
  animation: pulseUpgrade 2s infinite;
}

@keyframes pulseUpgrade {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

@media (max-width: 600px) {
  .upgrade-truck-img-wrap {
    height: 170px;
  }
}
