/* =========================
   Preloader - Performance Optimized
========================= */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #020202;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    /* Performance optimization */
    will-change: opacity;
    contain: layout style paint;
  }
  
  .loader-content {
    text-align: center;
    /* Prevent layout shift */
    contain: layout;
  }
  
  .loader-content img {
    width: 140px;
    margin-bottom: 20px;
    /* Optimize image loading */
    image-rendering: optimizeQuality;
  }
  
  /* Loader animation - optimized */
  .loader {
    width: 40px;
    height: 40px;
    border: 4px solid #ddd;
    border-top: 4px solid #000;
    border-radius: 50%;
    animation: spin 1.2s linear infinite;
    /* Hardware acceleration */
    will-change: transform;
    transform: translateZ(0);
  }
  
  @keyframes spin {
    to {
      transform: rotate(360deg);
    }
  }
  
/* Performance optimizations for smooth scrolling */
html {
  scroll-behavior: smooth;
}

body {
  /* Enable hardware acceleration for smooth scrolling */
  transform: translateZ(0);
  backface-visibility: hidden;
  /* Optimize text rendering */
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Prevent body scroll when mobile menu is open */
body.menu-open,
body[style*="overflow: hidden"] {
  overflow: hidden !important;
  position: fixed;
  width: 100%;
  height: 100%;
  /* Prevent iOS Safari bounce scrolling */
  -webkit-overflow-scrolling: auto;
  /* Maintain scroll position */
  overscroll-behavior: none;
}

/* Optimize images for performance */
img, video {
  /* Prevent layout shift during loading */
  height: auto;
  max-width: 100%;
}

video {
  /* Prevent video controls from interfering with layout */
  outline: none;
  border: none;
}

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
  *, ::before, ::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  .hero-video-bg, .cinematic-video {
    display: none !important;
  }
  
  .hero-fallback-image {
    display: block !important;
  }
}

  /* =========================
   Header & Navbar
========================= */
.nav-bar {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  padding: 28px 38px;
  z-index: 10000;
  transition: background 0.35s ease, backdrop-filter 0.35s ease, padding 0.35s ease;
  /* Ensure navbar is always visible */
  opacity: 1;
  visibility: visible;
  /* Ensure header is a solid container */
  box-sizing: border-box;
  display: block;
}

.nav-bar.scrolled {
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(8px);
  padding: 20px 38px;
}

.nav-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  /* Ensure inner container doesn't hide content */
  position: relative;
  z-index: 1;
  width: 100%;
  box-sizing: border-box;
}

.nav-brand {
  display: flex;
  align-items: center;
  /* Ensure brand is always visible */
  position: relative;
  z-index: 1;
}

.nav-brand img {
  height: 44px;
  width: auto;
  display: block;
  /* Ensure logo is visible */
  opacity: 1;
  visibility: visible;
}

.nav-links-desktop {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  position: relative;
  color: #F47C20;
  text-decoration: none;
  font-weight: 500;
  letter-spacing: 0.08em;
  font-size: 15px;
  padding: 8px 0;
  transition: opacity 0.25s ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  height: 1px;
  width: 0;
  background: #fff;
  transition: width 0.25s ease;
  opacity: 0.8;
}

.nav-link:hover {
  opacity: 0.7;
}

.nav-link:hover::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  /* Ensure actions container is visible */
  position: relative;
  z-index: 2;
}

@media (max-width: 1080px) {
  .nav-links-desktop {
    display: none;
  }
  .nav-burger {
    display: flex !important;
    /* Force visibility on mobile */
    opacity: 1 !important;
    visibility: visible !important;
    /* Premium touch target: 44px minimum (iOS/Android guidelines) */
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    /* Perfect vertical and horizontal centering */
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 0;
    margin: 0;
    /* Premium styling - more visible background */
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.2s ease;
    flex-shrink: 0;
    /* Ensure button is clearly visible */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    /* Anchored in header - not floating */
    position: relative;
    z-index: 2;
  }
  .nav-actions {
    /* Burger container - right side, anchored in header */
    display: flex;
    align-items: center;
    flex-shrink: 0;
    margin-left: auto;
    padding-right: 0;
    gap: 12px;
  }
  .nav-burger:hover,
  .nav-burger:focus-visible {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    transform: translateY(-1px);
    outline: none;
  }
  .nav-burger:active {
    transform: translateY(0) scale(0.96);
    background: rgba(255, 255, 255, 0.2);
  }
  /* Burger icon spans - perfectly centered */
  .nav-burger span {
    width: 22px;
    height: 2px;
    margin: 0;
    flex-shrink: 0;
  }
  .nav-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    /* Ensure navbar is visible and accessible */
    opacity: 1;
    visibility: visible;
    /* Consistent padding from edges */
    padding: 16px 20px;
    /* Ensure header is a solid unit */
    box-sizing: border-box;
  }
  .hero-header,
  .hero-menu {
    display: none;
  }
  
  .nav-inner {
    /* Perfect flexbox alignment - logo left, burger right */
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 56px;
    /* Ensure both elements are on same row */
    flex-wrap: nowrap;
    gap: 0;
    box-sizing: border-box;
  }
  
  .nav-brand {
    /* Logo container - left side */
    display: flex;
    align-items: center;
    flex-shrink: 0;
  }
  
  .nav-actions {
    /* Burger container - right side, anchored in header */
    display: flex;
    align-items: center;
    flex-shrink: 0;
    margin-left: auto;
    padding-right: 0;
    gap: 12px;
  }
  
  /* Ensure mobile menu works properly on tablets */
  .nav-mobile {
    /* Force full coverage on tablets */
    display: block;
  }
  
  .nav-mobile-inner {
    /* Adjust padding for tablets */
    padding: 120px 40px 80px;
  }
  /* Close button on tablets - aligned with header padding */
  .nav-mobile-close {
    top: 16px;
    right: 20px;
  }
}

