/* --- CORE VARIABLES --- */
:root {
  --primary: #D22630;
  --primary-dark: #b11f28;
  --secondary: #1f2937;
  --accent: #ffd700;
  --text-main: #111827;
  --text-light: #6b7280;
  --bg-light: #f9fafb;
  --white: #ffffff;
  --radius: 12px;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: "Prompt", sans-serif;
  background: var(--bg-light);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
}
.container {
  max-width: 1560px;
  margin: 0 auto;
  padding: 0 20px;
}
.relative {
  position: relative !important;
}
a {
  text-decoration: none;
  color: inherit;
  transition: 0.3s;
}
img {
  max-width: 100%;
  display: block;
  object-fit: cover;
}
.section-padding {
  padding: 80px 0;
}
.section-header {
  text-align: center;
  margin-bottom: 50px;
}
.section-header h2 {
  font-size: 36px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 10px;
}
.section-header p {
  color: var(--text-light);
  font-size: 18px;
}

/* Buttons Generic */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s;
  border: none;
  font-size: 16px;
}
.btn-primary {
  background: var(--primary);
  color: white;
  box-shadow: 0 4px 6px rgba(210, 38, 48, 0.3);
}
.home-btn-primary:hover { background: var(--primary-dark); }
.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}
.btn-outline {
  background: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
}
.btn-outline:hover {
  background: var(--primary);
  color: white;
}

/* =========================================
   NAVBAR CSS (MODERN CENTERED DESIGN)
   ========================================= */
.navbar {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 40px);
  max-width: 1520px;
  height: 70px;
  z-index: 1000;
  transition: all 0.3s ease;
  background: #000;
  display: flex;
  align-items: center;
  border-radius: 0 0 25px 25px;
  padding: 0 40px; /* Increased from 30px */
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  border: none;
}
.navbar.menu-open {
  border-radius: 0 !important; /* Force square bottom when menu open */
  border-bottom: none !important;
  box-shadow: none !important; /* Remove shadow to blend with menu */
}
/* .navbar.scrolled removed to disable sticky effect */
.navbar-container {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: 100%;
  height: 100%;
}

/* Brand Logo - Left Aligned in its grid cell */
.brand-logo {
  justify-self: start;
  transition: none !important;
  z-index: 10;
  display: flex !important;
  align-items: center !important;
  height: 50px !important; /* Force container height */
  overflow: hidden !important;
}
.brand-logo img {
  height: 45px !important; /* Reduced from 50px */
  max-height: 45px !important;
  min-height: 45px !important; /* Hard constraint */
  width: auto !important;
  transition: none !important;
  object-fit: contain !important;
}

/* Menu Groups - Centered in the middle grid cell */
.nav-menu-wrapper {
  justify-self: center;
  display: block; /* Ensure visible on desktop */
}
.nav-menu {
  display: flex;
  gap: 25px;
  list-style: none;
  padding: 0;
  margin: 0;
  align-items: center;
}
.nav-item {
  position: relative;
}
.nav-link {
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 10px 0;
  transition: 0.2s;
  position: relative;
}
.nav-link:hover {
  color: #fff;
}
.nav-link::after {
  content: "";
  position: absolute;
  width: 0;
  height: 1.5px;
  bottom: 5px;
  left: 0;
  background-color: var(--primary);
  transition: 0.3s;
}
.nav-link:hover::after {
  width: 100%;
}

/* Desktop Menu Styling */
@media (min-width: 1101px) {
  .dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    transform: translateY(15px);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    min-width: 280px;
    width: max-content;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
    border-radius: 12px;
    padding: 12px 0;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid rgba(255, 255, 255, 0.4);
    z-index: 100;
    list-style: none; /* Remove dots */
  }
  .dropdown-menu li {
    list-style: none; /* Remove dots */
  }
  .nav-item:hover > .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
  .dropdown-item {
    padding: 10px 24px;
    color: var(--text-main);
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    white-space: nowrap;
  }
  .dropdown-item:hover {
    background: #f8fafc;
    color: var(--primary);
    padding-left: 30px;
  }
}

