/* Power Supply Page Styles */

/* Normal body scrolling */
html {
  overflow: visible;
  scroll-behavior: smooth;
}

body {
  overflow: visible;
  position: relative;
  margin: 0;
  padding: 0;
}

/* Scroll Snap Container - Apple-style Full Page Navigation */
.scroll-snap-container {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow-y: auto;
  overflow-x: hidden;
  scroll-snap-type: none;
  scroll-behavior: auto;
  /* we use JS easing to control timing precisely */
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  /* Firefox - shows thin scrollbar */
  -ms-overflow-style: auto;
  /* IE and Edge - shows scrollbar */
  overscroll-behavior-y: contain;
  /* avoid scroll chaining */
  z-index: 1;
}

.scroll-snap-container::-webkit-scrollbar {
  width: 8px;
  /* Chrome, Safari, Opera - shows scrollbar */
  z-index: 999;
  /* Ensure scrollbar is visible */
}

.scroll-snap-container::-webkit-scrollbar-track {
  background: #f1f1f1;
}

.scroll-snap-container::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 4px;
}

.scroll-snap-container::-webkit-scrollbar-thumb:hover {
  background: #555;
}

/* Responsive adjustments for navbar padding */
@media (max-width: 768px) {
  .grid-2x2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, auto);
    gap: 16px;
  }
  
  .scroll-snap-container {
    padding-top: 80px;
    /* Smaller navbar on mobile */
  }
}

/* Sections - simple scrolling like home page */
.scroll-snap-section {
  position: relative;
  overflow: visible;
}

/* First section should account for navbar */
.scroll-snap-section:first-child {
  padding-top: 90px;
}

/* Remove all scroll effect styles */
.scroll-snap-section.section-active,
.scroll-snap-section:not(.section-active) {
  opacity: 1 !important;
  transform: none !important;
  filter: none !important;
  transition: none !important;
}

/* Responsive adjustments for navbar padding */
@media (max-width: 768px) {
  .scroll-snap-section:first-child {
    padding-top: 80px;
    /* Smaller navbar on mobile */
  }
}

/* Ensure all content is visible */
.hero-content-wrapper-t4h,
.premium-hero-layout,
.carousel-container,
.features-grid,
.cta-content {
  opacity: 1;
  transform: translateY(0);
}

/* Ensure sections maintain height on mobile */
@media (max-width: 768px) {
  .scroll-snap-section {
    min-height: 100vh;
    min-height: 100dvh;
    /* Dynamic viewport height for mobile */
  }

  .scroll-snap-container {
    height: 100vh;
    height: 100dvh;
    /* Dynamic viewport height for mobile */
  }
}

/* Hero Section - STB Style */
.stb-hero {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  height: 100vh;
  overflow: visible;
  display: flex;
  align-items: center;
}

/* Hero Background Premium - Apple Style Minimal */
.hero-bg-premium {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 100vh;
  background: linear-gradient(135deg, #FFFFFF 0%, #F8F9FA 50%, #FFFFFF 100%);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: calc(50px);
  padding-bottom: 80px;
  padding-left: 0;
  padding-right: 0;
  overflow: visible;
  position: relative;
  isolation: isolate;
}

.hero-bg-premium::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(59, 130, 246, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(147, 197, 253, 0.06) 0%, transparent 50%),
    radial-gradient(circle at 50% 50%, rgba(240, 250, 255, 0.4) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
  animation: gradientMove 20s ease-in-out infinite;
}

.hero-bg-premium::after {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.1) 0%, rgba(147, 197, 253, 0.05) 40%, transparent 70%);
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.6;
  animation: floatSoft 18s ease-in-out infinite;
  z-index: 0;
  pointer-events: none;
}

@keyframes subtlePulse {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.85;
  }
}

@keyframes heroWave {
  0% {
    transform: translate3d(-3%, -2%, 0);
    background-position: 0 0;
  }

  50% {
    transform: translate3d(2%, 3%, 0);
    background-position: 70px 50px;
  }

  100% {
    transform: translate3d(5%, -3%, 0);
    background-position: 140px 90px;
  }
}

/* Floating geometric blur shapes */
.hero-floating-shape {
  position: absolute;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.1) 0%, rgba(59, 130, 246, 0.03) 50%, transparent 100%);
  filter: blur(60px);
  opacity: 0.7;
  border-radius: 50%;
  z-index: 1;
  pointer-events: none;
  animation: floatSoft 18s ease-in-out infinite;
}

.hero-floating-shape.shape-1 {
  top: 15%;
  left: 5%;
  animation-delay: 0s;
}

.hero-floating-shape.shape-2 {
  width: 250px;
  height: 250px;
  top: 30%;
  right: 5%;
  animation-duration: 16s;
  animation-delay: 2s;
  background: radial-gradient(circle, rgba(147, 197, 253, 0.12) 0%, rgba(147, 197, 253, 0.04) 50%, transparent 100%);
}

.hero-floating-shape.shape-3 {
  width: 280px;
  height: 280px;
  bottom: 10%;
  left: 35%;
  animation-duration: 20s;
  animation-delay: 1s;
  background: radial-gradient(circle, rgba(240, 250, 255, 0.6) 0%, rgba(240, 250, 255, 0.2) 50%, transparent 100%);
}

@keyframes gradientMove {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.8;
  }
}

@keyframes floatSoft {
  0% {
    transform: translateY(0) scale(1);
    opacity: 0.6;
  }

  50% {
    transform: translateY(-20px) scale(1.05);
    opacity: 0.8;
  }

  100% {
    transform: translateY(0) scale(1);
    opacity: 0.6;
  }
}

/* Content Wrapper - t4h Style Layout: Headline Top, Image Left, Text Right */
.hero-content-wrapper-t4h {
  position: relative;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: calc(100vh - 90px);
  padding: 5px 5% 20px;
  z-index: 15;
  gap: 10px;
}

/* Top Center: Main Headline */
.hero-headline-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 100%;
  z-index: 15;
  margin-top: 40px;
  margin-bottom: 0;
  padding-top: 20px;
  padding-bottom: 0;
  position: relative;
}

.hero-headline-top .hero-wavy-line {
  width: 80px;
  height: 3px;
  margin: 0 auto 20px;
}

/* Bottom Section: Image Left + Text Right */
.hero-bottom-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 80px;
  width: 100%;
  max-width: 1300px;
  margin: 0 auto;
  flex: 1;
  margin-top: -10px;
}

/* Left: Power Supply Images */
.hero-left-remotes {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  width: 100%;
  height: 100%;
  align-self: stretch;
  overflow: visible;
  padding: 0;
  padding-top: 0;
}

.hero-image-container-t4h {
  position: relative;
  width: 100%;
  max-width: 600px;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  margin-top: -60px;
}

.hero-blob-wrap {
  position: absolute;
  inset: -10%;
  z-index: 0;
  pointer-events: none;
}

.hero-ambient {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(31, 78, 180, 0.08) 0%, transparent 70%);
  filter: blur(40px);
  opacity: 0.6;
}

