/* ==========================================
   TraveLinea – Professional Travel Website
   Main Stylesheet
   ========================================== */

/* --- Root Variables --- */
:root {
  --primary: #0891b2;
  --primary-dark: #0e7490;
  --primary-light: #22d3ee;
  --secondary: #0f2744;
  --secondary-light: #1e3a5f;
  --accent: #ecfeff;
  --text-dark: #0c1f2e;
  --text-muted: #64748b;
  --text-light: rgba(255,255,255,0.88);
  --white: #ffffff;
  --light-bg: #f0f9ff;
  --card-bg: #ffffff;
  --card-border: rgba(8,145,178,0.11);
  --card-shadow: 0 8px 30px rgba(8,145,178,0.07);
  --card-hover-shadow: 0 22px 55px rgba(8,145,178,0.14);
  --transition: all 0.3s ease;
  --border-radius: 16px;
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  line-height: 1.7;
  overflow-x: hidden;
  background-color: var(--white);
}

img,
video {
  display: block;
}

/* Render heavy sections only when near viewport to improve initial load speed. */
#about,
#map,
#destinations,
#weather,
#tours,
#gallery,
#customize,
#testimonials,
#faq,
#blog,
#contact {
  content-visibility: auto;
  contain-intrinsic-size: 900px;
}

img,
video,
iframe {
  max-width: 100%;
  height: auto;
}

/* --- Scrollbar --- */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #f1f1f1; }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--primary-dark); }

/* --- Selection --- */
::selection { background: var(--primary-light); color: var(--white); }

/* ==========================================
   NAVBAR – Dancing Script Professional
   ========================================== */

/* ── At top of page: fully transparent ── */
#mainNav {
  padding: 0.85rem 0;
  transition: background 0.45s ease, padding 0.45s ease, box-shadow 0.45s ease, border-color 0.45s ease;
  background: transparent;
  border-bottom: none;
  z-index: 1050;
}

/* ── Scrolled: crisp white with teal accent line ── */
#mainNav.scrolled {
  background: rgba(255,255,255,1);
  padding: 0.4rem 0;
  box-shadow: 0 4px 36px rgba(8,145,178,0.13);
  border-bottom: 2.5px solid rgba(8,145,178,0.22);
}

/* ── Scrolled link colors ── */
#mainNav.scrolled .nav-link              { color: #1a2e40 !important; }
#mainNav.scrolled .nav-link:hover        { color: var(--primary) !important; }
#mainNav.scrolled .nav-link.active       { color: var(--primary) !important; }
#mainNav.scrolled .nav-link.active::after { background: var(--primary); }
#mainNav.scrolled .brand-wordmark        { color: var(--secondary) !important; }
#mainNav.scrolled #navMenu               { background: rgba(255,255,255,0.98); }
#mainNav.scrolled #navMenu .nav-link     { color: var(--secondary) !important; border-bottom-color: rgba(0,0,0,0.06); }

/* ── Brand logo + wordmark – LOGO UNCHANGED ── */
.navbar-brand {
  color: var(--white) !important;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.brand-mark {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  filter: drop-shadow(0 2px 8px rgba(8,145,178,0.5));
  transition: filter 0.3s ease, transform 0.3s ease;
}
.brand-mark--sm { opacity: 0.9; }
.navbar-brand:hover .brand-mark {
  filter: drop-shadow(0 3px 18px rgba(34,211,238,0.80));
  transform: translateY(-1px) scale(1.04);
}

.brand-wordmark {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 600;
  font-style: italic;
  color: var(--white);
  letter-spacing: 0.3px;
  line-height: 1;
  transition: color 0.35s ease;
}
.brand-wordmark em {
  color: var(--primary-light);
  font-style: italic;
  font-weight: 700;
}

/* ── Nav links – Advent Pro ── */
.nav-link {
  font-family: 'Advent Pro', sans-serif;
  color: rgba(255,255,255,0.92) !important;
  font-weight: 600;
  font-size: 1.18rem;
  letter-spacing: 0.3px;
  padding: 0.4rem 0.9rem !important;
  transition: color 0.25s ease;
  position: relative;
}

/* Left-to-right sweep underline */
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-light);
  border-radius: 2px;
  transition: width 0.28s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.nav-link:hover::after,
.nav-link.active::after { width: 100%; }

.nav-link:hover  { color: #ffffff !important; }
.nav-link.active { color: var(--primary-light) !important; }

/* ── CTA Button ── */
.btn-primary-custom {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white) !important;
  border: none;
  padding: 0.38rem 1.2rem;
  border-radius: 50px;
  font-weight: 500;
  font-size: 0.95rem;
  font-family: 'Advent Pro', sans-serif;
  letter-spacing: 0.4px;
  white-space: nowrap;
  text-decoration: none;
  display: inline-block;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  box-shadow: 0 4px 18px rgba(8,145,178,0.38);
  cursor: pointer;
}

.btn-primary-custom:hover {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(8,145,178,0.52);
  color: var(--white) !important;
}

/* ── Outline button ── */
.btn-outline-custom {
  background: transparent;
  color: var(--secondary) !important;
  border: 1.5px solid rgba(26,42,58,0.45);
  padding: 0.55rem 1.4rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  display: inline-block;
  transition: var(--transition);
  cursor: pointer;
}
.btn-outline-custom:hover {
  background: var(--secondary);
  border-color: var(--secondary);
  color: var(--white) !important;
  transform: translateY(-2px);
}

/* ── Mobile toggler ── */
.navbar-toggler {
  border: 1.5px solid rgba(255,255,255,0.50);
  border-radius: 10px;
  padding: 0.35rem 0.62rem;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.navbar-toggler:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(8,145,178,0.30);
}

#mainNav.scrolled .navbar-toggler { border-color: rgba(15,39,68,0.30); }

#mainNav.scrolled .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2815, 39, 68, 0.9%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.9%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ==========================================
   HERO SECTION – Professional Redesign
   ========================================== */

/* ---- Full-bleed background slides ---- */
.hero-section {
  position: relative;
  height: 100vh;
  min-height: 700px;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.hero-video-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-video-wrap::after {
  content: '';
  position: absolute;
  inset: 8% -10% auto auto;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(56,189,248,0.22) 0%, rgba(56,189,248,0.08) 42%, rgba(56,189,248,0) 74%);
  filter: blur(8px);
  pointer-events: none;
}

.hero-bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  filter: brightness(0.92);
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero-bg-video {
    animation: none;
  }

  .fade-up,
  .why-img-card,
  .blog-card,
  .tour-card,
  .destination-card {
    transition: none !important;
    transform: none !important;
  }
}

/* ---- Overlay: text area darkened left, image details visible right & top ---- */
.hero-grad-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(circle at 78% 24%, rgba(34,211,238,0.12) 0%, rgba(34,211,238,0) 42%),
    linear-gradient(104deg, rgba(4,12,28,0.78) 0%, rgba(4,12,28,0.52) 38%, rgba(4,12,28,0.18) 66%, rgba(4,12,28,0.05) 100%),
    linear-gradient(to top, rgba(4,12,28,0.62) 0%, rgba(4,12,28,0.14) 42%, transparent 74%);
}

/* ---- Container layout ---- */
.hero-section .container { position: relative; z-index: 2; height: 100%; }

.hero-inner {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  padding-top: 90px;
  padding-bottom: 90px;
}

/* ---- Left: text content ---- */
.hero-left {
  max-width: 700px;
  position: relative;
  padding-left: 1rem;
}

.hero-left::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.25rem;
  width: 2px;
  height: 188px;
  border-radius: 999px;
  background: linear-gradient(to bottom, rgba(103,232,249,0.95), rgba(103,232,249,0.08));
  box-shadow: 0 0 12px rgba(34,211,238,0.42);
}

/* ---- Eyebrow label ---- */
.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1rem;
}

.hero-line {
  display: inline-block;
  width: 28px;
  height: 1px;
  background: rgba(255,255,255,0.45);
}

.hero-eyebrow-text {
  color: rgba(226,241,255,0.86);
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 2.8px;
  text-transform: uppercase;
}

/* ---- Text slides ---- */
.hero-slides-text { display: grid; margin-bottom: 0.5rem; }

.hero-text-static {
  max-width: 700px;
}

.hero-text-static h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 4.8vw, 4.1rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0.2px;
  color: var(--white);
  margin-bottom: 1.1rem;
  text-shadow: 0 8px 28px rgba(0,0,0,0.44);
}

.hero-text-static h1 em {
  font-style: italic;
  color: #67e8f9;
  font-weight: 600;
}

.hero-text-static p {
  font-size: clamp(1rem, 1.65vw, 1.08rem);
  color: rgba(234,244,255,0.9);
  line-height: 1.75;
  max-width: 620px;
  margin-bottom: 0;
  font-family: var(--font-body);
}

.hero-text-slide {
  grid-area: 1 / 1;
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.85s ease, transform 0.85s ease;
  pointer-events: none;
}

.hero-text-slide.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.hero-text-slide h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.45rem, 4.9vw, 4.25rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0.2px;
  color: var(--white);
  margin-bottom: 1.15rem;
  text-shadow: 0 8px 28px rgba(0,0,0,0.44);
}

.hero-text-slide h1 em {
  font-style: italic;
  color: #67e8f9;
  font-weight: 600;
}

.hero-text-slide p {
  font-size: clamp(1rem, 1.7vw, 1.1rem);
  color: rgba(234,244,255,0.88);
  line-height: 1.7;
  max-width: 590px;
  margin-bottom: 0;
  font-family: var(--font-body);
}

/* ---- CTA buttons ---- */
.hero-cta-row {
  display: flex;
  gap: 0.55rem;
  flex-wrap: wrap;
  margin-top: 2rem;
  margin-bottom: 1.5rem;
  align-items: center;
}

.btn-hero-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white);
  border: none;
  padding: 0.44rem 0.82rem;
  border-radius: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.74rem;
  letter-spacing: 0.2px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.26rem;
  line-height: 1.2;
  transition: var(--transition);
  box-shadow: 0 8px 32px rgba(8,145,178,0.48);
}

.btn-hero-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 36px rgba(8,145,178,0.50);
  color: var(--white);
}