/* Right Section & Utilities */
.nav-right-wrapper {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 30px; /* Standardized gap */
}
.nav-utilities {
  display: flex;
  align-items: center;
}
.coordination-link {
  font-size: 13px !important;
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  padding: 10px 25px !important; /* Increased padding for better look */
  border-radius: 25px;
  white-space: nowrap;
}
.coordination-link:hover {
  background: var(--primary);
  color: white;
}
.coordination-link::after {
  display: none !important; /* Remove underline */
}
.nav-utilities {
  display: flex;
  align-items: center;
  gap: 30px; /* Standardized gap */
}
.nav-util-btn {
  background: none;
  border: none;
  font-size: 14px;
}
.mobile-menu-btn {
  display: none; /* Hide on desktop */
  color: var(--primary);
  font-size: 32px;
  cursor: pointer;
  z-index: 110;
  position: relative;
  top: 3px;
}
.nav-util-btn i {
  font-size: 20px;
}
.nav-util-btn:hover {
  opacity: 1;
  color: var(--accent);
}

.profile-btn {
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 6px 15px;
  border-radius: 20px;
}
.profile-btn:hover {
  border-color: var(--primary);
  background: var(--primary);
}

@media (max-width: 1100px) {
  .navbar {
    width: calc(100% - 40px); /* Align exactly with footer container gaps (20px each side) */
    padding: 0 15px !important; /* Standardized internal padding */
  }
  .navbar-container {
    padding: 0 10px; /* Reduce container padding */
    height: 100%;
    display: flex;
    align-items: center;
    width: 100% !important;
  }
  .brand-logo {
    position: static;
    transform: none;
    left: 0;
  }
  .brand-logo img {
    height: 36px !important; /* Reduced from 40px */
    max-height: 36px !important;
    width: auto !important;
    transition: none !important;
  }
  .nav-menu-wrapper {
    display: none;
    position: absolute;
    top: 70px;
    margin-top: 0;
    left: 0;
    transform: none;
    width: 100%;
    max-width: none;
    max-height: calc(100vh - 70px);
    background: #000;
    padding: 10px 0;
    border-radius: 0 0 25px 25px;
    z-index: 99;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5); /* Shadow only at bottom/sides */
    backdrop-filter: blur(10px);
    overflow-y: auto;
  }
  .nav-menu-wrapper::-webkit-scrollbar {
    display: none; /* Hide scrollbar for Chrome/Safari */
  }
  .nav-menu-wrapper.active {
    display: flex;
  }
  .mobile-menu-btn {
    display: block; /* Show on mobile */
    margin-left: 0;
  }
  .coordination-link {
    display: flex !important; /* Ensure visible on mobile */
    font-size: 11px !important; /* Slightly smaller for mobile if needed */
    padding: 8px 15px !important;
  }
  .nav-right-wrapper {
    margin-left: auto !important; /* Force push to the right side */
    padding-right: 0;
    display: flex;
    align-items: center;
  }
  .nav-menu {
    flex-direction: column;
    align-items: stretch; /* Change from flex-start to stretch */
    gap: 0; /* Remove gap to allow seamless backgrounds */
    width: 100%;
  }
  .nav-item {
    width: 100%;
  }
  .nav-left,
  .nav-right {
    margin: 0;
    padding: 0;
    width: 100%;
  }
  .nav-link {
    font-size: 16px;
    width: 100%;
    padding: 15px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: none;
    color: white;
  }
  .nav-item.dropdown-active > .nav-link {
    color: var(--primary);
  }
  .nav-item.dropdown-active > .nav-link i {
    transform: rotate(180deg);
  }
  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none !important;
    background: rgba(255, 255, 255, 0.03);
    box-shadow: none;
    border: none;
    min-width: 100%;
    padding: 0;
    display: none;
    overflow: hidden;
    transition: none;
    backdrop-filter: none;
    list-style: none; /* Remove dots */
  }
  .dropdown-menu li {
    list-style: none; /* Remove dots */
    width: 100%;
  }
  .nav-item.dropdown-active > .dropdown-menu {
    display: block;
    margin-top: 0;
    padding-left: 0;
    border-left: none;
  }
  .dropdown-item {
    color: rgba(255, 255, 255, 0.7);
    padding: 15px 35px;
    font-size: 15px;
    display: block;
    background: rgba(
      0,
      0,
      0,
      0.2
    ); /* Semi-transparent dark for better blending */
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    width: 100%;
    transform: none !important;
  }
  .dropdown-item:hover {
    background: transparent;
    color: white;
    padding-left: 5px;
  }
}

