/*-----------------------------------*\
 * #style.css
\*-----------------------------------*/

/**
 * copyright 2022 codewithsadee
 */




/*-----------------------------------*\
 * #CUSTOM PROPERTY
\*-----------------------------------*/

:root {

  /**
   * colors
   */

  --united-nations-blue: hsl(214, 56%, 58%);
  --bright-navy-blue: #136F7C;
  --spanish-gray: hsl(0, 0%, 60%);
  --black-coral: hsl(225, 8%, 42%);
  --oxford-blue: hsl(208, 97%, 12%);
  --yale-blue: #FFFFFF;
  --blue-ncs: hsl(197, 100%, 36%);
  --gunmetal: hsl(206, 34%, 20%);
  --gainsboro: hsl(0, 0%, 88%);
  --cultured: hsl(0, 0%, 98%);
  --white: hsl(0, 0%, 100%);
  --black: hsl(0, 0%, 0%);
  --onyx: hsl(0, 0%, 25%);
  --jet: hsl(0, 0%, 20%);

  /**
   * typography
   */

  --ff-poppins: "Poppins", sans-serif;
  --ff-montserrat: "Montserrat", sans-serif;

  --fs-1: calc(20px + 3.5vw);
  --fs-2: calc(18px + 1.6vw);
  --fs-3: calc(16px + 0.45vw);
  --fs-4: 15px;
  --fs-5: 14px;
  --fs-6: 13px;
  --fs-7: 12px;
  --fs-8: 11px;

  --fw-500: 500;
  --fw-600: 600;
  --fw-700: 700;
  --fw-800: 800;

  /**
   * transition
   */

  --transition: 0.25s ease-in-out;

  /**
   * spacing
   */

  --section-padding: 60px;

  /**
   * border-radius
   */

  --radius-15: 15px;
  --radius-25: 25px;

}




/*-----------------------------------*\
 * #RESET
\*-----------------------------------*/

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

li { list-style: none; }

a { text-decoration: none; }

a,
img,
span,
input,
label,
button,
ion-icon { display: block; }

input,
button {
  background: none;
  border: none;
  font: inherit;
}

button { cursor: pointer; }

input { width: 100%; }

ion-icon { pointer-events: none; }

html {
  font-family: var(--ff-poppins);
  scroll-behavior: smooth;
}

body { background: var(--white); }




/*-----------------------------------*\
 * #REUSED STYLE
\*-----------------------------------*/

.container { padding-inline: 15px; }

.btn {
  color: var(--white);
  text-transform: uppercase;
  font-size: var(--fs-5);
  border-radius: 100px;
  padding: var(--padding, 8px 18px);
  border: var(--border-width, 2px) solid transparent;
  transition: var(--transition);
}

.btn-primary {
  background: var(--bright-navy-blue);
  border-color: var(--bright-navy-blue);
}

.btn-primary:is(:hover, :focus) {
  background: var(--yale-blue);
  border-color: var(--yale-blue);
}

.btn-secondary { border-color: var(--white); }

.btn-secondary:is(:hover, :focus) { background: hsla(0, 0%, 100%, 0.1); }

.h1,
.h2,
.h3 {
  font-weight: var(--fw-800);
  font-family: var(--ff-montserrat);
  text-transform: uppercase;
}

.h1 {
  color: var(--white);
  font-size: var(--fs-1);
}

.h2,
.h3 { color: var(--gunmetal); }

.h2 { font-size: var(--fs-2); }

.h3 {
  font-size: var(--fs-3);
  font-weight: var(--fw-700);
}

.section-subtitle {
  color: var(--bright-navy-blue);
  font-size: var(--fs-5);
  text-transform: uppercase;
  font-family: var(--ff-montserrat);
  margin-bottom: 8px;
}

.section-title { margin-bottom: 15px; }

.section-text {
  color: var(--black-coral);
  margin-bottom: 30px;
}

.card-text {
  color: var(--black-coral);
  font-size: var(--fs-5);
}




/*-----------------------------------*\
 * #HEADER
\*-----------------------------------*/

.header {
  position: absolute;   /* 🔥 CHANGE THIS */
  top: 0;
  left: 0;
  width: 100%;
  padding-top: 61px;
  z-index: 1000;
}


.header-top {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  transition: var(--transition);
  border-bottom: 1px solid hsla(0, 0%, 100%, 0.1);
  padding-block: 2px;
  z-index: 1;
}

.header.active .header-top {
  position: fixed;
  background: var(--gunmetal);
}

.header-top .container {
  display: flex;
  align-items: center;
  justify-content: space-between;

  width: 100%;
  max-width: 100%;
  padding: 0 15px;
}

.helpline-box .wrapper { display: none; }

.helpline-box {
  margin-top: 1px; /* adjust value */
}


.helpline-box .icon-box {
  background: var(--bright-navy-blue);
  padding: 10px;
  border-radius: 50%;
  color: var(--white);
}

.helpline-box .icon-box ion-icon { --ionicon-stroke-width: 40px; }

.header-top .logo { margin-inline: left; }

.header-top .logo {
  margin-top: 15px; /* adjust value as needed */
}


