/*-----------------------------------*\
 * #style.css
\*-----------------------------------*/

/**
 * copyright 2026 codewithsadee
 */





/*-----------------------------------*\
 * #CUSTOM PROPERTY
\*-----------------------------------*/

:root {

  /**
   * colors (original)
   */

  --united-nations-blue: hsl(214, 56%, 58%);
  --bright-navy-blue: hsl(214, 57%, 51%);
  --spanish-gray: hsl(0, 0%, 60%);
  --black-coral: hsl(225, 8%, 42%);
  --oxford-blue: hsl(208, 97%, 12%);
  --yale-blue: hsl(214, 72%, 33%);
  --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;
  --ff-system: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica", "Arial", 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;

  /**
   * iOS-style transitions
   */

  --transition: 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-spring: 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  --transition-bounce: 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);

  /**
   * spacing
   */

  --section-padding: 30px;

  /**
   * iOS-style border-radius
   */

  --radius-8: 8px;
  --radius-12: 12px;
  --radius-15: 15px;
  --radius-20: 20px;
  --radius-25: 25px;
  --radius-30: 30px;

}





/*-----------------------------------*\
 * #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;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body { 
  background: var(--white);
  transition: background-color var(--transition-smooth);
}





/*-----------------------------------*\
 * #REUSED STYLE
\*-----------------------------------*/

.container { padding-inline: 15px; }

.btn {
  color: var(--white);
  text-transform: uppercase;
  font-size: var(--fs-5);
  font-weight: var(--fw-600);
  border-radius: var(--radius-12);
  padding: var(--padding, 12px 24px);
  border: var(--border-width, 0px) solid transparent;
  transition: all var(--transition-smooth);
  box-shadow: 0 4px 12px var(--ios-shadow);
  position: relative;
  overflow: hidden;
  letter-spacing: 0.5px;
}

.btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.btn:active::before {
  width: 300px;
  height: 300px;
}

.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);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px hsla(214, 57%, 51%, 0.3);
}

.btn-primary:active {
  transform: translateY(0px);
  box-shadow: 0 2px 8px hsla(211, 100%, 50%, 0.2);
}

.btn-secondary { 
  border-color: var(--white); 
  backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.15);
}

.btn-secondary:is(:hover, :focus) { 
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255, 255, 255, 0.2);
}

.btn-secondary:active {
  transform: translateY(0px);
}

.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); font-weight: var(--fw-700); }

.h3 {
  font-size: var(--fs-3);
}

.hero .hero-title{
  color: #fff;
}

.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: 30px; }

.section-text {
  color: var(--black-coral);
  margin-bottom: 30px;
}

.card-text {
  color: var(--black-coral);
  font-size: var(--fs-5);
}





/*-----------------------------------*\
 * #HEADER
\*-----------------------------------*/

.header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  padding-top: 0;
  z-index: 4;
}

/* ---- Layer 1: Top bar (dark blue, white text/icons) ---- */
.header-top {
  position: relative;
  width: 100%;
  z-index: 1;
  background: var(--oxford-blue);
  color: var(--white);
  padding-block: 0;
  font-size: var(--fs-7);
  
}

.header.active .header-top {
  opacity: 0;
  transform: translateY(-100%);
  pointer-events: none;
  position: absolute;
  height: 0;
  overflow: hidden;
}

.header-bottom.fade-in {
  animation: headerFadeIn 0.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes headerFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.header-top .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-block: 8px;
  gap: 20px;
}

/* Top bar left: phone + email */
.topbar-left {
  display: flex;
  align-items: center;
  gap: 6px;
}

.topbar-contact {
  display: flex;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 13px;
  transition: color 0.2s ease;
  white-space: nowrap;
}

.topbar-contact ion-icon {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  flex-shrink: 0;
}

.topbar-contact:hover {
  color: var(--white);
}

.topbar-divider {
  width: 1px;
  height: 16px;
  background: rgba(255, 255, 255, 0.2);
  margin-inline: 10px;
  flex-shrink: 0;
}

/* Top bar right: social + language */
.topbar-right {
  display: flex;
  align-items: center;
  gap: 6px;
}

.topbar-social {
  display: flex;
  align-items: center;
  gap: 4px;
}

.topbar-social a {
  color: rgba(255, 255, 255, 0.75);
  font-size: 15px;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.2s ease;
}

.topbar-social a:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
}

