.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

#carouselExample,
.carousel-inner {
  height: calc(100vh - 131px);
}

.carousel-item {
  height: 100%;
}

.carousel-item img {
  height: 100%;
  object-fit: cover;
}

.carousel-control-next-icon,
.carousel-control-prev-icon {
  width: 3rem;
  height: 3rem;
}

.carousel-caption {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 80%;
  text-align: center;
  transform: translate(-50%, -50%);
  z-index: 2;

  h2 {
    font-size: 50px;
    font-weight: bold;
  }

  p {
    width: 70%;
    font-size: 25px;
  }
}

.section-title {
  font-size: 40px;
  font-weight: bold;

  .title-line {
    width: 140px;
    height: 3px;
    margin-top: 8px;
    background-color: #758db9;
    border-radius: 2px;
  }
}

.single-product-item {
  margin-bottom: 12px;
  background: #fff;
  border: 1px solid #f1f1f1;
  border-radius: 25px;
  box-shadow: 0 8px 8px 0 #e2e2e2 !important;
  overflow: hidden;

  .img-product {
    position: relative;
    height: 200px;
    overflow: hidden;

    img {
      width: 100%;
      height: 100%;
      object-fit: scale-down;
    }
  }

  .content-product {
    position: relative;
    padding: 25px;
    border-top: 1px solid #f1f1f1;

    h4 {
      display: block;
      height: 50px;
      margin-bottom: 6px;
      overflow: hidden;
      color: #323232;
      font-size: 17px;
      font-weight: 600;
      line-height: 25px;
      transition: 0.4s;
    }

    .nmb-1 {
      display: flex;
      align-items: center;
      justify-content: space-between;

      .read-more {
        display: inline-block;
        color: #758db9;
        font-size: 13px;
        font-weight: 700;
        line-height: 20px;
        border-bottom: 2px solid #758db9;
        transition: all 0.4s;
      }
    }
  }
}

.about-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 18px;
  line-height: 30px;
  text-align: justify;

  .name {
    font-size: 20px;
    font-weight: bold;
  }
}

.service-card {
  min-height: 360px;
  padding: 3em 2em 2em 3em;
  background-color: #fff;
  border-style: solid;
  border-width: 0 0 5px;
  border-color: #758db9;
  border-radius: 4px;
  box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.2);
  transition: 0.3s;

  &:hover {
    box-shadow: 0 0 20px 10px rgba(0, 0, 0, 0.15);
  }

  .icon-box {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    background-color: #758db91f;
    border-radius: 50%;

    img {
      width: 35px;
    }
  }

  h3 {
    margin-top: 15px;
    font-weight: bold;
    line-height: 2rem;
  }

  p {
    margin-bottom: 15px;
    color: #757783;
    line-height: 1.5rem;
  }

  a {
    color: #758db9;
    font-weight: 600;
  }
}

.contact-banner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 350px;
  background: url("../images/contact-banner.jpg") no-repeat center center;
  background-attachment: fixed;
  background-size: cover;

  .overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
  }

  .content {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 0 10px;
    color: white;
    text-align: center;
    z-index: 2;

    h2 {
      margin: 0;
      font-weight: bold;
    }

    .contact-btn {
      padding: 8px 20px;
      color: #fff;
      font-family: poppins-500;
      background-color: #758db9;
      border: none;
      border-radius: 10px;
      cursor: pointer;
      transition: 0.3s;

      &:hover {
        background-color: #5a6f99;
      }
    }
  }
}

@media only screen and (max-width: 1600px) {
  .service-card {
    min-height: 409px;

    h3 {
      font-size: 25px;
    }
  }

  .about-section {
    gap: 6px;
    font-size: 16px;
  }
}

@media only screen and (max-width: 1200px) {
  .carousel-caption {
    h2 {
      font-size: 35px;
    }

    p {
      font-size: 18px;
    }
  }

  .section-title {
    font-size: 30px;
  }

  .service-card {
    min-height: max-content;
    padding: 1.5rem;

    h3 {
      font-size: 22px;
    }

    p,
    a {
      font-size: 14px;
    }
  }

  .about-section {
    gap: 5px;
    font-size: 14px;

    .name {
      font-size: 18px;
    }
  }

  .contact-banner {
    p {
      font-size: 14px;
    }
  }
}

@media only screen and (max-width: 800px) {
  .carousel-caption {
    h2 {
      font-size: 25px;
    }

    p {
      width: 100%;
      font-size: 14px;
    }
  }

  .carousel-control-next-icon,
  .carousel-control-prev-icon {
    display: none;
  }

  #carouselExample,
  .carousel-inner {
    height: calc(100vh - 96px);
  }
}
