
@include respond-to(down-sm) {
  $section-space: 30px;
  $section-heading-font: 22px;
  $md-font: 16px;
  section{
    // padding-top: $section-space !important;
    padding-bottom: $section-space !important;
  }
  .pt-section{
    padding-top: $section-space !important;
  }
  .pb-section{
    padding-bottom: $section-space !important;
  }
  .section-heading {
    padding-bottom: $section-space !important;
}
  .card-image{
    .img-fluid{
      max-width: 200px !important
    }
  }  
  .plan-box, .card-caption{
    text-align: center;
  }
  .banner{
    .banner-content{
      .banner-wrap{
        text-align: center;
      }
    }
  } 
  
  .focusing{
    >.row{
      >[class*="col-"]{
        &:first-child{
          padding-top: 0 !important;
        }
        &:last-child{
          padding-bottom: 0 !important;
        }
      }
    }
  } 
  .plan-box{
    &:nth-child(even){
      .img-section{
        order: 1;
      }
      .content-section{
        order: 2;
      }
    }
  }
  .new-in-company{
    >.row{
      >[class*="col-"]{
        padding-top: 15px;
        padding-bottom: 15px;
        &:first-child{
          padding-top: 0;
        }
        &:last-child{
          padding-bottom: 0;
        }
      }
    }
    .new-card{
      text-align: center;
    }
  }

  .get-que{
    .card-caption{
      margin-top: 30px;
    }
  } 
  .footer {
    text-align: center;
    >.container{
      >.row{
        >[class*="col-"]{
          &:nth-child(2){
            order: 3;
          }
          &:nth-child(3){
            order: 4;
          }
          &:nth-child(4){
            order: 2;
          }
          &:nth-child(5){
            order: 5;
          }
          &:nth-child(6){
            order: 6;
          }     
        }
      }
    }
    .contact-us{
      .contact-media{
        padding-left: 0;
        .contact-icon{
          position: static;
          margin: 0 auto 10px auto;
        }
      }
    }
    .social-icons{
      margin-bottom: 1rem;
    }
  }
  .hyper-product{
    text-align: center;
  }
  .banner{
    &.inner-banner{
      height: auto;
      display: flex;
      align-items: center;
      justify-content: center;
      min-height: 250px;
      &::before{
        z-index: 2;
      }
      .home-banner{
        position: absolute;
        top: 0;
        bottom: 0;
      }
      .banner-content{
        position: relative;
        z-index: 2;
        transform: none;
        padding: $section-space 0;
        .banner-wrap{
          max-width: 100%;
        }
        .banner-para{
          font-size: 24px;
          line-height: 36px;
        }
        .banner-para-2{
          font-size: 18px;
          line-height: 28px;
        }
      }
    }
  }  
  .address-block{
    margin-bottom: $section-space !important;
    text-align: center;
  }
  .culture{
    .career-image{
      margin-top: $section-space !important;
    }
  }
  .more-resource{
    border-top: 1px solid $stroke-color;
    border-bottom: 0;
    padding-bottom: 15px;
    padding-top: 15px;
    &:last-child{
      border-bottom: 0;
    }
    &:first-child{
      padding-top: 15px;
    }
  }
  .what-we-do {
    .we-do-box {
      .box-column {
        position: static;
        padding: 0 15px;
        .card-image {
          @include border-radius(15px !important);
          height: 200px;
          .img-put {
            @include border-radius(15px !important);
          }
        }
      }
      .box-content {
        padding-top: $section-space !important;
        padding-bottom: 0;        
        .section-sub-heading, .section-heading{
          text-align: center !important;
        }
      }
    }    
  }
  .our-purpose {
    padding-top: $section-space !important;
    padding-bottom: $section-space !important;
  }
  .directors{
    .nav-director{
      display: none;
    }
    .tab-content{
      margin-top: 0;
      .tab-inner-content{
        // margin-top: 15px;
        @include border-radius(0 0 $radius-common $radius-common);
        // margin-top: -2px;
        background-color: $white;
        text-align: center;
        padding: 15px 0 0 0;
      }
      .director-accordion{
        $director-img: 70px;
        margin-bottom: 10px;
        .director-box{
          position: relative;
          // border-bottom: 1px solid $stroke-color;
          padding: 10px;
          background-color: $tab-bg;
          @include border-radius(10px);
          .member-image{
            width: $director-img;
            height: $director-img;
            position: absolute;
            left: 10px;
            @include border-radius(10px);
          }
          .member-details{
            padding-left: $director-img + 10px;
            padding-right: 30px + 10px;
            text-align: left;
            .name{
              margin-top: 0;
              font-size: 16px;
              margin-bottom: 0.3rem;
            }
            .designation{
              font-size: 12px;
            }
            .social{
              margin-top: 10px;
              li{
                margin-right: 10px;
                a{
                  &.nav-link{
                    position: absolute;
                    top: 10px;
                    right: 10px;
                  }
                  img{
                    max-width: 20px;
                  }
                }
              }
            }  
          }
        }
      }
    }
  }
  .resource-heading, .more-resource, .resource-para{
    text-align: center;
  }
  #faqTabContent{
    padding: $section-space 0 !important;
  }
  .content-pages{
    text-align: center;
    padding-top: $section-space;
    .content-section{
      .section-heading{
        text-align: center !important;
      }
    }
  }
  $list-img: 50px;