@keyframes slideDown {
  from {
    transform: translateY(-100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes fadeInLogo {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.header.active .sticky-logo {
  animation: slideInLeft 0.4s ease-out;
}

.header.active .navbar-list {
  animation: fadeInLogo 0.5s ease-out;
}

.header.active .btn-primary {
  animation: slideInRight 0.5s ease-out;
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* ---- Layer 2: Main header (logo left, nav, button right) ---- */
.header-bottom .container {
  display: flex;
  align-items: center;
  padding-block: 10px;
  gap: 20px;
  position: relative;
}

.header-bottom .logo {
  flex-shrink: 0;
}

.header-bottom .logo img {
  max-width: 150px;
  height: auto;
}

.sticky-logo {
  display: none;
  opacity: 0;
  transition: all var(--transition-smooth);
}

.header.active .sticky-logo {
  display: block;
  opacity: 1;
}

.sticky-logo img {
  height: 52px;
  width: auto;
}

/* Social list is now in the topbar; hide old social-list in header-bottom */
.header-bottom .social-list {
  display: none;
}

.header .btn { --padding: 4px 20px; }

.header .navbar {
  position: fixed;
  top: 0;
  right: -320px;
  width: 100%;
  max-width: 320px;
  height: 100%;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(40px) saturate(180%);
  -webkit-backdrop-filter: blur(40px) saturate(180%);
  visibility: hidden;
  pointer-events: none;
  transition: all var(--transition-smooth);
  z-index: 30;
  box-shadow: -5px 0 25px rgba(0, 0, 0, 0.1);
}

.navbar.active {
  right: 0;
  visibility: visible;
  pointer-events: all;
  transition: all var(--transition-smooth);
  animation: slideInRight 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes slideInRight {
  from {
    right: -320px;
    opacity: 0.8;
  }
  to {
    right: 0;
    opacity: 1;
  }
}

.navbar-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 40px 15px;
}

.navbar-top .logo img { width: 150px; }

.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.06);
  padding: 8px 0;
}

.navbar-list li { 
  margin: 4px 12px;
  border-radius: var(--radius-12);
  overflow: hidden;
  transition: all var(--transition);
}

.navbar-link {
  padding: 16px 20px;
  color: var(--jet);
  font-weight: var(--fw-500);
  font-size: var(--fs-4);
  transition: all var(--transition-smooth);
  text-transform: capitalize;
  display: block;
  border-radius: var(--radius-12);
  position: relative;
}

.navbar-link::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 3px;
  background: var(--bright-navy-blue);
  transform: scaleY(0);
  transition: transform var(--transition-smooth);
}

.navbar-link:is(:hover, :focus) { 
  color: var(--bright-navy-blue);
  background: hsla(214, 57%, 51%, 0.08);
  transform: translateX(4px);
}

.navbar-link:is(:hover, :focus)::before {
  transform: scaleY(1);
}

.navbar-link:active {
  transform: translateX(2px);
  background: hsla(214, 57%, 51%, 0.12);
}

.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0;
  pointer-events: none;
  z-index: 25;
  transition: all var(--transition-smooth);
}

.overlay.active {
  opacity: 1;
  pointer-events: all;
  animation: fadeIn 0.3s ease-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.container-item  {
  justify-self: flex-end;
  display: flex;
  align-items: center;
}

.contact-info {
  display: flex;
  align-items: center;
  margin-right: 20px;
}

/* Removed old contact-item styles - now using helpline-box for both phone and email */

/* Language buttons (in dark topbar) */
.language-buttons {
  display: flex;
  flex-direction: row;
  gap: 2px;
  align-items: center;
  margin: 0;
  padding: 0;
}

.language-btn {
  border: none;
  background: transparent;
  color: rgba(255, 255, 255, 0.65);
  cursor: pointer;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: var(--fw-600);
  transition: all 0.2s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.language-btn:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
}

.language-btn.active {
  color: var(--white);
  background: rgba(255, 255, 255, 0.15);
}




/*-----------------------------------*\
 * #HERO
\*-----------------------------------*/

.hero {
  background-image: url("../images/hero-banner.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  background-color: hsla(0, 0%, 0%, 0.7);
  background-blend-mode: color;
  display: grid;
  place-items: center;
  min-height: 600px;
  text-align: center;
  padding-top: 110px;
}

.hero-title { margin-bottom: 20px; }

.hero-text {
  color: var(--white);
  font-size: var(--fs-5);
  margin-bottom: 40px;
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 10px;
}





/*-----------------------------------*\
 * #TOUR SEARCH
\*-----------------------------------*/

.tour-search {
  background: var(--bright-navy-blue);
  padding-block: var(--section-padding);
}

.tour-search .section-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.tour-search .section-title.tour {
  color: #fff;
  margin-bottom: 28px;
}

/* Form card container */
.tour-search .container {
  max-width: 1000px;
  margin-inline: auto;
}

.tour-search-form {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  border-radius: var(--radius-20);
  padding: 28px 20px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}

.tour-search-form .input-label {
  color: var(--white);
  font-size: var(--fs-6);
  font-weight: var(--fw-600);
  margin-bottom: 8px;
  display: block;
  margin-left: 0;
}

/* All inputs same size */
.tour-search-form .input-wrapper,
.tour-search-form .custom-dropdown {
  margin-bottom: 18px;
  margin-left: 0;
  margin-right: 0;
}

/* Unified size for all tour form fields: same min-height, padding, radius, border */
.tour-search-form .input-field,
.tour-search-form .custom-dropdown .dropdown-btn {
  width: 100%;
  min-height: 50px;
  padding: 14px 18px;
  font-size: var(--fs-5);
  border-radius: var(--radius-12);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  transition: all var(--transition-smooth);
  border: 1px solid rgba(0, 0, 0, 0.08);
  display: block;
  box-sizing: border-box;
  background: var(--white);
  color: var(--jet);
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

.tour-search-form .input-field {
  margin: 0;
}

/* Selects and custom dropdown: extra right padding for arrow */
.tour-search-form select.input-field,
.tour-search-form .custom-dropdown .dropdown-btn {
  padding: 14px 44px 14px 18px;
}

/* Dropdown arrow for all select elements */
.tour-search-form select.input-field {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23334b6b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 18px;
  cursor: pointer;
}

.tour-search-form .input-field:focus {
  outline: none;
  border-color: var(--bright-navy-blue);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  background-color: var(--white);
}

.tour-search-form .input-field:focus,
.tour-search-form .custom-dropdown .dropdown-btn:focus {
  transform: none;
}

.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 #hotelStars.input-field,
.tour-search-form #foodType.input-field,
.tour-search-form #destination.input-field {
  width: 100%;
}

/* Text/date/number inputs - same padding as other fields, no arrow space */
.tour-search-form .input-wrapper input.input-field {
  padding: 14px 18px;
}

#responseMessage {
  border-radius: var(--radius-12);
  background: rgba(60, 179, 113, 0.95);
  margin: 0 0 20px;
  color: var(--white);
  font-size: var(--fs-5);
  padding: 14px 20px;
  text-align: center;
}

#responseMessage > span {
  display: block;
}

.tour-search .btn {
  width: 100%;
  max-width: 320px;
  margin-left: auto;
  margin-top: 12px;
  --border-width: 0;
  font-weight: var(--fw-700);
  padding: 16px 32px;
  font-size: var(--fs-4);
  border-radius: var(--radius-12);
  box-shadow: 0 4px 16px hsla(0, 0%, 100%, 0.2);
}

.tour-search .btn:hover {
  box-shadow: 0 6px 24px hsla(0, 0%, 100%, 0.3);
}



/*-----------------------------------*\
 * #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-20);
  height: 430px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  transition: all var(--transition-smooth);
  cursor: pointer;
}

.popular-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.15);
}

.popular-card:active {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}

.popular-card .card-img { height: 100%; }

.popular-card .card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.popular-card .card-content {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-radius: var(--radius-20);
  padding: 20px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  transition: all var(--transition-smooth);
}

.popular-card:hover .card-content {
  background: rgba(255, 255, 255, 0.98);
  transform: translateY(-4px);
}


.popular-card .card-rating {
  background: var(--bright-navy-blue);
  color: var(--white);
  position: absolute;
  top: 0;
  right: 25px;
  display: flex;
  align-items: center;
  gap: 4px;
  transform: translateY(-50%);
  padding: 8px 14px;
  border-radius: var(--radius-25);
  font-size: 14px;
  font-weight: var(--fw-600);
  box-shadow: 0 4px 12px hsla(214, 57%, 51%, 0.3);
  transition: all var(--transition-smooth);
}

.popular-card:hover .card-rating {
  transform: translateY(-50%) scale(1.05);
  box-shadow: 0 6px 16px hsla(214, 57%, 51%, 0.4);
}

.popular-card .card-subtitle {
  color: var(--blue-ncs);
  font-size: var(--fs-4);
  text-transform: uppercase;
  margin-bottom: 8px;
  font-weight: var(--fw-700);
}

.popular-card .card-title { margin-bottom: 5px; }

.popular-card :is(.card-subtitle, .card-title) > a { color: inherit; }

.popular .btn { margin-inline: auto; }

.validation-message{
  color: rgb(244, 169, 66);
  margin-bottom: 0.5rem;
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}



/*-----------------------------------*\
 * #PACKAGE
\*-----------------------------------*/

.package { padding-block: var(--section-padding); }

.package-list { margin-bottom: 40px; }

.package-list > li:not(:last-child) { margin-bottom: 30px; }

.package-card {
  background: var(--cultured);
  overflow: hidden;
  border-radius: var(--radius-20);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  transition: all var(--transition-smooth);
  cursor: pointer;
}

.package-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}

