* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, Helvetica, sans-serif;
}

.primary-heading {
  font-size: 3rem;
  font-weight: 700;
}

.secondary-heading {
  font-size: 2rem;
  font-weight: 600;
}

.tertiary-heading {
  font-size: 1.4rem;
  font-weight: 600;
}

.basic-text {
  font-size: 1.2rem;
}

.add-relative {
  position: relative;
}

.add-ratio {
  aspect-ratio: 16/9;
  object-fit: cover;
}

.big-img {
  width: 100%;
  margin-bottom: -5px;
}

.small-img {
  display: none;
  width: 100%;
  margin-bottom: -5px;
}

.full-img {
  width: 100%;
  margin-bottom: -5px;
}

@media (max-width: 768px) {
  .big-img {
    display: none;
  }

  .small-img {
    display: block;
  }
}

.hero-text {
  width: 30%;
  margin: auto 0;
  top: 0;
  bottom: 0;
  height: fit-content;
  position: absolute;
  left: 8vw;
}

@media (max-width: 768px) {
  .hero-text {
    width: 80%;
    margin: 0 auto;
    left: 0;
    right: 0;
    top: 15vw;
  }
}

.text-hero {
  width: 80%;
  margin: 0 auto;
  text-align: center;
  padding: 3rem 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
}

@media (max-width: 576px) {
  .text-hero {
    text-align: left;
    align-items: flex-start;
  }
}

.thin {
  padding: 3rem 0;
}

.orange-line {
  height: 8px;
  width: 60px;
  background-color: orangered;
  border-radius: 13px;
}

.add-orange {
  color: orangered;
}

.thin-text {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  position: absolute;
  top: 0;
  bottom: 0;
  height: fit-content;
  left: 5vw;
  margin: auto 0;
  width: 30%;
}

@media (max-width: 768px) {
  .thin-text {
    width: 80%;
    margin: 0 auto;
    position: relative;
    padding: 3rem 0;
    left: 0;
  }
}

.power-cell {
  width: 90%;
  margin: 0 auto;
  padding-bottom: 3rem;
}

.power-head {
  width: 90%;
  margin: 0 auto;
  padding: 3rem 0;
}

.power-cell video {
  border-radius: 20px;
}

.power-text {
  position: absolute;
  left: 3vw;
  top: 3vw;
  width: 50%;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.vs-carousel-slide .power-text {
  left: 5vw;
  top: 5vw;
}

@media (max-width: 992px) {
  .vs-carousel-slide .power-text {
    width: 95%;
    margin: 0 auto;
    left: 0;
    position: relative;
    padding-bottom: 3rem;
  }
}

@media (max-width: 769px) {
  .power-text {
    width: 95%;
    margin: 0 auto;
    left: 0;
    position: relative;
    color: black !important;
  }
}

.sleep p {
  position: absolute;
  left: 3vw;
  bottom: 3vw;
  width: 50%;
}

@media (max-width: 768px) {
  .sleep p {
    width: 90%;
    margin: 0 auto;
    left: 0;
    right: 0;
    text-align: center;
    bottom: 5vw;
  }
}

.bedtime {
  width: 90%;
  margin: 0 auto;
  padding: 3rem 0;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.bedtime video {
  border-radius: 20px;
}

.bedtime-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  align-items: center;
}

.bedtime-cell {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

@media (max-width: 768px) {
  .bedtime-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .bedtime video {
    aspect-ratio: 1/1;
    object-fit: cover;
  }
}

.section-two {
  background-color: #29292e;
  color: white;
}

.ecg-cell {
  padding-top: 3rem;
}

.ecg-cell img {
  border-radius: 20px;
}

@media (max-width: 768px) {
  .ecg-cell .power-text {
    color: white !important;
  }
}

.section-two .vs-carousel {
  color: black !important;
}

@media (max-width: 992px) {
  .section-two .vs-carousel {
    color: white !important;
  }
}

.feels {
  border-radius: 100%;
  position: absolute;
  top: 42.5vw;
  width: 16vw;
  right: 32.3vw;
}

.time-cell {
  padding-bottom: 3rem;
}

.time-text1 {
  position: absolute;
  color: white;
  width: 40%;
  top: 13vw;
  left: 5vw;
}

.time-text2 {
  position: absolute;
  width: 40%;
  bottom: 5vw;
  left: 5vw;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

@media (max-width: 992px) {
  .time-text2 {
    position: relative;
    width: 90%;
    margin: 0 auto;
    padding: 2rem 0;
    top: 0;
    left: 0;
  }
}

.raise-text {
  position: absolute;
  width: 60%;
  left: 5vw;
  top: 5vw;
  color: white;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (max-width: 768px) {
  .raise-text {
    width: 80%;
    margin: 0 auto;
    top: auto;
    bottom: 25vw;
    left: 0;
    right: 0;
  }
}

@media (max-width: 576px) {
  .raise-text {
    bottom: 5vw;
  }
}

/* Carousel */

.vs-carousel {
  position: relative;
  overflow: hidden;
  max-width: 100%;
  margin: 0 auto;
  border-radius: 1rem;
  width: 80%;
  padding: 0 0 3rem;
}

.vs-carousel video,
.vs-carousel img {
  border-radius: 12px;
}

.vs-carousel-track {
  display: flex;
  transition: transform 0.5s ease;
  will-change: transform;
}

.vs-carousel-slide {
  flex: 0 0 100%; /* each slide takes full width of carousel */
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.vs-carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #00000080;
  color: white;
  border: none;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 50%;
  cursor: pointer;
  z-index: 2;
}

.vs-carousel-btn.prev {
  left: 1rem;
}

.vs-carousel-btn.next {
  right: 1rem;
}

.vs-carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.8rem;
  margin-top: 1rem;
}

.vs-carousel-dots button {
  width: 0.6rem;
  height: 0.6rem;
  border-radius: 50%;
  border: none;
  background: #ccc;
  cursor: pointer;
}

.vs-carousel-dots button.active {
  background: #333;
}

.carousel-hero {
  width: 80%;
  padding: 3rem 0 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .vs-carousel-btn {
    display: none;
  }

  .vs-carousel {
    width: 90%;
    margin: 0 auto;
  }
}

.specs-carousel-text {
  position: absolute;
  left: 3vw;
  top: 2vw;
  width: 80%;
}

.add-white {
  color: white;
}