.header-top .logo img { max-width: 100px; }

.header-btn-group {
  justify-self: flex-end;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
}

.search-btn,
.nav-open-btn {
  font-size: 30px;
  color: inherit;
}

.search-btn { font-size: 20px; }

.header-bottom { border-bottom: 1px solid hsla(0, 0%, 100%, 0.1); }

.header-bottom .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-block: 15px;

  max-width: 1200px;   /* 👈 controls menu bar width */
  margin: 0px;     /* 👈 centers the menu bar */
}

.social-list {
  display: flex;
  align-items: center;
  gap: 5px;
}

.social-link {
  color: var(--white);
  padding: 8px;
  border: 1px solid hsla(0, 0%, 100%, 0.3);
  border-radius: 50%;
  font-size: 15px;
  transition: var(--transition);
}

.social-link:is(:hover, :focus) { background: hsla(0, 0%, 100%, 0.2); }

.header .btn { --padding: 4px 20px; }

.header .navbar {
  position: fixed;
  top: 0;
  right: -300px;
  width: 100%;
  max-width: 300px;
  height: 100%;
  background: var(--white);
  visibility: hidden;
  pointer-events: none;
  transition: 0.15s ease-in;
  z-index: 3;
}

.navbar.active {
  right: 0;
  visibility: visible;
  pointer-events: all;
  transition: 0.25s ease-out;
}

.navbar-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 40px 15px;
}

.navbar-top .logo img { width: 50px; }

.nav-close-btn {
  font-size: 20px;
  color: var(--bright-navy-blue);
}

.nav-close-btn ion-icon { --ionicon-stroke-width: 80px; }

.navbar-list { border-top: 1px solid hsla(0, 0%, 0%, 0.1); }

.navbar-list li { border-bottom: 1px solid hsla(0, 0%, 0%, 0.1); }

.navbar-link {
  padding: 15px 20px;
  color: var(--jet);
  font-weight: var(--fw-500);
  font-size: var(--fs-4);
  transition: var(--transition);
  text-transform: capitalize;
}

.navbar-link:is(:hover, :focus) { color: var(--bright-navy-blue); }

.overlay {
  position: fixed;
  inset: 0;
  background: var(--black);
  opacity: 0;
  pointer-events: none;
  z-index: 2;
  transition: var(--transition);
}

.overlay.active {
  opacity: 0.7;
  pointer-events: all;
}

/* ===== Header Bottom Logo (default hidden) ===== */
.header-bottom-logo {
  display: none;
  align-items: center;
}

.header-bottom-logo img {
  height: 42px;
  width: auto;
}

/* ===== Scroll State ===== */
.header.active .social-list {
  display: none;
}

.header.active .header-bottom-logo {
  display: flex;
}
.social-list,
.header-bottom-logo {
  transition: opacity 0.25s ease, transform 0.25s ease;
}


/* ===== Center ONLY the HEADER TOP logo ===== */
.header-top .container {
  position: relative; /* reference only */
}

.header-top .logo {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

/* Increase header top height safely */
.header-top {
  padding-block: 14px;   /* increase vertical height */
}

/* Optional: slightly larger logo without distortion */
.header-top .logo img {
  max-height: 75px;      /* adjust as needed */
}


/*-----------------------------------*\
 * #HERO
\*-----------------------------------*/

.hero {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 400px;
  text-align: center;
  padding-top: 50px;
  overflow: hidden;
}

/* Video background */
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

/* Content stays above */
.hero .container {
  position: relative;
  z-index: 5;
}

.hero-title {
  margin-bottom: 50px;     /* was 40px */
  line-height: 1.1;        /* tighter heading */
}

.hero-text {
  color: var(--white);
  font-size: var(--fs-5);
  margin-bottom: 30px;    
  line-height: 1.5;
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-bottom: 30px;
}

.reconnect {
  font-weight: 700;
  background: linear-gradient(
    270deg,
    #ffffff,
    #1e9eae,
    #1e9eae,
    #1e9eae
  );
  background-size: 600% 600%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: reconnectColor 5s ease infinite;
}

@keyframes reconnectColor {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* FIX: Push hero below header */
.hero {
  padding-top: 200px;   /* desktop safe height */
}

/* Mobile adjustment */
@media (max-width: 768px) {
  .hero {
    padding-top: 140px;
  }
}


/*-----------------------------------*\
 * HERO SEARCH (MODERN GLASS STYLE)
\*-----------------------------------*/

.hero-search {
  display: flex;
  align-items: center;
  gap: 12px;

  padding: 2px 8px;
  border-radius: 50px;

  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);

  border: 1px solid rgba(255, 255, 255, 0.25);
}

.hero-search {
  max-width: 620px !important;
  width: 70% !important;
  margin-inline: auto;
}


/* Input */
.hero-search input {
  background: transparent;
  border: none;
  outline: none;

  color: #ffffff;
  font-size: 0.95rem;
  padding: 8px 14px;

  flex: 1;                 /* 🔥 fills available space */
}

.hero-search input {
  color: #ffffff;
}

.hero-search input::placeholder {
  color: #b1b1b1;
  opacity: 1;
}


.highlight {
  background: #ffe066;
  padding: 2px 4px;
  border-radius: 4px;
}


.hero-search {
  position: relative;
}

/* Suggestions dropdown */
.hero-search-suggestions {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  width: 100%;

  list-style: none;
  margin: 0;
  padding: 6px 0;

  border-radius: 18px;
  background: rgba(20, 20, 20, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);

  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.45);

  display: none;
  z-index: 999;
}

