/*--------------------------------------------------------------
# Responsive Media Queries
--------------------------------------------------------------*/
@media (max-width:575px)
{
  #services {
    padding-top: 0;
  }
  .section-header p,
  #services {
    padding-bottom: 0;
  }
  #about .about-col p {
    text-align: center;
  }
  #header #logo img {
    border-bottom-right-radius: 70px;
  }
  #header {
    height: 70px;
  }
  #header.header-scrolled {
    padding: 30px 0;
    height: 70px;
  }
  #leaderwords .appInfo-data p
  {
    margin-bottom: 0px;
  }
  #leaderwords .appInfo-data .fristLeader::before {
    content: url("../img/leader words/M-Sultan-Small.png");
    position: relative;
    display: inline-block;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 10px;
    top: 20px;
    
  } 
  #leaderwords .appInfo-data .secondLeader::before {
    content: url("../img/leader words/M-Rehan-Small.png");
    position: relative;
    display: inline-block;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 10px;
    top: 20px;

  } 
  #facts .counters span {
    font-size: 40px;
  }
  #loyalEmp .loyalEmp-carousel .loyalempimg
  {
      box-shadow: none;
  }
  #loyalEmp footer p
  {
      font-size: 19px;
  }
  #loyalEmp footer p span
  {
      font-size: 22px;
  }

  #news .card-text
  {
    height: auto;
  }

  #errorbox .img1
  {
    top: calc(30%);
    left: calc(26%);
    height: 200px;
  }
  #errorbox .loderarrow
  {
    top: calc(30%);
    left: calc(26%);
    height: 200px;
  } 
  #errorbox .errormessage
  {
    bottom: calc(20%);
  }
  #errorbox .errormessage p
  {
    font-size: 30px;
  }
  /*--------------------------*/
  .projectpage .breadcrumb-item
  {
    margin-top: -10px;
  }
  /*==========================*/
  .newspage .breadcrumb-item
  {
    margin-top: -10px;
  }
  .loginpage .form-all-box .collapsegroup .card-header .card-link
  {
      font-size: 18px;
  }
}
@media (min-width:576px) and (max-width:767px)
{
    #services {
        padding-top: 0;
    }
    .section-header p,
    #services {
        padding-bottom: 0;
    }
    #about .about-col p {
        text-align: center;
    }
    #leaderwords .img-box
    {
        width: 120px;
        height: 120px;
    }
    #leaderwords .img-box img
    {
        width: 120px;
        height: 120px;
    }
    #facts .counters span {
        font-size: 40px;
    }
    #news .card-text
    {
        height: auto;
    }
    #errorbox .img1
    {
      top: calc(25%);
      left: calc(25%);
      height: 300px;
    }
    
    #errorbox .loderarrow
    {
      top: calc(26%);
      left: calc(25%);
      height: 300px;
    }
    #errorbox .errormessage
    {
      bottom: calc(8%);
    }
    #errorbox .errormessage p
    {
      font-size: 40px;
    }
    /*==========================*/
    .projectpage .breadcrumb-item
    {
      margin-top: -10px;
    }
    /*============================*/
    .newspage .breadcrumb-item
    {
      margin-top: -10px;
    }
    .loginpage .form-all-box .collapsegroup .card-header .card-link
    {
        font-size: 20px;
    }
}
@media (max-width: 768px) {
    #contact .contact-address,
    #contact .contact-phone,
    #contact .contact-email {
        padding:  0;
    }

    #contact .contact-phone {
        border-left: 1px solid #ddd;
        border-right: 1px solid #ddd;
    }
    .back-to-top {
        bottom: 95px;
    }


    #header #logo h1 {
        font-size: 28px;
    }

    #intro h2 {
        font-size: 28px;
    }
    #intro .carousel-content
    {
        padding-right: 20px;
    }
    #intro .carousel-indicators li {
        width: 10px;
        height: 10px;
    }
    #nav-menu-container {
        display: none;
    }

    #mobile-nav-toggle {
        display: inline;
    }

    #IdealEMP .img
    {
        max-height: 150px;
        max-width: 150px;
    }
    /****************Login Page *****************/
    .loginpage #login-Head .logo
    {
        margin-top: 12%;
    }
    .loginpage #login-Head .logo img
    {
        height: 150px;
    }
}
@media (min-width: 768px) and (max-width:992px)
{
    #leaderwords .img-box
    {
        width:  150px;
        height: 150px;
    }
    #leaderwords .img-box img
    {
        width:  150px;
        height: 150px;
    }

    .nav-menu a {
        font-size: 14px;
        padding: 0 5px 10px 8px;
    }
    #intro .carousel-indicators li {
        width: 12px;
        height: 12px;
    }
    #intro h2
    {
        font-size: 40px;
    }
    #errorbox .img1
    {
      top: calc(20%);
      left: calc(25%);
      height: 400px;
    }
    
    #errorbox .loderarrow
    {
      top: calc(21%);
      left: calc(25%);
      height: 400px;
    }
    #errorbox .errormessage
    {
      bottom: calc(3%);
    }
    #errorbox .errormessage p
    {
      font-size: 40px;
    }
}
@media (min-width: 993px) and (max-width:1200px)
{
    #leaderwords .img-box
    {
        width:  200px;
        height: 200px;
    }
    #leaderwords .img-box img
    {
        width:  200px;
        height: 200px;
    }

    #testimonials .testimonial-item p {
        width: 80%;
    }
    #errorbox .img1
    {
      top: calc(20%);
      left: calc(28%);
      height: 400px;
    }
    
    #errorbox .loderarrow
    {
      top: calc(21%);
      left: calc(28%);
      height: 400px;
    }
    #errorbox .errormessage
    {
      bottom: calc(3%);
    }
    #errorbox .errormessage p
    {
      font-size: 45px;
    }
}
@media (min-width: 1200px)
{
    #leaderwords .img-box
    {
        width:  250px;
        height: 250px;
    }
    #leaderwords .img-box img
    {
        width:  250px;
        height: 250px;
    }

    #intro p {
        width: 60%;
    }

    #intro .carousel-control-prev,
    #intro .carousel-control-next {
        width: 5%;
    }

    #nav-menu-container {
        padding-right: 60px;
    }
    #errorbox .img1
    {
      top: calc(10%);
    }
    
    #errorbox .loderarrow
    {
      top: calc(11%);
    }
}