.main-section {
  width: 100%;
}

html {
  scroll-behavior: smooth;
}

/***************navebar*******************/
.nave-hm1 {
  display: flex;
  width: 100%;
  position: absolute;
}

.navebar {
  width: 100%;
  display: flex;
  justify-content: space-around;
  background-color: transparent;
  padding: 20px;
}

.navebar img {
  height: 60px;
  width: 130px;
}

.nav-list {
  display: flex;
  list-style-type: none;
  gap: 30px;
  margin-right: 25%;
}

.nav-list a {
  text-decoration: none;
  color: #005653;
  font-family: poppins;
}

.logos-hm1 {
  display: flex;
  gap: 20px;
}

.logo-hm1 {
  border-radius: 50%;
  border: 5px solid #005653;
  height: 22px;
  width: 22px;
  background: #005653;
}

.next-hm1 button {
  background-color: #005653;
  border-radius: 10px;
  border: none;
  height: 30px;
  width: 70px;
}

.next-hm1 a {
  color: white;
  text-decoration: none;
}

/************body1*****************/
.body1-hm1 {
  width: 100%;
  display: flex;
}

/******************partone**********************/
.part-one {
  width: 50%;
  height: 600px;
  background-color: #cffae8;
  background: linear-gradient(to top, #adf2d5, transparent);
}

.text-hm1 {
  padding: 100px;
}

.text-hm1 h1 {
  font-family: Poppins-bold;
  font-size: 50px;
  line-height: 60px;
  color: #000000;
}

.text-hm1 p {
  font-family: poppins;
  font-size: 19px;
  font-weight: 400;
  line-height: 33px;
  margin-top: 30px;
}

.button-hm1 {
  background-color: #01DC82;
  border-radius: 20px;
  border: none;
  width: 22%;
  height: 35px;
  margin-top: 30px;
}

.button-hm1 a {
  color: white;
  text-decoration: none;
  font-family: poppins;
}

/******************partwo*********************/
.part-two {
  width: 50%;
}

/**********************************body2**************************************/
.body2-hm1 {
  display: flex;
  width: 100%;
}

.image1-hm1 {
  width: 50%;
  padding: 50px;
}

.aboutus-hm1 {
  width: 50%;
  padding: 80px;
}

.aboutus-hm1 h1 {
  font-family: poppins;
  font-size: 50px;
  font-weight: 600;
  line-height: 104px;
}

.aboutus-hm1 p {
  font-family: poppins;
  font-size: 16px;
  font-weight: 400;
  line-height: 27px;
}

/**************************************body3***********************************/
.body3-hm1 {
  max-height: 600px;
  width: 100%;
}

.sec3-hm1 {
  background-color: #005653;
  min-height: 500px;
}

.bacimg-hm1 {
  position: relative;
  min-height: 500px;
  z-index: 1;
}

.bacimg-hm1::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: url('./images/lines22.png') no-repeat center center;
  background-size: cover;
  opacity: 0.1;
  /* 10% opacity */
  z-index: -1;
}

.whymitra-hm1 {
  width: 100%;
}

.why-sec1 {
  display: flex;
  justify-content: space-between;
}

.why-sec2 {
  display: flex;
  justify-content: space-between;
}

.whymitra-hml img {
  opacity: 1 !important;
}

.whymitra-hm1 h1 {
  font-family: Poppins;
  color: white;
  font-size: 40px;
  text-align: center;
  padding-top: 60px;
}

.img-why img {
  max-width: 60px;
  height: auto;
  margin-bottom: 10px;
}

.img-why {
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  align-items: center;
  padding: 15px;
}

.para-why {
  color: white;
  font-family: poppins;
  font-size: 15px;
  text-align: center;
  line-height: 1.4;
}

.why-sec12 {
  padding: 100px;
  margin-left: 15%;
  margin-right: 15%;
  margin-top: -55px;
}

/*********************************body4******************************/

.body4-hm1 {
  width: 100%;
}

.all-services {
  align-items: center;
  justify-content: center;
  gap: 29px;
  display: grid;
  grid-template-columns: auto auto auto;
}

.body4-hm1 h1 {
  font-family: poppins;
  font-size: 40px;
  line-height: 100%;
  font-weight: 600;
  text-align: center;
  padding: 40px;
}

.img-service {
  height: auto;
  max-width: 50px;
  padding: 60px;
  padding-top: 0%
}

