.hero__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  padding: 0;
}

.hero__div {
  position: absolute;
  top: 70%;
  left: 50%;
  transform: translate(-50%, -50%);
  /* Centers the hero content */
  color: var(--background);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero__title {
  line-height: 125%;
  background: -webkit-linear-gradient(left, var(--primary), var(--accent));
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin: 1.5rem 0;
  font-size: 4.21rem;
  /* Adjust margin */
}

.hero__subtitle {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 400;
  font-size: 28px;
  /* Adjust margin */
}

/* Hero Section */
.hero__section {
  position: relative;
  width: 100%;
  height: 100vh;
  /* Make the section take full viewport height */
  overflow: hidden;
}

/* Button */
.explore-btn {
  text-decoration: none;
  --arrow-width: 10px;
  --arrow-stroke: 2px;
  box-sizing: border-box;
  border: 0;
  border-radius: 50px;
  color: var(--text-50);
  padding: 1em 3em;
  background: var(--primary);
  display: flex;
  transition: 0.2s background;
  align-items: center;
  gap: 0.6em;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  
}

.explore-btn .arrow-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
}

.explore-btn .arrow {
  margin-top: 1px;
  width: var(--arrow-width);
  background: var(--primary);
  height: var(--arrow-stroke);
  position: relative;
  transition: 0.2s;
}

.explore-btn .arrow::before {
  content: "";
  box-sizing: border-box;
  position: absolute;
  border: solid var(--accent);
  border-width: 0 var(--arrow-stroke) var(--arrow-stroke) 0;
  display: inline-block;
  top: -3px;
  right: 3px;
  transition: 0.2s;
  padding: 3px;
  transform: rotate(-45deg);
}

.explore-btn:hover {
  background-color: var(--accent);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.explore-btn:hover .arrow {
  background: var(--primary);
}

.explore-btn:hover .arrow:before {
  border: solid var(--primary);
  border-width: 0 var(--arrow-stroke) var(--arrow-stroke) 0;
  right: 0;
}

.section__video {
  width: min(100% - 15px, 2560px);
  height: 100%;
  /* Maintain aspect ratio */
  border-radius: 10px;
  /* Optional: Add some border radius for rounded corners */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  /* Optional: Add a shadow for better appearance */
}

.nail_quality {
  padding-bottom: 8rem;
}

.nail_quality div {
  display: flex;
  padding-top: 4rem;
  justify-content: center;
}

.nail_quality img {
  flex: 1;
  max-width: 350px;
}

.section__list {
  display: flex;
  flex-direction: column;
  justify-content: center;
  list-style: none;
  counter-reset: counter;
  padding-left: 0px;
}

.section__list li {
  counter-increment: counter;
  display: flex;
  flex-direction: row;
  align-items: center;
  text-align: center;
  gap: 1rem;
  min-width: max-content;
  max-width: 200px;
}

/* Add a counter before each list item */
.section__list li::before {
  content: counter(counter);
  background: var(--primary);
  border-radius: 100%;
  color: white;
  text-align: center;
  line-height: 4rem;
  width: 4.4rem;
  height: 4.4rem;
  margin-bottom: 1rem;
  font-size: 1.777rem;
}

.section__list li div {
  display: flex;
  flex-direction: column;
  padding: 1.5rem 0rem;
  text-align: left;
}

.section__list li div h4 {
  padding-left: 1rem;
  padding-bottom: 1rem;
}

.section__list li div p {
  max-width: 400px;
  padding-left: 1rem;
  padding-bottom: 1rem;
}

/* Responsive styles */
@media screen and (max-width: 1184px) {
  .section {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 4.5rem;
    padding-left: 4rem;
    padding-right: 4rem;
  }

  .nail_quality {
    flex-wrap: wrap;
  }

  .nail_quality div {
    flex: 1;
  }

  .nail_quality img {
    width: 100%;
  }

  .section__list {
    flex: 1;
  }
}

@media screen and (max-width: 977px) {
  .nail_quality div {
    flex-direction: column;
  }

  .section__list li div p {
    max-width: 300px;
    padding-left: 1rem;
    padding-bottom: 1rem;
  }
}

@media screen and (max-width: 450px) {
  .section__list li div p {
    max-width: 200px;
    padding-left: 1rem;
    padding-bottom: 1rem;
  }

  .hero__title {
    font-size: 3rem;
  }
}

@media (min-width: 1920px) {

  .nail_quality > div{
    gap: 2rem;
  }

  .nail_quality img {
    max-width: 500px;
    gap: 0px;
  }

  .section__list li div p {
    max-width: 600px;
  }
}