/* Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* Primary Brand Colors - Premium Industrial */
  --deluxe-red: #b91c1c;
  --deluxe-red-dark: #991b1b;
  --deluxe-red-light: rgba(185, 28, 28, 0.08);
  --deluxe-blue: #1e5f8a;
  --deluxe-blue-dark: #164b6e;
  --deluxe-blue-light: rgba(30, 95, 138, 0.08);
  --pure-white: #ffffff;
  --soft-black: #1a1a2e;

  /* Secondary Colors - Refined Tones */
  --metallic-silver: #e2e8f0;
  --steel-gray: #64748b;
  --deep-green: #3f6a4a;
  --gold: #b8860b;
  --gold-light: rgba(184, 134, 11, 0.08);
  --crimson-red: #b55b4a;
  --safety-yellow: #e8c47c;

  /* Coolant Colors */
  --coolant-green: #5d8c6b;
  --coolant-red: #c27864;
  --coolant-blue: #5f8aa8;

  /* Accent Colors */
  --high-vis-orange: #e89c5c;
  --ice-blue: #aac9e0;

  /* Neutral Colors - Premium Slate Scale */
  --gray-dark: #334155;
  --gray-medium: #e2e8f0;
  --gray-light: #f1f5f9;
  --gray-text: #64748b;
  --warm-bg: #fafaf9;

  /* Background Colors - Warm Premium */
  --bg-white: #ffffff;
  --bg-light: #fafaf9;
  --bg-card: #ffffff;
  --bg-alt: #f8f7f4;
  --bg-dark: #0f172a;
  --bg-dark-card: #1e293b;

  /* Typography */
  --font-primary: "Montserrat", sans-serif;

  /* Premium Shadows - Layered depth */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.04), 0 1px 2px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.04), 0 2px 4px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.06), 0 4px 10px rgba(0, 0, 0, 0.04);
  --shadow-xl: 0 20px 50px rgba(0, 0, 0, 0.08), 0 8px 20px rgba(0, 0, 0, 0.04);
  --shadow-glow-red: 0 0 30px rgba(185, 28, 28, 0.15);
  --shadow-glow-blue: 0 0 30px rgba(30, 95, 138, 0.15);
  --shadow-glow-gold: 0 0 30px rgba(184, 134, 11, 0.15);

  /* Premium Transitions */
  --ease-premium: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
  --duration-fast: 200ms;
  --duration-normal: 300ms;
  --duration-slow: 500ms;

  /* Border Radius Scale */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-pill: 100px;
}

body {
  font-family: var(--font-primary);
  color: var(--soft-black);
  background-color: var(--bg-white);
  overflow-x: hidden;
  line-height: 1.5;
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(254, 253, 249, 0.96);
  backdrop-filter: blur(12px);
  z-index: 1000;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo {
  display: flex;
  align-items: center;
}

.logo-text {
  display: block;
  width: 136px;
  height: 38px;
  background: url("../assets/brand/deluxe-wordmark-color.png") center / contain
    no-repeat;
  color: transparent;
  font-size: 0;
  line-height: 0;
  overflow: hidden;
}

.navbar.light .logo-text {
  background-image: url("../assets/brand/deluxe-wordmark-color.png") !important;
}

.navbar.dark .logo-text,
.navbar.red .logo-text,
.navbar.blue .logo-text,
.navbar.gold .logo-text {
  background-image: url("../assets/brand/deluxe-wordmark-white.png") !important;
}

.logo-text span {
  font-size: 0.8rem;
  vertical-align: super;
  color: var(--deluxe-red);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-links a {
  text-decoration: none;
  color: var(--soft-black);
  font-weight: 500;
  font-size: 0.85rem;
  transition: color 0.2s ease;
  letter-spacing: -0.01em;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--slide-accent, var(--deluxe-red));
}

.language-selector {
  position: relative;
  margin-left: 0.5rem;
}

.lang-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  border: 1.5px solid var(--gray-medium);
  padding: 0.6rem 1rem;
  font-family: var(--font-primary);
  font-weight: 500;
  font-size: 0.8rem;
  cursor: pointer;
  transition: all 0.2s ease;
  background-color: transparent;
  border-radius: 2px;
  color: var(--soft-black);
}

.lang-btn:hover {
  border-color: var(--deluxe-red);
  color: var(--deluxe-red);
}

.lang-btn .lang-flag {
  font-size: 1rem;
}

.lang-btn svg {
  transition: transform 0.2s ease;
}

.lang-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 0.5rem;
  background: var(--bg-card);
  border: 1px solid var(--gray-medium);
  border-radius: 2px;
  box-shadow: var(--shadow-lg);
  min-width: 140px;
  z-index: 100;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.2s ease;
}

.language-selector.active .lang-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.language-selector.active .lang-btn svg {
  transform: rotate(180deg);
}

.lang-option {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.7rem 1rem;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 0.85rem;
  color: var(--soft-black);
}

.lang-option:hover {
  background: var(--gray-light);
  color: var(--deluxe-red);
}

.lang-option .lang-flag {
  font-size: 1rem;
}

.lang-option .lang-name {
  font-weight: 500;
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}

.hamburger span {
  width: 22px;
  height: 2px;
  background: var(--soft-black);
  transition: all 0.2s ease;
}

/* ============================================ */
/* NAVIGATION - WITH SMOOTH TRANSITIONS */
/* ============================================ */

:root {
  --navbar-light-bg: rgba(254, 253, 249, 0.96);
  --navbar-alt-bg: rgba(248, 246, 242, 0.96);
}

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform, background, backdrop-filter;
  backface-visibility: hidden;
}

/* Light navbar base - will be overridden by section-specific classes */
.navbar.light {
  background: var(--navbar-light-bg);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

/* Light navbar with alt background (for sections with bg-alt) */
.navbar.light.alt-bg {
  background: var(--navbar-alt-bg);
}

.navbar.light .logo-text,
.navbar.light .nav-links a,
.navbar.light .lang-btn {
  color: var(--soft-black);
}

.navbar.light .lang-btn {
  border: 1.5px solid var(--gray-medium);
}

.navbar.light .lang-btn:hover {
  border-color: var(--deluxe-red);
  color: var(--deluxe-red);
}

.navbar.light .hamburger span {
  background: var(--soft-black);
}

.navbar.light .lang-dropdown {
  background: var(--bg-card);
  border-color: var(--gray-medium);
}

.navbar.light .lang-option {
  color: var(--soft-black);
}

.navbar.light .lang-option:hover {
  background: var(--gray-light);
  color: var(--deluxe-red);
}

/* Dark navbar (for footer on mobile) */
.navbar.dark {
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.navbar.dark .logo-text,
.navbar.dark .nav-links a,
.navbar.dark .lang-btn {
  color: #ffffff;
}

.navbar.dark .lang-btn {
  border: 1.5px solid rgba(255, 255, 255, 0.2);
}

.navbar.dark .lang-btn:hover {
  border-color: var(--deluxe-red);
  color: var(--deluxe-red);
}

.navbar.dark .lang-dropdown {
  background: #1a1a1a;
  border-color: rgba(255, 255, 255, 0.1);
}

.navbar.dark .lang-option {
  color: #e5e5e5;
}

.navbar.dark .lang-option:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--deluxe-red);
}

.navbar.dark .hamburger span {
  background: #ffffff;
}

/* Red navbar (for hero slide 1) */
.navbar.red {
  background: rgba(194, 65, 12, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.navbar.red .logo-text,
.navbar.red .nav-links a,
.navbar.red .lang-btn {
  color: #ffffff;
}

.navbar.red .lang-btn {
  border: 1.5px solid rgba(255, 255, 255, 0.3);
}

.navbar.red .lang-btn:hover {
  border-color: #ffffff;
  color: #ffffff;
}

.navbar.red .lang-dropdown {
  background: #a3340a;
  border-color: rgba(255, 255, 255, 0.2);
}

.navbar.red .lang-option {
  color: #ffffff;
}

.navbar.red .lang-option:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

.navbar.red .hamburger span {
  background: #ffffff;
}

/* Blue navbar (for hero slide 2) */
.navbar.blue {
  background: rgba(44, 110, 158, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.navbar.blue .logo-text,
.navbar.blue .nav-links a,
.navbar.blue .lang-btn {
  color: #ffffff;
}

.navbar.blue .lang-btn {
  border: 1.5px solid rgba(255, 255, 255, 0.3);
}

.navbar.blue .lang-btn:hover {
  border-color: #ffffff;
  color: #ffffff;
}

.navbar.blue .lang-dropdown {
  background: #235a82;
  border-color: rgba(255, 255, 255, 0.2);
}

.navbar.blue .lang-option {
  color: #ffffff;
}

.navbar.blue .lang-option:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

.navbar.blue .hamburger span {
  background: #ffffff;
}

/* Gold navbar (for hero slide 3) */
.navbar.gold {
  background: rgba(201, 168, 124, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.navbar.gold .logo-text,
.navbar.gold .nav-links a,
.navbar.gold .lang-btn {
  color: #ffffff;
}

.navbar.gold .lang-btn {
  border: 1.5px solid rgba(255, 255, 255, 0.3);
}

.navbar.gold .lang-btn:hover {
  border-color: #ffffff;
  color: #ffffff;
}

.navbar.gold .lang-dropdown {
  background: #b58f5c;
  border-color: rgba(255, 255, 255, 0.2);
}

.navbar.gold .lang-option {
  color: #ffffff;
}

.navbar.gold .lang-option:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

.navbar.gold .hamburger span {
  background: #ffffff;
}

/* Active link styles for different navbar variants */
.navbar.red .nav-links a:hover,
.navbar.red .nav-links a.active,
.navbar.blue .nav-links a:hover,
.navbar.blue .nav-links a.active,
.navbar.gold .nav-links a:hover,
.navbar.gold .nav-links a.active {
  color: #ffffff;
  opacity: 0.9;
}

.navbar.dark .nav-links a:hover,
.navbar.dark .nav-links a.active {
  color: var(--slide-accent, var(--deluxe-red));
}

.navbar.light .nav-links a:hover,
.navbar.light .nav-links a.active {
  color: var(--slide-accent, var(--deluxe-red));
}

/* Ensure dropdowns also transition smoothly */
.navbar .lang-dropdown {
  transition:
    opacity 0.2s ease,
    visibility 0.2s ease,
    transform 0.2s ease;
}

/* ============================================ */
/* MOBILE NAVBAR STYLES */
/* ============================================ */

@media (max-width: 768px) {
  .logo-text {
    width: 112px;
    height: 30px;
  }

  /* Light navbar mobile menu */
  .navbar.light .nav-menu {
    background: var(--pure-white);
    border-left: 1px solid var(--gray-medium);
  }

  .navbar.light .nav-menu .nav-links a {
    color: var(--soft-black);
  }

  .navbar.light .nav-menu .nav-links a:hover,
  .navbar.light .nav-menu .nav-links a.active {
    color: var(--deluxe-red);
  }

  /* Dark navbar mobile menu */
  .navbar.dark .nav-menu {
    background: #0a0a0a;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
  }

  .navbar.dark .nav-menu .nav-links a {
    color: #ffffff;
  }

  .navbar.dark .nav-menu .nav-links a:hover,
  .navbar.dark .nav-menu .nav-links a.active {
    color: var(--deluxe-red);
  }

  /* Red, Blue, Gold navbar mobile menu - switches to white background for readability */
  .navbar.red .nav-menu,
  .navbar.blue .nav-menu,
  .navbar.gold .nav-menu {
    background: var(--pure-white);
    border-left: 1px solid var(--gray-medium);
  }

  .navbar.red .nav-menu .nav-links a,
  .navbar.blue .nav-menu .nav-links a,
  .navbar.gold .nav-menu .nav-links a {
    color: var(--soft-black);
  }

  .navbar.red .nav-menu .nav-links a:hover,
  .navbar.blue .nav-menu .nav-links a:hover,
  .navbar.gold .nav-menu .nav-links a:hover,
  .navbar.red .nav-menu .nav-links a.active,
  .navbar.blue .nav-menu .nav-links a.active,
  .navbar.gold .nav-menu .nav-links a.active {
    color: var(--deluxe-red);
  }

  /* Mobile menu hamburger for colored navbars */
  .navbar.red .hamburger span,
  .navbar.blue .hamburger span,
  .navbar.gold .hamburger span {
    background: #ffffff;
  }

  /* When menu is open on colored navbars, hamburger changes color */
  .navbar.red .nav-menu.active ~ .hamburger span,
  .navbar.blue .nav-menu.active ~ .hamburger span,
  .navbar.gold .nav-menu.active ~ .hamburger span {
    background: var(--soft-black);
  }

  /* Ensure navbar is visible on mobile */
  .navbar {
    transition:
      background 0.3s ease,
      backdrop-filter 0.3s ease;
  }
}

/* ============================================ */
/* ADDITIONAL NAVBAR FIXES */
/* ============================================ */

/* Ensure navbar is always on top */
.navbar {
  z-index: 1000;
}

/* Hero section specific */
.hero-slider {
  position: relative;
  z-index: 1;
}

/* Smooth transition for all navbar elements */
.navbar .logo-text,
.navbar .nav-links a,
.navbar .lang-btn,
.navbar .hamburger span {
  transition: all 0.3s ease;
}

/* Prevent layout shift during transition */
.navbar * {
  backface-visibility: hidden;
  -webkit-font-smoothing: subpixel-antialiased;
}

/* Ensure navbar background is visible when scrolling back */
.navbar.light,
.navbar.dark,
.navbar.red,
.navbar.blue,
.navbar.gold {
  transition:
    background 0.4s cubic-bezier(0.4, 0, 0.2, 1),
    backdrop-filter 0.4s cubic-bezier(0.4, 0, 0.2, 1),
    border-bottom-color 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Force styles to apply with high specificity */
.navbar.red,
.navbar.blue,
.navbar.gold,
.navbar.dark,
.navbar.light {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

/* Ensure text colors are applied with high specificity */
.navbar.red .logo-text,
.navbar.red .nav-links a,
.navbar.red .lang-btn,
.navbar.blue .logo-text,
.navbar.blue .nav-links a,
.navbar.blue .lang-btn,
.navbar.gold .logo-text,
.navbar.gold .nav-links a,
.navbar.gold .lang-btn {
  color: #ffffff !important;
}

.navbar.dark .logo-text,
.navbar.dark .nav-links a,
.navbar.dark .lang-btn {
  color: #ffffff !important;
}

.navbar.light .logo-text,
.navbar.light .nav-links a,
.navbar.light .lang-btn {
  color: var(--soft-black) !important;
}

/* Hero section specific */
.hero-slider {
  position: relative;
  z-index: 1;
}

/* Smooth transition for all navbar elements */
.navbar .logo-text,
.navbar .nav-links a,
.navbar .lang-btn,
.navbar .hamburger span {
  transition: all 0.3s ease;
}

/* Prevent layout shift during transition */
.navbar * {
  backface-visibility: hidden;
  -webkit-font-smoothing: subpixel-antialiased;
}

/* Ensure navbar background is visible when scrolling back */
.navbar.light,
.navbar.dark,
.navbar.red,
.navbar.blue,
.navbar.gold {
  transition:
    background 0.4s cubic-bezier(0.4, 0, 0.2, 1),
    backdrop-filter 0.4s cubic-bezier(0.4, 0, 0.2, 1),
    border-bottom-color 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Force styles to apply with high specificity */
.navbar.red,
.navbar.blue,
.navbar.gold,
.navbar.dark,
.navbar.light {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

/* Ensure text colors are applied with high specificity */
.navbar.red .logo-text,
.navbar.red .nav-links a,
.navbar.red .lang-btn,
.navbar.blue .logo-text,
.navbar.blue .nav-links a,
.navbar.blue .lang-btn,
.navbar.gold .logo-text,
.navbar.gold .nav-links a,
.navbar.gold .lang-btn {
  color: #ffffff !important;
}

.navbar.dark .logo-text,
.navbar.dark .nav-links a,
.navbar.dark .lang-btn {
  color: #ffffff !important;
}

.navbar.light .logo-text,
.navbar.light .nav-links a,
.navbar.light .lang-btn {
  color: var(--soft-black) !important;
}

/* Hero Slider */
.hero-slider {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  background: var(--bg-white);
}

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

/* Motion Background - Desktop Only */
.bg-motion {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
}

.motion-layer {
  position: absolute;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.motion-layer-1 {
  background: radial-gradient(
    ellipse at 20% 50%,
    rgba(185, 28, 28, 0.06) 0%,
    rgba(185, 28, 28, 0.02) 40%,
    transparent 70%
  );
  animation: pulseSoft 10s ease-in-out infinite;
}

.motion-layer-2 {
  background: radial-gradient(
    ellipse at 80% 40%,
    rgba(30, 95, 138, 0.06) 0%,
    rgba(30, 95, 138, 0.02) 40%,
    transparent 70%
  );
  animation: pulseSoft 13s ease-in-out infinite reverse;
}

/* Third motion layer for premium depth */
.motion-layer-1::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    circle at 50% 80%,
    rgba(184, 134, 11, 0.03) 0%,
    transparent 50%
  );
  animation: pulseSoft 16s ease-in-out infinite;
}

@keyframes pulseSoft {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.5;
  }
  50% {
    transform: scale(1.3);
    opacity: 1;
  }
}

/* Slides */
.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1),
    visibility 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.slide::-webkit-scrollbar {
  display: none;
}

.slide.active {
  opacity: 1;
  visibility: visible;
  position: absolute;
}

.slide-content {
  max-width: 1280px;
  margin: 0 auto;
  padding: 6rem 2rem 4rem;
  min-height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4rem;
  position: relative;
  z-index: 1;
}

/* Slide Text */
.slide-text {
  flex: 1;
  max-width: 560px;
}

.slide-badge {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 4px;
  margin-bottom: 1.5rem;
  font-weight: 700;
  display: inline-block;
  padding: 0.4rem 1.2rem;
  border-radius: var(--radius-pill);
  background: rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.06);
  backdrop-filter: blur(4px);
}

.slide-headline {
  font-size: 3.4rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1.4rem;
  color: var(--soft-black);
  letter-spacing: -0.03em;
}

/* Color Highlight Styles */
.highlight-red {
  color: var(--deluxe-red);
  position: relative;
  display: inline-block;
}

.highlight-blue {
  color: var(--deluxe-blue);
  position: relative;
  display: inline-block;
}

.highlight-gold {
  color: var(--gold);
  position: relative;
  display: inline-block;
}

.slide-subheadline {
  font-size: 1rem;
  color: var(--gray-text);
  line-height: 1.6;
  margin-bottom: 2rem;
  font-weight: 400;
}

.slide-buttons {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
}

a.btn-primary,
a.btn-secondary {
  text-decoration: none;
  display: inline-block;
  text-align: center;
}

.btn-primary,
.btn-secondary {
  padding: 0.9rem 2rem;
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: 0.85rem;
  border: none;
  cursor: pointer;
  transition: all var(--duration-normal) var(--ease-premium);
  letter-spacing: 0.02em;
  border-radius: var(--radius-sm);
  position: relative;
  overflow: hidden;
}

/* Shimmer effect on primary buttons */
.btn-primary::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.15),
    transparent
  );
  transition: left 0.6s ease;
}

.btn-primary:hover::after {
  left: 100%;
}

/* Red Button Styles */
.btn-red {
  background: linear-gradient(
    135deg,
    var(--deluxe-red) 0%,
    var(--deluxe-red-dark) 100%
  );
  color: var(--pure-white);
  box-shadow: 0 4px 15px rgba(185, 28, 28, 0.25);
}

.btn-red:hover {
  background: linear-gradient(135deg, var(--deluxe-red-dark) 0%, #7f1d1d 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(185, 28, 28, 0.35);
}

/* Blue Button Styles */
.btn-blue {
  background: linear-gradient(
    135deg,
    var(--deluxe-blue) 0%,
    var(--deluxe-blue-dark) 100%
  );
  color: var(--pure-white);
  box-shadow: 0 4px 15px rgba(30, 95, 138, 0.25);
}

.btn-blue:hover {
  background: linear-gradient(135deg, var(--deluxe-blue-dark) 0%, #0f3f5e 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(30, 95, 138, 0.35);
}

/* Gold Button Styles */
.btn-gold {
  background: linear-gradient(135deg, var(--gold) 0%, #996f00 100%);
  color: var(--pure-white);
  box-shadow: 0 4px 15px rgba(184, 134, 11, 0.25);
}

.btn-gold:hover {
  background: linear-gradient(135deg, #996f00 0%, #7a5900 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(184, 134, 11, 0.35);
}

.btn-secondary {
  background: transparent;
  color: var(--soft-black);
  border: 1.5px solid var(--gray-medium);
  backdrop-filter: blur(4px);
}

.btn-secondary:hover {
  border-color: var(--soft-black);
  background: rgba(0, 0, 0, 0.03);
  transform: translateY(-2px);
}

.slide-trust {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  padding-top: 1rem;
  border-top: 1px solid var(--gray-medium);
}

.slide-trust span {
  font-size: 0.75rem;
  color: var(--gray-text);
  font-weight: 500;
  letter-spacing: 0.3px;
}

/* Slide Visual - Desktop Only */
.slide-visual {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.floating-product {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: floatProduct 4s ease-in-out infinite;
}

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

.product-image {
  width: 100%;
  max-width: 380px;
  height: auto;
  filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.15));
  transition: transform 0.3s ease;
}

/* Colored Glow Effects */
.product-glow {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  filter: blur(40px);
  z-index: -1;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.red-glow {
  background: radial-gradient(
    circle,
    rgba(185, 28, 28, 0.35) 0%,
    rgba(185, 28, 28, 0.15) 40%,
    rgba(185, 28, 28, 0.05) 100%
  );
}

.blue-glow {
  background: radial-gradient(
    circle,
    rgba(30, 95, 138, 0.35) 0%,
    rgba(30, 95, 138, 0.15) 40%,
    rgba(30, 95, 138, 0.05) 100%
  );
}

.gold-glow {
  background: radial-gradient(
    circle,
    rgba(184, 134, 11, 0.35) 0%,
    rgba(184, 134, 11, 0.15) 40%,
    rgba(184, 134, 11, 0.05) 100%
  );
}

.slide.active .product-glow {
  opacity: 0.6;
  animation: glowPulse 3s ease-in-out infinite;
}

@keyframes glowPulse {
  0%,
  100% {
    opacity: 0.4;
    transform: scale(1);
  }
  50% {
    opacity: 0.8;
    transform: scale(1.1);
  }
}

/* Slider Controls */
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: var(--pure-white);
  border: 1px solid var(--gray-medium);
  width: 44px;
  height: 44px;
  cursor: pointer;
  transition: all 0.2s ease;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--soft-black);
  border-radius: 50%;
}

.slider-btn:hover {
  border-color: var(--slide-accent, var(--deluxe-red));
  background: var(--slide-accent, var(--deluxe-red));
  color: var(--pure-white);
  transform: translateY(-50%) scale(1.05);
}

.prev-btn {
  left: 1.5rem;
}

.next-btn {
  right: 1.5rem;
}

/* Slider Dots */
.slider-dots {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.75rem;
  z-index: 10;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gray-medium);
  cursor: pointer;
  transition: all var(--duration-normal) var(--ease-premium);
  position: relative;
}

.dot.active {
  width: 32px;
  border-radius: 10px;
  background: var(--slide-accent, var(--deluxe-red));
  box-shadow: 0 0 12px rgba(185, 28, 28, 0.3);
}

.dot:hover {
  background: var(--slide-accent, var(--deluxe-red));
  transform: scale(1.2);
}

/* ============================================ */
/* DESKTOP LAYOUT (769px and above) */
/* ============================================ */
@media (min-width: 769px) {
  .desktop-only {
    display: flex;
  }

  .slide-content {
    min-height: 100vh;
  }

  /* Larger product images on desktop */
  .product-image {
    max-width: 420px;
  }
}

/* ============================================ */
/* TABLET LAYOUT (769px - 1024px) */
/* ============================================ */
@media (min-width: 769px) and (max-width: 1024px) {
  .slide-headline {
    font-size: 2.8rem;
  }

  .slide-content {
    gap: 3rem;
    padding: 6rem 2rem 3rem;
  }

  .product-image {
    max-width: 320px;
  }

  .slider-btn {
    width: 40px;
    height: 40px;
  }

  .prev-btn {
    left: 1rem;
  }

  .next-btn {
    right: 1rem;
  }
}

/* Mobile Language Selector */
@media (max-width: 768px) {
  .language-selector {
    margin: 0;
    width: 100%;
    max-width: 160px;
  }

  .lang-btn {
    width: 100%;
    justify-content: center;
  }

  .lang-dropdown {
    top: auto;
    bottom: 100%;
    margin-top: 0;
    margin-bottom: 0.5rem;
  }

  .language-selector.active .lang-dropdown {
    transform: translateY(0);
  }
}

/* ============================================ */
/* MOBILE LAYOUT (768px and below) */
/* ============================================ */
@media (max-width: 768px) {
  /* Hide desktop elements */
  .desktop-only {
    display: none;
  }

  /* Fix hero slider height */
  .hero-slider {
    height: 100vh;
    position: relative;
    overflow: hidden;
  }

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

  /* Fix slide positioning */
  .slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
  }

  .slide::-webkit-scrollbar {
    width: 3px;
  }

  .slide::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
  }

  .slide::-webkit-scrollbar-thumb {
    background: var(--deluxe-red);
    border-radius: 3px;
  }

  /* Fix content positioning */
  .slide-content {
    min-height: 100%;
    padding: 5rem 1.5rem 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
  }

  /* Navigation Mobile */
  .hamburger {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--pure-white);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    transition: right 0.3s ease;
    box-shadow: var(--shadow-lg);
    z-index: 999;
    border-left: 1px solid var(--gray-medium);
  }

  .nav-menu.active {
    right: 0;
  }

  .nav-links {
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
  }

  .nav-links a {
    font-size: 1rem;
  }

  .nav-cta {
    width: 160px;
  }

  /* ============================================ */
  /* BACKGROUND - IMAGE CENTERED BEHIND TEXT */
  /* ============================================ */
  .slide {
    background-size: 75%;
    background-position: center 40%;
    background-repeat: no-repeat;
    background-color: #0a0a0a;
  }

  .slide[data-bg-image="slide1"] {
    background-image: url("/assets/home/Deluxe\ 5W40\ SP\ 4L\ .png");
  }

  .slide[data-bg-image="slide2"] {
    background-image: url("/assets/home/Deluxe\ 15W40\ CK-4\ 5L.png");
  }

  .slide[data-bg-image="slide3"] {
    background-image: url("/assets/home/Deluxe\ 25W60\ SN\ 5L.png");
  }

  /* Dark gradient overlay for text readability */
  .slide::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0.7) 0%,
      rgba(0, 0, 0, 0.4) 20%,
      rgba(0, 0, 0, 0.3) 40%,
      rgba(0, 0, 0, 0.4) 60%,
      rgba(0, 0, 0, 0.7) 80%,
      rgba(0, 0, 0, 0.85) 100%
    );
    z-index: 0;
    pointer-events: none;
  }

  /* TEXT STYLES - Enhanced Readability */
  .slide-text {
    position: relative;
    z-index: 2;
    max-width: 360px;
    margin: 0 auto;
    text-align: center;
    padding: 2rem 1rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
  }

  .slide-badge {
    font-size: 0.75rem;
    letter-spacing: 3px;
    margin-bottom: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(4px);
  }

  /* Badge colors per slide */
  .slide[data-bg-image="slide1"] .slide-badge {
    color: var(--deluxe-red);
    border-left: 2px solid var(--deluxe-red);
    border-right: 2px solid var(--deluxe-red);
    background: rgba(0, 0, 0, 0.5);
  }

  .slide[data-bg-image="slide2"] .slide-badge {
    color: var(--deluxe-blue);
    border-left: 2px solid var(--deluxe-blue);
    border-right: 2px solid var(--deluxe-blue);
    background: rgba(0, 0, 0, 0.5);
  }

  .slide[data-bg-image="slide3"] .slide-badge {
    color: var(--gold);
    border-left: 2px solid var(--gold);
    border-right: 2px solid var(--gold);
    background: rgba(0, 0, 0, 0.5);
  }

  .slide-headline {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--pure-white);
    letter-spacing: -0.02em;
    line-height: 1.3;
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.6);
  }

  /* Highlight colors with extra glow */
  .highlight-red {
    color: var(--deluxe-red);
    text-shadow: 0 0 15px rgba(194, 65, 12, 0.5);
  }

  .highlight-blue {
    color: var(--deluxe-blue);
    text-shadow: 0 0 15px rgba(44, 110, 158, 0.5);
  }

  .highlight-gold {
    color: var(--gold);
    text-shadow: 0 0 15px rgba(201, 168, 124, 0.5);
  }

  .slide-subheadline {
    font-size: 0.95rem;
    margin-bottom: 1.8rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.4);
  }

  .slide-buttons {
    flex-direction: column;
    gap: 0.85rem;
    margin-bottom: 1.8rem;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
    text-align: center;
    justify-content: center;
    padding: 0.9rem 1.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 40px;
    transition: all 0.2s ease;
  }

  /* Primary button colors per slide */
  .slide[data-bg-image="slide1"] .btn-primary {
    background: var(--deluxe-red);
    box-shadow: 0 4px 15px rgba(194, 65, 12, 0.3);
  }

  .slide[data-bg-image="slide2"] .btn-primary {
    background: var(--deluxe-blue);
    box-shadow: 0 4px 15px rgba(44, 110, 158, 0.3);
  }

  .slide[data-bg-image="slide3"] .btn-primary {
    background: var(--gold);
    box-shadow: 0 4px 15px rgba(201, 168, 124, 0.3);
  }

  .btn-primary:hover {
    transform: translateY(-2px);
    filter: brightness(110%);
  }

  .btn-secondary {
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--pure-white);
  }

  .btn-secondary:hover {
    background: rgba(0, 0, 0, 0.8);
    border-color: rgba(255, 255, 255, 0.6);
    transform: translateY(-2px);
  }

  .slide-trust {
    justify-content: center;
    gap: 1rem;
    padding-top: 1.2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
  }

  .slide-trust span {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    letter-spacing: 0.5px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    background: rgba(0, 0, 0, 0.3);
    padding: 0.25rem 0.6rem;
    border-radius: 20px;
  }

  /* Slider Controls Mobile */
  .slider-btn {
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    border-color: rgba(255, 255, 255, 0.3);
    color: var(--pure-white);
    z-index: 20;
  }

  .slider-btn:hover {
    background: var(--slide-accent, var(--deluxe-red));
    border-color: transparent;
  }

  .prev-btn {
    left: 0.75rem;
  }

  .next-btn {
    right: 0.75rem;
  }

  .slider-dots {
    bottom: 1.25rem;
    gap: 0.6rem;
    z-index: 20;
  }

  .dot {
    width: 6px;
    height: 6px;
    background: rgba(255, 255, 255, 0.5);
  }

  .dot.active {
    width: 24px;
    background: var(--pure-white);
  }

  .dot:hover {
    background: var(--pure-white);
  }
}

