/* mobile menu bar start */
.sidebar {
  display: none;
}

.menu-bar {
  display: none;
}

.openclose {
  width: 100% !important;
  display: block;
}

/* mobile menu bar end */

@media only screen and (max-width: 709px) {
  .uppernav-ul {
    margin: 4px 0px;
    flex-direction: column;
  }

  .uppernavbar {
    flex-direction: column;
    align-items: baseline;
  }

  .uppernav-ul li {
    margin: 2px 5px;
  }

  .hide {
    display: none;
  }


  /* navbar */
  .nav-ul {
    display: none;
  }

  .shift ul li {
    padding: 8px 10px !important;
  }

  .shift ul li a {
    padding: 0;
    font-size: 16px;
  }

  .logo img{
    width: 77px !important;
    top: -31px !important;
  }


  /* menu bar for mobile */
  .menu-bar {
    display: inline-block;
    cursor: pointer;
  }

  .bar1,
  .bar2,
  .bar3 {
    width: 35px;
    height: 5px;
    background-color: #fefeff;
    margin: 6px 0;
    transition: 0.4s;
  }

  .change .bar1 {
    transform: translate(0, 11px) rotate(-45deg);
  }

  .change .bar2 {
    opacity: 0;
  }

  .change .bar3 {
    transform: translate(0, -11px) rotate(45deg);
  }

  .sidebar {
    width: 0;
    text-align: center;
    position: absolute;
    z-index: 1;
    right: 0px;
    background: #fefeff;
    overflow-x: hidden;
    padding-top: 6px;
    margin-top: 10px;
    overflow-y: hidden;
  }

  .mysidebar2 {
    position: static;
    background: transparent;
  }

  .mysidebar2 .uppernav-ul a,
  .mysidebar2 .uppericon-ul a {
    border-bottom: 2px solid hsl(0deg 2.15% 83.25%);
  }

  .menu-bar2 {
    margin: 11px;
  }

  .sidebar a {
    padding: 0px 6px !important;
    display: block;
    font-size: 20px;
    font-family: sans-serif;
    text-decoration: none;
    color: black;
    border-bottom: 2px solid black;
  }

  .sidebar a:hover {
    transition: 0.4s;
    border-bottom: 5px solid #6c89a8;
  }

  .sidebar .closebtn {
    position: absolute;
    top: 0;
    right: 25px;
    font-size: 36px;
    margin-left: 50px;
  }


  /* first section */
  .first-section-main {
    text-align: center;
  }

  .first-section-heading {
    width: 100%;
  }

  .fade-down h3 {
    font-size: 25px !important;
  }

  .first-section-para {
    width: 100%;
    font-size: 16px;
  }

  .box img {
    width: 12rem;
    margin: 9px auto;
}

.first-btn-hid{
  display: none;
}

  /* second section */

  .section-heading {
    font-size: 21px;
    font-weight: 500;
  }

  .small-boxes-heading h3 {
    font-size: 16px;
  }

  .small-boxes-span {
    font-size: 15px;
  }

  .small-heading{
    font-size: 16px;
  }

  .section-p {
    width: 100%;
    margin: 10px 0;
    text-align: justify;
    font-size: 15px;
    line-height: 1.5;
  }

  .second-sec-main {
    flex-direction: column-reverse;
  }

  .second-sec-div1 h1 {
    font-size: 21px;
    margin: 7px 0px;
  }

  .second-sec-div1 p {
    width: 100%;
  }

  .second-sec-div2 img {
    width: 98%;
  }

  /* third section */

  .third-paras {
    width: 95%;
    margin: auto;
  }

  .third-section h1 {
    width: 89%;
    margin: auto;
  }

  .third-section-p {
    width: 89%;
    margin: 10px auto;
  }

  .boxes-main {
    flex-direction: column;
  }

  .small-boxes {
    width: 100%;
  }

  /* fourth section */

  .fourth-heading {
    width: 89%;
    padding: 19px 5px;
    font-size: 20px;
    letter-spacing: 0;
  }

  .fourth-main {
    flex-direction: column;
  }

  .fourth-paras {
    width: 100%;
    padding: 0 45px;
  }

  .fourth-text{
    width: 100%;
    margin: 11px 0px;
  }

  .fourth-text h1 {
    font-size: 15px;
    margin: 2px 0;
    text-align: center;
  }
  
  .fourth-text h2{
    font-size: 17px;
  }

  .fourth-text p{
    font-size: 15px;
  }

  
  /* animation number */
  .row-container {
    display: flex;
    justify-content: center;
    flex-direction: column;
  }

  .clients-number {
    width: auto;
  }

  .counter {
    font-size: 25px;
}

.counter-box p {
  font-size: 14px;
}

  /* five section */

  .five-heading {
    width: auto;
  }

  .box div{
    flex-direction: column;
    
  }


  /* footer */
  .footer-div1 {
    flex-direction: column;
  }


  .footer-div2 {
    width: 100%;
    margin-bottom: 0;
    margin: 9px 0px;
  }

  .footer-div3{
    font-size: 13px;
  }

  .footer-box {
    width: auto;
    margin: 10px;
  }

  .first-foot p {
    width: auto;
    text-align: justify;
  }

  .footer-div2 h3 {
    font-size: 18px;
  }

  .footer-lower{
    flex-direction: column;
    padding: 0px;
  }

  .first-foot {
    flex-wrap: wrap;
    margin-bottom: 22px;
    margin-top: 0;
}

  .social-img {
    height: 32px;
  }

}

/* media query for ipad air and ipad mini */
@media (min-width: 768px) and (max-width: 820px) {
  
  .first-section-heading{
    width: auto;
  }
  
  .boxes-main {
    width: 100%;
    justify-content: center;
  }

  .fourth-section-p {
    text-align: justify;
  }

  .footer-lower{
    flex-direction: column;
  }

  .footer-div1 {
    justify-content: center;
    flex-direction: column;
    align-items: center;

  }

  .footer-div2{
    width: auto;
    margin-top: 10px;
    text-align: center;
  }

  .footer-box {
    width: 100%;
  }

}