@media (max-width: 600px) {
  .nav-bar {
    padding: 16px 20px;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    /* Ensure visibility on small screens */
    opacity: 1;
    visibility: visible;
    /* Ensure header is a solid container unit */
    box-sizing: border-box;
    display: block;
  }
  .nav-bar.scrolled {
    padding: 12px 20px;
    background: rgba(0, 0, 0, 0.9);
  }
  .nav-inner {
    /* Perfect flexbox alignment - logo left, burger right */
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 48px;
    /* Ensure both elements are on same row */
    flex-wrap: nowrap;
    gap: 0;
    box-sizing: border-box;
  }
  .nav-brand {
    font-size: 18px;
    display: flex;
    align-items: center;
    flex-shrink: 0;
  }
  .nav-brand img {
    height: 38px;
    display: block;
  }
  .nav-actions {
    /* Burger container - right side, anchored */
    display: flex;
    align-items: center;
    flex-shrink: 0;
    margin-left: auto;
  }
  .nav-burger {
    /* Premium touch target: 44px (maintains accessibility) */
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    /* Force display on very small screens */
    display: flex !important;
    opacity: 1 !important;
    visibility: visible !important;
    /* Perfect vertical and horizontal centering */
    align-items: center;
    justify-content: center;
    padding: 0;
    margin: 0;
    /* Premium styling - more visible on small screens */
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.2s ease;
    flex-shrink: 0;
    gap: 5px;
    /* Ensure button is clearly visible */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    /* Anchored in header - not floating */
    position: relative;
    z-index: 2;
  }
  .nav-burger span {
    width: 20px;
    height: 2.5px;
    /* Ensure burger lines are visible and perfectly centered */
    background: #fff;
    opacity: 1;
    margin: 0;
    border-radius: 999px;
    flex-shrink: 0;
  }
  .nav-actions {
    padding-right: 0;
    /* Perfect vertical alignment with logo */
    align-items: center;
    gap: 10px;
  }
  .nav-burger:hover,
  .nav-burger:focus-visible {
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    transform: translateY(-1px);
  }
  .nav-burger:active {
    transform: translateY(0) scale(0.96);
    background: rgba(255, 255, 255, 0.22);
  }
  /* Mobile menu close button positioning */
  .nav-mobile-close {
    top: 16px;
    right: 16px;
  }
  
  /* Mobile menu adjustments for small screens */
  .nav-mobile {
    /* Ensure full screen coverage */
    display: block;
  }
  
  .nav-mobile-inner {
    /* Reduce padding on small screens */
    padding: 100px 24px 40px;
    gap: 16px;
  }
  /* Close button on small screens - aligned with header padding */
  .nav-mobile-close {
    top: 16px;
    right: 20px;
  }
  
  .nav-mobile .nav-link {
    /* Slightly smaller font on small screens */
    font-size: 18px;
    padding: 10px 0;
  }
}

/* Landscape orientation adjustments for mobile */
@media (max-width: 900px) and (max-height: 500px) and (orientation: landscape) {
  .nav-mobile-inner {
    /* Reduce vertical padding in landscape */
    padding: 80px 32px 40px;
    gap: 12px;
    /* Allow scrolling for landscape */
    justify-content: flex-start;
  }
  
  .nav-mobile .nav-link {
    /* Smaller font in landscape */
    font-size: 16px;
    padding: 8px 0;
  }
}

.nav-lang {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #fff;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: border 0.25s ease, opacity 0.25s ease;
}

.nav-lang:hover {
  border-color: #fff;
  opacity: 0.8;
}

.nav-burger {
  width: 26px;
  height: 20px;
  display: none;
  flex-direction: column;
  justify-content: space-between;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  margin: 0;
  transition: transform 0.25s ease;
  z-index: 10001;
  position: relative;
  /* Ensure visibility on all backgrounds */
  opacity: 1;
  visibility: visible;
  /* Base alignment - will be overridden on mobile */
  align-items: stretch;
}

.nav-burger span {
  display: block;
  height: 2px;
  background: #fff;
  border-radius: 999px;
  transition: transform 0.3s ease, opacity 0.3s ease;
  /* Ensure spans are always visible */
  width: 100%;
  opacity: 1;
  position: relative;
}

.nav-burger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-burger.active span:nth-child(2) {
  opacity: 0;
  transform: scale(0);
}
.nav-burger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* When active, ensure X icon is perfectly centered */
.nav-burger.active {
  justify-content: center;
  align-items: center;
  gap: 0;
}

.nav-mobile {
  position: fixed;
  inset: 0;
  /* Premium dark, solid background - near-black for high contrast */
  background: rgba(0, 0, 0, 0.98);
  /* Reduced blur for more solid feel - still premium but less transparent */
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
  z-index: 10002;
  /* Ensure mobile menu stays on top */
  visibility: hidden;
  /* Full viewport coverage */
  width: 100%;
  height: 100%;
  min-height: 100vh;
  min-height: 100dvh; /* Dynamic viewport height for mobile browsers */
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  overflow-y: auto;
  overflow-x: hidden;
  /* Smooth scrolling for menu */
  -webkit-overflow-scrolling: touch;
}

.nav-mobile.open {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
  /* Ensure menu is fully interactive */
  display: block;
  /* Prevent background scrolling */
  position: fixed;
}

.nav-mobile-inner {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 140px 32px 60px;
  text-align: center;
  align-items: center;
  /* Ensure menu items are visible */
  position: relative;
  z-index: 1;
  /* Full height coverage */
  min-height: 100vh;
  min-height: 100dvh; /* Dynamic viewport height */
  /* Center content vertically */
  justify-content: center;
  /* Ensure content doesn't get cut off */
  width: 100%;
  box-sizing: border-box;
}

/* Mobile menu close button - positioned in header (nav-bar) at top-right */
.nav-mobile-close {
  position: absolute;
  top: 16px;
  right: 20px;
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  /* Enhanced visibility on dark background - more opaque for clarity */
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 12px;
  cursor: pointer;
  z-index: 10003;
  transition: all 0.2s ease;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  /* Ensure button is in header area, not floating */
  box-sizing: border-box;
  /* Subtle shadow for depth on dark background */
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* Show close button and hide hamburger when mobile menu is open */
.nav-bar.menu-open .nav-mobile-close {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.nav-bar.menu-open .nav-burger {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

.nav-mobile-close:hover,
.nav-mobile-close:focus-visible {
  /* Enhanced visibility on hover for dark background */
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.4);
  transform: scale(1.05);
  outline: none;
  /* Stronger shadow on hover for premium feel */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.nav-mobile-close:active {
  transform: scale(0.95);
}

/* Close button X icon */
.nav-mobile-close-icon {
  position: relative;
  width: 20px;
  height: 20px;
}

.nav-mobile-close-icon::before,
.nav-mobile-close-icon::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 2.5px;
  /* Bright white for maximum contrast on dark background */
  background: #ffffff;
  border-radius: 999px;
  transform-origin: center;
  transition: transform 0.2s ease;
  /* Ensure icon is clearly visible */
  opacity: 1;
}

.nav-mobile-close-icon::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.nav-mobile-close-icon::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.nav-mobile .nav-link {
  font-size: 20px;
  letter-spacing: 0.12em;
  /* Full opacity for maximum contrast and readability */
  opacity: 1;
  color: #ffffff;
  width: 100%;
  padding: 12px 0;
  /* Ensure links are visible and clickable */
  display: block;
  visibility: visible;
  /* Proper alignment and spacing */
  text-align: center;
  /* Bold, clear text for premium feel */
  font-weight: 500;
  transition: opacity 0.25s ease, transform 0.25s ease;
  /* Ensure links don't overlap */
  position: relative;
  z-index: 1;
}

.nav-mobile .nav-link:hover {
  /* Maintain full opacity on hover, add subtle brightness */
  opacity: 1;
  color: #ffffff;
  transform: translateX(4px);
  /* Subtle glow for premium hover effect */
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.3);
}

.hero-video {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  color: #fff;
  background: #000;
  /* Prevent layout shifts during video loading */
  contain: layout style paint;
}

.hero-video-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Enhanced performance optimizations */
  will-change: opacity;
  transform: translateZ(0);
  backface-visibility: hidden;
  /* Improved rendering performance */
  image-rendering: optimizeSpeed;
  image-rendering: -webkit-optimize-contrast;
  /* Start hidden to prevent layout shift */
  opacity: 0;
  transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  /* Prevent video from affecting scroll performance */
  pointer-events: none;
  z-index: 0;
}