/* ============================================ */
/* SMALL MOBILE (480px and below) */
/* ============================================ */
@media (max-width: 480px) {
  .slide-text {
    max-width: 320px;
    padding: 1.5rem 0.5rem;
  }

  .slide-headline {
    font-size: 1.6rem;
  }

  .slide-subheadline {
    font-size: 0.85rem;
  }

  .slide-badge {
    font-size: 0.65rem;
    padding: 0.2rem 0.6rem;
  }

  .slide-trust span {
    font-size: 0.6rem;
    padding: 0.2rem 0.5rem;
  }

  .btn-primary,
  .btn-secondary {
    padding: 0.75rem 1.25rem;
    font-size: 0.85rem;
  }

  /* Adjust background size for very small screens */
  .slide {
    background-size: 80%;
    background-position: center 35%;
  }
}

/* ============================================ */
/* DESKTOP LARGE (1400px and above) */
/* ============================================ */
@media (min-width: 1400px) {
  .slide-headline {
    font-size: 3.8rem;
  }

  .slide-subheadline {
    font-size: 1.1rem;
  }

  /* Even larger images on very large screens */
  .product-image {
    max-width: 380px;
  }
}

/* ============================================ */
/* HERO PRODUCT IMAGE - DESKTOP ONLY */
/* ============================================ */

@media (min-width: 769px) {
  .slide-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 500px;
  }

  /* Main Product Image */
  .product-image {
    width: 100%;
    height: 460px;
    object-fit: contain;
    display: block;
    margin: 0 auto;
    filter: drop-shadow(0 25px 35px rgba(0, 0, 0, 0.18));
    transition: transform 0.4s ease;
  }

  /* Zoom effect */
  .slide.active .product-image {
    transform: scale(1.05);
  }

  /* Optional rotation */
  .slide:nth-child(1) .product-image {
    transform: rotate(-5deg);
  }

  .slide:nth-child(2) .product-image {
    transform: rotate(3deg);
  }

  .slide:nth-child(3) .product-image {
    transform: rotate(-3deg);
  }

  /* Keep rotation + zoom together */
  .slide.active:nth-child(1) .product-image {
    transform: rotate(-5deg) scale(1.05);
  }

  .slide.active:nth-child(2) .product-image {
    transform: rotate(3deg) scale(1.05);
  }

  .slide.active:nth-child(3) .product-image {
    transform: rotate(-3deg) scale(1.05);
  }
}

/* ============================================ */
/* LARGE SCREENS */
/* ============================================ */

@media (min-width: 1400px) {
  .product-image {
    height: 500px;
  }
}

/* ============================================ */
/* ACCESSIBILITY - Reduced Motion */
/* ============================================ */
@media (prefers-reduced-motion: reduce) {
  .motion-layer,
  .floating-product,
  .product-glow,
  .slider-btn,
  .btn-primary,
  .btn-secondary,
  .slide-text {
    animation: none !important;
    transition: none !important;
    transform: none !important;
  }
}

/* ============================================ */
/* FULL-SCREEN PRODUCT SHOWCASE - ZOOMED OUT */
/* ============================================ */

.product-showcase {
  width: 100%;
  height: 100vh;
  position: relative;
  overflow: hidden;
  background: var(--bg-white);
}

.showcase-container {
  width: 100%;
  height: 100%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 0;
  padding: 0;
  padding-top: 80px;
  box-sizing: border-box;
}

/* Cell Base Styles */
.showcase-cell {
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
}

/* Combined Cells - Spanning Multiple Columns */
.combined-cell {
  grid-column: span 2;
}

/* Remove individual cell padding since container handles it */
.showcase-cell:first-child,
.showcase-cell:nth-child(2) {
  padding-top: 0;
}

/* Adjust image cell content positioning */
.showcase-cell:first-child .full-image {
  margin-top: 0;
}

/* ============================================ */
/* IMAGE CELLS - Full Image with No Hover Effects */
/* ============================================ */

.image-cell {
  background: var(--bg-white);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
}

.full-image {
  width: 100%;
  height: 100%;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  transition: none;
}

/* Remove hover effects on desktop */
.image-cell:hover .full-image {
  transform: none;
}

/* Make BOTH Engine Oils and Gear Oils Images Larger on Desktop with Positioning */
/* Engine Oils Image (First Row, Column 1) - Move to the right */
.showcase-cell:first-child {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.showcase-cell:first-child .full-image {
  transform: scale(1.1);
  transform-origin: center left;
  margin-left: 15%;
}

/* Gear Oils Image (Second Row, Column 3 - Last Child) - Move up and left */
.showcase-cell:last-child {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.showcase-cell:last-child .full-image {
  transform: scale(1.1);
  transform-origin: center right;
  margin-top: -10%;
  margin-right: 15%;
}

/* ============================================ */
/* TEXT CELLS - Smaller Text, Zoomed Out */
/* ============================================ */

.text-cell {
  background: var(--bg-card);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.text-content {
  max-width: 85%;
  width: 100%;
}

.category-tag {
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--deluxe-red);
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.category-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--soft-black);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.category-description {
  font-size: 0.7rem;
  color: var(--gray-text);
  line-height: 1.4;
  margin-bottom: 1rem;
}

/* Combined Grid for Specifications and Features */
.combined-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--deluxe-red);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.category-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.category-specs span {
  font-size: 0.6rem;
  padding: 0.2rem 0.5rem;
  background: var(--gray-light);
  color: var(--gray-dark);
  border-radius: 2px;
  font-weight: 500;
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.65rem;
  color: var(--gray-text);
}

.feature-item svg {
  flex-shrink: 0;
  color: var(--deluxe-red);
  width: 12px;
  height: 12px;
}

.category-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--deluxe-red);
  text-decoration: none;
  transition: all 0.3s ease;
  border-bottom: 1px solid transparent;
  margin-top: 0.25rem;
}

.category-link:hover {
  gap: 0.6rem;
  border-bottom-color: var(--deluxe-red);
}

.category-link span {
  transition: transform 0.3s ease;
}

.category-link:hover span {
  transform: translateX(3px);
}

/* ============================================ */
/* RESPONSIVE DESIGN - PRESERVE GRID LAYOUT */
/* ============================================ */

/* Tablet (1024px and below) - Maintain Grid but Adjust Text Size */
@media (max-width: 1024px) {
  .product-showcase {
    height: 100vh;
    overflow: hidden;
  }

  .showcase-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 0;
    padding: 0;
    padding-top: 70px;
  }

  /* Keep grid structure, don't stack */
  .combined-cell {
    grid-column: span 2;
  }

  /* Reset positioning on tablet to prevent overflow */
  .showcase-cell:first-child {
    justify-content: center;
  }

  .showcase-cell:first-child .full-image {
    transform: scale(1.05);
    margin-left: 0;
  }

  .showcase-cell:last-child {
    align-items: center;
    justify-content: center;
  }

  .showcase-cell:last-child .full-image {
    transform: scale(1.05);
    margin-top: 0;
    margin-right: 0;
  }

  /* Adjust text sizes for tablet */
  .text-cell {
    padding: 1rem;
  }

  .category-title {
    font-size: 1.2rem;
  }

  .category-description {
    font-size: 0.6rem;
    margin-bottom: 0.75rem;
  }

  .combined-grid {
    gap: 0.75rem;
    margin-bottom: 0.75rem;
  }

  .section-subtitle {
    font-size: 0.55rem;
  }

  .category-specs span {
    font-size: 0.55rem;
    padding: 0.15rem 0.4rem;
  }

  .feature-item {
    font-size: 0.55rem;
    gap: 0.4rem;
  }

  .feature-item svg {
    width: 10px;
    height: 10px;
  }

  .category-link {
    font-size: 0.6rem;
  }
}

/* Mobile (768px and below) - Maintain Grid with Smaller Text */
@media (max-width: 768px) {
  .product-showcase {
    height: 100vh;
    overflow: hidden;
  }

  .showcase-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 0;
    padding: 0;
    padding-top: 60px;
  }

  /* Keep grid structure */
  .combined-cell {
    grid-column: span 2;
  }

  /* Reset positioning on mobile */
  .showcase-cell:first-child {
    justify-content: center;
  }

  .showcase-cell:first-child .full-image {
    transform: scale(1);
    margin-left: 0;
  }

  .showcase-cell:last-child {
    align-items: center;
    justify-content: center;
  }

  .showcase-cell:last-child .full-image {
    transform: scale(1);
    margin-top: 0;
    margin-right: 0;
  }

  /* Further reduce text sizes for mobile */
  .text-cell {
    padding: 0.75rem;
  }

  .category-tag {
    font-size: 0.5rem;
    margin-bottom: 0.3rem;
  }

  .category-title {
    font-size: 1rem;
    margin-bottom: 0.3rem;
  }

  .category-description {
    font-size: 0.5rem;
    margin-bottom: 0.6rem;
    line-height: 1.3;
  }

  .combined-grid {
    gap: 0.5rem;
    margin-bottom: 0.6rem;
  }

  .section-subtitle {
    font-size: 0.45rem;
    margin-bottom: 0.3rem;
  }

  .category-specs {
    gap: 0.25rem;
  }

  .category-specs span {
    font-size: 0.45rem;
    padding: 0.1rem 0.3rem;
  }

  .feature-list {
    gap: 0.25rem;
  }

  .feature-item {
    font-size: 0.45rem;
    gap: 0.3rem;
  }

  .feature-item svg {
    width: 8px;
    height: 8px;
  }

  .category-link {
    font-size: 0.5rem;
    margin-top: 0.15rem;
  }
}

