html {
  scroll-behavior: smooth;
}

.navebar2 {
  width: 100%;
  height: 80px;
  display: flex;
  justify-content: space-around;
  align-items: center;
  background-color: white;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
}

.navebar2 img {
  width: 100px;
}

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

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

.nav-list2 a {
  text-decoration: none;
  color: black;
  font-family: Poppins;
}

.nav-list2 {
  display: flex;
  list-style-type: none;
  gap: 50px;
}

.nave-hm2 {
  margin-top: 25px;
}

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

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

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

.prev-hm2 a {
  color: white;
  text-decoration: none;
}

/**********body1**********/
.body1-hm2 {
  width: 100%;
  background-image: url('../images/bgimage.png');
  height: 700px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.text-hm2 h1 {
  font-family: Baloo;
  font-size: 80px;
  color: white;
  line-height: 80px;
}

.text-hm2 p {
  font-family: Roboto;
  font-size: 23px;
  color: white;
}

.button1-hm2 button {
  background-color: #01DC82;
  border: none;
  border-radius: 25px;
  height: 35px;
  width: 115px;
  margin-top: 20px;
  color: white;
}

.text-hm2 {
  margin-left: 20%;
  padding-top: 100px;
}

/**************body2**********/
.body2-hm2 {
  width: 100%;
  background-image: url('../images/backgrond.png');
  height: 800px;
  margin-top: -13%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.relative-class {
  position: relative;
  width: 500px;
  height: 400px;
}

.relative-class img {
  margin-top: 190px;
  margin-left: 200px;
}

.absolute-class {
  position: absolute;
  width: 300px;
  height: 280px;
}

.absolute-class img {
  margin-left: 525px;
  padding-top: 70px;
}

.aboutus-hm2 {
  text-align: right;
  padding-right: 105px;
  margin-top: -160px;
}

.aboutus-hm2 h1 {
  font-family: Baloo;
  font-size: 60px;
  color: #005653;
}

.aboutus-hm2 p {
  color: #666666;
  font-family: Roboto;
  font-size: 17px;
}

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

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

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

.bacimg-hm2::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-hm2 {
  width: 100%;
}

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

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

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

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

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

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

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

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

/******body4*****/
.body4-hm2 {
  width: 100%;
  background-image: url('../images/image\ 3.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

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

.body4-hm2 h1 {
  font-family: Baloo;
  font-size: 60px;
  line-height: 100%;
  font-weight: 600;
  text-align: center;
  padding: 40px;
  color: #005653;
}

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

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

.services-hm2 h6 {
  font-family: Roboto;
  font-size: 15px;
}

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

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

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

/************body5***********/
.body5-hm2 {
  background-color: #FCF4EE;
  width: 100%;
  background-image: url('../images/Rectangle\ 10.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 662px;
}

.map-cities {
  display: flex;
  text-align: center;
  justify-content: center;
  align-items: center;
  gap: 100px;
}

.body5-hm2 h1 {
  font-family: Baloo;
  font-size: 50px;
  color: #005653;
  text-align: center;
}

.map {
  width: 400px;
  height: 350px;
}

.cities1-hm2 {
  display: flex;
  gap: 30px;
  margin-bottom: 30px;
}

.cities2-hm2 {
  display: flex;
  gap: 30px;
  margin-bottom: 30px;
}

.cities3-hm2 {
  display: flex;
  gap: 30px;
  margin-bottom: 30px;
}

.img-hm2 {
  width: 30px;
  height: 30px;
  padding: 10px;
}

.cities-hm2 h6 {
  font-family: Roboto;
  font-size: 18px;
  line-height: 35px;
  color: #000000;
}

.cities-hm2 p {
  color: #666666;
  font-family: Roboto;
  font-size: 13px;
  line-height: 15px;
}

.banglore {
  border-radius: 50%;
  background-color: #54A7FD;
  height: 50px;
  width: 50px;
  margin-left: 40px;
}

.Mumbai-b {
  border-radius: 50%;
  width: 50px;
  height: 50px;
  border: 6px;
  background-color: #7F70FF;
  margin-left: 40px;
}

.hydrabad {
  border-radius: 50%;
  width: 50px;
  height: 50px;
  border: 6px;
  background-color: #D175EC;
  margin-left: 40px;
}

.chennai {
  border-radius: 50%;
  width: 50px;
  height: 50px;
  border: 6px;
  background-color: #FF8183;
  margin-left: 40px;
}

.Chandigarh {
  border-radius: 50%;
  width: 50px;
  height: 50px;
  border: 6px;
  background-color: #FFA43A;
  margin-left: 40px;
}

.ahmadabad {
  border-radius: 50%;
  width: 50px;
  height: 50px;
  border: 6px;
  background-color: #54A7FD;
  margin-left: 40px;
}

.indore {
  border-radius: 50%;
  width: 50px;
  height: 50px;
  border: 6px;
  background-color: #01DC82;
  margin-left: 40px;
}

.kochi {
  border-radius: 50%;
  width: 50px;
  height: 50px;
  border: 6px;
  background-color: #DCB901;
  margin-left: 40px
}

.kolkata {
  border-radius: 50%;
  width: 50px;
  height: 50px;
  border: 6px;
  background-color: #96DC01;
  margin-left: 50px;
}

.coimbatore {
  border-radius: 50%;
  width: 50px;
  height: 50px;
  border: 6px;
  background-color: #F66A2E;
  margin-left: 40px;
}

.group-hm2 {
  width: 100%;
}

.group-hm2 img {
  height: 145px;
}

/*****body6******/
.body6-hm2 {
  width: 100%;
  height: 600px;
  background-image: url('../images/Rectangle\ 6.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

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

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

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

.left-hm2 input {
  border: none;
  width: 180px;
  height: 25px;
  border-radius: 3px;
}

.right-hm2 input {
  border: none;
  width: 180px;
  height: 25px;
  border-radius: 3px;
}

.form-hm2 {
  color: white;
  font-family: Poppins;
  font-size: 15px;
  width: 500px;
  height: 450px;
  margin-left: 60%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.form-hm2 h1 {
  font-size: 40px;
  margin-bottom: 10px;
}

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

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

.form-content2 {
  padding: 30px;
  background-color: rgba(0, 86, 83, 0.8);
  margin-top: 140px;
}

/**********footer************/
.body7-hm2 {
  background-color: #FFFFFF;
  width: 100%;
  height: 150px;
}

.flogos-hm2 {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  padding-top: 30px;
}

.flogo-hm2 img {
  width: 50%;
  height: 50%;
  padding: 12px;
}

.flogo-hm2 {
  border-radius: 50%;
  width: 50px;
  height: 50px;
  border: 2px solid black;
}

.body7-hm2 p {
  font-family: Roboto;
  font-size: 18px;
  text-align: center;
  margin-top: 20px;
}

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

#menu-toggle:checked+.hamburger2 {
  display: flex !important;
}

/**********media**************/
/*phone*/
@media (max-width: 576px) {
  .nav-list2 {
    display: none;
    flex-direction: column;
    background-color: white;
    position: absolute;
    top: 80px;
    right: 0;
    width: 50%;
    padding: 10px 0;
    z-index: 999;
    text-align: center;
  }

  #menu-toggle:checked~.nav-list2 {
    display: flex;
  }

  .hamburger2 {
    display: block;
    font-size: 30px;
    cursor: pointer;
    top: 25px;
    right: 20px;
  }

  .navebar2 {
    height: auto;
    width: 100%;
  }

  .nav-list2 {
    display: none;
  }

  .body1-hm2 {
    height: 400px;
  }

  .logos-hm2 {
    display: none;
  }

  .text-hm2 {
    margin-left: 10%;
    padding-top: 150px;
  }

  .text-hm2 h1 {
    font-size: 40px;
    line-height: 45px;
  }

  .text-hm2 p {
    font-size: 16px;
  }

  .relative-class,
  .absolute-class {
    position: static;
    width: 100%;
    margin: 0 auto;
    text-align: center;
  }

  .aboutus-hm2 {
    text-align: left;
    padding: 30px;
  }

  .aboutus-hm2 h1 {
    font-size: 30px;
    text-align: center;
  }

  .aboutus-hm2 p {
    font-size: 15px;
  }

  .why-sec2,
  .why-sect2 {
    flex-direction: column;
    align-items: center;
  }

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

  .all-service2 {
    grid-template-columns: 1fr;
    justify-items: center;
    padding: 0 20px;
  }

  .sec-grid2 {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .form-hm2 {
    margin-left: auto;
    margin-right: auto;
    width: 90%;
  }

  .left-right2 {
    flex-direction: column;
  }

  .map-cities {
    flex-direction: column;
    gap: 30px;
  }

  .cities1-hm2,
  .cities2-hm2,
  .cities3-hm2 {
    display: grid;
    grid-template-columns: auto auto auto auto;
    align-items: center;
    gap: 0;
  }

  .group-hm2 img {
    height: auto;
  }

  .body5-hm2 h1 {
    font-size: 40px;
  }

  .relative-class img {
    width: 50%;
    margin-left: 10px;
    margin-top: 55%;
  }

  .absolute-class img {
    width: 40%;
    margin-left: 0;
    padding-top: 0;
    margin-top: -18px;
    padding-left: 40%;
  }

  .body2-hm2 {
    height: 800px;
    margin-top: -50%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
  }

  .whymitra-hm2 {
    margin-top: 60%;
  }

  .why-sec22 {
    margin: 0;
    display: grid;
    grid-template-columns: auto auto;
  }

  .body3-hm2 {
    max-height: 800px;
  }

  .form-content2 {
    height: 450px;
  }

  .body5-hm2 {
    width: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 80%;
  }

  .map img {
    height: 350px;
    width: 350px;
  }

  .form-hm2 h1 {
    font-size: 30px;
  }

  .left-right2 input {
    height: 15px;
  }

  .last-hm2 textarea {
    height: 30px;
  }
}

/*********TAB***********/
@media screen and (min-width: 577px) and (max-width: 768px) {
  .nav-list2 {
    display: none;
    flex-direction: column;
    background-color: white;
    position: absolute;
    top: 80px;
    right: 0;
    width: 30%;
    padding: 10px 0;
    z-index: 999;
    text-align: center;
  }

  #menu-toggle:checked~.nav-list2 {
    display: flex;
  }

  .hamburger2 {
    display: block;
    font-size: 30px;
    cursor: pointer;
    top: 25px;
    right: 20px;
  }

  .navebar2 {
    height: auto;
    width: 100%;
  }

  .nav-list2 {
    display: none;
  }

  .logos-hm2 {
    display: none;
  }

  .body2-hm2 {
    height: auto;
    margin-top: -50%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
  }

  .relative-class img {
    width: 55%;
    margin-left: 30%;
    margin-top: 55%;
  }

  .absolute-class img {
    width: 50%;
    margin-left: 100%;
    padding-top: 0;
    margin-top: 50px;
    padding-left: 15%;
  }

  .aboutus-hm2 {
    margin-top: 33%;
  }

  .aboutus-hm2 h1 {
    text-align: center;
  }

  .aboutus-hm2 p {
    text-align: center;
  }

  .whymitra-hm2 {
    margin-top: 20px;
  }

  .why-sec22 {
    padding: 0;
    margin-top: 20px;
  }

  .form-hm2 {
    width: 90%;
    max-width: 450px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    height: auto;
  }

  .form-content2 {
    padding: 20px;
    background-color: rgba(0, 86, 83, 0.85);
    margin-top: 60px;
    width: 100%;
  }

  .form-content2 h1 {
    font-size: 28px;
    margin-bottom: 10px;
    text-align: center;
  }

  .left-right2 {
    flex-direction: column;
    gap: 10px;
  }

  .left-hm2 input,
  .right-hm2 input,
  textarea {
    width: 100%;
    height: 20px;
    font-size: 14px;
  }

  textarea {
    height: 40px;
  }

  .button2-hm2 {
    margin-top: 10px;
    width: 35%;
    height: 35px;
    font-size: 14px;
  }

  .button2-hm2 a {
    display: block;
    text-align: center;
  }

  label {
    font-size: 14px;
  }
}