@media(max-width:991px){

    .mega-menu{
        padding: 20px;
        max-height: 85vh;
        overflow-y: auto;
    }

}



/* Mobile */
@media(max-width:991px){

/* .main-header .mega-menu{
position:static!important;
transform:none!important;

min-width:100%;
width:100%;

opacity:1!important;
visibility:visible!important;

display:none;

padding:20px!important
}

.main-header .mega-menu-item .dropdown-menu.show{
display:block
} */
 .main-header .mega-dropdown .mega-menu {
        position: static !important;
        transform: none !important;

        width: 100% !important;
        min-width: 100% !important;

        margin: 0 !important;
        padding: 15px !important;

        display: none;
        opacity: 1 !important;
        visibility: visible !important;

        max-height: 75vh;
        overflow-y: auto;
    }

    .main-header .mega-dropdown .mega-menu.show {
        display: block !important;
    }
     /* Main mega layout */
    .main-header .mega-shell {
        display: block !important;
        width: 100% !important;
    }

    /* Services list */
    .main-header .mega-aside {
        width: 100% !important;
    }

    .main-header .mega-service-list {
        width: 100% !important;
    }

    /* Sub-service panels */
    .main-header .mega-panels {
        width: 100% !important;
        margin-top: 20px;
    }

    .main-header .mega-panel {
        width: 100% !important;
    }

    /* Promo */
    .main-header .mega-promo {
        width: 100% !important;
        margin-top: 20px;
    }

    .main-header .mega-promo-img {
        max-width: 100%;
        height: auto;
    }
    .mega-panel {
    display: none !important;
}


    /* Smooth dropdown */
    .main-header .nav-panel,
    .main-header .mega-menu {
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        visibility: hidden;
        padding-top: 0 !important;
        padding-bottom: 0 !important;
        transition:
            max-height 0.35s ease,
            opacity 0.25s ease,
            padding 0.35s ease,
            visibility 0.35s ease;
    }
    .nav-link.active{
    display: inline-block;
    }
    .navbar-toggler:focus{
        box-shadow: none;
    }

    /* Open */
    .main-header .nav-panel.show,
    .main-header .mega-menu.show {
        max-height: 1000px;
        opacity: 1;
        visibility: visible;
        padding-top: 15px !important;
        padding-bottom: 15px !important;
    }

    /* Arrow */
    .main-header .dropdown-toggle::after {
        transition: transform 0.3s ease;
    }

    .main-header .dropdown-toggle[aria-expanded="true"]::after {
        transform: rotate(180deg);
    }

}










        @media (min-width: 992px) {
  .navbar .dropdown-menu {
    display: block;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.2s ease;
  }

  .navbar .dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
}

@media(max-width:1399px){
.built-sec .built-slider-wrap{
    padding-left:calc((100% - 1140px)/2 + 33.333%);
}
}

@media(max-width:1199px){
.built-sec .built-slider-wrap{
    padding-left:calc((100% - 960px)/2);
    margin-top:50px;
}
.hdg1{font-size: 35px;}
.ss-step-number { 
        width: 4.4rem;
    height: 4.4rem;
        font-size: 25px;
}
}


@media(max-width:991px){
.built-sec .built-slider-wrap{
    padding-left:15px;
    margin-top:50px;
}

.news-wrapper{
grid-template-columns:1fr
}

.news-card,
.small-card{
min-height:400px
}

.approach-row{
grid-template-columns:repeat(2,1fr)
}

.approach-row .a-prochbox:nth-child(even){
margin-top:40px
}

}