.btn-hero-ghost {
  background: rgba(255,255,255,0.06);
  color: rgba(232,244,255,0.95);
  border: 1.5px solid rgba(186,230,253,0.45);
  padding: 0.44rem 0.82rem;
  border-radius: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.74rem;
  letter-spacing: 0.2px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.26rem;
  line-height: 1.2;
  transition: var(--transition);
  backdrop-filter: blur(10px);
}

.btn-hero-ghost:hover {
  background: rgba(255,255,255,0.22);
  border-color: rgba(255,255,255,0.9);
  transform: translateY(-3px);
  color: var(--white);
}

/* ---- Trust badges ---- */
.hero-trust {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  flex-wrap: wrap;
}

.hero-system-status {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin-top: 1.35rem;
  padding: 0.72rem 1rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.18);
  color: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  box-shadow: 0 12px 28px rgba(4,10,22,0.18);
  font-size: 0.92rem;
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #f59e0b;
  box-shadow: 0 0 0 6px rgba(245,158,11,0.18);
  animation: statusPulse 1.8s infinite;
}

.hero-system-status[data-state='online'] .status-dot {
  background: #22c55e;
  box-shadow: 0 0 0 6px rgba(34,197,94,0.18);
}

.hero-system-status[data-state='offline'] .status-dot {
  background: #ef4444;
  box-shadow: 0 0 0 6px rgba(239,68,68,0.18);
}

.hero-system-status[data-state='offline'] {
  background: rgba(127,29,29,0.28);
  border-color: rgba(248,113,113,0.35);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.42rem;
  color: rgba(239,247,255,0.93);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.4rem 0.66rem;
  border-radius: 999px;
  background: rgba(8,22,42,0.38);
  border: 1px solid rgba(186,230,253,0.22);
}

@keyframes statusPulse {
  0% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.12); opacity: 0.85; }
  100% { transform: scale(1); opacity: 1; }
}

.trust-item i { color: var(--primary-light); font-size: 0.95rem; }
.trust-item i.text-warning { color: #ffc107 !important; }

.trust-divider {
  display: none;
}

/* ---- Scroll indicator ---- */
.hero-scroll-indicator {
  position: absolute;
  bottom: 105px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  z-index: 5;
}

.hero-scroll-indicator span {
  color: rgba(255,255,255,0.5);
  font-size: 0.68rem;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.scroll-mouse {
  width: 22px;
  height: 36px;
  border: 2px solid rgba(255,255,255,0.45);
  border-radius: 12px;
  display: flex;
  justify-content: center;
  padding-top: 6px;
}

.scroll-wheel {
  width: 4px;
  height: 8px;
  background: var(--primary-light);
  border-radius: 2px;
  animation: scrollWheel 1.8s ease infinite;
}

@keyframes scrollWheel {
  0%   { transform: translateY(0); opacity: 1; }
  80%  { transform: translateY(10px); opacity: 0; }
  100% { transform: translateY(0); opacity: 0; }
}

/* ---- Dot navigation ---- */
.hero-dots-wrap {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.hero-dot {
  width: 16px;
  height: 4px;
  border-radius: 999px;
  border: none;
  background: rgba(186,230,253,0.34);
  cursor: pointer;
  padding: 0;
  transition: all 0.25s ease;
}

.hero-dot.active {
  background: #67e8f9;
  width: 30px;
  box-shadow: 0 2px 10px rgba(34,211,238,0.45);
}

/* ==========================================
   COMMON SECTION STYLES
   ========================================== */
.section-padding { padding: 90px 0; }
.bg-light-custom { background-color: var(--light-bg); }

.section-label {
  display: inline-block;
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
  position: relative;
  padding-left: 2rem;
}

.section-label::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 1.4rem;
  height: 2px;
  background: var(--primary);
  transform: translateY(-50%);
}

.section-label.light { color: var(--primary-light); }
.section-label.light::before { background: var(--primary-light); }

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 400;
  color: var(--text-dark);
  line-height: 1.25;
  margin-bottom: 1rem;
  letter-spacing: 0.4px;
  overflow-wrap: anywhere;
}

.section-title span { color: var(--primary); }
.section-title em { font-style: italic; color: var(--primary-light); font-weight: 400; }
.section-title.light { color: var(--white); }
.section-title.light span { color: var(--primary-light); }



.section-subtitle {
  max-width: 580px;
  margin: 0 auto;
  color: var(--text-muted);
  font-size: 1.05rem;
}

.section-subtitle.light { color: var(--text-light); }

.section-desc { color: var(--text-muted); font-size: 1rem; margin-bottom: 1rem; }

/* ==========================================
   ABOUT SECTION
   ========================================== */
.about-img-wrap {
  position: relative;
  padding-right: 2rem;
  padding-bottom: 2rem;
}

.about-main-img {
  width: 100%;
  border-radius: var(--border-radius);
  box-shadow: var(--card-shadow);
  object-fit: cover;
  height: 480px;
}

.about-badge-card {
  position: absolute;
  bottom: 0;
  left: 1.5rem;
  background: var(--white);
  border: 1px solid rgba(8,145,178,0.20);
  border-radius: 14px;
  padding: 1rem 1.4rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.about-badge-card i { font-size: 2rem; color: var(--primary); }
.about-badge-card strong { display: block; font-weight: 700; color: var(--text-dark); }
.about-badge-card small { color: var(--text-muted); font-size: 0.8rem; }

.about-float-img {
  position: absolute;
  top: -2rem;
  right: 0;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  overflow: hidden;
  border: 5px solid var(--white);
  box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.about-float-img img { width: 100%; height: 100%; object-fit: cover; }

.feature-card-mini {
  background: var(--white);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  padding: 1rem 1.2rem;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  box-shadow: 0 4px 15px rgba(0,0,0,0.06);
  border-left: 3px solid var(--primary);
  transition: var(--transition);
}

.feature-card-mini:hover { transform: translateY(-3px); box-shadow: var(--card-shadow); }
.feature-card-mini i { font-size: 1.4rem; color: var(--primary); margin-top: 0.1rem; flex-shrink: 0; }
.feature-card-mini strong { display: block; font-weight: 600; color: var(--text-dark); font-size: 0.92rem; }
.feature-card-mini small { color: var(--text-muted); font-size: 0.8rem; line-height: 1.4; }

#about .mt-4 {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  align-items: center;
}

#about .mt-4 .btn-primary-custom,
#about .mt-4 .btn-outline-custom {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.2px;
  min-width: 170px;
  min-height: 44px;
  padding: 0.55rem 1.4rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1.2;
}

.why-us-section .mt-4 .btn-primary-custom,
.why-us-section .mt-4 .btn-whatsapp {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.2px;
  min-width: 170px;
  min-height: 44px;
  padding: 0.55rem 1.4rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1.2;
}

#about .mt-4 .btn-primary-custom {
  margin-right: 0 !important;
}

/* ==========================================
   SRI LANKA ACTIVITIES MAP  (sla-)
   ========================================== */
.sla-section {
  background:
    radial-gradient(circle at 50% 18%, rgba(125, 211, 252, 0.14), transparent 24%),
    linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.sla-layout {
  display: grid;
  grid-template-columns: minmax(210px, 1fr) minmax(290px, 380px) minmax(210px, 1fr);
  gap: 0 0.85rem;
  align-items: stretch;
}

/* ---- Side Columns ---- */
.sla-col {
  display: grid;
  grid-template-rows: repeat(5, minmax(96px, 1fr));
  gap: 0.7rem;
  align-self: stretch;
}

.sla-col-left {
  align-items: flex-end;
}

.sla-col-right {
  align-items: flex-start;
}

/* ---- Individual Activity Item ---- */
.sla-item {
  display: grid;
  align-items: start;
  gap: 0.7rem;
  width: min(100%, 380px);
  min-height: 96px;
  height: 100%;
  padding: 0.68rem 0.8rem;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid #e6eef7;
  border-radius: 18px;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.06);
  position: relative;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.sla-item-left {
  grid-template-columns: 1fr auto;
  text-align: right;
}

.sla-item-right {
  grid-template-columns: auto 1fr;
  text-align: left;
}

.sla-item-left::after,
.sla-item-right::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 14px;
  height: 1px;
  background: linear-gradient(90deg, rgba(125, 211, 252, 0), rgba(125, 211, 252, 0.85));
}

.sla-item-left::after {
  right: -14px;
  transform: translateY(-50%);
}

.sla-item-right::after {
  left: -14px;
  transform: translateY(-50%) scaleX(-1);
}

/* ---- Icon Circle ---- */
.sla-icon-wrap {
  width: 42px;
  height: 42px;
  min-width: 42px;
  border-radius: 50%;
  background: var(--ibg);
  color: var(--ic);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.92rem;
  border: 1px solid rgba(148, 163, 184, 0.16);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7), 0 10px 24px rgba(15, 23, 42, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.sla-item:hover .sla-icon-wrap {
  transform: translateY(-2px) scale(1.03);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7), 0 16px 30px rgba(15, 23, 42, 0.12);
}

.sla-item:hover {
  transform: translateY(-2px);
  border-color: #d7e8fb;
  box-shadow: 0 18px 38px rgba(15, 23, 42, 0.08);
}

/* ---- Text ---- */
.sla-text {
  max-width: 270px;
  align-self: center;
}

.sla-text h4 {
  font-family: 'Dancing Script', cursive;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0;
  color: #0f172a;
  margin: 0 0 0.12rem;
  line-height: 1.05;
}

.sla-text p {
  font-size: 0.76rem;
  color: #5b708b;
  margin: 0;
  line-height: 1.42;
}

/* ---- Center Map ---- */
.sla-map-col {
  width: min(100%, 380px);
  align-self: center;
}

.sla-map-wrap {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  padding: 6px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  border: 1px solid #d8ebfb;
  box-shadow: 0 20px 46px rgba(15, 23, 42, 0.09);
}

.sla-map-wrap::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 22px;
  padding: 2px;
  background: linear-gradient(180deg, rgba(125, 211, 252, 0.95), rgba(125, 211, 252, 0.25));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.sla-map-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 15px;
}

/* ==========================================
   DESTINATION CARDS
   ========================================== */
.destination-card {
  background: var(--white);
  border: 1px solid var(--card-border);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--card-shadow);
  transition: var(--transition);
  height: 100%;
}