.hero-video-bg.loaded {
  opacity: 1;
}

/* Enhanced mobile fallback image */
.hero-fallback-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  /* Performance optimizations */
  will-change: auto;
  transform: translateZ(0);
  /* Hidden by default - only show when needed */
  display: none;
  z-index: -1;
}

/* Add a subtle pattern overlay for visual interest */
.hero-fallback-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Cpath d='m36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.1;
}

/* Cinematic video optimizations */
.cinematic-video {
  will-change: auto;
  transform: translateZ(0);
  backface-visibility: hidden;
  image-rendering: optimizeSpeed;
  /* Prevent layout shifts */
  contain: layout style;
  z-index: 0;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}

.cinematic-video.loaded {
  opacity: 1;
}

.cinematic-fallback {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, #34495e 0%, #2c3e50 100%);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 1;
}

.hero-header {
  position: absolute;
  top: 24px;
  left: 24px;
  right: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 3;
  color: #fff;
  pointer-events: none;
}

.hero-brand {
  font-weight: 800;
  letter-spacing: 2px;
  font-size: 20px;
  pointer-events: auto;
}

.hero-menu {
  width: 22px;
  height: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  pointer-events: auto;
}

.hero-menu span {
  display: block;
  height: 2px;
  background: #fff;
  border-radius: 999px;
}

.hero-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  align-items: center;
  padding: 0 24px;
}

.hero-text-block {
  max-width: 620px;
}

.hero-heading,
.hero-subtext,
.hero-cta {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.9s ease, transform 0.9s ease;
  text-shadow: 0 8px 30px rgba(0, 0, 0, 0.45);
}

.hero-heading.show {
  opacity: 1;
  transform: translateY(0);
}

.hero-subtext.show {
  opacity: 1;
  transform: translateY(0);
}

.hero-cta.show {
  opacity: 1;
  transform: translateY(0);
}

.hero-heading {
  font-size: clamp(38px, 6vw, 68px);
  line-height: 1.05;
  font-weight: 800;
  margin-bottom: 16px;
}

.hero-subtext {
  font-size: clamp(16px, 2.6vw, 20px);
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 28px;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: 1.4px;
  font-size: 14px;
  color: #fff;
  text-decoration: none;
  position: relative;
}

.hero-cta-arrow {
  display: inline-block;
  animation: hero-arrow 1.6s ease-in-out infinite;
}

@keyframes hero-arrow {
  0% { transform: translateX(0); opacity: 1; }
  50% { transform: translateX(6px); opacity: 0.75; }
  100% { transform: translateX(0); opacity: 1; }
}

.hero-socials {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 14px;
  z-index: 3;
}

.hero-social-link {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  display: grid;
  place-items: center;
  color: #fff;
  transition: transform 0.25s ease, opacity 0.25s ease, background 0.25s ease;
}

.hero-social-link svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

@media (max-width: 900px) {
  .hero-header {
    top: 20px;
    left: 20px;
    right: 20px;
  }
  .hero-brand {
    font-size: 18px;
  }
  .hero-content {
    padding: 0 20px;
    text-align: center;
    justify-content: center;
  }
  .hero-text-block {
    max-width: 100%;
  }
}

@media (max-width: 600px) {
  .hero-menu {
    width: 20px;
    height: 14px;
  }
  .hero-socials {
    gap: 12px;
    bottom: 20px;
  }
  .hero-social-link {
    width: 40px;
    height: 40px;
  }
}

.container {
  max-width: 1200px;
  margin: auto;
  padding: 0 20px;
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.logo img {
  width: 140px;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 30px;
}

.nav-links a {
  text-decoration: none;
  color: #222;
  font-weight: 500;
  font-size: 15px;
}

.nav-links a:hover {
  color: #000;
}

/* Mobile Menu */
.menu-toggle {
  display: none;
  font-size: 28px;
  cursor: pointer;
}

/* Responsive */
@media (max-width: 768px) {
  .nav-links {
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    background: #fff;
    flex-direction: column;
    gap: 0;
    display: none;
  }

  .nav-links li {
    border-top: 1px solid #eee;
    padding: 15px 20px;
  }

  .menu-toggle {
    display: block;
  }
}


#hero {
  width: 100%;
  background: linear-gradient(to right, #eaf3f3, #f7fafa);
  margin-bottom: 0;
  padding-bottom: 0;
}

.hero-slider {
  max-width: 1440px;
  height: 760px;
  margin: auto;
  position: relative;
  overflow: hidden;
}

.hero-slide {
  width: 100%;
  height: 760px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 90px;
}

.hero-text {
  max-width: 520px;
}

.hero-text h1 {
  font-size: 64px;
  line-height: 1.05;
  color: #5c6f73;
}

.hero-text p {
  margin-top: 18px;
  font-size: 17px;
  color: #6b7c80;
  max-width: 420px;
}

.hero-buttons {
  margin-top: 28px;
  display: flex;
  gap: 16px;
}

.btn {
  padding: 13px 26px;
  font-size: 14px;
  text-decoration: none;
}

.primary-btn {
  background: #000;
  color: #fff;
}

.secondary-btn {
  border: 1px solid #000;
  color: #000;
}

.hero-image img {
  width: 460px;
}

@media (max-width: 768px) {
  .hero-slider {
    height: auto;
  }

  .hero-slide {
    height: auto;
    flex-direction: column;
    justify-content: center;
    padding: 90px 24px 70px;
    text-align: center;
  }

  .hero-text {
    max-width: 100%;
  }

  .hero-text h1 {
    font-size: 42px;
    line-height: 1.15;
  }

  .hero-text p {
    font-size: 16px;
    max-width: 100%;
    margin: 18px auto 0;
  }

  .hero-buttons {
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
  }

  .hero-image {
    margin-top: 40px;
  }

  .hero-image img {
    width: 280px;
    max-width: 100%;
  }

  .slider-btn {
    display: none;
  }
}

#products {
  padding: 100px 0;
  background: #e7dbdb;
}

.products-container {
  max-width: 1400px;
  margin: auto;
  padding: 0 80px;
}

.section-head {
  text-align: center;
  margin-bottom: 70px;
}

.section-label {
  display: inline-block;
  font-size: 14px;
  letter-spacing: 1.5px;
  font-weight: 500;
  color: #111;
  margin-bottom: 16px;
  text-transform: uppercase;
}

.section-head h2 {
  font-size: 42px;
  color: #111;
  margin-bottom: 16px;
  font-weight: 600;
}

.section-head p {
  margin-top: 0;
  font-size: 17px;
  color: #666;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 35px;
  margin-bottom: 60px;
}

.product-card {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  text-align: center;
}


.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.product-image-container {
  position: relative;
  width: 100%;
  height: 280px;
  background: #f8f8f8;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.product-image-container img {
  max-width: 85%;
  max-height: 85%;
  object-fit: contain;
  padding: 20px;
  display: block;
  transition: transform 0.4s ease;
}



