/* SECTION */
.karvaahh-trending{
    margin-top: 0%;
    padding-top: 0%;
  height:100vh;
  display:flex;
  align-items:center;
  background:#eeeeef;
  font-family:'Segoe UI',sans-serif;
}

/* CONTAINER */
.kt-container{
    margin-top: 0%;
    padding-top: 0%;
  max-width:1200px;
  margin:auto;
  width:100%;
}

/* TITLE – NO TOP SPACE */
.kt-title{
  margin:0;                 /* FIXED */
  padding:0;
  text-align:center;
  font-size:32px;
  font-weight:800;
  color:#243447;
}

.kt-sub{
  margin:6px 0 22px;
  text-align:center;
  font-size:14px;
  color:#666;
}

/* VIEWPORT */
.kt-viewport{
  position:relative;
  overflow:hidden;
}

/* TRACK */
.kt-track{
  display:flex;
  gap:16px;
  transition:transform .6s ease;
}

/* CARD */
.kt-card{
  min-width: calc(25% - 14px);  
  background:#fff;
  border-radius:14px;
  overflow:hidden;
  box-shadow:0 10px 26px rgba(0,0,0,.18);
  transition:transform .3s;
}


.kt-card:hover{
  transform:translateY(-6px);
}







.kt-img {
  height: 210px;    /* 70% of 300px → same visual */
  overflow: hidden;
}

.kt-img img {
  width: 100%;
  height: 100%;     /* fill container */
  display: block;
  object-fit: cover; /* avoid distortion */
}




/* BODY */
.kt-body{
  padding:10px 14px;
}

.kt-body h3{
  font-size:15px;
  margin-bottom:6px;
}

.kt-body ul{
  font-size:12px;
  padding-left:16px;
  margin-bottom:6px;
}

.kt-route{
  font-size:12px;
  color:#555;
}

/* ACTIONS */
.kt-actions{
  display:flex;
  height:40px;
}

.kt-btn{
  flex:1;
  display:flex;
  align-items:center;
  justify-content:center;
  color:#fff;
  font-size:13px;
  text-decoration:none;
}

