/** @format */
html, body {
  overflow-x: hidden;
}

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

#home::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../images/nsi/nsi-bg.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  z-index: -1;
}

#home .container {
  width: 100%;
  height: 100%;
  display: flex;
  gap: 120px;
}

#home .middle-content {
  margin-left: 0;
  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;
}

#safety {
  min-height: auto;
}

#safety .container {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

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

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

#safety .content-img {
  width: auto;
}

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

#section3::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: black;

  background-image: url("../images/nsi/nsi-bg-3.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  z-index: -1;
}

#section3 .container {
  height: 100%;
  display: flex;
  justify-content: space-between;
  flex-direction: column;
}

#section3 .left-content {
  width: 100%;
  margin: auto;
  position: relative;
  overflow: hidden;
  padding: 48px;
  border-radius: 16px;
}

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

#section3 .right-content {
  margin: auto;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

#section3 .right-content p {
  position: relative;
  overflow: hidden;
  padding: 48px;
}

#section3 .right-content p::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to left,
    rgba(255, 255, 255, 0.7) 10%,
    transparent 40%
  );
  border-radius: 16px;
  z-index: -1;
}

#section3 .nsi-container {
  display: flex;
  align-items: stretch;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
}

#section3 .nsi-card {
  width: 100%;
  display: flex;
  align-items: center;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  padding: 16px;
}

#section3 .nsi-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: var(--white-color);
  opacity: 0.4;
  border-radius: 16px;
  z-index: -1;
}

#section3 .nsi-card .description {
  margin-top: 16px;
}

#section3 .footer-content {
  margin-top: 16px;
  font-weight: 500;
  color: var(--light-blue-color);
  text-align: center;
}

#section4 {
  min-height: auto;
  height: auto;
  padding: 150px 20px 0 20px;
}

#section4 .main-content-two {
  flex-direction: column-reverse;
  height: 100%;
}

#section4 .main-content-two .left-content p {
  text-align: center;
  margin-top: 32%;
}

#section4 .main-content-two .right-content {
  width: 100%;
  align-self: flex-start;
}

#section4 .main-content-two .right-content h2.title {
  text-align: left;
}

#section4 .left-content .main-content {
  padding-top: 80px;
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 16px;
}

#section4 .left-content .item {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 16px;
}

#section4 .left-content .item.has-item {
  position: relative;
}

#section4 .left-content .item.has-item::before {
  content: "";
  height: 400px;
  width: 400px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: #000;
  opacity: 0.5;
  border-radius: 50%;
  z-index: -1;
}

#section4 .left-content .item-content-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 8px;
}

#section4 .left-content .item img {
  width: 80px;
  height: auto;
}

#section5 {
  padding: 0;
  overflow: hidden;
}

#section5 .container,
#section7 .container {
  height: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  /* overflow: hidden */
}

#section7 {
  width: 100%;
  height: 100%;
  margin-top: 120px;
  position: relative;
  overflow: hidden;
  z-index: 0;
}

#section7::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(
      rgba(165, 162, 162, 0.5),
      rgba(165, 162, 162, 0.5)
    ),
    url(../images/nsi/nsi-background.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  z-index: -1;
}

#section5 .frameless-img-1 {
  width: 800px;
  height: 100%;
  position: absolute;
  right: -220px;
  top: 50px;
  z-index: -1;
}

#section5 .frameless-img-2 {
  width: 680px;
  height: 100%;
  position: absolute;
  bottom: -500px;
  left: -180px;
  z-index: -1;
}

#section6 {
  min-height: 70vh;
  height: 100%;
}

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

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

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

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

#section7 h2 {
  color: var(--dark-color);
}

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

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

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

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

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

#section8 .show-images-bottom {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 24px;
}

.show-group-image-bottom {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

#section12 {
  overflow: hidden;
}

#section12 .right-content .main-content {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 16px;
}

#section12 .right-content .item .has-item {
  height: 390px;
  width: 390px;
}

#section12 .right-content .item {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 16px;
  position: relative;
}

#section12 .right-content .item.has-item {
  height: 390px;
  position: relative;
}

#section12 .right-content .item-content-group {
  position: absolute;
  top: 0;
  width: 300px;
  height: 300px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  border-radius: 50%;
  padding: 16px;
}

#section12 .right-content .item-content-group.right {
  right: 60px;
}

#section12 .right-content .item-content-group.left {
  left: 20px;
}

#section12 .item-content-group .floating-tag {
  position: absolute;
  transform: translate(-50%, -50%);
  z-index: 1;
  padding: 16px;
  white-space: nowrap;
}

#section12 .item-content-group .left-tag {
  left: 50%;
  top: 100%;
}
#section12 .item-content-group .right-tag {
  left: 50%;
}
#section12 .item-content-group p::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background-color: var(--primary-color);
  border-radius: 16px;
  opacity: 0.5;
  z-index: -1;
}

#section12 .main-content-two .right-content p.highlight {
  text-align: center;
  margin-top: 0;
}

#section13 p {
  margin-top: 60px;
  font-size: 1.25rem;
}

#section14 h5.p-header {
  width: 100%;
  font-size: 1.25rem;
}

#section14 .right-content {
  flex: none;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

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

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

  #safety .container {
    flex-direction: row;
    justify-content: space-between;
  }

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

  #section4 .main-content-two {
    flex-direction: row;
  }

  #section4 .left-content .main-content {
    padding-top: 80px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  #section4 .left-content .item.has-item::before {
    height: 300px;
    width: 300px;
  }

  #section3 .nsi-container {
    flex-wrap: nowrap;
  }

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

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

  #section8 img {
    width: auto;
  }

  #section8 .content {
    width: auto;
  }

  #section3 .left-content {
    width: auto;
  }

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

  #section12 .right-content .main-content {
    grid-template-columns: repeat(2, 1fr);
  }

  #section12 .item-content-group .left-tag {
    left: -35%;
    top: 50%;
  }

  #section12 .item-content-group .right-tag {
    top: 50%;
    left: auto;
    right: -105%;
  }

  #section12 .right-content .main-content > * {
    aspect-ratio: 1 / 1;
  }

  #section12 .right-content .item.has-item {
    height: auto;
  }

  #section12 .main-content-two .right-content p.highlight {
    margin-top: 10%;
  }

  #section14 .right-content {
    width: 30%;
  }

  #section3 .right-content p {
    padding: 16px;
    padding-left: 80px;
  }

  #section4 .main-content-two .right-content h2.title {
    text-align: right;
  }

  .show-group-image-bottom {
    flex-wrap: nowrap;
  }
}