.hero-search-suggestions li {
  padding: 12px 18px;
  color: #ffffff;
  font-size: 0.95rem;
  cursor: pointer;
  transition: background 0.2s ease;
}

.hero-search-suggestions li:hover,
.hero-search-suggestions li.active {
  background: rgba(255, 255, 255, 0.12);
}

.hero-search-suggestions .match {
  color: #00e5ff;
  font-weight: 600;
}

.hero-search-suggestions li {
  padding: 12px 18px;
  color: #ffffff;
  font-size: 0.95rem;
  cursor: pointer;
  transition: background 0.2s ease;
  line-height: 1.3;
  white-space: nowrap;
}

.hero-search-suggestions li strong {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hero-search-suggestions li .match {
  display: inline-block;
  white-space: nowrap;
}



.hero-search-suggestions li div {
  margin-top: 2px;
  font-size: 0.8rem;
  opacity: 0.7;
}


.hero-search,
.hero {
  overflow: visible !important;
}

.hero-search-suggestions {
  z-index: 99999 !important;
}


/*-----------------------------------*\
 * MOBILE OPTIMIZATION
\*-----------------------------------*/
@media (max-width: 768px) {
  .hero-search {
    flex-direction: row;          /* 🔥 keep single line */
    align-items: center;
    gap: 8px;

    padding: 3px 8px;            /* 🔥 smaller height */
    width: 90%;
    max-width: 320px;             /* 🔥 reduced width */
    margin: 0 auto;
  }

  .hero-search input {
    width: 100%;
    padding: 6px 10px;            /* 🔥 slim input */
    font-size: 0.85rem;
    text-align: left;
  }

  .search-btn {
    width: auto;                  /* 🔥 remove full width */
    padding: 3px 10px;            /* 🔥 compact button */
    font-size: 0.75rem;
    border-radius: 30px;
  }

  .hero-search {
    margin-bottom: 40px;   /* 🔥 gap between sections */
  }

}


/*-----------------------------------*\
 * #TOUR SEARCH
\*-----------------------------------*/

.tour-search {
  background: var(--bright-navy-blue);
  padding-block: var(--section-padding);
}

.tour-search-form .input-label {
  color: var(--white);
  font-size: var(--fs-4);
  margin-left: 20px;
  margin-bottom: 10px;
}

.tour-search-form .input-field {
  background: var(--white);
  padding: 10px 45px 10px 15px; /* ⬅ extra space on right */
  font-size: var(--fs-5);
  border-radius: 50px;
}

.tour-search-form .input-field::placeholder { color: var(--spanish-gray); }

.tour-search-form .input-field::-webkit-datetime-edit {
  color: var(--spanish-gray);
  text-transform: uppercase;
}

.tour-search-form .input-wrapper { margin-bottom: 15px; }

.tour-search .btn {
  width: 100%;
  --border-width: 1px;
  font-weight: var(--fw-600);
  margin-top: 35px;
}

/* INQUIRE NOW – glowing effect */
.tour-search .btn {
  border: 1px solid transparent;
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.tour-search .btn:hover {
  border-color: var(--white);
  box-shadow:
    0 0 8px rgba(255, 255, 255, 0.6),
    0 0 16px rgba(255, 255, 255, 0.4),
    0 0 24px rgba(255, 255, 255, 0.2);
}


/* INQUIRE NOW hover border */
.tour-search .btn:hover {
  background: transparent;      /* optional – looks clean */
  color: var(--white);           /* keep text readable */
  border: 1px solid var(--white);
}





.dropdown-list {
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.12);
  margin-top: 6px;
  list-style: none;
  padding: 6px 0;
  display: none;
  max-height: 220px;
  overflow-y: auto;
  z-index: 9999; /* 🔥 IMPORTANT */
}


.dropdown-list li {
  padding: 12px 16px;
  cursor: pointer;
  font-size: 14px;
}

.dropdown-list li:hover {
  background: #f3f7ff;
}

.tour-search-form .input-wrapper {
  margin-bottom: 15px;
  position: relative; /* 🔥 REQUIRED */
}
.tour-search .container {
  overflow: visible;
}

.dropdown-title {
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 600;
  color: #666;
  background: #f7f7f7;
  cursor: default;
}

.dropdown-sub {
  padding-left: 28px;
  font-size: 14px;
}

.dropdown-sub:hover {
  background: #eef4ff;
}
/* ===============================
   MOBILE: Center Inquire Button
   =============================== */

@media (max-width: 768px) {


  .tour-search .btn {
    width: auto;
    margin-top: 25px;
  }
  .tour-search-form {
  text-align: center;}
  
  /* Make "Inquire Now" button smaller */
  .tour-search .btn {
    padding: 10px 26px;       /* ⬅ smaller size */
    font-size: 14px;          /* ⬅ slightly smaller text */
    border-radius: 30px;      /* ⬅ still rounded */
    margin-top: 25px;
    display: inline-block;
  }

  .popular-list {
    scroll-behavior: smooth;
    cursor: grab;
  }

  .popular-list:active {
    cursor: grabbing;
  }

}



/*-----------------------------------*\
 * #POPULAR
\*-----------------------------------*/

.popular { padding-block: var(--section-padding); }

.popular-list,
.popular-list > li:not(:last-child) { margin-bottom: 30px; }

.popular-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-25);
  height: 430px;
}

