/** @format */

html, body {
  overflow-x: hidden;
}

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

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: center;
}

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

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

#section2 {
  min-height: 70vh;
  height: auto;
}

#section2 .left-content {
  position: relative;
  overflow: hidden;
  padding: 32px;
  border-radius: 16px;
  align-self: flex-start;
}

#section2 .left-content::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: var(--primary-color);
  opacity: 0.8;
  z-index: -1;
}

#section2 h2.title {
  color: var(--white-color);
  margin: 0;
}

#section2 .right-content {
  position: relative;
  overflow: hidden;
  padding: 0 24px;
  border-radius: 16px;
  align-self: flex-end;
  color: var(--dark-color);
  font-size: 1.25rem;
}
#section2 .right-content ul {
  padding-left: 24px;
}

#section4 {
  min-height: auto;
}

#section4 .container {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
}

#section4 .container .content {
  color: var(--dark-color);
  display: flex;
  flex-direction: column;
  gap: 32px;
}

#section4 .container .content p {
  max-width: 400px;
}

#section4 .container .content ul {
  margin-left: 24px;
}
#section4 .container .content ul li,
#section4 .container .content .footer-content {
  font-size: 0.875rem;
  font-weight: 300;
}

#section4 .content-img {
  width: 100%;
}

#section5 .main-content-two {
  align-items: flex-start;
}

#section5 h2.title {
  margin-top: 0;
}

#section6 .main-content-two {
  align-items: flex-start;
  color: var(--dark-color);
}

#section6 {
  width: 100%;
  height: 100vh;
  position: relative;
  overflow: hidden;
  z-index: 0;
}

#section6::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  background-image: linear-gradient(
      rgba(165, 162, 162, 0.5),
      rgba(165, 162, 162, 0.5)
    ),
    url("../images/sgp/section6-bg.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  z-index: -1;
}

#section6 ul li {
  margin-left: 24px;
}

#section6 .footer-content {
  font-weight: 500;
}

#section7 .container {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 24px;
}

#section7 .content {
  width: 100%;
}

#section7 .main-content {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-direction: column;
  gap: 16px;
}

#section7 .container ul {
  color: var(--dark-color);
  padding-left: 24px;
}

#section7 .show-images {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

#section7 img {
  width: 100%;
  height: 260px;
  max-width: 600px;
}

#section7 .show-images-bottom {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  gap: 24px;
}

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

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

  #section2 {
    min-height: 70vh;
    height: 70vh;
  }

  #section4 .container {
    flex-direction: row;
  }

  #section4 .content-img {
    width: 565px;
  }

  #section6::before {
    width: 50%;
  }

  #section7 .container{
    align-items: flex-end;
  }

  #section7 .content {
    width: auto;
  }

  #section7 .main-content,
  #section7 .show-images-bottom {
    align-items: flex-end;
    flex-direction: row;
  }

  #section7 img {
    width: auto;
  }
}