.package-card:active {
  transform: translateY(-3px);
}

.package-card .card-banner { height: 250px; }

.package-card .card-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.package-card .card-content { padding: 30px 20px; }

.package-card .card-title { margin-bottom: 15px; }

.package-card .card-text {
  line-height: 1.6;
  margin-bottom: 20px;
}

.card-meta-list {
  background: var(--white);
  max-width: max-content;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  padding: 10px;
  box-shadow: 0 2px 8px hsla(0, 0%, 0%, 0.06);
  border-radius: var(--radius-25);
  transition: all var(--transition);
}

.package-card:hover .card-meta-list {
  background: var(--cultured);
  box-shadow: 0 4px 12px hsla(0, 0%, 0%, 0.08);
}

.card-meta-item { position: relative; }

.card-meta-item:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 4px;
  right: -1px;
  bottom: 4px;
  width: 1px;
  background: hsla(0, 0%, 0%, 0.3);
}

.meta-box {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5px;
  padding-inline: 9px;
  color: var(--black-coral);
  font-size: var(--fs-8);
}

.meta-box > ion-icon {
  color: var(--bright-navy-blue);
  font-size: 13px;
}

.package-card .card-price {
  background: var(--united-nations-blue);
  color: var(--white);
  padding: 30px 20px;
  text-align: center;
  transition: all var(--transition);
}

.package-card:hover .card-price {
  background: var(--bright-navy-blue);
}