.popular-card .card-img { height: 100%; }

.popular-card .card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}


/* Center POPULAR section heading text */
.popular .section-subtitle,
.popular .section-title,
.popular .section-text {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}


.popular-card .card-content {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.25); /* transparent glass */
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(10px); /* Safari support */

  border-radius: var(--radius-25);
  padding: 20px;
}

.popular-card .card-rating {
  background: rgba(13, 130, 124, 0.637); /* transparent glass */
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px); /* Safari support */

  color: #d9d901;
  position: absolute;
  top: 0;
  right: 25px;

  display: flex;
  align-items: center;
  gap: 4px;

  transform: translateY(-50%);
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 14px;

  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.popular-card .card-subtitle {
  color: #136F7C;
  font-size: var(--fs-6);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.popular-card .card-title { margin-bottom: 5px; }

.popular-card :is( .card-title) > a { color: rgb(249, 234, 234); }
.popular-card :is(.card-subtitle,) > a { color: #ffffff; }

.popular-card .card-text {
  color: white;
}

.popular .btn { margin-inline: auto; }

/* Initial hidden state */
.popular-card {
  opacity: 0;
  transform: translateY(40px) scale(0.97);
  filter: blur(12px);
  transition:
    opacity 1s ease,
    transform 1s ease,
    filter 1s ease;
  will-change: transform, filter, opacity;
}

/* When card becomes visible */
.popular-card.show {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

/* When card goes back (scroll up / out) */
.popular-card.hide {
  opacity: 0;
  transform: translateY(-40px) scale(0.95);
  filter: blur(16px);
}
/* Smooth performance boost */
.popular-card {
  backface-visibility: hidden;
  transform-style: preserve-3d;
}

/* Auto cycle hide */
.popular-card.cycle-hide {
  opacity: 0;
  transform: translateY(-40px) scale(0.95);
  filter: blur(18px);
}

/* =========================
   DESKTOP – 3 CARD GRID
========================= */

.popular-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 50px;
}

/* remove vertical stacking gap */
.popular-list > li {
  margin-bottom: 0;
}
/* =========================
   DESKTOP ONLY – SHOW ONLY 3 CARDS
========================= */
@media (min-width: 769px) {
  .popular-list > li:nth-child(n + 4) {
    display: none;
  }
}

.popular-card.is-paused {
  pointer-events: auto;
}



/* =========================
   MOBILE 3D CAROUSEL EFFECT
========================= */
@media (max-width: 768px) {

  .popular-list {
    display: flex;
    align-items: center;
    gap: 18px;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    padding: 40px 20px;
    -webkit-overflow-scrolling: touch;
  }

  .popular-list::-webkit-scrollbar {
    display: none;
  }

  .popular-card {
    flex-shrink: 0;
    width: 240px;
    height: 320px;
    scroll-snap-align: center;
    transform: scale(0.85);
    opacity: 0.5;
    z-index: 1;
    transition: 
      transform 0.4s ease,
      opacity 0.4s ease;
  }

  /* ⭐ CENTER CARD */
  .popular-card.active {
    transform: scale(1);
    opacity: 1;
    z-index: 5;
  }

  /* SIDE CARDS BEHIND */
  .popular-card:not(.active) {
    transform: scale(0.88);
  }


  /* Remove ALL blur on mobile */
  .popular-card,
  .popular-card img {
    filter: none !important;
    backdrop-filter: none !important;
  }

  .popular-list {
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    touch-action: pan-x;
  }

}




/* =========================
   PACKAGE SECTION
========================= */

.package {
  padding-block: 80px;
}

.package-list {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.package-item {
  list-style: none;
}

/* =========================
   PACKAGE CARD
========================= */

.package-card {
  display: grid;
  grid-template-columns: 460px 1fr 320px;
  gap: 30px;
  background: #ffffff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(0,0,0,0.12);
  transition: 0.4s ease;
}

.package-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 22px 45px rgba(0,0,0,0.2);
}

/* =========================
   IMAGE WINDOW (LEFT)
========================= */

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}




.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .7s ease;
}



.package-card:hover .card-image img {
  transform: scale(1.15);
}

.package-card:hover .card-image::after {
  opacity: 1;
}

/* =========================
   CARD BODY (CENTER)
========================= */

.card-body {
  padding: 40px 10px;
  display: flex;
  flex-direction: column;
  justify-content: left;
}

