/* ===============================
   HEADER MOBILE RESPONSIVE
   =============================== */

 @media (max-width: 991px) {

  /* Header wrapper */
  .site-header {
    position: relative;
    z-index: 9999;
  }

  .header-container {
    padding: 0 16px;
    height: 64px;
  }

  .header-logo img {
    height: 54px;
  }

  .header-toggle {
    display: block;
    font-size: 22px;
    color: #121826;
  }

  .header-nav {
    position: absolute;
    top: 64px;
    left: 0;
    width: 100%;
    background-color: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 16px;
    gap: 0;
    border-top: 1px solid #e5e7eb;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
  }

  .header-nav.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .nav-link,
  .nav-country,
  .nav-button {
    width: 100%;
    padding: 12px 0;
  }

  .nav-link {
    font-size: 15px;
  }

  .nav-country {
    justify-content: flex-start;
  }

  .nav-call{
    width:100%;
    padding:12px 0;
  }
   .nav-call::before,
  .nav-button::before{
    display: none;
  }
  .nav-call,
  .nav-button{
    padding-left: 0;
  }

} 

@media (max-width: 991px){
  .hero-section{
    min-height: 360px;
    padding: 54px 14px;
  }

  .hero-content{
    max-width: 100%;
    padding: 0 14px;
    margin-top: -26px;
  }

  .hero-content h1{
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
    font-size: 28px;
    line-height: 1.2;
    word-break: break-word; 
    overflow-wrap: anywhere;
  }

  .hero-content p{
    font-size: 15px;
    margin-top: 10px;
  }

  .hero-phone{
    display: inline-block;
    margin-top: 6px;
    font-size: 15px;
  }
}

/* INFO CARDS: ONLY RESPONSIVE (mobile+tablet) */
@media (max-width: 991px){

  .info-cards-section{
    overflow: hidden;
    padding: 34px 14px 34px 14px;
  }

  /* slider */
  .info-cards-grid{
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 16px !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 10px;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin: 0 !important;
  }
  .info-cards-grid::-webkit-scrollbar{ display:none; }
  .info-card{
    flex: 0 0 100% !important;
    width: 100% !important;
    scroll-snap-align: start;
  }
}

@media (max-width: 768px) {
.flight-searchbar-wrap {
margin-top: -110px;
}
.af-date {
    font-size: 10px;
 }
.af-bottom {
    align-items: start;
     flex-direction: column;
}
.af-grid {
        grid-template-columns: auto auto !important;
    }
.af-date {
    font-size: 9px;
}
.af-left {
     font-size: 12px;
}
.af-right {
    text-align: left;
}
.af-price {
    font-size: 14px;
}
.af-per {
    color: #969494;
    font-size: 12px;
}
.fsb-row-title {
    font-size: 12px;
}

}

/* TESTIMONIALS */
@media (max-width: 991px){
  .testimonials-section{
      padding-top: 34px;
      padding-bottom: 34px;
    padding-left: 14px;
    padding-right: 14px;
    overflow: hidden;
  }

  .testimonials-title{
    text-align: center;
  }

  .testimonials-grid{
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 0 !important;
    overflow: hidden !important;
    scroll-snap-type: none !important;
    -webkit-overflow-scrolling: auto;
    padding: 0 !important;
    margin: 0 !important;
  }

  .testimonial-card{
    flex: 0 0 100% !important;
    width: 100% !important;
  }

  /* nav center */
  .testimonial-nav{
    margin-top: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
  }

  .testimonial-nav .nav-btn{
    width: 38px;
    height: 38px;
  }

  .nav-dots{
    display: flex;
    align-items: center;
    gap: 8px;
  }
}


@media (max-width: 1050px){
  .fsb-form{ grid-template-columns: 1fr 36px 1fr; }
  .fsb-btn{ grid-column: 1 / -1; }
  .fsb-top{ flex-wrap: wrap; }
}
@media (max-width: 560px){
  .fsb-tab{ font-size: 18px; }
  .fsb-form{ grid-template-columns: 1fr; }
  .fsb-swap{ display: none; }
}

