@media (max-width: 1400px) {
  .header .logo a img {
    width: 120px;
  }
  .header .menu > ul > li,
  .cta-primary,
  .header .menu > ul > li .sub-menu ul li {
    font-size: 14px !important;
  }
  

  .header .menu > ul {
    gap: 0.5rem;
  }
}

@media (max-width: 1250px) {
  /* img box  */
  .image-panel,
  .option-box {
    height: auto;
  }
}

@media (max-width: 1050px) {
  /* hero section */
  .section-none {
    display: none !important;
  }

  .hero-homesection {
    padding: 0rem 0;
  }

  .hero-image {
    padding: 0.5rem;
  }

  .featurespointersection {
    display: block;
  }
}

@media (max-width: 992px) {
  .v-center {
    justify-content: space-between;
  }

  .header .item-center {
    order: 3;
    flex: 0 0 100%;
  }

  .header .item-left,
  .header .item-right {
    flex: 0 0 auto;
  }

  .header .mobile-menu-trigger {
    display: flex;
    height: 30px;
    width: 30px;
    margin-left: 15px;
    cursor: pointer;
    align-items: center;
    justify-content: center;
  }

  .header .mobile-menu-trigger span {
    display: block;
    height: 2px;
    background-color: #333333;
    width: 24px;
    position: relative;
  }

  .header .mobile-menu-trigger span:before,
  .header .mobile-menu-trigger span:after {
    content: "";
    position: absolute;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #333333;
  }

  .header .mobile-menu-trigger span:before {
    top: -6px;
  }

  .header .mobile-menu-trigger span:after {
    top: 6px;
  }

  .header .item-right {
    align-items: center;
  }

  .header .menu {
    position: fixed;
    width: 320px;
    background-color: #ffffff;
    left: 0;
    top: 0;
    height: 100%;
    overflow: hidden;
    transform: translate(-100%);
    transition: all 0.5s ease;
    z-index: 1099;
  }

  .header .menu.active {
    transform: translate(0%);
  }

  .header .menu ul li {
    line-height: 1;
    margin: 0;
    display: block;
  }

  .header .menu ul li a {
    line-height: 50px;
    padding: 0 50px 0 15px;
    display: block;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  }

  .header .menu > ul > li .sub-menu ul li a {
    line-height: 30px !important;
  }

  .header .menu ul li a i {
    position: absolute;
    height: 50px;
    width: 50px;
    top: 0;
    right: 0;
    text-align: center;
    line-height: 50px;
    transform: rotate(-90deg);
  }

  .header .menu .mobile-menu-head {
    display: flex;
    height: 50px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 501;
    position: sticky;
    background-color: #ffffff;
    top: 0;
  }

  .header .menu .mobile-menu-head .go-back {
    height: 50px;
    width: 50px;
    border-right: 1px solid rgba(0, 0, 0, 0.1);
    cursor: pointer;
    line-height: 50px;
    text-align: center;
    color: #000000;
    font-size: 16px;
    display: none;
  }

  .header .menu .mobile-menu-head.active .go-back {
    display: block;
  }

  .header .menu .mobile-menu-head .current-menu-title {
    font-size: 15px;
    font-weight: 500;
    color: #000000;
  }

  .header .menu .mobile-menu-head .mobile-menu-close {
    height: 50px;
    width: 50px;
    border-left: 1px solid rgba(0, 0, 0, 0.1);
    cursor: pointer;
    line-height: 50px;
    text-align: center;
    color: #000000;
    font-size: 25px;
  }

  .header .menu .menu-main {
    overflow-x: hidden;
    overflow-y: auto;
    height: auto;
    padding: 1rem !important;
    flex-direction: column;
  }

  .header .menu > ul > li .sub-menu.mega-menu,
  .header .menu > ul > li .sub-menu {
    visibility: visible;
    opacity: 1;
    position: absolute;
    box-shadow: none;
    margin: 0;
    padding: 1rem;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding-top: 65px;
    max-width: none;
    min-width: auto;
    display: none;
    transform: translateX(0%);
    overflow-y: auto;
  }

  .header .menu > ul > li .sub-menu.active {
    display: block;
    background-color: #ffffff;
  }

  @keyframes slideLeft {
    0% {
      opacity: 0;
      transform: translateX(100%);
    }

    100% {
      opacity: 1;
      transform: translateX(0%);
    }
  }

  @keyframes slideRight {
    0% {
      opacity: 1;
      transform: translateX(0%);
    }

    100% {
      opacity: 0;
      transform: translateX(100%);
    }
  }

  .header .menu > ul > li .sub-menu > ul > li > a,
  .header .menu > ul > li .sub-menu.mega-menu > .list-item > ul > li > a {
    display: block;
    display:flex;
  }

  .header .menu > ul > li .sub-menu.mega-menu > .list-item > ul {
    margin-bottom: 15px;
  }

  .menu-overlay {
    position: fixed;
    background-color: rgba(0, 0, 0, 0.5);
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 1098;
    visibility: hidden;
    opacity: 0;
    transition: all 0.5s ease;
  }

  .menu-overlay.active {
    visibility: visible;
    opacity: 1;
  }

  .menu-offer-banner,
  .offer-menu-img {
    display: block;
  }

  .header-sidebar-btn-flex {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
    flex-wrap: wrap;
  }

  .cta-flex-header {
    display: flex;
    justify-content: center;
    gap: 1rem;
  }

  /* hero section */

  .main-content {
    padding: 0 5%;
  }

  /* before -after  */

  .servicefadded-effect::before,
  .servicefadded-effect::after {
    width: 100px;
  }

  .text-marquee::before,
  .text-marquee::after {
    width: 100px;
  }

    /*card flex*/
    
    .card-flex{
        gap:1.5rem;
        padding:30px;
    }
    
  /* footer  */

  .custom-col {
    flex: 0 0 50%;
    max-width: 50%;
    margin-bottom: 2rem;
  }

  .footer-top-nav {
    gap: 1rem;
    flex-wrap: wrap;
    text-align: center;
  }

  .footer-top-nav li {
    flex-basis: calc(50% - 1rem);
    font-size: 1rem !important;
  }

  .flex-link {
    justify-content: center;
  }

  .flex-link a {
    font-size: 1rem !important;
  }

  /* service page */

  .services-hero-section::after {
    display: none;
  }

  .service-page-inner-text {
    padding-bottom: 3rem;
  }

  .service-page-inner-img video {
    max-width: 100%;
  }
  
  /*blog*/
/*  .parent {*/
/*        grid-template-rows: auto;*/
/*        grid-template-columns: repeat(2, 1fr);*/
/*    }*/

/*    .blog-grid-box {*/
/*        grid-column: auto;*/
/*        grid-row: auto;*/
/*    }*/
    
/*    .blog-grid-box:nth-child(3), .blog-grid-box:nth-child(4),.blog-grid-box:nth-child(5),.blog-grid-box:nth-child(6){*/
/*      grid-column: auto;*/
/*        grid-row: auto;*/
/*}*/

.blog-grid-box{
    height:100% !important;
}

}