.hero-blob {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.hero-image-container-t4h .remote-image-t4h {
  position: relative;
  width: 100%;
  height: auto;
  max-height: 75vh;
  min-height: 550px;
  object-fit: contain;
  z-index: 3;
  filter: drop-shadow(0 25px 50px rgba(0, 0, 0, 0.18)) drop-shadow(0 10px 25px rgba(0, 0, 0, 0.12));
  transform: scale(1.6);
}

/* Right Column: Subheadline + CTA - Exact Match to STB */
.hero-right-column {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  text-align: left;
  max-width: 600px;
  z-index: 15;
}

/* CTA Button - t4h Style Small & Outlined - Exact Match to STB */
.hero-cta-t4h {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  font-size: 16px;
  font-weight: 600;
  color: #FFFFFF;
  background: linear-gradient(135deg, #0071E3 0%, #005BBB 100%);
  border: none;
  border-radius: 14px;
  text-decoration: none;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  letter-spacing: 0.02em;
  width: fit-content;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  box-shadow: rgba(0, 113, 227, 0.25) 0px 8px 24px, rgba(0, 113, 227, 0.15) 0px 4px 12px;
  margin-top: 4px;
}

.hero-cta-t4h::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.hero-cta-t4h:hover {
  color: #FFFFFF;
  background: linear-gradient(135deg, #005BBB 0%, #004a94 100%);
  transform: translateY(-2px) scale(1.02);
  box-shadow: rgba(0, 113, 227, 0.35) 0px 12px 32px, rgba(0, 113, 227, 0.2) 0px 6px 16px;
}

.hero-cta-t4h:hover::before {
  left: 100%;
}

.hero-cta-t4h::after {
  content: '→';
  margin-left: 8px;
  font-size: 16px;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-block;
  position: relative;
  z-index: 1;
}

.hero-cta-t4h:hover::after {
  transform: translateX(4px);
}

/* Wavy Line Decoration - t4h Style */
.hero-wavy-line {
  width: 60px;
  height: 3px;
  background: #1a1a1a;
  margin-bottom: 20px;
  position: relative;
  opacity: 0;
  transform: translateX(-10px);
  animation: heroWavyLineFadeIn 0.5s cubic-bezier(0.16, 1, 0.3, 1) 0.05s forwards;
}

.hero-wavy-line::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #1a1a1a;
  clip-path: polygon(0 50%, 10% 0, 20% 50%, 30% 100%, 40% 50%, 50% 0, 60% 50%, 70% 100%, 80% 50%, 90% 0, 100% 50%);
}

@keyframes heroWavyLineFadeIn {
  from {
    opacity: 0;
    transform: translateX(-10px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Premium Typography - Apple Style - Exact Match to STB */
.stb-hero h1,
.hero-headline-t4h {
  font-size: 56px;
  font-weight: 800;
  line-height: 1.2;
  color: #1a1a1a;
  margin: 0 0 28px 0;
  text-align: center;
  letter-spacing: -0.03em;
  text-shadow: none;
  max-width: 100%;
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Inter', sans-serif;
}

.stb-hero h1 .accent-text {
  font-weight: 700;
  display: inline-block;
  color: #000000;
}

.stb-hero p,
.hero-subheadline-premium,
.hero-subheadline-t4h {
  font-size: 18px;
  line-height: 1.75;
  color: #6E6E73;
  margin: 0 0 30px 0;
  max-width: 600px;
  font-weight: 400;
  letter-spacing: 0.01em;
  text-align: left;
  padding-right: 0;
}


/* Fade-in Animation */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive Design - t4h Style Hero */
@media (max-width: 1400px) {
  .hero-content-wrapper-t4h {
    gap: 10px;
    padding: 5px 5% 20px;
  }

  .hero-bottom-section {
    gap: 60px;
  }

  .hero-image-container-t4h {
    max-width: 100%;
    padding: 15px;
  }

  .hero-headline-t4h {
    font-size: 42px;
    line-height: 1.2;
  }

  .hero-subheadline-t4h {
    font-size: 15px;
    max-width: 450px;
    text-align: left;
    line-height: 1.75;
  }
}

@media (max-width: 1200px) {
  .hero-content-wrapper-t4h {
    gap: 10px;
    padding: 5px 5% 20px;
  }

  .hero-headline-t4h {
    font-size: 48px;
  }

  .hero-image-container-t4h .remote-image-t4h {
    transform: scale(1.4);
    min-height: 480px;
  }

  .hero-bottom-section {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .hero-left-remotes {
    order: 0;
  }

  .hero-image-container-t4h {
    max-width: 100%;
    padding: 15px;
  }

  .hero-right-column {
    order: 1;
    align-items: center;
    max-width: 600px;
    margin: 0 auto;
    padding-right: 0;
  }

  .hero-headline-t4h {
    font-size: 36px;
    text-align: center;
  }

  .hero-subheadline-t4h {
    font-size: 14px;
    max-width: 100%;
    text-align: center;
    margin-bottom: 24px;
  }

  .hero-feature-chips {
    align-items: center;
  }

  .hero-cta-t4h {
    margin: 0 auto;
  }
}

@media (max-width: 992px) {
  .hero-content-wrapper-t4h {
    gap: 10px;
    padding: 5px 4% 30px;
  }

  .hero-bottom-section {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
    margin-top: 0;
  }

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

  .hero-right-column {
    align-items: center;
    text-align: center;
  }

  .hero-headline-t4h {
    font-size: 42px;
  }

  .hero-subheadline-t4h {
    text-align: center;
  }

  .hero-image-container-t4h .remote-image-t4h {
    transform: scale(1.2);
    min-height: 400px;
  }
}

@media (max-width: 768px) {
  .stb-hero {
    min-height: auto;
    height: auto;
    padding-top: 0;
  }

  .stb-hero {
    min-height: auto;
    height: auto;
    padding-top: 80px;
    /* Push content below navbar */
    align-items: flex-start;
  }

  .hero-bg-premium {
    padding-top: calc(80px + 30px);
    /* Navbar height (80px) + spacing */
    padding-bottom: 60px;
    align-items: flex-start;
    overflow: visible;
    min-height: auto;
    height: auto;
  }

  .hero-content-wrapper-t4h {
    gap: 20px;
    padding: 0 3% 20px;
    min-height: auto;
    overflow: visible;
  }

  .hero-bottom-section {
    margin-top: 0;
  }

  .hero-image-container-t4h {
    margin-top: -30px;
  }

  .hero-headline-top {
    align-items: center;
    text-align: center;
    padding-right: 0;
    margin-top: 0;
    padding-top: 0;
    padding-bottom: 15px;
    position: relative;
    z-index: 20;
    width: 100%;
  }

  .hero-headline-top .hero-wavy-line {
    margin: 0 auto 20px;
  }

  .hero-image-container-t4h .remote-image-t4h {
    max-height: 50vh;
    min-height: 350px;
    transform: scale(1.1);
  }

  .hero-headline-t4h {
    font-size: 32px;
    line-height: 1.3;
    text-align: center;
    margin: 0;
    padding: 0;
    width: 100%;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }

  .hero-subheadline-t4h {
    font-size: 14px;
    line-height: 1.65;
    max-width: 100%;
    text-align: center;
  }
}

@media (max-width: 576px) {
  .hero-bg-premium {
    padding-top: calc(20px);
    /* Navbar height (80px) + spacing */
    padding-bottom: 50px;
    align-items: center;
    min-height: auto;
    height: auto;
  }

  .hero-content-wrapper-t4h {
    gap: 10px;
    padding: 5px 3% 15px;
    min-height: calc(100vh - 120px);
  }

  .hero-bottom-section {
    margin-top: 0;
  }

  .hero-image-container-t4h {
    margin-top: -20px;
  }

  .hero-image-container-t4h .remote-image-t4h {
    min-height: 300px;
    transform: scale(1);
  }

  .hero-headline-top {
    align-items: center;
    text-align: center;
    padding-right: 0;
    margin-top: 25px;
    padding-top: 10px;
  }

  .hero-headline-top .hero-wavy-line {
    margin: 0 auto 20px;
  }

  .hero-headline-t4h {
    font-size: 30px;
    line-height: 1.2;
    text-align: center;
  }

  .hero-subheadline-t4h {
    font-size: 13px;
    line-height: 1.6;
    max-width: 100%;
    text-align: center;
  }

  .hero-cta-t4h {
    padding: 12px 24px;
    font-size: 14px;
  }
}

/* Tablet optimizations (768px - 1199px) */
@media (min-width: 768px) and (max-width: 1199px) {
  .remote-variants {
    padding: 60px 4%;
  }

  .variants-content h2 {
    font-size: 32px;
  }

  .design-features .features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

/* Premium Hero Section - Matching STB Style */
.premium-hero-section {
  position: relative;
  padding: 0;
  background: linear-gradient(180deg, #FFFFFF 0%, #F8F9FA 20%, #F5F5F7 40%, #F8F9FA 60%, #FFFFFF 100%);
  overflow: hidden;
  z-index: 5;
  width: 100%;
  min-height: 100vh;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

/* Premium gradient overlays */
.premium-hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(ellipse at 20% 30%, rgba(0, 113, 227, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 70%, rgba(0, 113, 227, 0.06) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 50%, rgba(0, 113, 227, 0.03) 0%, transparent 70%);
  pointer-events: none;
  z-index: 1;
  animation: subtlePulse 8s ease-in-out infinite;
}

.premium-hero-section::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.4) 0%, transparent 25%, transparent 75%, rgba(255, 255, 255, 0.4) 100%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.2) 0%, transparent 15%, transparent 85%, rgba(255, 255, 255, 0.2) 100%);
  pointer-events: none;
  z-index: 1;
}

@keyframes subtlePulse {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.85;
  }
}

.premium-hero-container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
  z-index: 3;
  padding: 0 5%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Two Column Layout for Premium Hero Section */
.premium-hero-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  align-items: center;
  width: 100%;
  max-width: 1600px;
  position: relative;
}

/* Premium Hero Image Wrapper */
.premium-hero-image-wrapper {
  position: absolute;
  left: -10%;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1;
  width: auto;
  max-width: none;
  pointer-events: none;
}

.premium-hero-image {
  width: auto;
  max-width: 560px;
  max-height: 80vh;
  min-width: 320px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 20px 60px rgba(0, 0, 0, 0.15)) drop-shadow(0 8px 24px rgba(0, 113, 227, 0.1));
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1), filter 0.5s ease;
  opacity: 0.9;
}

.premium-hero-image:hover {
  transform: scale(1.02);
  filter: drop-shadow(0 24px 72px rgba(0, 0, 0, 0.2)) drop-shadow(0 12px 32px rgba(0, 113, 227, 0.15));
}

/* Premium Hero Content Wrapper */
.premium-hero-content-wrapper {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  text-align: left;
  padding-left: 20px;
  position: relative;
  z-index: 10;
  max-width: 600px;
  margin-left: auto;
  margin-right: 0;
}

@media (max-width: 992px) {
  .premium-hero-content-wrapper {
    margin-left: auto;
    margin-right: auto;
    padding-left: 0;
  }
}

/* Premium Hero Content Wrapper Typography */
.premium-hero-content-wrapper .premium-headline {
  font-size: 56px;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: #000000;
  /* Apple deep black */
  margin: 0 0 28px 0;
  text-align: left;
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Inter', sans-serif;
}

.premium-hero-content-wrapper .premium-accent {
  color: #000000;
  /* Apple deep black */
  font-weight: 600;
}

.premium-hero-content-wrapper .premium-description {
  font-size: 18px;
  line-height: 1.75;
  color: #6E6E73;
  /* Apple medium gray */
  margin: 0;
  font-weight: 400;
  letter-spacing: 0.01em;
  max-width: 550px;
  text-align: justify;
}

/* Section Active States for New Layout - All sections visible by default */
.premium-hero-section .premium-hero-layout {
  opacity: 1;
  transform: translateY(0);
}

.premium-hero-section .premium-hero-image {
  opacity: 1;
  transform: scale(1);
}

/* Premium Background Shapes */
.premium-bg-shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.bg-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.4;
  animation: floatShape 20s ease-in-out infinite;
}