.package-card .card-price .wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 5px 15px;
  margin-bottom: 10px;
}

/* Modern card links (open in new tab) */
.package-card .card-price a {
  color: var(--white);
  text-decoration: none;
  font-weight: var(--fw-600);
  transition: opacity 0.2s ease, color 0.2s ease;
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
}
.package-card .card-price a:hover {
  opacity: 0.9;
  border-bottom-color: rgba(255, 255, 255, 0.8);
}
.package-card .card-price a:focus {
  outline: 2px solid rgba(255, 255, 255, 0.6);
  outline-offset: 4px;
}
.package-card .card-price a::after {
  content: " ↗";
  font-size: 0.85em;
  opacity: 0.8;
}

.package-card .card-price .reviews { font-size: var(--fs-5); }

.package-card .card-rating {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1px;
  font-size: 14px;
}

.package-card .price {
  font-size: var(--fs-2);
  font-family: var(--ff-montserrat);
  font-weight: var(--fw-800);
  margin-bottom: 20px;
  margin-top: 15px;
}

.package-card .price span {
  font-size: var(--fs-7);
  font-weight: initial;
}

.package .btn { margin-inline: auto; }


/*Custom dropdown - iOS style*/
.input-wrapper .input-field,
.custom-dropdown .input-wrapper {
  background: var(--white);
  padding: 16px 20px;
  font-size: var(--fs-5);
  border-radius: var(--radius-12);
  margin-bottom: 10px;
  position: relative;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: all var(--transition-smooth);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.input-wrapper .input-field:focus,
.custom-dropdown .input-wrapper:focus-within {
  border-color: var(--bright-navy-blue);
  box-shadow: 0 4px 16px hsla(214, 57%, 51%, 0.15);
  transform: translateY(-2px);
}

/* Custom dropdown - same size as other inputs, clear dropdown look */
.tour-search-form .custom-dropdown {
  position: relative;
}

.tour-search-form .custom-dropdown .dropdown-btn {
  margin-left: 0;
  margin-right: 0;
  margin-bottom: 0;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

.tour-search-form .custom-dropdown .dropdown-btn:hover {
  border-color: var(--bright-navy-blue);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.tour-search-form .custom-dropdown .dropdown-btn:active {
  transform: none;
}

.tour-search-form .custom-dropdown .dropdown-arrow {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bright-navy-blue);
  font-size: 14px;
  pointer-events: none;
  transition: transform var(--transition-smooth);
}

.tour-search-form .custom-dropdown.active .dropdown-arrow {
  transform: translateY(-50%) rotate(180deg);
}

.tour-search-form .custom-dropdown .dropdown-text {
  flex: 1;
  text-align: left;
}

/* Disabled state for age dropdown when no children selected (tooltip via title) */
.tour-search-form .custom-dropdown.disabled .dropdown-btn {
  opacity: 0.6;
  cursor: not-allowed;
  pointer-events: none;
  background: hsl(0, 0%, 95%);
  color: var(--spanish-gray);
}

.tour-search-form .custom-dropdown.disabled .dropdown-arrow {
  color: var(--spanish-gray);
}

/* Custom one-line tooltip when age dropdown is disabled (language-aware) */
.tour-search-form .custom-dropdown .child-ages-tooltip {
  position: absolute;
  left: 0;
  top: 100%;
  margin-top: 6px;
  padding: 8px 12px;
  background: #1a1a1a;
  color: #fff;
  border-radius: var(--radius-8);
  font-size: var(--fs-7);
  white-space: nowrap;
  z-index: 1001;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}
.tour-search-form .custom-dropdown .child-ages-tooltip.visible {
  opacity: 1;
}

.tour-search-form .custom-dropdown .validation-message {
  margin-bottom: 8px;
}

.tour-search-form .custom-dropdown .dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  margin-top: 8px;
  background: var(--white);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
  padding: 12px;
  z-index: 1000;
  border-radius: var(--radius-12);
  border: 1px solid rgba(0, 0, 0, 0.08);
  animation: dropdownSlide 0.25s ease-out;
  max-height: 280px;
  overflow-y: auto;
}

@keyframes dropdownSlide {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.tour-search-form .custom-dropdown .dropdown-content.show {
  display: block;
}

.tour-search-form .custom-dropdown .child-input-container {
  margin-bottom: 14px;
}

.tour-search-form .custom-dropdown .child-input-container:last-child {
  margin-bottom: 0;
}

.tour-search-form .custom-dropdown .child-input-label {
  display: block;
  font-size: var(--fs-7);
  color: var(--black-coral);
  margin-bottom: 6px;
  font-weight: var(--fw-500);
}

.tour-search-form .custom-dropdown .child-input-field {
  width: 100%;
  min-height: 44px;
  padding: 10px 14px;
  font-size: var(--fs-5);
  border-radius: var(--radius-8);
  border: 1px solid rgba(0, 0, 0, 0.1);
  box-sizing: border-box;
}

.tour-search-form .custom-dropdown .child-input-field:focus {
  outline: none;
  border-color: var(--bright-navy-blue);
}

.tour-search-form button:last-child {
  grid-column: 5; 
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 15px;
}

.header.active .btn-primary {
  flex-shrink: 0;
}
/*-----------------------------------*\
 * #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-20);
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: all var(--transition-smooth);
  cursor: pointer;
}

.gallery-image:hover {
  transform: scale(1.02);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.gallery-image:active {
  transform: scale(1.01);
}

.gallery-item:nth-child(3) { grid-area: 1 / 2 / 3 / 3; }

.gallery-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-smooth);
}

.gallery-image:hover img {
  transform: scale(1.05);
}





/*-----------------------------------*\
 * #CTA
\*-----------------------------------*/

.cta {
  background: var(--bright-navy-blue);
  padding-block: var(--section-padding);
}

.cta :is(.section-subtitle, .section-title, .section-text) { color: var(--white); }

.cta .section-text { font-size: var(--fs-5); }





/*-----------------------------------*\
 * #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: rgba(255, 255, 255, 0.95);
  font-size: var(--fs-5);
  padding: 16px 22px;
  border-radius: var(--radius-12);
  margin-bottom: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all var(--transition-smooth);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.footer-form .input-field:focus {
  outline: none;
  background: var(--white);
  border-color: var(--bright-navy-blue);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  transform: translateY(-2px);
}

.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: 24px;
  right: 24px;
  width: 48px;
  height: 48px;
  background: var(--bright-navy-blue);
  color: var(--white);
  display: grid;
  place-items: center;
  font-size: 20px;
  border-radius: 50%;
  box-shadow: 0 8px 24px hsla(214, 57%, 51%, 0.35);
  opacity: 0;
  transform: translateY(20px) scale(0.8);
  visibility: hidden;
  transition: opacity 0.15s ease-out, transform 0.2s ease-out, box-shadow 0.2s;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.go-top.active {
  opacity: 1;
  transform: translateY(0) scale(1);
  visibility: visible;
  animation: bounceIn 0.25s ease-out;
}

@keyframes bounceIn {
  0% {
    opacity: 0;
    transform: translateY(12px) scale(0.9);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.go-top:is(:hover, :focus) { 
  opacity: 1;
  transform: translateY(-4px) scale(1.08);
  box-shadow: 0 12px 32px hsla(214, 57%, 51%, 0.45);
  background: var(--yale-blue);
}

.go-top:active {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 8px 24px hsla(214, 57%, 51%, 0.35);
}





/*-----------------------------------*\
 * #MEDIA QUERIES
\*-----------------------------------*/
@media only screen and (max-width: 600px) {
  body {
    overflow-x: hidden;
  }
  
  /* Mobile topbar: hide email, keep phone icon only */
  .topbar-left .topbar-divider,
  .topbar-left .topbar-contact:nth-child(3) {
    display: none;
  }
  
  .topbar-contact span {
    display: none;
  }
  
  .topbar-contact ion-icon {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.85);
  }
  
  .header-top .container {
    padding-inline: 12px 16px;
    padding-block: 6px;
    gap: 8px;
  }
  
  .language-btn {
    padding: 3px 8px;
    font-size: 11px;
  }
  
  .topbar-social a {
    width: 26px;
    height: 26px;
    font-size: 13px;
  }
  
  .topbar-divider {
    height: 14px;
    margin-inline: 6px;
  }
  
  .header { padding-top: 0; }
  
  /* Mobile header bottom */
  .menu-line {
    width: 32px;
    height: 4px;
    background-color: var(--oxford-blue);
    margin: 5px 0;
    border-radius: 2px;
  }
  
  .menu-icon {
    text-indent: -9999px;
    overflow: hidden;
    display: inline-block;
    margin-right: 0;
    padding: 8px;
  }

  .tourPlan {
    display: none;
  }
  
  .header-bottom .logo img {
    max-width: 120px !important;
  }
  
  /* Mobile header-bottom: semi-transparent (no backdrop-filter to avoid containing block for fixed navbar) */
  .header-bottom {
    background: rgba(255, 255, 255, 0.88);
  }
  
  .header-bottom .container {
    padding-block: 10px;
    gap: 10px;
    justify-content: space-between;
  }
  
  /* Mobile sticky: hide header-bottom content but free the navbar */
  .header.active .header-bottom {
    height: 0;
    overflow: visible;
    pointer-events: none;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  
  .header.active .header-bottom .container {
    visibility: hidden;
  }
  
  /* Navbar must remain visible and interactive */
  .header.active .header-bottom .navbar {
    visibility: visible;
    pointer-events: all;
  }
  
  .header.active .sticky-logo {
    display: none !important;
  }
  
  .header-actions {
    display: none;
  }
  
  /* Mobile sticky bar: glass transparent background, same as header-bottom */
  .mobile-sticky-bar {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 20;
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    padding: 8px 16px;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    animation: stickyMobileSlideIn 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  }
  
  .header.active .mobile-sticky-bar {
    display: flex;
  }
  
  .mobile-sticky-item {
    color: var(--oxford-blue);
    font-size: 20px;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
    cursor: pointer;
    background: rgba(0, 0, 0, 0.05);
  }
  
  .mobile-sticky-item:hover,
  .mobile-sticky-item:active {
    color: var(--bright-navy-blue);
    background: rgba(0, 0, 0, 0.1);
  }
  
  .mobile-sticky-item ion-icon {
    font-size: 20px;
  }
  
  .mobile-sticky-item i {
    font-size: 20px;
    display: block;
  }
  
  /* Mobile sticky burger: same style as header-bottom menu-icon */
  .mobile-sticky-burger {
    text-indent: 0;
    flex-direction: column;
    gap: 0;
  }
  
  .mobile-sticky-burger .menu-line {
    width: 24px;
    height: 3px;
    background: var(--oxford-blue);
    margin: 4px 0;
    border-radius: 2px;
    transition: all 0.2s ease;
  }
  
  .mobile-sticky-burger:hover .menu-line {
    background: var(--bright-navy-blue);
  }
  
  @keyframes stickyMobileSlideIn {
    from {
      transform: translateY(-100%);
      opacity: 0;
    }
    to {
      transform: translateY(0);
      opacity: 1;
    }
  }
  
  /* Hero: better proportions and typography on mobile */
  .hero {
    min-height: min(520px, 70vh);
    padding-top: 60px;
    padding-inline: 16px;
  }
  
  .hero .container {
    padding-inline: 0;
  }
  
  .hero-title {
    font-size: clamp(1.35rem, 5.5vw, 1.75rem);
    line-height: 1.25;
    margin-bottom: 12px;
    letter-spacing: 0.02em;
  }
  
  .hero-text {
    font-size: 14px;
    margin-bottom: 28px;
    line-height: 1.4;
    opacity: 0.95;
  }
  
  /* Tour search: card-style form with comfortable spacing */
  .tour-search {
    padding-block: 24px;
    padding-inline: 12px;
  }
  
  .tour-search .container {
    padding-inline: 12px;
    max-width: 100%;
  }
  
  .tour-search .section-title.tour {
    font-size: clamp(1.25rem, 4.5vw, 1.5rem);
    margin-bottom: 20px;
    padding-inline: 8px;
    text-align: center;
    line-height: 1.3;
  }
  
  .tour-search-form {
    padding: 20px 16px;
    border-radius: 16px;
    margin: 0;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.12);
  }
  
  .tour-search-form .input-wrapper,
  .tour-search-form .custom-dropdown {
    margin-bottom: 16px;
  }
  
  .tour-search-form .input-label {
    font-size: 13px;
    margin-bottom: 6px;
  }
  
  .tour-search .btn {
    margin-top: 16px;
    padding: 14px 24px;
    font-size: 14px;
  }
}
/**
 * responsive for larger than 580px screen
 */

@media (min-width: 580px) {

  /**
   * REUSED STYLE
   */

  .container {
    max-width: 580px;
    margin-inline: auto;
  }
  
  /* Show email on tablets and above */
  .contact-info-group .helpline-box:nth-child(2) {
    display: flex;
  }
  
  .contact-info-group {
    flex-wrap: wrap;
  }
  
  .header-top .container {
    grid-template-columns: 1fr auto 1fr;
  }
  
  .header-top .contact-info-group {
    justify-self: start;
  }
  
  .header-top .container-item {
    justify-self: end;
  }

  .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: 0; }
  
  .header-actions {
    display: flex !important;
  }

  /* Show full contact text on wider screens */
  .topbar-contact span { display: inline; }

  .search-btn { font-size: 30px; }

  .nav-open-btn { font-size: 40px; }

  .header .btn {
    --fs-5: 14px;
    --padding: 6px 20px;
  }
  
  /* Tour planning button - same style in main header and sticky header (pill, solid blue, white text) */
  .header .btn-primary,
  .header.active .btn-primary {
    background: var(--bright-navy-blue);
    color: var(--white);
    border: none;
    padding: 11px 22px;
    font-weight: var(--fw-600);
    box-shadow: 0 2px 10px hsla(214, 57%, 51%, 0.3);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: var(--radius-8);
    white-space: nowrap;
    transition: all var(--transition-smooth);
  }
  
  .header .btn-primary:hover,
  .header.active .btn-primary:hover {
    background: var(--yale-blue);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px hsla(214, 57%, 51%, 0.4);
  }
  
  .header .btn-primary:active,
  .header.active .btn-primary:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px hsla(214, 57%, 51%, 0.3);
  }
  
  .header .btn-primary::before,
  .header.active .btn-primary::before {
    display: none;
  }



  /**
   * HERO
   */

  .hero {
    min-height: 800px;
    padding-top: 75px;
  }

  .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;
    margin: 10px;
  }

  .tour-search-form .input-wrapper,
  .tour-search-form .custom-dropdown { margin-bottom: 0; }

  .tour-search-form .input-field,
  .tour-search-form .custom-dropdown .dropdown-btn {
    min-height: 50px;
  }

  .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;
    color: var(--bright-navy-blue);
    gap: 10px;
  }

  .helpline-box .wrapper {
    display: block;
    min-width: 200px;
  }
  
  .helpline-box .icon-box {
    padding: 10px;
    width: 44px;
    height: 44px;
  }
  
  .helpline-box .icon-box ion-icon {
    font-size: 22px;
  }
  
  .contact-info-group {
    flex-wrap: nowrap;
  }
  
  .contact-info-group .helpline-box:nth-child(2)::before {
    height: 40px;
  }
  
  .helpline-title {
    font-size: var(--fs-7);
    white-space: nowrap;
  }
  
  .helpline-number {
    font-size: var(--fs-6);
    white-space: nowrap;
  }
  
  .contact-info-group .helpline-box:nth-child(2) {
    padding-left: 25px;
  }
  
  .helpline-box .wrapper {
    min-width: 150px;
  }
  

  .social-list { gap: 10px; }
  
  /* Hide social links in sticky header */
  .header.active .social-list {
    display: none;
  }
  
  /* Adjust sticky header for tablet */
  .header.active .header-bottom .container {
    gap: 20px;
    padding-inline: 20px;
  }
  
  .header.active .navbar-link {
    padding: 10px 20px;
    font-size: 13px;
  }
  
  .header .btn-primary,
  .header.active .btn-primary {
    padding: 10px 20px;
    font-size: 13px;
  }



  /**
   * 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; }



  /**
   * 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
   */

  .nav-open-btn,
  .navbar-top { display: none; }

  .header-bottom {
    border-bottom: none;
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
  }

  .header.active .header-bottom {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    color: var(--onyx);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
    z-index: 10;
    animation: stickySlideIn 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  }
  
  @keyframes stickySlideIn {
    0% {
      transform: translateY(-100%);
      opacity: 0;
    }
    60% {
      opacity: 1;
    }
    100% {
      transform: translateY(0);
      opacity: 1;
    }
  }

  .header.active .header-bottom .container { 
    padding-block: 15px;
    padding-inline: 40px;
    max-width: 1500px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 60px;
    justify-content: space-between;
    min-height: 70px;
  }
  
  
  .header.active .sticky-logo {
    display: block !important;
    opacity: 1;
    background: transparent;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
    transition: all var(--transition-smooth);
  }
  
  .header.active .sticky-logo img {
    height: 50px;
    width: auto;
    display: block;
  }
  
  .header.active .sticky-logo:hover {
    transform: translateY(-2px);
    opacity: 0.9;
  }
  
  /* Hide menu icon and mobile sticky bar in desktop view */
  .header.active .menu-icon {
    display: none;
  }
  
  .mobile-sticky-bar,
  .header.active .mobile-sticky-bar {
    display: none !important;
  }

  .header .navbar { all: unset; }
  
  /* Desktop: nav fills center, push button to right */
  .header-bottom .navbar {
    flex: 1;
    display: flex;
    justify-content: center;
  }

  .navbar-list {
    border-top: none;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
  }

  .navbar-list li { 
    border-bottom: none;
    margin: 0;
  }
  
  .header.active .navbar-list {
    gap: 0;
  }
  
  .header.active .navbar {
    flex: 1;
    display: flex;
    justify-content: center;
    position: static;
    background: transparent;
    visibility: visible;
    pointer-events: all;
    max-width: none;
    box-shadow: none;
    padding: 0;
  }

  .navbar-link,
  .header.active .navbar-link { 
    color: var(--gunmetal);
    padding: 11px 20px;
    font-weight: var(--fw-600);
    font-size: 14px;
    --fs-4: 14px;
    text-transform: uppercase;
    background: transparent;
    border-radius: var(--radius-8);
    border: none;
    position: relative;
    overflow: hidden;
    transition: all var(--transition-smooth);
  }

  /* Unified hover for both header-bottom and sticky header */
  .navbar-link::before,
  .header.active .navbar-link::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--bright-navy-blue);
    transform: scaleY(0);
    transition: transform var(--transition-smooth);
    border-radius: 3px 0 0 3px;
  }

  .navbar-link:is(:hover, :focus),
  .header.active .navbar-link:is(:hover, :focus) { 
    color: var(--bright-navy-blue);
    background: hsla(214, 57%, 51%, 0.08);
    transform: none;
    box-shadow: none;
  }
  
  .navbar-link:is(:hover, :focus)::before,
  .header.active .navbar-link:is(:hover, :focus)::before {
    transform: scaleY(1);
  }
  
  .navbar-list,
  .header.active .navbar-list {
    gap: 5px;
  }

  .overlay { display: none; }



  /**
   * HERO
   */

  .hero .container { max-width: 740px; }



  /**
   * TOUR SEARCH
   */

  .tour-search-form { grid-template-columns: repeat(5, 1fr); }

  .tour-search-form .input-wrapper,
  .tour-search-form .custom-dropdown {
    min-width: 0;
  }

  .tour-search .btn {
    grid-column: 5;
    justify-self: end;
    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%; }

}