.product-card:hover .product-image-container img {
  transform: scale(1.05);
}

.product-overlay-home {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.product-card:hover .product-overlay-home {
  opacity: 1;
}

.product-link-home {
  padding: 12px 28px;
  background: #fff;
  color: #111;
  text-decoration: none;
  border-radius: 30px;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.3s ease;
}

.product-link-home:hover {
  background: #dce6cd;
  transform: scale(1.05);
}

.product-card-content {
  padding: 28px 20px;
}

.product-card-content h3 {
  font-size: 20px;
  color: #111;
  margin-bottom: 8px;
  font-weight: 600;
}

.product-card-content p {
  font-size: 14px;
  color: #666;
  line-height: 1.5;
  margin: 0;
}

.products-cta-home {
  text-align: center;
  margin-top: 50px;
}

.view-all-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 40px;
  background: #151515;
  color: #fff;
  text-decoration: none;
  border-radius: 30px;
  font-weight: 600;
  font-size: 15px;
  transition: all 0.3s ease;
}

.view-all-btn:hover {
  background: #000;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  gap: 14px;
}

@media (max-width: 1200px) {
  .products-container {
    padding: 0 40px;
  }

  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
}

@media (max-width: 900px) {
  #products {
    padding: 80px 0;
  }

  .products-container {
    padding: 0 30px;
  }

  .section-head {
    margin-bottom: 50px;
  }

  .section-head h2 {
    font-size: 34px;
  }

  .section-head p {
    font-size: 16px;
  }

  .products-grid {
    gap: 25px;
    margin-bottom: 50px;
  }

  .product-image-container {
    height: 240px;
  }

  .product-card-content {
    padding: 24px 18px;
  }

  .product-card-content h3 {
    font-size: 18px;
  }

  .product-card-content p {
    font-size: 13px;
  }
}

@media (max-width: 600px) {
  #products {
    padding: 60px 0;
  }

  .products-container {
    padding: 0 20px;
  }

  .section-head {
    margin-bottom: 40px;
  }

  .section-label {
    font-size: 12px;
  }

  .section-head h2 {
    font-size: 28px;
  }

  .section-head p {
    font-size: 15px;
  }

  .products-grid {
    grid-template-columns: 1fr;
    gap: 25px;
    margin-bottom: 40px;
  }

  .product-image-container {
    height: 220px;
  }

  .product-card-content h3 {
    font-size: 17px;
  }

  .view-all-btn {
    padding: 14px 32px;
    font-size: 14px;
  }
}

/* =========================
   Video Cards Section
========================= */
#video-cards {
  padding: 120px 0;
  background: linear-gradient(135deg, #f8f9f5 0%, #ffffff 100%);
}

.video-cards-container {
  max-width: 1400px;
  margin: auto;
  padding: 0 80px;
}

.video-cards-head {
  text-align: center;
  margin-bottom: 70px;
}

.video-cards-label {
  display: inline-block;
  font-size: 14px;
  letter-spacing: 1.5px;
  font-weight: 500;
  color: #111;
  margin-bottom: 16px;
  text-transform: uppercase;
}

.video-cards-head h2 {
  font-size: 42px;
  color: #111;
  margin-bottom: 16px;
  font-weight: 600;
  line-height: 1.2;
}

.video-cards-head p {
  font-size: 17px;
  color: #666;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

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

.video-card {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.video-card:hover {
  transform: translateY(-12px);
}

.video-card-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  background: #fff;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.video-card:hover .video-card-wrapper {
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.video-container {
  position: relative;
  width: 100%;
  height: 520px;
  overflow: hidden;
  background: #000;
}

.video-container video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.video-card:hover .video-container video {
  transform: scale(1.1);
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.1) 50%, rgba(0, 0, 0, 0.6) 100%);
  transition: opacity 0.4s ease;
  z-index: 1;
}

.video-card:hover .video-overlay {
  opacity: 0.7;
}

.play-indicator {
  display: none;
}

.video-card-content {
  padding: 35px 30px;
  background: #fff;
  position: relative;
  z-index: 3;
}

.video-card-content h3 {
  font-size: 24px;
  color: #111;
  margin-bottom: 12px;
  font-weight: 600;
  transition: color 0.3s ease;
}

.video-card:hover .video-card-content h3 {
  color: #dce6cd;
}

.video-card-content p {
  font-size: 15px;
  color: #666;
  line-height: 1.7;
  margin: 0;
  transition: color 0.3s ease;
}

.video-card:hover .video-card-content p {
  color: #555;
}

/* Video Cards Responsive */
@media (max-width: 1200px) {
  .video-cards-container {
    padding: 0 40px;
  }

  .video-cards-grid {
    gap: 30px;
  }
}

@media (max-width: 900px) {
  #video-cards {
    padding: 80px 0;
  }

  .video-cards-container {
    padding: 0 30px;
  }

  .video-cards-head {
    margin-bottom: 50px;
  }

  .video-cards-head h2 {
    font-size: 34px;
  }

  .video-cards-head p {
    font-size: 16px;
  }

  .video-cards-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .video-container {
    height: 320px;
  }

  .video-card-content {
    padding: 30px 25px;
  }
}

@media (max-width: 600px) {
  #video-cards {
    padding: 60px 0;
  }

  .video-cards-container {
    padding: 0 20px;
  }

  .video-cards-head {
    margin-bottom: 40px;
  }

  .video-cards-label {
    font-size: 12px;
  }

  .video-cards-head h2 {
    font-size: 28px;
  }

  .video-cards-head p {
    font-size: 15px;
  }

  .video-cards-grid {
    gap: 25px;
  }

  .video-container {
    height: 280px;
  }

  .video-card-content {
    padding: 25px 20px;
  }

  .video-card-content h3 {
    font-size: 20px;
  }

  .video-card-content p {
    font-size: 14px;
  }

  .play-indicator {
    width: 60px;
    height: 60px;
  }

  .play-indicator svg {
    width: 40px;
    height: 40px;
  }
}

#about {
  padding: 0 0 120px;
  background: #dce6cd;
}

.about-wrap {
  max-width: 1400px;
  margin: auto;
  padding: 0 80px;
  display: flex;
  align-items: center;
  gap: 80px;
}

.about-left {
  flex: 1;
}

.about-label {
  display: inline-block;
  font-size: 14px;
  letter-spacing: 1.5px;
  font-weight: 500;
  margin-bottom: 20px;
  color: #111;
}

.about-left h2 {
  font-size: 46px;
  line-height: 1.2;
  color: #111;
  margin-bottom: 24px;
}

.about-left p {
  font-size: 17px;
  color: #555;
  max-width: 480px;
  line-height: 1.7;
}

.about-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 30px;
  padding: 14px 28px;
  background: #151515;
  color: #fff;
  text-decoration: none;
  border-radius: 10px;
  font-size: 14px;
}

.about-btn span {
  font-size: 16px;
}

.about-right {
  flex: 1;
}

.about-right video {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: 14px;
  display: block;
  margin-top: 40px;
}