/* --- 2. HERO SLIDER --- */
.hero-slider-container {
  position: relative;
  width: calc(100% - 40px); /* Align with navbar and container */
  max-width: 1520px;
  aspect-ratio: 4399 / 2059; /* Natural ratio based on image3.jpeg */
  margin: 90px auto 0 auto; /* Centered and below navbar */
  overflow: hidden;
  background: #000;
  border-radius: 20px;
}
@media (max-width: 768px) {
  .hero-slider-container {
    height: auto;
    aspect-ratio: 4399 / 2059;
    width: calc(100% - 40px); /* Match navbar and footer exactly */
    margin: 85px auto 0 auto; /* Centered with side gaps */
    border-radius: 15px; /* Slightly smaller radius for mobile */
  }
}
.hero-track {
  display: flex;
  height: 100%;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  cursor: grab;
}
.hero-track:active {
  cursor: grabbing;
}
.hero-slide {
  flex: 0 0 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  position: relative;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.6));
  z-index: 2;
}
.hero-content {
  position: relative;
  z-index: 3;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: var(--white);
  padding-top: 80px;
  padding-left: 20px;
  padding-right: 20px;
}
.hero-content h1 {
  font-size: 3rem;
  line-height: 1.2;
  margin-bottom: 20px;
  font-weight: 700;
  text-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}
.hero-content p {
  font-size: 1.2rem;
  opacity: 0.9;
  margin-bottom: 40px;
}

/* Removed .slider-arrow styles */
.slider-dots {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}
.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: 0.3s;
}
.dot.active {
  background: var(--primary);
  width: 30px;
  border-radius: 10px;
}

@media (max-width: 576px) {
  .hero-content h1 {
    font-size: 2rem;
  }
  .hero-content p {
    font-size: 1rem;
  }
}

/* --- 3. CATEGORY NAV & PRODUCT SLIDER --- */
.category-bar-wrapper {
  background: white;
  border-bottom: 1px solid #f1f5f9;
  position: sticky;
  top: 75px; /* Adjust based on desktop navbar height */
  z-index: 90;
}
.navbar.scrolled + .hero-slider-container + #products .category-bar-wrapper {
  top: 65px;
}

.category-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
}

.category-items {
  display: flex;
  overflow-x: auto;
  scrollbar-width: none;
  gap: 3.5vw; /* Use relative gap to prevent early truncation */
  padding: 18px 0;
  flex: 1;
}
.category-items::-webkit-scrollbar {
  display: none;
}

.category-item {
  white-space: nowrap;
  font-size: 16px; /* Increased from 14px */
  font-weight: 500;
  color: #64748b;
  cursor: pointer;
  position: relative;
  transition: 0.3s;
  padding: 5px 0;
}
.category-item:hover,
.category-item.active {
  color: var(--primary);
}
.category-item.active::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 6px solid var(--primary);
}

.all-models-link {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px; /* Increased from 14px */
  font-weight: 600;
  color: var(--primary);
  white-space: nowrap;
}

/* Slider Section */
.product-slider-wrapper {
  padding: 30px 0 40px; /* Reduced from 60px 0 90px */
  background: #f3f4f6;
  overflow: visible;
  border-top: 1px solid #e5e7eb;
}

.product-slider {
  overflow: hidden; /* Back to controlled sliding */
  width: 100%;
  padding: 10px 0 20px; /* Reduced from 15px 0 35px */
  -webkit-overflow-scrolling: touch;
}

