body {
  margin: 0;
  font-family: 'PT Sans', sans-serif;
  background-color: #ffffff;
  color: #191919;
}

h1, h2 {
  font-family: 'Kumbh Sans', sans-serif;
}

/* === HERO SECTION === */
.hero {
  position: relative;
  height: 600px; /* was 600px — this gives room for the full form */
  overflow: visible; /* allows the form to extend beyond the image */
}

.hero-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: relative;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 2rem;
  padding: 3rem 2rem 2rem 2rem; /* top padding increased from 2rem to 3rem */
  max-width: 600px;
  z-index: 2;
}

.alp-logo {
  width: 50%;
  height: auto;
  object-fit: contain;
}

.hero-headline {
  font-size: 3rem;
  line-height: 1;
  color: #F5F749;
  margin-top: 1rem;
  font-weight: 700;
}

/* === FORM OVERLAY === */
.form-section {
  position: absolute;
  top: 46%; /* Moved up from 60% to 36% */
  left: 4rem;
  z-index: 3;
}

.lead-form {
  background: #ffffff;
  padding: 1rem 2rem 2rem 2rem; /* top reduced from 2rem to 1.25rem */
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  max-width: 600px;
}

.form-header {
  font-size: 1.5rem;
  color: #006B99;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1rem;
}

label {
  font-size: 0.95rem;
  display: flex;
  flex-direction: column;
  color: #191919;
}

input[type="text"],
input[type="email"] {
  background-color: #f1f2f2;
  color: #636466;
  padding: 0.75rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  margin-top: 0.25rem;
}

label.full-width {
  grid-column: span 2;
}

.required {
  color: red;
  margin-left: 4px;
}

.required-note {
  font-size: 0.85rem;
  margin-top: 0.5rem;
  color: #666;
}

button[type="submit"] {
  background-color: #00364D;
  color: #FFFFFF;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 999px; /* Make pill-shaped */
  cursor: pointer;
  font-weight: bold;
  font-size: 1rem; /* Match other buttons */
  transition: background-color 0.3s ease, color 0.3s ease;
  margin-top: 1rem;
}

button[type="submit"]:hover {
  background-color: #F5F749;
  color: #00364D;
}

.disclaimer {
  font-size: 0.8rem;
  color: #333;
  margin-top: 1rem;
}

.disclaimer a {
  color: #006B99;
  text-decoration: underline;
}

/* === PRODUCT OVERVIEW SECTION === */
.product-overview {
  margin-top: 8rem; /* was 5rem */
  padding: 4rem 2rem;
  background-color: #ffffff;
}