@media (max-width: 900px) {
  #about {
    padding: 60px 0 80px;
  }

  .about-wrap {
    flex-direction: column;
    padding: 0 20px;
    gap: 40px;
  }

  .about-left h2 {
    font-size: 34px;
  }

  .about-left p {
    max-width: 100%;
  }

  .about-right {
    width: 100%;
  }

  .about-right video {
    width: 100%;
    height: auto;
    min-height: 250px;
    max-height: 400px;
    aspect-ratio: 16 / 9;
    margin-top: 0;
  }
}

@media (max-width: 600px) {
  #about {
    padding: 40px 0 60px;
  }

  .about-wrap {
    padding: 0 16px;
    gap: 30px;
  }

  .about-left h2 {
    font-size: 28px;
  }

  .about-left p {
    font-size: 15px;
  }

  .about-right video {
    width: 100%;
    height: auto;
    min-height: 200px;
    max-height: 300px;
    aspect-ratio: 16 / 9;
  }
}

/* =========================
   Contact Section
========================= */
#contact {
  padding: 120px 0;
  background: #e7dbdb;
}

.contact-container {
  max-width: 1400px;
  margin: auto;
  padding: 0 80px;
}

.contact-wrapper {
  display: flex;
  align-items: flex-start;
  gap: 100px;
}

.contact-left {
  flex: 1;
}

.contact-label {
  display: inline-block;
  font-size: 14px;
  letter-spacing: 1.5px;
  font-weight: 500;
  margin-bottom: 20px;
  color: #111;
}

.contact-left h2 {
  font-size: 46px;
  line-height: 1.2;
  color: #111;
  margin-bottom: 24px;
}

.contact-left p {
  font-size: 17px;
  color: #555;
  max-width: 480px;
  line-height: 1.7;
  margin-bottom: 50px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.info-icon {
  font-size: 24px;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 12px;
  flex-shrink: 0;
}

.info-content h4 {
  font-size: 16px;
  font-weight: 600;
  color: #111;
  margin-bottom: 8px;
}

.info-content p {
  font-size: 15px;
  color: #555;
  line-height: 1.6;
  margin: 0;
}

.contact-right {
  flex: 1;
  background: rgba(255, 255, 255, 0.5);
  padding: 50px;
  border-radius: 20px;
  backdrop-filter: blur(10px);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.form-group {
  width: 100%;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 16px 20px;
  font-size: 15px;
  color: #111;
  background: #ffffff;
  border: 2px solid rgba(0, 0, 0, 0.1);
  border-radius: 12px;
  font-family: inherit;
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #111;
  background: #fff;
}

.form-group textarea {
  resize: vertical;
  min-height: 140px;
}

.contact-submit-btn {
  padding: 16px 32px;
  background: #151515;
  color: #fff;
  border: none;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s ease;
  font-family: inherit;
  margin-top: 10px;
}

.contact-submit-btn:hover {
  background: #000;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.contact-submit-btn span {
  font-size: 18px;
  transition: transform 0.3s ease;
}

.contact-submit-btn:hover span {
  transform: translateX(4px);
}

@media (max-width: 900px) {
  #contact {
    padding: 80px 0;
  }

  .contact-container {
    padding: 0 20px;
  }

  .contact-wrapper {
    flex-direction: column;
    gap: 50px;
  }

  .contact-left h2 {
    font-size: 34px;
  }

  .contact-left p {
    max-width: 100%;
    margin-bottom: 40px;
  }

  .contact-right {
    padding: 40px 30px;
  }
}

@media (max-width: 600px) {
  #contact {
    padding: 50px 0;
  }

  .contact-container {
    padding: 0 16px;
  }

  .contact-wrapper {
    gap: 35px;
  }

  .contact-left h2 {
    font-size: 28px;
    margin-bottom: 18px;
  }

  .contact-left p {
    font-size: 15px;
    margin-bottom: 30px;
    line-height: 1.6;
  }

  .contact-info {
    gap: 24px;
  }

  .contact-right {
    padding: 30px 20px;
    width: 100%;
    box-sizing: border-box;
  }

  .contact-form {
    gap: 18px;
  }

  .form-group input,
  .form-group textarea {
    padding: 14px 18px;
    font-size: 14px;
  }

  .form-group textarea {
    min-height: 120px;
  }

  .contact-submit-btn {
    width: 100%;
    justify-content: center;
    padding: 14px 28px;
    font-size: 14px;
  }

  .info-item {
    gap: 15px;
    flex-wrap: wrap;
  }

  .info-icon {
    width: 45px;
    height: 45px;
    font-size: 20px;
  }

  .info-content h4 {
    font-size: 15px;
    margin-bottom: 6px;
  }

  .info-content p {
    font-size: 14px;
    line-height: 1.5;
  }
}

/* =========================
   Footer Section
========================= */
#footer {
  background: #151515;
  color: #fff;
  padding: 0;
}

.footer-container {
  max-width: 1400px;
  margin: auto;
  padding: 0;
}

.footer-top {
  padding: 80px 80px 60px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 60px;
}

.footer-col {
  display: flex;
  flex-direction: column;
}

.footer-about {
  max-width: 350px;
}

.footer-logo img {
  width: 140px;
  margin-bottom: 20px;
  filter: brightness(0) invert(1);
}