.slider-track {
  display: flex;
  gap: 20px;
  flex-wrap: nowrap; /* Ensure they stay in one line */
  transition: transform 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.bike-card-clean {
  flex: 0 0 calc(25% - 15px); /* Exactly 4 items for desktop (3 gaps * 20px / 4 = 15px) */
  padding: 15px;
  transition: 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
  text-align: center;
  box-sizing: border-box;
}
.bike-card-clean:hover {
  transform: translateY(-8px);
}

.clean-img-wrap {
  height: 245px; /* Increased from 220px (~10%) */
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px; /* Reduced from 25px */
}
.clean-img-wrap img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.bike-card-clean:hover img {
  transform: scale(1.08) translateY(-10px);
}

.clean-title {
  font-weight: 600;
  font-size: 18px; /* Increased from 16px */
  color: #334155;
  margin-bottom: 10px; /* Reduced from 15px */
}

.btn-calc {
  display: inline-block;
  padding: 10px 22px; /* Increased from 8x18 */
  border: 1px solid var(--primary);
  color: var(--primary);
  border-radius: 6px;
  font-size: 15px; /* Increased from 13px */
  font-weight: 600;
  transition: 0.3s;
}
.btn-calc:hover {
  background: var(--primary);
  color: white;
}

/* Nav Buttons - Restored & Optimized */
.product-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12);
  color: var(--primary);
  font-size: 24px;
  cursor: pointer;
  z-index: 10;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.product-nav:hover {
  transform: translateY(-50%) scale(1.15);
  background: var(--primary);
  color: white;
  box-shadow: 0 8px 25px rgba(210, 38, 48, 0.3);
}
.product-nav.prev {
  left: -25px;
}
.product-nav.next {
  right: -25px;
}

@media (max-width: 1240px) {
  .product-nav.prev {
    left: 10px;
  }
  .product-nav.next {
    right: 10px;
  }
}

@media (max-width: 768px) {
  .product-nav {
    width: 40px;
    height: 40px;
    font-size: 18px;
    background: white;
    backdrop-filter: none;
  }
}

@media (max-width: 992px) {
  .bike-card-clean {
    flex: 0 0 calc(33.333% - 20px);
  }
}
@media (max-width: 992px) {
  .bike-card-clean {
    flex: 0 0 calc(50% - 15px); /* 2 items for tablet */
  }
  .slider-track {
    padding: 0 20px;
    gap: 30px;
  }
}
@media (max-width: 768px) {
  .bike-card-clean {
    flex: 0 0 100%; /* Exactly 1 item for mobile as requested */
  }
  .slider-track {
    padding: 0;
    gap: 0; /* Remove gap for clean 1-item slide */
  }
}

/* --- 4. SERVICES --- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}
.service-card {
  background: white;
  padding: 30px;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
  transition: 0.3s;
}
.service-card:hover {
  transform: translateY(-5px);
}
.service-icon {
  font-size: 48px;
  color: var(--primary);
  margin-bottom: 20px;
}

/* --- 5. PROMOTIONS --- */
/* --- 5. PROMOTIONS - Masonry --- */
.promo-masonry {
  column-count: 3;
  column-gap: 20px;
  width: 100%;
}

.promo-card {
  display: inline-block; /* Important for column-count masonry */
  width: 100%;
  margin-bottom: 20px;
  break-inside: avoid;
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  cursor: pointer;
  background: white;
}

.promo-bg {
  width: 100%;
  height: auto; /* Full image visible */
  display: block;
  transition: transform 0.6s ease;
}

.promo-card:hover .promo-bg {
  transform: scale(1.05);
}

.promo-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.8) 0%,
    rgba(0, 0, 0, 0.3) 50%,
    transparent 100%
  );
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  color: white;
  text-align: left;
}

.promo-badge {
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(4px);
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 11px;
  width: fit-content;
  margin-bottom: 8px;
  text-transform: uppercase;
  color: white;
}

.promo-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 5px;
  line-height: 1.3;
}

.promo-desc {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.9);
}