/**
 * responsive for larger than 1200px screen
 */

@media (min-width: 1200px) {

  /**
   * CUSTOM PROPERTY
   */

  :root {

    /**
     * spacing
     */

    --section-padding: 30px;

  }



  /**
   * REUSED STYLE
   */

  .container { max-width: 1180px; }

}



/*-----------------------------------*\
 * #iOS ENHANCEMENTS
\*-----------------------------------*/

/* Smooth scrolling with momentum on iOS */
* {
  -webkit-overflow-scrolling: touch;
}

/* Better input styling for iOS */
input,
select,
textarea {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
}

/* Prevent zoom on input focus for iOS */
@media screen and (max-width: 768px) {
  input,
  select,
  textarea {
    font-size: 16px;
  }
}

/* Add subtle pulse animation for interactive elements */
@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.8;
  }
}

/* Smooth card image transitions */
.card-img img,
.card-banner img {
  transition: transform var(--transition-smooth);
}

.popular-card:hover .card-img img,
.package-card:hover .card-banner img {
  transform: scale(1.05);
}

/* Add subtle text selection styling */
::selection {
  background-color: hsla(214, 57%, 51%, 0.25);
  color: var(--oxford-blue);
}

::-moz-selection {
  background-color: hsla(214, 57%, 51%, 0.25);
  color: var(--oxford-blue);
}