.overview-list{
  >.row{
    [class*="col-"]{
      padding: 0 15px 15px 15px;
      &:last-child{
        padding-bottom: 0;
      }
    }
  }
  .card{
    min-height: auto;
    .card-body{
      padding: 15px;
      .card-list-img{
        width: $list-img;
        height: $list-img;
        margin-right: 15px;
      }
      .card-list-title{
        font-size: 15px;
        line-height: 22px;
      }
    }
  }
}
}


@include respond-to(down-md) {
  $section-space: 30px;
  $section-heading-font: 22px;
  $md-font: 16px;

  .menu-bar {
    position: absolute;
    top: 15px;
    left: 0;
    z-index: 999;
    display: block;
    width: 25px;
    height: 25px;
    margin-left: 15px;
    background: transparent;
    border: none;
    .hamb-top {
      position: absolute;
      left: 0;
      height: 2px;
      width: 100%;
      background-color: #1a1a1a;
      top: 4px;
    }

    .hamb-middle {
      @extend .hamb-top;
      top: 50%;
      margin-top: -2px;
    }
    .hamb-bottom {
      @extend .hamb-top;
      bottom: 5px;
      top: auto;
    }
  }

  $navbar-brand: 40px;
  $brand-py: 5px;
  .navbar {
    background-color: $white;
    padding: 0;
    border-bottom: 1px solid $stroke-color;
    .container{
      max-width: 100% !important;
    }
    .navbar-brand {
      // margin-left: 55px;
      padding: $brand-py 0;
      width: 100%;
      text-align: center;
      margin-right: 0;
      img {
        height: $navbar-brand;
      }
      .big-logo, .small-logo{
        display: none !important;
      }
    }
  }

  .top-navbar {
    $sidebar-width: 250px;
    .sidebar-header {
      width: $sidebar-width;
      position: fixed;
      top: $navbar-brand + $brand-py * 2;
      bottom: 0;
      height: calc(100% - #{$navbar-brand} - #{$brand-py * 2});
      overflow-y: auto;
      z-index: 5;
      background-color: $primary-color;
      left: -(#{$sidebar-width});
      @include transition($transition-time);
      .navbar-nav {
        .nav-item {
          padding: 0;
          margin: 0;
          .nav-link {
            line-height: normal;
            padding: 10px 15px;
            color: $white;
            font-size: 15px;
            @include border-radius(0);
            @include transition(none);
            &:hover{
              color: $primary-color;
              background-color: $white !important;
              @include transition(none);              
            }
            .pro-icon{
              width: 25px;
              margin-right: 0.5rem;
            }
            &.dropdown-toggle{
              &:after{
                float: right;
                margin-top: 9px;
              }
            }
          }
          
          &.dropdown {
            >.nav-link{
              &:hover{
                color: $white;
                background-color: transparent !important;             
              }
            }
            .dropdown-menu {
              text-align: left;
              padding-bottom: 0;
              width: 100%;
              padding-top: 0 !important;
              background-color: $white !important;
              @include box-shadow(none);
              @include border-radius(0 !important);
              border: 0;
              li {
                margin: 0;
                display: block;
                
                .nav-link {
                  font-size: $base-font-size - 2px;
                  @include border-radius(0 !important);
                  color: $base-color;
                  &:hover{
                    color: $primary-color;
                    background-color: $gray-30 !important;             
                  }
                }
                
              }
            }
            &.show {
              background-color: $white !important;
              > .nav-link {
                font-family: $font-bold;
                color: $primary-color;
              }
            }
          }
        }
      }
    }
  }

  .sidebar-open {
    .sidebar-header {
      left: 0;
    }
    &::after {
      content: "";
      position: fixed;
      top: 0;
      bottom: 0;
      left: 0;
      right: 0;
      background-color: rgba($black, 0.5);
      z-index: 1020;
    }
  }

  .banner {
    margin-top: $navbar-brand + $brand-py * 2 + 1px;
    height: calc(100vh - #{$navbar-brand + $brand-py * 2});
    .caption-heading {
      font-size: 40px !important;
    }
    .caption-text {
      font-size: 20px !important;
    }
    .carousel-control-prev {
      display: none;
    }
    .quote-buttons {
      width: 100%;
      .nav-pills {
        .nav-link {
          font-size: 16px;
          padding: 10px;
        }
      }
    }
  }
  .pt-section{
    padding-top: $section-space;
  }
  .pb-section{
    padding-bottom: $section-space;
  }
  section {
    // padding-top: $section-space;
    padding-bottom: $section-space;
  }
  
  .section-heading {
    font-size: $section-heading-font;
    padding-bottom: $section-space;
    line-height: $section-heading-font + 10px;
    &.pb-2{
      padding-bottom: .5rem!important;
    }
  }
  .focusing{
    >.row{
      >[class*="col-"]{
        padding-top: 15px;
        padding-bottom: 15px;
      }
    }
    .col-main{
      .col-heading{
        margin-top: 20px;
        font-size: $md-font;
      }
    }
  } 
  .planning-list {
    margin-top: 30px;
    li{
      margin-bottom: 15px;
    }
  }
  .plan-box{
    padding-top: 0;
    padding-bottom: $section-space;
    &:last-child{
    padding-bottom: 0;

    }
    .card-image{
      margin-bottom: $section-space;
    }
  }
  .card{
    &.new-card{
      .new-content{
        font-size: 16px !important;
        line-height: 24px !important;
      }
    } 
  }
  .card-cap-heading{
    font-size: $section-heading-font;
  }
  
  .footer {
    padding: $section-space 0;
    .footer-logo{
      padding-bottom: $section-space;
      img{
        max-width: 100%;
      }
    }
    .contact-us{
      margin-top: 15px;
      .contact-media{
        margin-bottom: 15px;
      }
    }
    .subscription{
      margin-top: 15px;
    }
    .copy-rights {
      padding-top: $section-space;
    }
  }
  .culture{
    .career-culture-content{
      padding: $section-space;
    }
  }
  .required-qual{
    .common-listing{
      margin-top: 0;
    }
  } 
  .resource-banner{
    margin: $section-space 0;
    height: auto;
  }
  #faqTabContent{
    padding: $section-space 0;
  }
  .section-sub-heading{
    font-size: 18px;
  }
  .management-team{
    padding-bottom: 15px !important;
    .section-heading{
      padding-bottom: 15px !important;
    }
    .team-card{
      margin-bottom: 15px !important;
      margin-top: 15px !important;
    }
    .pt-section{
      padding-top: 15px !important;
    }
  }
  
  .body-top-space{
    margin-top: 50px;
  }
    
  .infographic{
    .card{
      padding: $section-space 0;
      &:before{
        content: none;
      }
      >.container{
        &:after{
          content: none;
        }
      }
      .right-info{
        &:after{
          content: none;
        }
      }
      .infographic-content{
        @include border-radius(15px);
        background-color: $white;
        padding: 15px;
        text-align: center;
        margin-top: $section-space;
        height: calc(100% - #{$section-space});
        .section-heading{
          padding-bottom: 10px !important;
          text-align: center !important;
        }
        .section-sub-heading{
          padding-bottom: 10px !important;
          text-align: center !important;
        }
      }
      &:nth-child(even){
        &:before{
          content: none;
        }
        >.container{
          .row{
            .info-left-img{
              order: 1;
            }
            .right-info{
              order: 2;
            }
          }
          .infographic-content{
            padding: 15px;
          }
        }
      }
    }
  }
  .hyper-product{
    &.product-page{
     .container{
        &::after{
          content: none;
        }
        &:before{
          content: none;
        }
      }
    }
  }
}



@include respond-to(up-sm) {  
  .director-box{
    display: none;
  }
}

@include respond-to(up-md) {
  .menu-bar, .black-logo {
    display: none;
  }
  .dropdown-toggle{
    &:after{
      content: none;
    }
  }
}
@include respond-to(up-lg) {
  .container {
    max-width: $container;
  }
  .modal-xl {
    max-width: 100%;
    padding: 0 45px 0 60px;
  }
  
}

@include respond-to(md) {  
  .member-image{
    height: 150px;
  }
  .team-card{
    .member-image{
      height: 220px;
    }
  }
}
@include respond-to(lg) {  
  .top-navbar{
    .navbar-brand{
      img{
        max-width: 150px;
        max-height: 50px;
      }
    }
    .navbar-nav{
      .nav-item{
        margin: 5px;
      }
    } 
  } 
}