.product-grid {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 3rem;
  max-width: 1100px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.product-video {
  flex: 1 1 50%;
  max-width: 640px; /* Optional: Cap it */
}

.product-content {
  max-width: 500px;
  flex: 1 1 45%;
}

.product-content h2 {
  font-family: 'Kumbh Sans', sans-serif;
  font-size: 2rem;
  color: #006B99;
  margin-bottom: 1rem;
}

.product-content p {
  font-size: 1rem;
  line-height: 1.5;
  margin-bottom: 2rem;
}

.product-content a {
  color: #006B99;
  text-decoration: underline;
}

.product-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.product-buttons .button {
  display: inline-block;
  background-color: #00364D;
  color: #ffffff;
  text-decoration: none;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  font-weight: bold;
  transition: background-color 0.3s;
}

.product-buttons .button:hover {
  background-color: #F5F749;
  color: #00364D;
}

.responsive-video {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  height: 0;
  overflow: hidden;
  width: 100%;
  border-radius: 4px;
  background-color: #FFFFFF;
}

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

.features {
  background-color: #dcddde;
  padding: 4rem 2rem;
  text-align: center;
}

.features h2 {
  font-family: 'Kumbh Sans', sans-serif;
  font-size: 2rem;
  color: #00364D;
  margin-bottom: 3rem;
}

.feature-grid {
  display: flex;
  gap: 4rem;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
}

.feature-item {
  flex: 1 1 250px;
  max-width: 300px;
}

.feature-item img {
  width: 100px;
  height: 100px;
  margin-bottom: 1rem;
}

.feature-item h3 {
  font-family: 'Kumbh Sans', sans-serif;
  color: #006B99;
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.feature-item p {
  font-size: 1rem;
  color: #191919;
  line-height: 1.4;
}

/* === IN USE SECTION === */

.in-use {
  position: relative;
  background-image: url('../images/SC-In-Use.jpg');
  background-color: #00b3ff;
  background-size: cover;
  background-position: center;
  height: 600px;
  display: flex;
  align-items: center;
  padding: 2rem;
}

.in-use-overlay {
  max-width: 425px;
  color: #191919;
  padding-left: 4rem;
  z-index: 2;
}

.in-use-overlay h2 {
  font-family: 'Kumbh Sans', sans-serif;
  font-size: 2.25rem;
  font-weight: 700;
  color: #00364D;
  margin-bottom: 1rem;
}

.in-use-overlay p {
  font-size: 1rem;
  line-height: 1.5;
}

.in-use-mobile-img {
  display: none;
}

/* === IN USE RIGHT-ALIGN VARIANT === */
.in-use.right-align {
  position: relative;
  background-image: url('../images/SC-In-Use2.jpg');
  background-color: #00b3ff;
  background-size: cover;
  background-position: center;
  height: 600px;
  display: flex;
  align-items: center;
  padding: 2rem;
  flex-direction: row-reverse;
}

.in-use.right-align .in-use-overlay.right h2 {
  color: #00364D;
}

.in-use.right-align .in-use-overlay.right p {
  color: #191919;
}

.in-use-overlay.right {
  padding-left: 0;
  padding-right: 4rem;
}

/* === ACCESSORIES SECTION === */

.accessories-image {
  position: relative;
  padding: 5rem 10rem 5rem 10rem; /* top, right, bottom, left */
  background-color: #FFFFFF;
}

.accessories-image .fixed-width-image {
  width: 1640px;
  height: auto;
  display: block;
  max-width: 100%;
  border-radius: 4px;
}

.accessories-content {
  position: absolute;
  top: 50%;                  /* vertical center */
  left: 15rem;               /* space from the left */
  transform: translateY(-50%); /* perfect vertical centering */
  max-width: 450px;
  color: #ffffff;
  z-index: 2;
}

.accessories-content h2 {
  font-family: 'Kumbh Sans', sans-serif;
  font-size: 2.25rem;
  font-weight: 700;
  color: #F5F749;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.accessories-content h2 span {
  color: #F5F749;
}

.accessories-content p {
  font-size: 1rem;
  line-height: 1.5;
  color: #ffffff;
}

.accessories-content .product-buttons {
  margin-top: 1.5rem;
  display: flex;
  gap: 1rem;
}

.accessories-content .product-buttons .button {
  background-color: #ffffff;
  color: #00364D;
  padding: 0.75rem 1.5rem;
  font-weight: bold;
  border-radius: 2rem;
  text-decoration: none;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.accessories-content .product-buttons .button:hover {
  background-color: #F5F749;
  color: #00364D;
}

.fixed-width-image {
  width: 1640px;
  height: auto;
  display: block;
  max-width: 100%;
}

/* === FAQ SECTION === */

.faq-wrapper {
  background-color: #f1f2f2;
  width: 100%;
  padding: 4rem 0;
}

.faq-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.faq-section h2 {
  text-align: center;
  font-size: 2rem;
  color: #00364D;
  font-family: 'Kumbh Sans', sans-serif;
  margin-bottom: 3rem;
}

.faq-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}

.faq-column {
  flex: 1 1 48%;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.faq-item {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  padding: 1rem 1.5rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  cursor: pointer;
  width: 100%;
  box-sizing: border-box;
  transition: box-shadow 0.2s ease;
}

.faq-question {
  font-family: 'Kumbh Sans', sans-serif;
  font-size: 1.25rem;
  color: #006B99;
  margin: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-toggle i {
  color: #FFFFFF;
  background-color: #00364D;
  border-radius: 50%;
  width: 1.5rem;
  height: 1.5rem;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.faq-answer {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.4s ease;
  font-size: 1rem;
  color: #191919;
  line-height: 1.5;
  margin-top: 0.75rem;
}

.faq-item.active .faq-answer {
  max-height: 200px; /* adjust as needed */
}

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

/* Responsive */
@media (max-width: 768px) {
  .faq-grid {
    flex-direction: column;
  }

  .faq-column {
    flex: 1 1 100%;
  }
}

/* === ADDITIONAL RESOURCES SECTION === */
.additional-resources {
  padding: 0.125rem 2rem 5rem 2rem;
  background-color: #FFFFFF;
  text-align: center;
}

.additional-resources h2 {
  font-family: 'Kumbh Sans', sans-serif;
  font-size: 2rem;
  color: #00364D;
  margin-bottom: 2rem;
}

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

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

.resource-card {
  background-color: transparent;
  border-radius: 4px;
  padding: 1rem;
  text-align: center;
  flex: 0 0 33.3333%;
  box-sizing: border-box;
}

.resource-card img {
  width: 90%;
  height: auto;
  border-radius: 4px;
  margin-bottom: 0.25rem;
}

.resource-card h3 {
  font-family: 'Kumbh Sans', sans-serif;
  color: #006B99;
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.resource-card .button {
  display: inline-block;
  background-color: #00364D;
  color: #FFFFFF;
  padding: 0.75rem 1.5rem;
  font-weight: bold;
  border-radius: 2rem;
  text-decoration: none;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.resource-card .button:hover {
  background-color: #F5F749;
  color: #00364D;
}

/* === FOOTER === */

.site-footer {
  background-color: #dcddde;
  padding: 4rem 2rem;
}

.footer-content {
  display: flex;
  justify-content: flex-start;
  gap: 5rem; /* Adjust spacing between columns */
  padding: 4rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-left {
  flex: 1;
  min-width: 300px;
}

.footer-logo {
  max-width: 200px;
  margin-bottom: 1rem;
}

.footer-left p {
  margin: 0.5rem 0;
  line-height: 1.5;
}

.footer-left i {
  margin-right: 0.5rem;
  color: #00364D;
}

.footer-left a {
  color: #00364D;
  text-decoration: underline;
}

.footer-bottom {
  width: 100%;
  text-align: center;
  margin-top: 2rem;
  font-size: 0.9rem;
  color: #333;
  clear: both;
}

.footer-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}

.footer-item i {
  margin-top: 0.25rem;
  color: #00364D;
}

.footer-section h4 {
  font-size: 1.25rem;
  color: #006B99;
  margin-bottom: 0.5rem;
  font-family: 'Kumbh Sans', sans-serif;
}

.social-icons {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
}

.social-icons a {
  font-size: 1.2rem;
  color: #00364D;
  transition: color 0.3s ease;
}

.social-icons a:hover {
  color: #F5F749;
}

.footer-section p a {
  color: #00364D;
  text-decoration: underline;
  display: inline-block;
  margin: 0.5rem 0;
}


#scrollToTop {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background-color: #00364D;
  color: #FFFFFF;
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  font-size: 1.25rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
  z-index: 999;
}

#scrollToTop.show {
  opacity: 1;
  visibility: visible;
}

#scrollToTop:hover {
  background-color: #F5F749;
  color: #00364D;
}

/* === Airtable Iframe Overrides === */
.form-section iframe.airtable-embed {
  max-width: 700px; /* Try 750 or 800 if you want more width */
  width: 550px;
  height: 500px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}


/* === RESPONSIVE === */

@media (max-width: 768px) {
  /* Hero Section */
  .hero {
    height: auto;
  }

  .hero-overlay {
    position: static;
    padding: 1.5rem;
    background-color: #00364D;
    text-align: center;
  }

  .alp-logo {
    width: 60%;
    margin: 0 auto;
    display: block;
  }

  .hero-headline {
    font-size: 2rem;
    text-align: center;
    color: #F5F749;
    margin-top: 1rem;
  }

  /* Form Section */
  .form-section {
    position: static;
    padding: 1rem;
    margin-top: 1rem;
    margin-bottom: 0; /* Remove bottom margin */
  }

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

  label.full-width {
    grid-column: auto;
  }

  /* Hero Image Adjustments */
  picture {
    display: block;
    margin: 0;
    padding: 0;
  }

  .hero-bg {
    display: block;
    margin: 0;
    padding: 0;
  }

  /* Product Overview Section */
  .product-overview {
    padding-top: 0.5rem; /* Reduce top padding slightly */
    margin-top: 0; /* Remove top margin */
  }

  /* Product Grid (Mobile: Stack content) */
  .product-grid {
    flex-direction: column;
    gap: 1.5rem; /* Adjust gap between items */
  }

  .product-content {
    order: 1;
    text-align: center;
  }

  .product-video {
    order: 3;
    width: 100%;
    max-width: 100%;
    height: auto;
    margin-top: 1rem;
  }

  .product-buttons {
    order: 2;
    justify-content: center;
    margin-top: 1rem;
  }

  .responsive-video {
    width: 100%;
    height: auto;
  }  

/* === IN USE SECTION — Mobile Styles === */

.in-use:not(.right-align) {
  display: block;
  background: #00b3ff; /* Original section BG */
  height: auto;
  padding: 0;
  margin: 0;
}

.in-use.right-align {
  display: block;
  background: #00b3ff; /* New section BG */
  height: auto;
  padding: 0;
  margin: 0;
}

.in-use-mobile-img {
  display: block;
}

.in-use-mobile-img img {
  width: 100%;
  display: block;
  border-radius: 0;
}

.in-use:not(.right-align) .in-use-overlay,
.in-use.right-align .in-use-overlay {
  text-align: center;
  padding: 0rem 2rem 2rem 2rem;
  width: 100vw;
  max-width: 100vw;
  box-sizing: border-box;
}

.in-use:not(.right-align) .in-use-overlay {
  background-color: #00b3ff;
  color: #191919;
}

.in-use.right-align .in-use-overlay {
  background-color: #00b3ff;
  color: #191919;
}

.in-use:not(.right-align) .in-use-overlay h2 {
  color: #00364D;
  font-size: 2rem;
  margin-bottom: 1rem;
}

.in-use.right-align .in-use-overlay h2 {
  color: #00364D;
  font-size: 2rem;
  margin-bottom: 1rem;
}

.in-use-overlay p {
  font-size: 1rem;
  line-height: 1.5;
}

.in-use-mobile-img {
  display: block;
}

/* Accessories Section - Mobile */
.fixed-width-image {
  border-radius: 0 !important;
}

.accessories-image {
  padding: 0;
}

.accessories-content {
  position: static;
  transform: none;
  text-align: center;
  background-color: #00364D;
  margin: 0;
  padding: 0rem 2rem 2rem 2rem; /* top, right, bottom, left */
  width: 100vw;
  max-width: 100vw;
  box-sizing: border-box;
  overflow-x: hidden;
}

.accessories-content h2 {
  color: #F5F749;
  font-size: 2rem;
}

.accessories-content .product-buttons {
  justify-content: center;
  flex-wrap: wrap;
}

/* === ADDITIONAL RESOURCES SECTION === */
.additional-resources {
    padding: 2rem;
    text-align: center;
  }

  .carousel {
    display: block;
    width: 100%;
  }

  .carousel-track {
    display: block;
    margin-top: 1rem;
  }

  .resource-card {
    flex: 0 0 100%;
    margin-bottom: 1rem;
  }

  .resource-card img {
    width: 80%;
    max-width: 300px;
    height: auto;
    margin: 0 auto;
  }

  .carousel-nav {
    display: none;
  }
}

/* Responsive Footer */
@media (max-width: 900px) {
  .footer-content {
    display: flex !important;
    flex-direction: column !important;
    gap: 2rem !important;
    padding: 2rem 1rem !important;
    align-items: center !important;
    text-align: center !important;
  }
  .footer-left,
  .footer-section {
    width: 100% !important;
    text-align: center !important;
    min-width: 0 !important;
    margin: 0 auto !important;
  }
  .footer-item {
    justify-content: center !important;
  }
  .footer-item i {
    display: none !important;
  }
  .social-icons {
    justify-content: center !important;
  }
}


.carousel-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin-top: 2rem;
}

.carousel-prev,
.carousel-next {
  background-color: #00364D;
  color: #FFFFFF;
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  font-size: 1.25rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.carousel-prev:hover,
.carousel-next:hover {
  background-color: #F5F749;
  color: #00364D;
}

.carousel-nav-arrows {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 1.5rem;
  gap: 1rem;
}

/* === POP-UP OVERLAY & MODAL === */
.popup-overlay {
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: rgba(0,0,0,0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.popup-modal {
  background: #00364D;
  border: 1pt solid #FFFFFF;
  border-radius: 16px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.2);
  padding: 2.5rem 4rem 4rem 4rem; /*top, right, bottom, left */
  max-width: 1000px;
  max-height: 625px;
  width: 95vw;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  overflow-y: auto;
}

.popup-close {
  position: absolute;
  top: 1.25rem; right: 1.25rem;
  background: #00364D;
  border: none;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  color: #FFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  box-shadow: 0 2px 6px rgba(0,0,0,0.09);
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.popup-close:hover {
  background: #F5F749;
  color: #00364D;
}
.popup-close i {
  pointer-events: none;
}

/* === Single-column layout === */
.popup-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
}

.popup-right {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 0.5rem;
}

.popup-right img {
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: 12px;
    display: block;
}

.popup-left {
  width: 100%;
  text-align: center;
}

.popup-left h2 {
  font-family: 'Kumbh Sans', sans-serif;
  color: #F5F749;
  font-size: 2rem;
  margin-bottom: 1rem;
  margin-top: 0;
}

.popup-left p {
  color: #FFF;
  font-size: 1.08rem;
  margin-bottom: 1.5rem;
  margin-top: 0;
}

.popup-left .product-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 1rem;
}

.popup-left .button {
  background: #fff;
  color: #00364D;
  border-radius: 2rem;
  padding: 0.75rem 1.5rem;
  font-weight: bold;
  text-decoration: none;
  transition: background 0.3s, color 0.3s;
}
.popup-left .button:hover {
  background: #F5F749;
  color: #00364D;
}

/* Responsive for extra small screens */
@media (max-width: 700px) {
  .popup-modal {
    padding: 1.2rem 2rem 2.5rem 2rem;  /* top, right, bottom, left */
    width: 90vw;
    max-width: 90vw;
    min-width: 0;
    gap: 1.25rem;
    min-height: unset;
    box-sizing: border-box;
  }
  .popup-left h2 {
    font-size: 1.2rem;
  }
}

/* === Comparison Section === */

.comparison-section {
  background-color: #ffffff;
  padding: 4rem 2rem;
}

/* Updated slider styling with correct chevron directions */
.img-comp-slider {
  position: absolute;
  z-index: 9;
  cursor: ew-resize;
  width: 48px;
  height: 48px;
  background-color: #FFFFFF;
  border: 3px solid #FFFFFF;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  top: 50%;
  transform: translateY(-50%);
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.4);
  user-select: none;
}

/* Vertical line inside the slider that extends the full height */
.img-comp-slider::before {
  content: "";
  position: absolute;
  top: -100vh;
  bottom: -100vh;
  left: 50%;
  width: 2px;
  background-color: #FFFFFF;
  z-index: -1;
}


/* Replace with properly oriented left/right arrows */

.comparison-image {
  width: 1280px;
  height: auto;
  object-fit: cover;
  display: block;
}

/* Label over each image in comparison slider */
.img-label {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background-color: rgba(0, 54, 77, 0.8);
  color: #ffffff;
  padding: 0.25rem 0.75rem;
  font-size: 0.9rem;
  font-weight: bold;
  border-radius: 4px;
  z-index: 2;
}


/* Image Comparison Slider */
/* Fixed image comparison styling */
.img-comp-container {
  position: relative;
  height: 400px;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  overflow: hidden;
}

/* Both base and overlay image containers */
.img-comp-img {
  position: absolute;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

/* Make both images full-size and fixed */
.img-comp-img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Critical: This controls how the overlay is revealed */
.img-comp-overlay {
  clip-path: inset(0 0 0 50%); /* Initially show only the right 50% */
  z-index: 1;
}

.img-bottom-label {
  position: absolute;
  bottom: 0.75rem;
  font-family: 'Kumbh Sans', sans-serif;
  font-size: 1rem;
  font-weight: bold;
  color: #FFFFFF; /* white text */
  background: rgba(25, 25, 25, 0.65); /* #191919 with transparency */
  padding: 0.35rem 1rem;
  border-radius: 4px;
  z-index: 0; /* <-- key: sits under the overlay so it disappears */
  pointer-events: none;
}


.left-label {
  left: 1rem;
}

.right-label {
  right: 1rem;
}

/* Mobile responsive styles for image comparison */
@media (max-width: 768px) {
  .img-comp-container {
    height: 300px;
    margin-top: 1.5rem;
  }
  
.img-comp-slider {
  width: 36px;
  height: 36px;
  font-size: 1.25rem;
}

.img-comp-slider::before {
  top: -100vh;
  bottom: -100vh;
  width: 2px;
}

/* Comparison Section - Mobile */
.comparison-section .product-grid {
  display: flex;
  flex-direction: column;
  align-items: center; /* center everything horizontally */
  justify-content: center;
  gap: 2rem;
  text-align: center;
}

.comparison-section .product-content,
.comparison-section .product-video {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
  
  .comparison-section .product-content {
    order: 1;
    text-align: center;
    margin-bottom: 1rem;
  }
  
  .comparison-section .product-video {
    order: 2;
    width: 100%;
  }
 
.comparison-section .product-content {
  height: 400px; /* match slider height */
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Make sure the container maintains proper dimensions on mobile */
.img-comp-container {
    margin: 0 auto;
    width: 100%;
    max-width: 100%;
  }

@media (min-width: 769px) {
  .comparison-section {
    padding: 4rem 2rem 0.25rem 2rem; /* top, right, bottom, left */
  }
}