.kt-btn.red{ background:#e63946; }
.kt-btn.blue{ background:#1f3c88; }

/* NAV BUTTONS */
.kt-nav{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  width:42px;
  height:42px;
  border-radius:50%;
  border:none;
  background:#fff;
  color:#6a0dad;
  font-size:22px;
  cursor:pointer;
  box-shadow:0 8px 18px rgba(0,0,0,.25);
  z-index:20;
}

.kt-prev{ left:-12px; }
.kt-next{ right:-12px; }

.kt-nav:hover{
  background:#6a0dad;
  color:#fff;
}

/* MOBILE */
@media(max-width:768px){
  .karvaahh-trending{ height:auto; padding:40px 12px; }
  .kt-card{ min-width:100%; }
  .kt-nav{ display:none; }
}

/* Tablets: 2 cards */
@media(max-width:992px){
  .kt-card{
    min-width: calc(50% - 9px);
  }
}

/* Mobile: 1 card */
@media(max-width:576px){
  .kt-card{
    min-width:100%;
  }
}


/* hero package  */
/* ================================
   HERO PACKAGE CAROUSEL (ISOLATED)
================================ */

/* Wrapper */
.hero-package-box{
  
     /* safety height */


  width: 340px;
  background: #ffffff;
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 12px 30px rgba(0,0,0,.25);
  position: relative;
  overflow: hidden;
  font-family: "Segoe UI", sans-serif;
}

/* Carousel container */
.hero-pkg-carousel{
  position: relative;
  height: 480px;
}

/* Package cards */
.hero-pkg-card{
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .6s ease, transform .6s ease;
  pointer-events: none;
}

/* Active card */
.hero-pkg-card.active{
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* Exit animation */
.hero-pkg-card.exit{
  opacity: 0;
  transform: translateY(-30px);
}

/* Image */
.hero-pkg-card img{
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 10px;
}

/* Badge */
.hero-pkg-card .badge{
  display: inline-block;
  background: #ff5722;
  color: #ffffff;
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 20px;
  margin-bottom: 6px;
}

/* Title */
.hero-pkg-card h4{
  margin: 6px 0;
  font-size: 18px;
  color: #222;
}

/* List */
.hero-pkg-card ul{
  font-size: 14px;
  padding-left: 18px;
  margin: 10px 0;
  color: #444;
}

.hero-pkg-card ul li{
  margin-bottom: 4px;
}

/* Price */
.hero-pkg-card .price{
  font-weight: 700;
  color: #e63946;
  margin-bottom: 12px;
}

/* CTA button */
.hero-pkg-card .cta-btn{
  display: block;
  background: #25d366;
  color: #ffffff;
  text-align: center;
  padding: 12px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
}

/* ================================
   NAVIGATION BUTTONS
================================ */

.hero-pkg-nav{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: none;
  background: #ffffff;
  box-shadow: 0 6px 18px rgba(0,0,0,.3);
  cursor: pointer;
  font-size: 18px;
  z-index: 5;
  transition: background .3s, color .3s;
}

.hero-pkg-nav.prev{
  left: -14px;
}

.hero-pkg-nav.next{
  right: -14px;
}

.hero-pkg-nav:hover{
  background: #ff5722;
  color: #ffffff;
}

/* ================================
   MOBILE RESPONSIVE
================================ */

@media(max-width: 768px){
  .hero-package-box{
    width: 100%;
  }

  .hero-pkg-carousel{
    height: 450px;
  }
}

.carousel:hover {
    pointer-events: auto;
}


/* filter destination */


.package-section {
    padding: 60px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 30px;
}

.section-title h2 {
    font-weight: 700;
}

.section-title span {
    display: block;
    width: 80px;
    height: 3px;
    background: #7fad39;
    margin: 10px auto;
}

/* FILTER MENU */
.package-filter {
    list-style: none;
    text-align: center;
    margin-bottom: 40px;
    padding: 0;
}

.package-filter li {
    display: inline-block;
    margin: 0 15px;
    cursor: pointer;
    font-weight: 500;
    position: relative;
}

.package-filter li.active {
    color: #7fad39;
}

.package-filter li.active::after {
    content: "";
    width: 100%;
    height: 2px;
    background: #7fad39;
    position: absolute;
    left: 0;
    bottom: -6px;
}

/* PACKAGE GRID */
.package-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 30px;
}

.package-card {
    background: #f5f7fa;
    padding: 20px;
    text-align: center;
    transition: 0.3s;
}

.package-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.package-card h6 {
    margin: 15px 0 5px;
    font-weight: 600;
}

.package-card p {
    font-weight: 700;
    color: #111;
}

.package-card:hover {
    transform: translateY(-6px);
}


/* gridslider */
.package-carousel {
    overflow: hidden;
    width: 100%;
}

.package-track {
    display: flex;
    transition: transform 0.8s ease;
}

.package-slide {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, auto);
    gap: 25px;
    min-width: 100%;
}


/* new crausel */
/* DEFAULT (Nepal, Bhutan, India, International) */
.package-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr); /* 5 per row */
    gap: 20px;
}

/* ONLY WHEN ALL IS ACTIVE */
.package-grid.slider-active {
    display: flex;        /* slider needs flex */
    flex-wrap: nowrap;
    /* overflow: hidden; */
}

/* ONLY ALL → 5 visible boxes in one row */
.package-grid.slider-active .package-card {
    flex: 0 0 20%;        /* 100% / 5 */
    max-width: 20%;
}


/* ============================= */
/* RESPONSIVE CARD WIDTH CONTROL */
/* ============================= */

/* Desktop (default) – 5 cards */
.package-grid.slider-active .package-card {
    flex: 0 0 20%;
    max-width: 20%;
}

/* Large tablets – 3 cards */
@media (max-width: 992px) {
    .package-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .package-grid.slider-active .package-card {
        flex: 0 0 33.3333%;
        max-width: 33.3333%;
    }
}

