.section-home {
  min-height: 35vh;
  position: relative;
}

.section-home::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("./../assets/bg-1.jpg");
  background-size: cover;
  z-index: -1;
  transform: rotate(180deg);
}

.services {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  color: #fff;
  font-size: 30px;
  font-weight: 700;
}

.section-services {
  /* background-color: #F8F8F8; */
  padding: 50px 300px;

  /* background: aquamarine; */

  height: auto;
}


.service-heading {
    font-family: "Montserrat", sans-serif;
    font-weight: 700;
    font-size: 36px;
    color: #000;
    border-left: 6px solid #ff0336;
    padding-left: 20px;
    margin-bottom: 20px;

    /* Animation styles */
    /* position: relative; */
    
}

/* Keyframes for the slide-in effect */
@keyframes slide-in {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(0);
    }
}

.service-content {
  height: auto;
  margin: 50px 0px;

  overflow: hidden;
    position: relative;
}

.service-description {
  font-family: "Montserrat", sans-serif;
  font-size: 16px;
  font-weight: 500;
  color: #646464;
  margin-top: 10px;
  margin-bottom: 15px;
  line-height: 30px;

  text-align: justify;

  /* position: relative; */
  
}

@keyframes slide-in-paragraph {
    0% {
      transform: translateY(100%);
      opacity: 0;
    }
    100% {
      transform: translateY(0);
      opacity: 1;
    }
  }

.service-image {
  width: 50%;
}

.service-image img {
  max-width: 100%;
  height: 300px;
}

.box-2 {
  display: flex;
  justify-content: space-around;
  align-items: center;
  align-content: center;

  /* background-color: aqua; */

  padding: 0px;
  margin: 50px 0px ;
}

.box-2 div {
  height: auto;
  width: auto;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
  align-content: flex-start;

  /* background-color: chartreuse; */
}

.box-2 .heading {
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  align-items: center;
  align-content: center;

  /* background-color: coral; */

  width: 100%;

  padding: 10px 0px 20px 0px;
}

.box-2 .heading h3 {
  font-size: 18px;
  /* color: #4B5945; */
}

.box-2 .heading img {
  height: 40px;
  width: auto;

  margin-right: 20px;
}

.box-2 p {
  font-size: 15px;
  margin: 5px 0px;
  color: #646464;
  font-weight: 500;
}

@media only screen and (max-width: 1700px) {
  .section-services {
    padding-left: 50px;
    padding-right: 50px;
  }

  .service {
    width: 100%;
  }

  .service-content {
    height: auto;

    margin: 0px 0px 50px 0px;

    /* background-color: greenyellow; */
  }

  
.service-image img {
    max-width: 100%;
    height: 250px;
  }

  .box-2 {
  
    padding: 0px;
    margin: 30px 0px ;
  }

  .box-2 .heading {

    padding: 10px 0px 15px 0px;
  }

  .footer {
    padding-left: 50px;
    padding-right: 50px;
  }
}

@media only screen and (max-width: 950px) {
  .service-content {
    height: auto;
  }

  .service-heading {
    font-size: 24px;
  }

  .service-description {
    font-size: 12px;
    line-height: 20px;
    margin-top: 10px;
    margin-bottom: 0px;
  }

  .service-image img {
    max-width: 100%;
    height: 200px;
    max-width: 100%;
    /* height: 307px; */
  }

  .box-2 {

     /* background-color: aqua; */

    margin: 50px 0px;
    padding: 0px;
  }

  .box-2 .heading h3 {
    font-size: 14px;
    color: #4b5945;
  }

  .box-2 .heading img {
    height: 25px;
    width: auto;

    margin-right: 10px;
  }

  .box-2 p {
    font-size: 12px;
    margin: 5px 0px;
    color: #646464;
    font-weight: 500;
  }
}

@media only screen and (max-width: 850px) {
  .section-home {
    height: 25vh;
  }

  .section-services {
    width: 100%;
    padding: 20px;

    /* background-color: gold; */
  }

  .service-content {
    height: auto;

    /* text-align: center; */
    padding: 0;

    /* background-color: cornflowerblue; */
  }

  .service-heading {
    width: 100%;

    /* background-color: coral; */
  }

  .service-description {
    line-height: 24px;
    /* position: relative; */
  }

  .alt1 {
    left: 4%;
  }

  .box-2 {
    
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    align-content: center;


    /* padding: 0px; */
    /* margin: 0px; */
  }

  .box-2 div {
    height: auto;
    width: 90%;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    align-content: flex-start;

    /* background-color: chartreuse; */

    margin: 10px 0px;
  }

  .box-2 .heading {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    align-content: center;

    /* background-color: coral; */

    width: 100%;

    padding: 10px 10px 10px 0px;
  }

  .box-2 .service-image {
    display: flex;
    justify-content: center;
    align-items: center;
    align-content: center;

    /* background-color: darkcyan; */

    margin: 20px 0px;
  }

  .service-image img {
    max-width: 100%;
    height: 200px;
  }
}

@media only screen and (max-width: 500px) {
  .section-services {
    padding-left: 10px;
    padding-right: 10px;
    padding-top: 30px;
    height: auto;
  }

  .services-container {
    margin-top: 10px;
    height: auto;
  }

  .box-2 {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    align-content: center;

    /* background-color: aqua; */

  }
}


@media only screen and (max-width: 380px) {
    .service-description{
        line-height: 20px;
        font-size: 10px;
    }

    .view-more-btn {
        height: 35px;
        width: 125px;
        font-size: 10px;
    }

    .hamburger {
        position: relative;
        right: 6%;
    }

    .logo{
        position: relative;
        right: -50%;
        height: 50px;
    }

    .navbar{
        height: 80px;
    }

    .navbar.scrolled{
        height: 80px;
    }
}

@media only screen and (max-width: 300px) {
    .hamburger {
        position: relative;
        right: 72%;
    }

    .navbar.scrolled .hamburger{
        position: relative;
        right: 20%;
    }
}

@media only screen and (max-width: 280px) {
    .hamburger {
        position: relative;
        right: 120%;
    }

    .navbar.scrolled .hamburger{
        position: relative;
        right: 20%;
    }
} 