@media (max-width: 768px) {
  section {
    padding: 3rem 0;
  }

  .service-card {
    border-radius: 25px;
    margin: 5px;
  }

  .cta-container {
    display: block;
  }

  .nav-container {
    overflow: hidden;
    overflow-x: hidden;
    padding-bottom: 1rem;
    overflow-x: scroll;
    margin-bottom:3rem;
  }

  .nav {
    flex-wrap: nowrap !important;
    justify-content: flex-start;
  }

  .nav-item {
    flex: 1 0 50%;
  }
  
  .nav-tabs .nav-link{
      padding: 10px 15px;
      font-size:12px !important;
  }

  .tabcontentinner {
    width: 100%;
     padding: 40px 20px;
  }
  
  .inner-content {
    padding: 1rem;
  }
  
   .parent {
        grid-template-rows: auto;
        grid-template-columns: repeat(1, 1fr);
    }
}

@media (max-width: 576px) {
  /* header  */

  .header .logo a img {
    width: 140px;
  }
  
  .hero-content p.subtitle br{
      display:none;
  }

  .servicefadded-effect::before,
  .servicefadded-effect::after {
    width: 0px !important;
  }

  .serviceslider :is(.owl-carousel .owl-item) {
    opacity: 0.3 !important;
    transition: all 0.3s ease;
  }

  .serviceslider :is(.owl-carousel .center) {
    opacity: 1 !important;
  }

  .text-marquee::before,
  .text-marquee::after {
    width: 50px;
  }

  .logo-item {
    padding: 0;
  }

  .study-item .stats {
    flex-wrap: wrap;
  }

  .study-item .stats .value {
    flex-basis: 100%;
    border-right: none;
  }

  .value {
    margin-bottom: 0px !important;
  }

  .slider-track a {
    min-width: 150px;
    margin: 0 0.5rem;
  }
  
  .stickybox{
      position:sticky;
  }
  
  .stickybox:nth-child(1){
      top:80px;
  }
  
  .stickybox:nth-child(2){
      top:100px;
  }
  
  .stickybox:nth-child(3){
      top:120px;
  }
  
   .stickybox:nth-child(4){
      top:140px;
  }
  
  

  /* footer */

  .custom-col {
    flex: 0 0 100%;
    max-width: 100%;
    margin-bottom: 2rem;
  }

  /* feature page  */

 .service-featured-item, .custom-featured-item {
    flex-wrap: wrap;
    gap: 2rem;
  }

  .service-feature-icon {
    width: 100%;
  }
  
  .comparison-row{
      padding:2rem 0;
  }
  

  .comparison-text-box {
    padding: 2rem;
  }
  
  .step-content-wrapper, .step-content-img{
       padding: 2rem 0;
  }

  .central-cta-box {
    padding: 3rem 1rem;
  }
  
  /*priceing page*/
  
  .toggle-container {
      justify-content:center;
      text-align:center;
  }
}