/* Small Mobile (480px and below) - Ultra Compact Grid */
@media (max-width: 480px) {
  .showcase-container {
    padding-top: 55px;
  }

  .text-cell {
    padding: 0.5rem;
  }

  .category-tag {
    font-size: 0.45rem;
    letter-spacing: 1px;
  }

  .category-title {
    font-size: 0.85rem;
  }

  .category-description {
    font-size: 0.45rem;
    margin-bottom: 0.5rem;
  }

  .combined-grid {
    gap: 0.4rem;
    margin-bottom: 0.5rem;
  }

  .section-subtitle {
    font-size: 0.4rem;
  }

  .category-specs span {
    font-size: 0.4rem;
    padding: 0.1rem 0.25rem;
  }

  .feature-item {
    font-size: 0.4rem;
    gap: 0.25rem;
  }

  .feature-item svg {
    width: 7px;
    height: 7px;
  }

  .category-link {
    font-size: 0.45rem;
  }
}

/* Desktop Large (1400px and above) */
@media (min-width: 1400px) {
  .showcase-container {
    padding-top: 80px;
  }

  .text-content {
    max-width: 80%;
  }

  .category-title {
    font-size: 1.8rem;
  }

  .category-description {
    font-size: 0.8rem;
  }

  .section-subtitle {
    font-size: 0.75rem;
  }

  .category-specs span {
    font-size: 0.7rem;
  }

  .feature-item {
    font-size: 0.75rem;
  }

  /* Adjust positioning for extra large screens */
  .showcase-cell:first-child .full-image {
    transform: scale(1.15);
    margin-left: 18%;
  }

  .showcase-cell:last-child .full-image {
    transform: scale(1.15);
    margin-top: -12%;
    margin-right: 18%;
  }
}

/* ============================================ */
/* SCROLL SNAP FOR FULL SCREEN SECTIONS */
/* ============================================ */

html {
  scroll-snap-type: y mandatory;
  scroll-behavior: smooth;
}

.hero-slider,
.product-showcase {
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

/* Ensure sections take full viewport height */
.hero-slider {
  height: 100vh;
}

.product-showcase {
  height: 100vh;
}

/* ============================================ */
/* ANIMATIONS */
/* ============================================ */

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

.showcase-cell {
  animation: fadeIn 0.4s ease forwards;
  opacity: 0;
}

.showcase-cell:nth-child(1) {
  animation-delay: 0.05s;
}
.showcase-cell:nth-child(2) {
  animation-delay: 0.1s;
}
.showcase-cell:nth-child(3) {
  animation-delay: 0.15s;
}
.showcase-cell:nth-child(4) {
  animation-delay: 0.2s;
}

/* ============================================ */
/* GEAR OILS SECTION - YELLOW HIGHLIGHTS */
/* ============================================ */

/* Gear Oils Tag - Heavy Duty in Yellow */
.gear-tag {
  color: var(--coolant-green) !important;
}

/* Gear Oils Section Subtitles - Specifications & Key Features in Yellow */
.gear-highlight {
  color: var(--coolant-green) !important;
}

/* Gear Oils Link - Explore Gear Oils in Yellow */
.gear-link {
  color: var(--coolant-green) !important;
}

.gear-link:hover {
  color: var(--coolant-green) !important;
  border-bottom-color: var(--coolant-green) !important;
  gap: 0.6rem;
}

/* Keep the rest of the gear oils text in default color */
.text-cell[data-category="gear-oils-text"] .category-title {
  color: var(--soft-black);
}

.text-cell[data-category="gear-oils-text"] .category-description {
  color: var(--gray-text);
}

.text-cell[data-category="gear-oils-text"] .category-specs span {
  background: var(--gray-light);
  color: var(--gray-dark);
}

.text-cell[data-category="gear-oils-text"] .feature-item {
  color: var(--gray-text);
}

.text-cell[data-category="gear-oils-text"] .feature-item svg {
  color: var(--coolant-green);
}

/* ============================================ */
/* ACCESSIBILITY - Reduced Motion */
/* ============================================ */

@media (prefers-reduced-motion: reduce) {
  .showcase-cell,
  .full-image,
  .category-link {
    animation: none !important;
    transition: none !important;
    transform: none !important;
  }

  html {
    scroll-snap-type: none;
  }
}

/* ============================================ */
/* THIRD SECTION - CATEGORIES (3x2 GRID) */
/* ============================================ */

.categories-grid-section {
  width: 100%;
  height: 100vh;
  position: relative;
  overflow: hidden;
  background: var(--bg-white);
}

.categories-grid-container {
  width: 100%;
  height: 100%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 0;
  padding: 0;
  padding-top: 80px;
  box-sizing: border-box;
}

/* Grid Items */
.category-grid-item {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border-right: 1px solid var(--gray-medium);
  border-bottom: 1px solid var(--gray-medium);
  background: var(--bg-card);
}

/* Alternating Background Colors - Softer for 1, 3, 5 */
.category-grid-item:nth-child(1),
.category-grid-item:nth-child(2),
.category-grid-item:nth-child(3) {
  background: #ffffff;
}
.category-grid-item:nth-child(4),
.category-grid-item:nth-child(5),
.category-grid-item:nth-child(6) {
  background: var(--bg-card);
}

/* Remove borders for specific cells */
.category-grid-item:nth-child(3),
.category-grid-item:nth-child(6) {
  border-right: none;
}

.category-grid-item:nth-child(4),
.category-grid-item:nth-child(5),
.category-grid-item:nth-child(6) {
  border-bottom: none;
}

/* Inner Card Content */
.category-card-inner {
  text-align: center;
  padding: 2rem;
  transform: translateY(0);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.category-grid-item:hover .category-card-inner {
  transform: translateY(-8px);
}

/* Category Number */
.category-number {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 2px;
  color: var(--gray-text);
  margin-bottom: 1rem;
  font-family: var(--font-primary);
  transition: color 0.3s ease;
}

/* Category Number - Soft Background Items */
.category-grid-item:nth-child(4) .category-number,
.category-grid-item:nth-child(5) .category-number,
.category-grid-item:nth-child(6) .category-number {
  color: var(--gray-dark);
}

/* Category Number - Hover */
.category-grid-item:hover .category-number {
  color: var(--soft-black);
}

.category-grid-item:nth-child(4):hover .category-number,
.category-grid-item:nth-child(5):hover .category-number,
.category-grid-item:nth-child(6):hover .category-number {
  color: var(--soft-black);
}

/* Category Title */
.category-title-styled {
  font-size: 2rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
  font-family: var(--font-primary);
  transition: all 0.3s ease;
  position: relative;
  display: inline-block;
}

/* Individual Word Spans */
.title-word-1,
.title-word-2 {
  display: inline-block;
  transition: color 0.3s ease;
}

/* ============================================ */
/* DEFAULT WORD COLORS */
/* ============================================ */

/* White Background Items (Positions 2, 4, 6) - Default Soft Black */
.category-grid-item:nth-child(2) .title-word-1,
.category-grid-item:nth-child(2) .title-word-2,
.category-grid-item:nth-child(4) .title-word-1,
.category-grid-item:nth-child(4) .title-word-2,
.category-grid-item:nth-child(6) .title-word-1,
.category-grid-item:nth-child(6) .title-word-2 {
  color: var(--soft-black);
}

/* Soft Background Items (Positions 1, 3, 5) - Default Soft Black */
.category-grid-item:nth-child(1) .title-word-1,
.category-grid-item:nth-child(1) .title-word-2,
.category-grid-item:nth-child(3) .title-word-1,
.category-grid-item:nth-child(3) .title-word-2,
.category-grid-item:nth-child(5) .title-word-1 {
  color: var(--soft-black);
}

/* ============================================ */
/* HOVER EFFECTS - SECOND WORD CHANGES COLOR */
/* ============================================ */

/* Position 1 - Engine Oils */
.category-grid-item:nth-child(1):hover .title-word-1 {
  color: var(--soft-black);
}
.category-grid-item:nth-child(1):hover .title-word-2 {
  color: var(--deluxe-red) !important;
}

/* Position 2 - Gear Oils */
.category-grid-item:nth-child(2):hover .title-word-1 {
  color: var(--soft-black);
}
.category-grid-item:nth-child(2):hover .title-word-2 {
  color: var(--gold) !important;
}

/* Position 3 - Marine Oils */
.category-grid-item:nth-child(3):hover .title-word-1 {
  color: var(--soft-black);
}
.category-grid-item:nth-child(3):hover .title-word-2 {
  color: var(--coolant-blue) !important;
}

/* Position 4 - Hydraulic Oil */
.category-grid-item:nth-child(4):hover .title-word-1 {
  color: var(--soft-black);
}
.category-grid-item:nth-child(4):hover .title-word-2 {
  color: var(--steel-gray) !important;
}

/* Position 5 - Grease - Single word */
.category-grid-item:nth-child(5):hover .title-word-1 {
  color: var(--soft-black);
}

/* Position 6 - ATF & Brake Fluid */
.category-grid-item:nth-child(6):hover .title-word-1 {
  color: var(--soft-black);
}
.category-grid-item:nth-child(6):hover .title-word-2 {
  color: var(--crimson-red) !important;
}

/* Underline effect on hover */
.category-title-styled::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--soft-black);
  transition: width 0.3s ease;
}

.category-grid-item:hover .category-title-styled::after {
  width: 80%;
}

/* Category Divider */
.category-divider {
  width: 40px;
  height: 1px;
  background: var(--gray-medium);
  margin: 1rem auto;
  transition: all 0.3s ease;
}

.category-grid-item:hover .category-divider {
  width: 60px;
  background: var(--soft-black);
}

/* Category Badge */
.category-badge {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  color: var(--gray-text);
  text-transform: uppercase;
  font-family: var(--font-primary);
  transition: color 0.3s ease;
}

.category-grid-item:hover .category-badge {
  color: var(--soft-black);
}

/* Badge colors for soft background items (default) */
.category-grid-item:nth-child(1) .category-badge,
.category-grid-item:nth-child(3) .category-badge,
.category-grid-item:nth-child(5) .category-badge {
  color: var(--gray-dark);
}

/* Category View All Button */
.category-view-all {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--deluxe-red);
  text-decoration: none;
  transition: all 0.3s ease;
  margin-top: 1rem;
  padding: 0.4rem 0.8rem;
  background: rgba(194, 65, 12, 0.08);
  border-radius: 30px;
  letter-spacing: 0.3px;
}

.category-view-all:hover {
  gap: 0.7rem;
  background: var(--deluxe-red);
  color: var(--pure-white);
}

/* For soft background items (positions 1, 3, 5) */
.category-grid-item:nth-child(1) .category-view-all,
.category-grid-item:nth-child(3) .category-view-all,
.category-grid-item:nth-child(5) .category-view-all {
  background: rgba(44, 110, 158, 0.08);
  color: var(--deluxe-blue);
}

.category-grid-item:nth-child(1) .category-view-all:hover,
.category-grid-item:nth-child(3) .category-view-all:hover,
.category-grid-item:nth-child(5) .category-view-all:hover {
  background: var(--deluxe-blue);
  color: var(--pure-white);
}

/* For Gear Oils (position 2) - Gold theme */
.category-grid-item:nth-child(2) .category-view-all {
  background: rgba(201, 168, 124, 0.08);
  color: var(--gold);
}

.category-grid-item:nth-child(2) .category-view-all:hover {
  background: var(--gold);
  color: var(--pure-white);
}

/* For Hydraulic Oil (position 4) - Steel Gray theme */
.category-grid-item:nth-child(4) .category-view-all {
  background: rgba(107, 124, 111, 0.08);
  color: var(--steel-gray);
}

.category-grid-item:nth-child(4) .category-view-all:hover {
  background: var(--steel-gray);
  color: var(--pure-white);
}

/* For ATF & Brake Fluid (position 6) - Crimson theme */
.category-grid-item:nth-child(6) .category-view-all {
  background: rgba(181, 91, 74, 0.08);
  color: var(--crimson-red);
}

.category-grid-item:nth-child(6) .category-view-all:hover {
  background: var(--crimson-red);
  color: var(--pure-white);
}

/* Mobile adjustments */
@media (max-width: 768px) {
  .category-view-all {
    font-size: 0.6rem;
    padding: 0.3rem 0.7rem;
    margin-top: 0.8rem;
  }
}
/* ============================================ */
/* RESPONSIVE DESIGN - CATEGORIES */
/* ============================================ */

/* Tablet (1024px and below) */
@media (max-width: 1024px) {
  .categories-grid-section {
    height: 100vh;
    overflow: hidden;
  }

  .categories-grid-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 0;
    padding: 0;
    padding-top: 70px;
  }

  .category-card-inner {
    padding: 1.5rem;
  }

  .category-number {
    font-size: 0.7rem;
    margin-bottom: 0.75rem;
  }

  .category-title-styled {
    font-size: 1.4rem;
  }

  .category-badge {
    font-size: 0.6rem;
  }

  .category-divider {
    width: 30px;
    margin: 0.75rem auto;
  }
}

/* Mobile (768px and below) */
@media (max-width: 768px) {
  .categories-grid-section {
    height: 100vh;
    overflow: hidden;
  }

  .categories-grid-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 0;
    padding: 0;
    padding-top: 60px;
  }

  .category-card-inner {
    padding: 1rem;
  }

  .category-number {
    font-size: 0.6rem;
    margin-bottom: 0.5rem;
  }

  .category-title-styled {
    font-size: 1rem;
    margin-bottom: 0.5rem;
  }

  .category-title-styled::after {
    bottom: -4px;
  }

  .category-divider {
    width: 25px;
    margin: 0.5rem auto;
  }

  .category-badge {
    font-size: 0.5rem;
  }

  .category-grid-item:hover .category-card-inner {
    transform: translateY(-4px);
  }
}

/* Small Mobile (480px and below) */
@media (max-width: 480px) {
  .categories-grid-container {
    padding-top: 55px;
  }

  .category-card-inner {
    padding: 0.75rem;
  }

  .category-number {
    font-size: 0.5rem;
    margin-bottom: 0.4rem;
  }

  .category-title-styled {
    font-size: 0.8rem;
    margin-bottom: 0.4rem;
  }

  .category-divider {
    width: 20px;
    margin: 0.4rem auto;
  }

  .category-badge {
    font-size: 0.45rem;
  }
}

/* Desktop Large (1400px and above) */
@media (min-width: 1400px) {
  .categories-grid-container {
    padding-top: 80px;
  }

  .category-card-inner {
    padding: 2.5rem;
  }

  .category-number {
    font-size: 1rem;
  }

  .category-title-styled {
    font-size: 2.2rem;
  }

  .category-badge {
    font-size: 0.8rem;
  }
}

/* ============================================ */
/* SCROLL SNAP FOR CATEGORIES */
/* ============================================ */

.categories-grid-section {
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

/* ============================================ */
/* ANIMATIONS - CATEGORIES */
/* ============================================ */

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

/* ============================================ */
/* TECHNOLOGY & INNOVATION SECTION - SIDE BY SIDE */
/* ============================================ */

.technology-section {
  width: 100%;
  height: 100vh;
  position: relative;
  background: var(--bg-alt);
  overflow: hidden;
}

.technology-container {
  max-width: 1400px;
  margin: 0 auto;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 100px 3rem 2rem;
  box-sizing: border-box;
  position: relative;
}

/* Section Header */
.technology-header {
  text-align: center;
  margin-bottom: 2rem;
  animation: fadeInUp 0.8s cubic-bezier(0.2, 0.9, 0.4, 1.1) forwards;
  z-index: 10;
  position: relative;
}

.tech-badge {
  display: inline-block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 4px;
  color: var(--deluxe-red);
  margin-bottom: 1rem;
  font-weight: 600;
  background: rgba(194, 65, 12, 0.08);
  padding: 0.3rem 1rem;
  border-radius: 30px;
}

.tech-title {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--soft-black);
  letter-spacing: -0.02em;
}

.tech-highlight {
  background: var(--deluxe-red);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
}

.tech-divider {
  width: 60px;
  height: 2px;
  background: var(--deluxe-red);
  margin: 1rem auto;
  border-radius: 2px;
}

.tech-subtitle {
  font-size: 1rem;
  color: var(--gray-text);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
  font-weight: 400;
}

/* Main Row - Slider and Footer Side by Side */
.technology-main-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  flex: 1;
  margin-top: 1rem;
}

/* 3D Slider Container */
.slider-3d-container {
  position: relative;
  flex: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1200px;
  min-height: 380px;
}

.slider-3d-wrapper {
  width: 100%;
  max-width: 700px;
  height: 380px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}

.slider-3d-track {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  transform-style: preserve-3d;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 3D Cards */
.slider-3d-card {
  position: absolute;
  width: 300px;
  background: var(--bg-card);
  backdrop-filter: blur(10px);
  border-radius: 28px;
  padding: 1.8rem;
  text-align: center;
  box-shadow: var(--shadow-xl);
  border: 1px solid rgba(194, 65, 12, 0.1);
  transition: all 0.3s ease;
  cursor: pointer;
}

.slider-3d-card:hover {
  transform: scale(1.02);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.12);
  border-color: rgba(194, 65, 12, 0.2);
}

/* Card Positions - 3D Rotation */
.slider-3d-card[data-position="0"] {
  transform: rotateY(0deg) translateZ(180px);
  z-index: 3;
  opacity: 1;
}

.slider-3d-card[data-position="1"] {
  transform: rotateY(120deg) translateZ(180px);
  z-index: 2;
  opacity: 0.7;
}

.slider-3d-card[data-position="2"] {
  transform: rotateY(240deg) translateZ(180px);
  z-index: 2;
  opacity: 0.7;
}

/* Card Content */
.tech-item-icon {
  width: 65px;
  height: 65px;
  background: rgba(194, 65, 12, 0.08);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  color: var(--deluxe-red);
}

.tech-item-icon svg {
  width: 32px;
  height: 32px;
}

.slider-3d-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--soft-black);
}