.card-title {
  font-size: 28px;
  font-weight: 700;
  color: #136F7C;
  margin-bottom: 5px;
  text-align: left;
}

.card-desc {
  font-size: 15px;
  line-height: 1.75;
  color: #555;
  margin-bottom: 28px;
  text-align: left;
}


/* =========================
   LOCATION PILL
========================= */

.card-locations {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  background: #ffffff;
  padding: 12px 20px;
  border-radius: 50px;
  box-shadow: 0 8px 20px rgba(0,0,0,.15);
  font-size: 14px;
  width: 300px
}

.card-locations span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.card-locations ion-icon {
  color: #136F7C;
}

/* =========================
   PRICE PANEL (RIGHT)
========================= */

.card-footer {
  background: #136F7C;
  color: #ffffff;
  padding: 45px 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}

.card-footer .rating {
  font-size: 15px;
  opacity: 0.9;
}

.card-footer .price {
  font-size: 48px;
  font-weight: 800;
  margin: 22px 0;
}

.card-footer .price span {
  display: block;
  font-size: 14px;
  font-weight: 400;
  opacity: 0.85;
}

/* =========================
   BUTTON
========================= */

.card-footer .btn-secondary {
  margin-top: 10px;
  padding: 12px 36px;
  border-radius: 30px;
  border: 2px solid #ffffff;
  background: transparent;
  color: #ffffff;
  transition: .3s ease;
}

.package .btn-primary {
  display: inline-flex;
  width: auto;

  padding: 14px 36px;
  margin: 40px auto 0;

  background: #136F7C;
  color: #ffffff;

  border-radius: 50px;
  font-weight: 500;
  text-decoration: none;

  justify-content: center;
  align-items: center;

  transition: all 0.3s ease;
  
}
.package {
  text-align: center;
}






/* =========================
   MOBILE CARD OPTIMIZATION
========================= */

@media (max-width: 768px) {

  .package {
    padding-block: 10px;
  }

  .package-list {
    gap: 10px;
  }

  .package-card {
    grid-template-columns: 1fr;
    border-radius: 16px;
    box-shadow: 0 8px 18px rgba(0,0,0,0.12);
  }

  /* IMAGE */
  .card-image {
    height: 100px;
    margin: 0;
  }

  .card-image img {
    height: 100%;
    border-radius: 16px 16px 0 0;
  }

  /* BODY */
  .card-body {
    padding: 5px 5px 5px;
    height: 100%;
  }

  .card-title {
    font-size: 5px;
    margin-bottom: 1px;
  }

  .card-desc {
    font-size: 5px;
    line-height: 0.5;
    margin-bottom: 14px;
  }

  /* LOCATION PILLS */
  .card-locations {
    width: 100%;
    padding: 10px 14px;
    font-size: 13px;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
    box-shadow: 0 6px 14px rgba(0,0,0,0.12);
  }

  /* PRICE PANEL */
  .card-footer {
    padding: 10px;
    border-radius: 0 0 16px 16px;
  }

  .card-footer .price {
    font-size: 32px;
    margin: 12px 0;
  }

  .card-footer .price span {
    font-size: 13px;
  }

  .card-footer .rating {
    font-size: 14px;
  }

  .card-footer .btn-secondary {
    padding: 10px 26px;
    font-size: 30px;
  }
}

/* =========================
   MOBILE SWIPE CARD STYLE
========================= */