.bg-shape.shape-1 {
  width: 600px;
  height: 600px;
  top: -10%;
  left: -5%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.12), transparent);
  animation-delay: 0s;
  box-shadow: 0 0 120px rgba(255, 255, 255, 0.2);
}

.bg-shape.shape-2 {
  width: 500px;
  height: 500px;
  top: 30%;
  right: -8%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1), transparent);
  animation-delay: 3s;
  box-shadow: 0 0 100px rgba(255, 255, 255, 0.18);
}

.bg-shape.shape-3 {
  width: 450px;
  height: 450px;
  bottom: -5%;
  left: 20%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.08), transparent);
  animation-delay: 6s;
  box-shadow: 0 0 90px rgba(255, 255, 255, 0.15);
}

@keyframes floatShape {

  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }

  33% {
    transform: translate(30px, -30px) scale(1.1);
  }

  66% {
    transform: translate(-20px, 20px) scale(0.95);
  }
}

/* Responsive Styles for Premium Hero Layout */
@media (max-width: 1200px) {
  .premium-hero-layout {
    gap: 50px;
  }

  .premium-hero-content-wrapper .premium-headline {
    font-size: 48px;
    font-weight: 600;
    letter-spacing: -0.02em;
  }

  .premium-hero-content-wrapper .premium-description {
    font-size: 17px;
  }

  .premium-hero-image-wrapper {
    left: -3%;
  }

  .premium-hero-image {
    max-width: 480px;
    max-height: 75vh;
    min-width: 280px;
  }
}

@media (min-width: 1400px) {
  .premium-hero-image-wrapper {
    left: -8%;
  }

  .premium-hero-image {
    max-width: 640px;
    max-height: 85vh;
    min-width: 400px;
  }
}

@media (max-width: 992px) {
  .premium-hero-layout {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .premium-hero-image-wrapper {
    position: relative;
    left: auto;
    top: auto;
    transform: none;
    order: 1;
    width: 100%;
  }

  .premium-hero-content-wrapper {
    order: 2;
    align-items: center;
    text-align: center;
    padding-left: 0;
    margin-left: auto;
    margin-right: auto;
    max-width: 100%;
  }

  .premium-hero-content-wrapper .premium-headline {
    font-weight: 600;
    letter-spacing: -0.02em;
    text-align: center;
  }

  .premium-hero-content-wrapper .premium-description {
    text-align: center;
    max-width: 100%;
  }

  .premium-hero-image {
    max-width: 400px;
    max-height: 60vh;
    min-width: auto;
    width: 100%;
  }
}

@media (max-width: 768px) {
  .premium-hero-layout {
    gap: 35px;
  }

  .premium-hero-image-wrapper {
    position: relative;
    left: auto;
    top: auto;
    transform: none;
  }

  .premium-hero-image {
    opacity: 1;
    max-width: 100%;
    max-height: 50vh;
    min-width: auto;
    width: 100%;
  }

  .premium-hero-content-wrapper {
    margin-left: auto;
    margin-right: auto;
    max-width: 100%;
    padding-left: 0;
  }

  .premium-hero-content-wrapper .premium-headline {
    font-size: 36px;
    text-align: center;
  }

  .premium-hero-content-wrapper .premium-description {
    font-size: 16px;
    text-align: center;
  }
}

@media (max-width: 576px) {
  .premium-hero-content-wrapper .premium-headline {
    font-size: 28px;
    font-weight: 600;
    letter-spacing: -0.02em;
  }

  .premium-hero-content-wrapper .premium-description {
    font-size: 15px;
  }
}

/* Design Features Section */
.premium-features-section {
  position: relative;
  padding: 80px 0;
  background: #F5F5F7;
  overflow-y: hidden;
  overflow-x: hidden;
  z-index: 5;
  width: 100%;
  min-height: 100vh;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
}

.premium-features-section {
  opacity: 1 !important;
  transform: scale(1) !important;
  filter: blur(0) !important;
}

.premium-features-section .premium-container {
  opacity: 1;
  transform: translateY(0);
}

.premium-features-section::before {
  display: none;
}

.premium-features-section::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.2) 0%, transparent 30%, transparent 70%, rgba(255, 255, 255, 0.2) 100%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.1) 0%, transparent 20%, transparent 80%, rgba(255, 255, 255, 0.1) 100%);
  pointer-events: none;
  z-index: 1;
}