/* iOS-style focus rings */
button:focus-visible,
a:focus-visible {
  outline: 2px solid var(--bright-navy-blue);
  outline-offset: 3px;
  border-radius: var(--radius-8);
}

/* Smooth hover transitions for all links */
a {
  transition: all var(--transition);
}

/* Loading state animation */
@keyframes shimmer {
  0% {
    background-position: -1000px 0;
  }
  100% {
    background-position: 1000px 0;
  }
}

/* Enhance card subtitle with subtle animation */
.card-subtitle,
.section-subtitle {
  transition: all var(--transition-smooth);
}

.popular-card:hover .card-subtitle,
.package-card:hover .card-subtitle {
  color: var(--blue-ncs);
  transform: translateY(-2px);
}

/* Better touch feedback for mobile */
@media (hover: none) and (pointer: coarse) {
  .btn:active,
  .navbar-link:active,
  .social-link:active {
    opacity: 0.7;
  }
}

/* iOS-style form validation message */
.validation-message {
  color: hsl(32, 88%, 61%);
  margin-bottom: 0.5rem;
  padding: 12px 16px;
  padding-left: 1rem;
  padding-right: 1rem;
  background: hsla(32, 88%, 61%, 0.1);
  border-radius: var(--radius-8);
  border-left: 3px solid hsl(32, 88%, 61%);
  animation: slideInLeft 0.3s ease-out;
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Response message styling */
#responseMessage {
  border-radius: var(--radius-12);
  background: linear-gradient(135deg, hsl(147, 50%, 47%) 0%, hsl(147, 50%, 40%) 100%);
  margin: 15px;
  color: var(--white);
  font-size: var(--fs-3);
  box-shadow: 0 4px 16px hsla(147, 50%, 47%, 0.3);
  animation: slideInDown 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(10px);
}