@media (max-width: 768px) {

  /* Horizontal swipe container */
  .package-list {
    display: flex;
    flex-direction: row;
    overflow-x: auto;
    gap: 16px;
    padding: 10px 5px 20px;

    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

  /* Hide scrollbar (clean look) */
  .package-list::-webkit-scrollbar {
    display: none;
  }

  /* Each card acts like a swipe slide */
  .package-item {
    min-width: 85%;
    scroll-snap-align: center;
  }

  /* Card polish */
  .package-card {
    height: 80%;
    border-radius: 18px;
    transition: transform 0.3s ease;
  }

  /* Slight lift on active swipe */
  .package-card:active {
    transform: scale(0.98);
  }
}

@media (max-width: 768px) {

  /* =========================
     SWIPE CONTAINER
  ========================= */

  .package-list {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding: 12px 8px 22px;
  }

  .package-list::-webkit-scrollbar {
    display: none;
  }

  .package-item {
    flex: 0 0 80%;
    scroll-snap-align: center;
  }

  /* =========================
     CARD (FIXED HEIGHT)
  ========================= */

  .package-card {
    display: flex !important;
    flex-direction: column !important;
    height: 420px;                 /* 👈 MATCHES YOUR SCREENSHOT */
    border-radius: 18px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 10px 22px rgba(0,0,0,0.14);
  }

  /* =========================
     IMAGE
  ========================= */

  .card-image {
    height: 180px;                 /* 👈 PERFECT BALANCE */
    flex-shrink: 0;
  }

  .card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }

  /* =========================
     BODY
  ========================= */

  .card-body {
    padding: 10px 12px 6px;
    flex-grow: 1;                  /* 👈 pushes button to bottom */
  }

  .card-title {
    font-size: 14px;
    margin-bottom: 6px;
  }

  .card-desc {
    font-size: 11px;
    line-height: 1.4;
    color: #555;

    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  /* =========================
     LOCATIONS
  ========================= */

  .card-locations {
    padding: 6px 10px;
    font-size: 11px;
    display: flex;
    gap: 8px;
    justify-content: center;
    flex-wrap: wrap;
  }

  /* =========================
     FOOTER → BUTTON ONLY
  ========================= */

  .card-footer {
    padding: 0;
    margin: 0;
  }

  .card-footer .price,
  .card-footer .rating {
    display: none;                 /* 👈 remove panel content */
  }

@media (max-width: 768px) {
  .package-card .card-footer .btn-secondary {
    width: 100%;
    height: 48px;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.3px;
  }
}


  .card-footer .btn-secondary:active {
    opacity: 0.9;
  }
}



/* =========================
   COMPACT SWIPE CARDS (MOBILE)
========================= */

@media (max-width: 768px) {

  /* Swipe container */
  .package-list {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 10px 4px 20px;
  }

  .package-item {
    min-width: 78%;      /* 👈 smaller card width */
    scroll-snap-align: center;
  }

  .package-card {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 22px rgba(0,0,0,0.14);
  }

  /* IMAGE (shorter) */
  .card-image {
    height: 160px;     /* 👈 reduced height */
  }

  .card-image img {
    height: 100%;
    object-fit: cover;
    border-radius: 16px 16px 0 0;
  }

  /* BODY (compact) */
  .card-body {
    padding: 2px 2px 2px;
  }

  .card-title {
    font-size: 12px;
    margin-bottom: 4px;
  }

  .card-desc {
    font-size: 10px;
    line-height: 1.5;
    margin-bottom: 5px;

    /* Optional: 3-line clamp */
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  /* LOCATION PILLS */
  .card-locations {
    width: 100%;
    padding: 5px 5px;
    font-size: 12px;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
  }

  /* PRICE PANEL (smaller) */
  .card-footer {
    padding: 5px;
  }

  .card-footer .price {
    font-size: 26px;   /* 👈 smaller price */
    margin: 8px 0;
  }

  .card-footer .price span {
    font-size: 10px;
  }

  .card-footer .btn-secondary {
    padding: 8px 20px;
    font-size: 8px;
    border-width: 1.5px;
  }
}


/* Container for the marquee view */
.marquee-view-container {
  width: 100%;            /* Responsive width for mobile */
  max-width: 1500px;      /* Limits how wide it gets on desktop */
  margin: 40px auto 0;   /* 'auto' centers the container horizontally */
}

/* Marquee Item Style */
.marquee-item {
  position: relative;
  overflow: hidden;
  border: 1px solid #136F7C;
  height: 30px;          /* Slightly shorter height looks better with narrower width */
  background: #fff;
  border-radius: 40px;   /* Half of the height for perfect pill shape */
  margin-bottom: 20px;   /* Spacing between the ribbons */
}

.marquee-link {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  font-size: 2rem;
  font-weight: 700;
  color: #136F7C;
  text-transform: uppercase;
  text-decoration: none;
  position: relative;
  z-index: 2;
  font-size: 1.5rem;
}

/* The actual flowing part */
.marquee-overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: #136F7C;
  transform: translateY(101%);
  pointer-events: none;
  z-index: 3;
}

.marquee-inner {
  display: flex;
  align-items: center;
  height: 100%;
  white-space: nowrap;
}

.marquee-part {
  display: flex;
  align-items: center;
  padding: 0 2vw;
  color: white;
  font-size: 1.5rem;
  font-weight: 800;
}

.marquee-part img {
  width: 120px;
  height: 50px;
  object-fit: cover;
  border-radius: 25px;
  margin: 0 20px;
  border: 2px solid #fff;
}

.marquee-inner {
  display: flex;
  align-items: center;
  height: 100%;
  width: max-content; /* Critical for horizontal scrolling */
  will-change: transform;
}


/* Marquee Item Style */
.marquee-item {
  position: relative;
  overflow: hidden;
  border: 1px solid #136F7C; /* Changed from border-top to full border */
  height: 100px;
  background: #fff;
  
  /* --- Added for rounded edges --- */
  border-radius: 50px;       /* This makes the ends fully circular */
  margin-bottom: 15px;      /* Adds spacing between the rounded bars */
}

/*-----------------------------------*\
 * #GALLERY
\*-----------------------------------*/

.gallery { padding-block: var(--section-padding); }

.gallery-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.gallery-image {
  width: 100%;
  height: 100%;
  border-radius: var(--radius-15);
  overflow: hidden;
}

.gallery-item:nth-child(3) { grid-area: 1 / 2 / 3 / 3; }

.gallery-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Center GALLERY section heading text */
.gallery .section-subtitle,
.gallery .section-title,
.gallery .section-text {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}




/* ================= CTA ================= */

.cta {
  padding: 90px 0;
  background: linear-gradient(135deg, #136F7C, #0d5e68);
  color: #fff;
}

.cta {
  display: flex;
  justify-content: center;
  align-items: center;
}

.cta .container {
  display: flex;
  justify-content: center;
  max-width: 1000px;
  width: 150%
}

.cta-content {
  margin-inline: auto;
}

.cta-wrapper {
  display: flex;
  justify-content: center;
}

.cta-content {
  max-width: 700px;
  text-align: center;
  padding: 50px 40px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
}

.cta-badge {
  display: inline-block;
  padding: 6px 14px;
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 30px;
  margin-bottom: 15px;
}

.cta-title {
  font-size: 36px;
  line-height: 1.3;
  margin-bottom: 15px;
}

.cta-text {
  font-size: 16px;
  opacity: 0.9;
  margin-bottom: 30px;
}

/* Buttons */
.cta-actions {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  padding: 14px 26px;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-primary {
  background: #ffffff;
  color: #136f7c;
}

.btn-primary:hover {
  background: #f1f1f1;
}

.btn-whatsapp {
  background: #ffffff;
  color: #136F7C;
}

.btn-whatsapp:hover {
  background: #136F7C;
  color: #ffffff;
}



/*-----------------------------------*\
 * #FOOTER
\*-----------------------------------*/

.footer-top {
  background: var(--gunmetal);
  padding-block: var(--section-padding);
  color: var(--gainsboro);
}

.footer-brand { margin-bottom: 30px; }

.footer-brand img { width: 180px; }

.footer-brand .logo { margin-bottom: 20px; }

.footer-text {
  font-size: var(--fs-5);
  line-height: 1.7;
}

.footer-contact { margin-bottom: 30px; }

.contact-title {
  position: relative;
  font-family: var(--ff-montserrat);
  font-weight: var(--fw-500);
  margin-bottom: 30px;
}

.contact-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 50px;
  height: 2px;
  background: var(--bright-navy-blue);
}

.contact-text {
  font-size: var(--fs-5);
  margin-bottom: 15px;
  max-width: 200px;
}

.contact-item {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.contact-item ion-icon { --ionicon-stroke-width: 40px; }

.contact-link,
address {
  font-style: normal;
  color: var(--gainsboro);
  font-size: var(--fs-5);
}

.contact-link:is(:hover, :focus) { color: var(--white); }

.form-text {
  font-size: var(--fs-5);
  margin-bottom: 20px;
}

.footer-form .input-field {
  background: var(--white);
  font-size: var(--fs-5);
  padding: 15px 20px;
  border-radius: 100px;
  margin-bottom: 10px;
}

.footer-form .btn { width: 100%; }

.footer-bottom {
  --gunmetal: hsl(205, 36%, 17%);
  background: var(--gunmetal);
  padding-block: 20px;
  text-align: center;
}

.copyright {
  color: var(--gainsboro);
  font-size: var(--fs-5);
  margin-bottom: 10px;
}

.copyright a {
  color: inherit;
  display: inline-block;
}

.copyright a:is(:hover, :focus) { color: var(--white); }

.footer-bottom-list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 21px;
}

.footer-bottom-list > li { position: relative; }

.footer-bottom-list > li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 3px;
  right: -10px;
  bottom: 3px;
  width: 1px;
  background: hsla(0, 0%, 100%, 0.2);
}

.footer-bottom-link {
  color: var(--gainsboro);
  font-size: var(--fs-7);
  transition: var(--transition);
}

.footer-bottom-link:is(:hover, :focus) { color: var(--white); }




/*-----------------------------------*\
 * #GO TO TOP
\*-----------------------------------*/

.go-top {
  position: fixed;
  bottom: 15px;
  right: 15px;
  width: 35px;
  height: 35px;
  background: var(--bright-navy-blue);
  color: var(--white);
  display: grid;
  place-items: center;
  font-size: 18px;
  border-radius: 6px;
  box-shadow: 0 1px 3px hsla(0, 0%, 0%, 0.5);
  opacity: 0;
  transform: translateY(10px);
  visibility: hidden;
  transition: var(--transition);
}

.go-top.active {
  opacity: 0.8;
  transform: translateY(0);
  visibility: visible;
}

.go-top:is(:hover, :focus) { opacity: 1; }




/*-----------------------------------*\
 * #MEDIA QUERIES
\*-----------------------------------*/

/**
 * responsive for larger than 580px screen
 */

@media (min-width: 580px) {

  /**
   * REUSED STYLE
   */

  .container {
    max-width: 580px;
    margin-inline: auto;
  }

  .btn {
    --fs-5: 16px;
    --padding: 12px 30px;
  }

  section:not(.cta) :is(.section-subtitle, .section-title, .section-text) {
    text-align: center;
  }

  .section-text { margin-bottom: 40px; }

  .card-text { --fs-5: 15px; }


  /**
   * HEADER
   */

  .header { padding-top: 83px; }

  .helpline-box .icon-box { padding: 14px; }

  .header-top .logo img { max-width: unset; }

  .search-btn { font-size: 30px; }

  .nav-open-btn { font-size: 40px; }

  .header .btn {
    --fs-5: 14px;
    --padding: 6px 20px;
  }


  /**
   * HERO
   */

  .hero {
    min-height: 800px;
    padding-top: 85px;
  }

  .hero-text { --fs-5: 15px; }

  .btn-group { gap: 20px; }


  /**
   * TOUR SEARCH
   */

  .tour-search-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: flex-end;
    gap: 15px;
  }

  .tour-search-form .input-wrapper { margin-bottom: 0; }

  .tour-search-form .input-field { padding: 16px 20px; }

  .tour-search .btn {
    grid-column: span 2;
    margin-top: 20px;
  }


  /**
   * POPULAR
   */

  .popular-card .card-content { right: auto; }


  /**
   * FOOTER
   */

  .footer .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }

  .footer-form { grid-column: span 2; }

  .footer-bottom { text-align: left; }

  .copyright { margin-bottom: 0; }

  .footer-bottom-list { justify-content: flex-end; }

}