.premium-features-section .premium-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 5%;
}

.premium-features-section-header {
  text-align: center;
  margin-bottom: 60px;
  width: 100%;
  max-width: 1200px;
  padding-top: 0;
  margin-left: auto;
  margin-right: auto;
}

.premium-features-title {
  font-size: 42px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #1A1A1A;
  margin: 0 auto;
  padding-bottom: 24px;
  text-align: center;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.08),
    0 1px 3px rgba(0, 0, 0, 0.05);
  transition: opacity 0.6s cubic-bezier(0.25, 0.1, 0.25, 1),
    transform 0.6s cubic-bezier(0.25, 0.1, 0.25, 1);
  position: relative;
  display: inline-block;
  background: linear-gradient(135deg, #1A1A1A 0%, rgba(26, 26, 26, 0.95) 50%, #1A1A1A 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.premium-features-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, transparent, rgba(74, 124, 89, 0.6), transparent);
  border-radius: 2px;
}

.premium-features-section .premium-features-title {
  opacity: 1;
  transform: translateY(0);
}

/* Solutions Grid - Fan Remotes Style */
.solutions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Hide carousel on desktop, show grid */
@media (min-width: 769px) {
  .features-carousel-container {
    display: none !important;
  }

  .solutions-grid {
    display: grid !important;
  }
}

.solution-card {
  background: #fff;
  border-radius: 12px;
  padding: 40px 30px;
  position: relative;
  transition: all 0.3s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  z-index: 1;
  text-align: center;
}

.solution-card::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--primary-color);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.4s ease;
  z-index: -1;
}

.solution-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(59, 130, 246, 0.15);
}

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

.solution-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(59, 130, 246, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
  transition: all 0.3s ease;
}

.solution-icon i {
  color: var(--primary-color);
  font-size: 32px;
  transition: all 0.3s ease;
}

.solution-card:hover .solution-icon {
  background: var(--primary-color);
  transform: scale(1.1);
}

.solution-card:hover .solution-icon i {
  color: white;
}

.solution-card h3 {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 16px;
  color: #000000;
}

.solution-card p {
  color: #6B7280;
  font-size: 16px;
  line-height: 1.6;
}

.premium-features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  transition: opacity 0.6s cubic-bezier(0.25, 0.1, 0.25, 1),
    transform 0.6s cubic-bezier(0.25, 0.1, 0.25, 1);
  align-items: stretch;
  justify-items: center;
}

.premium-features-section .premium-features-grid {
  opacity: 1;
  transform: translateY(0);
}

.premium-feature-card {
  background: #FFFFFF;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-radius: 18px;
  padding: 24px;
  border: 1px solid #E5E5EA;
  box-shadow: rgba(0, 0, 0, 0.05) 0px 2px 8px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-align: center;
  position: relative;
  overflow: hidden;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  opacity: 1;
  transform: scale(1);
}

.premium-feature-card::before {
  display: none;
}

.premium-feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 56px rgba(0, 0, 0, 0.15),
    0 8px 24px rgba(0, 0, 0, 0.1),
    0 0 0 1px rgba(255, 255, 255, 0.6) inset,
    0 1px 0 rgba(0, 0, 0, 0.08);
  border-color: rgba(0, 0, 0, 0.12);
}

.premium-feature-card[data-animate="left"],
.premium-feature-card[data-animate="right"] {
  opacity: 1;
  transform: translateX(0) scale(1);
}

.premium-feature-card.animate-in {
  opacity: 1;
  transform: translateX(0) scale(1);
}

.feature-image-wrapper {
  width: 220px;
  height: 220px;
  margin: 0 auto 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 16px;
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  border: 1px solid #E5E5EA;
  box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.03);
  padding: 12px;
}

.feature-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  filter: drop-shadow(0 4px 16px rgba(0, 0, 0, 0.15));
}

.premium-feature-card:hover .feature-image {
  transform: scale(1.05);
}

.feature-title {
  font-size: 20px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: #000000;
  margin: 0 0 12px 0;
}

.feature-description {
  font-size: 15px;
  line-height: 1.6;
  color: #6E6E73;
  margin: 0;
  font-weight: 400;
}

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

.features-carousel-track {
  display: flex;
  gap: 20px;
  transition: transform 0.6s ease-in-out;
  will-change: transform;
  width: 100%;
}

.features-carousel-card {
  flex: 0 0 100%;
  min-width: 100%;
  width: 100%;
  box-sizing: border-box;
}

.features-carousel-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 10;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  flex-shrink: 0;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: auto;
}

.features-carousel-btn:hover {
  background: rgba(255, 255, 255, 1);
  transform: translateY(-50%) scale(1.08);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
}

.features-carousel-btn i {
  font-size: 18px;
  color: #1A1A1A;
  transition: color 0.3s ease;
}

.features-carousel-arrow-left {
  left: 12px;
}

.features-carousel-arrow-right {
  right: 12px;
}

@media (max-width: 1200px) {
  .premium-features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}

@media (max-width: 768px) {
  .premium-features-section {
    padding: 100px 0 120px;
    height: auto;
    min-height: auto;
  }

  .premium-features-grid {
    display: none;
  }

  .solutions-grid {
    display: grid;
    /* Show grid in vertical flow on mobile */
    grid-template-columns: 1fr;
    /* Single column for top-to-bottom flow */
    gap: 24px;
    max-width: 100%;
    margin: 40px auto 0;
    padding: 0 5%;
  }

  .solution-card {
    padding: 30px 20px;
    width: 100%;
  }

  .features-carousel-container {
    display: none;
    /* Hide carousel on mobile */
  }

  .premium-features-title {
    font-size: 32px;
  }
}

/* Power Supply Collection Section */
.stb-collection-section {
  position: relative;
  padding: 0;
  background: #FFFFFF;
  overflow: hidden;
  z-index: 5;
  width: 100%;
  min-height: 100vh;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  box-sizing: border-box;
  padding-top: calc(80px + 60px);
  /* Navbar height (80px) + extra spacing */
}

.stb-collection-section::before,
.stb-collection-section::after {
  display: none;
}

.collection-container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
  padding: 0 6%;
  padding-top: 0;
  opacity: 1;
  transform: translateY(0);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.collection-title {
  font-size: 40px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: #000000;
  margin: 0 auto 60px auto;
  padding-top: 0;
  padding-bottom: 0;
  text-align: center;
  text-shadow: none;
  transition: opacity 0.6s cubic-bezier(0.25, 0.1, 0.25, 1),
    transform 0.6s cubic-bezier(0.25, 0.1, 0.25, 1);
  position: relative;
  display: inline-block;
  background: none;
  -webkit-background-clip: unset;
  -webkit-text-fill-color: #000000;
  background-clip: unset;
}

.stb-collection-section .collection-title {
  opacity: 1;
  transform: translateY(0);
}

.carousel-container {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  margin: 0 auto;
  padding: 0 60px;
  cursor: grab;
  isolation: isolate;
}

