/* Header SECTION */
.header {
  height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: top;
  margin-bottom: 8rem;
}

.header h1 {
  max-width: 94rem;
  width: 100%;
  text-align: center;
}

/* ABOUT SECTION */
.about {
  margin-bottom: 16rem;
}

.about__body {
  /* display: grid;
  grid-template-columns: 3fr 2fr;
  column-gap: 6rem; */

  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  column-gap: 6rem;

  padding: 0 4rem;
  margin-bottom: 3rem;
}

.about__gallery {
  height: 55rem;
  /* width: 70rem; */
}

.about__gallery img {
  object-fit: contain;
}

.about__info {
  align-self: center;
}

.about__more,
.client__more,
.solution__more {
  font-weight: 500;
  font-size: 2rem;
  line-height: 2.4rem;
  color: var(--color-green);
  display: none;
  align-items: center;
  gap: 1rem;
  padding: 0 1rem;
}

.about__more i,
.client__more i,
.solution__more i {
  transform: rotate(45deg);
}

/* CLIENT SECTION */
.client {
  margin-bottom: 16rem;
}

.client__body {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
  place-items: center;
  gap: 2rem;
  padding: 0 4rem;
}

.client__cart {
  /* max-width: 44rem; */
  width: 100%;
  height: 22.5rem;
  background-color: var(--color-bg);
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2rem;
  border-radius: 1rem;
  transition: var(--transition);
}

.client__cart:hover {
  border: 0.4px solid #76c04e;
  border-image: linear-gradient(
      to right,
      rgba(118, 192, 78, 0) 0%,
      #76c04e 48.46%,
      rgba(118, 192, 78, 0) 100%
    )
    1;
  border-image-slice: 1;
  border-image-repeat: stretch;
  border-image-outset: 0;
}

.client__cart-image {
  height: 12rem;
}

.client__cart-image img {
  object-fit: contain;
}

.client__cart a {
  position: absolute;
  bottom: 2rem;
  right: 3rem;
  transform: rotate(45deg);
  color: #fff;
  font-size: 2rem;
}

/* SERVICE STARTED */
.service .section__head {
  justify-content: flex-end;
}

.service__more {
  font-weight: 500;
  font-size: 2rem;
  line-height: 2.4rem;
  color: var(--color-green);
  align-items: center;
  gap: 1rem;
  display: flex;
}

.service__more i {
  transform: rotate(45deg);
}

.service__body {
  padding: 0 4rem;
  margin-bottom: 15rem;
}

.service__content {
  display: none;
  gap: 5rem;
  width: 70vw;
}

.service__left {
  border-right: 1px solid var(--color-white);
  padding-right: 5.5rem;
  width: 70%;
}

.service__right {
  display: flex;
  gap: 5rem;
  /* flex-wrap: wrap; */
}

.service__right ul {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  list-style: circle;
  width: 100%;
}

.service__cart {
  /* max-width: 45rem;
  width: 100%; */
  display: inline-block;
}

.service__cart-image {
  margin-bottom: 2rem;
}

.service__cart-image img {
  height: 31.5rem;
}

.service__cart-title {
  margin-bottom: 2.5rem;
  font-weight: 600;
  font-size: 2rem;
  line-height: 2.2rem;
}

.service__cart-description {
  margin-bottom: 2.5rem;
}

.slick-initialized .slick-slide {
  margin: 0 2rem 0 0;
}

.media__items .slick-dots {
  list-style: none;
  display: flex;
  justify-content: center;
  padding: 0;
  margin-top: 4rem;
}

.media__items .slick-dots li {
  width: 1rem;
  height: 1rem;
  border-radius: 5px;
  margin: 0 5px;
  background-color: #ffff;
}

.media__items .slick-dots li button {
  display: none;
}

.media__items .slick-dots li.slick-active {
  background-color: var(--color-green);
}

.media__items .custom-prev,
.media__items .custom-next {
  position: absolute;
  transform: translateY(-50%);
  width: 28.62px;
  height: 28.62px;
  background-color: var(--color-green);
  color: var(--color-black);
  border: none;
  border-radius: 50%;
  font-size: 1.6rem;
}

.media__items .custom-prev {
  top: 50%;
  right: 0%;
  z-index: 99;
}

.media__items .custom-next {
  top: 50%;
  left: 0%;
  z-index: 99;
}

/* SOLUTIONS SECTION */
.solution {
  margin-bottom: 12rem;
}

.solution__more {
  display: none;
}

.solution__item {
  margin: 0;
  margin-bottom: 2rem;
  position: relative;
}

.solution__item .solution__overlay {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)),
    rgba(118, 192, 78, 0.6);
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  padding: 3rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.solution__item:hover .solution__overlay {
  opacity: 1;
}

.solution__item-title {
  font-weight: 600;
  font-size: 2.4rem;
  line-height: 3rem;
}