/**
 * responsive for larger than 768px screen
 */

@media (min-width: 768px) {

  /**
   * CUSTOM PROPERTY
   */

  :root {

    /**
     * typography
     */

    --fs-5: 15px;

  }


  /**
   * REUSED STYLE
   */

  .container { max-width: 800px; }

  .section-text {
    max-width: 60ch;
    margin-inline: auto;
  }


  /**
   * HEADER
   */

  .helpline-box {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 10px;
  }

  .helpline-box .wrapper {
    display: block;
    color: var(--white);
    font-size: var(--fs-6);
  }

  .social-list { gap: 10px; }


  /**
   * POPULAR
   */

  .popular-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 50px;
  }

  .popular-list > li:not(:last-child) { margin-bottom: 0; }

  .popular-card .card-content { right: 20px; }


  /**
   * PACKAGE
   */

  .package-list { margin-bottom: 50px; }

  .package-list > li:not(:last-child) { margin-bottom: 40px; }

  .package-card {
    display: grid;
    grid-template-columns: 1.3fr 1.5fr 1fr;
  }

  .package-card .card-banner { height: 100%;  }

  .package-card .card-content { padding: 40px; }

  .package-card .card-price {
    display: grid;
    place-content: center;
  }

  .package-card .card-price .wrapper { margin-bottom: 15px; }

  /* ================= PACKAGE WIDTH CONTROL ================= */

