/* ==========================================================================
    Media Queries
========================================================================== */
@media (max-width:2200px) {
  .container{
    max-width: 1600px;
  }
  
}
@media (max-width:1520px) {
  .container{
    max-width: 1280px;
  }
  .mega_menu{
    left: -100% !important;
    margin-top: 0 !important;
  }
  .insta_post iframe{
    height: 460px !important;
  }
  .header .container {
      padding: 0 2% 0 0;
  }
  .value .row {
    padding: 0 156px;
  }
  .angry-grid {
      padding: 0 100px;
  }
  .imc_sec h6{
    font-size: 24px;
  }
  .imc_sec p {
    font-size: 20px;
    line-height: 36px;
    margin-bottom: 13%;
  }
  .imc_sec img {
    width: 400px;
  }
  .meet ul {
    width: 500px;
  }
  .pg_title {
    font-size: 34px;
  }
  .uper-footer p {
    font-size: 14px;
  }
  .mega_menu {
    left: -200% !important;
  }
  .reg_button {
    color: #FFF;
    font-size: 19px;
    padding: 5px 30px;
  }
  .socialdiv{
    padding: 7% 0% !important;
    overflow: hidden;
  }
  .twit_height{
    height: 480px;
    overflow: hidden;
  }
}

@media (max-width:1380px) {
  .container{
    max-width: 1180px;
  }
  .value .row {
    padding: 0 111px;
  }
  .banner h1 {
    font-size: 37px;
    line-height: 58px;
  }
  .why_hfcl .card .card-title{
    font-size: 20px;
  }
  .imc_sec {
    padding: 10% 0 7% 0;
  }
  
}

@media (max-width: 860px) {

  body{
      height: auto;
      width: 100%;
      background: rgb(33,108,186) url(../img/body_bg.jpg) repeat-x top center;
      background-size: cover;
    }
    
    .navbar-collapse{
      width: 100%;
      height: 92vh;
      padding: 8% 0 4% 0;
      background: #1d48a2;
      position: absolute;
      left: 0;
      top: 100%;
      overflow-y: auto;
      padding-bottom: 8%;
      z-index: 999;
    }
    .mega_menu{
      width: 100%;
      padding: 15px !important;
      left: 0;
    }
    .mega_menu li ul{
      margin-bottom: 30px;
    }
    .offcanvas-start .navbar-nav {
        width: 100%;
    }

    .navbar-light .navbar-nav .nav-link {
        text-align: left;
        padding: 15px 30px;
    }

    .dropdown-item {
        padding: 12px 0 12px 45px;
    }

    .dropdown-menu {
        box-shadow: none;
        padding: 0;

    }

    #header .container {
        padding: 0  25px;
    }
    .navbar-light .navbar-toggler {
        color: #fff;
        border-color: transparent;
    }
    #header{
        height: 60px;
    }
    .hamburger-lines {
        display: block;
        height: 20px;
        width: 29px;
        position: absolute;
        top: 17px;
        right: 20px;
        z-index: 2;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        z-index: -1;
      }
      
      .hamburger-lines .line {
        display: block;
        height: 2px;
        width: 100%;
        border-radius: 10px;
        background: #fff;
      }
      
      .hamburger-lines .line1 {
        transform-origin: 1% 0%;
        transition: transform 0.4s ease-in-out;
      }
      
      .hamburger-lines .line2 {
        transition: transform 0.2s ease-in-out;
      }
      
      .hamburger-lines .line3 {
        transform-origin: 10% 100%;
        transition: transform 0.4s ease-in-out;
      }
      .navbar-toggler .checkbox{
        opacity: 0;
      }
      .navbar-toggler input[type="checkbox"]:checked ~ .menu-items {
        transform: translateX(0);
      }
      
      .navbar-toggler input[type="checkbox"]:checked ~ .hamburger-lines .line1 {
        transform: rotate(45deg);
      }
      
      .navbar-toggler input[type="checkbox"]:checked ~ .hamburger-lines .line2 {
        transform: scaleY(0);
      }
      
      .navbar-toggler input[type="checkbox"]:checked ~ .hamburger-lines .line3 {
        transform: rotate(-45deg);
      }
      
      .navbar-toggler input[type="checkbox"]:checked ~ .logo{
        display: none;
        
      }
      .adv_ul li {
        width: calc((100% - 20px) / 2);
        margin-bottom: 20px;
      }
      .navbar-toggler:focus{
        box-shadow: none;
      }
      .navbar-light .navbar-nav .nav-link {
        font-size: 13px;
        font-weight: 500;
    }
    .mega_menu{
      width: 100%;
      padding: 15px !important;
      left: 0;
    }
    .mega_menu li ul{
      margin-bottom: 30px;
    }
    .navbar-brand{
      padding-left: 20px;
    }
    .banner-content{
      padding: 0;
    }
    .banner h1 {
      font-size: 29px;
      line-height: 42px;
      margin-top: 6%;
      margin-bottom: 3%;
    }
    .banner p {
      margin-top: 8%;
    }
    .banner-content img {
      margin-top: 10%;
      width: 100PX;
    }
    .pg_title {
      font-size: 24px;
    }
    .value .row{
      padding: 0;
    }
    .value ul{
      background: none;
    }
    .why_hfcl{
      overflow: hidden;
    }
    .header {
      height: 65px;
  }
  .banner-content img{
    width: 150px;
  }
  
}

@media (max-width: 768px) {
  .uper-footer h4 {
    margin: 40px 0;
  }
  .social_icon {
    text-align: center;
  }
  .foot_logo {
    display: none;
  }
  .socialdiv h5{
    font-size: 18px;
  }
  .socialdiv span {
    font-size: 20px;
  }
}

@media (max-width: 600px) {
  .value ul li{
    width: 100%;
    margin-bottom: 15px;
    border-radius: 25px !important;
  }
  .value ul::before{
    display: none;
  }
  .angry-grid {
    padding: 0;
  }
  .pg_title {
    font-size: 21px;
  }
  .why1{
    margin-bottom: 15px;
  }
  .why1 .card img{
    height: 200px;
    object-fit: cover;
    background: #a3b8e5;
    border-radius: 15px;
  }
  .why_hfcl .card .card-title {
    font-size:16px !important;
    font-weight: 500;
    line-height: 26px !important;
  }
  .whatyou .card{
    margin-bottom: 15px;
  }
  .whatyou .card .card-title {
    font-size: 18px;
    line-height: 27px;
  }
  .whatyou .card .card-text {
    font-size: 12px;
    font-weight: 300;
    line-height: 20px;
  }
  .imc_sec p {
    font-size: 15px;
    line-height: 28px;
  }
  .imc_sec img {
    width: 300px;
  }
  .imc_sec h6 {
    font-size: 19px;
    line-height: 35px;
  }
  .meet {
    padding: 12% 0;
  }
}

@media (max-width: 480px) {
  .meet ul {
    width: 90%;
    padding-left: 0;
  }
  .meet ul li:first-child {
    transform: translateX(20px);
  }
}

@media (max-width: 360px) {
  
}

@media (max-width: 320px) {

}