.solution__item-more {
  font-weight: 500;
  font-size: 1.6rem;
  line-height: 2rem;
  color: var(--color-white);
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.solution__item-more i {
  transform: rotate(45deg);
  font-size: 1.4rem;
}

/* CONTACT SECTION */
.contact {
  margin-bottom: 6rem;
}

.contact .section__head {
  justify-content: center;
  margin-bottom: 6rem;
}

.contact__items {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(245px, 1fr));
  margin: 0 auto;
  max-width: 136rem;
  width: 100%;
  row-gap: 3rem;
  background: var(--color-bg);
  border-radius: 1rem;
  padding: 5.5rem 0rem;
}

.contact__body {
  display: flex;
  flex-direction: column;
  gap: 4rem;
  border-left: 0.5px solid var(--color-white);
  padding: 0 2.5rem;
  position: relative;
  height: 35rem;
}

.contact__body p,
.contact__body a {
  font-size: 1.5rem;
  color: var(--color-white);
}

.contact__item:first-child .contact__body {
  border: none;
}

.contact__item h5 {
  color: var(--color-green);
  margin-bottom: 4rem;
  /*margin-left: 2.5rem;*/
  text-align:center;
}

.contact__body-item {
  display: flex;
  gap: 2.8rem;
}

.contact__body-phones {
  display: flex;
  flex-direction: column;
}



.solution__items {
  /* display: grid; */
  column-count: 3;
  gap: 2rem;
  padding: 0 4rem;
}

.solution .section__head {
  margin-bottom: 4rem;
  margin-top: 10rem;
}

.solution__items-item {
  margin: 0;
  margin-bottom: 2rem;
}

.solution__items-item > img {
  grid-row: 1 / -1;
  grid-column: 1;
}

.solution__items-item {
  position: relative;
}


.main-contact-container{
    max-width:136rem;
    margin:0 auto;
    display:grid;
    grid-template-columns: repeat(auto-fit, minmax(245px, 1fr));
}

.contact__map {
    grid-column: 2/-1;
    grid-row: 1/1;
}

.main-contact{
    grid-row: 1/1;
    grid-column: 1/2;
}

/* RESPONSIVE DESIGN STARTED */

@media screen and (min-width: 1700px) {
  .about__gallery img {
    object-fit: cover;
  }
}

@media screen and (max-width: 1220px) {
  .contact__body {
    border-left: none;
  }

  .client__cart {
    height: 18rem;
  }
}

@media screen and (max-width: 1100px) {
  .about__body {
    grid-template-columns: 1fr 1fr;
    column-gap: 4rem;
  }
}

@media screen and (max-width: 912px) {
  .header h1 {
    font-size: 7rem;
    line-height: 8rem;
  }

  .about__body {
    grid-template-columns: 1fr;
    row-gap: 3rem;
  }

  .solution {
    margin-bottom: 9rem;
  }

  .solution__items {
    display: grid;
    padding: 0 1rem;
  }

  .client__cart {
    height: 12rem;
  }

  .client__cart a {
    bottom: 1rem;
    right: 2rem;
  }

  .about__gallery {
    height: auto;
  }

  .contact__body {
    height: auto;
  }

  .client__body {
    grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
  }
}

@media screen and (max-width: 768px) {
  .header {
    margin-bottom: 5.7rem;
  }

  .header h1 {
    font-size: 48px;
    line-height: 50px;
  }

  .about {
    margin-bottom: 6rem;
  }

  .about__body {
    padding: 0 1rem;
  }

  .about__gallery {
    justify-self: flex-start;
  }

  .about__more,
  .client__more,
  .solution__more {
    display: flex;
  }

  .client {
    margin-bottom: 6rem;
  }

  .client__body {
    padding: 0 1rem;
    margin-bottom: 3rem;
  }

  .contact {
    padding: 0 1rem;
  }

  .contact .section__head {
    justify-content: left;
    margin-bottom: 3.4rem;
  }

  .service__body {
    padding: 0 1rem;
    margin-bottom: 6rem;
  }

  .service__left {
    border: none;
    padding-right: 0;
  }

  .service__right {
    display: none;
  }

  .media__items .custom-prev {
    display: none !important;
  }

  .media__items .custom-next {
    display: none !important;
  }

}

@media screen and (max-width: 648px) {
  .contact__items {
    padding: 3rem 1rem;
  }
  .contact__body {
    gap: 2.5rem;
    padding: 2.5rem;
  }

  .contact__item h5 {
    margin-bottom: 3.3rem;
  }
}

@media screen and (max-width:530px){
    .contact__map {
        grid-column: 1/-1;
        grid-row: 1/1;
    }
    
    .main-contact{
        grid-row: 2/2;
        grid-column: 1/-1;
    }
}

@media screen and (max-width: 480px) {
  .header {
    height: 34rem;
  }

  .client__body {
    grid-template-columns: 1fr 1fr;
  }

  .client__cart a {
    bottom: 1rem;
    right: 1rem;
    font-size: 1.7rem;
  }

  .slick-initialized .slick-slide {
    margin: 0;
  }

  .service .section__head {
    justify-content: flex-start;
  }

  .contact__map {
    height: 24rem;
  }

  .contact__map iframe {
    height: 100%;
  }
  
   .solution__item-title {
    font-size: 1.6rem;
    line-height: 2rem;
  }
}

@media screen and (max-width: 380px) {
  .header h1 {
    font-size: 30px;
    line-height: 45px;
  }
}