.footer-description {
  font-size: 15px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 30px;
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-link {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  color: #fff;
  transition: all 0.3s ease;
  text-decoration: none;
}

.social-link:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.footer-title {
  font-size: 18px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 24px;
  letter-spacing: 0.5px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-links li {
  margin: 0;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 15px;
  transition: all 0.3s ease;
  display: inline-block;
}

.footer-links a:hover {
  color: #fff;
  transform: translateX(4px);
}

.footer-contact {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 15px;
  line-height: 1.6;
}

.contact-icon {
  font-size: 18px;
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-bottom {
  padding: 30px 80px;
  background: rgba(0, 0, 0, 0.3);
}

.footer-bottom-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.copyright {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
}

.footer-legal {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
}

.footer-legal a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: color 0.3s ease;
}

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

.footer-legal span {
  color: rgba(255, 255, 255, 0.3);
}

/* Footer Responsive */
@media (max-width: 1200px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr;
    gap: 50px;
  }

  .footer-col:last-child {
    grid-column: 1 / -1;
    margin-top: 20px;
  }
}

@media (max-width: 900px) {
  .footer-top {
    padding: 60px 40px 50px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .footer-col:last-child {
    grid-column: 1 / -1;
    margin-top: 0;
  }

  .footer-about {
    max-width: 100%;
    grid-column: 1 / -1;
  }

  .footer-bottom {
    padding: 25px 40px;
  }

  .footer-bottom-content {
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }
}

@media (max-width: 600px) {
  .footer-top {
    padding: 50px 20px 40px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .footer-about {
    grid-column: 1;
  }

  .footer-col:last-child {
    grid-column: 1;
  }

  .footer-logo img {
    width: 120px;
  }

  .footer-description {
    font-size: 14px;
    margin-bottom: 25px;
  }

  .footer-title {
    font-size: 16px;
    margin-bottom: 18px;
  }

  .footer-links {
    gap: 12px;
  }

  .footer-links a {
    font-size: 14px;
  }

  .footer-contact {
    gap: 18px;
  }

  .footer-contact li {
    font-size: 14px;
  }

  .footer-bottom {
    padding: 20px;
  }

  .copyright {
    font-size: 13px;
    text-align: center;
  }

 .footer-legal {
    font-size: 13px;
    justify-content: center;
  }
}

/* =========================
   Products Page
========================= */
.products-hero {
  background: linear-gradient(135deg, #dce6cd 0%, #c4d4b0 100%);
  padding: 120px 0 100px;
  text-align: center;
}

.products-hero-content {
  max-width: 800px;
  margin: auto;
  padding: 0 20px;
}

.products-hero-label {
  display: inline-block;
  font-size: 14px;
  letter-spacing: 1.5px;
  font-weight: 500;
  color: #111;
  margin-bottom: 20px;
}

.products-hero-content h1 {
  font-size: 56px;
  line-height: 1.2;
  color: #111;
  margin-bottom: 20px;
}

.products-hero-content p {
  font-size: 18px;
  color: #555;
  line-height: 1.7;
  max-width: 600px;
  margin: 0 auto;
}

.products-page-section {
  padding: 100px 0;
  background: #fff;
}

.products-page-container {
  max-width: 1400px;
  margin: auto;
  padding: 0 80px;
}

/* Category Filters */
.category-filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 60px;
}

.filter-btn {
  padding: 12px 28px;
  font-size: 15px;
  font-weight: 500;
  color: #555;
  background: #f5f5f5;
  border: 2px solid transparent;
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: inherit;
}

.filter-btn:hover {
  background: #e8e8e8;
  color: #111;
}

.filter-btn.active {
  background: #151515;
  color: #fff;
  border-color: #151515;
}

/* Products Page Grid */
.products-page-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  margin-bottom: 80px;
}

.product-page-card {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease, transform 0.3s ease;
  display: flex;
  flex-direction: column;
  opacity: 1;
  transform: translateY(0);
}

.product-page-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.product-image-wrapper {
  position: relative;
  width: 100%;
  height: 320px;
  background: linear-gradient(135deg, #f0f0f0 0%, #e0e0e0 100%);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  color: #999;
  text-align: center;
}

.product-placeholder svg {
  opacity: 0.3;
}

.product-placeholder span {
  font-size: 14px;
  color: #999;
  font-weight: 500;
}

.product-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.product-page-card:hover .product-overlay {
  opacity: 1;
}

.product-view-btn {
  padding: 14px 32px;
  background: #fff;
  color: #111;
  text-decoration: none;
  border-radius: 30px;
  font-weight: 600;
  font-size: 15px;
  transition: all 0.3s ease;
}

.product-view-btn:hover {
  background: #dce6cd;
  transform: scale(1.05);
}

.product-info {
  padding: 30px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-category {
  font-size: 12px;
  letter-spacing: 1px;
  color: #999;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.product-info h3 {
  font-size: 24px;
  color: #111;
  margin-bottom: 12px;
  font-weight: 600;
  line-height: 1.3;
}

.product-info p {
  font-size: 15px;
  color: #666;
  line-height: 1.6;
  margin-bottom: 20px;
  flex: 1;
}

.product-link-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #111;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  transition: all 0.3s ease;
  width: fit-content;
}

.product-link-btn:hover {
  gap: 12px;
  color: #555;
}

/* Products CTA */
.products-cta {
  background: #dce6cd;
  border-radius: 24px;
  padding: 60px 50px;
  text-align: center;
}

.cta-content h2 {
  font-size: 36px;
  color: #111;
  margin-bottom: 16px;
}

.cta-content p {
  font-size: 17px;
  color: #555;
  margin-bottom: 35px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.nav-links a.active {
  color: #000;
  font-weight: 600;
}

/* Products Page Responsive */
@media (max-width: 1200px) {
  .products-page-container {
    padding: 0 40px;
  }

  .products-page-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
}

@media (max-width: 900px) {
  .products-hero {
    padding: 80px 0 70px;
  }

  .products-hero-content h1 {
    font-size: 42px;
  }

  .products-hero-content p {
    font-size: 16px;
  }

  .products-page-section {
    padding: 70px 0;
  }

  .products-page-container {
    padding: 0 30px;
  }

  .category-filters {
    gap: 10px;
    margin-bottom: 50px;
  }

  .filter-btn {
    padding: 10px 22px;
    font-size: 14px;
  }

  .products-page-grid {
    grid-template-columns: 1fr;
    gap: 30px;
    margin-bottom: 60px;
  }

  .products-cta {
    padding: 50px 40px;
  }

  .cta-content h2 {
    font-size: 30px;
  }
}

@media (max-width: 600px) {
  .products-hero {
    padding: 60px 0 50px;
  }

  .products-hero-content h1 {
    font-size: 32px;
  }

  .products-hero-content p {
    font-size: 15px;
  }

  .products-page-section {
    padding: 50px 0;
  }

  .products-page-container {
    padding: 0 20px;
  }

  .category-filters {
    gap: 8px;
    margin-bottom: 40px;
  }

  .filter-btn {
    padding: 9px 18px;
    font-size: 13px;
  }

  .product-image-wrapper {
    height: 280px;
  }

  .product-info {
    padding: 24px;
  }

  .product-info h3 {
    font-size: 20px;
  }

  .product-info p {
    font-size: 14px;
  }

  .products-cta {
    padding: 40px 24px;
  }

  .cta-content h2 {
    font-size: 26px;
  }

  .cta-content p {
    font-size: 15px;
  }

  .cta-buttons {
    flex-direction: column;
    width: 100%;
  }

  .cta-buttons .btn {
    width: 100%;
    text-align: center;
  }
}

/* =========================
   Product Color Options
========================= */
.product-colors {
  margin-top: 24px;
}

.color-title {
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 8px;
}

.color-options {
  display: flex;
  gap: 12px;
}

.color-dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1px solid #999;
  cursor: pointer;
  transition: all 0.3s ease;
}

.color-dot:hover {
  transform: scale(1.1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.color-dot.active {
  border: 2px solid #000;
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.1);
}

/* =========================
   Design Slider (for Design Products)
========================= */
#productSlider {
  position: absolute;
  inset: 0;
  display: none;
  overflow: hidden;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  /* Container stays static - no transforms */
}

/* Slider track wrapper - this moves horizontally */
.slider-track {
  display: flex;
  height: 100%;
  transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
  position: relative;
  /* Track will be sized by its children (slides) */
  /* 🚨 SAFETY: Never allow partial slides to show */
  min-width: 100%;
}

/* Individual slide images */
.design-slide {
  flex-shrink: 0; /* Don't shrink */
  flex-grow: 0; /* Don't grow */
  width: var(--slider-container-width, 100vw); /* CRITICAL: Use container width as reference */
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  padding: 0;
  margin: 0;
  /* 🚨 SAFETY: Each slide is exactly the width of the slider container */
  min-width: var(--slider-container-width, 100vw);
  max-width: var(--slider-container-width, 100vw);
  /* Prevent image loading artifacts */
  background: #f4f4f4;
}

/* Premium slider appearance */
#productSlider[aria-hidden="false"] {
  display: block;
}


/* =========================
   Product Detail Page
========================= */

/* Dark Navigation Modifier */
.nav-dark .nav-link {
  color: #111;
}

.nav-dark .nav-link::after {
  background: #111;
}

.nav-dark .nav-burger span {
  background: #111;
}

/* Invert logo for white background if needed (assuming logo is white by default) */
.nav-dark .nav-brand img {
  filter: invert(1); 
}

.nav-dark.scrolled {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

/* Layout */
.product-detail-page {
  padding-top: 100px; /* Space for fixed nav */
  background: #fff;
  min-height: 100vh;
  padding-bottom: 80px;
}

.product-breadcrumb-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 20px 40px;
}

.breadcrumb {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #888;
  display: flex;
  align-items: center;
  gap: 8px;
}

.breadcrumb a {
  text-decoration: none;
  color: #888;
  transition: color 0.2s;
}

.breadcrumb a:hover {
  color: #000;
}

.breadcrumb .separator {
  color: #ccc;
}

.breadcrumb .current {
  color: #111;
  font-weight: 600;
}

.product-detail-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 40px 40px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 80px;
  align-items: start;
  /* Container stays static - never apply transforms here */
  transform: none !important;
}

/* Visual Column */
.product-visual-col {
  position: relative;
  /* Column stays static - never apply transforms here */
  transform: none !important;
}

.product-main-visual {
  width: 100%;
  aspect-ratio: 4/3;
  background: #f4f4f4;
  border-radius: 4px;
  overflow: hidden;
  position: relative;
  min-height: 520px;
  /* Container stays static - never apply transforms here */
  transform: none !important;
}

.visual-placeholder {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  color: #aaa;
  z-index: 1;
}

.visual-placeholder[style*="display: none"] {
  display: none !important;
}

.visual-placeholder svg {
  width: 64px;
  height: 64px;
  opacity: 0.5;
}

.visual-placeholder span {
  font-size: 14px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.product-main-visual img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: opacity 0.3s ease, transform 0.5s ease;
  z-index: 2;
}

.product-main-visual img[style*="display: none"] {
  display: none !important;
}

.product-main-visual:hover img {
  transform: scale(1.05);
}

/* Info Column */
.product-info-col {
  padding-top: 20px;
}

.product-category-label {
  display: block;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #666;
  margin-bottom: 16px;
}

.product-title {
  font-family: 'Playfair Display', serif;
  font-size: 48px;
  color: #111;
  margin: 0 0 16px 0;
  line-height: 1.1;
  font-weight: 400;
}

.product-code-wrapper {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 30px;
  font-size: 14px;
  color: #888;
}

.code-value {
  color: #111;
  font-weight: 600;
}

.product-description-wrapper {
  margin-bottom: 40px;
  border-bottom: 1px solid #eee;
  padding-bottom: 30px;
}

.product-short-desc {
  font-size: 16px;
  line-height: 1.7;
  color: #555;
  margin: 0;
}

/* Specs */
.product-specs-section {
  margin-bottom: 40px;
}

.specs-heading {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 20px;
  color: #111;
}

.specs-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 40px;
}