/* flight search */
@media (max-width: 980px){
  .af-grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px){
  .af-grid{ grid-template-columns: 1fr; }
  .af-img{ height: 180px; }
}

/* hotel search */
@media (max-width: 1050px){
  .sb-form{
    grid-template-columns: 1fr 1fr;
  }
  .sb-btn{
    grid-column: 1 / -1;
  }
  .sb-panel{ width: 100%; }
}
@media (max-width: 560px){
  .sb-tab{ font-size: 18px; }
  .sb-form{ grid-template-columns: 1fr; gap: 12px; }
}


/* REASONS SECTION */
/* MOBILE: icon upar + center, text */
@media (max-width: 780px){
.reasons-section {
padding-top: 0px;
}

  .reasons-box{
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .reason-item{
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
    padding: 14px 12px;
    box-sizing: border-box;
  }

  .reason-icon{
    display: grid;
    place-items: center;
  }

  .reason-icon img{
    width: 44px;
    height: 44px;
    object-fit: contain;
    display: block;
  }

  .reason-text h4{
    font-size: 14px;
    margin: 0 0 4px;
  }

  .reason-text p{
    font-size: 12px;
    margin: 0;
  }
}


/* HOTEL PARTNERS: mobile par marquee*/
@media (max-width: 991px){
  .hotel-partners-section{
    overflow: hidden;
  }

  .partners-grid{
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center;
    gap: 14px;
    width: max-content;
    animation: partnersMarquee 16s linear infinite;
    will-change: transform;
  }

  .partner-card{
    flex: 0 0 calc((100vw - 16px*2 - 14px) / 2);
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .partner-card img{
    height: 100%;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    display: block;
    padding: 5px;
  }

  @keyframes partnersMarquee{
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
  }

  @media (prefers-reduced-motion: reduce){
    .partners-grid{ animation: none; }
  }
}


/* ===========================
   TRENDING VIDEO SECTION
=========================== */
@media (max-width: 991px){

  .trending-section{
    padding: 34px 14px 34px 14px;
  }

  .trending-title,
  .trending-subtitle{
    text-align: center;
  }

  /* slider */
  .trending-grid{
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 14px;
    padding-bottom: 14px; /* dots space */
  }
  .trending-grid::-webkit-scrollbar{ display:none; }

  /* 1 card visible */
  .video-card{
    flex: 0 0 100% !important;
    width: 90% !important;
    height: 540px;
    scroll-snap-align: start;
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    aspect-ratio: 16 / 9 !important;
  }

  /* 16:9 */
  .video-card video{
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
  }

  @supports not (aspect-ratio: 16 / 9){
    .video-card{ height: 0; padding-top: 56.25%; }
    .video-card video{
      position: absolute;
      inset: 0;
      height: 100% !important;
    }
  }

  /* overlay */
  .video-overlay{
    position: absolute !important;
    inset: 0;
    z-index: 1;
  }

  /* content center */
  .video-content{
    position: absolute !important;
    inset: 0 !important;
    z-index: 2;
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 14px;
    gap: 10px;
  }

  .video-content h3{
    margin: 0;
    color: #fff;
    font-size: 26px;
    font-weight: 800;
    letter-spacing: 1px;
  }

  /* buttons center */
  .video-btn{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: min(220px, 82vw);
    padding: 10px 14px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 800;
  }

  /* keep your existing colors; these ensure visibility if not set */
  .video-btn.flight{ background: #ff8a00; color: #fff; }
  .video-btn.hotel{ color: #fff; }

  /* dots*/
  .trending-dots{
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 12px;
  }
  .trending-dots span{
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: #d9d9d9;
  }
  .trending-dots span.active{
    background: #ff8a00;
  }
}

/* PACKAGES SECTION - Responsive (Mobile/Tablet only) */
@media (max-width: 991px){

  .packages-section{
    padding: 34px 14px;
  }

  .packages-title{
    text-align: center;
    font-size: 26px;
    line-height: 1.2;
    padding-top: 20px;
  }

  .packages-subtitle{
    text-align: center;
    font-size: 13px;
    line-height: 1.6;
    margin: 8px auto 0;
    max-width: 520px;
  }

  /* 2 cards -> 1 column */
  .packages-grid{
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 16px !important;
    margin-top: 16px;
  }

  .package-card{
    width: 100%;
  }

  .package-image img{
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
  }

  .package-content{
    padding: 14px;
  }

  .package-content h4{
    font-size: 16px;
    line-height: 1.25;
  }

  .package-meta{
    gap: 8px;
    font-size: 13px;
  }

  .package-footer{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap; /* small screens */
  }

  .package-btn{
    width: 100%;
    height: 42px;
  }
  .price strong {
    font-size: 20px;}
    
    .price small {
    font-size: 14px;}
}

/* AIRLINE PARTNERS: mobile par marquee autopla */
@media (max-width: 991px){

  .airline-partners{ overflow: hidden; padding: 60px 14px;}

  .airline-grid{
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center;
    gap: 14px;
    width: max-content;
    animation: airlineMarquee 12s linear infinite;
    will-change: transform;
  }

  /* 1 card visible */
  .airline-card{
    flex: 0 0 calc(100vw - 16px*2);  /* full width card */
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .airline-card img{
    height: 100%;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    display: block;
  }

  @keyframes airlineMarquee{
    0%{ transform: translateX(0); }
    100%{ transform: translateX(-50%); } /* JS duplicate ke sath seamless */
  }

  @media (prefers-reduced-motion: reduce){
    .airline-grid{ animation: none; }
  }
}


/* EXPLORE CTA: Responsive */
@media (max-width: 991px){

  .explore-cta-section{
    position: relative;
    overflow: hidden;
    padding: 52px 14px;
    height: 420px;
  }

  .cta-overlay{
    position: absolute;
    inset: 0;
    z-index: 1;
  }

  .cta-content{
    position: relative;
    z-index: 2;
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
    padding: 0 6px;
  }

  .cta-content h1{
    margin: 0;
    font-size: 28px;
    line-height: 1.15;
    font-weight: 900;
    word-break: break-word;
    overflow-wrap: anywhere;
  }

  .cta-content h1 br{
    display: none;
  }

  .cta-content p{
    margin: 12px auto 0;
    font-size: 14px;
    line-height: 1.65;
    max-width: 560px;
  }

  .cta-btn{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 16px;
    height: 44px;
    padding: 0 22px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
  }
}

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

  .flight-routes-section{
    padding: 28px 0 !important;
    margin-top: 20px;
    margin-bottom: 20px;
  }

  .flight-routes-title{
    font-size: 22px !important;
    line-height: 1.25 !important;
    margin-bottom: 18px !important;
    padding: 0 14px !important;
  }

  .flight-routes-grid{
    padding: 0 14px !important;
    gap: 12px !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .flight-route-card{
    padding: 8px !important;
    border-radius: 12px !important;
  }

  /* title position for smaller card */
  .flight-route-title{
    top: 12px !important;
    left: 64px !important;
    font-size: 12px !important;
    max-width: 72% !important;
    line-height: 1.15 !important;
  }
  .flight-route-title span{
    font-size: 12px !important;
  }

  .flight-route-shape{
    max-width: 100% !important;
    margin-bottom: 8px !important;
  }

  .flight-route-info{
    padding: 8px 10px 0 !important;
    margin-bottom: 8px !important;
    font-size: 12px !important;
    gap: 10px !important;
  }

  .flight-route-info small{
    font-size: 10px !important;
  }

  .flight-route-info strong{
    font-size: 13px !important;
    font-weight: 600 !important;
  }

  .flight-route-btn{
    width: 100% !important;
    height: 36px !important;
    font-size: 13px !important;
    border-radius: 6px !important;
    margin-bottom: 8px !important;
  }
}

/* WHY FLIGHTS - Mobile/Tablet (2 cards per row, 2 rows) */
@media (max-width: 991px){

  .why-flights-section{
    padding: 32px 14px;
  }

  .why-flights-title{
    text-align: center;
    font-size: 22px;
    line-height: 1.25;
    margin: 0 0 18px;
  }

  .why-flights-grid{
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .why-flight-card{
    border-radius: 12px;
    padding: 14px 12px;
    text-align: center;
  }

  .why-flight-card img{
    width: 48px;
    height: 48px;
    object-fit: contain;
    display: block;
    margin: 0 auto 10px;
  }

  .why-flight-card h4{
    font-size: 14px;
    line-height: 1.2;
    margin: 0 0 6px;
  }

  .why-flight-card p{
    font-size: 12px;
    line-height: 1.35;
    margin: 0;
  }
}

/* popular cities*/
@media (max-width: 991px){
  .pc-grid{
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px !important;
  }
  .pc-card{
    height: 260px !important;
    border-radius: 12px !important;
  }
  .pc-title{
    font-size: 20px !important;
    margin-bottom: 18px !important;
  }
  .pc-card .pc-overlay{
    height: 80px !important;
    padding: 12px 14px !important;
  }
  .pc-card .pc-city{ font-size: 16px !important; }
  .pc-card .pc-hotels{ font-size: 12px !important; }
}

@media (max-width: 380px){
  .pc-card{ height: 220px !important; }
}


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

  .properties-section{
      margin-top: 20px;
    padding: 36px 14px !important;
    overflow: hidden !important;
    text-align: center;
  }

  .properties-title{
    font-size: 22px !important;
    margin-bottom: 16px !important;
    line-height: 1.25 !important;
  }

  .properties-grid{
    max-width: 520px !important;
    margin: 0 auto !important;

    display: flex !important;
    flex-wrap: nowrap !important;

    gap: 0 !important;
    overflow: hidden !important;
    padding: 0 !important;

    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

  .property-card{
    flex: 0 0 100% !important;
    width: 100% !important;
    max-width: 100% !important;
    scroll-snap-align: start;
    border-radius: 12px !important;
  }

  .property-image img{
    height: 210px !important;
  }

  .property-badge{
    left: 12px !important;
    bottom: -12px !important;
    padding: 6px 10px !important;
    border-radius: 18px !important;
    gap: 6px !important;
  }

  .property-badge .score,
  .property-badge .reviews{
    font-size: 13px !important;
  }

  .property-content{
    padding: 26px 14px 14px !important;
  }

  .property-title-row{
    gap: 8px !important;
    margin-bottom: 6px !important;
  }

  .property-title-row h4{
    font-size: 16px !important;
    line-height: 1.2 !important;
  }

  .property-rating{
    font-size: 12px !important;
  }

  .property-location{
    font-size: 12.5px !important;
    line-height: 1.45 !important;
    margin-bottom: 12px !important;
  }

  .property-price small{
    font-size: 11px !important;
  }

  .property-price strong{
    font-size: 16px !important;
  }

  .properties-dots{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 14px;
  }

  .properties-dots span{
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: #d1d5db;
    display: inline-block;
  }

  .properties-dots span.active{
    background: #f49b31;
    transform: scale(1.15);
  }
}

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

  .featured-hotels{ padding: 34px 0 !important; }
  .fh-container{ padding: 0 14px !important; }

  .fh-slider{ position: relative !important; padding: 0 !important; width: 100% !important; }

  /* 1 card only visible */
  .fh-viewport{
    overflow: hidden !important;
    width: 100% !important;
  }

  .fh-track{
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 0 !important;
    will-change: transform;
    transition: transform .45s ease; /* smooth */
  }

  .fh-card{
    flex: 0 0 100% !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
  }

  .fh-img img{
    height: 220px !important;
    width: 100% !important;
    object-fit: cover !important;
  }

  /* arrows middle edge */
  .fh-arrow{
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 34px !important;
    height: 34px !important;
    border-radius: 50% !important;
    background: #fff !important;
    border: 1px solid #e5e7eb !important;
    display: grid !important;
    place-items: center !important;
    z-index: 10 !important;
    box-shadow: 0 10px 22px rgba(0,0,0,.14) !important;
  }
  .fh-left{ left: -12px !important; }
  .fh-right{ right: -12px !important; }
}

/* HOTEL AMENITIES */
@media (max-width: 991px){
    .popular-cities {
    padding: 34px 14px 34px;}

  /* show marquee, hide grid */
  .ha-desktop{ display: none !important; }
  .ha-mobile{ display: block !important; }

  .hotel-amenities{
    padding: 34px 0 34px !important;
  }
  .ha-container{
    padding: 0 14px !important;
  }
  .ha-title{
    font-size: 22px !important;
    margin: 0 0 16px !important;
  }

  .ha-marquee{
    position: relative;
    overflow: hidden;
    width: 100%;
  }

  .ha-marquee-track{
    display: flex;
    gap: 12px;
    width: max-content;
    will-change: transform;
    animation: haMarquee 32s linear infinite; /* slower */
  }

  .ha-marquee:hover .ha-marquee-track,
  .ha-marquee:active .ha-marquee-track{
    animation-play-state: paused;
  }

  /* mobile card */
  .ha-card--m{
    flex: 0 0 auto;
    width: 170px;
    height: 165px;
    padding: 14px 12px 12px;
    border-radius: 10px;

    background: #fff;
    border: 1px solid rgba(17,24,39,.08);
    box-shadow: 0 6px 16px rgba(17,24,39,.08);
  }

  .ha-card--m .ha-icon{
    width: 60px;
    height: 60px;
  }
  .ha-card--m .ha-icon img{
    width: 60px;
    height: 60px;
  }

  .ha-card--m .ha-name{
    font-size: 15px;
    font-weight: 800;
  }

  .ha-card--m .ha-desc{
    font-size: 12px;
    line-height: 1.25;
  }

  /* fade edges */
  .ha-marquee:before,
  .ha-marquee:after{
    content:"";
    position:absolute;
    top:0;
    width: 38px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
    background: linear-gradient(to right, #ffffff, rgba(255,255,255,0));
  }
  .ha-marquee:after{
    right:0;
    transform: rotate(180deg);
  }
  .ha-marquee:before{ left:0; }

  @keyframes haMarquee{
    0%{ transform: translateX(0); }
    100%{ transform: translateX(-50%); }
  }
}

@media (max-width: 991px){

  .testimonials-section{
    padding-left: 14px;
    padding-right: 14px;
    overflow: hidden; /* next card hide */
  }

  .testimonials-title{
    margin-bottom: 22px;
    font-size: 22px;
  }

  /* grid -> horizontal slider */
  .testimonials-grid{
    max-width: 1100px;
    margin: 0 auto;
    display: flex !important;
    flex-wrap: nowrap !important;

    gap: 14px !important;
    overflow-x: auto !important;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;

    scroll-snap-type: x mandatory;
    scroll-padding-left: 14px;
    padding: 0 14px 10px; /* side space + bottom */
  }
  .testimonials-grid::-webkit-scrollbar{ display:none; }

  /* IMPORTANT: 1 card full width */
  .testimonial-card{
    flex: 0 0 100% !important;
    width: 100% !important;
    scroll-snap-align: start;
    scroll-snap-stop: always;

    /* keep same shadow */
    box-shadow: 0 10px 22px rgba(0,0,0,0.12);
    padding: 22px 18px;
  }

  /* nav spacing */
  .testimonial-nav{
    margin-top: 14px;
    gap: 14px;
  }

  .testimonial-nav .nav-btn{
    width: 38px;
    height: 38px;
  }

  .nav-dots{
    gap: 8px;
  }
  .nav-dots span{
    width: 7px;
    height: 7px;
  }
}

/* very small phones */
@media (max-width: 480px){
  .testimonials-title{ font-size: 20px; }
  .testimonial-card{ padding: 20px 16px; }
  .testimonial-text{ font-size: 13px; }
}


@media (max-width: 991px) {
  .hotel-hero {
    height: 420px;
  }

  .hotel-hero-icon {
    width: 52px;
  }

  .hotel-hero-content h1 {
    font-size: 32px;
  }

  .hotel-hero-content p {
    font-size: 16px;
  }
}

/* =========================
   MOBILE
========================= */
@media (max-width: 576px) {
  .hotel-hero {
    height: 360px;
  }

  .hotel-hero-icon {
    width: 44px;
    margin-bottom: 10px;
  }

  .hotel-hero-content h1 {
    font-size: 24px;
    line-height: 1.25;
  }

  .hotel-hero-content p {
    font-size: 15px;
    line-height: 1.4;
  }

}

/*---- Blog ----*/
@media (max-width: 991px){
  .blog-hero{ min-height: auto; }
  .blog-hero__container{
    flex-direction: column;
    align-items: stretch;
    text-align: left;
    gap: 16px;
    padding: 60px 16px;
  }
  .blog-hero__left{ max-width: 100%; }
  .blog-hero__title{ font-size: 28px; text-align: center; }
  .blog-hero__subtitle{
      font-size: 15px; text-align: center;
      padding-top: 6px;
      padding-bottom: 10px;
  }
  .blog-hero__card{
    width: 100%;
    max-width: 520px;
  }
}

@media (max-width: 480px){
  .blog-hero__title{ font-size: 24px; }
  .blog-hero__subtitle{ font-size: 15px; }
  .blog-hero__card{ padding: 12px; }
}

/* Featured Story ( Blog)*/
@media (max-width: 991px){
  .fs-card{
    grid-template-columns: 1fr;
    padding: 14px;
    gap: 14px;
  }
  .fs-media{ height: 220px; }
  .fs-title{ font-size: 18px; }
  .fs-desc{ font-size: 13px; }
  .fs-top{ justify-content: flex-start; flex-wrap: wrap; }
}

@media (max-width: 520px){
  .fs-heading{ font-size: 20px; }
  .fs-media{ height: 200px; }
  .fs-pill{ height: 28px; font-size: 11px; }
  .fs-btn{ width: 100%; justify-content: center; }
}
/* Featured Story ( Blog) End*/

/* ============ RECENT ARTICLES ============ */
@media (max-width: 991px){
  .ra-section{ padding: 38px 14px 44px; }
  .ra-grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .ra-img img{ height: 150px; }
}

@media (max-width: 560px){
  .ra-grid{ grid-template-columns: 1fr; }
  .ra-img img{ height: 190px; }
  .ra-more{ width: 100%; max-width: 260px; }
}

/* ============ TRENDING NOW BLOG ============ */
@media (max-width: 991px){
  .tn-grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tn-img{ height: 130px; }
  .tn-h{ font-size: 12px; }
}
@media (max-width: 560px){
  .tn-grid{ grid-template-columns: 1fr; }
  .tn-img{ height: 180px; }
  .tn-body{ padding: 12px 12px 10px; }
  .tn-meta-item{ font-size: 11px; }
}

/* ===== EXPLORE BY CATEGORY ===== */

@media (max-width: 991px){
  .ec-grid{
    grid-template-columns: repeat(2, minmax(0, 1fr)); /* 2 columns */
    gap:14px;
  }

  .ec-card{
    padding:16px 14px;
    box-shadow:0 8px 18px rgba(0,0,0,.10);
  }

  .ec-icon{
    width:72px;
    height:72px;
  }
  .ec-icon img{
    width:52px;
    height:52px;
  }

  .ec-title{ font-size:22px; }
  .ec-subtitle{ font-size:13px; margin-bottom:16px; }

  .ec-name{ font-size:16px; }
  .ec-count{ font-size:13px; }
}

/* SMALL MOBILE */
@media (max-width: 420px){
  .ec-grid{ gap:12px; }
  .ec-card{ padding:14px 12px; }
  .ec-name{ font-size:15px; }
}

/* AIRLINE MARQUEE SECTION */
/* infinite scroll */
@keyframes am-scroll{
  0%{
    transform: translateX(0);
  }
  100%{
    transform: translateX(-50%);
  }
}

/* MOBILE */
@media (max-width: 768px){
  .am-title{
    font-size: 20px;
  }

  .am-track{
    gap: 36px;
    animation-duration: 10s; /* faster on mobile */
  }

  .am-logo{
    min-width: 140px;
    height: 80px;
  }

  .am-logo img{
    max-height: 60px;
  }
}

/* SMALL MOBILE */
@media (max-width: 480px){
  .am-track{
    gap: 28px;
    animation-duration: 18s;
  }

  .am-logo{
    min-width: 120px;
  }

  .am-logo img{
    max-height: 54px;
  }
}


@media(max-width:900px){

  .fs-filter-panel{
    grid-template-columns:1fr;
  }

  .fs-two-stop{
    grid-template-columns:1fr;
  }

  .fs-route{
    grid-template-columns:52px 1fr;
    row-gap:8px;
  }

  .fs-line{
    grid-column:1 / -1;
  }

  .fs-price{
    border-left:none;
    border-top:1px solid #ddd;
    padding-top:14px;
    margin-top:10px;
  }

  .fs-promo{
    flex-direction:column;
    gap:12px;
    text-align:center;
  }
}

/* =====================================================
   FLIGHT BOOKING – RESPONSIVE (MOBILE + TABLET)
   ===================================================== */

@media (max-width: 991px){

/* ---------- PAGE WRAPPER ---------- */
.flight-section{
  max-width:100%;
  margin:20px auto;
  padding:0 12px;
}

/* ---------- FILTER BAR ---------- */
.fs-filter-bar{
  flex-direction:column;
  align-items:flex-start;
  gap:12px;
  padding:14px;
}

.fs-filter-left{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  width:100%;
}

.fs-filter-btn{
  font-size:14px;
}

.fs-reset-btn{
  align-self:flex-end;
  font-size:14px;
}

/* ---------- FILTER PANEL ---------- */
.fs-filter-panel{
  display:grid;
  grid-template-columns:1fr;
  gap:16px;
  padding:16px;
  margin-top:12px;
}

.fs-col h4{
  font-size:14px;
}

.fs-col label{
  font-size:14px;
}

/* ---------- PROMO BANNER ---------- */
.fs-promo{
  flex-direction:column;
  align-items:flex-start;
  gap:14px;
  padding:16px;
  border-radius:16px;
}

.fs-promo-left{
  flex-direction:column;
  align-items:flex-start;
  gap:12px;
}

.fs-promo-left img{
  width:100%;
  margin:0;
  border-radius:12px;
}

.fs-promo h2{
  font-size:20px;
  line-height:28px;
}

.fs-promo p{
  font-size:14px;
  line-height:18px;
}

.fs-promo-call{
  width:100%;
  justify-content:center;
  padding:14px;
  font-size:15px;
}

/* ---------- FLIGHT CARDS ---------- */
.fs-two-stop,
.fs-single-stop{
  display:block;
  margin-bottom:20px;
}

.fs-routes{
  gap:12px;
}

/* ROUTE BLOCK */
.fs-route{
  display:block;
  padding-bottom:12px;
  border-bottom:1px solid #eee;
}

.fs-route:last-child{
  border-bottom:none;
}

/* AIRLINE */
.fs-airline{
  border-right:none;
  padding-right:0;
  justify-content:center;
  margin-bottom:8px;
}

.fs-airline img{
  width:96px;
}

/* POINTS */
.fs-point{
  text-align:center;
  margin-bottom:6px;
}

.fs-point strong{
  font-size:14px;
}

.fs-point p{
  font-size:13px;
}

/* LINE */
.fs-line{
  margin:8px 0;
}

.fs-line::before{
  left:0;
  right:0;
}

/* ---------- PRICE BOX ---------- */
.fs-price{
  border-left:none;
  padding-left:0;
  margin-top:14px;
  align-items:center;
  text-align:center;
}

.fs-price del,
.fs-price h3{
  align-self:center;
  text-align:center;
}

.fs-price h3{
  font-size:22px;
}

.fs-price p{
  font-size:12px;
  text-align:center;
}

.fs-book,
.fs-detail{
  width:100%;
}


/* ---------- HEADER MENU (SAFE) ---------- */
.header-nav{
  flex-direction:column;
  align-items:flex-start;
}

.nav-call::before,
.nav-button::before{
  display:none;
}

.nav-call,
.nav-button{
  padding-left:0;
}

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

  /* MAIN CARD */
  .fs-assist{
    flex-direction:column;
    align-items:stretch;
    border-radius:16px;
    overflow:hidden;
  }

  /* LEFT BLOCK */
  .fs-assist-left{
    flex-direction:column;
    padding:0;
    gap:12px;
  }

  /* EDGE-TO-EDGE IMAGE */
  .fs-assist-left img{
    width:100%;
    height:140px;
    object-fit:cover;
    margin:0;
    border-radius:0;
  }

  /* CENTER TEXT */
  .fs-assist-text{
    padding:12px 16px;
    text-align:center;
  }

  .fs-assist-text strong{
    font-size:16px;
    line-height:22px;
  }

  .fs-assist-text p{
    font-size:13px;
    line-height:18px;
  }

  /* CALL SECTION */
  .fs-assist-call{
    border-left:none;
    border-top:1px solid #e5e7eb;
    padding:14px 16px;
    justify-content:center;
    text-align:center;
    width:100%;
    gap:8px;
  }

  .fs-assist-call i{
    font-size:18px;
  }

  .fs-assist-number{
    font-size:16px;
  }

  .fs-assist-call small{
    font-size:12px;
  }
}



/* FOOTER RESPONSIVE (TABLET + MOBILE) */

/* ---------- TABLET ---------- */
@media (max-width: 1024px) {

  .footer-inner,
  .footer-white-inner {
    padding: 32px 24px;
  }

  .footer-row-1 {
    grid-template-columns: 1fr 1fr;
    column-gap: 40px;
    row-gap: 32px;
  }

  .footer-row-2 {
    grid-template-columns: 1fr;
    row-gap: 32px;
  }

  .newsletter-box {
    width: 100%;
  }

  .footer-blue-copy p,
  .footer-final-copy {
    font-size: 16px;
  }
}

/* ---------- MOBILE ---------- */
@media (max-width: 768px) {

  .footer-inner,
  .footer-white-inner {
    padding: 28px 18px;
  }

  /* ROW 1 */
  .footer-row-1 {
    grid-template-columns: 1fr;
    row-gap: 28px;
  }

  /* ROW 2 */
  .footer-row-2 {
    grid-template-columns: 1fr;
    row-gap: 28px;
  }

  .footer-logo {
    height: 40px;
  }

  .footer-title {
    font-size: 18px;
    margin-bottom: 10px;
  }

  .footer-text {
    font-size: 14px;
  }

  .footer-links li,
  .footer-contact li {
    font-size: 14px;
  }

  /* Newsletter */
  .newsletter-box {
    flex-direction: column;
  }

  .newsletter-box input {
    padding: 14px 12px;
  }

  .newsletter-box button {
    padding: 12px;
    width: 100%;
  }

  /* Social icons */
  .social-icons {
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  /* Divider spacing */
  .footer-divider {
    margin: 20px 0;
  }

  /* Blue copyright */
  .footer-blue-copy p {
    font-size: 15px;
    line-height: 1.6;
  }

  /* White section text */
  .footer-white-inner p,
  .footer-white-inner li {
    font-size: 13px;
    line-height: 20px;
  }

  /* Logos */
  .footer-logos {
    gap: 12px;
  }

  .footer-logos img {
    height: 34px;
  }

  .footer-final-copy {
    font-size: 15px;
    line-height: 1.6;
  }
}

/* ---------- SMALL MOBILE ---------- */
@media (max-width: 480px) {

  .footer-title {
    font-size: 17px;
  }

  .footer-text {
    font-size: 13px;
  }

  .footer-blue-copy p,
  .footer-final-copy {
    font-size: 14px;
  }

  .social-icons a {
    width: 34px;
    height: 34px;
  }

  .newsletter-box input {
    font-size: 14px;
  }
}
/* footer responsive end */

/* Back to Top */
.back-to-top{
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 46px;
  height: 46px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,.10);
  background: #f49b31;
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  z-index: 99999;
  box-shadow: 0 10px 22px rgba(0,0,0,.18);

  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity .25s ease, transform .25s ease, visibility .25s ease;
}

.back-to-top.show{
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top i{ font-size: 16px; }

.back-to-top:hover{ filter: brightness(.95); }

@media (max-width: 480px){
  .back-to-top{
    right: 14px;
    bottom: 14px;
    width: 42px;
    height: 42px;
  }
}
