@media (max-width: 1920px) {
    .rg-navbar-container{
      max-width: 1900px !important;
    }
    .rg-mega-menu{
      transform: translateX(15%) !important;
    }
    .hero-content,
    .hero-slider .hero-content{
      padding: 270px 0;
    }
}
@media (max-width: 1600px) {
    .rg-mega-menu{
      transform: translateX(-8%) !important;
    }
    .hero-content,
    .hero-slider .hero-content{
      padding: 170px 0;
    }
}
@media (max-width: 1400px) {
    .rg-navbar-container{
      max-width: 1350px !important;
    }
    .rg-mega-menu{
      transform: translateX(-20%) !important;
    }
    .rg-hero-content h1{
      font-size: 30px;
    }
    .rg-hero-content p{
      font-size: 14px;
    }
    .rg-explore{
      font-size: 13px;
    }
    .subscribe-wrapper{
      padding: 50px 20px !important;
    }
    .all-page-navbar .rg-navbar-container{
      max-width: 1190px !important;
    }
    .hero-content,
    .hero-slider .hero-content{
      padding: 120px 0;
    }
    .journey-search-section .journey-search-btn{
          font-size: 11px;
      }
}
@media (max-width: 1300px) {
    /*.all-page-navbar.rg-navbar {*/
    /*  top: 63px !important;*/
    /*}*/
    .slide-bg img{
        height: 100%;
    }
}
@media (max-width: 1200px) {
    .rg-mega-menu {
      max-width: calc(4 * 120px + 3 * 24px + 2 * 24px);
    }
    .rg-mega-menu-content {
      grid-template-columns: repeat(4, 1fr);
    }
}
@media (min-width: 993px) {
  .mobile-mega-menu { display: none !important; }
  .rg-navbar-has-dropdown:hover .rg-dropdown-menu {
      display: flex !important;
    }
}
@media (max-width: 992px) {
    /*.all-page-navbar.rg-navbar {*/
    /*  top: 65px !important;*/
    /*}*/
    .all-page-navbar .rg-mega-menu {
      transform: translateX(0%) !important;
    }
    .desktop-mega-menu { display: none !important; }
    .rg-navbar-toggle {
      display: flex;
    }
    .rg-navbar-menu {
      display: none;
      flex-direction: column;
      position: absolute;
      top: 70px;
      left: 0;
      width: 100vw;
      background: white;
      padding: 24px 0 24px 0;
      z-index: 100;
      gap: 0;
    }
    .rg-navbar-menu.rg-navbar-menu-open { display: flex; }
    .rg-navbar-menu li { width: 100%; text-align: left; }
    .rg-navbar-menu li a { display: block; width: 100%; padding: 10px 24px; color: var(--text-color-dark); }
    .rg-mega-menu {
      position: static;
      transform: none;
      min-width: 100%;
      min-height: 0;
      border-radius: 0;
      box-shadow: none;
      padding: 18px 10px;
      background: rgba(255,255,255,0.98);
    }
    .rg-mega-menu-content {
      flex-wrap: wrap !important;
      gap: 10px !important;
      justify-content: flex-start !important;
    }
    .rg-mega-menu-content img { height: 60px; width: 130px; }
    .rg-dropdown-menu {
      position: static !important;
      width: 100% !important;
      left: 0 !important;
      transform: none !important;
      min-width: 0 !important;
      max-width: none !important;
      box-shadow: none !important;
      border-radius: 0 !important;
      background: #fff !important;
    }
    .rg-dropdown-menu a {
      color: var(--text-color-dark) !important;
      padding: 14px 24px;
      border-bottom: 1px solid #333;
    }
    .rg-dropdown-menu a:last-child {
      border-bottom: none;
    }
    .rg-mega-menu-content a{
      border-bottom: 1px solid black;
    }
    .rg-dropdown-menu {
      position: static;
      box-shadow: none;
      display: none;
      padding: 0;
      background: #fff;
      width: 100%;
      min-width: 0;
      max-width: none;
      border-radius: 0;
    }
    .rg-navbar-has-dropdown.open .rg-dropdown-menu {
      display: block;
    }
    #multicity-second-row,
      #multicity-container .row{
        border-top: 1px solid rgb(190, 190, 190) !important;
      }
      .journey-form > div:nth-child(3), 
      .journey-form > div:nth-child(4), 
      .journey-form > div:nth-child(5),
      .journey-search-btn{
        margin-top: 10px;
      }
}
@media (max-width: 991px) {
    .popular-airlines-section {
        padding: 60px 0;
    }
    .popular-airlines-title {
        font-size: 30px;
        text-align: center;
    }
    .popular-airlines-subtitle {
        text-align: center;
        margin-bottom: 40px;
    }
    .airline-logos-grid {
        grid-template-columns: repeat(3, 1fr); /* 3 columns for tablets */
        gap: 15px;
    }
    .airline-logo-item {
        height: 100px;
        padding: 15px;
    }
    .airline-logo-item img {
        max-height: 45px;
    }
    .journey-search-section .container {
        padding: 30px;
    }
    .slider-nav {
        right: 20px;
        top:15%;
    }
    .slide-bg img{
        height: 100%;
    }
    .hero-slider {
        height: auto;
        min-height: 600px;
        margin-bottom: 0;
    }
    .hero-swiper {
        overflow: hidden;
    }

    .hero-content {
        padding: 60px 15px;
        max-width: 100%;
    }

    .hero-content h1 {
        font-size: 48px;
    }

    .feature-boxes {
        position: relative;
        bottom: auto;
        margin-top: 30px;
    }

    .feature-box {
        margin-bottom: 20px;
    }

    .feature-image {
        height: 150px;
    }
    .hero-content h1::after{
        display: none;
    }
    .margin-bottom-40{
        margin-bottom: 40px;
    }
    .footer-widget {
        margin-bottom: 30px;
    }
    .journey-search-section {
        position: relative;
        margin-top: -50px;
        bottom: auto;
    }
}
@media (max-width: 991.98px) {
    .journey-search-section {
      padding-top: 1.5rem;
      padding-bottom: 1.5rem;
    }
    .journey-search-section .journey-search-box {
      padding: 1rem 0.2rem 0.7rem 0.2rem;
    }
    .journey-search-section .journey-form .col-md-3, .journey-search-section .journey-form .col-md-2, .journey-search-section .journey-form .col-md-1, .journey-search-section .journey-form .col-md-4 {
      flex: 0 0 100%;
      max-width: 100%;
    }
    .journey-search-section .journey-form {
      /* row-gap: 0.7rem; */
    }
    .journey-search-section .journey-input-box,
    .journey-search-section .swap-icon-box {
      min-width: 100%;
      width: 100%;
      height: 0;
      /* margin-bottom: 10px; */
    }
    .journey-search-section .swap-icon-box img{
      display: none;
    }
    .journey-search-section .col-auto{
      margin: 0;
    }
}
@media (max-width: 900px) {
    .rg-mega-menu {
      max-width: calc(2 * 120px + 1 * 24px + 2 * 24px);
    }
    .rg-mega-menu-content {
      grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 767px) {
    .footer-widget {
        text-align: center;
    }

    .footer-widget h3 {
        text-align: center;
    }

    .footer-widget h3::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-social {
        justify-content: center;
    }

    .footer-links a {
        justify-content: center;
    }

    .contact-info li {
        justify-content: center;
    }

    .footer-description {
        margin-left: auto;
        margin-right: auto;
    }
    .popular-airlines-section {
        padding: 40px 0;
    }
    .popular-airlines-title {
        font-size: 26px;
    }
    .airline-logos-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 columns for smaller mobile */
        gap: 10px;
    }
    .airline-logo-item {
        height: 90px;
        padding: 10px;
    }
    .airline-logo-item img {
        max-height: 35px;
    }
}
@media (max-width: 767.98px) {
    .journey-search-section {
      padding-top: 1.5rem;
      padding-bottom: 1.5rem;
    }
    .journey-search-section .journey-search-box {
      padding: 1rem 0.2rem 0.7rem 0.2rem;
    }
    .journey-search-section .journey-form .col-md-3, .journey-search-section .journey-form .col-md-2, .journey-search-section .journey-form .col-md-1 {
      flex: 0 0 100%;
      max-width: 100%;
    }
    .journey-search-section .journey-form {
      row-gap: 0.7rem;
    }
}
@media (max-width: 600px) {
    .rg-mega-menu {
      max-width: 90vw;
      left: 50%;
      transform: translateX(-50%);
    }
    .rg-mega-menu-content {
      grid-template-columns: 2fr;
    }
}
@media (max-width: 576px) {
    .journey-search-section .container {
        padding: 20px;
    }
    .journey-search-section {
        margin-top: -30px;
    }
    .slider-nav {
        right: 15px;
    }
    
    .nav-button {
        width: 35px;
        height: 35px;
    }
    .hero-slider {
        margin-bottom: 0;
    }
    .journey-search-section .journey-title{
        font-size: 25px !important;
    }
    .hero-content h1 {
        font-size: 36px;
    }

    .hero-content {
        padding: 40px 15px;
    }

    .feature-image {
        height: 120px;
    }

    .feature-boxes {
        margin-top: 33px;
    }
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .footer-links-bottom {
        justify-content: center;
    }
}
@media all and (max-width: 500px) {
    .rg-navbar-logo img{
        height: 60px !important;
    }
    .journey-form > div:nth-child(3), 
      .journey-form > div:nth-child(4), 
      .journey-form > div:nth-child(5),
      .journey-search-btn{
        margin-top: 0;
      }
}
@media (max-width: 480px) {
    .airline-logos-grid {
        grid-template-columns: repeat(1, 1fr); /* 1 column for very small screens */
    }
    .airline-logo-item {
        height: 80px;
    }
    .airline-logo-item img {
        max-height: 30px;
    }
}
@media (max-width: 430px) {
      .journey-search-section .journey-popular-search .btn{
          margin: 5px;
      }
      .journey-search-section .journey-tabs{
          gap: 16px !important;
      }
}