.destination-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--card-hover-shadow);
}

.dest-img { position: relative; overflow: hidden; height: 230px; }
.dest-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.destination-card:hover .dest-img img { transform: scale(1.08); }

.dest-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.5) 0%, transparent 60%);
  display: flex;
  align-items: flex-start;
  padding: 1rem;
}

.dest-tag {
  background: var(--primary);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  padding: 0.3rem 0.8rem;
  border-radius: 50px;
}

.dest-body { padding: 1.3rem 1.5rem 1.5rem; }
.dest-body h5 { font-family: var(--font-heading); font-weight: 700; font-size: 1.1rem; margin-bottom: 0.5rem; color: var(--text-dark); }
.dest-body p { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 1rem; line-height: 1.6; }

.dest-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  color: var(--text-muted);
  border-top: 1px solid #e0f2fe;
  padding-top: 0.8rem;
}

.dest-meta span i { color: var(--primary); margin-right: 0.3rem; }

/* ==========================================
   TOUR CARDS & FILTERS
   ========================================== */
.tour-filters { flex-wrap: wrap; }

.filter-btn {
  background: var(--white);
  border: 1.5px solid #bae6fd;
  color: var(--text-muted);
  padding: 0.55rem 1.4rem;
  border-radius: 50px;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn:hover, .filter-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(8,145,178,0.30);
}

.tour-card {
  background: #fff;
  border: 1px solid rgba(8,145,178,0.12);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 28px rgba(0,0,0,0.08), 0 1px 4px rgba(0,0,0,0.04);
  transition: var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
}

.tour-card::after {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: linear-gradient(90deg, #0891b2 0%, #22d3ee 55%, #67e8f9 100%);
  border-radius: 20px 20px 0 0;
}

.tour-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 24px 56px rgba(8,145,178,0.18), 0 8px 20px rgba(0,0,0,0.10);
  border-color: rgba(8,145,178,0.28);
}

.tour-img {
  position: relative;
  overflow: hidden;
  height: 260px;
}

.tour-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.tour-card:hover .tour-img img { transform: scale(1.08); }

.tour-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(255,255,255,0.18);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 0.28rem 0.85rem;
  border-radius: 50px;
  border: 1px solid rgba(255,255,255,0.35);
  z-index: 2;
}

.tour-duration {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  background: rgba(8,22,42,0.75);
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.3rem 0.8rem;
  border-radius: 50px;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 2;
}

.tour-body {
  padding: 1.5rem 1.6rem 1.8rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.tour-type-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 0.5rem;
}

/* Rating row */
.tour-rating-row {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.65rem;
}
.tour-stars { color: #f59e0b; font-size: 0.82rem; letter-spacing: 1px; }
.tour-rating-score { font-size: 0.78rem; font-weight: 700; color: #1e293b; }
.tour-rating-count { font-size: 0.73rem; color: #94a3b8; }

/* Gradient divider */
.tour-divider {
  height: 1px;
  background: linear-gradient(90deg, rgba(8,145,178,0.2) 0%, rgba(8,145,178,0.05) 60%, transparent 100%);
  margin: 0.4rem 0 1rem;
}

.tour-type-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.22rem 0.65rem;
  border-radius: 999px;
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: #0e7490;
  background: #f0f9ff;
  border: 1px solid #bae6fd;
}

.tour-body h5 {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.18rem;
  color: #0f172a;
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.tour-body p { color: var(--text-muted); font-size: 0.88rem; margin-bottom: 0.8rem; line-height: 1.6; }

.tour-includes {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
  flex: 1;
}

.tour-includes li {
  font-size: 0.83rem;
  color: #475569;
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
  margin-bottom: 0.35rem;
  line-height: 1.45;
}

.tour-includes li i { color: #0891b2; font-size: 0.82rem; flex-shrink: 0; margin-top: 2px; }

.tour-trust-line {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin-bottom: 1rem;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 0.55rem 0.85rem;
  justify-content: space-between;
}

.tour-trust-line span {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.73rem;
  font-weight: 600;
  color: #475569;
}

.tour-trust-line i {
  color: var(--primary);
}

.tour-footer {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  border-top: 1px solid #f0f9ff;
  padding-top: 1.1rem;
  margin-top: auto;
}

.tour-actions {
  align-items: center;
  width: 100%;
}

.btn-tour {
  flex: 1.6;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--white) !important;
  border: none;
  padding: 0.5rem 1.2rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.85rem;
  transition: var(--transition);
  text-align: center;
}

.btn-tour:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(8,145,178,0.35); }

/* Hidden tours */
.tour-item.hidden { display: none !important; }

/* ==========================================
   PACKAGE CARD – Image Slideshow
   ========================================== */

.pkg-slideshow { position: relative; height: 220px; overflow: hidden; }

.pkg-slides-wrap { width: 100%; height: 100%; position: relative; }

.pkg-slides-wrap::after {
  content: '';
  position: absolute;
  inset: 45% 0 0 0;
  background: linear-gradient(to bottom, transparent 0%, rgba(8,22,42,0.60) 100%);
  pointer-events: none;
  border-radius: 0;
}

.pkg-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.7s ease;
}
.pkg-slide.active { opacity: 1; }
.pkg-slide img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.tour-card:hover .pkg-slide.active img { transform: scale(1.06); }

/* Prev / Next nav buttons */
.pkg-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.45);
  border: none;
  color: #fff;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  cursor: pointer;
  z-index: 10;
  opacity: 0;
  transition: opacity 0.25s ease, background 0.25s ease;
  backdrop-filter: blur(4px);
  pointer-events: auto !important;
}
.pkg-slideshow:hover .pkg-nav-btn { opacity: 1; }
.pkg-nav-btn:hover { background: rgba(8,145,178,0.88); }
.pkg-prev { left: 0.55rem; }
.pkg-next { right: 0.55rem; }

/* Slide dots */
.pkg-dots-wrap {
  position: absolute;
  bottom: 0.55rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 4px;
  z-index: 10;
}
.pkg-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.55);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}
.pkg-dot.active { background: #fff; transform: scale(1.35); }

/* Details button */
.btn-details-pkg {
  flex: 1;
  background: transparent;
  color: var(--primary) !important;
  border: 1.5px solid var(--primary);
  padding: 0.5rem 0.9rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.82rem;
  transition: var(--transition);
  cursor: pointer;
  white-space: nowrap;
  text-align: center;
}
.btn-details-pkg:hover {
  background: var(--primary);
  color: #fff !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(8,145,178,0.35);
}

/* ==========================================
   PACKAGE DETAILS MODAL
   ========================================== */

.pkg-modal-content { border: none; border-radius: 20px; overflow: hidden; box-shadow: 0 30px 80px rgba(0,0,0,0.25); }

.pkg-modal-header {
  background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-light) 100%);
  color: #fff;
  padding: 1.8rem 2rem 1.5rem;
  border: none;
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}
.pkg-modal-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--primary-light);
  display: block;
  margin-bottom: 0.4rem;
}
.pkg-modal-title {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 0.7rem;
  line-height: 1.25;
}
.pkg-modal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1.2rem;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.82);
}
.pkg-modal-meta span { display: flex; align-items: center; gap: 0.3rem; }
.pkg-modal-meta .bi-star-fill { color: #fbbf24; }

.pkg-modal-body { padding: 2rem; background: #fff; }

.pkg-section-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.pkg-section-title i { color: var(--primary); }

/* Highlights chips */
.pkg-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}
.pkg-highlights span {
  background: var(--light-bg);
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.3rem 0.8rem;
  border-radius: 50px;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  border: 1px solid rgba(8,145,178,0.2);
}

/* Price box */
.pkg-price-box {
  background: var(--light-bg);
  border: 1.5px solid rgba(8,145,178,0.22);
  border-radius: 16px;
  padding: 1.5rem;
  position: sticky;
  top: 1rem;
}
.pkg-price-label { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--text-muted); margin-bottom: 0.2rem; }
.pkg-price-value { font-size: 1rem; color: var(--text-muted); margin-bottom: 0.25rem; }
.pkg-price-value strong { font-size: 2rem; color: var(--primary); font-weight: 800; }
.pkg-price-note { font-size: 0.74rem; color: var(--text-muted); margin-bottom: 1rem; font-style: italic; }
.pkg-price-includes { list-style: none; padding: 0; margin: 0; }
.pkg-price-includes li { font-size: 0.84rem; color: var(--text-muted); display: flex; align-items: center; gap: 0.4rem; margin-bottom: 0.35rem; }
.pkg-price-includes .bi-check-circle-fill { color: #22c55e; flex-shrink: 0; }
.pkg-price-includes .pkg-exclude { color: #ef4444; flex-shrink: 0; }

.pkg-consult-note {
  margin-top: 0.8rem;
  font-size: 0.82rem;
  color: #334155;
  background: #f0f9ff;
  border: 1px solid #bae6fd;
  border-radius: 10px;
  padding: 0.55rem 0.7rem;
}

.pkg-consult-note i {
  color: var(--primary);
}

/* Itinerary timeline */
.pkg-itinerary {
  border-left: 2.5px solid rgba(8,145,178,0.2);
  margin-left: 1.2rem;
  margin-bottom: 0.5rem;
}
.pkg-day {
  display: flex;
  gap: 1.2rem;
  padding: 1.1rem 0.5rem 1.1rem 1.8rem;
  position: relative;
}
.pkg-day + .pkg-day { border-top: 1px dashed rgba(8,145,178,0.12); }
.pkg-day::before {
  content: '';
  position: absolute;
  left: -7px;
  top: 1.55rem;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--primary);
  border: 2.5px solid #fff;
  box-shadow: 0 0 0 3px rgba(8,145,178,0.2);
}
.pkg-day-num {
  min-width: 52px;
  width: 52px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 34px;
  align-self: flex-start;
  flex-shrink: 0;
}
.pkg-day-content h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.98rem;
  color: var(--secondary);
  margin-bottom: 0.35rem;
}
.pkg-day-content p { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 0.5rem; line-height: 1.7; }
.pkg-day-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.pkg-day-tags span {
  font-size: 0.73rem;
  color: var(--primary);
  background: rgba(8,145,178,0.07);
  padding: 0.2rem 0.6rem;
  border-radius: 50px;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-weight: 600;
}