.slider-3d-desc {
  font-size: 0.8rem;
  color: var(--gray-text);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.slider-3d-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1rem;
  padding-top: 0.8rem;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.slider-3d-meta span {
  font-size: 0.65rem;
  padding: 0.2rem 0.6rem;
  background: rgba(194, 65, 12, 0.05);
  color: var(--gray-dark);
  border-radius: 20px;
  font-weight: 500;
}

/* Tech Footer Side - Vertical Layout */
.tech-footer-side {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding-left: 2rem;
  border-left: 1px solid rgba(0, 0, 0, 0.06);
}

.tech-stat {
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.stat-number {
  font-size: 2.2rem;
  font-weight: 800;
  background: var(--deluxe-red);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.02em;
  line-height: 1;
}

.stat-label {
  font-size: 0.75rem;
  color: var(--gray-text);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.stat-bar {
  width: 50px;
  height: 2px;
  background: var(--deluxe-red);
  border-radius: 2px;
  transition: width 0.3s ease;
}

.tech-stat:hover .stat-bar {
  width: 80px;
}

/* Hide Navigation Controls */
.slider-3d-nav,
.prev-3d,
.next-3d,
.slider-3d-dots,
.dot-3d {
  display: none !important;
}

/* ============================================ */
/* TECHNOLOGY SECTION - RESPONSIVE */
/* ============================================ */

/* Tablet (1024px and below) */
@media (max-width: 1024px) {
  .technology-section {
    height: auto;
    min-height: 100vh;
    overflow: visible;
  }

  .technology-container {
    padding: 90px 2rem 2rem;
    height: auto;
    min-height: 100vh;
  }

  .tech-title {
    font-size: 2rem;
  }

  .technology-main-row {
    flex-direction: column;
    gap: 1.5rem;
  }

  .slider-3d-container {
    width: 100%;
    min-height: 340px;
  }

  .slider-3d-wrapper {
    max-width: 600px;
    height: 340px;
  }

  .slider-3d-card {
    width: 280px;
    padding: 1.5rem;
  }

  .slider-3d-card[data-position="0"] {
    transform: rotateY(0deg) translateZ(150px);
  }

  .slider-3d-card[data-position="1"],
  .slider-3d-card[data-position="2"] {
    transform: rotateY(120deg) translateZ(150px);
  }

  /* Footer below slider - horizontal row */
  .tech-footer-side {
    flex-direction: row;
    justify-content: center;
    gap: 2.5rem;
    padding-left: 0;
    border-left: none;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    padding-top: 1.5rem;
    width: 100%;
    flex-wrap: wrap;
  }

  .tech-stat {
    text-align: center;
    align-items: center;
    flex: 0 1 auto;
  }

  .stat-bar {
    margin: 0.5rem auto 0;
  }
}

/* Mobile (768px and below) - Footer in One Row for ALL Languages */
@media (max-width: 768px) {
  .technology-section {
    height: auto;
    min-height: 100vh;
    overflow: visible;
  }

  .technology-container {
    padding: 80px 1.5rem 2rem;
    height: auto;
    min-height: 100vh;
    justify-content: flex-start;
  }

  .tech-badge {
    font-size: 0.6rem;
    letter-spacing: 3px;
    margin-bottom: 0.8rem;
  }

  .tech-title {
    font-size: 1.5rem;
    margin-bottom: 0.8rem;
  }

  .tech-divider {
    width: 50px;
    margin: 0.8rem auto;
  }

  .tech-subtitle {
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
  }

  /* Move section down slightly */
  .technology-header {
    margin-bottom: 1rem;
    margin-top: 0.5rem;
  }

  .slider-3d-wrapper {
    height: 340px;
  }

  .slider-3d-card {
    width: 250px;
    padding: 1.2rem;
  }

  .tech-item-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 0.8rem;
  }

  .tech-item-icon svg {
    width: 26px;
    height: 26px;
  }

  .slider-3d-title {
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
  }

  .slider-3d-desc {
    font-size: 0.68rem;
    margin-bottom: 0.8rem;
  }

  .slider-3d-meta {
    gap: 0.4rem;
    margin-top: 0.8rem;
    padding-top: 0.6rem;
  }

  .slider-3d-meta span {
    font-size: 0.55rem;
    padding: 0.15rem 0.5rem;
  }

  .slider-3d-card[data-position="0"] {
    transform: rotateY(0deg) translateZ(130px);
  }

  .slider-3d-card[data-position="1"],
  .slider-3d-card[data-position="2"] {
    transform: rotateY(120deg) translateZ(130px);
  }

  /* Footer - ONE ROW (Horizontal) - FOR ALL LANGUAGES */
  .tech-footer-side {
    flex-direction: row;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: nowrap;
    padding-top: 1.2rem;
    margin-top: 0.5rem;
    width: 100%;
  }

  .tech-stat {
    min-width: auto;
    text-align: center;
    align-items: center;
    flex: 1;
    max-width: 110px;
  }

  .stat-number {
    font-size: 1.4rem;
    white-space: nowrap;
  }

  .stat-label {
    font-size: 0.55rem;
    white-space: normal;
    word-break: keep-all;
  }

  .stat-bar {
    width: 35px;
    margin: 0.4rem auto 0;
  }
}

/* Small Mobile (480px and below) */
@media (max-width: 480px) {
  .technology-container {
    padding: 75px 1rem 1.5rem;
  }

  .tech-title {
    font-size: 1.3rem;
  }

  .tech-subtitle {
    font-size: 0.75rem;
  }

  .technology-header {
    margin-bottom: 0.8rem;
    margin-top: 0.8rem;
  }

  .slider-3d-wrapper {
    height: 320px;
  }

  .slider-3d-card {
    width: 230px;
    padding: 1rem;
  }

  .tech-item-icon {
    width: 45px;
    height: 45px;
  }

  .tech-item-icon svg {
    width: 24px;
    height: 24px;
  }

  .slider-3d-title {
    font-size: 0.85rem;
  }

  .slider-3d-desc {
    font-size: 0.62rem;
  }

  .slider-3d-meta span {
    font-size: 0.5rem;
    padding: 0.12rem 0.45rem;
  }

  .slider-3d-card[data-position="0"] {
    transform: rotateY(0deg) translateZ(120px);
  }

  .slider-3d-card[data-position="1"],
  .slider-3d-card[data-position="2"] {
    transform: rotateY(120deg) translateZ(120px);
  }

  /* Footer - ONE ROW (adjust spacing) */
  .tech-footer-side {
    gap: 1rem;
    padding-top: 1rem;
  }

  .tech-stat {
    flex: 1;
    min-width: 70px;
  }

  .stat-number {
    font-size: 1.2rem;
  }

  .stat-label {
    font-size: 0.5rem;
  }

  .stat-bar {
    width: 30px;
  }
}

/* Extra Small Mobile (380px and below) */
@media (max-width: 380px) {
  .technology-container {
    padding: 70px 0.8rem 1rem;
  }

  .tech-title {
    font-size: 1.2rem;
  }

  .technology-header {
    margin-top: 1rem;
  }

  .slider-3d-wrapper {
    height: 300px;
  }

  .slider-3d-card {
    width: 210px;
    padding: 0.8rem;
  }

  .tech-item-icon {
    width: 40px;
    height: 40px;
  }

  .tech-item-icon svg {
    width: 22px;
    height: 22px;
  }

  .slider-3d-title {
    font-size: 0.8rem;
  }

  .slider-3d-desc {
    font-size: 0.58rem;
  }

  .slider-3d-card[data-position="0"] {
    transform: rotateY(0deg) translateZ(110px);
  }

  .slider-3d-card[data-position="1"],
  .slider-3d-card[data-position="2"] {
    transform: rotateY(120deg) translateZ(110px);
  }

  /* Footer - ONE ROW (compact) */
  .tech-footer-side {
    gap: 0.8rem;
  }

  .tech-stat {
    min-width: 60px;
  }

  .stat-number {
    font-size: 1rem;
  }

  .stat-label {
    font-size: 0.45rem;
  }
}

/* Desktop Large (1400px and above) */
@media (min-width: 1400px) {
  .slider-3d-wrapper {
    max-width: 800px;
    height: 420px;
  }

  .slider-3d-card {
    width: 340px;
    padding: 2rem;
  }

  .slider-3d-title {
    font-size: 1.3rem;
  }

  .slider-3d-desc {
    font-size: 0.85rem;
  }

  .slider-3d-card[data-position="0"] {
    transform: rotateY(0deg) translateZ(210px);
  }

  .slider-3d-card[data-position="1"],
  .slider-3d-card[data-position="2"] {
    transform: rotateY(120deg) translateZ(210px);
  }

  .stat-number {
    font-size: 2.4rem;
  }
}

/* ============================================ */
/* SCROLL SNAP - TECHNOLOGY */
/* ============================================ */

.technology-section {
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

/* ============================================ */
/* ACCESSIBILITY - TECHNOLOGY */
/* ============================================ */

@media (prefers-reduced-motion: reduce) {
  .slider-3d-track,
  .slider-3d-card {
    transition: none !important;
  }
}

@media (min-width: 1025px) {
  .showcase-cell:last-child .full-image {
    transform-origin: center;
  }
}

/* Arabic/RTL - pull image closer to text (move left since text is on right) */
html[dir="rtl"] .showcase-cell:last-child {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  position: relative;
  left: 50px;
}

/* For extra large screens (1400px+) - pull more */
@media (min-width: 1400px) {
  html[dir="rtl"] .showcase-cell:last-child {
    transform: rotate(180deg) translate(-10%, 10%);
  }
}

/* ============================================ */
/* ARABIC LANGUAGE SPECIFIC STYLES - TECHNOLOGY SECTION */
/* ============================================ */

/* Arabic/RTL - Keep tech-footer-side in same position with separator */
html[dir="rtl"] .tech-footer-side {
  padding-left: 0;
  padding-right: 2rem;
  border-left: none;
  border-right: 1px solid rgba(0, 0, 0, 0.06);
}

/* Keep stat numbers in same position (left-aligned in LTR, right-aligned in RTL) */
html[dir="rtl"] .tech-stat {
  text-align: right;
  align-items: flex-start;
}

/* For tablet and mobile - adjust */
@media (max-width: 1024px) {
  html[dir="rtl"] .tech-footer-side {
    padding-right: 0;
    border-right: none;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    text-align: center;
  }

  html[dir="rtl"] .tech-stat {
    text-align: center;
    align-items: center;
  }
}

/* ============================================ */
/* CERTIFICATIONS & OEM APPROVALS - FULL SCREEN */
/* ============================================ */

.certifications-section {
  width: 100%;
  height: 100vh;
  position: relative;
  background: var(--bg-alt);
  overflow-y: auto;
  overflow-x: hidden;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.certifications-container {
  max-width: 1280px;
  margin: 0 auto;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 2rem 1.5rem;
  box-sizing: border-box;
}

/* Section Header - Compact */
.certifications-header {
  text-align: center;
  margin-bottom: 1.5rem;
  animation: fadeInUp 0.6s ease forwards;
}

.cert-badge {
  display: inline-block;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 4px;
  color: var(--deluxe-red);
  margin-bottom: 0.75rem;
  font-weight: 600;
  background: rgba(194, 65, 12, 0.08);
  padding: 0.25rem 0.8rem;
  border-radius: 30px;
}

.cert-title {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 0.75rem;
  color: var(--soft-black);
  letter-spacing: -0.02em;
}

.cert-highlight {
  background: var(--deluxe-red);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
}

.cert-divider {
  width: 50px;
  height: 2px;
  background: var(--deluxe-red);
  margin: 0.75rem auto;
  border-radius: 2px;
}

.cert-subtitle {
  font-size: 0.85rem;
  color: var(--gray-text);
  max-width: 550px;
  margin: 0 auto;
  line-height: 1.5;
  font-weight: 400;
}

/* Circular Buttons Row - Compact */
.cert-buttons-row {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin: 1rem 0 1.5rem;
  flex-wrap: wrap;
}

.cert-circle-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.cert-circle-btn:hover {
  transform: translateY(-3px);
}

.cert-circle-btn.active .circle-icon {
  background: var(--deluxe-red);
  color: white;
  border-color: transparent;
  box-shadow: 0 6px 15px rgba(194, 65, 12, 0.25);
}

.cert-circle-btn.active .circle-title {
  color: var(--deluxe-red);
  font-weight: 600;
}

.circle-icon {
  width: 65px;
  height: 65px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 2px solid var(--gray-medium);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--deluxe-red);
  transition: all 0.3s ease;
  box-shadow: var(--shadow-sm);
}

.circle-icon svg {
  width: 30px;
  height: 30px;
}

.circle-title {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--gray-text);
  letter-spacing: 1px;
  transition: color 0.3s ease;
}

/* Content Panels - Compact */
.cert-panels {
  margin: 0.5rem 0;
  flex: 1;
  overflow-y: visible;
  min-height: 0;
}

.cert-panel {
  display: none;
  animation: fadeInUp 0.3s ease forwards;
}

.cert-panel.active {
  display: block;
}

/* Cert Grid - Compact */
.cert-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.cert-item {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  padding: 0.8rem;
  background: var(--bg-alt);
  border-radius: 12px;
  transition: all 0.3s ease;
  border: 1px solid var(--gray-medium);
}

.cert-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
  border-color: rgba(194, 65, 12, 0.2);
}

.cert-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background: rgba(194, 65, 12, 0.05);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--deluxe-red);
}

.cert-icon svg {
  width: 22px;
  height: 22px;
}

.cert-content {
  flex: 1;
}

.cert-name {
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
  color: var(--soft-black);
}

.cert-desc {
  font-size: 0.65rem;
  color: var(--gray-text);
  line-height: 1.3;
}

/* OEM Grid - Fixed to prevent overlap with footer */
.oem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  overflow: visible;
  max-height: none;
  margin-bottom: 0;
}

.oem-item {
  text-align: center;
  padding: 0.8rem;
  background: var(--bg-alt);
  border-radius: 12px;
  transition: all 0.3s ease;
  border: 1px solid var(--gray-medium);
}

.oem-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
  border-color: rgba(44, 110, 158, 0.2);
}

.oem-logo {
  width: 40px;
  height: 40px;
  margin: 0 auto 0.5rem;
  background: rgba(44, 110, 158, 0.05);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--deluxe-blue);
}

.oem-logo svg {
  width: 22px;
  height: 22px;
}

.oem-name {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 0.15rem;
  color: var(--soft-black);
}

.oem-spec {
  display: block;
  font-size: 0.55rem;
  color: var(--gray-text);
  letter-spacing: 0.3px;
}

/* ISO Grid - Compact */
.iso-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.iso-item {
  text-align: center;
  padding: 0.8rem;
  background: var(--bg-alt);
  border-radius: 12px;
  transition: all 0.3s ease;
  border: 1px solid var(--gray-medium);
}

.iso-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
  border-color: rgba(194, 65, 12, 0.2);
}

.iso-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.3rem 0.7rem;
  background: rgba(194, 65, 12, 0.1);
  color: var(--deluxe-red);
  border-radius: 30px;
  margin-bottom: 0.4rem;
}

.iso-desc {
  font-size: 0.65rem;
  color: var(--gray-text);
}

/* Cert Footer - Fixed spacing */
.cert-footer {
  text-align: center;
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--gray-medium);
  flex-shrink: 0;
}

.cert-footer-text {
  font-size: 0.7rem;
  color: var(--gray-text);
  max-width: 550px;
  margin: 0 auto;
  line-height: 1.4;
}

/* ============================================ */
/* RESPONSIVE DESIGN */
/* ============================================ */

/* Tablet (1024px and below) */
@media (max-width: 1024px) {
  .certifications-section {
    height: 100vh;
  }

  .certifications-container {
    padding: 75px 1.5rem 1rem;
    justify-content: center;
  }

  .cert-title {
    font-size: 1.6rem;
  }

  .cert-subtitle {
    font-size: 0.8rem;
  }

  .cert-buttons-row {
    gap: 1.5rem;
    margin: 0.5rem 0 1rem;
  }

  .circle-icon {
    width: 55px;
    height: 55px;
  }

  .circle-icon svg {
    width: 26px;
    height: 26px;
  }

  .circle-title {
    font-size: 0.7rem;
  }

  .cert-grid,
  .oem-grid,
  .iso-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.8rem;
  }

  /* Adjust footer margin on tablet */
  .cert-footer {
    margin-top: 1rem;
  }
}

/* Mobile (768px and below) */
@media (max-width: 768px) {
  .certifications-section {
    height: 100vh;
    overflow-y: auto;
  }

  .certifications-container {
    padding: 0 1.2rem;
    justify-content: center;
    min-height: 100vh;
    padding-top: 0;
    padding-bottom: 0;
  }

  .certifications-header {
    margin-bottom: 2rem;
  }

  .cert-badge {
    font-size: 0.7rem;
    letter-spacing: 4px;
    margin-bottom: 0.8rem;
    padding: 0.3rem 1rem;
  }

  .cert-title {
    font-size: 1.8rem;
    margin-bottom: 0.6rem;
    line-height: 1.2;
  }

  .cert-divider {
    width: 55px;
    margin: 0.8rem auto;
  }

  .cert-subtitle {
    font-size: 0.85rem;
    line-height: 1.5;
    max-width: 90%;
  }

  .cert-buttons-row {
    gap: 1.5rem;
    margin: 1.5rem 0;
    justify-content: center;
  }

  .circle-icon {
    width: 80px;
    height: 80px;
  }

  .circle-icon svg {
    width: 38px;
    height: 38px;
  }

  .circle-title {
    font-size: 0.95rem;
    font-weight: 600;
    margin-top: 0.4rem;
  }

  .desktop-panels {
    display: none;
  }

  .cert-footer {
    margin-top: 1.5rem;
    padding-top: 1rem;
  }

  .cert-footer-text {
    font-size: 0.65rem;
  }
}

/* Small Mobile (480px and below) */
@media (max-width: 480px) {
  .certifications-container {
    padding: 0 1rem;
  }

  .cert-badge {
    font-size: 0.75rem;
    letter-spacing: 4px;
    margin-bottom: 0.8rem;
    padding: 0.35rem 1.2rem;
  }

  .cert-title {
    font-size: 1.6rem;
    margin-bottom: 0.6rem;
  }

  .cert-divider {
    width: 60px;
    margin: 0.8rem auto;
  }

  .cert-subtitle {
    font-size: 0.8rem;
    line-height: 1.5;
  }

  .cert-buttons-row {
    gap: 1.2rem;
    margin: 1.5rem 0;
  }

  .circle-icon {
    width: 75px;
    height: 75px;
  }

  .circle-icon svg {
    width: 36px;
    height: 36px;
  }

  .circle-title {
    font-size: 0.9rem;
  }

  .cert-footer-text {
    font-size: 0.6rem;
  }
}

/* Very Small Mobile (380px and below) */
@media (max-width: 380px) {
  .cert-buttons-row {
    gap: 1rem;
  }

  .circle-icon {
    width: 65px;
    height: 65px;
  }

  .circle-icon svg {
    width: 32px;
    height: 32px;
  }

  .circle-title {
    font-size: 0.8rem;
  }

  .cert-title {
    font-size: 1.4rem;
  }
}

/* Desktop Large (1400px and above) */
@media (min-width: 1400px) {
  .certifications-container {
    max-width: 1400px;
    padding: 90px 3rem 1.5rem;
  }

  .cert-title {
    font-size: 2.2rem;
  }

  .cert-subtitle {
    font-size: 0.9rem;
  }

  .circle-icon {
    width: 75px;
    height: 75px;
  }

  .circle-icon svg {
    width: 34px;
    height: 34px;
  }

  .cert-grid,
  .oem-grid,
  .iso-grid {
    gap: 1.2rem;
  }

  /* Ensure footer has enough space on large screens */
  .cert-footer {
    margin-top: 1.8rem;
  }
}

/* ============================================ */
/* CERTIFICATIONS MODAL - MOBILE POPUP */
/* ============================================ */

.cert-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2000;
  animation: fadeIn 0.3s ease;
}

.cert-modal.active {
  display: block;
}

.cert-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(8px);
}

.cert-modal-container {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: var(--bg-card);
  border-radius: 24px 24px 0 0;
  max-height: 85vh;
  overflow-y: auto;
  animation: slideUp 0.3s ease;
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.1);
}

.cert-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 1.5rem;
  border-bottom: 1px solid var(--gray-medium);
  position: sticky;
  top: 0;
  background: var(--bg-card);
  z-index: 10;
}

.cert-modal-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--soft-black);
  margin: 0;
}

.cert-modal-close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--gray-light);
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-text);
  transition: all 0.2s ease;
}

.cert-modal-close:hover {
  background: var(--deluxe-red);
  color: white;
}

.cert-modal-content {
  padding: 1.5rem;
}

/* Modal Content Grids */
.modal-grid {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.modal-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem;
  background: var(--bg-alt);
  border-radius: 16px;
  border: 1px solid var(--gray-medium);
  transition: all 0.2s ease;
}

.modal-item:hover {
  transform: translateX(5px);
  border-color: rgba(194, 65, 12, 0.3);
}

.modal-icon {
  flex-shrink: 0;
  width: 45px;
  height: 45px;
  background: rgba(194, 65, 12, 0.05);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--deluxe-red);
}

.modal-icon svg {
  width: 26px;
  height: 26px;
}

.modal-content {
  flex: 1;
}

.modal-name {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
  color: var(--soft-black);
}

.modal-desc {
  font-size: 0.7rem;
  color: var(--gray-text);
  line-height: 1.4;
}

/* Modal OEM Grid */
.modal-oem-grid {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.modal-oem-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem 1rem;
  background: var(--bg-alt);
  border-radius: 12px;
  border: 1px solid var(--gray-medium);
  transition: all 0.2s ease;
}

.modal-oem-item:hover {
  transform: translateX(5px);
  border-color: rgba(44, 110, 158, 0.3);
}

.modal-oem-name {
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--soft-black);
}

.modal-oem-spec {
  font-size: 0.65rem;
  color: var(--gray-text);
}