@media (max-width: 768px) {
      [class*="grid"] {
        min-width: 0;
        max-width: 100%;
    }

    [class*="grid"] > * {
        min-width: 0;
        max-width: 100%;
    }

    [class*="grid"] img,
    [class*="grid"] video {
        max-width: 100%;
        height: auto;
    }
 html,
    body {
        /* See style.css: clip keeps sticky working. */
        overflow-x: clip;
    }

.video-section{
    height: auto;
}
.home-logo {
    padding: 5px;
}
.counter-grid{grid-template-columns: repeat(4, 2fr);}
.counter-grid > div:nth-child(n+4) {
    grid-column: span 2;
}
.counter-card{
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.usual-card h3 {
    font-size: 18px;
    font-weight: 400;
}
.work-home {
    padding-bottom: 0rem;
}
    .work-grid {
grid-template-columns: repeat(2, 1fr);
    }
    .workhome-txt{
            padding: 15px 0;
    }
    .caption{
        font-size: 17px;
    }
    .news-wrapper {
    margin-bottom: 0px;
    grid-template-columns: 1fr;
    padding: 12px;
    }
    .news-card img{
    height: 215px;
    }
    .big-card, .small-card{
    min-height: 220px;
    }
    .approach-row{
    grid-template-columns:1fr, 1fr;
    gap:0;
    }
    .a-prochbox{
    padding: 0px 15px;
    margin-bottom: 30px;
    }

.approach-row .a-prochbox:nth-child(even){
margin-top:0
}
.ss-hero-title{
    font-size: 32px;
    line-height: 42px;
}
 .team-slider .slick-slide {
        padding: 0 8px;
    }

    .ss-aside-card {margin-top: 30px;}
    .team-slider .slick-list {
        margin: 0 -8px;
    }

    .team-slider .col-md-3 {
        width: auto;
    }
    .about-team .image{      
    height: 335px;
    }
    .about-team{
        padding:15px 30px;
    }
    .slick-dots li button:before {
color: #2f9bdc;
    }
    .slick-dots li.slick-active button:before{
        color: #008ed3;
    }
     .journey-track {
           grid-auto-columns: 343px;
        gap: 48px;
  }
  .journey-marker::before {
    left: -24px;
    right: -24px;
  }
  .journey-media img {
    height: 150px;
  }
  .journey-item{
        grid-template-rows: auto;
  }
  .journey-marker{
        display: none;
  }
  .journey-item.is-top .journey-card{
        align-self: auto;
  }
  .a-prochbox{
    align-items: start;
  }
  .a-prochbox p {
    text-align: start;
    padding: 0;
}
  .shade1{
    padding: 30px 0;;
  }
  .pd-phone-2{
        padding: 30px 0;
  }
  .ss-choose-grid{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
      .ss-work-grid {
        grid-template-columns: 1fr 1fr;
    }

    .ss-step::after{
    content: attr(data-title);
    position: absolute;
    bottom: 7px;
    left: 50%;
    writing-mode: horizontal-tb;
    transform: translateX(-45%) rotate(0deg);
    color: #111;
    font-size: 17px;
    font-weight: 500;
    white-space: nowrap;
    opacity: 1;
    transition: opacity .3s ease .15s;
    pointer-events: none;
    }

    .ss-work p {
    font-size: 11px !important;
    }

  .ss-step.is-open {
    flex: 0 0 20rem;
    min-width: auto;
  }
  .ss-step.is-open .ss-step-number{
    width: 5.4rem;
    height: 5.4rem;
    font-size: 28px;
    font-weight: 200;
    margin: 1.6rem 0 auto;
  }
  .ss-overview-grid {
    gap: 0.5rem;
  }
  
    .job-card{
        padding:24px 20px;
    }

    .job-content h4{
        font-size: 19px;
        line-height: 31px;
        margin-bottom: 32px !important;
        font-weight: 400 !important;
    }
    .navbar-nav.mx-lg-auto{
    padding-bottom: 30px;
    }
    .journey-text p{
    font-family: 'Gotham', sans-serif;
    font-weight: 100;
    font-size: 14px;
    line-height: 20px;
    letter-spacing: 0%;
    /* filter: drop-shadow(3px 6px 4px #A7A7A740); */
    padding: 5px 0;
    color: black;
    }
    .main-heading {
    width: 100%;
    }
    .main-heading-home{
        width: 100%;
    }
    .counter-bg img{
    height: 100%;
    }
        .counter-card h2 {
        font-size: 28px;
    }
    .usual-sec .overlay .text{
            padding: 15px;
    }
    .usual-sec .overlay-container{
        min-height: 5rem;
    }


      .core-capabilities-grid {
        display: block;
    }

    .core-capabilities-grid .capability-card {
        margin: 0 8px;
    }

    .core-capabilities-grid .slick-list {
        overflow: hidden;
    }

    .core-capabilities-grid .slick-track {
        display: flex;
    }

    .core-capabilities-grid .slick-slide {
        height: auto;
    }

    .core-capabilities-grid .slick-dots {
        bottom: -30px;
    }


    .work-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .work-box-home img{
           height: 225px;
    object-fit: cover;
}

    .news-wrapper {
        display: block;
        margin: 0;
    }

    .news-wrapper .news-card {
        margin: 0 8px;
    }

    .news-wrapper .slick-track {
        display: flex;
    }

    .news-wrapper .slick-slide {
    height: auto;
    min-height: auto;
    }

    .news-wrapper .slick-dots {
        bottom: -30px;
    }

    .news-wrapper .slick-list {
        overflow: hidden;
    }

    .news-section .container {
        overflow: hidden;
    }

   .news-wrapper.news-wrapper-reverse{
    display:none;
   }

    .approach-row {
        display: block;
        margin: 0 -8px;
    }

    .approach-row .a-prochbox {
        margin: 0 8px;
        height: auto;
    }

    .approach-row .slick-track {
        display: flex;
    }

    .approach-row .slick-slide {
        height: auto;
    }

    .approach-row .slick-list {
        overflow: hidden;
    }

    .approach-row .slick-dots {
        bottom: -30px;
    }
    .u-icon img{
        width: 35px;
    }
    .usual-sec .overlay .text p {
    line-height: 17PX;
    font-size: 13px ! IMPORTANT;
    }


.right-image{
    position: relative;
}





.phone-dispay2{
    font-size: 35px;
}
.pd3 {
    padding: 3rem 0;
}
.built-sec img{
    height: auto;
}
.web-txt{
    font-size: 14px;
}
.built-sec {
    padding: 40px 0;
}

.counter-card {
    min-height: 190px;
}
.home-core-capabilities .core-capabilities-grid{
    grid-template-columns: repeat(1, 1fr);
    gap: 20px 0px;
}
.coretag-right{
    position: relative;
    right: 0;
    top: 0px;
}
.coretag-left {
    position: relative;
    left: 0;
    top: 0px;
}
.card-tags span {
font-size: 10px;
}
.home-core-capabilities .capability-card img{
    height: 350px;
}
.home-core-capabilities .capability-card{
    padding: 15px;
}
.testi-wrapper {
    grid-template-columns: repeat(1, 1fr);
    gap: 5px;
}
.testi-wrapper .testi-box img{
    width: 45px;
}
.footer-title {
font-size: 26px;
}
.work-box-home:nth-child(odd) {
transform: translateY(10px);
}


.big-card,.small-card{
    min-height: 285px;
}
.hdg1 {
    font-size: 34px;
    line-height: 40px;
}
}