/* Modal footer */
.pkg-modal-footer { border-top: 1px solid #e0f2fe; background: #f8fcff; padding: 1rem 2rem; }
.pkg-footer-price { font-size: 1rem; color: var(--text-muted); }
.pkg-footer-price strong { font-size: 1.5rem; color: var(--primary); font-weight: 800; }
.pkg-footer-price span { font-size: 0.8rem; }

@media (max-width: 768px) {
  .pkg-modal-header { padding: 1.3rem; }
  .pkg-modal-body { padding: 1.2rem; }
  .pkg-modal-title { font-size: 1.25rem; }
  .pkg-itinerary { margin-left: 0.5rem; }
  .pkg-day { padding-left: 1.2rem; }
  .pkg-modal-footer { padding: 1rem; }
}


/* ==========================================
   WHY CHOOSE US SECTION
   ========================================== */
.why-us-section { background: var(--light-bg); }

.why-features { margin-top: 2rem; display: flex; flex-direction: column; gap: 1.4rem; }

.why-item {
  display: flex;
  gap: 1.2rem;
  align-items: flex-start;
}

.why-icon {
  width: 52px;
  height: 52px;
  min-width: 52px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--white);
  box-shadow: 0 6px 20px rgba(8,145,178,0.30);
}

.why-item h6 { font-weight: 700; font-size: 0.95rem; margin-bottom: 0.2rem; color: var(--text-dark); }
.why-item p { font-size: 0.88rem; color: var(--text-muted); margin: 0; line-height: 1.6; }

.btn-whatsapp {
  background: #25d366;
  color: var(--white) !important;
  border: none;
  border-radius: 50px;
  text-decoration: none;
  gap: 0.4rem;
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(37,211,102,0.35);
}

.btn-whatsapp:hover { background: #1ebe5a; transform: translateY(-2px); box-shadow: 0 8px 25px rgba(37,211,102,0.45); }

.why-img-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px 16px;
  padding: 28px 12px 8px;
  background: transparent;
  border: none;
  box-shadow: none;
  border-radius: 0;
}

.why-img-card {
  position: relative;
  background: #ffffff;
  padding: 9px 9px 32px;
  border-radius: 3px;
  box-shadow: 0 6px 22px rgba(0,0,0,0.18), 0 2px 5px rgba(0,0,0,0.09);
  transition: transform 0.38s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.38s ease;
  z-index: 1;
}

.why-img-card:nth-child(1) { transform: rotate(-3deg); }
.why-img-card:nth-child(2) { transform: rotate(2.2deg); }
.why-img-card:nth-child(3) { transform: rotate(-1.6deg); }
.why-img-card:nth-child(4) { transform: rotate(2.8deg); }
.why-img-card:nth-child(5) { transform: rotate(-2.1deg); }
.why-img-card:nth-child(6) { transform: rotate(1.4deg); }

.why-img-card::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 32px;
  background: #ffffff;
  z-index: 2;
  pointer-events: none;
}

.why-img-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
  filter: saturate(0.88);
  transition: filter 0.4s ease;
}

.why-img-card:hover {
  transform: rotate(0deg) translateY(-10px) scale(1.04);
  box-shadow: 0 22px 50px rgba(0,0,0,0.26);
  z-index: 10;
}

.why-img-card:hover img { filter: saturate(1.08); }

/* ==========================================
   GALLERY SECTION
   ========================================== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 230px;
  gap: 12px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover img { transform: scale(1.08); }

.gallery-item.large { grid-column: span 2; grid-row: span 2; }
.gallery-item.tall { grid-row: span 2; }

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.65) 0%, transparent 60%);
  display: flex;
  align-items: flex-end;
  padding: 1.2rem;
  opacity: 0;
  transition: var(--transition);
}

.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay span { color: var(--white); font-weight: 600; font-size: 0.95rem; }

/* ==========================================
   CUSTOMIZE TOUR SECTION
   ========================================== */
.customize-section {
  background: linear-gradient(135deg, #1a2a3a 0%, #2c3e50 100%);
  position: relative;
  overflow: hidden;
}

.customize-section::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(8,145,178,0.10);
}

.customize-section::after {
  content: '';
  position: absolute;
  bottom: -80px;
  left: -80px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(8,145,178,0.08);
}

.custom-form-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 24px;
  padding: 2.5rem 2.5rem;
  backdrop-filter: blur(10px);
  position: relative;
  z-index: 1;
}

.form-label {
  font-size: 0.88rem;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
  margin-bottom: 0.5rem;
  display: block;
}

.input-group-custom {
  position: relative;
}

.input-group-custom i {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--primary-light);
  font-size: 1rem;
  z-index: 2;
  pointer-events: none;
}

.custom-input {
  background: rgba(255,255,255,0.08) !important;
  border: 1px solid rgba(255,255,255,0.15) !important;
  color: var(--white) !important;
  border-radius: 12px !important;
  padding: 0.75rem 1rem 0.75rem 2.8rem !important;
  font-size: 0.9rem !important;
  transition: var(--transition) !important;
  width: 100%;
}

.custom-input:focus {
  border-color: var(--primary-light) !important;
  background: rgba(255,255,255,0.12) !important;
  box-shadow: 0 0 0 3px rgba(8,145,178,0.25) !important;
  outline: none !important;
  color: var(--white) !important;
}

.custom-input::placeholder { color: rgba(255,255,255,0.4) !important; }

.custom-input option {
  background: var(--secondary-light);
  color: var(--white);
}

textarea.custom-input { padding-left: 1rem !important; resize: vertical; }

/* Tour Type Grid */
.tour-type-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}

.tour-type-radio {
  cursor: pointer;
}

.tour-type-radio input[type="radio"] { display: none; }

.tour-type-radio span {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 12px;
  padding: 0.7rem 1rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(255,255,255,0.8);
  transition: var(--transition);
  cursor: pointer;
}

.tour-type-radio span i { font-size: 1rem; color: var(--primary-light); }

.tour-type-radio input:checked + span {
  background: rgba(8,145,178,0.25);
  border-color: var(--primary-light);
  color: var(--white);
}

.tour-type-radio span:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.35);
}

/* Destinations Checkboxes */
.destinations-check-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.6rem;
}

.dest-check {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 10px;
  padding: 0.55rem 0.9rem;
  font-size: 0.83rem;
  color: rgba(255,255,255,0.8);
  cursor: pointer;
  transition: var(--transition);
  font-weight: 500;
}

.dest-check:hover { background: rgba(255,255,255,0.12); }

.dest-check input { accent-color: var(--primary-light); cursor: pointer; }
.dest-check:has(input:checked) { background: rgba(8,145,178,0.22); border-color: var(--primary-light); color: var(--white); }

/* Submit Button */
.btn-submit-tour {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--white);
  border: none;
  padding: 1rem 3rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  transition: var(--transition);
  box-shadow: 0 8px 30px rgba(8,145,178,0.40);
  cursor: pointer;
  min-width: 260px;
}

.btn-submit-tour:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 40px rgba(8,145,178,0.50);
  color: var(--white);
}

/* Alerts */
.alert-success-custom {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: rgba(40,167,69,0.15);
  border: 1px solid rgba(40,167,69,0.3);
  border-radius: 14px;
  padding: 1.2rem 1.5rem;
  color: #a8e6b8;
  margin-top: 1.5rem;
}