/* Modal ISO Grid */
.modal-iso-grid {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.modal-iso-item {
  text-align: center;
  padding: 1rem;
  background: var(--bg-alt);
  border-radius: 12px;
  border: 1px solid var(--gray-medium);
}

.modal-iso-badge {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.3rem 0.8rem;
  background: rgba(194, 65, 12, 0.1);
  color: var(--deluxe-red);
  border-radius: 30px;
  margin-bottom: 0.4rem;
}

.modal-iso-desc {
  font-size: 0.7rem;
  color: var(--gray-text);
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideUp {
  from {
    transform: translateY(100%);
  }
  to {
    transform: translateY(0);
  }
}

/* ============================================ */
/* DESKTOP VS MOBILE LAYOUT */
/* ============================================ */

/* Desktop: Show panels, hide modal */
@media (min-width: 769px) {
  .desktop-panels {
    display: block;
  }

  .cert-modal {
    display: none !important;
  }
}

/* Mobile: Hide panels, show modal popup on click */
@media (max-width: 768px) {
  .desktop-panels {
    display: none;
  }

  .cert-buttons-row {
    margin-bottom: 0;
  }
}

/* ============================================ */
/* ANIMATIONS */
/* ============================================ */

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

/* ============================================ */
/* SCROLL SNAP INTEGRATION */
/* ============================================ */

.certifications-section {
  scroll-snap-align: start;
  scroll-snap-stop: always;
  height: 100vh;
}

/* ============================================ */
/* ACCESSIBILITY - Reduced Motion */
/* ============================================ */

@media (prefers-reduced-motion: reduce) {
  .cert-panel {
    animation: none;
  }

  .cert-item,
  .oem-item,
  .iso-item,
  .cert-circle-btn,
  .cert-modal {
    animation: none !important;
    transition: none !important;
  }
}

.oem-carousel-container {
  position: relative;
  width: 100%;
  margin: 0 auto;
  overflow: hidden;
}

.oem-carousel-wrapper {
  overflow: hidden;
  position: relative;
  width: 100%;
}

.oem-carousel-track {
  display: flex;
  transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.oem-carousel-item {
  flex: 0 0 calc(100% / 3);
  text-align: center;
  padding: 1rem;
  background: var(--bg-alt);
  border-radius: 16px;
  transition: all 0.3s ease;
  border: 1px solid var(--gray-medium);
  margin: 0 0.5rem;
  box-sizing: border-box;
}

.oem-carousel-item:hover {
  transform: translateX(5px);
  border-color: rgba(44, 110, 158, 0.3);
}

.oem-carousel-item .oem-logo {
  width: 50px;
  height: 50px;
  margin: 0 auto 0.8rem;
  background: rgba(44, 110, 158, 0.05);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--deluxe-blue);
}

.oem-carousel-item .oem-logo svg {
  width: 28px;
  height: 28px;
}

.oem-carousel-item .oem-name {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
  color: var(--soft-black);
}

.oem-carousel-item .oem-spec {
  display: block;
  font-size: 0.65rem;
  color: var(--gray-text);
  letter-spacing: 0.3px;
}

/* Responsive - Show 2 items on tablet */
@media (max-width: 1024px) {
  .oem-carousel-item {
    flex: 0 0 calc(100% / 2);
  }
}

/* Responsive - Show 1 item on mobile */
@media (max-width: 768px) {
  .oem-carousel-item {
    flex: 0 0 calc(100% / 1);
    margin: 0;
  }
}

/* Animation for smooth infinite scroll effect */
@keyframes subtlePulse {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 1;
  }
}

/* ============================================ */
/* WHY CHOOSE DELUXE SECTION - SPLIT LAYOUT */
/* ============================================ */

.why-choose-section {
  width: 100%;
  height: 100vh;
  position: relative;
  background: var(--bg-alt);
  overflow-y: auto;
  overflow-x: hidden;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.why-choose-container {
  max-width: 1400px;
  margin: 0 auto;
  min-height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  padding: 90px 2rem 2rem;
  box-sizing: border-box;
}

/* Left Side Styles */
.why-choose-left {
  flex: 1;
  max-width: 45%;
}

.why-badge {
  display: inline-block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 4px;
  color: var(--deluxe-red);
  margin-bottom: 0.8rem;
  font-weight: 600;
  background: rgba(194, 65, 12, 0.08);
  padding: 0.3rem 1rem;
  border-radius: 30px;
}

/* Arabic specific styles for better text appearance */
html[dir="rtl"] .why-badge {
  letter-spacing: 0;
  font-weight: 600;
}

.why-title {
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 0.6rem;
  color: var(--soft-black);
  letter-spacing: -0.02em;
}

/* Arabic specific - wider letter spacing for better readability */
html[dir="rtl"] .why-title {
  letter-spacing: 0;
  font-weight: 700;
  line-height: 1.4;
}

.why-highlight {
  background: var(--deluxe-red);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
}

.why-divider {
  width: 50px;
  height: 2px;
  background: var(--deluxe-red);
  margin: 0.6rem 0;
  border-radius: 2px;
}

.why-subtitle {
  font-size: 0.85rem;
  color: var(--gray-text);
  line-height: 1.5;
  margin-bottom: 1.2rem;
}

/* Arabic specific - improved readability */
html[dir="rtl"] .why-subtitle {
  line-height: 1.6;
  letter-spacing: 0.3px;
}

/* Global Success Section - Desktop Full Width */
.why-global {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 0.8rem 1rem;
  margin-bottom: 1.2rem;
  border-left: 3px solid var(--deluxe-blue);
  transition: all 0.3s ease;
  width: 100%;
}

/* Arabic specific - border on right side */
html[dir="rtl"] .why-global {
  border-left: none;
  border-right: 3px solid var(--deluxe-blue);
}

.why-global:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.global-title {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--deluxe-blue);
  margin-bottom: 0.6rem;
}

/* Arabic specific - title styling */
html[dir="rtl"] .global-title {
  letter-spacing: 0;
  font-weight: 600;
}

/* Desktop Global Grid - Full Width with Flex Wrap */
.global-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  align-items: center;
  width: 100%;
}

.global-item {
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  padding: 0.5rem 1rem;
  border-radius: 30px;
  border: 1px solid var(--gray-medium);
  transition: all 0.2s ease;
  text-align: center;
  flex: 1;
  min-width: 110px;
}

/* Arabic specific - hover effect from right */
html[dir="rtl"] .global-item:hover {
  transform: translateY(-2px);
  border-color: var(--deluxe-blue);
  box-shadow: var(--shadow-sm);
}

.global-region {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--soft-black);
}

.global-status {
  font-size: 0.6rem;
  color: var(--gray-text);
  margin-top: 0.2rem;
}

/* Stats Section */
.why-stats {
  display: flex;
  gap: 1.2rem;
  margin-bottom: 1.2rem;
}

.why-stat-item {
  text-align: left;
}

/* Arabic specific - stats alignment */
html[dir="rtl"] .why-stat-item {
  text-align: right;
}

.why-stat-number {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
  background: var(--deluxe-red);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 0.3rem;
}

/* Arabic specific - numbers styling (same as foreign languages) */
html[dir="rtl"] .why-stat-number {
  letter-spacing: 0;
  font-weight: 800;
  font-size: 1.5rem;
}

.why-stat-label {
  display: block;
  font-size: 0.6rem;
  color: var(--gray-text);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.3rem;
}

/* Arabic specific - label styling with wider spacing */
html[dir="rtl"] .why-stat-label {
  letter-spacing: 0.5px;
  text-transform: none;
  font-weight: 500;
}

.why-stat-progress {
  width: 45px;
  height: 2px;
  background: var(--deluxe-red);
  border-radius: 2px;
  transition: width 0.3s ease;
}

/* Arabic specific - progress bar direction */
html[dir="rtl"] .why-stat-progress {
  background: var(--deluxe-red);
}

.why-stat-item:hover .why-stat-progress {
  width: 70px;
}

/* CTA Button */
.why-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--deluxe-red);
  text-decoration: none;
  transition: all 0.3s ease;
  padding: 0.5rem 0;
  border-bottom: 2px solid transparent;
}

/* Arabic specific - CTA button styling */
html[dir="rtl"] .why-cta {
  gap: 0.5rem;
  flex-direction: row-reverse;
}

.why-cta:hover {
  gap: 0.7rem;
  border-bottom-color: var(--deluxe-red);
}

/* Arabic specific - hover direction */
html[dir="rtl"] .why-cta:hover {
  gap: 0.7rem;
}

/* Right Side - Differentiators Grid (Desktop Only) */
.why-choose-right {
  flex: 1;
  max-width: 50%;
}

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

.differentiator-card {
  background: var(--bg-card);
  border: 1px solid var(--gray-medium);
  border-radius: 14px;
  padding: 1rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.differentiator-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--deluxe-red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

/* Arabic specific - accent line from right */
html[dir="rtl"] .differentiator-card::before {
  left: auto;
  right: 0;
  transform-origin: right;
  background: var(--deluxe-red);
}

.differentiator-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
  border-color: rgba(194, 65, 12, 0.2);
}

.differentiator-card:hover::before {
  transform: scaleX(1);
}

.diff-icon {
  width: 40px;
  height: 40px;
  background: rgba(194, 65, 12, 0.05);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--deluxe-red);
  margin-bottom: 0.6rem;
  transition: all 0.3s ease;
}

.differentiator-card:hover .diff-icon {
  background: var(--deluxe-red);
  color: white;
  transform: scale(1.05);
}

.diff-icon svg {
  width: 22px;
  height: 22px;
}

.diff-title {
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
  color: var(--soft-black);
  letter-spacing: -0.01em;
}

/* Arabic specific - title styling */
html[dir="rtl"] .diff-title {
  letter-spacing: 0;
  font-weight: 600;
}

.diff-desc {
  font-size: 0.65rem;
  color: var(--gray-text);
  line-height: 1.4;
}

/* Arabic specific - description styling */
html[dir="rtl"] .diff-desc {
  line-height: 1.5;
}

/* Hide right side on tablet/mobile */
.desktop-only-diff {
  display: block;
}

/* ============================================ */
/* RESPONSIVE DESIGN */
/* ============================================ */

/* Tablet (1024px and below) - Hide Right Side */
@media (max-width: 1024px) {
  .why-choose-section {
    height: auto;
    min-height: 100vh;
    overflow: visible;
  }

  .why-choose-container {
    flex-direction: column;
    padding: 90px 2rem 2rem;
    gap: 1.5rem;
    height: auto;
    min-height: auto;
    justify-content: center;
  }

  .why-choose-left {
    max-width: 100%;
    text-align: center;
    width: 100%;
  }

  .why-divider {
    margin: 0.6rem auto;
  }

  /* Arabic specific - divider centering */
  html[dir="rtl"] .why-divider {
    margin: 0.6rem auto;
  }

  .why-stats {
    justify-content: center;
  }

  .why-stat-item {
    text-align: center;
  }

  /* Arabic specific - stats centering */
  html[dir="rtl"] .why-stat-item {
    text-align: center;
  }

  .why-stat-progress {
    margin: 0 auto;
  }

  /* Hide right side on tablet and mobile */
  .desktop-only-diff {
    display: none;
  }

  .why-title {
    font-size: 1.8rem;
  }

  /* Tablet Global Grid */
  .global-grid {
    justify-content: center;
    flex-wrap: wrap;
  }

  .global-item {
    min-width: 100px;
    flex: 0 1 auto;
  }
}

/* Mobile (768px and below) - Centered Content */
@media (max-width: 768px) {
  .why-choose-section {
    height: auto;
    min-height: 100vh;
    overflow: visible;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .why-choose-container {
    padding: 70px 1rem 1.5rem;
    gap: 1rem;
    justify-content: center;
    align-items: center;
  }

  .why-choose-left {
    text-align: center;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .why-title {
    font-size: 1.5rem;
    text-align: center;
  }

  .why-badge {
    font-size: 0.55rem;
    margin-bottom: 0.6rem;
  }

  .why-divider {
    margin: 0.6rem auto;
  }

  /* Arabic specific - divider centering on mobile */
  html[dir="rtl"] .why-divider {
    margin: 0.6rem auto;
  }

  .why-subtitle {
    font-size: 0.75rem;
    text-align: center;
    margin-bottom: 1rem;
  }

  /* Global Section - Full Width, Centered */
  .why-global {
    width: 100%;
    margin: 0.8rem 0;
    padding: 1rem;
    text-align: center;
  }

  /* Arabic specific - border removal on mobile for consistency */
  html[dir="rtl"] .why-global {
    border-left: none;
    border-right: 3px solid var(--deluxe-blue);
  }

  .global-title {
    font-size: 0.7rem;
    text-align: center;
  }

  .global-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.6rem;
    justify-content: center;
  }

  .global-item {
    padding: 0.6rem 0.4rem;
    border-radius: 12px;
    text-align: center;
    min-width: auto;
    flex: auto;
  }

  .global-region {
    font-size: 0.7rem;
  }

  .global-status {
    font-size: 0.55rem;
  }

  /* Worldwide item - full width */
  .global-item:last-child {
    grid-column: span 2;
    background: var(--deluxe-blue);
    border: none;
  }

  .global-item:last-child .global-region {
    color: var(--pure-white);
  }

  .global-item:last-child .global-status {
    color: rgba(255, 255, 255, 0.9);
  }

  /* Stats - Centered */
  .why-stats {
    gap: 1rem;
    justify-content: center;
    margin-bottom: 1rem;
    width: 100%;
    flex-wrap: wrap;
  }

  .why-stat-item {
    text-align: center;
    flex: 1;
    min-width: 80px;
  }

  /* Arabic specific - stats centering */
  html[dir="rtl"] .why-stat-item {
    text-align: center;
  }

  .why-stat-number {
    font-size: 1.3rem;
  }

  .why-stat-label {
    font-size: 0.5rem;
  }

  .why-stat-progress {
    width: 35px;
    margin: 0 auto;
  }

  /* CTA Button - Centered */
  .why-cta {
    font-size: 0.75rem;
    margin-top: 0.5rem;
  }
}

/* Small Mobile (480px and below) */
@media (max-width: 480px) {
  .why-choose-container {
    padding: 60px 0.8rem 1rem;
  }

  .why-title {
    font-size: 1.3rem;
  }

  .why-subtitle {
    font-size: 0.7rem;
  }

  .global-grid {
    gap: 0.5rem;
  }

  .global-item {
    padding: 0.5rem 0.3rem;
  }

  .global-region {
    font-size: 0.65rem;
  }

  .global-status {
    font-size: 0.5rem;
  }

  .why-stat-item {
    min-width: 70px;
  }

  .why-stat-number {
    font-size: 1.1rem;
  }

  .why-stat-label {
    font-size: 0.45rem;
  }
}

/* Extra Small Mobile (380px and below) */
@media (max-width: 380px) {
  .why-choose-container {
    padding: 55px 0.6rem 0.8rem;
  }

  .why-title {
    font-size: 1.2rem;
  }

  .why-subtitle {
    font-size: 0.65rem;
  }

  .global-grid {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  .global-item {
    width: 100%;
  }

  .global-item:last-child {
    grid-column: span 1;
  }

  .why-stats {
    flex-direction: column;
    gap: 0.8rem;
  }

  .why-stat-item {
    min-width: auto;
  }
}

/* Desktop Large (1400px and above) */
@media (min-width: 1400px) {
  .why-choose-container {
    max-width: 1400px;
    padding: 100px 3rem 2rem;
  }

  .why-title {
    font-size: 2.5rem;
  }

  .differentiators-grid {
    gap: 1rem;
  }

  .differentiator-card {
    padding: 1.2rem;
  }

  .global-item {
    min-width: 120px;
    padding: 0.6rem 1.2rem;
  }

  .global-region {
    font-size: 0.8rem;
  }

  .global-status {
    font-size: 0.65rem;
  }
}

/* ============================================ */
/* ANIMATIONS */
/* ============================================ */

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Arabic specific - animation direction */
html[dir="rtl"] .why-choose-left {
  animation: fadeInRight 0.6s ease forwards;
}

html[dir="rtl"] .why-choose-right {
  animation: fadeInLeft 0.6s ease forwards;
}

.why-choose-left {
  animation: fadeInLeft 0.6s ease forwards;
}

.why-choose-right {
  animation: fadeInRight 0.6s ease forwards;
}

.differentiator-card {
  animation: fadeInUp 0.5s ease forwards;
  opacity: 0;
}

.differentiator-card:nth-child(1) {
  animation-delay: 0.05s;
}
.differentiator-card:nth-child(2) {
  animation-delay: 0.1s;
}
.differentiator-card:nth-child(3) {
  animation-delay: 0.15s;
}
.differentiator-card:nth-child(4) {
  animation-delay: 0.2s;
}
.differentiator-card:nth-child(5) {
  animation-delay: 0.25s;
}
.differentiator-card:nth-child(6) {
  animation-delay: 0.3s;
}

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

/* ============================================ */
/* SCROLL SNAP INTEGRATION */
/* ============================================ */

.why-choose-section {
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

/* ============================================ */
/* ACCESSIBILITY - Reduced Motion */
/* ============================================ */

@media (prefers-reduced-motion: reduce) {
  .why-choose-left,
  .why-choose-right,
  .differentiator-card,
  .global-item {
    animation: none !important;
    transition: none !important;
    transform: none !important;
  }
}

/* ============================================ */
/* FEATURED PRODUCTS SECTION - REGION SELECTOR */
/* ============================================ */

.featured-products-section {
  width: 100%;
  height: 100vh;
  position: relative;
  background: var(--bg-white);
  overflow: hidden;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.featured-products-container {
  max-width: 1400px;
  margin: 0 auto;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 2rem 1.5rem;
  box-sizing: border-box;
  width: 100%;
}

/* Section Header */
.featured-header {
  text-align: center;
  margin-bottom: 1.2rem;
  animation: fadeInUp 0.6s ease forwards;
  flex-shrink: 0;
  width: 100%;
}

.featured-badge {
  display: inline-block;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 4px;
  color: var(--deluxe-red);
  margin-bottom: 0.5rem;
  font-weight: 600;
  background: rgba(194, 65, 12, 0.08);
  padding: 0.25rem 0.8rem;
  border-radius: 30px;
}

.featured-title {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 0.5rem;
  color: var(--soft-black);
  letter-spacing: -0.02em;
  max-width: 100%;
}

.featured-highlight {
  background: var(--deluxe-red);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
}

.featured-divider {
  width: 50px;
  height: 2px;
  background: var(--deluxe-red);
  margin: 0.5rem auto;
  border-radius: 2px;
}

/* Arabic RTL support for divider */
body[dir="rtl"] .featured-divider {
  background: var(--deluxe-red);
}

.featured-subtitle {
  font-size: 0.8rem;
  color: var(--gray-text);
  max-width: 500px;
  margin: 0 auto;
  line-height: 1.4;
  font-weight: 400;
}

/* Region Selector */
.region-selector {
  display: flex;
  justify-content: center;
  gap: 0.6rem;
  margin-bottom: 1.2rem;
  flex-wrap: wrap;
  flex-shrink: 0;
  width: 100%;
}

.region-btn {
  padding: 0.5rem 1rem;
  font-family: var(--font-primary);
  font-size: 0.75rem;
  font-weight: 500;
  background: transparent;
  border: 1px solid var(--gray-medium);
  border-radius: 40px;
  cursor: pointer;
  transition: all 0.3s ease;
  color: var(--gray-text);
  white-space: nowrap;
}

.region-btn:hover {
  border-color: var(--deluxe-red);
  color: var(--deluxe-red);
}

.region-btn.active {
  background: var(--deluxe-red);
  border-color: transparent;
  color: var(--pure-white);
}

/* Arabic RTL support for active button */
body[dir="rtl"] .region-btn.active {
  background: var(--deluxe-red);
}

/* Products Container */
.featured-products-carousel {
  position: relative;
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  width: 100%;
}

.region-products {
  display: none;
  animation: fadeInUp 0.4s ease forwards;
  height: 100%;
  width: 100%;
}

.region-products.active {
  display: block;
}

/* Desktop Products Grid */
.featured-products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  height: 100%;
  align-items: start;
  width: 100%;
}

/* Arabic RTL support for grid */
body[dir="rtl"] .featured-products-grid {
  direction: rtl;
}

.featured-product-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0.8rem;
  transition: transform 0.3s ease;
  height: 100%;
  justify-content: flex-start;
  width: 100%;
  box-sizing: border-box;
}

.featured-product-card:hover {
  transform: translateY(-5px);
}

.featured-product-image {
  width: 160px;
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.8rem;
}

.featured-product-image img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.featured-product-card:hover .featured-product-image img {
  transform: scale(1.05);
}

.featured-product-badge {
  display: inline-block;
  font-size: 0.55rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 0.2rem 0.7rem;
  background: rgba(194, 65, 12, 0.1);
  color: var(--deluxe-red);
  border-radius: 30px;
  margin-bottom: 0.5rem;
}

.featured-product-viscosity {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--deluxe-blue);
  margin-bottom: 0.25rem;
}

.featured-product-name {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
  color: var(--soft-black);
}

.featured-product-specs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.4rem;
  margin-bottom: 0.5rem;
}

.featured-product-specs span {
  font-size: 0.6rem;
  padding: 0.15rem 0.4rem;
  background: var(--gray-light);
  color: var(--gray-dark);
  border-radius: 4px;
  font-weight: 500;
}

.featured-product-features {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.4rem;
  margin-bottom: 0.8rem;
}

.featured-product-features span {
  font-size: 0.6rem;
  color: var(--gray-text);
}

.featured-product-link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--deluxe-red);
  text-decoration: none;
  transition: all 0.3s ease;
  border-bottom: 1px solid transparent;
}

.featured-product-link:hover {
  gap: 0.5rem;
  border-bottom-color: var(--deluxe-red);
}

/* ============================================ */
/* MOBILE SLIDER STYLES */
/* ============================================ */