.carousel-container:active {
  cursor: grabbing;
}

.carousel-container::before,
.carousel-container::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 100px;
  z-index: 6;
  pointer-events: none;
  transition: opacity 0.4s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.carousel-container::before {
  left: 0;
  background: linear-gradient(to right, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0.8) 30%, rgba(255, 255, 255, 0) 100%);
}

.carousel-container::after {
  right: 0;
  background: linear-gradient(to left, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0.8) 30%, rgba(255, 255, 255, 0) 100%);
}

.carousel-track {
  display: flex;
  gap: 24px;
  will-change: transform;
  backface-visibility: hidden;
  overflow: visible;
  padding: 20px 0;
  margin: 0;
  user-select: none;
  -webkit-user-select: none;
}

.carousel-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid #E5E5EA;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.22, 0.61, 0.36, 1);
  z-index: 7;
  box-shadow: rgba(0, 0, 0, 0.08) 0px 4px 16px;
  flex-shrink: 0;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: auto;
}

.carousel-btn:hover {
  background: rgba(255, 255, 255, 1);
  transform: translateY(-50%) scale(1.02);
  box-shadow: rgba(0, 0, 0, 0.12) 0px 8px 24px;
  border-color: rgba(0, 0, 0, 0.08);
}

.carousel-btn:active {
  transform: translateY(-50%) scale(0.98);
  box-shadow: rgba(0, 0, 0, 0.08) 0px 4px 12px;
}

.carousel-btn i {
  font-size: 18px;
  color: #1A1A1A;
  transition: color 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.carousel-btn:hover i {
  color: #1A1A1A;
  opacity: 0.8;
}

.carousel-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  transform: translateY(-50%);
}

.carousel-arrow-left {
  left: 0;
}

.carousel-arrow-right {
  right: 0;
}

.collection-card {
  flex-shrink: 0;
}

.carousel-card {
  flex: 0 0 auto;
  min-width: 300px;
  width: 300px;
  max-width: 300px;
  background: #FFFFFF;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-radius: 12px;
  padding: 20px;
  border: 1px solid #E5E5EA;
  box-shadow: rgba(0, 0, 0, 0.04) 0px 2px 8px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.carousel-card:hover {
  transform: translateY(-4px);
  box-shadow: rgba(0, 0, 0, 0.08) 0px 4px 16px;
  border-color: #D2D2D7;
}

.collection-card-image-wrapper {
  width: 100%;
  height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  position: relative;
  z-index: 2;
  background: #F5F5F7;
  border-radius: 8px;
  overflow: hidden;
  padding: 20px;
}

.collection-card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  filter: none;
}

/* Center 20W Power Supply image */
.power-20w-image {
  object-position: center center;
  object-fit: cover;
  width: 100%;
  height: 100%;
}

/* Style 20W Power Supply card image wrapper */
.power-20w-wrapper {
  background: #F5F5F7 !important;
  padding: 0 !important;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Remove padding from 25W Power Supply card image wrapper */
.power-25w-wrapper {
  padding: 0 !important;
}

/* Remove padding from 30W USB-A Power Supply card image wrapper */
.power-30w-usba-wrapper {
  padding: 0 !important;
}

/* Remove padding from 30W Premium Power Supply card image wrapper */
.power-30w-premium-wrapper {
  padding: 0 !important;
}

/* Remove padding from 65W Power Supply card image wrapper */
.power-65w-wrapper {
  padding: 0 !important;
}

/* Remove padding from 65W Dual Port Power Supply card image wrapper */
.power-65w-dual-wrapper {
  padding: 0 !important;
}

.collection-card:hover .collection-card-image {
  transform: scale(1.05);
}

.collection-card-content {
  position: relative;
  z-index: 2;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.collection-card-title {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0;
  color: #000000;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.collection-card-subtitle {
  font-size: 14px;
  line-height: 1.4;
  color: #6E6E73;
  margin: 0;
  font-weight: 400;
  letter-spacing: 0;
}

@media (max-width: 1200px) {
  .collection-title {
    font-size: 40px;
    margin-bottom: 60px;
  }

  .collection-card-image-wrapper {
    height: 300px;
  }

  .carousel-card {
    min-width: 280px;
    width: 280px;
    max-width: 280px;
    padding: 18px;
  }
}

@media (max-width: 768px) {
  .stb-collection-section {
    padding-top: calc(80px + 40px);
    /* Top padding for navbar + spacing */
    height: auto;
    min-height: auto;
  }

  .collection-title {
    font-size: 32px;
    margin-bottom: 50px;
  }

  .collection-card-image-wrapper {
    height: 260px;
  }
}

/* Power Supply Details Modal */
.remote-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10000;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  padding-top: calc(80px + 2rem);
  opacity: 0;
  transition: opacity 0.3s cubic-bezier(0.22, 0.61, 0.36, 1);
  overflow: hidden;
  touch-action: none;
}

.remote-modal.active {
  display: flex;
  opacity: 1;
}

.remote-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  opacity: 0;
  transition: opacity 0.4s cubic-bezier(0.22, 0.61, 0.36, 1);
  z-index: 1;
}

.remote-modal.active .remote-modal-backdrop {
  opacity: 1;
}

.remote-modal-content {
  position: relative;
  width: 100%;
  max-width: 1200px;
  max-height: 80vh;
  background: #FFFFFF;
  border-radius: 32px;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(255, 255, 255, 0.5) inset;
  overflow: hidden;
  transform: scale(0.9) translateY(20px);
  transition: transform 0.4s cubic-bezier(0.22, 0.61, 0.36, 1);
  display: flex;
  flex-direction: column;
  touch-action: pan-y;
  z-index: 2;
}

.remote-modal.active .remote-modal-content {
  transform: scale(1) translateY(0);
}

.remote-modal-close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.06);
  border: none;
  color: #1A1A1A;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  z-index: 10;
  transition: all 0.3s cubic-bezier(0.22, 0.61, 0.36, 1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.remote-modal-close:hover {
  background: rgba(0, 0, 0, 0.1);
  transform: scale(1.1) rotate(90deg);
}

.remote-modal-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  height: 100%;
  max-height: 80vh;
  overflow: hidden;
  -webkit-overflow-scrolling: touch;
  position: relative;
  z-index: 1;
}

.remote-modal-image-section {
  background: linear-gradient(180deg, #F5F5F7 0%, #E8E8ED 50%, #D1D1D6 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 30px 30px;
  position: sticky;
  top: 0;
  height: 100%;
  max-height: 80vh;
  overflow: hidden;
  flex-shrink: 0;
}

.remote-modal-image-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 50%, rgba(255, 255, 255, 0.4) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.modal-image-carousel {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  width: 100%;
  height: 100%;
  max-height: 100%;
  overflow: hidden;
}

.modal-image-main {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  min-height: 0;
  max-height: calc(100% - 110px);
}

.modal-remote-image {
  max-width: 100%;
  max-height: 100%;
  height: auto;
  object-fit: contain;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 24px 48px rgba(0, 0, 0, 0.2)) drop-shadow(0 8px 16px rgba(0, 0, 0, 0.1));
  transition: opacity 0.3s ease, transform 0.4s cubic-bezier(0.22, 0.61, 0.36, 1);
  opacity: 1;
}

.remote-modal.active .modal-remote-image {
  animation: modalImageFadeIn 0.6s cubic-bezier(0.22, 0.61, 0.36, 1) 0.2s both;
}

.modal-image-thumbnails {
  display: flex;
  gap: 12px;
  justify-content: center;
  align-items: center;
  flex-wrap: nowrap;
  max-width: 100%;
  padding: 0 16px 8px;
  position: relative;
  z-index: 5;
  flex-shrink: 0;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: thin;
  scrollbar-color: rgba(0, 0, 0, 0.2) transparent;
}