.alert-success-custom i { font-size: 1.6rem; color: #28a745; flex-shrink: 0; margin-top: 0.2rem; }
.alert-success-custom strong { display: block; font-weight: 700; color: #5dde7a; margin-bottom: 0.25rem; }
.alert-success-custom p { margin: 0; font-size: 0.9rem; }

.alert-error-custom {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: rgba(220,53,69,0.15);
  border: 1px solid rgba(220,53,69,0.3);
  border-radius: 14px;
  padding: 1.2rem 1.5rem;
  color: #f5b8bc;
  margin-top: 1.5rem;
}

.alert-error-custom i { font-size: 1.6rem; color: #dc3545; flex-shrink: 0; margin-top: 0.2rem; }
.alert-error-custom strong { display: block; font-weight: 700; color: #f07a83; margin-bottom: 0.25rem; }
.alert-error-custom p { margin: 0; font-size: 0.9rem; }

/* ==========================================
   TESTIMONIALS SECTION
   ========================================== */
.testimonial-card {
  background: var(--white);
  border: 1px solid var(--card-border);
  border-radius: var(--border-radius);
  padding: 2rem;
  box-shadow: var(--card-shadow);
  transition: var(--transition);
  height: 100%;
  position: relative;
  overflow: hidden;
}

.testimonial-card::before {
  content: '\201C';
  position: absolute;
  top: -0.5rem;
  right: 1.5rem;
  font-family: Georgia, serif;
  font-size: 6rem;
  color: var(--primary);
  opacity: 0.1;
  line-height: 1;
}

.testimonial-card:hover { transform: translateY(-6px); box-shadow: var(--card-hover-shadow); }

.testimonial-card.featured {
  background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-light) 100%);
  color: var(--white);
}

.testimonial-card.featured p { color: rgba(255,255,255,0.9); }
.testimonial-card.featured .stars i { color: var(--primary-light); }
.testimonial-card.featured strong { color: var(--white); }
.testimonial-card.featured small { color: rgba(255,255,255,0.6); }

.testimonial-card.featured::before { color: var(--white); opacity: 0.05; }

.stars i { color: #f4a416; font-size: 1rem; margin-right: 1px; }

.testimonial-card p { font-size: 0.95rem; color: var(--text-muted); font-style: italic; line-height: 1.7; }

.reviewer { display: flex; align-items: center; gap: 0.85rem; margin-top: 1.2rem; padding-top: 1.2rem; border-top: 1px solid rgba(0,0,0,0.08); }
.testimonial-card.featured .reviewer { border-top-color: rgba(255,255,255,0.1); }

.reviewer-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.reviewer strong { display: block; font-weight: 700; font-size: 0.95rem; color: var(--text-dark); }
.testimonial-card.featured .reviewer strong { color: var(--white); }
.reviewer small { color: var(--text-muted); font-size: 0.82rem; }

.testimonial-indicators { position: static; margin-top: 2.5rem; justify-content: center; }
.testimonial-indicators [data-bs-slide-to] {
  width: 28px; height: 4px; border-radius: 2px; background: #ddd;
}
.testimonial-indicators [data-bs-slide-to].active { background: var(--primary); width: 50px; }

/* TripAdvisor Banner */
.tripadvisor-banner {
  background: linear-gradient(135deg, #ecfeff, #cffafe);
  border: 1px solid #a5f3fc;
  border-radius: 20px;
  padding: 2.5rem;
}

.tripadvisor-banner h4 { font-family: var(--font-heading); font-weight: 700; color: var(--text-dark); margin-bottom: 0.5rem; font-size: 1.5rem; font-style: italic; }
.tripadvisor-banner p { color: var(--text-muted); margin: 0; }

.btn-tripadvisor {
  background: #34e0a1;
  color: #000;
  border: none;
  padding: 0.7rem 2rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.9rem;
  transition: var(--transition);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}

.btn-tripadvisor:hover { background: #27c98e; transform: translateY(-2px); color: #000; }

/* ==========================================
   FAQ SECTION
   ========================================== */
.faq-accordion { display: flex; flex-direction: column; gap: 0.75rem; }

.faq-item {
  border: 1px solid #bae6fd !important;
  border-radius: 14px !important;
  overflow: hidden;
  background: var(--white) !important;
}

.faq-btn {
  background: var(--white) !important;
  color: var(--text-dark) !important;
  font-weight: 600 !important;
  font-size: 0.95rem !important;
  padding: 1.2rem 1.5rem !important;
  border: none !important;
  box-shadow: none !important;
}

.faq-btn:not(.collapsed) { color: var(--primary) !important; }

.faq-btn::after {
  filter: none !important;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%230891b2'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e") !important;
}

.faq-body {
  background: #f0f9ff !important;
  color: var(--text-muted) !important;
  font-size: 0.93rem !important;
  line-height: 1.8 !important;
  padding: 1.2rem 1.5rem !important;
  border-top: 1px solid #bae6fd !important;
}

/* ==========================================
   BLOG SECTION
   ========================================== */

.blog-section {
  background:
    radial-gradient(120% 90% at 0% 0%, rgba(8,145,178,0.10) 0%, rgba(8,145,178,0) 52%),
    linear-gradient(180deg, #f8fcff 0%, #eef7fb 100%);
}

.blog-card {
  background: var(--white);
  border: 1px solid rgba(8,145,178,0.16);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 18px 44px rgba(15,39,68,0.09);
  transition: var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 26px 54px rgba(15,39,68,0.14);
  border-color: rgba(8,145,178,0.38);
}

.blog-img {
  position: relative;
  overflow: hidden;
  height: 250px;
}

.blog-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(3,11,25,0.05) 0%, rgba(3,11,25,0.33) 100%);
  pointer-events: none;
}

.blog-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s ease;
}

.blog-card:hover .blog-img img { transform: scale(1.08); }

.blog-card--featured {
  border-color: rgba(8,145,178,0.3);
  box-shadow: 0 22px 52px rgba(8,145,178,0.16);
}

.blog-cat {
  position: absolute;
  top: 1.05rem;
  left: 1.05rem;
  z-index: 1;
  background: rgba(8,145,178,0.94);
  color: var(--white);
  font-size: 0.69rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.1px;
  padding: 0.42rem 0.92rem;
  border-radius: 50px;
  backdrop-filter: blur(2px);
}

.blog-featured-badge {
  position: absolute;
  top: 1.05rem;
  right: 1.05rem;
  z-index: 1;
  background: rgba(15,39,68,0.86);
  color: var(--primary-light);
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 1.15px;
  text-transform: uppercase;
  padding: 0.38rem 0.84rem;
  border-radius: 50px;
  border: 1px solid rgba(34,211,238,0.42);
}

.blog-body {
  padding: 1.45rem 1.45rem 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.blog-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.1rem;
  margin-bottom: 0.95rem;
}

.blog-meta span {
  font-size: 0.76rem;
  color: #5b7a8f;
  display: flex;
  align-items: center;
  gap: 0.42rem;
  padding: 0.18rem 0.55rem;
  background: #f0f9ff;
  border: 1px solid #bae6fd;
  border-radius: 999px;
}

.blog-meta i { color: var(--primary); font-size: 0.76rem; }

.blog-body h5 {
  font-family: var(--font-heading);
  font-size: 1.24rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.82rem;
  line-height: 1.35;
  letter-spacing: 0.1px;
}

.blog-body h5 em {
  font-style: normal;
  color: #0f3f56;
}

.blog-body p {
  font-size: 0.92rem;
  color: #486273;
  line-height: 1.72;
  flex: 1;
  margin-bottom: 1.25rem;
}

.blog-read-more {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #0d7499;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.35px;
  text-transform: uppercase;
  text-decoration: none;
  transition: var(--transition);
  margin-top: auto;
}

.blog-read-more:hover {
  color: #075985;
  gap: 0.76rem;
}

/* Blog article modal */
.blog-modal-content {
  border: 1px solid #bae6fd;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 26px 60px rgba(15,39,68,0.22);
}

.blog-modal-header {
  border-bottom: 1px solid #dbeafe;
  background: linear-gradient(180deg, #f8fdff 0%, #eef8fd 100%);
  padding: 1.15rem 1.25rem 1rem;
}

.blog-modal-chip {
  display: inline-block;
  padding: 0.26rem 0.72rem;
  border-radius: 999px;
  font-size: 0.68rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 700;
  color: #fff;
  background: #0891b2;
  margin-bottom: 0.55rem;
}

.blog-modal-title {
  font-family: var(--font-heading);
  font-size: 1.55rem;
  line-height: 1.3;
  color: #12344b;
  margin-bottom: 0.4rem;
}

.blog-modal-meta {
  font-size: 0.82rem;
  color: #537186;
  font-weight: 600;
}

.blog-modal-body {
  padding: 1.45rem 1.35rem 1.2rem;
  background: linear-gradient(180deg, #ffffff 0%, #fbfeff 100%);
}

.blog-article {
  max-width: 780px;
  margin: 0 auto;
}

.blog-article-lead {
  color: #12344b;
  font-size: 1.03rem;
  line-height: 1.9;
  font-weight: 500;
  border-left: 3px solid #0ea5c5;
  padding-left: 1rem;
  margin-bottom: 1.2rem;
}

.blog-article-section {
  margin-bottom: 1.1rem;
}

.blog-article-heading {
  font-family: var(--font-heading);
  font-size: 1.02rem;
  line-height: 1.4;
  color: #0f3b56;
  margin-bottom: 0.45rem;
  letter-spacing: 0.2px;
}

.blog-modal-body p {
  color: #2f4a5d;
  font-size: 0.97rem;
  line-height: 1.86;
  margin-bottom: 1rem;
}

.blog-modal-footer {
  border-top: 1px solid #e0f2fe;
  background: #f8fdff;
}

@media (max-width: 991px) {
  .blog-img { height: 228px; }
}

@media (max-width: 575px) {
  .blog-body { padding: 1.25rem; }
  .blog-body h5 { font-size: 1.12rem; }
  .blog-modal-title { font-size: 1.22rem; }
}

/* ==========================================
   CONTACT SECTION
   ========================================== */
.contact-info-card {
  background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-light) 100%);
  border-radius: 24px;
  padding: 2.5rem;
  color: var(--white);
  height: 100%;
}

.contact-info-card h4 { font-family: var(--font-heading); font-weight: 700; margin-bottom: 0.75rem; }
.contact-info-card > p { color: rgba(255,255,255,0.75); font-size: 0.95rem; margin-bottom: 2rem; }

.contact-info-items { display: flex; flex-direction: column; gap: 1.2rem; }

.contact-info-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.contact-icon {
  width: 46px;
  height: 46px;
  min-width: 46px;
  background: rgba(8,145,178,0.15);
  border: 1px solid rgba(8,145,178,0.28);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--primary-light);
}

.contact-info-item strong { display: block; font-weight: 600; font-size: 0.85rem; color: rgba(255,255,255,0.6); margin-bottom: 0.1rem; }
.contact-info-item span { font-size: 0.92rem; color: var(--white); font-weight: 500; }

.social-links { display: flex; gap: 0.75rem; flex-wrap: wrap; }

.social-btn {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  color: var(--white);
  text-decoration: none;
  transition: var(--transition);
}

.social-btn.whatsapp { background: #25d366; }
.social-btn.facebook { background: #1877f2; }
.social-btn.instagram { background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.social-btn.tripadvisor { background: #34e0a1; color: #000; }
.social-btn.email { background: #0891b2; }
.social-btn:hover { transform: translateY(-3px) scale(1.05); opacity: 0.9; }

.contact-form-card {
  background: var(--white);
  border: 1px solid #bae6fd;
  border-radius: 24px;
  padding: 2.5rem;
  box-shadow: var(--card-shadow);
}

#contactSubmitBtn {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.2px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

#contactSubmitBtn span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Override input styles for light contact form */
.contact-form-card .form-label { color: var(--text-dark); }
.contact-form-card .custom-input {
  background: #f8fdff !important;
  border: 1px solid #bae6fd !important;
  color: var(--text-dark) !important;
}
.contact-form-card .custom-input:focus {
  border-color: var(--primary) !important;
  background: var(--white) !important;
  box-shadow: 0 0 0 3px rgba(8,145,178,0.15) !important;
  color: var(--text-dark) !important;
}
.contact-form-card .custom-input::placeholder { color: #aaa !important; }
.contact-form-card .input-group-custom i { color: var(--primary); }
.contact-form-card .custom-input option { color: var(--text-dark); background: var(--white); }

/* Contact form alerts override */
.contact-form-card .alert-success-custom {
  background: rgba(40,167,69,0.08);
  border-color: rgba(40,167,69,0.2);
  color: #155724;
}
.contact-form-card .alert-success-custom strong { color: #155724; }
.contact-form-card .alert-error-custom {
  background: rgba(220,53,69,0.08);
  border-color: rgba(220,53,69,0.2);
  color: #721c24;
}
.contact-form-card .alert-error-custom strong { color: #721c24; }

/* ==========================================
   WEATHER SECTION
   ========================================== */
.weather-section {
  background: linear-gradient(150deg, #e0f7ff 0%, #f0fbff 40%, #e8f5e9 100%);
  position: relative; overflow: hidden;
}
.weather-section::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 20% 50%, rgba(8,145,178,0.07) 0%, transparent 60%),
              radial-gradient(ellipse at 80% 20%, rgba(34,211,238,0.06) 0%, transparent 55%);
  pointer-events: none;
}
.weather-section .section-label {
  color: #0891b2;
}
.weather-section .section-label::before { background: #0891b2; }
.weather-section .section-title { color: var(--text-dark); }
.weather-section .section-title span { color: #0891b2; }
.weather-section .section-subtitle { color: var(--text-muted); }

/* Weather Card */
.weather-card {
  background: #ffffff;
  border: 1px solid rgba(8,145,178,0.13);
  border-radius: 20px;
  padding: 1.6rem 1.4rem 1.4rem;
  box-shadow: 0 4px 24px rgba(8,145,178,0.08);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  height: 100%;
}
.weather-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, #0891b2, #22d3ee);
  border-radius: 20px 20px 0 0;
}
.weather-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 48px rgba(8,145,178,0.16);
  border-color: rgba(8,145,178,0.28);
}
.weather-card-header { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 1rem; }
.weather-city {
  font-family: var(--font-heading);
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.15rem;
}
.weather-region { font-size: 0.75rem; color: var(--text-muted); }
.weather-icon-wrap {
  width: 52px; height: 52px;
  background: linear-gradient(135deg, #e0f7ff, #cffafe);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.65rem;
  flex-shrink: 0;
  box-shadow: 0 2px 10px rgba(8,145,178,0.12);
}
.weather-temp-row { display: flex; align-items: flex-end; gap: 0.4rem; margin-bottom: 0.35rem; }
.weather-temp {
  font-size: 2.7rem;
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1;
}
.weather-temp sup { font-size: 1rem; vertical-align: super; color: #0891b2; font-weight: 600; }
.weather-desc {
  font-size: 0.82rem;
  color: #0891b2;
  font-weight: 600;
  text-transform: capitalize;
  margin-bottom: 1rem;
  letter-spacing: 0.02em;
}
.weather-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; }
.weather-stat {
  background: #f0f9ff;
  border: 1px solid rgba(8,145,178,0.10);
  border-radius: 10px;
  padding: 0.5rem 0.65rem;
  display: flex; align-items: center; gap: 0.45rem;
}
.weather-stat i { color: #0891b2; font-size: 0.88rem; flex-shrink: 0; }
.weather-stat-label { font-size: 0.68rem; color: var(--text-muted); display: block; }
.weather-stat-value { font-size: 0.84rem; font-weight: 700; color: var(--text-dark); display: block; }
.weather-best-badge {
  position: absolute; top: 1rem; right: 1rem;
  background: linear-gradient(135deg, #0891b2, #22d3ee);
  color: #fff; font-size: 0.63rem; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase;
  padding: 0.22rem 0.6rem; border-radius: 20px;
  box-shadow: 0 3px 10px rgba(8,145,178,0.30);
}
.weather-condition-bar {
  margin-top: 1rem;
  height: 4px;
  border-radius: 3px;
  background: #e0f2fe;
  overflow: hidden;
}
.weather-condition-fill { height: 100%; border-radius: 3px; transition: width 1.2s ease; }

/* Loading spinner */
.weather-loading { padding: 3rem 0; }
.weather-spinner {
  width: 42px; height: 42px;
  border: 3px solid rgba(8,145,178,0.15);
  border-top-color: #0891b2;
  border-radius: 50%;
  margin: 0 auto;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Footer note */
.weather-footer-note { font-size: 0.8rem; color: var(--text-muted); }
.weather-footer-note i { color: #0891b2; }

/* ==========================================
   FOOTER
   ========================================== */
.footer-section {
  background: var(--secondary);
  color: rgba(255,255,255,0.8);
  padding-top: 4rem;
}

.footer-top { padding-bottom: 3rem; border-bottom: 1px solid rgba(255,255,255,0.08); }

.footer-brand {
  font-family: var(--font-heading);
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.footer-desc {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.footer-social { display: flex; gap: 0.6rem; }
.footer-social a {
  width: 40px; height: 40px;
  background: rgba(255,255,255,0.07);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.7);
  font-size: 1.05rem;
  text-decoration: none;
  transition: var(--transition);
}
.footer-social a:hover { background: var(--primary); color: var(--white); transform: translateY(-3px); }

.footer-heading {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--primary-light);
  margin-bottom: 1.2rem;
}

.footer-links { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.5rem; }
.footer-links a {
  color: rgba(255,255,255,0.6);
  font-size: 0.88rem;
  text-decoration: none;
  transition: var(--transition);
  display: inline-block;
}
.footer-links a:hover { color: var(--primary-light); padding-left: 4px; }

.footer-contact { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.7rem; }
.footer-contact li { font-size: 0.86rem; color: rgba(255,255,255,0.65); display: flex; align-items: flex-start; gap: 0.6rem; }
.footer-contact li i { color: var(--primary-light); margin-top: 0.15rem; flex-shrink: 0; }
.footer-hours { white-space: nowrap; }

/* Newsletter */
.footer-newsletter {
  padding: 2.5rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-newsletter h5 { font-family: var(--font-heading); font-weight: 700; color: var(--white); margin-bottom: 0.4rem; font-size: 1.2rem; }
.footer-newsletter p { color: rgba(255,255,255,0.6); font-size: 0.88rem; margin: 0; }

.newsletter-input-group {
  display: flex;
  gap: 0;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 50px;
  overflow: hidden;
  padding: 4px;
}

.newsletter-input-group input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: var(--white);
  padding: 0.65rem 1.2rem;
  font-size: 0.9rem;
}

.newsletter-input-group input::placeholder { color: rgba(255,255,255,0.4); }

.newsletter-input-group button {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--white);
  border: none;
  padding: 0.65rem 1.6rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.88rem;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.newsletter-input-group button:hover { background: var(--primary-dark); }

/* Footer Bottom */
.footer-bottom {
  padding: 1.4rem 0 0.4rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: grid;
  grid-template-columns: minmax(240px, 1fr) auto minmax(280px, 1fr);
  align-items: center;
  gap: 1rem;
}

.footer-meta {
  display: flex;
  flex-direction: column;
  gap: 0.22rem;
}

.footer-copy {
  margin: 0;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.78);
  letter-spacing: 0.15px;
}

.footer-subcopy {
  margin: 0;
  font-size: 0.77rem;
  color: rgba(255,255,255,0.52);
}

.footer-bottom-links {
  display: flex;
  justify-content: center;
  gap: 1.25rem;
}

.footer-bottom-links a {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.62);
  text-decoration: none;
  transition: var(--transition);
}

.footer-bottom-links a:hover { color: var(--primary-light); }

.footer-signature {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.48rem 0.72rem;
  border-radius: 14px;
  border: 1px solid rgba(34,211,238,0.26);
  background: linear-gradient(145deg, rgba(6,33,61,0.95), rgba(8,47,82,0.93));
  box-shadow: 0 10px 24px rgba(0,0,0,0.2);
}

.footer-signature-logo {
  width: 58px;
  height: 58px;
  object-fit: contain;
  object-position: center;
  background: #ffffff;
  border-radius: 8px;
  padding: 4px;
  border: 1px solid rgba(255,255,255,0.26);
}

.footer-signature-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  gap: 0.15rem;
}

.footer-signature-text span {
  font-size: 0.64rem;
  color: rgba(255,255,255,0.6);
  letter-spacing: 1px;
  text-transform: uppercase;
}

.footer-signature-text strong {
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 1px;
  color: #5de2ff;
}

/* ==========================================
   FLOATING ELEMENTS
   ========================================== */

/* WhatsApp Float */
.whatsapp-float {
  position: fixed;
  bottom: 5.5rem;
  right: 1.5rem;
  background: #25d366;
  color: var(--white) !important;
  border-radius: 50px;
  padding: 0.8rem 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  box-shadow: 0 8px 30px rgba(37,211,102,0.4);
  z-index: 9999;
  transition: var(--transition);
  animation: pulse 2s infinite;
}

.whatsapp-float i { font-size: 1.4rem; }
.whatsapp-float:hover { background: #1ebe5a; transform: translateY(-3px); box-shadow: 0 12px 40px rgba(37,211,102,0.5); }

.whatsapp-label { font-size: 0.85rem; }

/* Email Float Button */
.email-float {
  position: fixed;
  bottom: 10rem;
  right: 1.5rem;
  background: #0891b2;
  color: var(--white) !important;
  border-radius: 50px;
  padding: 0.8rem 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  box-shadow: 0 8px 30px rgba(8,145,178,0.4);
  z-index: 9999;
  transition: var(--transition);
}
.email-float i { font-size: 1.4rem; }
.email-float:hover { background: #0e7490; transform: translateY(-3px); box-shadow: 0 12px 40px rgba(8,145,178,0.5); }

@keyframes pulse {
  0% { box-shadow: 0 8px 30px rgba(37,211,102,0.4); }
  50% { box-shadow: 0 8px 40px rgba(37,211,102,0.6); }
  100% { box-shadow: 0 8px 30px rgba(37,211,102,0.4); }
}

/* Back to Top */
.back-to-top {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 46px;
  height: 46px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--white);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  cursor: pointer;
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  box-shadow: 0 6px 20px rgba(8,145,178,0.35);
}

.back-to-top.visible { opacity: 1; visibility: visible; }
.back-to-top:hover { transform: translateY(-3px); box-shadow: 0 10px 30px rgba(8,145,178,0.45); }

/* ==========================================
   ANIMATIONS & UTILITIES
   ========================================== */

/* Fade up animation */
.fade-up {
  opacity: 0;
  transform: translateY(35px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Loading overlay */
.page-loader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: opacity 0.65s ease, visibility 0.65s ease;
}

.page-loader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }

.loader-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 50% 40%, rgba(30,55,80,0.55) 0%, transparent 70%),
    linear-gradient(160deg, #060d15 0%, #0a1a28 50%, #060d15 100%);
}

/* Particle shimmer lines */
.loader-bg::before, .loader-bg::after {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 50%;
  opacity: 0.06;
  background: var(--primary);
  animation: loaderPulse 3s ease-in-out infinite;
}
.loader-bg::before {
  width: 700px; height: 700px; top: -200px;
  animation-delay: 0s;
}
.loader-bg::after {
  width: 400px; height: 400px; top: -50px;
  animation-delay: 1s;
}

@keyframes loaderPulse {
  0%, 100% { opacity: 0.04; transform: translateX(-50%) scale(1); }
  50% { opacity: 0.09; transform: translateX(-50%) scale(1.08); }
}

.loader-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2rem;
  animation: loaderFadeUp 0.8s ease both;
}

@keyframes loaderFadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Logo group */
.loader-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.1rem;
}

.loader-mark {
  display: block;
  animation: loaderDrop 1s cubic-bezier(0.34, 1.56, 0.64, 1) both;
  filter: drop-shadow(0 4px 20px rgba(8,145,178,0.55));
}

@keyframes loaderDrop {
  from { opacity: 0; transform: translateY(-30px) scale(0.7); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.loader-pin-path { stroke-dasharray: 120; stroke-dashoffset: 120; animation: drawPin 1.2s ease 0.2s forwards; }
.loader-pin-ring { stroke-dasharray: 30; stroke-dashoffset: 30; animation: drawPin 0.8s ease 0.9s forwards; }
.loader-pin-dot  { opacity: 0; animation: dotPop 0.4s ease 1.4s forwards; }

@keyframes drawPin  { to { stroke-dashoffset: 0; } }
@keyframes dotPop   { to { opacity: 1; } }

.loader-wordmark {
  animation: loaderFadeUp 0.8s ease 0.5s both;
  line-height: 1;
}

.loader-word-trave,
.loader-word-linea {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: clamp(2.4rem, 5vw, 3.2rem);
  font-weight: 600;
  letter-spacing: 1px;
}
.loader-word-trave { color: var(--white); }
.loader-word-linea  { color: var(--primary-light); font-weight: 700; }

/* Divider */
.loader-divider {
  width: 160px;
  display: flex;
  align-items: center;
  animation: loaderFadeUp 0.6s ease 0.9s both;
}
.loader-divider span {
  display: block;
  width: 100%;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(8,145,178,0.6), transparent);
}

/* Tagline */
.loader-tagline {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin: 0;
  animation: loaderFadeUp 0.6s ease 1.1s both;
}

/* Progress bar */
.loader-bar-wrap {
  width: 200px;
  height: 2px;
  background: rgba(255,255,255,0.08);
  border-radius: 2px;
  overflow: hidden;
  margin-top: 0.5rem;
  animation: loaderFadeUp 0.6s ease 1.2s both;
}

.loader-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(to right, var(--primary-dark), var(--primary-light));
  border-radius: 2px;
  transition: width 0.15s ease;
}

/* Respect low-power mode toggled from JavaScript. */
.reduced-motion * {
  animation: none !important;
  transition: none !important;
}

.reduced-motion .hero-video-wrap {
  background: #0a1c30;
}

.reduced-motion .hero-bg-video {
  opacity: 0;
}

/* ==========================================
   RESPONSIVE BREAKPOINTS
   ========================================== */

/* --- Large tablets / small laptops (≤1199px) --- */
@media (max-width: 1199.98px) {
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .gallery-item.large { grid-column: span 2; }
  .destinations-check-grid { grid-template-columns: repeat(3, 1fr); }
  .hero-text-slide h1 { font-size: clamp(2.2rem, 4.5vw, 3.4rem); }
}

/* --- Tablets (≤991px) --- */
@media (max-width: 991.98px) {
  .section-padding { padding: 72px 0; }

  /* Hero */
  .hero-section { height: 100svh; min-height: 600px; }
  .hero-inner { padding-bottom: 70px; padding-top: 90px; }
  .hero-left {
    max-width: 100%;
    padding-left: 0.9rem;
  }
  .hero-left::before { height: 156px; }
  .hero-grad-overlay {
    background:
      linear-gradient(to bottom, rgba(8,16,28,0.16) 0%, rgba(8,16,28,0.48) 50%, rgba(8,16,28,0.86) 100%);
  }
  .hero-text-slide h1 { font-size: clamp(2.05rem, 5.3vw, 3.05rem); }

  /* Nav underline – hide in collapsed mobile menu */
  .nav-link::after { display: none; }

  /* Navbar mobile collapse – dark navy always */
  #navMenu {
    background: rgba(8,18,42,1);
    border-radius: 0 0 20px 20px;
    padding: 1rem 1.5rem 1.8rem;
    margin-top: 0.5rem;
    box-shadow: 0 16px 48px rgba(0,0,0,0.40);
    border: 1px solid rgba(255,255,255,0.06);
    border-top: none;
  }
  /* Force dark even when navbar turns white on scroll */
  #mainNav.scrolled #navMenu { background: rgba(8,18,42,0.97) !important; }
  #navMenu .nav-link {
    font-family: 'Advent Pro', sans-serif;
    color: rgba(255,255,255,0.88) !important;
    padding: 0.7rem 0.3rem !important;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    font-size: 1.15rem;
    font-weight: 600;
  }
  #navMenu .nav-link:hover  { color: var(--primary-light) !important; }
  #navMenu .nav-link:last-of-type { border-bottom: none; }
  #navMenu .btn-primary-custom { width: 100%; text-align: center; margin-top: 1rem; font-family: 'Advent Pro', sans-serif; font-size: 1.05rem; }

  /* About */
  .about-float-img { width: 120px; height: 120px; top: -1.5rem; }
  .about-main-img { height: 340px; }

  /* Why Us */
  .why-img-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px 12px;
    padding: 20px 8px 6px;
    margin-top: 1.5rem;
  }
  .why-img-card { padding: 7px 7px 26px; }
  .why-img-card::after { height: 26px; }

  /* Gallery */
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 210px; }
  .gallery-item.large { grid-column: span 1; grid-row: span 1; }
  .gallery-item.tall { grid-row: span 1; }

  /* Customize form */
  .tour-type-grid { grid-template-columns: repeat(2, 1fr); }
  .destinations-check-grid { grid-template-columns: repeat(3, 1fr); }

  /* Footer */
  .footer-bottom {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    gap: 0.8rem;
  }
  .footer-signature { justify-self: center; }
  .footer-signature-logo { width: 54px; height: 54px; }

  /* About image wrap – remove unnecessary right padding when stacked */
  .about-img-wrap { padding-right: 0; }

  /* WhatsApp & Email bubble */
  .whatsapp-label { display: none; }
  .whatsapp-float { padding: 0.9rem; border-radius: 50%; }
  .email-float { padding: 0.9rem; border-radius: 50%; }
}

/* --- Mobile (≤767px) --- */
@media (max-width: 767.98px) {
  .status-dot,
  .whatsapp-float,
  .email-float {
    animation: none;
  }

  .hero-system-status,
  .sla-item,
  .tour-badge,
  .tour-duration,
  .pkg-nav-btn,
  .custom-form-card {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }

  .footer-hours {
    white-space: normal;
  }

  .footer-contact li {
    line-height: 1.45;
  }

  .destination-card:hover,
  .tour-card:hover,
  .blog-card:hover,
  .why-img-card:hover {
    transform: none;
  }

  .container,
  .container-sm,
  .container-md,
  .container-lg,
  .container-xl,
  .container-xxl {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  /* Hero */
  .hero-section { height: 100svh; min-height: 580px; }
  .hero-inner {
    padding-top: 75px;
    padding-bottom: 82px;
  }
  .hero-left {
    max-width: 100%;
    width: 100%;
    padding-left: 0.72rem;
  }
  .hero-left::before { height: 126px; width: 2px; }
  .hero-grad-overlay {
    background:
      linear-gradient(to bottom, rgba(8,16,28,0.18) 0%, rgba(8,16,28,0.54) 45%, rgba(8,16,28,0.92) 100%);
  }
  .hero-text-slide h1 { font-size: clamp(1.85rem, 7vw, 2.45rem); }
  .hero-text-slide p { font-size: 0.93rem; max-width: 100%; }
  .hero-cta-row {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
    margin-top: 1.25rem;
    margin-bottom: 0.8rem;
  }
  .btn-hero-primary, .btn-hero-ghost {
    width: 100%;
    max-width: 100%;
    text-align: center;
    justify-content: center;
    padding: 0.88rem 1.5rem;
  }
  .hero-trust { gap: 0.5rem; flex-wrap: wrap; }
  .trust-item { font-size: 0.78rem; }
  .trust-divider { display: none; }
  .hero-eyebrow-text { font-size: 0.7rem; letter-spacing: 2px; }
  .hero-scroll-indicator { display: none; }
  .hero-dots-wrap { bottom: 24px; }

  /* Headings & text readability */
  .section-title {
    font-size: clamp(1.6rem, 7vw, 2.2rem);
    line-height: 1.2;
    letter-spacing: 0.2px;
  }
  .section-title br { display: none; }
  .section-subtitle,
  .section-desc { font-size: 0.95rem; }

  /* Prevent browser zoom jump in mobile form fields */
  input,
  select,
  textarea {
    font-size: 16px !important;
  }

  /* About section CTA stack on phones */
  #about .mt-4 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.7rem;
  }
  #about .btn-primary-custom,
  #about .btn-outline-custom {
    width: 100%;
    text-align: center;
    justify-content: center;
    margin-right: 0 !important;
  }

  /* Tour filter – horizontal scroll strip */
  .tour-filters {
    flex-wrap: nowrap;
    overflow-x: auto;
    justify-content: flex-start;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 6px;
    scrollbar-width: none;
    gap: 0.5rem;
  }
  .tour-filters::-webkit-scrollbar { display: none; }
  .filter-btn { flex-shrink: 0; white-space: nowrap; }

  /* About */
  .about-img-wrap { padding-right: 0; padding-bottom: 2.5rem; margin-bottom: 1rem; }
  .about-float-img { top: auto; bottom: -10px; right: 10px; width: 100px; height: 100px; }
  .about-main-img { height: 285px; }

  /* Sri Lanka Activities Map */
  .sla-layout { grid-template-columns: 1fr; gap: 2rem; }
  .sla-col-left { order: 2; }
  .sla-map-col { order: 1; width: min(90vw, 420px); margin: 0 auto; }
  .sla-col-right { order: 3; }
  .sla-col { grid-template-rows: none; }
  .sla-col-left, .sla-col-right { align-items: stretch; }
  .sla-item { width: 100%; }
  .sla-item-left { grid-template-columns: auto 1fr; text-align: left; }
  .sla-item-left::after,
  .sla-item-right::after { display: none; }

  /* Why Us */
  .why-img-grid {
    margin-top: 2rem;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px 10px;
    padding: 14px 6px 4px;
  }
  .why-img-card {
    padding: 6px 6px 22px;
    transform: none !important;
    box-shadow: 0 4px 14px rgba(0,0,0,0.14);
  }
  .why-img-card::after { height: 22px; }

  /* Destinations / Tours */
  .dest-img { height: 210px; }
  .tour-img { height: 210px; }

  /* Gallery */
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 155px; }
  .gallery-item.large, .gallery-item.tall { grid-column: span 1; grid-row: span 1; }

  /* Customize form */
  .custom-form-card { padding: 1.5rem; }
  .tour-type-grid { grid-template-columns: repeat(2, 1fr); }
  .destinations-check-grid { grid-template-columns: repeat(2, 1fr); }

  /* Blog */
  .blog-img { height: 215px; }

  /* Contact */
  .contact-form-card { padding: 1.5rem; }
  .contact-info-card { padding: 1.5rem; }

  /* TripAdvisor banner */
  .tripadvisor-banner { text-align: center; }
  .tripadvisor-banner .col-md-4 { margin-top: 1.2rem; }

  /* Newsletter */
  .newsletter-form { margin-top: 1rem; }

  /* FAQ */
  .faq-btn { font-size: 0.88rem !important; }

  /* Testimonials – show only the featured (center) card per slide */
  #testimonialCarousel .carousel-item .row > div:first-child,
  #testimonialCarousel .carousel-item .row > div:last-child { display: none !important; }
  #testimonialCarousel .carousel-item .row > div:nth-child(2) {
    flex: 0 0 100%;
    max-width: 100%;
  }
  .testimonial-card { padding: 1.4rem; }
}

/* --- Small phones (≤575px) --- */
@media (max-width: 575.98px) {
  .section-padding { padding: 52px 0; }
  .section-title { font-size: clamp(1.45rem, 6.5vw, 1.85rem); line-height: 1.25; }
  .section-subtitle { font-size: 0.9rem; }

  /* Sri Lanka Activities Map */
  .sla-col { gap: 1.1rem; }
  .sla-text h4 { font-size: 1.3rem; }
  .sla-text p { font-size: 0.8rem; }
  .sla-icon-wrap { width: 42px; height: 42px; min-width: 42px; font-size: 0.95rem; }
  .sla-item { min-height: 0; padding: 0.85rem 0.9rem; border-radius: 18px; }

  /* Hero */
  .hero-section { min-height: 100svh; }
  .hero-inner { padding-left: 0.5rem; padding-right: 0.5rem; padding-bottom: 78px; }
  .hero-left { padding-left: 0.62rem; }
  .hero-left::before { height: 108px; }
  .hero-text-slide h1 { font-size: clamp(1.55rem, 8vw, 2.1rem); line-height: 1.2; }
  .hero-text-slide p { font-size: 0.88rem; line-height: 1.65; }
  .hero-eyebrow { margin-bottom: 0.8rem; }
  .hero-cta-row { margin-top: 1rem; margin-bottom: 0.85rem; }

  /* Navbar */
  .brand-wordmark { font-size: 1.4rem; }

  /* About */
  .about-main-img { height: 240px; }
  .about-badge-card { padding: 0.75rem 1rem; }
  .about-float-img { display: none; }

  /* Feature mini cards */
  .feature-card-mini { padding: 0.75rem 1rem; }

  /* Destinations */
  .dest-img { height: 185px; }
  .filter-btn { padding: 0.4rem 0.9rem; font-size: 0.78rem; }

  /* Tours */
  .tour-img { height: 220px; }
  .tour-footer { flex-direction: column; align-items: stretch; gap: 0.6rem; }
  .tour-actions { width: 100%; }
  .btn-tour { width: 100%; text-align: center; justify-content: center; }
  .btn-details-pkg { width: 100%; text-align: center; }

  /* Gallery */
  .gallery-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 130px; }
  .gallery-item.large { grid-column: span 2; grid-row: span 1; }
  .gallery-item.tall { grid-row: span 1; }

  /* Why Us */
  .why-icon { width: 48px; height: 48px; font-size: 1.2rem; min-width: 48px; }

  /* Customize */
  .tour-type-grid { grid-template-columns: 1fr 1fr; }
  .destinations-check-grid { grid-template-columns: 1fr 1fr; }
  .custom-form-card { padding: 1.25rem; }
  .btn-submit-tour { width: 100%; min-width: unset; padding: 0.85rem 1.5rem; }

  /* Blog */
  .blog-img { height: 195px; }

  /* Contact */
  .contact-form-card { padding: 1.25rem; }
  .contact-info-card { padding: 1.25rem; }
  .contact-icon { width: 42px; height: 42px; font-size: 1rem; min-width: 42px; }
  .contact-info-item .badge { display: inline-block; margin-bottom: 0.28rem; }

  /* Footer */
  .footer-bottom-links { flex-wrap: wrap; gap: 0.65rem; justify-content: center; }
  .footer-copy { font-size: 0.82rem; }
  .footer-subcopy { font-size: 0.73rem; }
  .footer-signature { padding: 0.4rem 0.55rem; }
  .footer-signature-text strong { font-size: 0.8rem; }
  .footer-social { justify-content: center; }
  .footer-desc { font-size: 0.85rem; }
  /* Newsletter stack on small phones */
  .newsletter-input-group {
    flex-direction: column;
    border-radius: 18px;
    padding: 0.75rem;
    gap: 0.5rem;
  }
  .newsletter-input-group input { padding: 0.55rem 0.85rem; }
  .newsletter-input-group button {
    width: 100%;
    justify-content: center;
    border-radius: 10px;
    padding: 0.65rem 1rem;
  }

  /* Back to top */
  .back-to-top { width: 42px; height: 42px; font-size: 1rem; bottom: 1.5rem; right: 1.25rem; }

  /* Keep floating actions accessible without overlap */
  .email-float {
    right: 0.9rem;
    bottom: 6.8rem;
  }
  .whatsapp-float {
    right: 0.9rem;
    bottom: 2.1rem;
  }
}

/* --- Extra small phones (≤480px) --- */
@media (max-width: 480px) {
  /* Tour type grid → single column so labels don't overflow */
  .tour-type-grid { grid-template-columns: 1fr; }

  /* Hero: tighten vertical padding to keep content on screen */
  .hero-inner { padding-top: 68px; padding-bottom: 56px; }
  .hero-eyebrow { margin-bottom: 0.5rem; }

  /* Section titles: safe size on 320px screens */
  .section-title { font-size: clamp(1.35rem, 7vw, 1.75rem); }

  /* About badge: stay inside container */
  .about-badge-card { left: 0.75rem; padding: 0.65rem 0.9rem; }
  .about-badge-card i { font-size: 1.5rem; }

  /* Contact & form cards: tighter padding */
  .contact-form-card,
  .contact-info-card,
  .custom-form-card { padding: 1rem; }

  /* Footer newsletter */
  .footer-brand { font-size: 1.4rem; }
}

/* ==========================================
   RESPONSIVE STABILITY OVERRIDES
   ========================================== */

/* Improve anchor jump position with fixed navbar */
section[id] { scroll-margin-top: 90px; }

/* Keep tours centered and balanced even when only 1 card remains */
#toursGrid {
  justify-content: center;
}