.specs-list li {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.spec-label {
  font-size: 12px;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.spec-value {
  font-size: 15px;
  color: #111;
  font-weight: 500;
}

/* Actions */
.product-actions {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.btn-primary-action {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #111;
  color: #fff;
  text-decoration: none;
  padding: 18px 30px;
  border-radius: 4px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  text-transform: uppercase;
}

.btn-primary-action:hover {
  background: #333;
  transform: translateY(-2px);
}

.btn-secondary-action {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: transparent;
  color: #111;
  text-decoration: none;
  padding: 16px 30px;
  border-radius: 4px;
  border: 1px solid #ddd;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  text-transform: uppercase;
}

.btn-secondary-action:hover {
  border-color: #111;
  background: #f9f9f9;
}

/* Responsive */
@media (max-width: 992px) {
  .product-detail-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .product-info-col {
    padding-top: 0;
  }

  .product-title {
    font-size: 36px;
  }
}

@media (max-width: 600px) {
  .product-detail-container {
    margin: 100px;
    padding: 30px 20px;
    gap: 30px;
  }
  
  .product-breadcrumb-container {
    padding: 15px 20px;
  }

  .product-title {
    font-size: 32px;
  }

  .specs-list {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* ===== FORCE FULL WIDTH 3D SECTION ===== */
/* ===============================
   3D PRODUCT VIEW – CLEAN & COMPACT
   =============================== */

#product3DWrapper {
  padding: 50px 20px;              /* slightly tighter */
  text-align: center;
  background-color: #50565c;          /* dark showroom */
}

#product3DWrapper h2 {
  font-family: "Playfair Display", serif;
  font-size: 28px;
  margin-bottom: 4px;              /* tighter gap */
  color: #f5f5f5;                  /* readable on dark bg */
}

#product3DWrapper p {
  font-size: 14px;
  color: #d0d0d0;                  /* MUCH better contrast */
  margin-bottom: 14px;             /* reduced space before model */
}


/* Card that holds the 3D model */
.product-3d-card {
  width: 100%;
  max-width: 520px;       /* 👈 controls size */
  margin: 0 auto;
  padding: 16px;
  background: #111;       /* subtle dark card */
  border-radius: 16px;
}

/* The 3D model itself */
#product3DModel {
  width: 100%;
  height: 360px;          /* 👈 balanced height */
  background: transparent;
  border-radius: 12px;
}

/* ===============================
   FINAL MOBILE SEPARATION FIX
   =============================== */
/* ===============================
   MOBILE – 3D BOX SIZE FIX
   =============================== */
@media (max-width: 768px) {

  /* Tighten the whole 3D section */
  #product3DWrapper {
    padding: 24px 14px 32px;
    margin-bottom: 40px;
  }

  /* Make the card smaller on mobile */
  .product-3d-card {
    max-width: 100%;
    padding: 8px;
    border-radius: 10px;   /* less heavy */
    background: #141414;
  }

  /* THIS is the main fix */
  #product3DModel {
    height: 180px;        /* 🔥 perfect mobile size */
    min-height: 180px;
    max-height: 180px;
    border-radius: 8px;
  }
}

 
/* REMOVE EXTRA GAP AFTER PRODUCT */
.product-detail-page {
  min-height: auto !important;
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
}

.product-detail-container {
  margin-bottom: 0 !important;
  padding-bottom: 40px; /* small clean spacing */
}

/* ===============================
   MOBILE VIEW (STABLE – DO NOT MODIFY)
   Product page mobile layout is finalized.
   Any changes here may break layout.
   =============================== */

