@media all and ( min-width: 1200px) and (max-width:1600px){

  .preloader_content .img_box{
    width: 300px;
    height: 300px;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
  }
  .preloader_content img{
    width: 300px;
    border-bottom: 5px solid #EA2027;
    object-fit: cover;
    animation: imgUp 2s forwards;
  }
    @keyframes imgUp {
    0%{
      height: 0px;
      opacity: 0;
    }
    100%{
      height: 300px;
      opacity: 1;
    }
  }
  .preloader_content h2 {
    font-size: 25px;
    height: 50px;
  }
  .spinner {
  border: 5px solid #ecf0f1;
  border-top: 5px solid #e52d27;
  width: 40px;
  height: 40px;
}
  header{
    padding: 0% 0%;
  }
  .logo{
    margin-left: 30px;
  }
  .navbar{
    margin-right: 30px;
  }
  .hero {
    min-height: 600px;
  }
  .header {
    height: 600px;
  }
  /* ================= about section ===================  */
  #about {
    padding-left: 0;
  }
  .about {
  gap: 0px;
}
.image {
  flex-basis: 20%;
  gap: 20px;
  width: 100%;
  transform: scale(0.7);
}
.about_text {
  flex-basis: 80%;
  width: 100%;
  padding: 0;
}

}
  /* =================== blog section ============  */
  .blog{
    width: 90%;
    padding-right: 10px;
    padding-left: 10px;
  }
  .blog_image{
  flex-basis: 50%;
}
.blog_text{
  flex-basis: 65%;
  padding-left: 20px;
  padding-right: 30px;
  font-size: 14px;
}
  .mini_blog {
    width: 90%;
  }
  /* ====================== .experience section =============== */
    .left_part img{
  width: 100%;
  height: 600px;
  object-fit: cover;
}
  /* ========================== testimonial section ============== */
  .testimonial {
    width: 80%;
  }
  /* ========================== contact section ==================== */
  .right_contact h3{
    margin: 0;
  }