#toursGrid > .tour-item {
  display: flex;
  justify-content: center;
}

#toursGrid > .tour-item .tour-card {
  width: 100%;
  max-width: 440px;
}

/* Large tablets/laptops: prevent nav crowding */
@media (min-width: 992px) and (max-width: 1280px) {
  .nav-link {
    font-size: 1.02rem;
    padding: 0.35rem 0.62rem !important;
  }

  .btn-primary-custom {
    padding: 0.35rem 1rem;
    font-size: 0.9rem;
  }
}

/* Tablet and below: smoother section jumps */
@media (max-width: 991.98px) {
  section[id] { scroll-margin-top: 78px; }
}

/* Mobile: avoid squeezed text and keep one-card layout crisp */
@media (max-width: 767.98px) {
  #toursGrid > .tour-item .tour-card {
    max-width: 100%;
  }
}

/* ==========================================
   FINAL RESPONSIVE QA PATCH
   ========================================== */

@media (max-width: 991.98px) {
  .custom-form-card,
  .weather-card,
  .contact-form-card,
  .contact-info-card {
    border-radius: 16px;
  }

  .sla-map-wrap {
    max-width: 100%;
    overflow: hidden;
  }
}

@media (max-width: 767.98px) {
  .hero-bg-video {
    object-position: 58% center;
  }

  .hero-video-wrap::after,
  .customize-section::before,
  .customize-section::after,
  .weather-section::before {
    display: none;
  }

  .weather-stats {
    grid-template-columns: 1fr;
  }

  .pkg-itinerary {
    margin-left: 0.65rem;
  }

  .pkg-day {
    gap: 0.75rem;
    padding: 0.95rem 0.25rem 0.95rem 1.25rem;
  }

  .pkg-day-num {
    min-width: 46px;
    width: 46px;
    font-size: 0.62rem;
  }

  .footer-newsletter h5 {
    font-size: 1.05rem;
  }
}

@media (max-width: 575.98px) {
  .section-padding {
    padding: 64px 0;
  }

  .section-title {
    font-size: clamp(1.45rem, 8vw, 2rem);
  }

  .pkg-modal-title {
    font-size: 1.15rem;
  }

  .pkg-modal-meta {
    gap: 0.5rem 0.8rem;
    font-size: 0.76rem;
  }

  .hero-system-status {
    font-size: 0.82rem;
    padding: 0.58rem 0.78rem;
  }
}