/* Mobile stabilization for Product Detail (≤768px) */
@media (max-width: 768px) {
  .product-detail-page {
    overflow-x: hidden;
    padding-bottom: 60px;
  }

  .product-breadcrumb-container {
    padding: 12px 20px;
  }

  .product-detail-container {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 20px;
    margin: 0;
  }

  .product-visual-col {
    order: 0;
  }

  .product-main-visual {
    aspect-ratio: 1 / 1;
    border-radius: 8px;
    max-height: 420px;
    min-height: 360px; /* Ensure container stays fixed */
    overflow: hidden;
  }

  .product-main-visual img,
  #productImage,
  #productSlider,
  .design-slide {
    padding: 0; /* CRITICAL: No padding on mobile either */
    width: 100%;
    height: 100%;
    object-fit: cover; /* CRITICAL: Maintain cover, not contain */
    object-position: center;
    border-radius: 0; /* Container handles radius */
  }

  /* Mobile slider constraints */
  #productSlider {
    padding: 0; /* Remove padding on mobile - container handles it */
  }

  .visual-placeholder svg {
    width: 48px;
    height: 48px;
  }

  .visual-placeholder span {
    font-size: 12px;
  }

  .product-category-label {
    font-size: 12px;
    margin-bottom: 10px;
    letter-spacing: 1.5px;
  }

  .product-title {
    font-size: 26px;
    line-height: 1.2;
    margin-bottom: 12px;
  }

  .product-code-wrapper {
    font-size: 13px;
    margin-bottom: 16px;
  }

  .product-description-wrapper {
    padding-bottom: 20px;
    margin-bottom: 24px;
  }

  .product-short-desc {
    font-size: 15px;
    line-height: 1.7;
  }

  .specs-heading {
    font-size: 13px;
    margin-bottom: 16px;
  }

  .specs-list {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .spec-label {
    font-size: 12px;
  }

  .spec-value {
    font-size: 14px;
  }

  .product-actions {
    gap: 12px;
  }

  .btn-primary-action,
  .btn-secondary-action {
    width: 100%;
    padding: 14px 16px;
    font-size: 14px;
  }

  /* 3D Product View adjustments */
  #product3DWrapper {
    min-height: auto;
    padding: 24px 0;
  }

  #product3DWrapper model-viewer {
    width: 100%;
    max-width: 100%;
    height: 280px;
    border-radius: 12px;
  }
}

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

body.page-entered {
  animation: pageFadeIn 300ms ease both;
}

.nav-link.active::after {
  width: 100%;
}

.ripple {
  position: absolute;
  left: 0;
  top: 0;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  pointer-events: none;
  animation: rippleAnim 400ms ease-out forwards;
}

@keyframes rippleAnim {
  from { opacity: 0.35; transform: translate(-50%, -50%) scale(0.8); }
  to { opacity: 0; transform: translate(-50%, -50%) scale(2.2); }
}

.btn-primary-action,
.btn-secondary-action,
.view-all-btn,
.about-btn,
.product-link-home,
.contact-submit-btn {
  position: relative;
  overflow: hidden;
}

.specs-list li {
  transition: transform 200ms ease, box-shadow 200ms ease;
}

.specs-list li:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0,0,0,0.06);
}


/* ===============================
   HERO VIDEO (SAFETY CHECK)
   Mobile Responsive (Tablets and below)
   REMOVED: Video hiding on mobile - video now visible on all devices
================================ */
.hero-video {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

.hero-video-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ============================= */
/* CINEMATIC SPLIT SECTION */
/* ============================= */

.cinematic-split {
  background: #000;
  padding: 8rem 6vw;
  overflow: hidden;
}

.cinematic-wrap {
  max-width: 1300px;
  margin: auto;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 5rem;
  align-items: center;
}

/* ============================= */
/* VIDEO */
/* ============================= */

.cinematic-media {
  border-radius: 28px;
  overflow: hidden;
}

.cinematic-media video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}

/* ============================= */
/* CONTENT */
/* ============================= */

.cinematic-content {
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
}

/* ============================= */
/* TEXT SLIDER */
/* ============================= */

.text-slider {
  height: 3.4rem;
  overflow: hidden;
}

.text-track {
  display: flex;
  flex-direction: column;
  animation: textSlide 7s infinite;
}

.text-track span {
  font-size: 2.4rem;
  font-weight: 500;
  line-height: 1.2;
  height: 3.4rem;
}

/* ============================= */
/* DESCRIPTION */
/* ============================= */

.cinematic-desc {
  font-size: 1rem;
  color: #cfcfcf;
  max-width: 420px;
  line-height: 1.7;
}

/* ============================= */
/* ANIMATION */
/* ============================= */

@keyframes textSlide {
  0% { transform: translateY(0); }
  30% { transform: translateY(0); }

  33% { transform: translateY(-3.4rem); }
  63% { transform: translateY(-3.4rem); }

  66% { transform: translateY(-6.8rem); }
  96% { transform: translateY(-6.8rem); }

  100% { transform: translateY(0); }
}

/* ============================= */
/* MOBILE – NO OVERLAP GUARANTEE */
/* ============================= */

@media (max-width: 768px) {

  .cinematic-split {
    padding: 5rem 1.4rem;
  }

  .cinematic-wrap {
    grid-template-columns: 1fr;
    gap: 2.8rem;
  }

  .cinematic-media video {
    aspect-ratio: 1 / 1;
  }

  .text-slider {
    height: 2.6rem;
  }

  .text-track span {
    font-size: 1.7rem;
    height: 2.6rem;
  }

  .cinematic-desc {
    font-size: 0.95rem;
  }

  @keyframes textSlide {
    0% { transform: translateY(0); }
    30% { transform: translateY(0); }

    33% { transform: translateY(-2.6rem); }
    63% { transform: translateY(-2.6rem); }

    66% { transform: translateY(-5.2rem); }
    96% { transform: translateY(-5.2rem); }

    100% { transform: translateY(0); }
  }
}

/* ============================= */
/* PERFORMANCE OPTIMIZATIONS */
/* ============================= */

/* Optimize video performance on mobile devices */
@media (max-width: 768px) {
  .hero-video-bg,
  .cinematic-video {
    /* Force hardware acceleration on mobile */
    transform: translate3d(0, 0, 0);
    -webkit-transform: translate3d(0, 0, 0);
    
    /* Reduce video complexity on mobile */
    filter: none !important;
  }
}

/* Optimize for reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
  .hero-video-bg,
  .cinematic-video {
    animation: none !important;
    transition: opacity 0.2s ease !important;
  }
}

/* Optimize for very small screens - keep video visible */
@media (max-width: 480px) {
  .hero-video-bg,
  .cinematic-video {
    /* Video remains visible on small screens */
    /* Ensure proper mobile rendering */
    object-fit: cover;
    width: 100%;
    height: 100%;
  }
}

/* High performance mode for capable devices */
@media (min-width: 1200px) and (min-resolution: 96dpi) {
  .hero-video-bg.loaded,
  .cinematic-video.loaded {
    /* Enable smooth playback optimizations on desktop */
    image-rendering: optimizeQuality;
    -webkit-font-smoothing: antialiased;
  }
}

/* Network-aware optimizations */
@media (prefers-reduced-data: reduce) {
  .hero-video-bg,
  .cinematic-video {
    display: none !important;
  }
  
  .hero-fallback-image,
  .cinematic-fallback {
    display: block !important;
  }
}