.featured-mobile-slider-container {
  display: none;
  position: relative;
  width: 100%;
  overflow: hidden;
  margin-top: 0;
  padding-bottom: 1rem;
}

.featured-mobile-slider-track {
  display: flex;
  direction: ltr;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
  width: 100%;
}

.featured-mobile-slide {
  flex: 0 0 100%;
  padding: 0 0.5rem;
  box-sizing: border-box;
  width: 100%;
}

.featured-mobile-product-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1rem;
  width: 100%;
  box-sizing: border-box;
}

html[dir="rtl"] .featured-mobile-slide .featured-mobile-product-card {
  direction: rtl;
  text-align: right;
}

.featured-mobile-product-card .featured-product-image {
  width: 140px;
  height: 140px;
  margin-bottom: 0.8rem;
}

.featured-mobile-product-card .featured-product-badge {
  font-size: 0.5rem;
  padding: 0.15rem 0.6rem;
}

.featured-mobile-product-card .featured-product-viscosity {
  font-size: 0.7rem;
}

.featured-mobile-product-card .featured-product-name {
  font-size: 0.85rem;
}

.featured-mobile-product-card .featured-product-specs span {
  font-size: 0.55rem;
}

.featured-mobile-product-card .featured-product-features span {
  font-size: 0.55rem;
}

.featured-mobile-product-card .featured-product-link {
  font-size: 0.65rem;
}

/* Mobile Slider Dots */
.featured-mobile-slider-dots {
  display: flex;
  justify-content: center;
  gap: 0.6rem;
  margin-top: 0.8rem;
  padding-bottom: 0.5rem;
  width: 100%;
}

.featured-mobile-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gray-medium);
  cursor: pointer;
  transition: all 0.3s ease;
}

.featured-mobile-dot.active {
  width: 24px;
  background: var(--deluxe-red);
  border-radius: 10px;
}

/* ============================================ */
/* RESPONSIVE DESIGN */
/* ============================================ */

/* Tablet (1024px and below) */
@media (max-width: 1024px) {
  .featured-products-section {
    height: 100vh;
    overflow: hidden;
  }

  .featured-products-container {
    padding: 75px 1.5rem 1rem;
  }

  .featured-title {
    font-size: 1.6rem;
  }

  .featured-products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .featured-product-image {
    width: 140px;
    height: 140px;
  }
}

/* Mobile (768px and below) */
@media (max-width: 768px) {
  .featured-products-section {
    height: auto;
    min-height: 100vh;
    overflow: visible;
    display: flex;
    align-items: center;
  }

  .featured-products-container {
    padding: 1rem;
    height: auto;
    min-height: auto;
    justify-content: center;
    display: flex;
    flex-direction: column;
    width: 100%;
  }

  .featured-header {
    margin-bottom: 1rem;
    margin-top: 0;
    width: 100%;
  }

  .featured-title {
    font-size: 1.4rem;
  }

  .featured-subtitle {
    font-size: 0.7rem;
    margin-bottom: 0.5rem;
    padding: 0 0.5rem;
  }

  .region-selector {
    gap: 0.5rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
  }

  .region-btn {
    padding: 0.4rem 0.8rem;
    font-size: 0.65rem;
    white-space: nowrap;
  }

  /* Hide desktop grid */
  .featured-products-grid {
    display: none;
  }

  /* Show mobile slider */
  .featured-mobile-slider-container {
    display: block;
    margin-top: 0;
    width: 100%;
  }

  .featured-products-carousel {
    overflow: visible;
    min-height: auto;
    width: 100%;
  }

  .region-products.active {
    height: auto;
    min-height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
  }

  .featured-mobile-product-card {
    padding: 0.8rem;
  }

  .featured-mobile-product-card .featured-product-image {
    width: 130px;
    height: 130px;
  }

  .featured-mobile-slider-dots {
    margin-top: 0.8rem;
    padding-bottom: 0.5rem;
  }

  .featured-mobile-slide {
    padding: 0;
  }

  .featured-mobile-product-card {
    padding: 1rem 0.5rem;
  }
}

/* Small Mobile (480px and below) */
@media (max-width: 480px) {
  .featured-products-container {
    padding: 0.8rem;
  }

  .featured-title {
    font-size: 1.2rem;
  }

  .region-selector {
    gap: 0.4rem;
    margin-bottom: 0.8rem;
  }

  .region-btn {
    padding: 0.3rem 0.6rem;
    font-size: 0.6rem;
  }

  .featured-mobile-product-card .featured-product-image {
    width: 110px;
    height: 110px;
  }

  .featured-mobile-product-card .featured-product-name {
    font-size: 0.8rem;
  }

  .featured-mobile-slider-dots {
    margin-top: 0.5rem;
  }

  .featured-mobile-product-card {
    padding: 0.8rem 0.3rem;
  }
}

/* Extra Small Mobile (380px and below) */
@media (max-width: 380px) {
  .featured-products-container {
    padding: 0.6rem;
  }

  .featured-title {
    font-size: 1rem;
  }

  .featured-subtitle {
    font-size: 0.6rem;
  }

  .region-btn {
    padding: 0.25rem 0.5rem;
    font-size: 0.55rem;
  }

  .featured-mobile-product-card .featured-product-image {
    width: 100px;
    height: 100px;
  }

  .featured-mobile-product-card .featured-product-name {
    font-size: 0.75rem;
  }

  .featured-mobile-product-card .featured-product-viscosity {
    font-size: 0.65rem;
  }
}

/* Desktop Large (1400px and above) */
@media (min-width: 1400px) {
  .featured-products-container {
    max-width: 1400px;
    padding: 90px 3rem 1.5rem;
  }

  .featured-title {
    font-size: 2.2rem;
  }

  .featured-product-image {
    width: 180px;
    height: 180px;
  }

  .featured-product-name {
    font-size: 1rem;
  }
}

/* ============================================ */
/* ANIMATIONS */
/* ============================================ */

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

/* ============================================ */
/* SCROLL SNAP INTEGRATION */
/* ============================================ */

.featured-products-section {
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

/* ============================================ */
/* ACCESSIBILITY - Reduced Motion */
/* ============================================ */

@media (prefers-reduced-motion: reduce) {
  .featured-product-card,
  .featured-product-image img,
  .featured-product-link,
  .featured-mobile-slider-track {
    transition: none !important;
  }

  .featured-product-card:hover {
    transform: none;
  }
}

/* ============================================ */
/* FEATURED PRODUCTS MOBILE SLIDER CONTROLS */
/* ============================================ */

.featured-mobile-slider-container {
  position: relative;
  width: 100%;
  overflow: hidden;
  margin: 0 auto;
}

.featured-mobile-slider-wrapper {
  overflow: hidden;
  width: 100%;
}

.featured-mobile-slider-track {
  display: flex;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.featured-mobile-slide {
  flex: 0 0 100%;
  padding: 0;
  box-sizing: border-box;
}

/* Navigation Buttons */
.featured-mobile-nav {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  pointer-events: none;
  z-index: 10;
  padding: 0 0.5rem;
}

.featured-mobile-prev,
.featured-mobile-next {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  pointer-events: auto;
  font-size: 18px;
}

.featured-mobile-prev:hover,
.featured-mobile-next:hover {
  background: var(--deluxe-red);
  border-color: transparent;
  transform: scale(1.05);
}

.featured-mobile-prev:active,
.featured-mobile-next:active {
  transform: scale(0.95);
}

/* Dots Navigation */
.featured-mobile-slider-dots {
  display: flex;
  justify-content: center;
  gap: 0.6rem;
  margin-top: 1rem;
  padding-bottom: 0.5rem;
}

.featured-mobile-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gray-medium);
  cursor: pointer;
  transition: all 0.3s ease;
}

.featured-mobile-dot.active {
  width: 24px;
  background: var(--deluxe-red);
  border-radius: 10px;
}

/* Responsive adjustments */
@media (max-width: 480px) {
  .featured-mobile-prev,
  .featured-mobile-next {
    width: 32px;
    height: 32px;
    font-size: 14px;
  }

  .featured-mobile-nav {
    padding: 0 0.25rem;
  }
}

/* RTL Support */
html[dir="rtl"] .featured-mobile-prev i,
html[dir="rtl"] .featured-mobile-next i {
  transform: rotate(180deg);
}

/* ============================================ */
/* TECHNICAL RESOURCES SECTION - EXPLOSION ANIMATION */
/* ============================================ */

.technical-resources-section {
  width: 100%;
  height: 100vh;
  position: relative;
  background: var(--bg-white);
  overflow: hidden;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.technical-resources-container {
  max-width: 1400px;
  margin: 0 auto;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 2rem 2rem;
  box-sizing: border-box;
}

/* Section Header */
.technical-resources-header {
  text-align: center;
  margin-bottom: 1.5rem;
  flex-shrink: 0;
}

.tech-res-badge {
  display: inline-block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 4px;
  color: var(--deluxe-red);
  margin-bottom: 0.6rem;
  font-weight: 600;
  background: rgba(194, 65, 12, 0.08);
  padding: 0.3rem 1rem;
  border-radius: 30px;
}

.tech-res-title {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 0.5rem;
  color: var(--soft-black);
  letter-spacing: -0.02em;
}

.tech-res-highlight {
  background: var(--deluxe-red);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
}

.tech-res-divider {
  width: 60px;
  height: 2px;
  background: var(--deluxe-red);
  margin: 0.5rem auto;
  border-radius: 2px;
}

.tech-res-subtitle {
  font-size: 0.85rem;
  color: var(--gray-text);
  max-width: 550px;
  margin: 0 auto;
  line-height: 1.5;
  font-weight: 400;
}

/* Categories Wrapper */
.tech-res-categories-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 1.5rem;
  flex-shrink: 0;
}

/* Circular Categories */
.tech-res-categories {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
  transition: all 0.5s ease;
}

.tech-res-categories.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: scale(0.8);
}

.tech-res-category {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

/* Close Button - Desktop Only */
.tech-res-close-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.8);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 2px solid var(--gray-medium);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  color: var(--gray-text);
  opacity: 0;
  visibility: hidden;
  z-index: 10;
}

.tech-res-close-btn.visible {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -50%) scale(1);
}

.tech-res-close-btn:hover {
  background: var(--deluxe-red);
  color: white;
  border-color: transparent;
}

/* Hide desktop close button on mobile */
@media (max-width: 768px) {
  .tech-res-close-btn.desktop-only {
    display: none;
  }
}

/* Explosion Animation */
.tech-res-category.exploding {
  animation: explode 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards;
}

@keyframes explode {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  30% {
    transform: scale(1.3);
    opacity: 0.8;
  }
  60% {
    transform: scale(1.1);
    opacity: 0.5;
  }
  100% {
    transform: scale(0);
    opacity: 0;
    display: none;
  }
}

.tech-res-category.shaking {
  animation: shake 0.5s ease-in-out;
}

@keyframes shake {
  0%,
  100% {
    transform: translateX(0);
  }
  10%,
  30%,
  50%,
  70%,
  90% {
    transform: translateX(-5px);
  }
  20%,
  40%,
  60%,
  80% {
    transform: translateX(5px);
  }
}

.tech-res-circle {
  width: 75px;
  height: 75px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 2px solid var(--gray-medium);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--deluxe-red);
  transition: all 0.3s ease;
  box-shadow: var(--shadow-sm);
}

.tech-res-circle svg {
  width: 32px;
  height: 32px;
}

.tech-res-category-title {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--gray-text);
  text-align: center;
}

/* Content Area */
.tech-res-content-area {
  flex: 1;
  min-height: 0;
  position: relative;
  display: none;
  overflow-y: auto;
}

.tech-res-content-area.active {
  display: block;
}

/* Footer - Initially Hidden */
.tech-res-footer {
  text-align: center;
  margin-top: 1.2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--gray-medium);
  flex-shrink: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.4s ease;
}

.tech-res-footer.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.tech-res-footer-text {
  font-size: 0.7rem;
  color: var(--gray-text);
  margin-bottom: 0.6rem;
}

.tech-res-contact-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--deluxe-red);
  text-decoration: none;
  padding: 0.35rem 0.9rem;
  border: 1px solid var(--deluxe-red);
  border-radius: 40px;
  transition: all 0.3s ease;
}

.tech-res-contact-btn:hover {
  background: var(--deluxe-red);
  color: white;
  gap: 0.6rem;
}

/* Desktop Panels */
.tech-res-desktop-panels {
  display: block;
}

.tech-res-content-panel {
  display: none;
  animation: fadeInUp 0.4s ease;
}

.tech-res-content-panel.active {
  display: block;
}

/* Resources Grid */
.tech-res-resources-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
}

.tech-res-resource-item {
  background: var(--bg-card);
  border: 1px solid var(--gray-medium);
  border-radius: 14px;
  padding: 1rem;
  transition: all 0.3s ease;
}

.tech-res-resource-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: rgba(194, 65, 12, 0.2);
}

.resource-icon {
  width: 40px;
  height: 40px;
  background: rgba(194, 65, 12, 0.05);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--deluxe-red);
  margin-bottom: 0.8rem;
}

.resource-icon svg {
  width: 20px;
  height: 20px;
}

.resource-info h4 {
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
  color: var(--soft-black);
}

.resource-info p {
  font-size: 0.65rem;
  color: var(--gray-text);
  line-height: 1.4;
  margin-bottom: 0.4rem;
}

.resource-meta {
  font-size: 0.55rem;
  color: var(--gray-text);
  display: block;
  margin-bottom: 0.6rem;
}

.resource-download-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--deluxe-red);
  text-decoration: none;
  transition: all 0.3s ease;
  border-bottom: 1px solid transparent;
}

.resource-download-btn:hover {
  gap: 0.5rem;
  border-bottom-color: var(--deluxe-red);
}

/* Loader */
.tech-res-loader {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: none;
  z-index: 10;
}

.tech-res-loader.active {
  display: block;
}

.loader-spinner {
  width: 50px;
  height: 50px;
  border: 3px solid var(--gray-medium);
  border-top-color: var(--deluxe-red);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Mobile Modal */
.tech-res-mobile-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
}

.tech-res-mobile-modal.active {
  display: block;
}

.tech-res-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  z-index: 9998;
}

.tech-res-modal-container {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: var(--bg-card);
  border-radius: 24px 24px 0 0;
  max-height: 85vh;
  overflow-y: auto;
  z-index: 9999;
  animation: slideUp 0.3s ease;
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.2);
}

.tech-res-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 1.5rem;
  border-bottom: 1px solid var(--gray-medium);
  position: sticky;
  top: 0;
  background: var(--bg-card);
  z-index: 10;
}

.tech-res-modal-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--soft-black);
  margin: 0;
}

.tech-res-modal-close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--gray-light);
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-text);
  transition: all 0.2s ease;
}

.tech-res-modal-close:hover {
  background: var(--deluxe-red);
  color: white;
}

.tech-res-modal-content {
  padding: 1.5rem;
}

.modal-resource-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem;
  background: var(--bg-alt);
  border-radius: 16px;
  margin-bottom: 1rem;
  border: 1px solid var(--gray-medium);
  transition: all 0.2s ease;
}

.modal-resource-item:hover {
  transform: translateX(5px);
  border-color: rgba(194, 65, 12, 0.3);
}

.modal-resource-icon {
  flex-shrink: 0;
  width: 45px;
  height: 45px;
  background: rgba(194, 65, 12, 0.05);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--deluxe-red);
}

.modal-resource-icon svg {
  width: 24px;
  height: 24px;
}

.modal-resource-info {
  flex: 1;
}

.modal-resource-info h4 {
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
  color: var(--soft-black);
}

.modal-resource-info p {
  font-size: 0.7rem;
  color: var(--gray-text);
  margin-bottom: 0.3rem;
  line-height: 1.4;
}

.modal-resource-meta {
  font-size: 0.6rem;
  color: var(--gray-text);
  display: block;
  margin-bottom: 0.5rem;
}

.modal-download-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--deluxe-red);
  text-decoration: none;
  transition: all 0.2s ease;
}

.modal-download-btn:hover {
  gap: 0.6rem;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideUp {
  from {
    transform: translateY(100%);
  }
  to {
    transform: translateY(0);
  }
}

/* ============================================ */
/* RESPONSIVE DESIGN */
/* ============================================ */

/* Tablet (1024px and below) */
@media (max-width: 1024px) {
  .technical-resources-section {
    height: auto;
    min-height: 100vh;
    overflow-y: auto;
  }

  .technical-resources-container {
    padding: 75px 1.5rem 2rem;
    height: auto;
    min-height: 100vh;
  }

  .tech-res-title {
    font-size: 1.6rem;
  }

  .tech-res-circle {
    width: 65px;
    height: 65px;
  }

  .tech-res-circle svg {
    width: 28px;
    height: 28px;
  }

  .tech-res-resources-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
}

/* Mobile (768px and below) */
@media (max-width: 768px) {
  .technical-resources-section {
    height: auto;
    min-height: 100vh;
    overflow-y: auto;
  }

  .technical-resources-container {
    padding: 65px 1rem 1.5rem;
    height: auto;
    min-height: 100vh;
  }

  .tech-res-title {
    font-size: 1.4rem;
  }

  .tech-res-subtitle {
    font-size: 0.7rem;
  }

  .tech-res-categories {
    gap: 1rem;
  }

  .tech-res-circle {
    width: 55px;
    height: 55px;
  }

  .tech-res-circle svg {
    width: 26px;
    height: 26px;
  }

  .tech-res-category-title {
    font-size: 0.65rem;
  }

  /* Hide desktop panels on mobile */
  .tech-res-desktop-panels {
    display: none;
  }
}

/* Small Mobile (480px and below) */
@media (max-width: 480px) {
  .technical-resources-container {
    padding: 60px 0.8rem 1rem;
  }

  .tech-res-title {
    font-size: 1.2rem;
  }

  .tech-res-circle {
    width: 48px;
    height: 48px;
  }

  .tech-res-circle svg {
    width: 22px;
    height: 22px;
  }

  .tech-res-category-title {
    font-size: 0.6rem;
  }
}

/* Desktop Large (1400px and above) */
@media (min-width: 1400px) {
  .technical-resources-container {
    max-width: 1400px;
    padding: 90px 3rem 2rem;
  }

  .tech-res-title {
    font-size: 2.2rem;
  }

  .tech-res-circle {
    width: 85px;
    height: 85px;
  }

  .tech-res-circle svg {
    width: 38px;
    height: 38px;
  }

  .tech-res-resources-grid {
    gap: 1.5rem;
  }
}

/* Style for Font Awesome icons in technical resources section */
.tech-res-circle i {
  font-size: 32px;
  color: var(--deluxe-red);
}

.resource-icon i {
  font-size: 28px;
  color: var(--deluxe-red);
}

.tech-res-close-btn i {
  font-size: 24px;
}

.tech-res-contact-btn i {
  margin-right: 8px;
  font-size: 14px;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .tech-res-circle i {
    font-size: 28px;
  }

  .resource-icon i {
    font-size: 24px;
  }
}

@media (max-width: 768px) {
  .tech-res-circle i {
    font-size: 26px;
  }

  .resource-icon i {
    font-size: 22px;
  }
}

@media (max-width: 480px) {
  .tech-res-circle i {
    font-size: 22px;
  }

  .resource-icon i {
    font-size: 20px;
  }
}

/* Center resource items when there are only 3 */
.tech-res-resources-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
}

/* When there are exactly 3 items, center them */
.tech-res-resources-grid:has(.tech-res-resource-item:nth-child(3):last-child) {
  grid-template-columns: repeat(3, 1fr);
  justify-content: center;
}

/* Alternative approach using :has() with count check */
.tech-res-resources-grid:has(> :nth-child(3):last-child) {
  grid-template-columns: repeat(3, 1fr);
  max-width: 900px;
  margin: 0 auto;
}

/* Responsive adjustments for centered layout */
@media (max-width: 1024px) {
  .tech-res-resources-grid:has(> :nth-child(3):last-child) {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }
}

@media (max-width: 768px) {
  .tech-res-resources-grid:has(> :nth-child(3):last-child) {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }
}
/* ============================================ */
/* SCROLL SNAP */
/* ============================================ */

