/** @format */

html, body {
  overflow-x: hidden;
}

section#home {
  width: 100%;
  height: auto;
  margin-top: 60px;
  position: relative;
  overflow: hidden;
  z-index: 0;
}

#home .video-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

#home .video-overlay {
  position: absolute;
  inset: 0;
  background: rgba(165, 162, 162, 0.5); /* Tinted overlay */
  z-index: -1;
}

#home .container {
  position: relative;
  z-index: 1;
}

section#home .container {
  width: 100%;
  height: 100%;
  display: flex;

  gap: 120px;
}

#home .middle-content {
  flex-grow: 1;
  gap: 16px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

#home .middle-content h1.title {
  font-size: 4rem;
  font-weight: 500;
  margin-bottom: 60px;
}

#home .middle-content p {
  font-size: 1.25rem;
}

.inner-btn {
  width: fit-content;
  padding: 8px 32px;
  background: var(--inner-primary);
  color: var(--white-color);
  display: inline-block;
  align-items: center;
  justify-content: center;
  border-radius: 32px;
}

#section2 .left-conten,
#section3 .left-content,
#section4 .left-content,
#section5 .left-content,
#section7 .left-content,
#section8 .left-content,
#section9 .left-content {
  align-self: flex-start;
}

#section2 p {
  text-align: justify;
  max-width: 450px;
}

#section2 ul.triangle-bullet,
#section3 ul.triangle-bullet {
  padding-left: 0;
}

#section2 .right-content .main-content {
  padding-top: 80px;
  display: grid;
  justify-content: center;
  grid-template-columns: repeat(2, minmax(0, 200px));
  gap: 4px;
}

#section3 .right-content {
  padding-top: 32px;
}

#section3 ul.triangle-bullet {
  margin-top: 24px;
}

#section4 .right-content table tr td,
#section5 .right-content table tr td {
  color: var(--dark-color);
  text-align: left;
}

#section6 .content-img {
  max-width: 800px;
  text-align: center;
  margin: auto;
}

#section5 .main-content-two,
#section8 .main-content-two {
  flex-direction: column;
}

#section8 .main-content-two .left-content,
#section8 h2.title {
  text-align: right;
  width: 100%;
}

#section5 .left-content {
  text-align: left;
  width: 100%;
}

#section8 .right-content .content-img img:nth-of-type(even) {
  margin: 10px 0;
}

section:nth-of-type(odd) {
  background-color: #f7f7f7;
}

@media (min-width: 61rem) {
  section#home {
    height: calc(100vh - 120px);
    margin-top: 120px;
  }

  #home .middle-content {
    margin-left: 140px;
    justify-content: center;
  }

  #section5 .main-content-two,
  #section8 .main-content-two {
    flex-direction: row-reverse;
  }

  #section8 .right-content .content-img img:nth-of-type(even) {
    margin-left: 48px;
  }
}