@media (max-width: 992px) {
  .promo-masonry {
    column-count: 2;
  }
}

@media (max-width: 576px) {
  .promo-masonry {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 15px;
    padding: 10px 0 20px 0;
    -ms-overflow-style: none; /* IE and Edge */
    scrollbar-width: none; /* Firefox */
    column-count: auto; /* Reset masonry */
  }
  .promo-masonry::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
  }
  .promo-masonry .promo-card {
    flex: 0 0 100%;
    scroll-snap-align: center;
    margin-bottom: 0;
  }
}

/* --- 5. PRODUCT REVIEW --- */
.review-section {
  background: #fdfdfd;
  padding: 80px 0;
}

.featured-review {
  position: relative;
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 40px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  background: #000;
  aspect-ratio: 16 / 7;
}

.review-thumb-link {
  display: block;
  position: relative;
  width: 100%;
  height: 100%;
}

.review-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
  opacity: 0.85;
}

.featured-review:hover .review-thumb-img {
  transform: scale(1.05);
}

.home-card-badge {
    position: absolute; top: 10px; left: 10px;
    background: rgba(210, 38, 48, 0.1); color: var(--primary);
    font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: 20px;
}
.featured-badge {
  position: absolute;
  top: 0;
  left: 0;
  background: var(--primary);
  color: white;
  padding: 8px 25px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  z-index: 5;
  clip-path: polygon(0 0, 100% 0, 85% 100%, 0% 100%);
}

.play-btn-large {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 70px;
  height: 70px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 30px;
  box-shadow: 0 0 20px rgba(210, 38, 48, 0.4);
  z-index: 5;
  transition: all 0.3s ease;
}

.featured-review:hover .play-btn-large {
  transform: translate(-50%, -50%) scale(1.1);
}

.featured-title-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 40px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  color: white;
}

.featured-title-overlay h3 {
  font-size: 28px;
  font-weight: 700;
}

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

.review-card {
  transition: transform 0.3s ease;
}

.review-card:hover {
  transform: translateY(-5px);
}

.review-card-thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 15px;
  background: #eee;
}

.review-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.5s;
}

.review-card:hover .review-card-thumb img {
  transform: scale(1.1);
}

.card-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 18px;
  opacity: 0.9;
}

.small-badge {
  position: absolute;
  bottom: 0;
  left: 0;
  background: var(--primary);
  color: white;
  padding: 4px 15px;
  font-size: 10px;
  font-weight: 700;
  clip-path: polygon(0 0, 100% 0, 80% 100%, 0% 100%);
}

.review-model-label {
  color: var(--primary);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 5px;
  display: block;
}

.review-card h4 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.4;
  color: #333;
}

.review-card p {
  font-size: 13px;
  color: #666;
  line-height: 1.5;
}

.review-footer {
  text-align: center;
  margin-top: 50px;
}