@keyframes slideInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Additional language button effects are defined in the language-buttons section above */

/* Card content hover animation for titles */
.card-title {
  transition: all var(--transition-smooth);
}

.popular-card:hover .card-title,
.package-card:hover .card-title {
  color: var(--bright-navy-blue);
}

/* iOS-style search button */
.search-btn {
  transition: all var(--transition-smooth);
  padding: 8px;
  border-radius: 50%;
}

.search-btn:hover {
  background: hsla(214, 57%, 51%, 0.1);
  transform: scale(1.1);
}

.search-btn:active {
  transform: scale(1.05);
}

/* Nav open button */
.nav-open-btn {
  transition: all var(--transition-smooth);
  padding: 8px;
  border-radius: var(--radius-8);
}

.nav-open-btn:hover {
  background: hsla(214, 57%, 51%, 0.1);
  transform: scale(1.05);
}

.nav-open-btn:active {
  transform: scale(1);
}

/* Navbar top logo animation */
.navbar-top .logo {
  transition: all var(--transition-smooth);
}

.navbar-top .logo:hover {
  transform: scale(1.02);
}

/* Nav close button */
.nav-close-btn {
  transition: all var(--transition-smooth);
  padding: 8px;
  border-radius: 50%;
}

.nav-close-btn:hover {
  background: hsla(214, 57%, 51%, 0.1);
  transform: rotate(90deg) scale(1.1);
}

