html {
  scroll-behavior: smooth;
}

.nave-hm3 {
  background-image: url('../images/bgimage.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 662px;
  width: 100%;
}

.naveb-hm3 {
  display: flex;
  /* justify-content: space-around; */
  background-color: transparent;
  padding-top: 20px;
  justify-content: space-between;
  padding: 55px;
}

.navebar3 img {
  width: 150px;
  margin-right: 30%;
}

.nav-list3 a {
  text-decoration: none;
  font-family: Poppins;
  color: white;
}

.nav-list3 {
  display: flex;
  list-style-type: none;
  gap: 50px;
  margin-right: 8%;
}

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

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

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

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

/**body1**/
.text-hm3 h1 {
  font-family: Baloo;
  font-size: 80px;
  color: white;
  line-height: 80px;
}

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

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

.text-hm3 {
  margin-left: 20%;
  padding-top: 10%;
}

/*****body2******/
.body2-hm3 {
  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-hm3 {
  position: relative;
  width: 500px;
  height: 400px;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

/****body5******/
.body5-hm3 {
  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-cities3 {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 100px;
}

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

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

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

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

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

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

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

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

.para-map3 {
  color: #FC1818;
  font-family: Roboto;
  font-size: 20px;
  font-weight: 500;
}

.group-hm3 {
  width: 100%;
}

.group-hm3 img {
  height: 150px;
  padding-top: 78px;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

.hamburger3 {
  display: none;
}

/************media***************/
/*********MOBILE***********/
@media screen and (max-width: 576px) {

  html,
  body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    width: 100vw;
  }

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

  .nav-list3 {
    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-list3 {
    display: flex;
  }

  .nave-hm3 {
    height: 500px;
    width: 100%;
  }

  .naveb-hm3 {
    padding: 0;
  }

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

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

  .nav-list3 {
    display: none;
  }

  .logos-hm3 {
    display: none;
  }

  body {
    font-size: 14px;
    line-height: 1.4;
  }

  nav {
    flex-direction: column;
    align-items: flex-start;
    padding: 10px;
  }

  .hamburger {
    display: block;
    /* If you're using hamburger menu */
  }

  .nav-links {
    display: none;
    flex-direction: column;
    width: 100%;
  }

  .nav-links.active {
    display: flex;
  }

  .about-img img,
  .services-img img {
    width: 100%;
    height: auto;
    margin-bottom: 15px;
  }

  .about-text,
  .services-text {
    width: 100%;
    padding: 0;
  }

  /* Form section */
  .form-hm2 {
    width: 95%;
    margin: 20px auto;
  }

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

  .form-content2 h1 {
    font-size: 20px;
    margin-bottom: 10px;
  }

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

  .aboutus-hm3 p {
    font-size: 10px;
    text-align: center;
  }

  .aboutus-hm3 h1 {
    margin-top: 60%;
  }

  .left-hm2 input,
  .right-hm2 input,
  textarea {
    width: 100%;
    padding: 6px;
    font-size: 13px;
  }

  textarea {
    height: 60px;
  }

  .button2-hm2 {
    width: 100%;
    height: 34px;
    font-size: 13px;
  }

  footer p {
    font-size: 12px;
  }

  .body2-hm3 {
    width: 100%;
    height: 720px;
    margin-top: -50%;
    display: flex;
    flex-direction: column;
  }

  .relative-class-hm3 img {
    margin-top: 190px;
    margin-left: 100px;
    width: 40%;
  }

  .absolute-class-hm3 img {
    margin-left: 205px;
    padding-top: 100%;
    width: 48%;
  }

  .why-sec3 {
    display: grid;
    grid-template-columns: auto auto;
  }

  .why-sect3 {
    display: grid;
    grid-template-columns: auto auto;
  }

  .why-sec33 {
    padding: 0;
    margin-top: 10px;
  }

  .body3-hm3 {
    max-height: 875px;
  }

  .all-service3 {
    display: flex;
    flex-direction: column;
  }

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

  .map-cities3 {
    gap: 0;
    display: flex;
    flex-direction: column;
  }

  .body5-hm3 h1 {
    font-size: 45px;
  }

  .cities-operate3 {
    margin-top: 50px;
  }

  .map-hm3 img {
    height: 90%;
    width: 90%;
  }

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

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

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

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

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

  textarea {
    height: 40px;
  }

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

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

  label {
    font-size: 14px;
  }
}

/*********TAB***********/
@media screen and (min-width: 577px) and (max-width: 768px) {
  .naveb-hm3 {
    padding: 0;
  }

  .nav-list3 {
    margin-left: -33%;
  }


  /* General styles */
  body,
  html {
    font-size: 15px;
    overflow-x: hidden;
  }

  /* Navigation */
  .navebar3 {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    width: 100%;
  }

  .nav-list3 {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    gap: 15px;
    background-color: transparent;
    position: static;
    padding: 0;
  }

  .nave-hm3 {
    height: 400px;
  }


  .hamburger3 {
    display: none;
  }

  /* About Section */
  .body2-hm3 {
    display: flex;
    flex-direction: column;
    align-items: center;
    height: auto;
    margin-top: -30%;
  }

  .relative-class-hm3 img {
    width: 50%;
    margin-top: 50%;
  }

  .absolute-class-hm3 img {
    width: 50%;
    margin: 100% auto;
  }

  .aboutus-hm3 p {
    text-align: center;
    font-size: 14px;
    margin-top: 10px;
  }

  .aboutus-hm3 h1 {
    margin-top: 60%;
  }

  /* Why NRI Section */
  .why-sec3,
  .why-sect3 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    padding: 10px;
  }

  .why-sec33 {
    padding: 0;
  }

  /* Services */
  .all-service3 {
    flex-direction: column;
    align-items: center;
  }

  .sec-grid3 {
    align-items: center;
  }

  /* Map Section */
  .map-cities3 {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .map-hm3 img {
    width: 90%;
    height: auto;
  }

  /* Form Section */
  .form-hm3 {
    width: 90%;
    max-width: 500px;
    margin: 0 auto;
  }

  .form-content3 {
    padding: 20px;
    background-color: rgba(0, 86, 83, 0.85);
  }

  .left-right3 {
    flex-direction: column;
    gap: 12px;
  }

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

  .button2-hm3 {
    width: 100%;
    height: 38px;
    font-size: 14px;
  }

  /* Footer */
  footer p {
    font-size: 13px;
  }

  .body3-hm3 {
    max-height: fit-content;
  }

  .whymitra-hm3 h1 {
    margin-bottom: 50px;
  }
}