@media (max-width: 992px) {
  .featured-review {
    aspect-ratio: 16 / 9;
  }
  .review-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .review-grid {
    grid-template-columns: 1fr;
  }
  .featured-title-overlay {
    padding: 20px;
  }
  .featured-title-overlay h3 {
    font-size: 18px;
  }
}
.calculator-section {
  background: var(--secondary);
  color: white;
}
.calc-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  background: white;
  padding: 40px;
  border-radius: 8px;
  color: #333;
}
.form-group {
  margin-bottom: 20px;
}
.form-group label {
  display: block;
  margin-bottom: 10px;
  font-weight: 700;
  font-size: 14px;
  color: #333;
}
.form-control {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-family: "Prompt";
  font-size: 16px;
  outline: none;
  transition: 0.3s;
  margin-bottom: 0;
}
.form-control:focus {
  border-color: var(--primary);
}
.input-row {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 10px;
}
.term-group {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}
.term-btn {
  width: 50px;
  height: 35px;
  border-radius: 20px;
  border: 1px solid var(--primary);
  background: white;
  color: var(--primary);
  font-weight: bold;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.2s;
}
.term-btn.active,
.term-btn:hover {
  background: var(--primary);
  color: white;
}
.result-box {
  background: white;
  border: 1px solid #eee;
  border-radius: 8px;
  padding: 30px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.result-value {
  font-size: 48px;
  font-weight: 800;
  color: var(--primary);
  margin-top: 10px;
  line-height: 1;
}
.result-sub {
  font-size: 14px;
  color: #666;
  margin-bottom: 20px;
  font-weight: 600;
}
.result-row {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  margin-bottom: 10px;
  color: #555;
}
.result-row span:last-child {
  font-weight: 700;
  color: #333;
}
.result-note {
  font-size: 10px;
  color: #999;
  margin-top: 20px;
  text-align: center;
}
.btn-submit {
  width: 100%;
  background: var(--primary);
  color: white;
  padding: 14px;
  border: none;
  border-radius: 30px;
  font-weight: bold;
  font-size: 16px;
  cursor: pointer;
}
.btn-submit:hover {
  background: var(--primary-dark);
}

/* --- 7. CONTACT & FAQ & FOOTER --- */
.contact-section {
  background: white;
  padding: 80px 0;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}
.faq-header {
  font-weight: 700;
  margin-bottom: 20px;
  font-size: 18px;
  color: #333;
}
.faq-item {
  background: white;
  border-radius: 6px;
  margin-bottom: 15px;
  padding: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  cursor: pointer;
  border: 1px solid #eee;
}
.faq-q {
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 15px;
}
.faq-a {
  display: none;
  margin-top: 15px;
  color: #666;
  font-size: 14px;
  line-height: 1.6;
  border-top: 1px solid #f0f0f0;
  padding-top: 15px;
}
.faq-item.active .faq-a {
  display: block;
}
.contact-form-header {
  font-weight: 700;
  margin-bottom: 20px;
  font-size: 18px;
  color: #333;
}
.contact-input {
  width: 100%;
  padding: 14px;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  font-family: "Prompt";
  font-size: 15px;
  margin-bottom: 15px;
  outline: none;
}

footer {
  background: transparent; /* Move background to container */
  color: white;
  padding: 60px 0 40px;
}
.footer-wrap-pill {
  background: #000;
  max-width: 1560px;
  margin: 0 auto;
  border-radius: 25px; /* Matched to navbar */
  padding: 60px 60px 30px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
}
.footer-col h4 {
  margin-bottom: 20px;
  color: var(--primary);
}
.footer-col ul {
  list-style: none;
  padding: 0;
}
.footer-col ul li {
  margin-bottom: 12px;
  color: #ffffff;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.footer-col ul li i {
  margin-top: 5px;
  color: var(--primary);
}
.footer-col ul li a {
  color: #ffffff;
  transition: 0.3s;
}
.footer-col ul li a:hover {
  color: #D22630;
}
.social-icons {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}
.social-icons a {
  width: 40px;
  height: 40px;
  background: #333;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: 0.3s;
  color: white;
}
.social-icons a:hover {
  background: var(--primary);
}

@media (max-width: 992px) {
  .calc-wrapper,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 576px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* --- FLOATING SIDEBAR --- */
/* --- ADAPTIVE FLOATING MENU --- */
/* Desktop: Slide-out Sidebar */
@media (min-width: 769px) {
  .speed-dial-main-btn {
    display: none;
  }
  .floating-speed-dial {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1001;
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: flex-end;
  }
  .speed-dial-menu {
    display: flex !important;
    flex-direction: column;
    gap: 10px;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    pointer-events: auto !important;
  }
  .sidebar-item {
    display: flex;
    align-items: center;
    background: var(--primary);
    color: #fff;
    padding: 12px 15px;
    border-radius: 30px 0 0 30px;
    box-shadow: -4px 0 15px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    text-decoration: none;
    width: 180px;
    transform: translateX(130px); /* Partially hidden */
    overflow: hidden;
    white-space: nowrap;
    justify-content: flex-start;
    border: none;
  }
  .sidebar-item i {
    font-size: 24px;
    min-width: 24px;
    color: #fff;
    margin-right: 15px;
  }
  .sidebar-item span {
    font-size: 14px;
    font-weight: 500;
  }
  .sidebar-item:hover {
    transform: translateX(0);
    background: var(--primary-dark);
  }
}

/* Mobile: Speed Dial (FAB) */
@media (max-width: 768px) {
  .floating-speed-dial {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 1001;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 15px;
  }
  .speed-dial-main-btn {
    width: 54px;
    height: 54px;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(230, 0, 0, 0.3);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 10;
  }
  .speed-dial-menu {
    display: flex;
    flex-direction: column;
    gap: 12px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.8);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    pointer-events: none;
  }
  .floating-speed-dial.active .speed-dial-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
    pointer-events: auto;
  }
  .sidebar-item {
    display: flex;
    align-items: center;
    background: #fff;
    color: var(--text-main);
    padding: 8px 16px;
    border-radius: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    text-decoration: none;
    min-width: 140px;
    justify-content: center;
    border: 1px solid rgba(0, 0, 0, 0.05);
  }
  .sidebar-item i {
    font-size: 20px;
    color: var(--primary);
    margin-right: 10px;
  }
  .sidebar-item span {
    font-size: 13px;
    font-weight: 600;
  }
}