@media all and (min-width: 320px) and (max-width:700px){
  /* preloader  */
  .preloader_content .img_box{
    width: 300px;
    height: 300px;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
  }
  .preloader_content img{
    width: 300px;
    border-bottom: 5px solid #EA2027;
    object-fit: cover;
    animation: imgUp 2s forwards;
  }
    @keyframes imgUp {
    0%{
      height: 0px;
      opacity: 0;
    }
    100%{
      height: 300px;
      opacity: 1;
    }
  }
  .preloader_content h2 {
    font-size: 20px;
    height: 40px;
  }
  .spinner {
  border: 5px solid #ecf0f1;
  border-top: 5px solid #e52d27;
  width: 30px;
  height: 30px;
}
/* //// start body =============  */
  .logo {
    margin: 0;
  }
  header{
    padding: 0;
  }
  .navbar {
    position: relative;
    margin: 0;
  }
  .navbar i {
    display: block;
    font-size: 24px;
    cursor: pointer;
  }
  .navbar ul {
    display: flex;
    flex-direction: column;
    width: 250px;
    min-height: 100vh;
    position: fixed;
    right: -250px;
    top: 0;
    background: #fad390;
    box-shadow: -3px 0px 15px #00000030;
    transition: 0.8s;
    z-index: 100;
  }
  .navbar ul li {
    width: 100%;
    text-align: left;
    padding-left: 30px;
  }
  .navbar ul i {
    margin-top: 15px;
    padding-left: 15px;
    width: 100%;
    text-align:left;
  }
  .navbar ul li:last-child{
    padding: 0%;
  }
  .navbar .bars {
    margin-right: 10px;
  }
  .header {
    height: 650px;
  }
  .hero {
    background-image: url(image/mob.png);
    min-height: 650px;
  }

  /* ================== about section ============ */
  #about {
    flex-direction: column-reverse;
    padding: 0;
    position: relative;
  }
  .about_text h3 {
    font-size: 25px;
  }
  .about_text p {
    font-size: 15px;
    line-height: 20px;
  }
  .image {
    transform: scale(45%);
    position: absolute;
    bottom: -450px;
  }
  .abouts{
    font-size: 25px;
    margin-top: 0;
  }

  /* ========================= service section =================  */
  .services_headLine{
    margin:400px auto 30px;
  }
  .service{
    margin: 10px 0;
  }
  .service1{
    flex-direction: column;
    padding:0 20px;
    margin: 20px 0;
    gap: 20px;
  }
  .service1_image {
  width:100%;
  height: 280px;
}
.service1_image img {
  width:100%;
  height: 280px;
}
  .service1_text h3{
    font-size: 20px;
  }
  .service1_text h4{
    font-size: 17px;
  }
  .service1_text p {
    font-size: 14px;
  }
  /* ================== blog section ================  */
  .blogs{
    margin: 30px 0;
  }
  .blog{
    flex-direction: column;
    width: 98%;
    padding: 0 15px;
    height: auto;
    border-radius: 10px;
    padding-bottom:30px ;
  }
  .blog_image{
  width: 100%;
  height: 950px;
  margin-bottom: 20px;
}
.blog_image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-bottom: 5px solid #fff;
}
.blog_text{
  flex-basis: 65%;
  padding: 0px;
}
.four, .five {
  display: none;
}
/* =========== mini blog ==============  */
  .mini_blog{
    flex-direction: column;
    width: 98%;
    margin-top: 10px;
    gap: 10px;
  }
  .m_blog{
    font-size: 14px;
  }
  /* ====================== experience section ==============  */
  .experiencesss{
    margin: 80px auto 5px;
  }
  .experience{
    width: 100%;
    flex-direction: column;
    margin: auto 0;
    padding: 10px;
  }
  .left_part{
    font-size: 14px;
  }
  .right_part{
    display: flex;
    flex-direction: column;
    margin: auto;
    font-size: 14px;
  }
  .right_part .right_one:nth-child(5) {
    width: 100%;
  }
  .left_part img{
  width: 100%;
  height: 180px;
  object-fit: cover;
}
/* ======================== testimonil section ===================  */
.testimonialsss{
  margin: 50px auto;
}
  .testimonial {
    flex-direction: column;
    height: 650px;
    width: 100%;
    padding: 0;
  }
  .review{
    padding: 20px;
  }
  .testimonial img {
    width: 250px;
    border-bottom: 5px solid #EA2027;
    margin-top: 30px;
  }
  .review p {
    font-size: 14px;
    text-align: justify;
    height: 120px;

  }
  .review h3 , .review #h3{
    font-size: 20px;
    text-align: center;
  }
  .buttons {
    margin: auto;
    width: 100px;
    height: 30px;
    margin-bottom: 50px;
    margin-top: 20px;
  }
  .buttons button{
    width: 30px;
    height: 30px;
  }
  /* ======================= contact section ===============  */
  .contact{
    grid-template-columns: 1fr;
    height: auto;
    padding: 20px;
    margin: 50px auto;
  }
  .left_contact h3{
    font-size: 20px;
  }
  .left_contact p{
    font-size: 14px;
  }
  .left_contact h4{
    font-size: 30px;
  }
  .social {
    flex-wrap: wrap;
    justify-content: center;
  }
  .social .fb {
    width: 40px;
    height: 40px;
    border: 1px solid #fff;
  }
  .right_contact h3{
    text-align: center;
    margin: 0;
  }
  .right_contact button {
    margin: 30px 50% 20px;
    transform: translateX(-100px);
    
  }

  /* =========================== footer section ===================  */
  .footer{
    grid-template-columns: 1fr;
    grid-template-rows: 1fr 1fr 1fr 1fr;
    height: auto;
    padding: 20px;
  }
  .footer_part2{
    padding: 0 10px;
  }
  .footer_part3{
    display: block;
  }
}
@media all and (min-width: 700px) and (max-width:850px){
  /* preloader  */
  .preloader_content .img_box{
    width: 300px;
    height: 300px;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
  }
  .preloader_content img{
    width: 300px;
    border-bottom: 5px solid #EA2027;
    object-fit: cover;
    animation: imgUp 2s forwards;
  }
    @keyframes imgUp {
    0%{
      height: 0px;
      opacity: 0;
    }
    100%{
      height: 300px;
      opacity: 1;
    }
  }
  .preloader_content h2 {
    font-size: 25px;
    height: 50px;
  }
  .spinner {
  border: 5px solid #ecf0f1;
  border-top: 5px solid #e52d27;
  width: 40px;
  height: 40px;
}

/* start body  */
  .header {
    height: 950px;
  }
  .hero {
    background-image: url(image/tab.png);
    min-height: 950px;
  }
  .logo {
    margin: 0;
  }
  header{
    padding: 0;
  }
  .navbar {
    position: relative;
    margin: 0;
  }
  .navbar i {
    display: block;
    font-size: 24px;
    cursor: pointer;
  }
  .navbar ul {
    display: flex;
    flex-direction: column;
    width: 250px;
    min-height: 100vh;
    position: fixed;
    right: -250px;
    top: 0;
    background: #fad390;
    box-shadow: -3px 0px 15px #00000030;
    transition: 0.8s;
    z-index: 100;
  }
  .navbar ul li {
    width: 100%;
    text-align: left;
    padding-left: 30px;
  }
  .navbar ul i {
    margin-top: 15px;
    padding-left: 15px;
    width: 100%;
    text-align:left;
  }
  .navbar ul li:last-child{
    padding: 0%;
  }
  .navbar .bars {
    margin-right: 15px;
  }
  /* ============================ about section ===================  */
  #about{
    flex-direction: column-reverse;
  }
  .abouts{
    margin: 0 auto 50px;
    font-size: 35px;
  }
  .about_text {
    padding: 0;
    margin-bottom: 50px;
  }
  .image {
    transform: scale(0.8);
  }

  /* ============================= service section ======================== */
  .services_headLine{
    margin-top: 100px;
  }
  .service1{
    padding: 20px;
    gap: 10px;
    margin: 10px 0;
  }
  .service1_image {
  width:300px;
  height: 220px;
}
.service1_image img {
  width:300px;
  height: 220px;
}
  .service1_text h3{
    font-size: 20px;
  }
  .service1_text h4{
    font-size: 17px;
  }
  .service1_text P {
    font-size: 14px;
  }
   /* ========================= blog section ================= */
  .blog {
    width: 98%;
    height: 500px;
    padding: 0%;
    /* padding-right: 20px; */
    gap:20px
  }
  .blog_image{
  flex-basis:55%;
  height: 500px;
}
.blog_image img {
  width: 100%;
  height: 500px;
  object-fit: cover;
}
.blog_text{
  flex-basis: 45%;
  padding: 0px;
  padding-right: 20px;
  margin-top: 0px;
  font-size: 14px;
}
.blog_text button{
  margin-top: 20px;
}
.four,.five{
  display: none;
}
/* ==================== mini blog sectio ================= */
  .mini_blog{
    display: grid;
    grid-template-columns: 1fr 1fr ;
    width: 98%;
    margin-top: 10px;
    gap: 10px;
  }
  .m_blog {
    width: 100%;
  }
  /* ====================== experience section =============== */
  .experience{
    flex-direction: column;
  }
  .right_part {
    grid-template-columns: 1fr 1fr;
  }
  .left_part img{
  width: 100%;
  height: 350px;
  object-fit: cover;
}
  /* ====================== testimonial section ===================== */
  .testimonial{
    width: 80%;
    flex-direction: column;
    height: auto;
  }
  .testimonial img {
    width: 250px;
    margin-top: 30px;
    border-bottom: 5px solid #EA2027;
  }
  .review p{
    font-size: 14px;
  }
  .review h3, .review #h3 {
    font-size: 20px;
  }
  .buttons{
    margin:40px auto 0;
    height: 30px;
    width: 80px;
  }
  .buttons button {
    width: 30px;
    height: 30px;
  }
  /* =========================== contact section ==================== */
  .contact{
    height: auto;
    grid-template-columns: 1fr;
  }

  /* =========================== footer section =================== */
  .footer{
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    height: auto;
    gap: 20px;
    padding-top: 20px;
  }
  .footer_part3{
    display: block;
    align-content: center;
  }
  .footer_part2{
    padding: 0 10px;
  }
}