.technical-resources-section {
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

/* ============================================ */
/* ACCESSIBILITY */
/* ============================================ */

@media (prefers-reduced-motion: reduce) {
  .tech-res-category,
  .tech-res-category.shaking,
  .tech-res-category.exploding,
  .tech-res-content-area,
  .tech-res-content-panel,
  .tech-res-modal-container,
  .tech-res-footer {
    animation: none !important;
    transition: none !important;
  }
}

/* ============================================ */
/* TESTIMONIALS & TRUST SECTION */
/* ============================================ */

.testimonials-section {
  width: 100%;
  height: 100vh;
  position: relative;
  background: var(--bg-white);
  padding: 80px 2rem 2rem;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  overflow-y: auto;
  overflow-x: hidden;
}

.testimonials-container {
  max-width: 1280px;
  margin: 0 auto;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Section Header */
.testimonials-header {
  text-align: center;
  margin-bottom: 2rem;
  padding-top: 0;
  flex-shrink: 0;
}

.testimonials-badge {
  display: inline-block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 4px;
  color: var(--deluxe-red);
  margin-bottom: 0.6rem;
  font-weight: 600;
  background: rgba(194, 65, 12, 0.08);
  padding: 0.25rem 0.9rem;
  border-radius: 30px;
}

.testimonials-title {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 0.6rem;
  color: var(--soft-black);
  letter-spacing: -0.02em;
}

.testimonials-highlight {
  background: var(--deluxe-red);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
}

.testimonials-divider {
  width: 60px;
  height: 2px;
  background: var(--deluxe-red);
  margin: 0.5rem auto;
  border-radius: 2px;
}

.testimonials-subtitle {
  font-size: 0.9rem;
  color: var(--gray-text);
  max-width: 550px;
  margin: 0 auto;
  line-height: 1.5;
}

/* Testimonials Grid - Desktop */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-bottom: 2rem;
  flex: 1;
  align-items: center;
}

/* Testimonial Cards */
.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--gray-medium);
  border-radius: 20px;
  padding: 1.5rem;
  transition: all 0.3s ease;
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(194, 65, 12, 0.2);
}

.testimonial-rating {
  margin-bottom: 1rem;
  flex-shrink: 0;
}

.star {
  color: var(--gold);
  font-size: 1rem;
  margin-right: 2px;
}

.testimonial-text {
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--gray-text);
  margin-bottom: 1.2rem;
  font-style: italic;
  flex: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding-top: 0.8rem;
  border-top: 1px solid var(--gray-medium);
  flex-shrink: 0;
}

.author-initial {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--deluxe-red);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.author-info h4 {
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 0.2rem;
  color: var(--soft-black);
}

.author-info span {
  font-size: 0.7rem;
  color: var(--gray-text);
}

/* Trust Badges */
.trust-badges {
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
  padding: 1.5rem 0;
  border-top: 1px solid var(--gray-medium);
  border-bottom: 1px solid var(--gray-medium);
  flex-shrink: 0;
}

.trust-item {
  text-align: center;
}

.trust-number {
  font-size: 2rem;
  font-weight: 800;
  background: var(--deluxe-red);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 0.3rem;
}

.trust-label {
  font-size: 0.7rem;
  color: var(--gray-text);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Mobile Slider - Hidden on Desktop */
.testimonials-mobile-slider {
  display: none;
  position: relative;
  overflow: hidden;
  margin-top: 1rem;
  margin-bottom: 1rem;
}

.mobile-slider-track {
  display: flex;
  direction: ltr;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

html[dir="rtl"] .mobile-slide .testimonial-card {
  direction: rtl;
  text-align: right;
}

.mobile-slide {
  flex: 0 0 100%;
  padding: 0 0.5rem;
  box-sizing: border-box;
}

.mobile-slider-dots {
  display: flex;
  justify-content: center;
  gap: 0.6rem;
  margin-top: 1rem;
}

.mobile-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gray-medium);
  cursor: pointer;
  transition: all 0.3s ease;
}

.mobile-dot.active {
  width: 24px;
  background: var(--deluxe-red);
  border-radius: 10px;
}

/* ============================================ */
/* RESPONSIVE DESIGN */
/* ============================================ */

/* Tablet (1024px and below) */
@media (max-width: 1024px) {
  .testimonials-section {
    height: auto;
    min-height: 100vh;
    padding: 70px 1.5rem 1.5rem;
  }

  .testimonials-container {
    height: auto;
    min-height: calc(100vh - 70px);
    justify-content: center;
  }

  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
  }

  .testimonials-title {
    font-size: 1.6rem;
  }

  .trust-badges {
    gap: 2rem;
    padding: 1rem 0;
  }

  .trust-number {
    font-size: 1.6rem;
  }

  .testimonial-card {
    padding: 1.2rem;
  }
}

/* Mobile (768px and below) */
@media (max-width: 768px) {
  .testimonials-section {
    height: auto;
    min-height: 100vh;
    padding: 60px 1rem 1rem;
  }

  .testimonials-container {
    min-height: calc(100vh - 60px);
    justify-content: center;
  }

  .testimonials-header {
    margin-bottom: 1.2rem;
  }

  .testimonials-title {
    font-size: 1.4rem;
  }

  .testimonials-subtitle {
    font-size: 0.8rem;
  }

  .testimonials-badge {
    font-size: 0.6rem;
    margin-bottom: 0.5rem;
  }

  .testimonials-divider {
    width: 50px;
  }

  /* Hide desktop grid */
  .testimonials-grid {
    display: none;
  }

  /* Show mobile slider */
  .testimonials-mobile-slider {
    display: block;
    margin: 0.5rem 0;
  }

  .mobile-slider-track {
    margin: 0 auto;
    width: 100%;
  }

  .mobile-slide {
    padding: 0;
  }

  .testimonial-card {
    padding: 1rem;
    margin: 0;
    height: auto;
  }

  .testimonial-text {
    font-size: 0.8rem;
    margin-bottom: 0.8rem;
  }

  .author-initial {
    width: 35px;
    height: 35px;
    font-size: 0.8rem;
  }

  .author-info h4 {
    font-size: 0.8rem;
  }

  .author-info span {
    font-size: 0.65rem;
  }

  .testimonial-rating .star {
    font-size: 0.9rem;
  }

  /* Trust Badges - 2x2 Grid on Mobile */
  .trust-badges {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    padding: 1rem 0;
    margin-top: 0.5rem;
  }

  .trust-item {
    text-align: center;
    padding: 0.5rem;
  }

  .trust-number {
    font-size: 1.4rem;
  }

  .trust-label {
    font-size: 0.6rem;
  }

  /* Slider Dots */
  .mobile-slider-dots {
    margin-top: 0.8rem;
  }
}

/* Small Mobile (480px and below) */
@media (max-width: 480px) {
  .testimonials-section {
    padding: 55px 0.8rem 0.8rem;
  }

  .testimonials-title {
    font-size: 1.2rem;
  }

  .testimonials-badge {
    font-size: 0.55rem;
    padding: 0.2rem 0.7rem;
  }

  .testimonial-card {
    padding: 0.9rem;
  }

  .testimonial-text {
    font-size: 0.75rem;
  }

  .author-initial {
    width: 32px;
    height: 32px;
    font-size: 0.75rem;
  }

  .author-info h4 {
    font-size: 0.75rem;
  }

  .author-info span {
    font-size: 0.6rem;
  }

  .trust-number {
    font-size: 1.2rem;
  }

  .trust-label {
    font-size: 0.55rem;
  }

  .trust-badges {
    gap: 0.8rem;
    padding: 0.8rem 0;
  }
}

/* Extra Small Mobile (380px and below) */
@media (max-width: 380px) {
  .testimonials-section {
    padding: 50px 0.6rem 0.6rem;
  }

  .testimonials-title {
    font-size: 1rem;
  }

  .testimonial-text {
    font-size: 0.7rem;
  }

  .trust-number {
    font-size: 1rem;
  }

  .trust-label {
    font-size: 0.5rem;
  }
}

/* Desktop Large (1400px and above) */
@media (min-width: 1400px) {
  .testimonials-container {
    max-width: 1400px;
  }

  .testimonials-section {
    padding: 90px 3rem 2rem;
  }

  .testimonials-title {
    font-size: 2.2rem;
  }

  .testimonials-grid {
    gap: 2rem;
  }

  .testimonial-card {
    padding: 1.8rem;
  }

  .trust-number {
    font-size: 2.2rem;
  }

  .trust-badges {
    padding: 1.8rem 0;
  }
}

/* ============================================ */
/* ANIMATIONS */
/* ============================================ */

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

.testimonial-card {
  animation: fadeInUp 0.5s ease forwards;
  opacity: 0;
}

.testimonial-card:nth-child(1) {
  animation-delay: 0.05s;
}
.testimonial-card:nth-child(2) {
  animation-delay: 0.1s;
}
.testimonial-card:nth-child(3) {
  animation-delay: 0.15s;
}
.testimonial-card:nth-child(4) {
  animation-delay: 0.2s;
}

/* ============================================ */
/* SCROLL SNAP */
/* ============================================ */

.testimonials-section {
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

/* ============================================ */
/* ACCESSIBILITY */
/* ============================================ */

@media (prefers-reduced-motion: reduce) {
  .testimonial-card,
  .mobile-slider-track {
    animation: none !important;
    transition: none !important;
  }

  .testimonial-card:hover {
    transform: none;
  }
}

/* ============================================ */
/* FOOTER SECTION - COLLAPSIBLE CARDS */
/* ============================================ */

.footer-section {
  width: 100%;
  height: 100vh;
  position: relative;
  background: var(--bg-white);
  color: var(--soft-black);
  padding: 80px 2rem 2rem;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  overflow-y: auto;
  overflow-x: hidden;
}

/* Hero-inspired motion background */
.footer-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    circle at 30% 50%,
    rgba(194, 65, 12, 0.02) 0%,
    transparent 60%
  );
  pointer-events: none;
  animation: footerPulse 12s ease-in-out infinite;
}

.footer-section::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    circle at 70% 60%,
    rgba(44, 110, 158, 0.02) 0%,
    transparent 60%
  );
  pointer-events: none;
  animation: footerPulse 15s ease-in-out infinite reverse;
}

@keyframes footerPulse {
  0%,
  100% {
    opacity: 0.4;
    transform: scale(1);
  }
  50% {
    opacity: 0.8;
    transform: scale(1.05);
  }
}

.footer-container {
  max-width: 1280px;
  margin: 0 auto;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  z-index: 1;
}

/* ============================================ */
/* TRUST WALL / LOGO WALL */
/* ============================================ */

.trust-wall {
  text-align: center;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--gray-medium);
  flex-shrink: 0;
}

.trust-wall-header {
  margin-bottom: 1.5rem;
}

.trust-wall-title {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 4px;
  color: var(--deluxe-red);
  font-weight: 600;
  margin-bottom: 0.8rem;
}

.trust-wall-divider {
  width: 60px;
  height: 2px;
  background: var(--deluxe-red);
  margin: 0 auto;
  border-radius: 2px;
}

.trust-badges-wall {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
}

.trust-badge-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  transition: all 0.3s ease;
  padding: 0.5rem;
}

.trust-badge-item:hover {
  transform: translateY(-5px);
}

.trust-badge-icon {
  width: 55px;
  height: 55px;
  background: rgba(194, 65, 12, 0.05);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--deluxe-red);
  transition: all 0.3s ease;
}

.trust-badge-item:hover .trust-badge-icon {
  background: var(--deluxe-red);
  color: white;
  transform: scale(1.05);
}

@media (min-width: 769px) {
  .trust-badge-item:hover .trust-badge-icon {
    color: var(--soft-black);
  }
}

.trust-badge-icon svg {
  width: 28px;
  height: 28px;
}

.trust-badge-name {
  font-size: 0.65rem;
  font-weight: 500;
  color: var(--gray-text);
  text-align: center;
}

/* ============================================ */
/* COLLAPSIBLE CARDS */
/* ============================================ */

.footer-main {
  flex: 1;
  display: flex;
  align-items: center;
  margin: 1rem 0;
}

.footer-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  width: 100%;
}

.footer-card {
  background: rgba(194, 65, 12, 0.02);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s ease;
  border: 1px solid var(--gray-medium);
}

.footer-card:hover {
  border-color: rgba(194, 65, 12, 0.3);
  background: rgba(194, 65, 12, 0.03);
}

.footer-card-header {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 1.2rem;
  background: transparent;
  border: none;
  cursor: pointer;
  font-family: var(--font-primary);
  color: var(--soft-black);
  transition: all 0.3s ease;
  text-align: left;
}

.footer-card-header:hover {
  background: rgba(194, 65, 12, 0.03);
}

.footer-card-title {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.footer-card-icon {
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--deluxe-red);
  transition: transform 0.3s ease;
}

.footer-card.active .footer-card-icon {
  transform: rotate(45deg);
}

.footer-card-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 0 1.2rem;
}

.footer-card.active .footer-card-content {
  max-height: 400px;
  padding: 0 1.2rem 1.2rem 1.2rem;
}

/* Card Content Styles */
.footer-description {
  font-size: 0.8rem;
  line-height: 1.6;
  color: var(--gray-text);
  margin-bottom: 1rem;
}

.footer-tagline {
  font-size: 0.7rem;
  font-style: italic;
  color: var(--deluxe-red);
  padding-top: 0.6rem;
  border-top: 1px solid var(--gray-medium);
}

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

.footer-links li a {
  font-size: 0.8rem;
  color: var(--gray-text);
  text-decoration: none;
  transition: all 0.2s ease;
  display: inline-block;
}

.footer-links li a:hover {
  color: var(--deluxe-red);
  transform: translateX(5px);
}