/* --- PRODUCT SLIDER NAVIGATION --- */
.product-nav {
  position: absolute !important;
  top: 147px !important;
  transform: translateY(-50%) !important;
  width: 50px !important;
  height: 50px !important;
  background: rgba(255, 255, 255, 0.9) !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
  border: 1px solid rgba(255, 255, 255, 0.5) !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12) !important;
  color: #D22630 !important;
  font-size: 24px !important;
  cursor: pointer !important;
  z-index: 100 !important;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
}
.product-nav:hover {
  transform: translateY(-50%) scale(1.15) !important;
  background: #D22630 !important;
  color: white !important;
  box-shadow: 0 8px 25px rgba(230, 0, 0, 0.3) !important;
}
.product-nav.prev {
  left: -25px !important;
}
.product-nav.next {
  right: -25px !important;
}
.relative {
  position: relative !important;
}

@media (max-width: 1280px) {
  .product-nav.prev {
    left: 10px !important;
  }
  .product-nav.next {
    right: 10px !important;
  }
}
@media (max-width: 768px) {
  .product-nav {
    width: 40px !important;
    height: 40px !important;
    font-size: 18px !important;
  }
}

/* --- NEWS SECTION --- */
.news-section-white {
  background: #ffffff;
  padding: 80px 0;
}
.news-header {
  margin-bottom: 40px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}
@media (max-width: 768px) {
  .news-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
}
.header-text h2 {
  font-size: 32px;
  font-weight: 800;
  color: #1a1a1a;
  margin-bottom: 15px;
  letter-spacing: 1px;
}
.header-text p {
  font-size: 15px;
  color: #666;
  line-height: 1.6;
  margin-bottom: 0;
}

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

.news-item-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.news-item-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.news-item-thumb {
  width: 100%;
  height: 180px;
  overflow: hidden;
}

.news-item-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.news-item-card:hover .news-item-thumb img {
  transform: scale(1.05);
}