@media all and (min-width: 850px) and (max-width:1200px){
  /* perloader  */
  .preloader_content .img_box{
    width: 300px;
    height: 300px;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
  }
  .preloader_content img{
    width: 300px;
    border-bottom: 5px solid #EA2027;
    object-fit: cover;
    animation: imgUp 2s forwards;
  }
    @keyframes imgUp {
    0%{
      height: 0px;
      opacity: 0;
    }
    100%{
      height: 300px;
      opacity: 1;
    }
  }
  .preloader_content h2 {
    font-size: 25px;
    height: 50px;
  }
  .spinner {
  border: 5px solid #ecf0f1;
  border-top: 5px solid #e52d27;
  width: 40px;
  height: 40px;
}

  /* start body  */
  .header {
    height: 1100px;
  }
  .hero {
    background-image: url(image/tab.png);
    min-height: 1100px;
  }
  .logo {
    margin: 0;
  }
  header{
    padding: 0;
  }
  .navbar {
    position: relative;
    margin: 0;
  }
  .navbar i {
    display: block;
    font-size: 24px;
    cursor: pointer;
  }
  .navbar ul {
    display: flex;
    flex-direction: column;
    width: 250px;
    min-height: 100vh;
    position: fixed;
    right: -250px;
    top: 0;
    background: #fad390;
    box-shadow: -3px 0px 15px #00000030;
    transition: 0.8s;
    z-index: 100;
  }
  .navbar ul li {
    width: 100%;
    text-align: left;
    padding-left: 30px;
  }
  .navbar ul i {
    margin-top: 15px;
    padding-left: 15px;
    width: 100%;
    text-align:left;
  }
  .navbar ul li:last-child{
    padding: 0%;
  }
  .navbar .bars {
    margin-right: 15px;
  }
  /* ================ about = =========== */
  #about{
    flex-direction: column-reverse;
  }
  .abouts{
    margin: 0 auto 50px;
    font-size: 35px;
  }
  .about_text {
    padding: 0;
    margin-bottom: 50px;
  }
  /* ============================= service section ======================== */
  .services_headLine{
    margin-top: 150px;
  }
  .service1{
    padding: 30px;
    gap: 10px;
    margin: 10px 0;
  }
  .service1_image {
  width:350px;
  height: 220px;
}
.service1_image img {
  width:350px;
  height: 220px;
}
  .service1_text h3{
    font-size: 20px;
  }
  .service1_text h4{
    font-size: 17px;
  }
  .service1_text P {
    font-size: 14px;
  }
  /* ========================= blog section ================= */
  .blog {
    width: 98%;
    height: 500px;
    padding: 0%;
    padding-right: 20px;
    gap:20px
  }
  .blog_image{
  flex-basis: 45%;
  height: 500px;
}
.blog_image img {
  width: 100%;
  height: 500px;
  object-fit: cover;
}
.blog_text{
  flex-basis: 55%;
  padding: 20px;
  margin-top: 30px;
}
.blog_text button{
  margin-top: 20px;
}
.four,.five{
  display: none;
}
/* ==================== mini blog sectio ================= */
  .mini_blog{
    display: grid;
    grid-template-columns: 1fr 1fr ;
    width: 98%;
    margin-top: 10px;
    gap: 10px;
  }
  .m_blog {
    width: 100%;
  }
  /* ====================== experience section =============== */
  .experience{
    flex-direction: column;
  }
  .right_part {
    grid-template-columns: 1fr 1fr;
  }
  .left_part img{
  width: 100%;
  height: 420px;
  object-fit: cover;
}
  /* ====================== testimonial section ===================== */
  .testimonial{
    width: 80%;
    flex-direction: column;
    height: auto;
  }
  .testimonial img {
    width: 250px;
    margin-top: 30px;
    border-bottom: 5px solid #EA2027;
  }
  .review p{
    font-size: 14px;
  }
  .review h3, .review #h3 {
    font-size: 20px;
  }
  .buttons{
    margin:40px auto 0;
    height: 30px;
    width: 80px;
  }
  .buttons button {
    width: 30px;
    height: 30px;
  }
  /* =========================== contact section ==================== */
  .contact{
    height: auto;
    grid-template-columns: 1fr;
  }
  /* =========================== footer section =================== */
  .footer{
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    height: auto;
    gap: 50px;
    padding-top: 20px;
  }
  .footer_part3{
    display: block;
    align-content: center;
  }
  .footer_part2{
    padding: 0 10px;
  }
}