.nav-close-btn:active {
  transform: rotate(90deg) scale(1.05);
}

/* CTA section enhancements */
.cta {
  background: var(--bright-navy-blue);
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="2" fill="white" opacity="0.1"/></svg>');
  opacity: 0.3;
  animation: float 20s linear infinite;
}

@keyframes float {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(-100px);
  }
}

/* Tour search section */
.tour-search {
  background: var(--bright-navy-blue);
  position: relative;
}

/* Package card rating */
.package-card .card-rating {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4px;
  font-size: 14px;
  transition: all var(--transition);
}

.package-card:hover .card-rating {
  transform: scale(1.05);
}

/* Add smooth transitions to icons */
ion-icon {
  transition: all var(--transition);
}

/* Better footer styling */
.footer-top {
  background: var(--gunmetal);
  position: relative;
}

.footer-bottom {
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

/* Contact links hover */
.contact-link {
  transition: all var(--transition-smooth);
  border-radius: var(--radius-8);
  padding: 4px 8px;
  margin-left: -8px;
}

.contact-link:is(:hover, :focus) {
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
  transform: translateX(4px);
}

/* Footer bottom link animations */
.footer-bottom-link {
  transition: all var(--transition-smooth);
  padding: 4px 8px;
  border-radius: var(--radius-8);
}

.footer-bottom-link:is(:hover, :focus) {
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
}