.package-list {
  max-width: 1200px;   /* adjust: 1100–1300 if needed */
  margin: 0 auto 50px;
}

.package-card {
  width: 100%;
  margin: 0 auto;
  border-radius: 18px;
  overflow: hidden;
}



  /**
   * GALLERY
   */

  .gallery { padding-bottom: calc(var(--section-padding * 2)); }

  .gallery-list {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }

  .gallery-image { border-radius: var(--radius-25); }


  /**
   * CTA
   */

  .cta .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .cta-content { width: calc(100% - 225px); }

  .cta .section-text { margin-inline: 0; }


  /**
   * FOOTER
   */

  .form-wrapper {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 20px;
  }

  .footer-form .input-field { margin-bottom: 0; }

  .footer-form .btn { width: max-content; }

}




/**
 * responsive for larger than 992px screen
 */

@media (min-width: 992px) {

  /**
   * REUSED STYLE
   */

  .container { max-width: 1050px; }


  /**
   * HEADER
   */

  .header.active .header-top {
    position: unset;
    background: unset;
  }

  .nav-open-btn,
  .navbar-top { display: none; }

  .header-bottom { border-bottom: none; }

  .header.active .header-bottom {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--white);
    color: var(--onyx);
    box-shadow: 0 2px 5px hsla(0, 0%, 0%, 0.08);
    transition: var(--transition);
  }

  .header-bottom .container { padding-block: 0; }

  .header .navbar { all: unset; }

  .navbar-list {
    border-top: none;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .navbar-list li { border-bottom: none; }

  .navbar-link {
    color: var(--white);
    --fs-4: 16px;
    font-weight: unset;
    text-transform: uppercase;
    padding: 20px 15px;
  }

  .header.active .navbar-link { color: var(--onyx); }

  .header.active .navbar-link:is(:hover, :focus) { color: var(--bright-navy-blue); }

  .header.active .social-link {
    color: var(--onyx);
    border-color: hsla(0, 0%, 0%, 0.15);
  }

  .overlay { display: none; }


  /**
   * HERO
   */

  .hero .container { max-width: 740px; }


  /**
   * TOUR SEARCH
   */

  .tour-search-form { grid-template-columns: repeat(5, 1fr); }

  .tour-search .btn {
    --padding: 15px;
    grid-column: unset;
    margin-top: 0;
  }


  /**
   * POPULAR
   */

  .popular-list { grid-template-columns: repeat(3, 1fr); }


  /**
   * PACKAGE
   */

  .meta-box { --fs-8: 13px; }

  .meta-box > ion-icon { font-size: 15px; }


  /**
   * CTA 
   */

  .cta .section-title { max-width: 25ch; }


  /**
   * FOOTER
   */

  .footer-top .container {
    grid-template-columns: repeat(3, 1fr);
    gap: 50px;
  }

  .footer-form { grid-column: unset; }

  .form-wrapper { flex-direction: column; }

  .footer-form .btn { width: 100%; }

}