.services-hm1 {
  box-shadow: 1px 1px 16px rgba(0, 0, 0, 0.183);
  height: 150px;
  width: 180px;
  padding: 20px;
  text-align: center;
  border-radius: 2%;
}

.services-hm1 h6 {
  font-family: poppins;
  font-size: 15px;
}

.services-hm1 p {
  font-family: poppins;
  font-size: 11px;
  color: #666666;
}

.text-service {
  margin-top: -40px;
}

.sec-grid {
  display: flex;
  justify-content: center;
  gap: 29px;
  margin-top: 50px;
}

.service-section {
  display: flex;
  width: 100%;
}

.first-body4 {
  width: 60%;
}

.img-body4 {
  padding: 50px;
}

.img-body4 img {
  height: 500px;
  width: 500px;
}

/*************************body5************************/
.body5-hm1 {
  background-image: url('./images/greenbar.png');
  width: 100%;
  height: 120px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.cities-hm1 {
  display: flex;
  justify-content: center;
  padding-top: 40px;
}

.button5 {
  color: white;
  background-color: #000000;
  width: 100px;
  height: 40px;
  font-family: poppins;
  border-radius: 5px;
}

.button5 img {
  width: 20px;
  height: auto;
}

.head-hm1 {
  font-family: Poppins;
  font-size: 25px;
  font-weight: 600;
  padding-right: 30%;
}

/***********************body6*************************/
.body6-hm1 {
  background-image: url('./images/connect.png');
  width: 100%;
  height: 600px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  justify-content: right;
  align-items: center;
}

.last-hm1 {
  display: flex;
  flex-direction: column;
}

.left-right {
  display: flex;
  justify-content: space-between;
}

textarea {
  width: 99%;
  height: 100px;
  border-radius: 3px;
}

.left-hm1 input {
  border: none;
  width: 200px;
  height: 30px;
  border-radius: 3px;
}

.right-hm1 input {
  border: none;
  width: 200px;
  height: 30px;
  border-radius: 3px;
}

.form-hm1 {
  background-color: rgba(0, 86, 83, 0.8);
  color: white;
  font-family: Poppins;
  font-size: 15px;
  width: 550px;
  height: 500px;
  margin-right: 9%;
}

.form-hm1 h1 {
  font-size: 45px;
  margin-bottom: 15px;
}

.button1-hm1 {
  background-color: #01DC82;
  border: none;
  border-radius: 20px;
  height: 35px;
  width: 100px;
}

.button1-hm1 a {
  color: white;
  text-decoration: none;
  font-family: poppins;
  font-size: 15px;
}

.form-content {
  padding: 50px;
}

/**************footer****************/
.body7-hm1 {
  background-color: #000000;
  width: 100%;
  height: 180px;
}

.flogos-hm1 {
  display: flex;
  justify-content: center;
  gap: 10px;
  padding-top: 40px;
}

.flogo-hm1 {
  height: 50px;
  width: 50px;
}

.fpara-hm1 {
  color: white;
  font-family: Poppins;
  font-size: 16px;
  text-align: center;
  margin-top: 15px;
}

.hamburger {
  display: none;
  font-size: 28px;
  cursor: pointer;
}

/***********************MEDIA**********************/
/* Phones */
@media (max-width: 576px) {

  /* Hamburger icon default hidden */
  .hamburger {
    display: none;
    font-size: 28px;
    cursor: pointer;
    color: #005653;
  }

  .hamburger {
    display: block;
  }

  .nav-list {
    display: none;
    flex-direction: column;
    background-color: #fff;
    position: absolute;
    top: 80px;
    /* adjust based on logo height */
    width: 40%;
    text-align: center;
    z-index: 1000;
    padding: 10px 0;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
  }

  .nav-list.show {
    display: flex;
  }

  .logos-hm1 {
    display: none;
    /* Hide icons and next button in mobile for clarity */
  }

  .navebar {
    align-items: center;
    gap: 15px;
  }

  .logos-hm1 {
    justify-content: center;
  }

  .next-hm1 button {
    width: 100px;
    height: 35px;
  }

  .body1-hm1 {
    flex-direction: column;
  }

  .part-one,
  .part-two {
    width: 100%;
  }

  .text-hm1 {
    padding: 30px;
  }

  .text-hm1 h1 {
    font-size: 30px;
    line-height: 40px;
    margin-top: 100px;
  }

  .text-hm1 p {
    font-size: 14px;
    line-height: 24px;
  }

  .button-hm1 {
    width: 60%;
  }

  .image-hm1 img {
    height: auto;
    width: 100%;
  }

  .body2-hm1 {
    flex-direction: column;
  }

  .image1-hm1,
  .aboutus-hm1 {
    width: 90%;
    padding: 20px;
  }

  .aboutus-hm1 h1 {
    font-size: 30px;
    line-height: 50px;
  }

  .aboutus-hm1 p {
    font-size: 14px;
    line-height: 22px;
  }

  .why-sec1,
  .why-sec2 {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }

  .why-sec12 {
    padding: 30px;
    margin: 0;
  }

  .all-services {
    grid-template-columns: auto;
  }

  .sec-grid {
    flex-direction: column;
    gap: 20px;
    align-items: center;
  }

  .service-section {
    flex-direction: column;
  }

  .first-body4,
  .second-body4 {
    width: 100%;
  }

  .img-body4 img {
    width: 100%;
    height: auto;
  }

  .cities-hm1 {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .head-hm1 {
    padding-right: 0;
    text-align: center;
  }

  .form-hm1 {
    width: 80%;
    height: 350px;
    margin: auto;
  }

  .left-hm1 input {
    height: 20px;
    width: 100px;
  }

  .right-hm1 input {
    height: 20px;
    width: 100px;
  }

  .form-content {
    padding: 20px;
  }

  .last-hm1 {
    height: 80px;
  }

  .form-hm1 h1 {
    font-size: 30px;
    text-align: center;
  }


  textarea {
    width: 100%;
  }

  .footer {
    flex-direction: column;
  }

  .fpara-hm1 {
    font-size: 12px;
  }

  .why-sec1,
  .why-sec2 {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .why-sec12 {
    padding: 20px;
    margin: 0;
    display: grid;
    grid-template-columns: auto auto;
  }

  .img-why {
    width: 80%;
    max-width: 250px;
    padding: 10px;
  }

  .para-why {
    font-size: 14px;
    line-height: 1.5;
  }

  .whymitra-hm1 h1 {
    font-size: 26px;
    padding-top: 30px;
  }

  .sec3-hm1 {
    padding-bottom: 150px;
  }

}

/***************tab************************/
@media screen and (min-width: 577px) and (max-width: 768px) {

  body,
  html {
    overflow-x: hidden;
  }

  .hamburger {
    display: none;
  }

  .logos-hm1 {
    justify-content: center;
    gap: 10px;
  }

  .next-hm1 {
    margin-top: 10px;
  }

  .part-one,
  .part-two {
    width: 100%;
    text-align: center;
  }

  .text-hm1 {
    padding: 30px 20px;
  }

  .text-hm1 h1 {
    font-size: 32px;
    line-height: 45px;
    margin-top: 85px;
  }

  .text-hm1 p {
    font-size: 16px;
    line-height: 28px;
  }

  .button-hm1 {
    width: 50%;
  }

  .image-hm1 img {
    height: auto;
    max-width: 100%;
  }

  /* About Us Section */
  .body2-hm1 {
    flex-direction: column;
    align-items: center;
  }

  .image1-hm1,
  .aboutus-hm1 {
    width: 100%;
    text-align: center;
  }

  .image1-hm1 img {
    width: 70%;
  }

  .aboutus-hm1 h1 {
    font-size: 36px;
    line-height: 50px;
  }

  .aboutus-hm1 p {
    font-size: 14px;
  }

  /* Why Mitra Section */
  .why-sec1,
  .why-sec2 {
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
  }

  .why-sec12 {
    padding: 40px 20px;
    margin: 0;
  }



  .first-body4,
  .second-body4 {
    width: 100%;
    padding: 20px;
  }


  .img-body4 img {
    width: 100%;
    height: auto;
  }

  /* Contact Form Section */
  .body6-hm1 {
    flex-direction: column;
    justify-content: center;
    height: auto;
    padding: 40px 0;
  }

  .form-hm1 {
    width: 90%;
    height: auto;
    margin: 0 auto;
  }

  .left-right {
    flex-direction: column;
    gap: 15px;
  }

  .left-hm1,
  .right-hm1 {
    width: 100%;
  }

  .form-content {
    padding: 30px;
  }

  /* Footer */
  .fpara-hm1 {
    font-size: 14px;
    padding: 10px;
  }

  .nav-list {
    display: none;
    flex-direction: column;
    gap: 10px;
  }

  .nav-list.show {
    display: flex;
  }

  .main-div {
    width: 100%;
  }
}