/* Tablets – 2 cards */
@media (max-width: 768px) {
    .package-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .package-grid.slider-active .package-card {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

/* Mobile – 1 card */
@media (max-width: 576px) {
    .package-grid {
        grid-template-columns: 1fr;
    }

    .package-grid.slider-active .package-card {
        flex: 0 0 100%;
        max-width: 100%;
    }
}


/* hero package responsive */
/* ======================================
   MOBILE RESPONSIVE – TRENDING PACKAGES
====================================== */

@media (max-width: 768px){

  /* Section spacing */
  .karvaahh-trending{
    padding: 40px 12px;
  }

  /* Title & subtitle */
  .karvaahh-trending .section-title{
    font-size: 26px;
    line-height: 1.2;
  }

  .karvaahh-trending .secondary-text{
    font-size: 14px;
    margin-bottom: 25px;
  }

  /* Viewport */
  .kt-viewport{
    position: relative;
    overflow: hidden;
  }

  /* Track */
  .kt-track{
    gap: 14px;
  }

  /* Card – single card view */
  .kt-card{
    min-width: 100%;
    border-radius: 14px;
  }

  /* Image */
  /* .kt-img{
    height: 180px;
  } */

  .kt-img img{
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  /* EMI & heart */
  .kt-emi{
    font-size: 11px;
    padding: 4px 6px;
  }

  .kt-heart{
    width: 30px;
    height: 30px;
    font-size: 14px;
  }

  /* Body text */
  .kt-body{
    padding: 12px;
  }

  .kt-body h3{
    font-size: 16px;
    margin-bottom: 6px;
  }

  .kt-body ul{
    font-size: 13px;
    margin-bottom: 6px;
  }

  .kt-route{
    font-size: 12px;
  }

  /* Buttons */
  .kt-actions{
    height: 42px;
  }

  .kt-btn{
    font-size: 14px;
    padding: 10px;
  }

  /* NAV BUTTONS – SHOW & POSITION */
  .kt-nav{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    font-size: 18px;
    background: #ffffff;
    color: #6a0dad;
    box-shadow: 0 6px 18px rgba(0,0,0,.25);
  }

  .kt-prev{
    left: 8px;
  }

  .kt-next{
    right: 8px;
  }
}

/* ======================================
   SMALL MOBILE (≤ 480px)
====================================== */

@media (max-width: 480px){

  .karvaahh-trending .section-title{
    font-size: 22px;
  }

  /* .kt-img{
    height: 160px;
  } */

  .kt-body h3{
    font-size: 15px;
  }

  .kt-body ul{
    font-size: 12px;
  }

  .kt-btn{
    font-size: 13px;
  }

  .kt-nav{
    width: 32px;
    height: 32px;
    font-size: 16px;
  }

  .kt-prev{
    left: 6px;
  }

  .kt-next{
    right: 6px;
  }
}



/* hero section package responsive
 */
 @media (max-width: 768px){
  .hero-package-box{
    display: none;
  }
}





/* hero visible */
/* =====================================
   HERO SUBTEXT + TRUST BADGES (GLOBAL)
===================================== */

/* Hero subtext – fully visible */
.hero-subtext{
  font-size: 16px;
  line-height: 1.5;              /* ensures full visibility */
  color: #f1f1f1;
  max-width: 520px;
  margin: 14px 0 18px;
  word-break: normal;
  white-space: normal;
}

/* Trust badges wrapper */
.hero-trust{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}

/* Individual trust badge */
.hero-trust span{
  background: rgba(37, 211, 102, 0.9);   /* highlighted green bg */
  color: #ffffff;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.2;
  white-space: nowrap;
}

/* =====================================
   RESPONSIVE – MOBILE & TABLET
===================================== */

@media (max-width: 768px){

  .hero-subtext{
    font-size: 15px;
    max-width: 100%;
    text-align: center;
  }

  .hero-trust{
    justify-content: center;
  }

  .hero-trust span{
    font-size: 12px;
    padding: 5px 10px;
  }
}

@media (max-width: 480px){

  .hero-subtext{
    font-size: 14px;
  }

  .hero-trust span{
    font-size: 11.5px;
    padding: 5px 9px;
  }
}




.hero-pkg-carousel:hover {
    animation-play-state: paused;
}
