/* ===============================
   Base Styles
   =============================== */
:root {
  font-family: Inter, sans-serif;
  font-feature-settings: 'liga' 1, 'calt' 1;
}

@supports (font-variation-settings: normal) {
  :root {
    font-family: InterVariable, sans-serif;
  }
}

.site-wrapper {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

html,
body {
  background-color: #ffa344;
  margin: 0;
  padding: 0;
  height: 100%;
  overflow-x: hidden;
}

.section {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.background-image {
  width: 100%;
  height: auto;
  display: block;
  z-index: 1;
  position: relative;
}

.content {
  position: absolute;
  bottom: 5vh;
  left: 0;
  width: 100%;
}

/* ===============================
   Video / Carousell Sections
   =============================== */

.section-4 {
  background: url("assets/Slice_4.svg") no-repeat top center;
  background-size: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding-bottom: 5vh;
  min-height: 2100px;
  box-sizing: border-box;
  position: relative;
}

.section-9 {
  background: url("assets/Slice_9.svg") no-repeat top center;
  background-size: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding-bottom: 5vh;
  min-height: 2600px;
  box-sizing: border-box;
  position: relative;
}

.section-10 {
  background: url("assets/Slice_10.svg") no-repeat top;
  background-size: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  flex: 1;
  padding-bottom: 5vh;
  min-height: 1450px;
}

.section-13 {
  background: url("assets/Slice_13.svg") no-repeat top;
  background-size: 100%;
  position: relative;
  /* Required for absolute positioning of children */
  min-height: 1550px;
}

/* ===============================
   Video Styles
   =============================== */

.video-wrapper {
  width: 100%;
  position: relative;
  align-items: center;
  border-radius: 12px;
  min-width: 880px;
  aspect-ratio: 10 / 18;
  margin-bottom: 200px;
}

.video-wrapper video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
}

.video-wrapper-2 {
  position: relative;
  border-radius: 12px;
  aspect-ratio: 16 / 9;
  margin-bottom: 620px;
}

.video-wrapper-2 video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
}

/* ===============================
   Carousel 1
   =============================== */
.carousel-wrapper {
  width: 100%;
  max-width: 600px;
  max-height:1500px;
  aspect-ratio: 9 / 16;
  margin: 350px auto 0 auto;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  background: #fff;
  touch-action: pan-y;
  position: relative;
}

.carousel-track {
  display: flex;
  height: 100%;
  transition: transform 0.5s ease-in-out;
}