.modal-image-thumbnails::-webkit-scrollbar {
  height: 4px;
}

.modal-image-thumbnails::-webkit-scrollbar-track {
  background: transparent;
}

.modal-image-thumbnails::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.2);
  border-radius: 2px;
}

.modal-image-thumbnails::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 0, 0, 0.3);
}

.modal-thumbnail {
  width: 70px;
  height: 70px;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  background: rgba(255, 255, 255, 0.5);
  transition: all 0.3s cubic-bezier(0.22, 0.61, 0.36, 1);
  flex-shrink: 0;
}

.modal-thumbnail:hover {
  transform: scale(1.1);
  border-color: rgba(0, 0, 0, 0.2);
}

.modal-thumbnail.active {
  border-color: #0071E3;
  border-width: 3px;
  box-shadow: 0 4px 12px rgba(0, 113, 227, 0.3);
}

.modal-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.modal-carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(0, 0, 0, 0.1);
  color: #1A1A1A;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  z-index: 15;
  transition: all 0.3s cubic-bezier(0.22, 0.61, 0.36, 1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.modal-carousel-btn:hover {
  background: rgba(255, 255, 255, 1);
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.modal-carousel-btn:active {
  transform: translateY(-50%) scale(0.95);
}

.modal-carousel-prev {
  left: 20px;
}

.modal-carousel-next {
  right: 20px;
}

@keyframes modalImageFadeIn {
  from {
    opacity: 0;
    transform: scale(0.95) translateY(20px);
  }

  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.remote-modal-info-section {
  padding: 56px 48px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  overflow-y: auto;
  max-height: 80vh;
  position: relative;
  z-index: 1;
  background: #FFFFFF;
}

.modal-remote-title {
  font-size: 48px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.03em;
  color: #1A1A1A;
  margin: 0;
  background: linear-gradient(135deg, #1A1A1A 0%, rgba(26, 26, 26, 0.95) 50%, #1A1A1A 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s cubic-bezier(0.22, 0.61, 0.36, 1) 0.3s,
    transform 0.6s cubic-bezier(0.22, 0.61, 0.36, 1) 0.3s;
}

.remote-modal.active .modal-remote-title {
  opacity: 1;
  transform: translateY(0);
}

.modal-remote-subtitle {
  font-size: 20px;
  font-weight: 500;
  color: rgba(26, 26, 26, 0.7);
  margin: 0;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s cubic-bezier(0.22, 0.61, 0.36, 1) 0.4s,
    transform 0.6s cubic-bezier(0.22, 0.61, 0.36, 1) 0.4s;
}

.remote-modal.active .modal-remote-subtitle {
  opacity: 1;
  transform: translateY(0);
}

.modal-remote-description {
  font-size: 17px;
  line-height: 1.7;
  color: rgba(26, 26, 26, 0.8);
  margin: 0;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s cubic-bezier(0.22, 0.61, 0.36, 1) 0.5s,
    transform 0.6s cubic-bezier(0.22, 0.61, 0.36, 1) 0.5s;
}

.remote-modal.active .modal-remote-description {
  opacity: 1;
  transform: translateY(0);
}

.modal-remote-specs {
  margin-top: 8px;
}

.specs-title {
  font-size: 24px;
  font-weight: 600;
  color: #1A1A1A;
  margin: 0 0 24px 0;
  letter-spacing: -0.01em;
}

.specs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.spec-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px;
  background: rgba(0, 0, 0, 0.02);
  border-radius: 16px;
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: all 0.3s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.spec-item:hover {
  background: rgba(0, 0, 0, 0.04);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.spec-label {
  font-size: 13px;
  font-weight: 600;
  color: rgba(26, 26, 26, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.spec-value {
  font-size: 18px;
  font-weight: 500;
  color: #1A1A1A;
  line-height: 1.4;
}

/* Responsive styles for modal carousel */
@media (max-width: 768px) {
  .modal-image-carousel {
    gap: 12px;
  }

  .modal-image-main {
    max-height: calc(100% - 90px);
  }

  .modal-thumbnail {
    width: 60px;
    height: 60px;
  }

  .modal-carousel-btn {
    width: 36px;
    height: 36px;
    font-size: 14px;
  }

  .modal-carousel-prev {
    left: 10px;
  }

  .modal-carousel-next {
    right: 10px;
  }

  .modal-image-thumbnails {
    gap: 8px;
    padding: 8px 0;
  }

  .remote-modal-image-section {
    padding: 30px 20px 20px;
  }
}

@media (max-width: 480px) {
  .modal-image-main {
    max-height: calc(100% - 70px);
  }

  .modal-thumbnail {
    width: 50px;
    height: 50px;
  }

  .modal-carousel-btn {
    width: 32px;
    height: 32px;
    font-size: 12px;
  }

  .modal-image-thumbnails {
    gap: 6px;
  }

  .remote-modal-image-section {
    padding: 25px 15px 15px;
  }
}

/* Responsive Modal */
@media (max-width: 992px) {
  .remote-modal {
    padding: 1.5rem;
    padding-top: calc(80px + 1.5rem);
  }

  .remote-modal-content {
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-y;
  }

  .remote-modal-body {
    grid-template-columns: 1fr;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-y;
    max-height: calc(100vh - 120px);
  }

  .remote-modal-image-section {
    position: relative;
    max-height: 320px;
    flex-shrink: 0;
  }

  .remote-modal-info-section {
    max-height: none;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-y;
    flex: 1;
    min-height: 0;
  }
}

@media (max-width: 640px) {
  .remote-modal {
    padding: 1rem;
    padding-top: calc(80px + 1rem);
  }

  .remote-modal-content {
    max-height: 90vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-y;
  }

  .remote-modal-body {
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-y;
    max-height: calc(100vh - 100px);
  }

  .remote-modal-image-section {
    padding: 40px 24px;
    flex-shrink: 0;
  }

  .remote-modal-info-section {
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-y;
    flex: 1;
    min-height: 0;
    padding: 32px 24px;
  }

  .modal-remote-title {
    font-size: 28px;
  }

  .modal-remote-subtitle {
    font-size: 16px;
  }

  .modal-remote-description {
    font-size: 15px;
  }

  .specs-grid {
    grid-template-columns: 1fr;
  }
}

/* Our Clients Section */
.clients-section {
  position: relative;
  padding: 140px 0;
  background: linear-gradient(180deg, #FFFFFF 0%, #FAFAFA 50%, #FFFFFF 100%);
  overflow: hidden;
  z-index: 5;
  width: 100%;
}

.clients-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(ellipse at 20% 30%, rgba(0, 113, 227, 0.03) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 70%, rgba(0, 113, 227, 0.02) 0%, transparent 50%);
  pointer-events: none;
  z-index: 1;
}

.clients-section::after {
  display: none;
}

.clients-container {
  width: 100%;
  max-width: 1600px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
  padding: 0 5%;
}

.clients-header {
  text-align: center;
  margin-bottom: 80px;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.25, 0.1, 0.25, 1),
    transform 0.8s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.clients-section.section-active .clients-header {
  opacity: 1;
  transform: translateY(0);
}

.clients-title {
  font-size: 52px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.04em;
  color: #1A1A1A;
  margin: 0 0 24px 0;
  background: none;
  -webkit-background-clip: unset;
  -webkit-text-fill-color: #1A1A1A;
  background-clip: unset;
  text-shadow: none;
  position: relative;
  display: inline-block;
}

.clients-title::after {
  content: '';
  position: absolute;
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, transparent, #0071E3, transparent);
  border-radius: 2px;
}

.clients-subtitle {
  font-size: 20px;
  line-height: 1.6;
  color: #6E6E73;
  margin: 32px 0 0 0;
  font-weight: 400;
  letter-spacing: 0.01em;
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
}

.clients-logos-wrapper {
  width: 100%;
  overflow: hidden;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s cubic-bezier(0.25, 0.1, 0.25, 1) 0.2s,
    transform 1s cubic-bezier(0.25, 0.1, 0.25, 1) 0.2s;
}

.clients-section.section-active .clients-logos-wrapper {
  opacity: 1;
  transform: translateY(0);
}

.clients-logos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 28px;
  align-items: center;
  justify-items: center;
  padding: 50px 0;
}

.client-logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 120px;
  padding: 32px 28px;
  background: #FFFFFF;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 16px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  transition: all 0.4s cubic-bezier(0.22, 0.61, 0.36, 1);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(20px) scale(0.95);
  animation: fadeInUp 0.6s cubic-bezier(0.22, 0.61, 0.36, 1) forwards;
  box-shadow:
    0 2px 8px rgba(0, 0, 0, 0.04),
    0 1px 3px rgba(0, 0, 0, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.client-logo-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(0, 113, 227, 0.02) 0%, rgba(0, 113, 227, 0) 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 0;
}

.client-logo-item::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(0, 113, 227, 0.1) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 0;
}

.client-logo-item:nth-child(1) {
  animation-delay: 0.1s;
}

.client-logo-item:nth-child(2) {
  animation-delay: 0.15s;
}

.client-logo-item:nth-child(3) {
  animation-delay: 0.2s;
}

.client-logo-item:nth-child(4) {
  animation-delay: 0.25s;
}

.client-logo-item:nth-child(5) {
  animation-delay: 0.3s;
}

.client-logo-item:nth-child(6) {
  animation-delay: 0.35s;
}

.client-logo-item:nth-child(7) {
  animation-delay: 0.4s;
}

.client-logo-item:nth-child(8) {
  animation-delay: 0.45s;
}

.client-logo-item:nth-child(9) {
  animation-delay: 0.5s;
}

.client-logo-item:nth-child(10) {
  animation-delay: 0.55s;
}

.client-logo-item:nth-child(11) {
  animation-delay: 0.6s;
}

.client-logo-item:nth-child(12) {
  animation-delay: 0.65s;
}

.client-logo-item:hover {
  background: #FFFFFF;
  transform: translateY(-8px) scale(1.02);
  box-shadow:
    0 12px 32px rgba(0, 0, 0, 0.12),
    0 4px 12px rgba(0, 0, 0, 0.08),
    0 0 0 1px rgba(0, 113, 227, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 1);
  border-color: rgba(0, 113, 227, 0.15);
}

.client-logo-item:hover::before {
  opacity: 1;
}

.client-logo-item:hover::after {
  opacity: 1;
}

.client-logo {
  max-width: 100%;
  max-height: 40px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: none;
  opacity: 1.0;
  transition: all 0.4s cubic-bezier(0.22, 0.61, 0.36, 1);
  position: relative;
  z-index: 2;
  transform: scale(1);
}

.client-logo-item:hover .client-logo {
  filter: none;
  opacity: 1;
  transform: scale(1.1);
}

@media (max-width: 1200px) {
  .clients-section {
    padding: 100px 0;
  }

  .clients-title {
    font-size: 44px;
  }

  .clients-title::after {
    width: 50px;
    height: 2.5px;
  }

  .clients-subtitle {
    font-size: 18px;
  }

  .clients-header {
    margin-bottom: 70px;
  }

  .clients-logos-grid {
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 24px;
  }

  .client-logo-item {
    min-height: 100px;
    padding: 24px 20px;
  }

  .client-logo {
    max-height: 35px;
  }
}

@media (max-width: 768px) {
  .clients-section {
    padding: 80px 0;
  }

  .clients-title {
    font-size: 38px;
  }

  .clients-title::after {
    width: 50px;
    height: 2.5px;
    bottom: -10px;
  }

  .clients-subtitle {
    font-size: 17px;
  }

  .clients-logos-grid {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 20px;
    padding: 30px 0;
  }

  .client-logo-item {
    min-height: 100px;
    padding: 24px 20px;
  }

  .client-logo {
    max-height: 32px;
  }
}

/* Get in Touch Section */
/* CTA Section */
.cta {
  padding: 60px 0;
  background-color: var(--light-background);
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: auto;
}

.cta-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem;
}

.wavy-divider {
  margin: 30px 0;
  max-width: 100px;
}

.design-features {
  flex: 1;
  min-width: 300px;
}

.design-features h2 {
  font-size: 28px;
  font-weight: 600;
  color: var(--dark-color);
  margin-bottom: 30px;
  text-align: center;
}

.design-features .features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 25px;
}

.feature-circle {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.feature-circle img {
  width: 150px;
  height: 150px;
  object-fit: cover;
  border-radius: 50%;
  border: 6px solid #fff;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  margin-bottom: 15px;
  transition: transform 0.3s ease;
  background-color: #aaaaaacf;
}

.feature-circle:hover img {
  transform: scale(1.05);
}

.feature-circle h4 {
  font-size: 16px;
  font-weight: 500;
  color: var(--dark-color);
  max-width: 160px;
}

/* Media Queries for Remote Variants Section */
@media (max-width: 992px) {
  .variants-container {
    flex-direction: column;
  }

  .variants-content,
  .design-features {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .variants-content {
    text-align: center;
  }

  .variants-content h2 {
    text-align: center;
  }

  .variants-content p {
    text-align: justify;
  }
}

@media (max-width: 576px) {
  .remote-variants {
    padding: 60px 20px;
  }

  .variants-content {
    text-align: center;
  }

  .variants-content h2 {
    font-size: 28px;
    text-align: center;
  }

  .variants-content p {
    text-align: justify;
  }

  .design-features .features-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .feature-circle img {
    width: 120px;
    height: 120px;
  }
}

@media screen and (max-width: 768px) {
  .video-background {
    width: 100%;
  }
}

/* Add media query for large screens to make content more prominent */
@media (min-width: 1400px) {
  .ac-hero-content {
    max-width: 750px;
  }

  .ac-hero-content h1 {
    font-size: 58px;
    margin-bottom: 30px;
  }

  .ac-hero-content p {
    font-size: 20px;
    margin-bottom: 40px;
  }

  .hero-features {
    margin-bottom: 40px;
    gap: 20px;
  }

  .hero-feature-item {
    padding: 12px 20px;
  }

  .hero-feature-item i {
    font-size: 18px;
    margin-right: 12px;
  }

  .hero-feature-item span {
    font-size: 16px;
  }

  .btn.primary {
    padding: 14px 32px;
    font-size: 16px;
  }
}


/* Image Carousel Section */
.image-carousel-section {
  padding: 80px 5%;
  background-color: var(--background);
  position: relative;
  overflow: hidden;
}

.image-carousel-section .section-header {
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
  z-index: 1;
}

.image-carousel-section .section-header h2 {
  font-size: 36px;
  font-weight: 700;
  color: var(--dark-color);
  margin-bottom: 15px;
  line-height: 1.2;
}

.image-carousel-section .section-header p {
  font-size: 16px;
  color: var(--light-text);
  max-width: 600px;
  margin: 0 auto;
}

.carousel-container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}

.carousel-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  background-color: #f9fafb;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
  will-change: transform;
}

.carousel-slide {
  min-width: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px 20px;
  box-sizing: border-box;
}

.carousel-slide img {
  max-width: 100%;
  max-height: 500px;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  background-color: #ffffff;
  padding: 20px;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(255, 255, 255, 0.9);
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  color: var(--primary-color);
  font-size: 18px;
}

.carousel-btn:hover {
  background-color: var(--primary-color);
  color: white;
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 6px 20px rgba(31, 98, 204, 0.3);
}

.carousel-btn:active {
  transform: translateY(-50%) scale(0.95);
}

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

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

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.carousel-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: #d1d5db;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.carousel-dot:hover {
  background-color: var(--primary-light);
  transform: scale(1.2);
}

.carousel-dot.active {
  background-color: var(--primary-color);
  width: 32px;
  border-radius: 6px;
}

/* Responsive Design for Carousel */
@media (max-width: 992px) {
  .image-carousel-section {
    padding: 60px 4%;
  }

  .image-carousel-section .section-header h2 {
    font-size: 32px;
  }

  .carousel-slide {
    padding: 30px 15px;
  }

  .carousel-slide img {
    max-height: 400px;
  }

  .carousel-btn {
    width: 45px;
    height: 45px;
    font-size: 16px;
  }

  .carousel-btn-prev {
    left: 15px;
  }

  .carousel-btn-next {
    right: 15px;
  }
}

@media (max-width: 768px) {
  .image-carousel-section {
    padding: 50px 3%;
  }

  .image-carousel-section .section-header {
    margin-bottom: 2rem;
  }

  .image-carousel-section .section-header h2 {
    font-size: 28px;
  }

  .image-carousel-section .section-header p {
    font-size: 14px;
  }

  .carousel-slide {
    min-width: 100%;
    padding: 20px;
  }

  .carousel-slide img {
    max-height: 300px;
    padding: 15px;
  }

  .carousel-btn {
    width: 40px;
    height: 40px;
    font-size: 14px;
  }

  .carousel-btn-prev {
    left: 10px;
  }

  .carousel-btn-next {
    right: 10px;
  }

  .carousel-dots {
    margin-top: 20px;
    gap: 10px;
  }

  .carousel-dot {
    width: 10px;
    height: 10px;
  }

  .carousel-dot.active {
    width: 24px;
  }
}

@media (max-width: 576px) {
  .image-carousel-section {
    padding: 40px 2%;
  }

  .image-carousel-section .section-header h2 {
    font-size: 24px;
    margin-bottom: 10px;
  }

  .image-carousel-section .section-header p {
    font-size: 13px;
  }

  .carousel-slide {
    min-width: 100%;
    padding: 15px;
  }

  .carousel-slide img {
    max-height: 250px;
    padding: 10px;
  }

  .carousel-btn {
    width: 35px;
    height: 35px;
    font-size: 12px;
  }

  .carousel-btn-prev {
    left: 8px;
  }

  .carousel-btn-next {
    right: 8px;
  }

  .carousel-dots {
    margin-top: 15px;
    gap: 8px;
  }

  .carousel-dot {
    width: 8px;
    height: 8px;
  }

  .carousel-dot.active {
    width: 20px;
  }
}

@media (max-width: 480px) {
  .carousel-slide img {
    max-height: 200px;
  }

  .carousel-btn {
    width: 32px;
    height: 32px;
    font-size: 11px;
  }
}

/* Mobile Hero Image - Bottom to Top Animation */
.mobile-hero-image {
  display: none;
  /* Hidden on desktop by default */
  width: 100%;
  padding: 20px 0;
  text-align: center;
  overflow: hidden;
  margin: 20px 0;
}

.mobile-hero-image img {
  width: 100%;
  max-width: 400px;
  height: auto;
  object-fit: contain;
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

/* Mobile hero image animation - Now using in-view class */
.mobile-hero-image.animate img,
.mobile-hero-image.in-view img {
  opacity: 1;
  transform: translateY(0);
}

@keyframes slideUpFromBottom {
  from {
    opacity: 0;
    transform: translateY(50px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Show only on mobile devices */
@media (max-width: 768px) {
  .mobile-hero-image {
    display: block;
  }
}

/* Footer Styling - Match Home Page */
/* Only keep scroll-snap specific positioning, let global style.css handle the rest */
footer.footer.scroll-snap-section {
  padding-top: calc(80px + 2rem) !important;
  /* Navbar height (80px) + spacing */
}

@media (max-width: 768px) {
  footer.footer.scroll-snap-section {
    padding-top: calc(80px + 1.5rem) !important;
    /* Navbar height + reduced spacing on mobile */
  }
}

/* ============================================
   COMPREHENSIVE MOBILE RESPONSIVE ENHANCEMENTS
   ============================================ */

/* Prevent horizontal scroll on all devices */
body,
html {
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
}

/* Touch-friendly interactive elements */
@media (max-width: 768px) {

  /* Ensure touch targets are at least 44x44px */
  button,
  a,
  input,
  select,
  textarea,
  .carousel-btn,
  .modal-close-btn {
    min-height: 44px;
    min-width: 44px;
  }

  /* Prevent zoom on input focus (iOS) */
  input[type="text"],
  input[type="email"],
  input[type="tel"],
  textarea,
  select {
    font-size: 16px;
  }

  /* Better spacing for mobile */
  .section-header {
    padding: 0 1rem;
  }

  /* Improved carousel touch support */
  .carousel-track {
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
  }

  .carousel-card {
    scroll-snap-align: center;
  }

  /* Better modal spacing on mobile */
  .remote-modal-content {
    margin: 0.5rem;
    max-height: calc(100vh - 1rem);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-y;
  }

  .remote-modal-body {
    gap: 1rem;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-y;
    max-height: calc(100vh - 120px);
  }

  .remote-modal-info-section {
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-y;
    flex: 1;
    min-height: 0;
  }

  /* Improved image display */
  .collection-card-image-wrapper {
    min-height: 200px;
  }

  /* Better text readability */
  .collection-card-title {
    font-size: 15px;
  }

  .collection-card-subtitle {
    font-size: 13px;
  }

  /* Power Supply specific mobile improvements */
  .hero-content-wrapper-t4h {
    padding: 0 1rem;
  }
}

/* Extra small devices */
@media (max-width: 480px) {
  .collection-title {
    font-size: 28px;
  }

  .carousel-card {
    min-width: 260px;
    width: 260px;
  }

  .remote-modal {
    padding: 1rem;
    padding-top: calc(80px + 1rem);
  }

  .remote-modal-content {
    margin: 0.25rem;
    max-height: calc(100vh - 0.5rem);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-y;
  }

  .remote-modal-body {
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-y;
    max-height: calc(100vh - 60px);
  }

  .remote-modal-info-section {
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-y;
    flex: 1;
    min-height: 0;
  }

  .remote-modal-image-section,
  .remote-modal-info-section {
    padding: 1.5rem 1rem;
  }
}

/* Tablet optimizations */
@media (min-width: 769px) and (max-width: 1024px) {
  .collection-card-image-wrapper {
    height: 280px;
  }

  .carousel-card {
    min-width: 300px;
    width: 300px;
  }
}

@media (max-width: 768px) {
  .arrow-icon {
    font-size: 0.5rem !important;
  }

  .carousel-btn.carousel-arrow.carousel-arrow-left {
    width: 1rem !important;
    height: 1rem !important;
  }

  .carousel-btn.carousel-arrow.carousel-arrow-right {
    width: 1rem !important;
    height: 1rem !important;
  }
}

@media (max-width: 768px) {

  .carousel-container {
    overflow: hidden;
    position: relative;
  }

  .carousel-track {
    display: flex;
    gap: 20px;
    transition: transform 0.4s ease;
    will-change: transform;
  }
}