.footer-contact {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.footer-contact li {
  font-size: 0.75rem;
  color: var(--gray-text);
  display: flex;
  align-items: center;
  gap: 0.7rem;
  cursor: default;
}

.footer-contact li svg {
  flex-shrink: 0;
  color: var(--gray-text);
  width: 16px;
  height: 16px;
}

.footer-social {
  display: flex;
  gap: 0.8rem;
  margin-top: 1rem;
}

.social-link {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(194, 65, 12, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  color: var(--deluxe-red);
}

.social-link:hover {
  background: var(--deluxe-red);
  color: white;
  transform: translateY(-3px);
}

.social-link svg {
  width: 16px;
  height: 16px;
}

/* Footer Bottom */
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.5rem;
  border-top: 1px solid var(--gray-medium);
  flex-wrap: wrap;
  gap: 1rem;
  flex-shrink: 0;
}

.footer-copyright {
  font-size: 0.7rem;
  color: var(--gray-text);
}

.footer-legal {
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
}

.footer-legal a {
  font-size: 0.7rem;
  color: var(--gray-text);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-legal a:hover {
  color: var(--deluxe-red);
}

.footer-legal .separator {
  font-size: 0.7rem;
  color: var(--gray-medium);
}

/* ============================================ */
/* RESPONSIVE DESIGN */
/* ============================================ */

/* Tablet (1024px and below) */
@media (max-width: 1024px) {
  .footer-section {
    height: auto;
    min-height: 100vh;
    padding: 70px 1.5rem 1.5rem;
  }

  .footer-container {
    height: auto;
    min-height: calc(100vh - 70px);
  }

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

  .trust-badges-wall {
    gap: 1.5rem;
  }

  .trust-badge-icon {
    width: 50px;
    height: 50px;
  }

  .trust-badge-icon svg {
    width: 26px;
    height: 26px;
  }
}

/* Mobile (768px and below) - DARK THEME */
@media (max-width: 768px) {
  .footer-section {
    height: auto;
    min-height: 100vh;
    padding: 60px 1rem 1rem;
    display: flex;
    align-items: center;
    background: #0a0a0a;
    color: #e5e5e5;
    overflow: visible;
    scroll-snap-align: none;
    scroll-snap-stop: normal;
  }

  /* Dark theme motion background */
  .footer-section::before {
    background: radial-gradient(
      circle at 30% 50%,
      rgba(194, 65, 12, 0.08) 0%,
      transparent 60%
    );
  }

  .footer-section::after {
    background: radial-gradient(
      circle at 70% 60%,
      rgba(44, 110, 158, 0.08) 0%,
      transparent 60%
    );
  }

  .footer-container {
    min-height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  /* Trust Wall - Dark Theme */
  .trust-wall {
    border-bottom-color: rgba(255, 255, 255, 0.1);
  }

  .trust-wall-title {
    color: var(--deluxe-red);
  }

  .trust-badge-icon {
    background: rgba(255, 255, 255, 0.08);
    color: var(--deluxe-red);
  }

  .trust-badge-name {
    color: #cccccc;
  }

  /* Trust Badges - Wrapped Grid (No Internal Horizontal Scroll) */
  .trust-badges-wall {
    display: flex;
    flex-wrap: wrap;
    overflow-x: hidden;
    justify-content: center;
    gap: 1rem;
    padding-bottom: 0.5rem;
    -webkit-overflow-scrolling: auto;
    scrollbar-width: none;
  }

  .trust-badge-item {
    flex-shrink: 1;
    padding: 0.3rem 0.2rem;
  }

  .trust-badge-icon {
    width: 48px;
    height: 48px;
  }

  .trust-badge-icon svg {
    width: 24px;
    height: 24px;
  }

  .trust-badge-name {
    font-size: 0.6rem;
    white-space: nowrap;
  }

  /* Cards - Dark Theme */
  .footer-card {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
  }

  .footer-card:hover {
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.08);
  }

  .footer-card-header {
    color: #ffffff;
  }

  .footer-card-header:hover {
    background: rgba(255, 255, 255, 0.05);
  }

  .footer-card-icon {
    color: var(--deluxe-red);
  }

  .footer-description {
    color: #cccccc;
  }

  .footer-tagline {
    border-top-color: rgba(255, 255, 255, 0.1);
    color: var(--deluxe-red);
  }

  .footer-links li a {
    color: #cccccc;
  }

  .footer-links li a:hover {
    color: var(--deluxe-red);
  }

  .footer-contact li {
    color: #cccccc;
  }

  .footer-contact li svg {
    color: #999999;
  }

  .social-link {
    background: rgba(255, 255, 255, 0.1);
    color: var(--deluxe-red);
  }

  .social-link:hover {
    background: var(--deluxe-red);
    color: white;
  }

  /* Footer Bottom - Dark Theme */
  .footer-bottom {
    border-top-color: rgba(255, 255, 255, 0.1);
  }

  .footer-copyright {
    color: #999999;
  }

  .footer-legal a {
    color: #999999;
  }

  .footer-legal a:hover {
    color: var(--deluxe-red);
  }

  .footer-legal .separator {
    color: #666666;
  }

  .footer-main {
    margin: 0.5rem 0;
  }

  .footer-cards {
    grid-template-columns: 1fr;
    gap: 0.8rem;
  }

  .footer-card-header {
    padding: 1rem 1rem;
  }

  .footer-card-title {
    font-size: 0.9rem;
  }

  .footer-card.active .footer-card-content {
    padding: 0 1rem 1rem 1rem;
  }

  .footer-description {
    font-size: 0.75rem;
  }

  .footer-links li a,
  .footer-contact li {
    font-size: 0.7rem;
  }

  .footer-social {
    justify-content: center;
    margin-top: 0.8rem;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 0.6rem;
    padding-top: 1rem;
    margin-top: 0.5rem;
  }

  .footer-legal {
    justify-content: center;
  }
}

/* Small Mobile (480px and below) */
@media (max-width: 480px) {
  .footer-section {
    padding: 55px 0.8rem 0.8rem;
  }

  .trust-badge-icon {
    width: 45px;
    height: 45px;
  }

  .trust-badge-icon svg {
    width: 22px;
    height: 22px;
  }

  .trust-badge-name {
    font-size: 0.55rem;
  }

  .footer-card-header {
    padding: 0.9rem 0.8rem;
  }

  .footer-card-title {
    font-size: 0.85rem;
  }

  .footer-card.active .footer-card-content {
    padding: 0 0.8rem 0.8rem 0.8rem;
  }
}

/* Extra Small Mobile (380px and below) */
@media (max-width: 380px) {
  .trust-badge-icon {
    width: 42px;
    height: 42px;
  }

  .trust-badge-icon svg {
    width: 20px;
    height: 20px;
  }

  .trust-badge-name {
    font-size: 0.5rem;
  }
}

/* Desktop Large (1400px and above) */
@media (min-width: 1400px) {
  .footer-container {
    max-width: 1400px;
  }

  .footer-section {
    padding: 90px 3rem 2rem;
  }

  .trust-badge-icon {
    width: 65px;
    height: 65px;
  }

  .trust-badge-icon svg {
    width: 34px;
    height: 34px;
  }

  .footer-cards {
    gap: 2rem;
  }
}

/* ============================================ */
/* ANIMATIONS */
/* ============================================ */

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

.footer-card {
  animation: fadeInUp 0.4s ease forwards;
  opacity: 0;
}

.footer-card:nth-child(1) {
  animation-delay: 0.05s;
}
.footer-card:nth-child(2) {
  animation-delay: 0.1s;
}
.footer-card:nth-child(3) {
  animation-delay: 0.15s;
}
.footer-card:nth-child(4) {
  animation-delay: 0.2s;
}

/* ============================================ */
/* SCROLL SNAP */
/* ============================================ */

.footer-section {
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

/* ============================================ */
/* ACCESSIBILITY */
/* ============================================ */

@media (prefers-reduced-motion: reduce) {
  .footer-section::before,
  .footer-section::after,
  .footer-card,
  .footer-card-content,
  .footer-card-icon {
    animation: none !important;
    transition: none !important;
  }

  .footer-card.active .footer-card-content {
    max-height: 400px;
  }

  .trust-badges-wall {
    overflow-x: visible;
  }
}

/* Dark theme hover styles */
@media (max-width: 768px) {
  .trust-badge-item:hover .trust-badge-icon {
    background: var(--deluxe-red);
    color: white;
  }

  .trust-badge-item:hover .trust-badge-name {
    color: var(--deluxe-red);
  }

  .trust-badge-icon {
    background: rgba(255, 255, 255, 0.08);
  }
}
/* Style for Font Awesome icons in certification section */
.circle-icon i,
.cert-icon i,
.oem-logo i {
  font-size: 1.8rem;
}

/* Adjust icon sizes for different screen sizes */
@media (max-width: 1024px) {
  .circle-icon i {
    font-size: 1.5rem;
  }

  .cert-icon i {
    font-size: 1.4rem;
  }
}

@media (max-width: 768px) {
  .circle-icon i {
    font-size: 2rem;
  }

  .cert-icon i {
    font-size: 1.6rem;
  }

  .oem-logo i {
    font-size: 1.6rem;
  }
}
/* Author Image Styles */
.author-image {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--deluxe-red), var(--deluxe-blue));
  display: flex;
  align-items: center;
  justify-content: center;
}

.author-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Fallback for missing images - shows initials */
.author-image:empty::before {
  content: attr(data-initial);
  font-size: 1.2rem;
  font-weight: 600;
  color: white;
}

/* Mobile adjustments */
@media (max-width: 768px) {
  .author-image {
    width: 45px;
    height: 45px;
  }
}

@media (max-width: 480px) {
  .author-image {
    width: 40px;
    height: 40px;
  }
}

/* ============================================ */
/* MOBILE NAV-MENU TEXT COLOR FIX - COMPLETE */
/* ============================================ */

@media (max-width: 768px) {
  /* Light navbar - menu text should be dark (visible on white background) */
  .navbar.light .nav-menu {
    background: var(--pure-white);
  }

  .navbar.light .nav-menu .nav-links a {
    color: var(--soft-black) !important;
  }

  .navbar.light .nav-menu .nav-links a:hover,
  .navbar.light .nav-menu .nav-links a.active {
    color: var(--deluxe-red) !important;
  }

  /* Light navbar - language selector */
  .navbar.light .lang-btn {
    border-color: var(--gray-medium);
    color: var(--soft-black) !important;
  }

  .navbar.light .lang-btn:hover {
    border-color: var(--deluxe-red);
    color: var(--deluxe-red) !important;
  }

  .navbar.light .lang-dropdown {
    background: var(--pure-white);
    border-color: var(--gray-medium);
  }

  .navbar.light .lang-option {
    color: var(--soft-black) !important;
  }

  .navbar.light .lang-option:hover {
    background: var(--gray-light);
    color: var(--deluxe-red) !important;
  }

  /* Dark navbar - menu text should be light (visible on dark background) */
  .navbar.dark .nav-menu {
    background: #0a0a0a;
  }

  .navbar.dark .nav-menu .nav-links a {
    color: #ffffff !important;
  }

  .navbar.dark .nav-menu .nav-links a:hover,
  .navbar.dark .nav-menu .nav-links a.active {
    color: var(--deluxe-red) !important;
  }

  /* Dark navbar - language selector */
  .navbar.dark .lang-btn {
    border-color: rgba(255, 255, 255, 0.3);
    color: #ffffff !important;
  }

  .navbar.dark .lang-btn:hover {
    border-color: var(--deluxe-red);
    color: var(--deluxe-red) !important;
  }

  .navbar.dark .lang-dropdown {
    background: #1a1a1a;
    border-color: rgba(255, 255, 255, 0.1);
  }

  .navbar.dark .lang-option {
    color: #e5e5e5 !important;
  }

  .navbar.dark .lang-option:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--deluxe-red) !important;
  }

  /* Red, Blue, Gold navbars - menu has white background, text should be dark */
  .navbar.red .nav-menu,
  .navbar.blue .nav-menu,
  .navbar.gold .nav-menu {
    background: var(--pure-white);
  }

  .navbar.red .nav-menu .nav-links a,
  .navbar.blue .nav-menu .nav-links a,
  .navbar.gold .nav-menu .nav-links a {
    color: var(--soft-black) !important;
  }

  .navbar.red .nav-menu .nav-links a:hover,
  .navbar.blue .nav-menu .nav-links a:hover,
  .navbar.gold .nav-menu .nav-links a:hover,
  .navbar.red .nav-menu .nav-links a.active,
  .navbar.blue .nav-menu .nav-links a.active,
  .navbar.gold .nav-menu .nav-links a.active {
    color: var(--deluxe-red) !important;
  }

  /* Red, Blue, Gold navbars - language selector */
  .navbar.red .lang-btn,
  .navbar.blue .lang-btn,
  .navbar.gold .lang-btn {
    border-color: var(--gray-medium);
    color: var(--soft-black) !important;
  }

  .navbar.red .lang-btn:hover,
  .navbar.blue .lang-btn:hover,
  .navbar.gold .lang-btn:hover {
    border-color: var(--deluxe-red);
    color: var(--deluxe-red) !important;
  }

  .navbar.red .lang-dropdown,
  .navbar.blue .lang-dropdown,
  .navbar.gold .lang-dropdown {
    background: var(--pure-white);
    border-color: var(--gray-medium);
  }

  .navbar.red .lang-option,
  .navbar.blue .lang-option,
  .navbar.gold .lang-option {
    color: var(--soft-black) !important;
  }

  .navbar.red .lang-option:hover,
  .navbar.blue .lang-option:hover,
  .navbar.gold .lang-option:hover {
    background: var(--gray-light);
    color: var(--deluxe-red) !important;
  }

  /* Ensure all links have proper opacity/visibility */
  .navbar .nav-menu .nav-links li {
    width: 100%;
    text-align: center;
  }

  .navbar .nav-menu .nav-links a {
    display: inline-block;
    font-size: 1rem;
    font-weight: 500;
    padding: 0.5rem 0;
    transition: color 0.2s ease;
  }

  /* Active link underline effect for mobile */
  .navbar .nav-menu .nav-links a.active {
    position: relative;
  }

  .navbar .nav-menu .nav-links a.active::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 2px;
    background: var(--slide-accent, var(--deluxe-red));
    border-radius: 2px;
  }

  /* Fix for when navbar changes while menu is open */
  .nav-menu.active {
    transition: background 0.3s ease;
  }

  /* Language selector in mobile menu */
  .navbar .language-selector {
    margin-top: 1rem;
    width: 100%;
    max-width: 160px;
  }

  .navbar .lang-btn {
    width: 100%;
    justify-content: center;
    background: transparent;
  }

  /* Language dropdown positioning */
  .navbar .lang-dropdown {
    top: auto;
    bottom: 100%;
    margin-top: 0;
    margin-bottom: 0.5rem;
  }

  /* Language option styling */
  .navbar .lang-option {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.7rem 1rem;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.85rem;
  }

  .navbar .lang-option .lang-flag {
    font-size: 1rem;
  }

  .navbar .lang-option .lang-name {
    font-weight: 500;
  }
}

/* ============================================ */
/* REMOVE INTERNAL SLIDER FROM WHY CHOOSE SECTION */
/* ============================================ */

/* Hide the right side differentiators grid on desktop */
.why-choose-right {
  display: none !important;
}

/* Make left side take full width */
.why-choose-left {
  max-width: 100% !important;
  width: 100% !important;
  text-align: center !important;
}

/* Center align all content in left side */
.why-choose-left .why-choose-header {
  text-align: center !important;
}

.why-choose-left .why-badge {
  display: inline-block !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.why-choose-left .why-divider {
  margin-left: auto !important;
  margin-right: auto !important;
}

.why-choose-left .why-subtitle {
  margin-left: auto !important;
  margin-right: auto !important;
  max-width: 700px !important;
}

/* Center the global grid */
.why-choose-left .global-grid {
  justify-content: center !important;
}

/* Center the stats */
.why-choose-left .why-stats {
  justify-content: center !important;
}

.why-choose-left .why-stat-item {
  text-align: center !important;
}

.why-choose-left .why-stat-progress {
  margin-left: auto !important;
  margin-right: auto !important;
}

/* Center the CTA button */
.why-choose-left .why-cta {
  display: inline-flex !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* Adjust container to center content */
.why-choose-container {
  justify-content: center !important;
  text-align: center !important;
}

/* ============================================ */
/* RESPONSIVE - Ensure mobile layout works */
/* ============================================ */

/* On tablet and mobile, the right side is already hidden */
@media (max-width: 1024px) {
  .why-choose-right {
    display: none !important;
  }

  .why-choose-left {
    max-width: 100% !important;
    text-align: center !important;
  }
}

/* ============================================ */
/* KEEP HERO SECTIONS AS ORIGINAL - NO CHANGES */
/* ============================================ */

/* Hero sections - keep original gradients and backgrounds */
.hero-slider,
.contact-hero,
.contact-hero-split,
.about-hero-split,
.faq-hero,
.products-hero {
  background: inherit !important;
  background-image: inherit !important;
}

/* Keep hero background elements visible */
.contact-hero-bg-gradient,
.contact-hero-bg-shape-1,
.contact-hero-bg-shape-2,
.about-hero-split::before,
.about-hero-split::after,
.faq-hero-bg-gradient,
.faq-hero-bg-shape-1,
.faq-hero-bg-shape-2,
.products-hero-bg-gradient,
.products-hero-bg-shape-1,
.products-hero-bg-shape-2,
.hero-slider .bg-motion {
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
}

/* ============================================ */
/* ALL OTHER SECTIONS - WHITE BACKGROUND */
/* ============================================ */

/* Force all non-hero sections to have white background */
.product-showcase,
.categories-grid-section,
.technology-section,
.certifications-section,
.why-choose-section,
.featured-products-section,
.technical-resources-section,
.testimonials-section,
.contact-form-section,
.products-cta,
.about-mission-vision,
.about-values,
.about-story,
.about-global,
.about-testimonials,
.about-cta,
.faq-categories,
.faq-cta,
.products-header-section,
.products-grid-section {
  background: var(--bg-white) !important;
  background-color: var(--bg-white) !important;
  background-image: none !important;
}

/* Remove gradient backgrounds from non-hero sections */
.product-showcase,
.categories-grid-section,
.technology-section,
.certifications-section,
.why-choose-section,
.featured-products-section,
.technical-resources-section,
.testimonials-section,
.contact-form-section,
.products-cta,
.about-mission-vision,
.about-values,
.about-story,
.about-global,
.about-testimonials,
.about-cta,
.faq-categories,
.faq-cta,
.products-header-section,
.products-grid-section {
  background-image: none !important;
}

/* Remove gradient backgrounds from containers in non-hero sections */
.about-mv-container,
.about-values-container,
.about-story-container,
.about-global-container,
.about-testimonials-container,
.about-cta-container,
.faq-categories-container,
.faq-cta-container,
.products-header-container,
.products-cta-container,
.technology-container,
.certifications-container,
.featured-products-container,
.technical-resources-container,
.testimonials-container,
.contact-form-container {
  background: transparent !important;
  background-image: none !important;
}

/* Remove background gradients from specific non-hero elements */
.about-mv-bg-gradient,
.about-mv-bg-shape,
.products-cta::before,
.products-cta::after,
.contact-form-bg-gradient,
.contact-form-bg-shape-1,
.technology-section .bg-motion,
.certifications-section::before,
.certifications-section::after {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
}

/* ============================================ */
/* KEEP CARDS AND CONTAINERS WITH WHITE BACKGROUND */
/* ============================================ */

/* White backgrounds for all card-like elements */
.about-value-card,
.about-testimonial-card,
.about-global-stat-card,
.about-global-markets,
.cert-item,
.oem-item,
.iso-item,
.faq-category-group,
.faq-item,
.testimonial-card,
.differentiator-card,
.featured-product-card,
.slider-3d-card,
.tech-res-resource-item,
.contact-form-col,
.contact-info-col,
.faq-category-group,
.faq-item {
  background: white !important;
}

/* Keep category grid items white */
.category-grid-item:nth-child(1),
.category-grid-item:nth-child(2),
.category-grid-item:nth-child(3),
.category-grid-item:nth-child(4),
.category-grid-item:nth-child(5),
.category-grid-item:nth-child(6) {
  background: white !important;
}

/* Keep text cells and image cells white */
.text-cell,
.image-cell {
  background: white !important;
}

/* Keep showcase cells white */
.showcase-cell {
  background: white !important;
}

/* ============================================ */
/* FOOTER - KEEP ORIGINAL COLORS ON SMALL SCREENS */
/* ============================================ */

/* Footer on desktop - light background */
@media (min-width: 769px) {
  .footer-section {
    background: var(--bg-white) !important;
    color: var(--soft-black) !important;
  }

  .footer-section::before,
  .footer-section::after {
    display: none !important;
  }

  .footer-card {
    background: rgba(194, 65, 12, 0.02) !important;
    border-color: var(--gray-medium) !important;
  }

  .footer-card-header {
    color: var(--soft-black) !important;
  }

  .footer-description,
  .footer-links li a,
  .footer-contact li,
  .footer-copyright,
  .footer-legal a {
    color: var(--gray-text) !important;
  }

  .footer-tagline {
    color: var(--deluxe-red) !important;
  }

  .social-link {
    background: rgba(194, 65, 12, 0.08) !important;
    color: var(--deluxe-red) !important;
  }

  .social-link:hover {
    background: var(--deluxe-red) !important;
    color: white !important;
  }

  .trust-wall {
    border-bottom-color: var(--gray-medium) !important;
  }

  .trust-badge-icon {
    background: rgba(194, 65, 12, 0.05) !important;
  }

  .trust-badge-name {
    color: var(--gray-text) !important;
  }

  .footer-bottom {
    border-top-color: var(--gray-medium) !important;
  }
}

/* Footer on mobile - dark theme (KEEP AS IS) */
@media (max-width: 768px) {
  .footer-section {
    background: #0a0a0a !important;
    color: #e5e5e5 !important;
  }

  .footer-section::before,
  .footer-section::after {
    display: block !important;
  }

  .footer-card {
    background: rgba(255, 255, 255, 0.05) !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
  }

  .footer-card-header {
    color: #ffffff !important;
  }

  .footer-description,
  .footer-links li a,
  .footer-contact li,
  .footer-copyright,
  .footer-legal a {
    color: #cccccc !important;
  }

  .footer-tagline {
    color: var(--deluxe-red) !important;
  }

  .social-link {
    background: rgba(255, 255, 255, 0.1) !important;
    color: var(--deluxe-red) !important;
  }

  .social-link:hover {
    background: var(--deluxe-red) !important;
    color: white !important;
  }

  .trust-wall {
    border-bottom-color: rgba(255, 255, 255, 0.1) !important;
  }

  .trust-badge-icon {
    background: rgba(255, 255, 255, 0.08) !important;
  }

  .trust-badge-name {
    color: #cccccc !important;
  }

  .footer-bottom {
    border-top-color: rgba(255, 255, 255, 0.1) !important;
  }
}

/* ============================================ */
/* ENSURE CONTACT FORM AND MAP HAVE WHITE BACKGROUND */
/* ============================================ */

.contact-form-col,
.contact-info-col,
.contact-form,
.contact-info-card {
  background: white !important;
}

/* ============================================ */
/* ENSURE FAQ CATEGORIES HAVE WHITE BACKGROUND */
/* ============================================ */

.faq-categories {
  background: var(--bg-white) !important;
}

.faq-category-group {
  background: white !important;
}

/* ============================================ */
/* REMOVE ANY REMAINING GRADIENT BACKGROUNDS FROM NON-HERO SECTIONS */
/* ============================================ */

section:not(.hero-slider):not(.contact-hero):not(.contact-hero-split):not(
    .about-hero-split
  ):not(.faq-hero):not(.products-hero) {
  background-image: none !important;
}

/* Ensure product showcase is white */
.product-showcase {
  background: var(--bg-white) !important;
}

/* ============================================ */
/* CATEGORY GRID - BACKGROUND IMAGES           */
/* ============================================ */

/* Background image layer */
.category-card-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 0;
}

/* Dark overlay for text readability */
.category-card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.35) 0%,
    rgba(0, 0, 0, 0.5) 50%,
    rgba(0, 0, 0, 0.65) 100%
  );
  z-index: 1;
  transition: background 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Hover: zoom image, lighten overlay */
.category-grid-item:hover .category-card-bg {
  transform: scale(1.08);
}

.category-grid-item:hover .category-card-overlay {
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.25) 0%,
    rgba(0, 0, 0, 0.4) 50%,
    rgba(0, 0, 0, 0.55) 100%
  );
}

/* Card inner content above overlay */
.category-grid-item {
  position: relative;
  overflow: hidden;
}

.category-card-inner {
  position: relative;
  z-index: 2;
}

/* Text colors when images are present */
.category-grid-item .category-number {
  color: rgba(255, 255, 255, 0.6) !important;
}

.category-grid-item:hover .category-number {
  color: rgba(255, 255, 255, 0.9) !important;
}

.category-grid-item .title-word-1,
.category-grid-item .title-word-2 {
  color: #ffffff !important;
}

.category-grid-item .category-divider {
  background: rgba(255, 255, 255, 0.3) !important;
}

.category-grid-item:hover .category-divider {
  background: rgba(255, 255, 255, 0.6) !important;
}

.category-grid-item .category-badge {
  color: rgba(255, 255, 255, 0.7) !important;
}

.category-grid-item:hover .category-badge {
  color: rgba(255, 255, 255, 0.9) !important;
}

/* Override the title underline for dark backgrounds */
.category-grid-item .category-title-styled::after {
  background: rgba(255, 255, 255, 0.5);
}

/* View All button on dark background */
.category-grid-item .category-view-all {
  background: rgba(255, 255, 255, 0.12) !important;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
}

.category-grid-item .category-view-all:hover {
  background: var(--deluxe-red) !important;
  color: #ffffff !important;
  border-color: var(--deluxe-red);
}

/* Grid item borders for dark image cards */
.category-grid-item {
  border-color: rgba(255, 255, 255, 0.08) !important;
}

/* All category items get dark background as fallback */
.category-grid-item:nth-child(1),
.category-grid-item:nth-child(2),
.category-grid-item:nth-child(3),
.category-grid-item:nth-child(4),
.category-grid-item:nth-child(5),
.category-grid-item:nth-child(6) {
  background: #1a1a2e !important;
}

/* Hover effects - restore original per-category colors */
.category-grid-item:hover {
  background: #1a1a2e !important;
}

/* Position 1 - Engine Oils: RED */
.category-grid-item:nth-child(1):hover .title-word-2 {
  color: var(--deluxe-red) !important;
}

/* Position 2 - Gear Oils: GOLD */
.category-grid-item:nth-child(2):hover .title-word-2 {
  color: var(--gold) !important;
}

/* Position 3 - Marine Oils: BLUE */
.category-grid-item:nth-child(3):hover .title-word-2 {
  color: var(--coolant-blue) !important;
}

/* Position 4 - Hydraulic Oil: GRAY */
.category-grid-item:nth-child(4):hover .title-word-2 {
  color: var(--steel-gray) !important;
}

/* Position 5 - Grease: stays white */
.category-grid-item:nth-child(5):hover .title-word-1 {
  color: #ffffff !important;
}

/* Position 6 - ATF & Brake Fluid: CRIMSON */
.category-grid-item:nth-child(6):hover .title-word-2 {
  color: var(--crimson-red) !important;
}

/* Mobile adjustments */
@media (max-width: 768px) {
  .category-card-overlay {
    background: linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.4) 0%,
      rgba(0, 0, 0, 0.6) 50%,
      rgba(0, 0, 0, 0.75) 100%
    );
  }
}