.carousel-slide {
  min-width: 100%;
  height: 100%;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.carousel-buttons {
  position: absolute;
  bottom: 10px;
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 0 15px;
  box-sizing: border-box;
}

.carousel-buttons .arrow {
  background: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  padding: 8px 12px;
  font-size: 20px;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s;
}

.carousel-buttons .arrow:hover {
  background: rgba(0, 0, 0, 0.8);
}

/* ===============================
   Carousel 2
   =============================== */
.carousell-wrapper-2 {
  position: absolute;
  top: 300px;
  left: 50%;
  transform: translateX(-50%);
  overflow: hidden;
  border-radius: 15px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  background-color: white;
  width: 50%;
  /* Use percentage of parent container */
  max-width: 1600px;
  /* Maximum width */
  min-width: 800px;
  /* Minimum width */
  z-index: 10;
}

.carousel-2 {
  display: flex;
  transition: transform 0.5s ease-in-out;
  /* No fixed height - will adapt to SVG size */
}

.slide-2 {
  min-width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  /* No padding to ensure exact SVG size */
}

.slide-2 img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.carousel-btn-2 {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(255, 255, 255, 0.7);
  color: #333;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  z-index: 10;
  transition: background-color 0.3s;
}

.carousel-btn-2:hover {
  background-color: rgba(255, 255, 255, 0.9);
}

.prev-btn-2 {
  left: 10px;
}

.next-btn-2 {
  right: 10px;
}

.carousel-indicators-2 {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}

.indicator-2 {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: rgba(0, 0, 0, 0.3);
  cursor: pointer;
  transition: background-color 0.3s;
}

.indicator-2.active {
  background-color: rgba(0, 0, 0, 0.7);
  transform: scale(1.2);
}

/* ===============================
   Responsive Media Queries
   =============================== */

/* Large Desktops (1200px and up) */
@media (min-width: 1200px) {
  .site-wrapper {
    max-width: 1100px;
  }

  .section-4 {
    min-height: 2550px;
  }

  .section-13 {
    min-height: 1900px;
  }

  .video-wrapper {
    max-width: 700px;
  }

  .video-wrapper-2 {
    max-width: 700px;
    margin-top: 320px;
    min-width: 800px;
  }

  .carousel-wrapper {
    max-width: 900px;
  }

  .carousell-wrapper-2 {
    width: 100%;
    min-width: 950px;
    margin-top: 50px;
  }
}

/* Desktop and Laptop (992px to 1199px) */
@media (max-width: 1199px) {
  .site-wrapper {
    max-width: 900px;
  }

  .section-4 {
    min-height: 1800px;
  }

  .section-9 {
    min-height: 2100px;
  }

  .section-10 {
    min-height: 1300px;
  }

  .section-13 {
    min-height: 1400px;
  }

  .carousell-wrapper-2 {
    width: 60%;
    min-width: 700px;
  }
}

/* Tablets (768px to 991px) */
@media (max-width: 991px) {
  .site-wrapper {
    max-width: 90%;
  }

  .section-4 {
    min-height: 1850px;
  }

  .section-9 {
    min-height: 2300px;
  }

  .section-10 {
    min-height: 1500px;
  }

  .section-13 {
    min-height: 1400px;
  }

  .video-wrapper {
    max-width: 400px;
    margin-bottom: 120px;
  }

  .video-wrapper-2 {
    max-width: 540px;
    margin-bottom: 30px;
  }

  .carousel-wrapper {
    max-width: 750px;
    max-height: 1200px;
    margin-top: 300px;
  }

  .carousell-wrapper-2 {
    width: 70%;
    min-width: 750px;
    top: 250px;
  }

  .carousel-btn-2 {
    width: 35px;
    height: 35px;
    font-size: 16px;
  }
}

/* Large Mobile to Small Tablets (576px to 767px) */
@media (max-width: 767px) {
  .site-wrapper {
    max-width: 95%;
  }

  .section-4 {
    min-height: 1500px;
  }

  .section-9 {
    min-height: 1400px;
  }

  .section-10 {
    min-height: 900px;
  }

  .section-13 {
    min-height: 1200px;
  }

  .video-wrapper {
    max-width: 400px;
    margin-bottom: 300px;
  }

  .video-wrapper-2 {
    max-width: 350px;
    margin-bottom: 200px;
  }

  .carousel-wrapper {
    max-width: 400px;
    margin-top: 150px;
  }

  .carousell-wrapper-2 {
    width: 80%;
    min-width: 600px;
    top: 200px;
  }

  .carousel-btn-2 {
    width: 30px;
    height: 30px;
    font-size: 14px;
  }

  .carousel-indicators-2 {
    bottom: 5px;
  }

  .indicator-2 {
    width: 8px;
    height: 8px;
  }
}

/* Mobile Devices (575px and down) */
@media (max-width: 575px) {
  .site-wrapper {
    max-width: 100%;
  }

  .section-4 {
    min-height: 1200px;
  }

  .section-9 {
    min-height: 1080px;
  }

  .section-10 {
    min-height: 700px;
  }

  .section-13 {
    min-height: 680px;
  }

  .video-wrapper {
    max-width: 90%;
    margin-bottom: 200px;
  }

  .video-wrapper-2 {
    max-width: 60%;
    margin-bottom: 220px;
  }

  .carousel-wrapper {
    max-width: 90%;
    max-height: 800px;
    margin-bottom: 120px;
  }

  .carousell-wrapper-2 {
    width: 90%;
    /* Remove min-width constraint for mobile */
    max-width: 400px;
    top: 150px;
  }

  .carousel-btn-2 {
    width: 28px;
    height: 28px;
    font-size: 12px;
  }

  .carousel-buttons .arrow {
    padding: 6px 10px;
    font-size: 16px;
  }
}

@media only screen and (min-width: 390px) and (max-width: 430px) {
  .section-4 {
    min-height: 1500px;
  }

  .section-9 {
    min-height: 1750px;
  }
  .section-10 {
    min-height: 1200px;
  }
  .section-13 {
    min-height: 1100px;
  }

  .video-wrapper {
    max-width: 70%;
    min-width: 500px;
    margin-bottom: 140px;
  }

  .video-wrapper-2 {
    min-width:500px;
    margin-bottom: 380px;
  }

  .carousel-wrapper {
    max-width: 80%;
    min-height: 840px;
    margin-top: 200px;
  }

  .carousell-wrapper-2 {
    width: 100%;
    min-width: 560px;
    /* Remove min-width constraint for mobile */
    margin-top: 55px;
  }

  .carousel-btn-2 {
    width: 28px;
    height: 28px;
    font-size: 12px;
  }

  .carousel-buttons .arrow {
    padding: 6px 10px;
    font-size: 16px;
  }
}

@media only screen and (min-width: 390px) and (max-width: 410px) {
  .section-4 {
    min-height: 1350px;
  }

  .section-9 {
    min-height: 1600px;
  }

  .section-13 {
    min-height: 1000px;
  }

  .video-wrapper {
    aspect-ratio: 8 / 13;
    margin-bottom: 70px;
    padding: 0 20px;
  }

  .video-wrapper-2 {
    min-width: 440px;
    margin-bottom: 350px;
    aspect-ratio: 16/9;
  }

  .carousel-wrapper {
    max-width: 80%;
    min-height: 800px;
    margin-top: 120px;
  }

  .carousell-wrapper-2 {
    width: 90%;
    min-width: 480px;
    /* Remove min-width constraint for mobile */
    top: 100px;
  }

  .carousel-btn-2 {
    width: 28px;
    height: 28px;
    font-size: 12px;
  }

  .carousel-buttons .arrow {
    padding: 6px 10px;
    font-size: 16px;
  }  
}

/* Extra Small Mobile Devices (375px and down) */
@media (max-width: 375px) {
  .section-4 {
    min-height: 870px;
  }

  .section-9 {
    min-height: 1050px;
  }

  .section-10 {
    min-height: 600px;
  }

  .section-13 {
    min-height: 650px;
  }

  .video-wrapper {
    margin-bottom: 50px;
  }

  .video-wrapper-2 {
    margin-bottom: 230px;
  }

  .carousel-wrapper {
    margin-top: 80px;
  }

  .carousell-wrapper-2 {
    width: 90%;
    min-width: 240px;
    /* Remove min-width constraint for mobile */
    max-width: 320px;
    top: 150px;
  }

  .carousel-btn-2 {
    width: 25px;
    height: 25px;
    font-size: 10px;
  }
}