.news-item-content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.news-tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  background: var(--primary);
  width: fit-content;
  margin-bottom: 12px;
  text-transform: uppercase;
}
.news-tag.promo { background: var(--primary); }
.news-tag.csr { background: #f59e0b; }
.news-tag.news { background: #64748b; }
.news-tag.activity { background: #10b981; }

.news-item-content h3 {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  color: #1a1a1a;
  margin-bottom: 10px;
  display: -webkit-box;
  line-clamp: 2;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-item-content p {
  font-size: 13px;
  color: #666;
  line-height: 1.5;
  margin-bottom: 20px;
  display: -webkit-box;
  line-clamp: 3;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-date {
  margin-top: auto;
  font-size: 12px;
  color: #999;
  display: flex;
  align-items: center;
  gap: 6px;
}

.video-footer-center {
  margin-top: 50px;
  text-align: center;
}

.video-footer-center .btn-outline {
  border: 1px solid #e0e0e0;
  color: #333;
  padding: 10px 30px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 50px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.video-footer-center .btn-outline:hover {
  background: #f9fafb;
  border-color: #d0d0d0;
  transform: translateY(-2px);
}

.news-header-action .btn-outline {
  border: 1px solid #e0e0e0;
  color: #333;
  padding: 10px 25px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 50px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
}

.news-header-action .btn-outline:hover {
  background: #f9fafb;
  border-color: #333;
  transform: translateY(-2px);
}

@media (max-width: 1200px) {
  .news-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

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

@media (max-width: 600px) {
  .news-grid {
    grid-template-columns: 1fr;
  }
}

/* --- VIDEO SECTION (NEW) --- */
.video-section-new {
  padding: 80px 0;
  background: #ffffff;
}
.container-flex {
  display: flex;
  gap: 60px;
  align-items: flex-start;
}

.video-side-header {
  flex: 0 0 280px;
}
.video-side-header h2 {
  font-size: 32px;
  font-weight: 800;
  color: #1a1a1a;
  margin-bottom: 15px;
  letter-spacing: 1px;
}
.video-side-header p {
  font-size: 15px;
  color: #666;
  line-height: 1.6;
  margin-bottom: 30px;
}
.header-action .btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 28px;
  border: 1px solid #e0e0e0;
  border-radius: 50px;
  color: #333;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.3s ease;
  background: #fff;
}
.header-action .btn-outline:hover {
  background: #f9fafb;
  border-color: #333;
  transform: translateY(-2px);
}

.video-grid-new {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.video-card-tall {
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease;
}
.video-card-tall:hover {
  transform: translateY(-8px);
}

.video-thumb-tall {
  position: relative;
  width: 100%;
  aspect-ratio: 9/14;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  margin-bottom: 20px;
  background: #f0f0f0;
}
.video-thumb-tall img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.video-card-tall:hover .video-thumb-tall img {
  transform: scale(1.08);
}

/* Play Button Overlay */
.play-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 24px;
  transition: all 0.3s ease;
  opacity: 0.85;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
}
.video-card-tall:hover .play-overlay {
  background: #fff;
  opacity: 1;
  transform: translate(-50%, -50%) scale(1.1);
}

.video-card-info h4 {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  color: #1a1a1a;
  margin-bottom: 8px;
  display: -webkit-box;
  line-clamp: 2;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.video-card-info p {
  font-size: 13px;
  color: #666;
  line-height: 1.5;
  display: -webkit-box;
  line-clamp: 3;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@media (max-width: 1200px) {
  .container-flex {
    flex-direction: column;
    gap: 40px;
  }
  .video-side-header {
    flex: none;
    width: 100%;
    position: static;
    text-align: center;
  }
  .video-grid-new {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .video-grid-new {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .video-grid-new {
    grid-template-columns: 1fr;
  }
}


/* --- WELCOME POPUP (CUSTOMIZED) --- */
.welcome-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.5s ease;
  padding: 20px;
}

.welcome-popup.active {
  opacity: 1;
  visibility: visible;
}

.welcome-content {
  position: relative;
  width: 90%;
  max-width: 95vw;
  transform: scale(0.95);
  transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.welcome-popup.active .welcome-content {
  transform: scale(1);
}

.welcome-img {
  width: 100%;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
  display: block;
}

.welcome-btn-bar {
  margin-top: 35px;
}

.btn-enter {
  background: #D22630;
  color: #fff;
  border: none;
  padding: 16px 63px;
  font-family: 'Prompt', sans-serif;
  font-size: 18px;
  font-weight: 700;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 10px 40px rgba(210, 38, 48, 0.4);
}

.btn-enter:hover {
  background: #b11f28;
  transform: translateY(-5px);
  box-shadow: 0 20px 50px rgba(210, 38, 48, 0.5);
}

@media (max-width: 768px) {
  .welcome-content {
    width: 90%;
  }
  .btn-enter {
    padding: 13px 40px;
    font-size: 16px;
  }
}

