/* ----------------------------------------------------
   ALIF RAUDHAH TRAVEL & TOURS - LUXURY DESIGN SYSTEM
   ---------------------------------------------------- */

/* Kept as a safe fallback for standalone package pages that share this
   stylesheet. The home page preconnects and requests these fonts directly. */
@import url('https://fonts.googleapis.com/css2?family=Amiri:ital,wght@0,400;0,700;1,400&family=Cormorant+Garamond:wght@500;600;700&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
  /* Color Palette - Brighter Company Red, Royal Blue & Pure White */
  --bg-dark: #f8fafc; /* Slate-50 - Bright and cheerful light background */
  --bg-surface: #ffffff; /* Pure White - Content sections */
  --bg-card: #e0f2fe; /* Soft Blue - for content boxes and cards */
  --bg-card-hover: #d0e7ff; /* Slightly darker soft blue on hover */
  --bg-light: #ffffff;
  
  --primary-red: #ff2020;
  --red-accent: #ff2020;
  --red-light: #ffe0e0;
  --red-dark: #cc0000;
  --red-gradient: linear-gradient(135deg, #ff5555 0%, #ff2020 50%, #cc0000 100%);
  --red-glow: rgba(255, 32, 32, 0.18);

  --primary-blue: #2563eb;
  --blue-accent: #3b82f6;
  --blue-light: #dbeafe;
  --blue-dark: #1e3a8a;
  --blue-gradient: linear-gradient(135deg, #3b82f6 0%, #2563eb 50%, #1d4ed8 100%);
  --blue-glow: rgba(37, 99, 235, 0.15);

  --red-blue-gradient: linear-gradient(135deg, #ff2020 0%, #2563eb 100%);

  --white-pure: #ffffff;
  --white-glow: rgba(255, 255, 255, 0.3);

  --text-primary: #0f172a; /* Slate-900 - Highly legible */
  --text-secondary: #334155; /* Slate-700 - Content descriptions */
  --text-dark: #0f172a;
  --text-muted: #64748b; /* Slate-500 */

  --border-red: rgba(255, 32, 32, 0.3);
  --border-blue: rgba(37, 99, 235, 0.15);
  --border-white: rgba(0, 0, 0, 0.08);

  --font-heading: 'Plus Jakarta Sans', sans-serif; /* Update font heading to match body for a cleaner look */
  --font-arabic: 'Amiri', serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;

  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.08);
  --shadow-red: 0 10px 30px rgba(255, 32, 32, 0.18);
  --shadow-blue: 0 10px 30px rgba(37, 99, 235, 0.1);

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;

  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
  max-width: 100%;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-dark);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  max-width: 100%;
  width: 100%;
  position: relative;
  font-weight: 500;
}

img {
  max-width: 100%;
  height: auto;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
  background: var(--primary-red);
  border-radius: 5px;
  border: 2px solid var(--bg-dark);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--blue-accent);
}

/* Typography Helpers */
.font-arabic {
  font-family: var(--font-arabic);
}
.text-gold, .text-red {
  color: #ff2020;
  text-shadow: 0 1px 4px rgba(0,0,0,0.5);
}
.text-blue {
  color: var(--blue-light);
  text-shadow: 0 1px 4px rgba(0,0,0,0.5);
}
.text-white {
  color: var(--white-pure);
  text-shadow: 0 1px 4px rgba(0,0,0,0.5);
}
.text-emerald {
  color: var(--blue-accent);
}
.gradient-text-gold, .gradient-text-red {
  color: #ff2020;
  -webkit-text-fill-color: #ff2020;
  filter: drop-shadow(0 2px 14px rgba(255, 32, 32, 0.75));
}
.gradient-text-blue {
  background: var(--blue-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 8px rgba(96, 165, 250, 0.4));
}
.gradient-text-white {
  background: linear-gradient(135deg, #ffffff 0%, #e2e8f0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Utility Containers */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Glassmorphism Elements */
/* Glassmorphism Elements */
.glass-nav {
  background: rgba(6, 11, 25, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-blue);
}

.glass-card {
  background: rgba(19, 32, 66, 0.75);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-red);
  border-radius: var(--radius-md);
}

/* Buttons & Controls */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.75rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

.btn-gold, .btn-red {
  background: var(--red-gradient);
  color: #ffffff;
  box-shadow: var(--shadow-red);
  font-weight: 700;
}
.btn-gold:hover, .btn-red:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 35px rgba(239, 68, 68, 0.45);
  filter: brightness(1.1);
}

.btn-blue {
  background: var(--blue-gradient);
  color: #ffffff;
  box-shadow: var(--shadow-blue);
  font-weight: 700;
}
.btn-blue:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 35px rgba(59, 130, 246, 0.45);
  filter: brightness(1.1);
}

.btn-outline-gold, .btn-outline-red {
  background: transparent;
  border: 1.5px solid var(--red-accent);
  color: #ffffff;
}
.btn-outline-gold:hover, .btn-outline-red:hover {
  background: rgba(239, 68, 68, 0.2);
  color: #fff;
  transform: translateY(-2px);
}

.btn-outline-blue {
  background: transparent;
  border: 1.5px solid var(--blue-accent);
  color: #ffffff;
}
.btn-outline-blue:hover {
  background: rgba(59, 130, 246, 0.2);
  color: #fff;
  transform: translateY(-2px);
}

.btn-emerald {
  background: var(--blue-gradient);
  color: #fff;
  box-shadow: var(--shadow-blue);
}
.btn-emerald:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 35px rgba(59, 130, 246, 0.4);
}

/* Top Notification / Prayer Bar */
.top-bar {
  background: linear-gradient(90deg, #09122b 0%, #1e3a8a 50%, #991b1b 100%);
  border-bottom: 1px solid var(--border-blue);
  font-size: 0.85rem;
  padding: 0.55rem 0;
  color: #ffffff;
}
.top-bar-content {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  text-align: center;
}
.top-info {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  text-align: center;
}
.top-info span {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.prayer-widget {
  background: rgba(239, 68, 68, 0.18);
  border: 1px solid var(--red-accent);
  padding: 0.2rem 0.75rem;
  border-radius: var(--radius-full);
  color: #ffffff;
  font-weight: 600;
  font-size: 0.8rem;
  box-shadow: 0 0 12px rgba(239, 68, 68, 0.2);
}

/* Sticky Header Wrapper */
.sticky-header-wrapper {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #ffffff;
}

/* Header & Navigation */
header.glass-nav {
  position: relative;
  z-index: 1000;
  background: #ffffff;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  border-bottom: 4px solid;
  border-image: linear-gradient(90deg, var(--red-accent) 0%, var(--primary-blue) 100%) 1;
  transition: var(--transition);
}

/* Subpage sticky navbar — used on all Umrah subpages */
header.glass-nav.subpage-nav {
  position: sticky;
  top: 0;
  z-index: 2000;
  background: #ffffff;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
  overflow: visible !important;
}

/* Ensure mobile nav dropdown is always on top on subpages */
header.glass-nav.subpage-nav .nav-links {
  z-index: 2100;
}

header.glass-nav.subpage-nav .nav-links.active {
  z-index: 2100;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.4rem 1.75rem;
  width: 100%;
  max-width: 100%;
  gap: 0.75rem;
  box-sizing: border-box;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  flex-shrink: 0;
}
.brand-logo-img {
  height: 74px !important; /* Perfect height to ensure ultra-clear logo while preventing header overflow */
  width: auto;
  max-width: 260px !important;
  object-fit: contain;
  background: transparent;
  padding: 0;
  border-radius: 0;
  box-shadow: none;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  filter: saturate(1.6) contrast(1.12); /* Boosts logo colors to display vivid red */
}
.brand-logo-img:hover {
  transform: scale(1.04) translateY(-1px);
}
.footer-logo-img {
  height: 110px !important;
  max-width: 390px !important;
  filter: saturate(1.6) contrast(1.12); /* Apply same vivid bright red filter to footer logo */
}


/* Final mobile drawer guard: some iPhone browsers calculate the header menu
   from its content height.  Pin it to the visual viewport instead, so long
   dropdowns (especially Pakej Percutian) never hide the remaining links. */
@media (max-width: 767px) {
  header.glass-nav .nav-links.active,
  header.glass-nav.subpage-nav .nav-links.active,
  #navLinks.active {
    position: fixed !important;
    top: 70px !important;
    right: 0 !important;
    bottom: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: calc(100dvh - 70px) !important;
    max-height: calc(100dvh - 70px) !important;
    min-height: 0 !important;
    overflow-y: scroll !important;
    overflow-x: hidden !important;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    padding-bottom: calc(3rem + env(safe-area-inset-bottom)) !important;
    align-items: stretch !important;
    scrollbar-width: thin;
  }

  #navLinks.active > li,
  #navLinks.active .drawer-footer {
    flex: 0 0 auto !important;
  }
}

/* Phone-only moving memories gallery, positioned after the itinerary. */
.mobile-memories-section {
  display: none;
}

@media (max-width: 767px) {
  .mobile-memories-section {
    display: block;
    padding: 3.1rem 1rem 2.8rem;
    background: #ffffff;
    overflow: hidden;
  }

  .mobile-memories-heading {
    max-width: 21rem;
    margin: 0 auto 1.4rem;
    text-align: center;
  }

  .mobile-memories-heading span {
    display: block;
    margin-bottom: 0.35rem;
    color: #ff2020;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.67rem;
    font-weight: 900;
    letter-spacing: 0.16em;
    text-transform: uppercase;
  }

  .mobile-memories-heading h2 {
    margin: 0;
    color: #091b43;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: clamp(1.45rem, 6.6vw, 1.85rem);
    font-weight: 900;
    line-height: 1.08;
    letter-spacing: -0.045em;
  }

  .mobile-memories-heading p {
    margin: 0.65rem 0 0;
    color: #52647f;
    font-size: 0.78rem;
    line-height: 1.55;
  }

  .mobile-memories-marquee {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.55rem;
    height: 30rem;
    overflow: hidden;
    padding: 0.15rem;
    mask-image: linear-gradient(to bottom, transparent 0, #000 7%, #000 93%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 7%, #000 93%, transparent 100%);
  }

  .mobile-memories-column {
    min-width: 0;
    overflow: hidden;
    border-radius: 1rem;
  }

  .mobile-memories-track {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    will-change: transform;
  }

  .mobile-memories-track img {
    display: block;
    width: 100%;
    aspect-ratio: 3 / 4;
    border-radius: 0.85rem;
    object-fit: cover;
    background: #edf4ff;
    box-shadow: 0 0.35rem 0.9rem rgba(9, 27, 67, 0.12);
  }

  .mobile-memories-track-up {
    animation: mobileMemoriesUp 62s linear infinite;
  }

  .mobile-memories-track-down {
    animation: mobileMemoriesDown 62s linear infinite;
  }

  @keyframes mobileMemoriesUp {
    from { transform: translateY(0); }
    to { transform: translateY(calc(-50% - 0.275rem)); }
  }

  @keyframes mobileMemoriesDown {
    from { transform: translateY(calc(-50% - 0.275rem)); }
    to { transform: translateY(0); }
  }

  @media (prefers-reduced-motion: reduce) {
    .mobile-memories-track-up,
    .mobile-memories-track-down { animation-play-state: paused; }
  }
}

/* Footer links hover effects */
.footer-links-list a:hover {
  color: var(--primary-red) !important;
  transform: translateX(5px);
}
.footer-links-list a {
  display: inline-flex;
  align-items: center;
  transition: var(--transition);
}


.nav-links {
  display: flex;
  align-items: center;
  gap: 0.95rem;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: nowrap;
}

/* Compact WhatsApp / Auth Button in Navbar */
.navbar .btn-red {
  padding: 0.55rem 1.15rem;
  font-size: 0.84rem;
  font-weight: 800;
  box-shadow: none;
  white-space: nowrap;
  flex-shrink: 0;
}

.nav-links a {
  color: #1e293b;
  text-decoration: none;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 0.88rem !important; /* Perfect font size for crisp, non-overflowing main navigation titles */
  letter-spacing: 0.3px;
  text-transform: uppercase;
  white-space: nowrap;
  transition: var(--transition);
  position: relative;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--red-accent);
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 0;
  height: 3px;
  background: var(--red-gradient);
  border-radius: var(--radius-full);
  transition: var(--transition);
}
.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

/* Nav Dropdown */
.nav-dropdown {
  position: relative;
}
.nav-caret {
  font-size: 0.75rem;
  margin-left: 4px;
  vertical-align: middle;
  transition: var(--transition);
}
.nav-dropdown:hover .nav-caret {
  transform: rotate(180deg);
}
.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 4px);
  left: 50%;
  transform: translateX(-50%);
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: var(--radius-md);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.1);
  list-style: none;
  min-width: 240px;
  padding: 0.6rem 0;
  z-index: 999;
  pointer-events: none;
}
/* Invisible bridge — fills gap so mouse doesn't lose hover */
.nav-dropdown-menu::before {
  content: '';
  position: absolute;
  top: -12px;
  left: 0;
  right: 0;
  height: 12px;
  background: transparent;
}
.nav-dropdown:hover .nav-dropdown-menu {
  display: block;
  pointer-events: all;
}
.dropdown-divider {
  height: 1px;
  background: #f1f5f9;
  margin: 0.3rem 0;
}
.nav-dropdown-menu li a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.8rem 1.4rem;
  color: var(--text-primary) !important;
  font-size: 0.94rem !important; /* Crisp font size for dropdown items */
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
  transition: var(--transition);
  text-decoration: none;
}
.nav-dropdown-menu li a::after {
  display: none !important;
}
.nav-dropdown-menu li a:hover {
  background: #fff0f0;
  color: var(--primary-red) !important;
  padding-left: 1.5rem;
}
.nav-dropdown-menu li a i {
  color: var(--primary-red);
  font-size: 0.85rem;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-left: 0.5rem;
}

.mobile-menu-btn {
  display: none;
  background: transparent;
  border: none;
  color: var(--red-accent);
  font-size: 1.75rem;
  cursor: pointer;
  transition: background-color 0.25s ease, color 0.25s ease;
}

.mobile-menu-btn i {
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}

.mobile-menu-btn.is-open i {
  transform: rotate(90deg);
}

/* Hero Section */
.hero-section {
  position: relative;
  min-height: 100vh;
  padding: 0;
  overflow: hidden;
  background-color: #ffffff;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-color: #ffffff;
  -webkit-mask-image: linear-gradient(to bottom, #000000 0%, #000000 90%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000000 0%, #000000 90%, transparent 100%);
}
.hero-bg .slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(1.15) contrast(1.20) saturate(1.15); /* Ultra-bright, vivid, crystal clear HD Makkah & Madinah background */
  opacity: 0;
  transform: scale(1);
  transition: opacity 2.0s cubic-bezier(0.4, 0, 0.2, 1), transform 6.5s ease-out; /* Cinematic Ken Burns Slow Motion Zoom */
  z-index: 1;
}
.hero-bg .slide.active {
  opacity: 1;
  transform: scale(1.12); /* Slowly zooms in to 1.12x in slow motion */
  z-index: 2;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
  background: linear-gradient(180deg, rgba(255,255,255,0.02) 0%, rgba(9,18,43,0.08) 55%, rgba(9,18,43,0.30) 85%, #ffffff 100%),
              radial-gradient(circle at 80% 20%, rgba(255,82,82,0.10) 0%, transparent 50%),
              radial-gradient(circle at 20% 70%, rgba(96,165,250,0.10) 0%, transparent 50%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  text-align: center;
}

.hero-text-box {
  background: rgba(255, 255, 255, 0.08); /* Crystal clear ultra-light glass tint */
  backdrop-filter: blur(3px); /* Sharp 100% view-through background photo, zero blurriness */
  -webkit-backdrop-filter: blur(3px);
  border: 1.5px solid rgba(255, 255, 255, 0.45); /* Elegant sparkling crystal glass border */
  border-radius: 24px;
  padding: 2rem 2.5rem;
  margin: 0 auto 1.5rem auto;
  max-width: 820px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2), inset 0 0 20px rgba(255, 255, 255, 0.12);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: var(--transition);
}

.badge-license {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.4rem;
  background: #ff2020;
  border: 2px solid #ff5555;
  border-radius: var(--radius-full);
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
  box-shadow: 0 4px 20px rgba(255, 32, 32, 0.55);
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  line-height: 1.25;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 1rem;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.95), 0 0 20px rgba(0, 0, 0, 0.8);
}
.hero-arabic {
  font-family: var(--font-arabic);
  font-size: 2.2rem;
  color: #ffffff;
  font-weight: 700;
  margin-bottom: 0.5rem;
  display: block;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.95), 0 0 20px rgba(0, 0, 0, 0.8);
}
.hero-title-red {
  color: #ff2020 !important;
  -webkit-text-fill-color: #ff2020 !important;
  text-shadow: 0 0 15px rgba(255, 32, 32, 0.85), 0 2px 10px rgba(0, 0, 0, 0.95);
  filter: drop-shadow(0 2px 14px rgba(255, 32, 32, 0.9));
}

.hero-subtitle {
  font-size: 1.2rem;
  color: #f8fafc;
  font-weight: 500;
  margin-bottom: 2.5rem;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.9);
}

/* Hero Search & Filter Card */
.search-card {
  background: var(--bg-card);
  border: 2px solid var(--border-blue);
  box-shadow: 0 20px 50px rgba(37, 99, 235, 0.1);
  border-radius: var(--radius-lg);
  padding: 1.75rem 2rem;
  margin-top: 2rem;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}
.search-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  align-items: end;
  width: 100%;
}
.form-group {
  display: flex;
  flex-direction: column;
  text-align: left;
}
.form-group label {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--primary-blue);
  margin-bottom: 0.55rem;
  font-weight: 800;
}
.form-select, .form-input {
  background: #ffffff;
  border: 2px solid #cbd5e1;
  color: var(--text-primary);
  font-weight: 600;
  padding: 0 1.25rem; /* Set vertical padding to 0 and rely on line-height and height */
  border-radius: var(--radius-sm);
  outline: none;
  font-family: var(--font-body);
  font-size: 0.95rem; /* Slightly smaller font size to fit long texts beautifully */
  transition: var(--transition);
  height: 54px;
  line-height: 50px; /* Vertically center the text precisely inside the 54px container (54px height - 4px border) */
  box-sizing: border-box;
}
.form-select:focus, .form-input:focus {
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}
/* Make the search submit button match input height */
.search-card .btn {
  height: 54px;
  font-size: 1rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  padding: 0 1.5rem;
}

.mobile-search-heading {
  display: none;
}

/* ── Rakan Strategik Marquee Section ── */
.partners-section {
  background: #ffffff;
  padding: 2.5rem 0;
  border-bottom: 1.5px solid #e2e8f0;
  overflow: hidden;
  position: relative;
  z-index: 5;
}
.partners-title {
  text-align: center;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  font-weight: 800;
}
.partners-slider {
  position: relative;
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  contain: layout paint;
  isolation: isolate;
}
/* Premium fade overlays at the edges */
.partners-slider::before,
.partners-slider::after {
  content: '';
  position: absolute;
  top: 0;
  width: 150px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}
.partners-slider::before {
}
/* Premium fade overlays at the edges */
.partners-slider::before,
.partners-slider::after {
  content: '';
  position: absolute;
  top: 0;
  width: 150px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}
.partners-slider::before {
  left: 0;
  background: linear-gradient(90deg, #ffffff 0%, rgba(255, 255, 255, 0) 100%);
}
.partners-slider::after {
  right: 0;
  background: linear-gradient(-90deg, #ffffff 0%, rgba(255, 255, 255, 0) 100%);
}
.partners-track {
  display: flex;
  gap: 0;
  width: max-content;
  will-change: transform;
  -webkit-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  -webkit-transform-style: preserve-3d;
  transform-style: preserve-3d;
  -webkit-animation: partners-scroll-loop 25s linear infinite;
  animation: partners-scroll-loop 25s linear infinite;
}
@-webkit-keyframes partners-scroll-loop {
  0% {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }
  100% {
    -webkit-transform: translate3d(-50%, 0, 0);
    transform: translate3d(-50%, 0, 0);
  }
}
@keyframes partners-scroll-loop {
  0% {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }
  100% {
    -webkit-transform: translate3d(-50%, 0, 0);
    transform: translate3d(-50%, 0, 0);
  }
}
.partner-logo-wrapper {
  display: flex;
  flex: 0 0 220px;
  box-sizing: border-box;
  align-items: center;
  justify-content: center;
  height: 85px; /* Increased from 60px to make logos significantly larger */
  padding: 0 1rem;
  background: #ffffff;
  border-radius: var(--radius-sm);
  transition: all 0.3s ease;
  margin-right: 3.5rem;
}
.partner-logo-wrapper:hover {
  transform: translateY(-2px) scale(1.04);
}
.partner-logo-img {
  display: block;
  max-height: 100%;
  max-width: 180px; /* Increased from 140px for larger logo display */
  object-fit: contain;
  filter: brightness(1) contrast(1);
  transition: all 0.3s ease;
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
}

@media (max-width: 768px) {
  .partners-section {
    padding: 2rem 0;
  }
  .partners-track {
    gap: 0;
    -webkit-animation-duration: 20s;
    animation-duration: 20s;
  }
  .partner-logo-wrapper {
    flex-basis: 150px;
    height: 60px;
    padding: 0 0.5rem;
    margin-right: 2.5rem;
  }
  .partner-logo-img {
    max-width: 120px;
  }
}

/* Stats Counter Bar */
.stats-banner {
  background: #ffffff;
  padding: 4rem 0 3rem;
  margin-top: 0;
  position: relative;
  z-index: 10;
  text-align: center;
  overflow: hidden;
}

/* Decorative background icon — right side, anchored at bottom, behind all content */
.stats-bg-icon {
  position: absolute;
  bottom: -30px;
  right: 60px;
  height: 115%;
  width: auto;
  max-width: 680px;
  opacity: 1;
  pointer-events: none;
  z-index: 1;
  user-select: none;
}

/* Hero big number */
.stats-hero {
  margin-bottom: 2.5rem;
}
.stats-hero-number {
  font-family: var(--font-heading);
  font-size: 5.5rem;
  font-weight: 900;
  color: var(--primary-blue);
  line-height: 1;
  letter-spacing: -2px;
}
.stats-hero-label {
  font-size: 1.1rem;
  color: var(--text-secondary);
  font-weight: 600;
  margin-top: 0.6rem;
  text-transform: lowercase;
  letter-spacing: 0.3px;
}

/* 3 sub stat boxes */
.stats-sub-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}
.stats-sub-item {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  background: #f0f7ff;
  border: 1.5px solid #dbeafe;
  border-radius: var(--radius-md);
  padding: 2rem 2rem;
  text-align: left;
  transition: var(--transition);
}
.stats-sub-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(37, 99, 235, 0.1);
  border-color: var(--primary-blue);
}
.stats-sub-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: #dbeafe;
  border-radius: var(--radius-sm);
  color: var(--primary-blue);
  font-size: 1.5rem;
  flex-shrink: 0;
}
.stats-sub-number {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--primary-blue);
  line-height: 1;
}
.stats-sub-label {
  font-size: 0.92rem;
  color: var(--text-secondary);
  font-weight: 500;
  margin-top: 0.4rem;
}

/* Section Header Shared */
.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3.5rem auto;
}
.section-subtitle {
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: #ff2020;
  font-weight: 800;
  margin-bottom: 0.5rem;
  display: block;
  text-shadow: 0 0 10px rgba(255, 32, 32, 0.4);
}
.section-title {
  font-family: var(--font-heading);
  font-size: 2.9rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.2;
}

.director-section {
  padding: 5rem 0;
  background: linear-gradient(135deg, #f8fafc 0%, #f0f7ff 50%, #fff5f5 100%);
  position: relative;
  overflow: hidden;
}
/* Decorative background globe watermark */
.director-bg-globe {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 1100px;
  height: auto;
  opacity: 0.12;
  pointer-events: none;
  z-index: 1;
  user-select: none;
}
.director-layout {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 4rem;
  align-items: center;
}
/* Photo */
.director-photo-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  filter: drop-shadow(0 20px 50px rgba(0, 0, 0, 0.18));
}
.director-photo {
  width: 100%;
  height: 540px;
  object-fit: cover;
  object-position: top center;
  display: block;
  border-radius: var(--radius-lg);
  filter: contrast(1.08) saturate(1.18) brightness(1.03);
  image-rendering: -webkit-optimize-contrast;
}
/* Content */
.director-content {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}
.director-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.25;
}
.director-quote {
  position: relative;
  padding: 1.5rem 1.75rem;
  background: #ffffff;
  border-left: 4px solid var(--primary-red);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}
.director-quote-icon {
  color: var(--primary-red);
  font-size: 1.6rem;
  opacity: 0.25;
  position: absolute;
  top: 1rem;
  right: 1.25rem;
}
.director-quote p {
  color: var(--text-secondary);
  font-size: 0.98rem;
  line-height: 1.85;
  font-weight: 500;
}
/* Signature */
.director-signature {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-top: 0.5rem;
}
.signature-line {
  width: 60px;
  height: 3px;
  background: var(--red-gradient);
  border-radius: var(--radius-full);
  margin-bottom: 0.4rem;
}
.director-name {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.director-position {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--primary-red);
  letter-spacing: 0.3px;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
@media (max-width: 900px) {
  .director-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .director-photo {
    height: 320px;
  }
}

.company-name-nowrap {
  white-space: nowrap;
}

/* iPad portrait only: extend the existing photo frame downward.  The image
   fitting and surrounding director layout remain exactly as before. */
@media (min-width: 768px) and (max-width: 1024px) and (orientation: portrait) {
  .director-photo {
    height: 450px;
  }
}

/* The phone experience already leads straight into package selection. Keep
   the same focused journey on iPad and laptop by removing the redundant
   promotional glass copy above the functional package controls. */
@media (min-width: 768px) {
  .hero-section {
    min-height: 0 !important;
    padding: 1.2rem 0 1.75rem !important;
  }

  #agen-pelancongan {
    min-height: 0 !important;
    padding: 1.25rem 0 1.75rem !important;
  }

  #agen-pelancongan .hero-text-box {
    display: none !important;
  }

  #agen-pelancongan .search-card {
    margin-top: 0 !important;
  }
}

/* Packages Grid & Cards */
.packages-section {
  padding: 6rem 0;
}

.filter-pills {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}
.pill-btn {
  background: var(--bg-surface);
  border: 1.5px solid #cbd5e1;
  color: var(--text-secondary);
  padding: 0.65rem 1.6rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  font-size: 0.92rem;
}
.pill-btn.active, .pill-btn:hover {
  background: var(--red-gradient);
  color: #ffffff;
  border-color: transparent;
  box-shadow: var(--shadow-red);
  text-shadow: 0 1px 3px rgba(0,0,0,0.5);
}

/* Desktop/iPad package navigator: visual polish only; filtering stays in app.js. */
@media (min-width: 768px) {
  .packages-section {
    padding-top: 5rem;
  }

  .package-collection-header {
    margin-bottom: 2.1rem;
  }

  .package-collection-header .section-title {
    margin-bottom: 0;
    line-height: 1.13;
  }

  .package-heading-accent {
    display: block;
    width: 5.5rem;
    height: 0.22rem;
    margin: 1rem auto 0.85rem;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--primary-red), var(--primary-blue));
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
  }

  .package-collection-copy {
    margin: 0;
    color: var(--text-secondary);
  }

}

.packages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
}

/* 2 + 2 + 1 Grid Layout for "Semua Pakej" (5 items) */
.packages-grid.grid-layout-2-2-1 {
  grid-template-columns: repeat(6, 1fr);
  gap: 2.5rem;
}

/* Row 1: kad 1 & 2 — masing-masing 3 kolum */
.packages-grid.grid-layout-2-2-1 .package-card {
  grid-column: span 3;
  border-width: 2px;
}

/* Row 3: kad ke-5 — satu di tengah, lebar penuh max 520px */
.packages-grid.grid-layout-2-2-1 .package-card:nth-child(5) {
  grid-column: 2 / span 4;
  max-width: 560px;
  justify-self: center;
  width: 100%;
}

/* Scale up sizes for the larger 2-2-1 grid cards */
.packages-grid.grid-layout-2-2-1 .card-img-wrapper {
  aspect-ratio: 2 / 1; /* Match iklan 1280x640 dimension */
  height: auto;
}
.packages-grid.grid-layout-2-2-1 .card-body {
  padding: 2rem;
}
.packages-grid.grid-layout-2-2-1 .card-title {
  font-size: 2rem;
}
.packages-grid.grid-layout-2-2-1 .hotel-item {
  font-size: 0.98rem;
}
.packages-grid.grid-layout-2-2-1 .card-features {
  font-size: 0.92rem;
  gap: 0.8rem;
  padding: 1.1rem 0;
}
.packages-grid.grid-layout-2-2-1 .price-val {
  font-size: 2.3rem;
}
.packages-grid.grid-layout-2-2-1 .btn {
  padding: 0.8rem 1.6rem;
  font-size: 1rem;
}

/* 2-Card Layout (e.g. Umrah Ramadan with 2 cards) */
.packages-grid.grid-layout-2 {
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
  max-width: 1100px;
  margin: 0 auto;
}
.packages-grid.grid-layout-2 .package-card {
  grid-column: span 1;
  border-width: 2px;
}
.packages-grid.grid-layout-2 .card-img-wrapper {
  aspect-ratio: 2 / 1;
  height: auto;
}
.packages-grid.grid-layout-2 .card-body {
  padding: 2rem;
}
.packages-grid.grid-layout-2 .card-title {
  font-size: 2rem;
}
.packages-grid.grid-layout-2 .hotel-item {
  font-size: 0.98rem;
}
.packages-grid.grid-layout-2 .card-features {
  font-size: 0.92rem;
  gap: 0.8rem;
  padding: 1.1rem 0;
}
.packages-grid.grid-layout-2 .price-val {
  font-size: 2.3rem;
}
.packages-grid.grid-layout-2 .btn {
  padding: 0.8rem 1.6rem;
  font-size: 1rem;
}

/* 2 + 2 + 2 Grid Layout for all 6 packages & 2 + 2 + 2 + 1 for 7 packages */
.packages-grid.grid-layout-2-2-2,
.packages-grid.grid-layout-2-2-2-1 {
  grid-template-columns: repeat(6, 1fr);
  gap: 2.5rem;
}
.packages-grid.grid-layout-2-2-2 .package-card,
.packages-grid.grid-layout-2-2-2-1 .package-card {
  grid-column: span 3;
  border-width: 2px;
}
.packages-grid.grid-layout-2-2-2-1 .package-card:nth-child(7) {
  grid-column: 2 / span 4;
  max-width: 560px;
  justify-self: center;
  width: 100%;
}
.packages-grid.grid-layout-2-2-2 .card-img-wrapper,
.packages-grid.grid-layout-2-2-2-1 .card-img-wrapper {
  aspect-ratio: 2 / 1;
  height: auto;
}
.packages-grid.grid-layout-2-2-2 .card-body,
.packages-grid.grid-layout-2-2-2-1 .card-body {
  padding: 2rem;
}
.packages-grid.grid-layout-2-2-2 .card-title,
.packages-grid.grid-layout-2-2-2-1 .card-title {
  font-size: 2rem;
}
.packages-grid.grid-layout-2-2-2 .hotel-item,
.packages-grid.grid-layout-2-2-2-1 .hotel-item {
  font-size: 0.98rem;
}
.packages-grid.grid-layout-2-2-2 .card-features,
.packages-grid.grid-layout-2-2-2-1 .card-features {
  font-size: 0.92rem;
  gap: 0.8rem;
  padding: 1.1rem 0;
}
.packages-grid.grid-layout-2-2-2 .price-val,
.packages-grid.grid-layout-2-2-2-1 .price-val {
  font-size: 2.3rem;
}
.packages-grid.grid-layout-2-2-2 .btn,
.packages-grid.grid-layout-2-2-2-1 .btn {
  padding: 0.8rem 1.6rem;
  font-size: 1rem;
}

/* Responsive Overrides for 2-card / 2-2-1 / 2-2-2-1 layout (iPad & Tablet) */
@media (max-width: 1024px) {
  .packages-grid.grid-layout-2,
  .packages-grid.grid-layout-2-2-1,
  .packages-grid.grid-layout-2-2-2,
  .packages-grid.grid-layout-2-2-2-1 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.15rem;
    width: 100%;
    box-sizing: border-box;
  }
  .packages-grid.grid-layout-2 .package-card,
  .packages-grid.grid-layout-2-2-1 .package-card,
  .packages-grid.grid-layout-2-2-1 .package-card:nth-child(5),
  .packages-grid.grid-layout-2-2-2 .package-card,
  .packages-grid.grid-layout-2-2-2-1 .package-card,
  .packages-grid.grid-layout-2-2-2-1 .package-card:nth-child(7) {
    grid-column: span 1;
    max-width: 100%;
    min-width: 0;
    width: 100%;
    justify-self: stretch;
    box-sizing: border-box;
  }
  .packages-grid.grid-layout-2 .card-body,
  .packages-grid.grid-layout-2-2-1 .card-body,
  .packages-grid.grid-layout-2-2-2 .card-body,
  .packages-grid.grid-layout-2-2-2-1 .card-body {
    padding: 1.25rem 1rem;
  }
  .packages-grid.grid-layout-2 .card-title,
  .packages-grid.grid-layout-2-2-1 .card-title,
  .packages-grid.grid-layout-2-2-2 .card-title,
  .packages-grid.grid-layout-2-2-2-1 .card-title {
    font-size: 1.45rem;
  }
  .packages-grid.grid-layout-2 .price-val,
  .packages-grid.grid-layout-2-2-1 .price-val,
  .packages-grid.grid-layout-2-2-2 .price-val,
  .packages-grid.grid-layout-2-2-2-1 .price-val {
    font-size: 1.75rem;
  }
  .packages-grid.grid-layout-2 .btn,
  .packages-grid.grid-layout-2-2-1 .btn,
  .packages-grid.grid-layout-2-2-2 .btn,
  .packages-grid.grid-layout-2-2-2-1 .btn {
    padding: 0.65rem 1.15rem;
    font-size: 0.88rem;
    white-space: nowrap;
  }
  .card-footer {
    gap: 0.5rem;
    min-width: 0;
  }
  .package-highlights {
    padding: 0.55rem 0.4rem;
    margin: -0.1rem 0 1rem;
  }
  .package-highlights-list {
    gap: 0.35rem;
  }
  .package-highlight {
    padding: 0.35rem 0.2rem;
    font-size: 0.6rem;
    min-height: 2.85rem;
  }
  .package-highlight span {
    word-break: break-word;
    line-height: 1.15;
  }
}
@media (max-width: 680px) {
  .packages-grid.grid-layout-2,
  .packages-grid.grid-layout-2-2-1,
  .packages-grid.grid-layout-2-2-2,
  .packages-grid.grid-layout-2-2-2-1 {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .packages-grid.grid-layout-2 .package-card,
  .packages-grid.grid-layout-2-2-1 .package-card,
  .packages-grid.grid-layout-2-2-1 .package-card:nth-child(5),
  .packages-grid.grid-layout-2-2-2 .package-card,
  .packages-grid.grid-layout-2-2-2-1 .package-card,
  .packages-grid.grid-layout-2-2-2-1 .package-card:nth-child(7) {
    grid-column: span 1;
    max-width: 100%;
    justify-self: stretch;
  }
}

.package-card {
  background: var(--bg-card);
  border: 1.5px solid var(--border-blue);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  position: relative;
}
.package-card:hover {
  transform: translateY(-8px);
  border-color: var(--red-accent);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), var(--shadow-red);
}


.card-img-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 2 / 1;
  overflow: hidden;
  background: #0a0a0a;
}
.card-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: fill;
  transition: filter 0.4s ease;
}
.package-card:hover .card-img-wrapper img {
  filter: brightness(1.08);
}
.card-flight-tag {
  position: absolute;
  bottom: 0.75rem;
  right: 0.75rem;
  background: rgba(6, 11, 25, 0.9);
  backdrop-filter: blur(8px);
  border: 1.5px solid var(--border-blue);
  color: #93c5fd;
  padding: 0.3rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.card-title {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  color: var(--text-primary);
  font-weight: 700;
  margin-bottom: 0.6rem;
  line-height: 1.2;
}

.card-title-main {
  display: block;
  line-height: 1.25;
}

.card-title-sub {
  display: block;
  font-size: 0.82em;
  font-weight: 700;
  color: #2563eb;
  margin-top: 0.25rem;
  letter-spacing: -0.2px;
}

.saver-details-header h2 .card-title-sub {
  color: #93c5fd !important;
  font-size: 0.85em;
}

.card-hotels {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1.25rem;
  font-size: 0.88rem;
  color: var(--text-secondary);
  font-weight: 500;
}
.hotel-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.hotel-item i {
  color: var(--primary-blue);
}

.card-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
  padding: 0.85rem 0;
  border-top: 1px dashed var(--border-blue);
  border-bottom: 1px dashed var(--border-blue);
  margin-bottom: 1.25rem;
  font-size: 0.83rem;
  color: var(--text-secondary);
  font-weight: 500;
}
.feature-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.feature-item i {
  color: var(--primary-red);
}

/* Ringkasan pakej desktop/tablet: tempoh penuh, tiga manfaat seimbang. */
@media (min-width: 768px) {
  .packages-grid .card-features {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: 0.7rem;
    row-gap: 0.7rem;
  }

  .packages-grid .card-features .feature-item:first-child {
    grid-column: 1 / -1;
    min-height: 2rem;
    padding-bottom: 0.65rem;
    border-bottom: 1px dashed var(--border-blue);
  }

  .packages-grid .card-features .feature-item:not(:first-child) {
    min-width: 0;
    align-items: flex-start;
    line-height: 1.25;
  }
}

/* Keistimewaan ringkas untuk memenuhi ruang kad pakej di desktop dan tablet. */
.package-highlights {
  margin: -0.1rem 0 1.3rem;
  padding: 0.7rem;
  border: 1px solid rgba(37, 99, 235, 0.15);
  border-radius: 0.9rem;
  background: linear-gradient(135deg, rgba(239, 246, 255, 0.88), rgba(255, 255, 255, 0.92));
}
.package-highlights-label {
  display: flex;
  align-items: center;
  gap: 0.38rem;
  margin-bottom: 0.5rem;
  color: var(--primary-blue);
  font-size: 0.67rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.package-highlights-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.45rem;
}
.package-highlight {
  min-width: 0;
  min-height: 3.05rem;
  padding: 0.45rem 0.3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  border: 1px solid rgba(37, 99, 235, 0.14);
  border-radius: 0.65rem;
  background: rgba(255, 255, 255, 0.88);
  color: var(--text-primary);
  font-size: 0.64rem;
  font-weight: 800;
  line-height: 1.15;
  text-align: center;
}
.package-highlight i {
  flex: 0 0 auto;
  color: var(--primary-blue);
  font-size: 0.88rem;
}

@media (max-width: 767px) {
  .package-highlights {
    display: none;
  }
}

.card-footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.price-box {
  display: flex;
  flex-direction: column;
}
.price-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 600;
}
.price-val {
  font-family: var(--font-heading);
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1;
  white-space: nowrap;
}

/* ── Qurban & Aqiqah Section ── */
.qurban-section {
  padding: 6rem 0;
  background: linear-gradient(135deg, #ffffff 0%, #f0fdf4 50%, #f8fafc 100%);
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
}
.qurban-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}
.qurban-info-card {
  background: var(--bg-card);
  border: 2px solid #bbf7d0; /* Soft green border */
  border-radius: var(--radius-lg);
  padding: 3rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  position: relative;
}
.qurban-badge {
  align-self: flex-start;
  background: #10b981; /* Green badge */
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 800;
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.qurban-info-card h3 {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  color: var(--blue-dark);
  font-weight: 800;
}
.qurban-features-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}
.qurban-features-list li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.95rem;
  color: var(--text-secondary);
  font-weight: 500;
}
.qurban-features-list li i {
  color: #10b981; /* Green check icon */
}
.qurban-pricing-row {
  display: flex;
  align-items: center;
  background: #f0fdf4;
  border: 1.5px solid #dcfce7;
  padding: 1.25rem 1rem;
  border-radius: var(--radius-md);
  margin: 0.5rem 0;
}
.price-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
}
.price-title {
  font-size: 0.82rem;
  font-weight: 700;
  color: #047857; /* Dark green */
}
.price-amount {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-primary);
  white-space: nowrap;
}
.price-divider {
  width: 1px;
  height: 40px;
  background: #bbf7d0;
}
.qurban-poster-card {
  height: 420px;
  background: linear-gradient(135deg, #0f2b1c 0%, #1e4d34 100%);
  border-radius: var(--radius-lg);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  overflow: hidden;
  box-shadow: 0 25px 50px rgba(15, 43, 28, 0.2);
  border: 3px solid #10b981;
}
.qurban-poster-card::before {
  content: '';
  position: absolute;
  inset: 15px;
  border: 1px dashed rgba(16, 185, 129, 0.4);
  border-radius: var(--radius-md);
}
.qurban-poster-overlay {
  z-index: 2;
  text-align: center;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
.poster-icon {
  font-size: 5rem;
  color: #10b981;
  text-shadow: 0 0 20px rgba(16, 185, 129, 0.3);
}
.qurban-poster-overlay h4 {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  line-height: 1.2;
}
.qurban-poster-overlay p {
  font-size: 1.1rem;
  color: #a7f3d0;
  font-weight: 600;
}
.poster-date {
  background: var(--red-gradient);
  font-size: 0.85rem;
  font-weight: 700;
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-full);
  margin-top: 1rem;
  box-shadow: var(--shadow-red);
}

@media (max-width: 900px) {
  .qurban-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .qurban-poster-card {
    height: auto;
    min-height: 300px;
    padding: 2.5rem 1.5rem;
  }
  .qurban-poster-overlay h4 {
    font-size: 1.8rem;
  }
  .poster-icon {
    font-size: 3.5rem;
  }
}

/* Calculator Section */
.calc-section {
  background: linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-surface) 100%);
  padding: 6rem 0;
  position: relative;
}

/* Video separator is intentionally mobile-only. It is a passive background,
   so it has no player controls and repeats silently. */
.partners-video-interlude {
  display: none;
}

/* Keep the Qurban-to-calculator area visually continuous on tablets and desktops.
   Phone keeps its established standalone Qurban background below. */
@media (min-width: 768px) {
  .qurban-calculator-background {
    background-color: #f8fafc;
    background-image: url('images/mobile_packages_bg.jpg?v=20260805-v2');
    background-position: center top;
    background-repeat: repeat-y;
    background-size: 100% auto;
  }

  .qurban-calculator-background .qurban-section,
  .qurban-calculator-background .calc-section {
    background: transparent;
    border-color: transparent;
  }

  .qurban-calculator-background .qurban-info-card,
  .qurban-calculator-background .calc-form {
    /* A solid translucent surface prevents scrolling content from reflecting through it. */
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}

.calc-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3rem;
  align-items: center;
}

.calc-package-info {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1rem 1.1rem;
  border: 1px solid var(--border-blue);
  border-left: 4px solid var(--primary-red);
  border-radius: var(--radius-sm);
  background: rgba(239, 246, 255, 0.72);
}
.calc-package-info strong {
  color: var(--blue-dark);
  font-size: 1rem;
}
.calc-package-info span {
  color: var(--text-secondary);
  font-size: 0.82rem;
  line-height: 1.45;
}

.calc-form {
  background: var(--bg-card);
  border: 1.5px solid var(--border-blue);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
}

.range-wrap {
  margin-bottom: 1.5rem;
}
.range-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.5rem;
  font-weight: 700;
  font-size: 0.98rem;
  color: var(--text-primary);
}
.range-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 8px;
  background: #cbd5e1;
  border-radius: 4px;
  outline: none;
  cursor: pointer;
  transition: background 0.15s ease;
}

/* Custom Thumb - Webkit (Chrome, Edge, Safari) */
.range-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #ff2020;
  border: 3px solid #ffffff;
  box-shadow: 0 4px 14px rgba(255, 32, 32, 0.45), 0 2px 6px rgba(0, 0, 0, 0.2);
  cursor: grab;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.range-slider::-webkit-slider-thumb:hover {
  transform: scale(1.15);
  box-shadow: 0 6px 18px rgba(255, 32, 32, 0.6);
}
.range-slider::-webkit-slider-thumb:active {
  cursor: grabbing;
  transform: scale(1.25);
  box-shadow: 0 8px 22px rgba(255, 32, 32, 0.7);
}

/* Custom Thumb - Firefox */
.range-slider::-moz-range-thumb {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #ff2020;
  border: 3px solid #ffffff;
  box-shadow: 0 4px 14px rgba(255, 32, 32, 0.45);
  cursor: grab;
  transition: transform 0.15s ease;
}
.range-slider::-moz-range-thumb:active {
  cursor: grabbing;
  transform: scale(1.25);
}

.radio-group-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-top: 0.5rem;
}
.radio-card {
  position: relative;
}
.radio-card input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}
.radio-card label {
  display: block;
  text-align: center;
  padding: 0.8rem;
  background: #f8fafc;
  border: 1.5px solid #cbd5e1;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-secondary);
}
.radio-card input:checked + label {
  border-color: var(--red-accent);
  background: rgba(255, 32, 32, 0.12);
  color: var(--primary-red);
  box-shadow: 0 4px 12px rgba(255, 32, 32, 0.15);
}

.calc-summary {
  background: linear-gradient(135deg, #132042 0%, #1e3a8a 50%, #991b1b 100%);
  border: 1.5px solid var(--border-red);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-red);
}
.calc-summary::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, var(--red-glow) 0%, transparent 70%);
  border-radius: 50%;
}
.calc-summary-price {
  font-family: var(--font-heading);
  font-size: 3.6rem;
  font-weight: 800;
  color: #ffffff;
  margin: 1rem 0;
  line-height: 1;
  text-shadow: 0 4px 18px rgba(0,0,0,0.6);
}

/* Timeline / Itinerary Section */
.itinerary-section {
  padding: 6rem 0;
}

.timeline {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}
.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: var(--border-blue);
  transform: translateX(-50%);
}

.timeline-item {
  display: flex;
  justify-content: flex-end;
  padding-right: 30px;
  position: relative;
  margin-bottom: 2.5rem;
  width: 50%;
}
.timeline-item:nth-child(even) {
  align-self: flex-end;
  justify-content: flex-start;
  padding-right: 0;
  padding-left: 30px;
  margin-left: auto;
}
.timeline-dot {
  position: absolute;
  top: 15px;
  right: -10px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--red-accent);
  border: 4px solid var(--bg-surface);
  box-shadow: var(--shadow-red);
  z-index: 2;
}
.timeline-item:nth-child(even) .timeline-dot {
  right: auto;
  left: -10px;
}
.timeline-content {
  background: var(--bg-card);
  border: 1.5px solid var(--border-blue);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}
.timeline-content:hover {
  border-color: var(--red-accent);
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}
.timeline-day {
  color: var(--primary-blue);
  font-weight: 800;
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.3rem;
}
.timeline-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}
.timeline-content p {
  color: var(--text-secondary);
  font-weight: 500;
}

/* Modals */
html.package-modal-open,
body.package-modal-open {
  overflow: hidden;
  overscroll-behavior: none;
}
.qurban-mobile-poster-carousel {
  display: none;
}

/* Tablet and desktop Qurban posters. Phone keeps its existing carousel below. */
.qurban-desktop-poster-carousel {
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
  position: relative;
}

.qurban-desktop-poster-track {
  display: flex;
  width: 600%;
  height: 100%;
  animation: qurban-desktop-poster-loop 28s linear infinite;
}

.qurban-desktop-poster-slide {
  flex: 0 0 calc(100% / 6);
  width: calc(100% / 6);
  height: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.qurban-desktop-poster-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.qurban-poster-card:has(.qurban-desktop-poster-carousel) {
  display: block;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  overflow: hidden;
  box-shadow: none;
}

.qurban-poster-card:has(.qurban-desktop-poster-carousel)::before {
  display: none;
}

.qurban-poster-card .poster-date {
  position: static;
  z-index: 3;
  display: table;
  margin: 0.85rem auto 0;
  text-align: center;
}

.qurban-desktop-poster-carousel:hover .qurban-desktop-poster-track {
  animation-play-state: paused;
}

@keyframes qurban-desktop-poster-loop {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (min-width: 768px) {
  .qurban-layout {
    align-items: stretch;
  }

  .qurban-info-card,
  .qurban-poster-card:has(.qurban-desktop-poster-carousel) {
    min-height: 0;
  }

  .qurban-poster-card:has(.qurban-desktop-poster-carousel) {
    display: flex;
    flex-direction: column;
    height: auto;
    overflow: hidden;
    padding: 2rem;
    background: rgba(226, 245, 255, 0.94);
    border: 2px solid #bbf7d0;
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 40px rgba(15, 43, 28, 0.08);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .qurban-desktop-poster-carousel {
    flex: 1 1 auto;
    min-height: 0;
    height: auto;
    overflow: hidden;
    background: transparent;
    box-shadow: none;
    position: relative;
    border-radius: 20px;
  }

  .qurban-desktop-poster-slide img {
    object-fit: contain;
    background: transparent;
  }

  /* One complete large poster at a time. */
  .qurban-desktop-poster-track {
    position: relative;
    display: block;
    width: 100%;
    animation: none;
  }

  .qurban-desktop-poster-slide {
    position: absolute;
    inset: 0;
    left: 50%;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateX(-50%);
    transition: opacity 340ms ease;
    z-index: 1;
    pointer-events: none;
  }

  .qurban-desktop-poster-slide.is-active {
    opacity: 1;
    z-index: 2;
    pointer-events: auto;
  }

  .qurban-desktop-poster-slide img {
    width: auto;
    max-width: 100%;
    height: 100%;
    max-height: 100%;
    overflow: hidden;
    border-radius: 20px;
  }

  .qurban-desktop-poster-arrow {
    position: absolute;
    z-index: 5;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 50%;
    background: rgba(9, 18, 43, 0.72);
    color: #ffffff;
    display: grid;
    place-items: center;
    cursor: default;
    font-size: 1rem;
    box-shadow: 0 8px 18px rgba(9, 18, 43, 0.24);
    transition: transform 180ms ease, background 180ms ease;
  }

  .qurban-desktop-poster-arrow:hover {
    background: #ef233c;
    transform: translateY(-50%) scale(1.08);
  }

  .qurban-desktop-poster-prev { left: 0.8rem; }
  .qurban-desktop-poster-next { right: 0.8rem; }

  .qurban-poster-card .poster-date {
    flex: 0 0 auto;
    margin-top: 1.25rem;
  }
}

/* iPad: use the otherwise empty vertical space for a larger readable poster
   when the Qurban layout stacks.  This intentionally excludes phone and
   laptop layouts. */
@media (min-width: 768px) and (max-width: 1024px) and (orientation: portrait) {
  .qurban-poster-card:has(.qurban-desktop-poster-carousel) {
    min-height: 660px;
  }

  .qurban-desktop-poster-carousel {
    flex: 0 0 550px;
    min-height: 550px;
  }

  .qurban-section {
    padding-bottom: 3rem;
  }
}

/* Readable poster preview — enabled only on tablet and desktop. */
.qurban-poster-preview {
  display: none;
}

@media (min-width: 768px) {
  html.qurban-poster-preview-open,
  body.qurban-poster-preview-open {
    overflow: hidden;
  }

  .qurban-desktop-poster-slide {
    cursor: zoom-in;
  }

  .qurban-poster-preview.active {
    position: fixed;
    inset: 0;
    z-index: 100001;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.25rem;
    background: rgba(9, 18, 43, 0.82);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
  }

  .qurban-poster-preview-dialog {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: min(96vw, 900px);
    max-height: 92vh;
  }

  .qurban-poster-preview-dialog img {
    display: block;
    max-width: 100%;
    max-height: 92vh;
    width: auto;
    height: auto;
    border-radius: var(--radius-md);
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.45);
  }

  .qurban-poster-preview-close {
    position: absolute;
    top: -0.55rem;
    right: -0.55rem;
    width: 2.8rem;
    height: 2.8rem;
    border: 0;
    border-radius: 999px;
    background: var(--red-gradient);
    color: #fff;
    font-size: 1.15rem;
    cursor: pointer;
    box-shadow: var(--shadow-red);
  }
}

#packageModal {
  overscroll-behavior: contain;
}

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(10px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
}
.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}
.modal-card {
  background: var(--bg-card);
  border: 1.5px solid var(--border-red);
  border-radius: var(--radius-lg);
  max-width: 650px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 2.25rem;
  position: relative;
  transform: translateY(20px);
  transition: var(--transition);
  box-shadow: 0 25px 50px rgba(0,0,0,0.15);
}
.modal-overlay.active .modal-card {
  transform: translateY(0);
}
.modal-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: transparent;
  border: none;
  color: var(--text-primary);
  font-size: 1.75rem;
  cursor: pointer;
  transition: var(--transition);
}
.modal-close:hover {
  color: var(--red-accent);
}

.card-img-wrapper.khas-promo > img:not(.khas-promo-logo) {
  object-fit: cover;
  object-position: center;
  filter: brightness(0.52) saturate(0.85);
}
.card-img-wrapper.khas-promo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(5, 18, 45, 0.95) 0%, rgba(5, 18, 45, 0.7) 46%, rgba(5, 18, 45, 0.12) 100%);
  pointer-events: none;
}
.khas-promo-content {
  position: absolute;
  z-index: 1;
  inset: 1rem auto 1rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  color: #ffffff;
}
.khas-promo-logo {
  width: min(42%, 140px) !important;
  height: auto !important;
  object-fit: contain !important;
  background: rgba(255, 255, 255, 0.96);
  border-radius: 0.45rem;
  padding: 0.3rem 0.5rem;
  margin-bottom: 0.5rem;
}
.khas-promo-eyebrow {
  color: #fbbf24;
  font-size: clamp(0.55rem, 1.5vw, 0.78rem);
  font-weight: 800;
  letter-spacing: 0.1em;
}
.khas-promo-title {
  font-size: clamp(1.45rem, 5.2vw, 3.4rem);
  line-height: 0.86;
  letter-spacing: 0.03em;
  text-shadow: 0 3px 12px rgba(0, 0, 0, 0.45);
}
.khas-promo-price {
  color: #fcd34d;
  font-family: var(--font-heading);
  font-size: clamp(0.8rem, 2.2vw, 1.25rem);
  font-weight: 800;
  margin-top: 0.55rem;
}

/* Pakej Saver details modal */
.saver-details-modal .modal-card {
  max-width: 850px;
  padding: 0;
  overflow-x: hidden;
  background: #ffffff;
  border-color: #dbeafe;
}

.saver-details-modal .modal-close {
  z-index: 2;
  color: #ffffff;
}

.saver-details-modal .modal-close:hover {
  color: #fef08a;
}

.saver-details {
  color: #0f172a;
}

.saver-details-header {
  padding: 2.1rem 4.5rem 2.1rem 2.25rem;
  color: #ffffff;
  background: linear-gradient(120deg, #1d4ed8 0%, #2563eb 55%, #dc2626 100%);
}

.saver-details-eyebrow,
.saver-section-heading > div > span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.85px;
  text-transform: uppercase;
}

.saver-details-eyebrow {
  padding: 0.33rem 0.7rem;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.16);
}

.saver-details-header h2 {
  margin: 0.7rem 0 0.2rem;
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-weight: 900;
  line-height: 1.15;
}

.saver-details-header p {
  margin: 0;
  color: #dbeafe;
  font-size: 0.95rem;
  font-weight: 600;
}

.saver-details-body {
  padding: 1.5rem 2.25rem 2.1rem;
}

.saver-pricing,
.saver-info {
  border: 1px solid #dbeafe;
  border-radius: 1rem;
  background: #ffffff;
  overflow: hidden;
}

.saver-pricing {
  margin-bottom: 1.35rem;
}

/* Ramadan package pricing: compare two hotel tiers without a long list of cards. */
.ramadan-pricing-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem;
  padding: 1rem 1rem 0;
}

.ramadan-price-tab {
  border: 1px solid #bfdbfe;
  border-radius: 0.7rem;
  background: #ffffff;
  color: #1e3a8a;
  padding: 0.72rem 0.55rem;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 800;
  cursor: pointer;
  transition: 0.2s ease;
}

.ramadan-price-tab:hover,
.ramadan-price-tab.active {
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  border-color: #2563eb;
  color: #ffffff;
  box-shadow: 0 8px 18px rgba(37, 99, 235, 0.2);
}

.ramadan-price-panel {
  padding: 0.9rem 1rem 0;
}

.ramadan-price-table-wrap {
  overflow: hidden;
  border: 1px solid #dbeafe;
  border-radius: 0.8rem;
}

.ramadan-price-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  color: #0f172a;
}

.ramadan-price-table th,
.ramadan-price-table td {
  padding: 0.78rem 0.6rem;
  border-bottom: 1px dashed #bfdbfe;
  text-align: center;
  font-size: 0.84rem;
}

.ramadan-price-table thead th {
  background: #eff6ff;
  color: #1d4ed8;
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
}

.ramadan-price-table th:first-child {
  width: 32%;
  text-align: left;
}

.ramadan-price-table tbody th {
  color: #1e3a8a;
  font-weight: 800;
}

.ramadan-price-table tbody td {
  color: #ef1f2f;
  font-weight: 800;
  white-space: nowrap;
}

.ramadan-price-table tbody tr:last-child th,
.ramadan-price-table tbody tr:last-child td {
  border-bottom: 0;
}

.ramadan-price-note {
  margin: 0.75rem 1rem 1rem;
  color: #64748b;
  font-size: 0.76rem;
  line-height: 1.45;
}

.ramadan-price-note i {
  color: #2563eb;
  margin-right: 0.25rem;
}

.ramadan-booking-options {
  margin: 1.1rem 0 1.35rem;
  padding: 1rem;
  border: 1px solid #bfdbfe;
  border-radius: 1rem;
  background: linear-gradient(135deg, #eff6ff, #f8fafc);
}

.ramadan-booking-options-heading {
  color: #1d4ed8;
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.ramadan-booking-options-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 0.75rem;
}

.ramadan-booking-options label {
  display: grid;
  gap: 0.35rem;
  color: #1e3a8a;
  font-size: 0.74rem;
  font-weight: 800;
}

.ramadan-booking-options select {
  width: 100%;
  border: 1px solid #bfdbfe;
  border-radius: 0.6rem;
  background: #ffffff;
  color: #0f172a;
  padding: 0.7rem;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 700;
}

.ramadan-madinah-card {
  display: flex;
  align-items: flex-start;
  gap: 0.72rem;
  margin-top: 0.85rem;
  padding: 0.8rem 0.9rem;
  border: 1px solid #c7dcff;
  border-radius: 0.8rem;
  background: #ffffff;
}

.ramadan-madinah-icon {
  display: inline-flex;
  width: 2rem;
  height: 2rem;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  border-radius: 0.6rem;
  background: #eaf3ff;
  color: #2563eb;
  font-size: 0.82rem;
}

.ramadan-madinah-card > div { min-width: 0; }
.ramadan-madinah-card strong,
.ramadan-madinah-card small,
.ramadan-madinah-card em { display: block; }

.ramadan-madinah-label {
  color: #2563eb;
  font-size: 0.66rem;
  font-weight: 900;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.ramadan-madinah-card strong {
  margin-top: 0.15rem;
  color: #10254e;
  font-size: 0.82rem;
  font-weight: 900;
  line-height: 1.35;
}

.ramadan-madinah-card small {
  margin-top: 0.16rem;
  color: #526985;
  font-size: 0.74rem;
  font-weight: 700;
  line-height: 1.4;
}

.ramadan-madinah-card em {
  margin-top: 0.28rem;
  color: #71829d;
  font-size: 0.67rem;
  font-style: normal;
  line-height: 1.35;
}

@media (max-width: 576px) {
  .ramadan-pricing-tabs {
    gap: 0.4rem;
    padding: 0.75rem 0.75rem 0;
  }

  .ramadan-price-tab {
    padding: 0.62rem 0.35rem;
    font-size: 0.72rem;
  }

  .ramadan-price-panel {
    padding: 0.7rem 0.75rem 0;
  }

  .ramadan-price-table th,
  .ramadan-price-table td {
    padding: 0.63rem 0.25rem;
    font-size: 0.68rem;
  }

  .ramadan-price-table thead th {
    font-size: 0.61rem;
  }

  .ramadan-price-table th:first-child {
    width: 31%;
  }

  .ramadan-price-note {
    margin: 0.65rem 0.75rem 0.85rem;
    font-size: 0.7rem;
  }

  .ramadan-booking-options-grid {
    grid-template-columns: 1fr;
  }
}

.saver-section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.15rem;
  border-bottom: 1px solid #dbeafe;
  background: #f8fbff;
}

.saver-section-heading > div > span {
  color: #2563eb;
}

.saver-section-heading h3 {
  margin: 0.1rem 0 0;
  color: #0f172a;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 800;
}

.saver-section-heading > i {
  color: #2563eb;
  font-size: 1.25rem;
}

.saver-room-grid {
  display: flex !important;
  flex-direction: column !important;
  gap: 0.75rem !important;
  padding: 1rem !important;
  box-sizing: border-box !important;
}

.saver-room-card {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 0.95rem 1.15rem !important;
  background: linear-gradient(145deg, #ffffff, #eff6ff) !important;
  border: 1.5px solid #dbeafe !important;
  border-radius: 14px !important;
  box-sizing: border-box !important;
  width: 100% !important;
}

.saver-room-left {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  gap: 0.25rem !important;
  min-width: 0 !important;
}

.saver-room-name {
  color: #0f172a !important;
  font-size: 1.02rem !important;
  font-weight: 800 !important;
  text-transform: uppercase !important;
}

.saver-room-note {
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.35rem !important;
  background: #eff6ff !important;
  color: #2563eb !important;
  border: 1px solid #dbeafe !important;
  padding: 0.2rem 0.65rem !important;
  border-radius: 50px !important;
  font-size: 0.75rem !important;
  font-weight: 800 !important;
  text-transform: uppercase !important;
  font-style: normal !important;
}

.saver-room-price {
  color: #dc2626 !important;
  font-family: var(--font-heading) !important;
  font-size: 1.25rem !important;
  font-weight: 900 !important;
  white-space: nowrap !important;
  text-align: right !important;
}

.saver-room-price-list {
  display: grid;
  gap: 0.45rem;
}

.saver-room-price-list > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.4rem;
}

.saver-room-price-list span {
  color: #64748b;
  font-size: 0.68rem;
  line-height: 1.25;
  text-align: left;
}

.saver-room-price-list small {
  display: block;
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: none;
}

.saver-room-price-list strong {
  color: #0f172a;
  font-size: 0.82rem;
  white-space: nowrap;
}

.saver-room-price-list > div:first-child strong {
  color: #dc2626;
}

.saver-detail-list {
  margin: 0;
}

.saver-detail-row {
  display: grid;
  grid-template-columns: minmax(165px, 0.85fr) minmax(0, 1.65fr);
  border-bottom: 1px solid #e2e8f0;
}

.saver-detail-row:last-child {
  border-bottom: 0;
}

.saver-detail-row dt,
.saver-detail-row dd {
  margin: 0;
  padding: 0.72rem 1rem;
  font-size: 0.83rem;
  line-height: 1.45;
}

.saver-detail-row dt {
  color: #334155;
  font-weight: 800;
  background: #f8fafc;
}

.saver-detail-row dd {
  color: #0f172a;
  font-weight: 600;
}

.saver-details-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid #dbeafe;
}

.saver-details-footer > div {
  display: flex;
  flex-direction: column;
}

.saver-details-footer span {
  color: #64748b;
  font-size: 0.78rem;
  font-weight: 700;
}

.saver-details-footer strong {
  color: #dc2626;
  font-family: var(--font-heading);
  font-size: 1.7rem;
  font-weight: 900;
  line-height: 1.2;
}

@media (max-width: 640px) {
  .modal-overlay {
    padding: 0.75rem;
  }

  .saver-details-header {
    padding: 1.65rem 3.2rem 1.65rem 1.25rem;
  }

  .saver-details-body {
    padding: 1rem 1.05rem 1.35rem;
  }

  .saver-room-grid {
    grid-template-columns: 1fr;
    gap: 0.55rem;
  }

  .saver-room-card {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .saver-detail-row {
    grid-template-columns: 1fr;
  }

  .saver-detail-row dt,
  .saver-detail-row dd {
    padding: 0.6rem 0.8rem;
  }

  .saver-detail-row dt {
    padding-bottom: 0.15rem;
    background: #f8fafc;
  }

  .saver-detail-row dd {
    padding-top: 0.15rem;
  }

  .saver-details-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .saver-details-footer .btn {
    width: 100%;
  }
}

/* WhatsApp Floating CTA */
.wa-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: #25d366;
  color: #fff;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.45);
  z-index: 999;
  text-decoration: none;
  transition: var(--transition);
}
.wa-float:hover {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 14px 35px rgba(37, 211, 102, 0.65);
}

/* Responsive Styles & Prevent Horizontal Overflow */
html, body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden !important;
}

@media (max-width: 992px) {
  .hero-section {
    padding: 5rem 0 7rem 0;
  }
  .hero-title {
    font-size: 2.8rem;
  }
  .search-grid {
    grid-template-columns: 1fr;
  }
  .calc-grid {
    grid-template-columns: 1fr;
  }
  .timeline::before {
    left: 20px;
  }
  .timeline-item, .timeline-item:nth-child(even) {
    width: 100%;
    padding-left: 50px;
    padding-right: 0;
    justify-content: flex-start;
  }
  .timeline-dot, .timeline-item:nth-child(even) .timeline-dot {
    left: 10px;
    right: auto;
  }
  /* Stats Banner Responsive Fixes (Prevents Background overlap & card squeeze) */
  .stats-bg-icon {
    display: none !important; /* Hide background person to keep design clean on mobile */
  }
  .stats-hero-number {
    font-size: 3.5rem;
  }
  .stats-hero-label {
    font-size: 1rem;
  }
  .stats-sub-grid {
    grid-template-columns: 1fr; /* Stack cards vertically on tablets & mobiles */
    gap: 1.25rem;
    max-width: 480px;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .top-bar {
    display: none !important;
  }
  .container {
    padding: 0 1.25rem;
  }
  .navbar {
    padding: 0.85rem 0;
  }
  .brand-logo-img {
    height: 72px;
    max-width: 280px;
  }
  .nav-actions {
    gap: 0.75rem;
  }
  .nav-actions .btn {
    padding: 0.65rem 1.1rem;
    font-size: 0.85rem;
    font-weight: 700;
  }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #ffffff;
    flex-direction: column;
    padding: 1.5rem;
    border-bottom: 1px solid #e2e8f0;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
  }
  .nav-links.active {
    display: flex;
  }
  .mobile-menu-btn {
    display: block;
    font-size: 1.85rem;
  }
  .hero-title {
    font-size: 2.2rem;
    line-height: 1.25;
    word-break: break-word;
    overflow-wrap: break-word;
  }
  .hero-arabic {
    font-size: 2.1rem;
  }
  .section-title {
    font-size: 2.3rem;
  }
  .top-info {
    font-size: 0.75rem;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
  }
  .search-card, .calc-form, .calc-summary, .modal-card {
    padding: 1.5rem;
  }
  .calc-summary-price {
    font-size: 2.9rem;
  }
  .stats-grid {
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 1.25rem;
  }
  .stat-number {
    font-size: 2.2rem;
  }
}

@media (max-width: 576px) {
  .container {
    padding: 0 1rem;
  }
  .navbar {
    padding: 0.8rem 0;
  }
  .brand-logo-img {
    height: 62px;
    max-width: 220px;
  }
  .nav-actions {
    gap: 0.5rem;
  }
  .nav-actions .btn {
    padding: 0.55rem 0.9rem;
    font-size: 0.82rem;
    font-weight: 700;
  }
  .mobile-menu-btn {
    font-size: 1.75rem;
  }
  .btn {
    padding: 0.65rem 1.15rem;
    font-size: 0.85rem;
  }
  .badge-license {
    font-size: 0.78rem;
    padding: 0.4rem 0.9rem;
  }
  .hero-title {
    font-size: 1.8rem;
  }
  .hero-arabic {
    font-size: 1.7rem;
  }
  .hero-subtitle {
    font-size: 1rem;
  }
  .section-title {
    font-size: 1.85rem;
  }
  /* Keep package types inside the search card on phone screens. */
  .search-card {
    padding: 1rem;
  }
  .radio-group-grid {
    grid-template-columns: 1fr;
  }
  .card-features {
    grid-template-columns: 1fr;
  }
  .card-body {
    padding: 1.25rem;
  }
  .card-title {
    font-size: 1.45rem;
  }
  .price-val {
    font-size: 1.6rem;
  }
  .wa-float {
    width: 48px;
    height: 48px;
    font-size: 1.5rem;
    bottom: 1.25rem;
    right: 1.25rem;
  }
  .modal-card {
    padding: 1.25rem;
  }
}

@media (max-width: 768px) {
  .top-bar {
    display: none !important;
  }
  .container {
    padding: 0 1.25rem;
  }
  .navbar {
    padding: 0.85rem 0;
  }
  .brand-logo-img {
    height: 72px;
    max-width: 280px;
  }
  .nav-actions {
    gap: 0.75rem;
  }
  .nav-actions .btn {
    padding: 0.65rem 1.1rem;
    font-size: 0.85rem;
    font-weight: 700;
  }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #ffffff;
    flex-direction: column;
    padding: 1.5rem;
    border-bottom: 1px solid #e2e8f0;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
  }
  .nav-links.active {
    display: flex;
  }
  .mobile-menu-btn {
    display: block;
    font-size: 1.85rem;
  }
  .hero-title {
    font-size: 2.2rem;
    line-height: 1.25;
    word-break: break-word;
    overflow-wrap: break-word;
  }
  .hero-arabic {
    font-size: 2.1rem;
  }
  .section-title {
    font-size: 2.3rem;
  }
  .top-info {
    font-size: 0.75rem;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
  }
  .search-card, .calc-form, .calc-summary, .modal-card {
    padding: 1.5rem;
  }
  .calc-summary-price {
    font-size: 2.9rem;
  }
  .stats-grid {
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 1.25rem;
  }
  .stat-number {
    font-size: 2.2rem;
  }
}

@media (max-width: 576px) {
  .container {
    padding: 0 0.75rem;
  }
  .navbar {
    padding: 0.6rem 0.35rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap;
    gap: 0.35rem;
    width: 100%;
    box-sizing: border-box;
  }
  .brand-logo {
    min-width: 0;
    flex-shrink: 1;
  }
  .brand-logo-img {
    height: 48px !important;
    max-width: 155px !important;
    object-fit: contain;
  }
  .nav-actions {
    gap: 0.35rem;
    flex-shrink: 0;
  }
  .nav-actions .btn {
    padding: 0.45rem 0.7rem;
    font-size: 0.75rem;
    font-weight: 700;
    white-space: nowrap;
  }
  .mobile-menu-btn {
    font-size: 1.55rem !important;
    min-width: 42px !important;
    min-height: 42px !important;
    padding: 0.35rem !important;
    margin-left: 0.2rem !important;
    margin-right: 0.35rem !important;
    flex-shrink: 0 !important;
  }
  .btn {
    padding: 0.65rem 1.15rem;
    font-size: 0.85rem;
  }
  .badge-license {
    font-size: 0.78rem;
    padding: 0.4rem 0.9rem;
  }
  .hero-title {
    font-size: 1.8rem;
  }
  .hero-arabic {
    font-size: 1.7rem;
  }
  .hero-subtitle {
    font-size: 1rem;
  }
  .section-title {
    font-size: 1.85rem;
  }
  /* Keep package types inside the search card on phone screens. */
  .search-card {
    padding: 1rem;
  }
  .radio-group-grid {
    grid-template-columns: 1fr;
  }
  .card-features {
    grid-template-columns: 1fr;
  }
  .card-body {
    padding: 1.25rem;
  }
  .card-title {
    font-size: 1.45rem;
  }
  .price-val {
    font-size: 1.6rem;
  }
  .wa-float {
    width: 48px;
    height: 48px;
    font-size: 1.5rem;
    bottom: 1.25rem;
    right: 1.25rem;
  }
  .modal-card {
    padding: 1.25rem;
  }
}

/* Keep the decorative pattern scoped to the Qurban-to-calculator journey on
   phones.  Package discovery keeps a neutral surface, so the pattern does not
   appear to jump backwards into the Umrah package area while scrolling. */
@media (max-width: 767px) {
  .packages-section,
  .mobile-packages-body {
    background-color: #ffffff !important;
    background-image: none !important;
  }

  .qurban-calculator-background {
    background-color: #f8fafc;
    background-image: url('images/mobile_packages_bg.jpg?v=20260805-v2');
    background-position: center top;
    background-repeat: repeat-y;
    background-size: 100% auto;
  }

  .qurban-calculator-background .qurban-section,
  .qurban-calculator-background .calc-section {
    background: transparent !important;
    border-color: transparent !important;
  }
}

/* Payment Modal Slide-In Animation */
@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: translateY(30px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Hero Above-the-fold Promo Wrapper */
.hero-promo-wrapper {
  position: relative;
  z-index: 5;
  min-height: calc(100vh - 150px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.75rem 0 2rem 0; /* Clean, static gap below unified header unit */
  box-sizing: border-box;
  scroll-margin-top: 140px;
}

/* Promo Billboard Banner Carousel */
.promo-carousel {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  border: 2.5px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6);
  background: transparent;
  width: 100%;
  aspect-ratio: 1280 / 683;
  /* Explicit height keeps Safari on iPad/iPhone from collapsing the carousel. */
  height: min(640px, 53.36vw, calc(100vh - 210px));
  min-height: 180px;
  max-height: calc(100vh - 210px); /* Strictly fits inside viewport with 40px top/bottom space */
  margin: 0;
  z-index: 10;
}
.promo-carousel-mobile {
  display: none;
}
.promo-slides {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.promo-slide {
  min-width: 100%;
  height: 100%;
  position: relative;
  background: transparent;
}
.promo-slide img {
  width: 100%;
  height: 100%;
  object-fit: fill; /* Fits the image edge-to-edge inside the borders with no black bars */
  background: transparent;
}
.promo-dots {
  position: absolute;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.6rem;
  z-index: 12;
}
.promo-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}
.promo-dot.active {
  background: #ff2020 !important;
  transform: scale(1.25);
  box-shadow: 0 0 10px rgba(255, 32, 32, 0.6);
}

/* Promo Arrow Navigation Buttons */
.promo-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 15;
  background: rgba(0, 0, 0, 0.45);
  color: #ffffff;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.25s ease;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.promo-arrow:hover {
  background: rgba(220, 38, 38, 0.8);
  border-color: #ff2020;
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 0 14px rgba(255, 32, 32, 0.5);
}
.promo-arrow-left  { left:  1rem; }
.promo-arrow-right { right: 1rem; }

@media (max-width: 480px) {
  .promo-arrow { width: 34px; height: 34px; font-size: 0.8rem; }
  .promo-arrow-left  { left:  0.5rem; }
  .promo-arrow-right { right: 0.5rem; }
}


@media (max-width: 768px) {
  .hero-promo-wrapper {
    /* On phones/tablets the promo should follow the banner's own height.
       A viewport-height wrapper leaves an unattractive empty area above and
       below the slide. */
    min-height: 0;
    padding: 0.9rem 0 1.1rem;
  }
  .promo-carousel {
    height: min(640px, 53.36vw, calc(100vh - 120px));
    max-height: calc(100vh - 120px);
  }
}
@media (max-width: 480px) {
  .promo-carousel {
    min-height: 170px;
    border-radius: var(--radius-sm);
  }
  .promo-dots {
    bottom: 0.75rem;
  }
  .promo-dot {
    width: 8px;
    height: 8px;
  }
}

/* Agen Pelancongan Search Section — 100% Clean Viewport Fit (No Ad Peeking) */
#agen-pelancongan {
  position: relative;
  z-index: 5;
  min-height: calc(100vh - 110px);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  padding: 1.5rem 0 3rem 0;
  scroll-margin-top: 110px;
  box-sizing: border-box;
}

#agen-pelancongan .hero-content {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

#agen-pelancongan .badge-license {
  margin-bottom: 0.35rem;
}

#agen-pelancongan .hero-arabic {
  font-size: 1.75rem;
  margin: 0.15rem 0;
}

#agen-pelancongan .hero-title {
  font-size: 2rem;
  line-height: 1.2;
  margin-bottom: 0.85rem;
}

#agen-pelancongan .search-card {
  margin-top: 0.2rem;
  margin-bottom: 0;
}

@media (max-width: 768px) {
  #agen-pelancongan {
    min-height: calc(100vh - 110px);
    scroll-margin-top: 110px;
    padding: 0.75rem 0 2rem 0;
  }
  #agen-pelancongan .hero-title {
    font-size: 1.55rem;
    margin-bottom: 0.6rem;
  }
  #agen-pelancongan .hero-arabic {
    font-size: 1.35rem;
  }
}

/* Subpage Destinations Header Styling — 100% Bright, Crisp & Crystal Clear */
.dest-header {
  position: relative;
  color: #ffffff;
  padding: 5rem 1.25rem 4.5rem;
  text-align: center;
  overflow: hidden;
  background: linear-gradient(135deg, #09122b 0%, #1e3a8a 50%, #ff2020 100%);
  border-bottom: 4px solid var(--primary-red);
}

.dest-header-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(1.15) contrast(1.20) saturate(1.15); /* 100% Sunny, Bright, HD Sharp */
  z-index: 1;
}

.dest-header-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05) 0%, rgba(9, 18, 43, 0.15) 50%, rgba(9, 18, 43, 0.35) 100%),
              radial-gradient(circle at 50% 50%, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.35) 100%);
  pointer-events: none;
}

.dest-header-content {
  position: relative;
  z-index: 10;
  max-width: 850px;
  margin: 0 auto;
  padding: 2.25rem 2rem;
  background: rgba(9, 18, 43, 0.28); /* Super light 28% tint for maximum brightness */
  backdrop-filter: blur(2px); /* Crisp view-through, zero heavy blur */
  -webkit-backdrop-filter: blur(2px);
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  border-radius: var(--radius-lg);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
}

.dest-header-content h1 {
  font-size: 2.7rem;
  font-weight: 800;
  margin-bottom: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #ffffff;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.9);
}

.dest-header-content p {
  font-size: 1.08rem;
  color: #e2e8f0;
  max-width: 720px;
  margin: 0 auto 1.25rem;
  line-height: 1.6;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.8);
}

.dest-price-tag {
  display: inline-block;
  background: rgba(255, 32, 32, 0.15);
  border: 1.5px solid rgba(255, 32, 32, 0.4);
  padding: 0.5rem 1.4rem;
  border-radius: var(--radius-full);
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1.25rem;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
}

.dest-price-val {
  color: #ff2020;
  font-size: 1.65rem;
  font-weight: 800;
  font-family: var(--font-heading);
  margin: 0 0.25rem;
  text-shadow: 0 0 12px rgba(255, 32, 32, 0.6);
}

.btn-lihat-tarikh {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: linear-gradient(135deg, #ff2020 0%, #dc2626 100%);
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 800;
  padding: 0.85rem 2.2rem;
  border-radius: var(--radius-full);
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(255, 32, 32, 0.45);
  transition: var(--transition);
}

.btn-lihat-tarikh:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 12px 30px rgba(255, 32, 32, 0.65);
  color: #ffffff;
}

@media (max-width: 768px) {
  .dest-header {
    padding: 3.5rem 1rem 3rem;
  }
  .dest-header-content {
    padding: 1.5rem 1.15rem;
    border-radius: var(--radius-md);
  }
  .dest-header-content h1 {
    font-size: 1.85rem;
  }
  .dest-header-content p {
    font-size: 0.95rem;
  }
  .dest-price-tag {
    font-size: 0.9rem;
    padding: 0.4rem 1rem;
  }
  .dest-price-val {
    font-size: 1.35rem;
  }
  .btn-lihat-tarikh {
    padding: 0.75rem 1.5rem;
    font-size: 0.95rem;
  }
}

/* Image 1 Composite Banner Styling for Package Umrah Subpages - Smooth Blend & No Border */
.dest-header-composite {
  position: relative;
  min-height: 380px;
  background: #ffffff;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 1rem;
  border: none !important;
  border-bottom: none !important;
}

.composite-center-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, #ffffff 0%, #fffbe6 60%, #ffffff 100%);
  z-index: 1;
}

.composite-pattern {
  position: absolute;
  inset: 0;
  background-image: url('images/madinah_bright.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.18;
  filter: contrast(1.1) saturate(1.1);
  z-index: 2;
  mix-blend-mode: multiply;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 70%, rgba(0,0,0,0) 100%);
  -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 70%, rgba(0,0,0,0) 100%);
}

.composite-photo-left {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 35%;
  height: 100%;
  object-fit: cover;
  z-index: 3;
  mask-image: linear-gradient(to right, rgba(0,0,0,0.9) 30%, rgba(0,0,0,0) 100%);
  -webkit-mask-image: linear-gradient(to right, rgba(0,0,0,0.9) 30%, rgba(0,0,0,0) 100%);
  filter: brightness(1.05) contrast(1.1);
}

.composite-photo-right {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 35%;
  height: 100%;
  object-fit: cover;
  z-index: 3;
  mask-image: linear-gradient(to left, rgba(0,0,0,0.9) 30%, rgba(0,0,0,0) 100%);
  -webkit-mask-image: linear-gradient(to left, rgba(0,0,0,0.9) 30%, rgba(0,0,0,0) 100%);
  filter: brightness(1.05) contrast(1.1);
}

.composite-content {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
}

.composite-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 3.2rem;
  font-weight: 900;
  color: #0f172a; /* Deep bold black */
  text-transform: uppercase;
  letter-spacing: 2px;
  line-height: 1.15;
  margin-bottom: 0.75rem;
  text-shadow: 0 2px 4px rgba(255, 255, 255, 0.8);
}

.composite-price {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.75rem;
  font-weight: 800;
  color: #0f172a;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1.75rem;
}

.composite-price span {
  color: #0f172a;
  font-weight: 900;
}

.btn-composite-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, #ff2a2a 0%, #2563eb 100%);
  color: #ffffff;
  font-size: 0.88rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 0.65rem 1.75rem;
  border-radius: 9999px;
  text-decoration: none;
  box-shadow: 0 8px 22px rgba(37, 99, 235, 0.35);
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.btn-composite-action:hover {
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 12px 28px rgba(37, 99, 235, 0.55);
  color: #ffffff;
}

@media (max-width: 992px) {
  .composite-photo-left, .composite-photo-right {
    width: 25%;
    opacity: 0.6;
  }
}

@media (max-width: 768px) {
  .dest-header-composite {
    padding: 3rem 1rem;
    min-height: 300px;
  }
  .composite-photo-left {
    width: 22%;
    mask-image: linear-gradient(to right, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 100%);
    -webkit-mask-image: linear-gradient(to right, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 100%);
  }
  .composite-photo-right {
    width: 22%;
    mask-image: linear-gradient(to left, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 100%);
    -webkit-mask-image: linear-gradient(to left, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 100%);
  }
  .composite-title {
    font-size: 2.1rem;
  }
  .composite-price {
    font-size: 1.3rem;
    margin-bottom: 1.25rem;
  }
  .btn-composite-action {
    padding: 0.55rem 1.35rem;
    font-size: 0.78rem;
  }
}

/* Package Highlights 3-Grid Section */
.package-highlights-section {
  padding: 3rem 0 1.5rem;
  background: #f8fafc;
}

.package-highlights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.highlight-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1.5px solid #e2e8f0;
  border-top: 4px solid #c0262d;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.highlight-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 38px rgba(192, 38, 45, 0.15);
  border-color: #c0262d;
}

.highlight-img-wrap {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.highlight-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.highlight-card:hover .highlight-img {
  transform: scale(1.08);
}

.highlight-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: #1e3a8a;
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 4px 10px rgba(30, 58, 138, 0.3);
}

.highlight-badge i {
  color: #fbbf24;
}

.highlight-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.highlight-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--blue-dark);
  margin-bottom: 0.6rem;
}

.highlight-desc {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.highlight-meta {
  margin-top: auto;
  padding-top: 0.85rem;
  border-top: 1px solid #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary-blue);
}

@media (max-width: 992px) {
  .package-highlights-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .package-highlights-grid {
    grid-template-columns: 1fr;
  }
}

/* Flight Dates Schedule Table Section (Matching Reference Screenshot) */
.package-dates-section {
  padding: 3.5rem 0 5rem;
  background: #ffffff;
}

.dates-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.75rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.dates-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 2.2rem;
  font-weight: 900;
  color: #0f172a;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 0;
}

.dates-view-toggle {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.view-btn {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  border: 1px solid #cbd5e1;
  background: #f8fafc;
  color: var(--blue-dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 1rem;
}

.view-btn.active {
  background: linear-gradient(135deg, #ff2a2a 0%, #2563eb 100%);
  color: #ffffff;
  border-color: #ff2a2a;
}

/* Schedule Table Container */
.dates-table-wrapper {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1.5px solid #e2e8f0;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.04);
}

.dates-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

/* Smooth, Seamless & Centered Premium Modern Table Header */
.dates-table thead {
  background: linear-gradient(90deg, #dc2626 0%, #2563eb 100%) !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.dates-table th {
  background: transparent !important;
  border: none !important;
  color: #ffffff !important;
  font-family: 'Plus Jakarta Sans', 'Outfit', sans-serif !important;
  font-weight: 800 !important;
  font-size: 0.95rem !important;
  padding: 1.25rem 1rem !important;
  text-transform: uppercase !important;
  letter-spacing: 1px !important;
  text-align: center !important;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  vertical-align: middle !important;
}

/* Month Collapsible Header Row (Bright Ice Blue & Electric Blue) */
.month-row-header {
  background: #e0f2fe;
  border-bottom: 1.5px solid #bae6fd;
}

.month-title-cell {
  padding: 1rem 1.5rem;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 900;
  font-size: 1.1rem;
  color: #1d4ed8;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.month-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.month-flex i {
  color: #ff2a2a;
  font-size: 1.1rem;
}

/* Flight Data Row */
.flight-row {
  border-bottom: 1px solid #f1f5f9;
  transition: background 0.2s ease;
}

.flight-row:hover {
  background: #f8fafc;
}

.flight-row td {
  padding: 1.25rem 1rem;
  vertical-align: middle;
  font-size: 0.95rem;
  color: #1e293b;
  text-align: center !important;
}

.td-date {
  font-weight: 800;
  color: #0f172a;
  white-space: nowrap;
}

.td-sector {
  font-weight: 700;
  color: #475569;
  font-size: 0.88rem;
  letter-spacing: 0.5px;
}

.dates-table th:nth-child(3) {
  text-align: center;
}

.td-airline {
  text-align: center !important;
  vertical-align: middle !important;
}

.airline-badge {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  margin: 0 auto !important;
}

.airline-logo-img {
  height: 85px;
  max-width: 240px;
  object-fit: contain;
  display: inline-block;
  vertical-align: middle;
  transition: transform 0.3s ease;
}

/* Logo Oman Air adalah aset hampir persegi; saiz terkawal supaya baris jadual kekal seimbang. */
.airline-logo-oman {
  width: 72px;
  height: 72px;
}

/* Extra large size specifically for Malaysia Airlines logo */
.airline-logo-mas {
  height: 110px !important;
  max-width: 290px !important;
  display: inline-block !important;
  vertical-align: middle !important;
  margin: 0 auto !important;
}

/* Extra large size specifically for Qatar Airways logo */
.airline-logo-qatar {
  height: 75px !important;
  max-width: 215px !important;
  display: inline-block !important;
  vertical-align: middle !important;
  margin: 0 auto !important;
}

/* Slightly smaller size specifically for Saudi Airlines logo */
.airline-logo-saudi {
  height: 65px !important;
  max-width: 190px !important;
  display: inline-block !important;
  vertical-align: middle !important;
  margin: 0 auto !important;
}

/* Extra large size specifically for Etihad Airways logo */
.airline-logo-etihad {
  height: 75px !important;
  max-width: 220px !important;
  display: inline-block !important;
  vertical-align: middle !important;
  margin: 0 auto !important;
}

.airline-logo-img:hover {
  transform: scale(1.08);
}

.td-days {
  text-align: center;
}

.days-main {
  font-weight: 800;
  color: #0f172a;
  font-size: 0.92rem;
}

.days-sub {
  font-size: 0.76rem;
  color: #64748b;
  font-weight: 700;
  text-transform: uppercase;
  margin-top: 0.2rem;
}

.td-price {
  text-align: center;
}

.price-main {
  font-weight: 900;
  color: #0f172a !important;
  font-size: 1.15rem;
}

.price-sub {
  font-size: 0.78rem;
  color: #2563eb;
  font-weight: 800;
  text-transform: uppercase;
  margin-top: 0.2rem;
  cursor: pointer;
  display: inline-block;
  text-decoration: underline;
  transition: all 0.2s ease;
}

.price-sub:hover {
  color: #ff2a2a;
  transform: scale(1.05);
}

.td-action {
  text-align: center;
}

/* Vibrant Bright Red & Blue Combination DAFTAR Button */
.btn-daftar-table {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #ff2a2a 0%, #2563eb 100%);
  color: #ffffff;
  font-weight: 800;
  font-size: 0.85rem;
  text-transform: uppercase;
  padding: 0.55rem 1.6rem;
  border-radius: 9999px;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(37, 99, 235, 0.35);
  transition: all 0.3s ease;
  text-decoration: none;
}

.btn-daftar-table:hover {
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.55);
  color: #ffffff;
}

/* Grid View Layout */
.dates-grid-container {
  display: none;
  flex-direction: column;
  gap: 2rem;
}

/* Month Grid Banner Header - Bright Red & Blue Combination */
.month-grid-banner {
  background: linear-gradient(135deg, #ff2a2a 0%, #2563eb 100%);
  color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 1.25rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 8px 22px rgba(37, 99, 235, 0.35);
}

.month-banner-title {
  text-align: center;
  flex-grow: 1;
}

.month-banner-title h3 {
  font-size: 1.6rem;
  font-weight: 900;
  color: #ffffff;
  margin: 0;
  letter-spacing: 1px;
}

.month-banner-title span {
  font-size: 0.85rem;
  color: #ffffff;
  font-weight: 600;
}

.month-banner-nav {
  font-size: 0.85rem;
  font-weight: 700;
  color: #ffffff;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

/* 3 Cards Grid Container */
.cards-3grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.75rem;
}

/* Individual Flight Grid Card - Bright Red Border & Electric Blue Pill */
.flight-card-item {
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-left: 5px solid #ff2a2a;
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  transition: all 0.3s ease;
}

.flight-card-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 35px rgba(255, 42, 42, 0.18);
  border-color: #ff2a2a;
}

/* Date Pill Badge - Electric Blue */
.card-date-pill {
  display: inline-block;
  background: #2563eb;
  color: #ffffff;
  font-weight: 800;
  font-size: 0.92rem;
  padding: 0.4rem 1.1rem;
  border-radius: 9999px;
  align-self: flex-start;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

/* Card Details Key-Value List */
.card-details-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  font-size: 0.9rem;
}

.card-details-list li {
  display: flex;
  align-items: center;
}

.detail-label {
  width: 100px;
  color: #64748b;
  font-weight: 700;
}

.detail-colon {
  margin-right: 0.6rem;
  color: #64748b;
  font-weight: 700;
}

.detail-val {
  color: #0f172a;
  font-weight: 800;
}

/* Price Block */
.card-price-block {
  border-top: 1px solid #f1f5f9;
  padding-top: 1rem;
  margin-top: auto;
}

.card-price-main {
  font-size: 1.4rem;
  font-weight: 900;
  color: #0f172a;
}

.card-price-sub {
  font-size: 0.78rem;
  color: #86195d;
  font-weight: 700;
}

/* Full Width Bright Red-Blue Gradient DAFTAR Button */
.btn-daftar-card {
  width: 100%;
  background: linear-gradient(135deg, #ff2a2a 0%, #2563eb 100%);
  color: #ffffff;
  font-weight: 800;
  font-size: 0.95rem;
  text-transform: uppercase;
  padding: 0.85rem;
  border-radius: 9999px;
  border: none;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(37, 99, 235, 0.35);
  transition: all 0.3s ease;
  text-align: center;
}

.btn-daftar-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.55);
}

/* View Mode Toggling Classes */
.dates-table-wrapper.hide-table {
  display: none !important;
}

.dates-grid-container.show-grid {
  display: flex !important;
}

/* ========================================================
   AIRLINES BOARDING PASS / FLIGHT TICKET SYSTEM (UMRAH PASS)
   Inspired by Reference Ticket Pass with Tear-Off Stub & Notches
   ======================================================== */

.boarding-pass-container {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  width: 100%;
  margin-top: 1.5rem;
}

.boarding-pass-container.hide-pass {
  display: none !important;
}

/* Month Filter Tabs Bar */
.pass-filter-toolbar {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  background: #f8fafc;
  padding: 0.85rem 1.25rem;
  border-radius: var(--radius-lg, 16px);
  border: 1.5px solid #e2e8f0;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
  margin-bottom: 0.75rem;
}

.month-pill-group {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.month-pill-btn {
  background: #ffffff;
  border: 1.5px solid #cbd5e1;
  color: #334155;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.86rem;
  font-weight: 800;
  padding: 0.5rem 1.1rem;
  border-radius: 9999px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.25s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

.month-pill-btn:hover {
  background: #f1f5f9;
  border-color: #94a3b8;
  color: #0f172a;
}

.month-pill-btn.active {
  background: linear-gradient(135deg, #991b1b 0%, #b91c1c 50%, #1e3a8a 100%);
  color: #ffffff;
  border-color: #991b1b;
  box-shadow: 0 4px 14px rgba(153, 27, 27, 0.35);
}

.month-pill-btn .pill-count {
  background: rgba(0, 0, 0, 0.07);
  padding: 0.15rem 0.45rem;
  border-radius: 9999px;
  font-size: 0.72rem;
  font-weight: 900;
}

.month-pill-btn.active .pill-count {
  background: rgba(255, 255, 255, 0.25);
  color: #ffffff;
}


/* Individual Boarding Pass Card */
.flight-pass-ticket {
  display: flex;
  flex-direction: column;
  position: relative;
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 20px;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.06), 0 2px 6px rgba(15, 23, 42, 0.03);
  overflow: hidden;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  width: 100%;
}

.flight-pass-ticket:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 42px rgba(15, 23, 42, 0.12), 0 4px 10px rgba(15, 23, 42, 0.04);
  border-color: #cbd5e1;
}

/* 1. Unified Full-Width Top Bar - 100% Flush, Flat & Balanced Across the Whole Card */
.pass-top-bar {
  display: flex;
  width: 100%;
  background: #991b1b;
  align-items: stretch;
  min-height: 52px;
  box-sizing: border-box;
}

.pass-top-main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1.6rem;
  min-width: 0;
}

.pass-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
}

.pass-brand-badge {
  background: #ffffff;
  color: #991b1b;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 900;
  font-size: 0.78rem;
  padding: 0.25rem 0.65rem;
  border-radius: 6px;
  letter-spacing: 0.5px;
  white-space: nowrap;
  flex-shrink: 0;
}

.pass-pkg-name {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: 0.86rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #fee2e2;
  white-space: nowrap;
  flex-shrink: 0;
}

.pass-type-tag {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: 0.75rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
}

.pass-top-stub {
  width: 260px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1.25rem;
  border-left: 1.5px dashed rgba(255, 255, 255, 0.35);
  box-sizing: border-box;
}

/* 2. Card Body Row */
.pass-card-body {
  display: flex;
  width: 100%;
  flex: 1;
  position: relative;
  background: #ffffff;
}

/* Left Vertical Barcode / Serial Strip */
.pass-vert-strip {
  width: 42px;
  background: #f8fafc;
  border-right: 1.5px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  user-select: none;
}

.pass-vert-strip span {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.68rem;
  font-weight: 800;
  color: #94a3b8;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  white-space: nowrap;
}

/* Main Inner Content */
.pass-inner-content {
  flex: 1;
  min-width: 0;
  padding: 1.6rem 1.8rem;
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
}

/* Route Row - Two-Tier Architecture (Zero Overlap on Any Screen) */
.pass-route-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  width: 100%;
}

.route-airline-bar {
  order: 2;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-width: 175px;
  flex-shrink: 0;
}

.route-stations-row {
  order: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex: 1;
  gap: 1.25rem;
}

.pass-station {
  display: flex;
  flex-direction: column;
}

.station-label {
  font-size: 0.7rem;
  font-weight: 800;
  color: #64748b;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.station-city {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.25rem;
  font-weight: 900;
  color: #0f172a;
  line-height: 1.2;
}

.station-code {
  font-size: 0.85rem;
  font-weight: 800;
  color: #991b1b;
  letter-spacing: 0.5px;
}

/* Flight Path - Clean Center Line & Subtext (PC, Laptop, TV & iPad) */
.pass-flight-path {
  flex: 1;
  max-width: 240px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 0.5rem;
}

.flight-path-line {
  width: 100%;
  height: 2px;
  border-top: 1.5px dashed #cbd5e1;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 0 0.45rem 0;
}

.flight-icon {
  background: #ffffff;
  padding: 0 0.45rem;
  color: #991b1b;
  font-size: 0.85rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  top: 0;
  height: 16px;
  line-height: 1;
}

.flight-icon i {
  transform: rotate(45deg);
  display: inline-block;
}

.flight-path-subtext {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.8px;
  color: #64748b;
  text-transform: uppercase;
  white-space: nowrap;
  line-height: 1.2;
  display: block;
}

.flight-direct-badge {
  display: none !important;
}

.pass-airline-logo-box {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-width: 160px;
}

.pass-airline-img {
  max-height: 52px;
  max-width: 160px;
  object-fit: contain;
  transition: transform 0.25s ease;
}

/* Malaysia Airlines logo: extra enlarged and prominent */
.pass-airline-img[src*="p2."],
[data-airline="mas"] .pass-airline-img {
  max-height: 68px !important;
  max-width: 200px !important;
}

.flight-pass-ticket:hover .pass-airline-img {
  transform: scale(1.05);
}

/* Highlight Box (Reference to email box in photo) */
.pass-highlight-box {
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  border-radius: 12px;
  padding: 0.9rem 1.35rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.highlight-left {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.highlight-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: #fee2e2;
  color: #991b1b;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
}

.highlight-text-group {
  display: flex;
  flex-direction: column;
}

.highlight-sub {
  font-size: 0.68rem;
  font-weight: 800;
  color: #64748b;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.highlight-main {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.18rem;
  font-weight: 900;
  color: #0f172a;
  letter-spacing: 0.3px;
}

.highlight-status-badge {
  background: #dcfce7;
  color: #15803d;
  font-size: 0.76rem;
  font-weight: 800;
  padding: 0.35rem 0.8rem;
  border-radius: 9999px;
  letter-spacing: 0.5px;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  white-space: nowrap;
}

/* Specs 4-Column Grid - Spacious, Elegant & Well Balanced */
.pass-specs-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr 1.35fr 1fr;
  gap: 1.75rem;
  padding: 1.25rem 0;
  border-top: 1.5px dashed #e2e8f0;
  border-bottom: 1.5px dashed #e2e8f0;
  align-items: flex-start;
}

.pass-spec-item {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.spec-label {
  font-size: 0.72rem;
  font-weight: 800;
  color: #64748b;
  letter-spacing: 1px;
  text-transform: uppercase;
  display: block;
}

.spec-value {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.4;
}

.spec-price {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.35rem;
  font-weight: 900;
  color: #991b1b;
  line-height: 1.2;
  display: block;
}

.spec-more-link {
  font-size: 0.8rem;
  font-weight: 700;
  color: #1d4ed8;
  text-decoration: underline;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.35rem;
  cursor: pointer;
  background: transparent;
  border: none;
  padding: 0;
  box-shadow: none;
  transition: color 0.2s ease;
}

.spec-more-link:hover {
  color: #1e40af;
  text-decoration: underline;
}

/* Numbered Steps / Micro Checklist (1, 2, 3 in photo) */
.pass-steps-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.pass-step-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.step-num {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fee2e2;
  color: #991b1b;
  font-size: 0.72rem;
  font-weight: 900;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.step-text {
  font-size: 0.8rem;
  font-weight: 700;
  color: #475569;
}

/* Tear-Off Perforation Divider - Flush Header, Centered Line & Bottom Notch */
.pass-perforation {
  position: relative;
  width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  flex-shrink: 0;
  z-index: 5;
}

.perforation-line {
  height: 100%;
  border-left: 1.5px dashed #cbd5e1;
  width: 0;
}

.notch {
  position: absolute;
  width: 24px;
  height: 24px;
  background: #ffffff;
  border-radius: 50%;
  left: -12px;
  box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.08);
  border: 1.5px solid #e2e8f0;
}

.notch-top {
  display: none !important; /* Kept flush to preserve clean header band */
}

.notch-bottom {
  bottom: -12px;
}

/* Right Tear-Off Stub - Matching Crimson Header Band */
.pass-stub {
  width: 260px;
  flex-shrink: 0;
  background: #fafafa;
  display: flex;
  flex-direction: column;
  border-left: none;
}

.stub-header-strip {
  background: #991b1b;
  border-left: 1.5px dashed rgba(255, 255, 255, 0.35);
  color: #ffffff;
  padding: 0.85rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 52px;
  box-sizing: border-box;
}

.stub-header-strip.mobile-only {
  display: none;
}

.stub-active-pill {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 0.2rem 0.55rem;
  border-radius: 9999px;
  letter-spacing: 0.5px;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.stub-active-pill i {
  font-size: 0.55rem;
  color: #4ade80;
}

.stub-type-tag {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: 0.72rem;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
}

.stub-active-pill {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 0.2rem 0.55rem;
  border-radius: 9999px;
  letter-spacing: 0.5px;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.stub-active-pill i {
  font-size: 0.55rem;
  color: #4ade80;
}

.stub-type-tag {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: 0.72rem;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
}

.stub-inner-content {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  gap: 1rem;
}

.stub-info-list {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.stub-info-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
}

.stub-label {
  font-weight: 700;
  color: #64748b;
  font-size: 0.72rem;
  text-transform: uppercase;
}

.stub-val {
  font-weight: 800;
  color: #0f172a;
}

.stub-price-row {
  border-top: 1px dashed #e2e8f0;
  padding-top: 0.4rem;
  margin-top: 0.2rem;
}

.stub-price {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.15rem;
  font-weight: 900;
  color: #991b1b;
}

/* Barcode Box */
.stub-barcode-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  padding-top: 0.3rem;
}

.barcode-lines {
  height: 38px;
  width: 100%;
  background: repeating-linear-gradient(
    90deg,
    #1e293b 0px,
    #1e293b 2px,
    transparent 2px,
    transparent 4px,
    #1e293b 4px,
    #1e293b 7px,
    transparent 7px,
    transparent 9px,
    #1e293b 9px,
    #1e293b 10px,
    transparent 10px,
    transparent 13px,
    #1e293b 13px,
    #1e293b 16px,
    transparent 16px,
    transparent 18px
  );
  border-radius: 2px;
}

.barcode-serial {
  font-family: monospace;
  font-size: 0.72rem;
  font-weight: 700;
  color: #64748b;
  letter-spacing: 1.5px;
}

/* Button on Stub */
.btn-pass-daftar {
  background: linear-gradient(135deg, #ff2a2a 0%, #2563eb 100%);
  color: #ffffff !important;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 900;
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 0.85rem 1rem;
  border-radius: 9999px;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  box-shadow: 0 4px 16px rgba(37, 99, 235, 0.35);
  transition: all 0.3s ease;
  text-decoration: none;
  width: 100%;
}

.btn-pass-daftar:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.55);
}

/* Month Group Accordion */
.pass-month-group {
  margin-bottom: 2rem;
}

.pass-month-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  border-left: 4px solid #991b1b;
  padding: 0.85rem 1.5rem;
  border-radius: var(--radius-md, 12px);
  cursor: pointer;
  margin-bottom: 1.25rem;
  transition: all 0.25s ease;
}

.pass-month-header:hover {
  background: #e2e8f0;
}

.pass-month-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.05rem;
  font-weight: 900;
  color: #0f172a;
  display: flex;
  align-items: center;
  flex: 1;
  justify-content: space-between;
  margin-right: 1.25rem;
}

.pass-month-badge {
  background: #991b1b;
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 0.2rem 0.65rem;
  border-radius: 9999px;
  white-space: nowrap;
  flex-shrink: 0;
  margin-left: auto;
}

.pass-month-icon {
  color: #991b1b;
  font-size: 1rem;
  transition: transform 0.3s ease;
}

.pass-month-header.collapsed .pass-month-icon {
  transform: rotate(-90deg);
}

.pass-month-items {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.pass-month-items.collapsed-body {
  display: none;
}

/* Smart Compact Pass Action (Hidden on Desktop) */
.pass-compact-action {
  display: none;
}

.compact-perforation {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  margin: 0.35rem 0;
}

.compact-perf-line {
  width: 100%;
  border-top: 1.5px dashed #cbd5e1;
}

.compact-notch {
  position: absolute;
  width: 18px;
  height: 18px;
  background: #ffffff;
  border-radius: 50%;
  top: -9px;
  border: 1.5px solid #cbd5e1;
  z-index: 2;
}

.compact-notch-left {
  left: -22px;
}

.compact-notch-right {
  right: -22px;
}

.btn-compact-daftar {
  background: linear-gradient(135deg, #ff2a2a 0%, #2563eb 100%);
  color: #ffffff !important;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 900;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 0.75rem 1rem;
  border-radius: 9999px;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3);
  width: 100%;
  text-decoration: none;
  transition: all 0.25s ease;
}

.btn-compact-daftar:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(37, 99, 235, 0.45);
}

/* ========================================================
   RESPONSIVE DESIGN FOR IPAD, TABLET, TV, LAPTOP & PC
   ======================================================== */

/* Large Screen / TV / Ultra-Wide (> 1440px) */
@media (min-width: 1440px) {
  .flight-pass-ticket {
    max-width: 1040px;
    margin-left: auto;
    margin-right: auto;
  }
}

/* Tablet & iPad (768px - 1024px) - Spacious Wide Ticket Layout with Boarding Stub */
@media (max-width: 1024px) and (min-width: 768px) {
  .pass-filter-toolbar {
    max-width: 820px;
    margin-left: auto;
    margin-right: auto;
    justify-content: center;
    padding: 0.75rem 1rem;
    margin-bottom: 1.25rem;
  }

  .month-pill-group {
    justify-content: center;
    gap: 0.45rem;
    width: 100%;
  }

  .month-pill-btn {
    padding: 0.45rem 0.8rem;
    font-size: 0.82rem;
  }

  .pass-month-items {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
  }

  .flight-pass-ticket {
    max-width: 820px;
    margin-left: auto;
    margin-right: auto;
    border-radius: 18px;
    overflow: hidden;
  }

  /* Full-width Top Bar with Left Main + Right Stub Header */
  .pass-top-bar {
    display: flex !important;
    flex-direction: row !important;
    align-items: stretch;
    justify-content: space-between;
    min-height: 44px;
    padding: 0 !important;
    background: #991b1b;
    width: 100%;
  }

  .pass-top-main {
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.6rem 0.95rem;
  }

  .pass-brand {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    flex-shrink: 0;
  }

  .pass-brand-badge {
    font-size: 0.72rem;
    padding: 0.2rem 0.48rem;
  }

  .pass-pkg-name {
    font-size: 0.76rem;
  }

  .pass-type-tag {
    font-size: 0.68rem;
    letter-spacing: 0.8px;
  }

  /* Right Stub Header for iPad */
  .pass-top-stub {
    display: flex !important;
    width: 195px;
    flex-shrink: 0;
    padding: 0.6rem 0.85rem;
    border-left: 1.5px dashed rgba(255, 255, 255, 0.35);
    box-sizing: border-box;
    align-items: center;
    justify-content: space-between;
  }

  .stub-active-pill {
    font-size: 0.62rem;
    padding: 0.15rem 0.45rem;
  }

  .stub-type-tag {
    font-size: 0.65rem;
    letter-spacing: 0.8px;
  }

  /* Horizontal Card Body (Main Pass + Perforation + Stub) */
  .pass-card-body {
    display: flex !important;
    flex-direction: row !important;
    width: 100%;
    position: relative;
    background: #ffffff;
  }

  /* Keep vertical barcode strip hidden on iPad to preserve space */
  .pass-vert-strip {
    display: none !important;
  }

  .pass-inner-content {
    flex: 1;
    min-width: 0;
    padding: 1.15rem 1.15rem;
    gap: 0.85rem;
    display: flex;
    flex-direction: column;
  }

  /* Perforation Line & Notches for iPad */
  .pass-perforation {
    display: flex !important;
    width: 0;
    position: relative;
    flex-shrink: 0;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    z-index: 5;
  }

  .perforation-line {
    height: 100%;
    border-left: 1.5px dashed #cbd5e1;
    width: 0;
  }

  .notch {
    position: absolute;
    width: 22px;
    height: 22px;
    background: #ffffff;
    border-radius: 50%;
    left: -11px;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.06);
    border: 1.5px solid #cbd5e1;
    z-index: 3;
  }

  .notch-top {
    display: none !important;
  }

  .notch-bottom {
    bottom: -11px;
  }

  /* Boarding Stub for iPad */
  .pass-stub {
    display: flex !important;
    width: 195px;
    flex-shrink: 0;
    background: #fafafa;
    flex-direction: column;
    box-sizing: border-box;
    border-left: none;
  }

  .stub-inner-content {
    padding: 0.95rem 0.85rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    gap: 0.75rem;
    box-sizing: border-box;
  }

  .stub-info-list {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
  }

  .stub-info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .stub-label {
    font-size: 0.68rem;
    font-weight: 700;
    color: #64748b;
  }

  .stub-val {
    font-size: 0.78rem;
    font-weight: 800;
    color: #0f172a;
    white-space: nowrap;
  }

  .stub-price {
    font-size: 1.12rem;
    font-weight: 900;
    color: #991b1b;
  }

  .stub-barcode-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    padding-top: 0.25rem;
  }

  .barcode-lines {
    height: 28px;
    width: 100%;
  }

  .barcode-serial {
    font-size: 0.60rem;
    letter-spacing: 0.6px;
  }

  .btn-pass-daftar {
    padding: 0.65rem 0.75rem;
    font-size: 0.82rem;
    font-weight: 800;
    border-radius: 10px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
  }

  /* Hide bottom action button on iPad since stub button is active */
  .pass-compact-action {
    display: none !important;
  }

  /* Two-Tier Route Architecture on iPad / Tablet (No Text Wrapping) */
  .pass-route-row {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.65rem !important;
    width: 100% !important;
  }

  .route-airline-bar {
    order: 1 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    padding-bottom: 0.35rem !important;
    border-bottom: 1px dashed #f1f5f9 !important;
    min-width: 0 !important;
  }

  .route-airline-bar::before {
    content: "PENERBANGAN ANTARABANGSA";
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.62rem;
    font-weight: 800;
    color: #64748b;
    letter-spacing: 0.8px;
    background: #f1f5f9;
    padding: 0.2rem 0.55rem;
    border-radius: 6px;
    text-transform: uppercase;
  }

  .pass-airline-logo-box {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    min-width: 130px;
  }

  .pass-airline-img {
    max-height: 44px !important;
    max-width: 130px !important;
    object-fit: contain;
  }

  /* Malaysia Airlines extra enlarged on iPad/Tablet */
  .pass-airline-img[src*="p2."],
  [data-airline="mas"] .pass-airline-img {
    max-height: 56px !important;
    max-width: 165px !important;
  }

  .route-stations-row {
    order: 2 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    gap: 0.85rem !important;
  }

  .pass-station.pass-origin {
    text-align: left !important;
    flex-shrink: 0 !important;
  }

  .pass-station.pass-dest {
    text-align: right !important;
    flex-shrink: 0 !important;
  }

  .station-city {
    font-size: 1.12rem !important;
    white-space: nowrap !important;
    line-height: 1.25 !important;
  }

  .station-code {
    font-size: 0.82rem !important;
    letter-spacing: 0.5px !important;
  }

  .pass-flight-path {
    flex: 1 !important;
    max-width: 200px !important;
    padding: 0 0.5rem !important;
  }

  .flight-path-subtext {
    font-size: 0.60rem !important;
    letter-spacing: 0.6px !important;
    white-space: nowrap !important;
  }

  .pass-highlight-box {
    padding: 0.55rem 0.85rem;
    border-radius: 10px;
  }

  .highlight-icon {
    width: 32px;
    height: 32px;
    font-size: 0.9rem;
  }

  .highlight-sub {
    font-size: 0.62rem;
  }

  .highlight-main {
    font-size: 0.92rem;
  }

  .highlight-status-badge {
    font-size: 0.68rem;
    padding: 0.2rem 0.55rem;
  }

  .pass-specs-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.75rem 1.25rem;
    padding: 0.75rem 0;
    border-top: 1.5px dashed #e2e8f0;
    border-bottom: 1.5px dashed #e2e8f0;
  }

  .pass-specs-grid .spec-label {
    font-size: 0.68rem;
  }

  .pass-specs-grid .spec-value {
    white-space: nowrap !important;
    font-size: 0.82rem;
  }

  .pass-specs-grid .spec-price {
    font-size: 1.15rem;
  }

  .pass-specs-grid .spec-more-link {
    font-size: 0.72rem;
  }

  .pass-steps-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem 1rem;
    padding-top: 0.55rem;
    border-top: 1px dashed #e2e8f0;
    width: 100%;
    flex-wrap: wrap;
  }

  .pass-steps-row .pass-step-item {
    gap: 0.35rem;
  }

  .pass-steps-row .step-num {
    width: 18px;
    height: 18px;
    font-size: 0.65rem;
  }

  .pass-steps-row .step-text {
    font-size: 0.72rem;
  }
}

/* Mobile & Smart Phones (< 768px) - Zero-Overlap Smart Compact Pass */
@media (max-width: 767px) {
  .dates-title {
    font-size: 1.35rem;
  }

  /* Pilihan A: Symmetrical 2-Column Balanced Grid on Mobile */
  .pass-filter-toolbar {
    padding: 0.65rem 0.65rem;
    margin-bottom: 0.85rem;
    border-radius: 14px;
    width: 100%;
    box-sizing: border-box;
  }

  .month-pill-group {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.45rem !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .month-pill-btn {
    width: 100% !important;
    justify-content: center !important;
    padding: 0.52rem 0.35rem !important;
    font-size: 0.78rem !important;
    gap: 0.35rem !important;
    box-sizing: border-box !important;
    white-space: nowrap !important;
  }

  .month-pill-btn .pill-count {
    padding: 0.1rem 0.35rem;
    font-size: 0.68rem;
  }

  /* Mobile Month Accordion Header - 1 Single Clean Line (Zero Wrapping) */
  .pass-month-header {
    padding: 0.65rem 0.85rem;
    margin-bottom: 0.85rem;
    border-radius: 12px;
  }

  .pass-month-title {
    font-size: 0.86rem;
    gap: 0.45rem;
    white-space: nowrap;
    min-width: 0;
    flex-wrap: nowrap;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-right: 0.65rem;
  }

  .pass-month-title > span:first-child {
    white-space: nowrap !important;
  }

  .pass-month-badge {
    font-size: 0.68rem;
    padding: 0.18rem 0.5rem;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
    line-height: 1.2;
    display: inline-block;
    margin-left: auto;
  }

  .pass-month-icon {
    font-size: 0.85rem;
    flex-shrink: 0;
  }
  
  .flight-pass-ticket {
    flex-direction: column;
    border-radius: 16px;
    margin-bottom: 0.75rem;
  }

  .pass-top-bar {
    min-height: 38px;
    padding: 0.5rem 0.75rem;
    background: #991b1b;
  }

  .pass-top-main {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 0.35rem;
    flex-wrap: nowrap;
  }

  .pass-brand {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    flex-shrink: 0;
    white-space: nowrap;
    min-width: 0;
  }

  .pass-brand-badge {
    font-size: 0.68rem;
    padding: 0.18rem 0.42rem;
    border-radius: 4px;
    font-weight: 900;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
    line-height: 1.2;
    display: inline-block;
  }

  .pass-pkg-name {
    font-size: 0.70rem;
    font-weight: 800;
    letter-spacing: 0.3px;
    color: #fee2e2;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
    line-height: 1.2;
    display: inline-block;
  }

  .pass-type-tag {
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.6px;
    color: rgba(255, 255, 255, 0.85);
    white-space: nowrap !important;
    flex-shrink: 0 !important;
    line-height: 1.2;
    display: inline-block;
  }

  /* Hide desktop-only elements */
  .pass-top-stub,
  .pass-vert-strip,
  .pass-perforation,
  .pass-stub {
    display: none !important;
  }

  .pass-card-body {
    flex-direction: column;
    width: 100%;
  }

  .pass-inner-content {
    padding: 1.15rem 1.15rem;
    gap: 0.85rem;
  }

  /* Clean Compact Route Row: Stations Only on Mobile */
  .pass-route-row {
    display: flex;
    flex-direction: column;
    width: 100%;
  }

  /* Hide Airline Logo and Direct Badge on Mobile Phones */
  .route-airline-bar,
  .flight-direct-badge {
    display: none !important;
  }

  .route-stations-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 0.5rem;
  }

  .pass-station.pass-origin {
    text-align: left;
    min-width: 85px;
  }

  .pass-station.pass-dest {
    text-align: right;
    min-width: 95px;
  }

  .station-label {
    font-size: 0.65rem;
    font-weight: 800;
    color: #94a3b8;
  }

  .station-city {
    font-size: 0.95rem;
    font-weight: 800;
    line-height: 1.2;
    color: #0f172a;
    display: block;
  }

  .station-code {
    font-size: 0.78rem;
    font-weight: 800;
    color: #991b1b;
  }

  .pass-flight-path {
    flex: 1;
    min-width: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0 0.25rem;
  }

  .flight-path-subtext {
    display: none !important;
  }

  .flight-path-line {
    width: 100%;
    height: 2px;
    border-top: 1.5px dashed #cbd5e1;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
  }

  .flight-icon {
    background: #ffffff;
    padding: 0 0.35rem;
    color: #991b1b;
    font-size: 0.8rem;
    height: 16px;
    line-height: 1;
  }

  /* Highlight Box */
  .pass-highlight-box {
    padding: 0.5rem 0.8rem;
    gap: 0.5rem;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    background: #f8fafc;
    border-radius: 10px;
    border: 1.5px solid #e2e8f0;
  }

  .highlight-icon {
    width: 32px;
    height: 32px;
    font-size: 0.95rem;
    border-radius: 8px;
  }

  .highlight-sub {
    font-size: 0.62rem;
  }

  .highlight-main {
    font-size: 0.95rem;
  }

  .highlight-status-badge {
    font-size: 0.68rem;
    padding: 0.25rem 0.6rem;
    align-self: center;
  }

  /* Pilihan 1: Format Baris Manifes Pas (Key-Value Strip) - 100% Zero Text Wrapping */
  .pass-specs-grid {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    padding: 0.75rem 0;
    border-top: 1.5px dashed #e2e8f0;
    border-bottom: 1.5px dashed #e2e8f0;
  }

  .pass-spec-item {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0.3rem 0;
    border-bottom: 1px dashed #f1f5f9;
  }

  .pass-spec-item:last-child {
    border-bottom: none;
    padding-bottom: 0.1rem;
  }

  .spec-label {
    font-size: 0.68rem;
    font-weight: 800;
    color: #64748b;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    flex-shrink: 0;
    min-width: 80px;
    text-align: left;
  }

  .spec-value {
    font-size: 0.82rem;
    font-weight: 800;
    color: #0f172a;
    text-align: right;
    white-space: nowrap !important;
  }

  /* Baris Harga & Pautan Lebih Lanjut */
  .pass-spec-item:last-child {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .pass-spec-item:last-child .spec-price {
    font-size: 1.25rem;
    font-weight: 900;
    color: #991b1b;
    margin-left: auto;
    margin-right: 0.65rem;
    line-height: 1;
  }

  .pass-spec-item:last-child .spec-more-link {
    font-size: 0.72rem;
    margin-top: 0;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
  }

  /* Gambar 2 Checklist: Betul-betul Centre */
  .pass-steps-row {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.6rem 0;
    width: 100%;
    margin: 0 auto;
    border-top: 1px dashed #e2e8f0;
  }

  .pass-step-item {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.6rem;
    width: 255px;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  .step-num {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #fee2e2;
    color: #991b1b;
    font-size: 0.72rem;
    font-weight: 900;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }

  .step-text {
    font-size: 0.8rem;
    font-weight: 700;
    color: #334155;
    white-space: nowrap;
  }

  /* Smart Compact Action */
  .pass-compact-action {
    display: flex;
    flex-direction: column;
    margin-top: 0.35rem;
  }

  .compact-perforation {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    margin: 0.5rem 0;
  }

  .compact-perf-line {
    width: 100%;
    border-top: 1.5px dashed #cbd5e1;
  }

  .compact-notch {
    position: absolute;
    width: 18px;
    height: 18px;
    background: #ffffff;
    border-radius: 50%;
    top: -9px;
    border: 1.5px solid #cbd5e1;
    z-index: 2;
  }

  .compact-notch-left {
    left: -27px;
  }

  .compact-notch-right {
    right: -27px;
  }

  .btn-compact-daftar {
    width: 100%;
    padding: 0.8rem 1rem;
    font-size: 0.88rem;
  }
}

/* Aturcara Perjalanan 12 Hari 10 Malam Section */
.package-itinerary-section {
  padding: 4rem 0 5rem;
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
}

.itinerary-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.itinerary-subtitle {
  color: #86195d;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.9rem;
  display: block;
  margin-bottom: 0.4rem;
}

.itinerary-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 2.2rem;
  font-weight: 900;
  color: #0f172a;
}

/* Switch Tabs Bar */
.itinerary-tabs-bar {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.itinerary-tab-btn {
  background: #ffffff;
  border: 2px solid #cbd5e1;
  color: #334155;
  font-weight: 800;
  font-size: 1rem;
  padding: 0.85rem 2rem;
  border-radius: 9999px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.itinerary-tab-btn i {
  color: #86195d;
}

.itinerary-tab-btn.active {
  background: linear-gradient(135deg, #86195d 0%, #9d174d 100%);
  color: #ffffff;
  border-color: #86195d;
  box-shadow: 0 8px 22px rgba(134, 25, 93, 0.35);
}

.itinerary-tab-btn.active i {
  color: #fbcfe8;
}

/* Timeline Layout */
.itinerary-timeline {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  padding-left: 2.2rem;
  border-left: 3px solid #cbd5e1;
}

.timeline-item {
  position: relative;
  margin-bottom: 1.75rem;
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.75rem;
  border: 1.5px solid #e2e8f0;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.04);
  transition: all 0.3s ease;
}

.timeline-item:hover {
  transform: translateX(5px);
  border-color: #86195d;
  box-shadow: 0 12px 28px rgba(134, 25, 93, 0.1);
}

.timeline-badge-day {
  position: absolute;
  left: -3.35rem;
  top: 1.25rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #86195d;
  color: #ffffff;
  font-weight: 900;
  font-size: 0.82rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 3px solid #f8fafc;
  box-shadow: 0 4px 10px rgba(134, 25, 93, 0.3);
}

.timeline-item-title {
  font-size: 1.2rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.timeline-item-title i {
  color: #86195d;
}

.timeline-item-desc {
  font-size: 0.95rem;
  color: #475569;
  line-height: 1.65;
  margin: 0;
}

@media (max-width: 640px) {
  .itinerary-timeline {
    padding-left: 1.5rem;
  }
  .timeline-badge-day {
    left: -2.4rem;
    width: 32px;
    height: 32px;
    font-size: 0.72rem;
  }
  .itinerary-tab-btn {
    width: 100%;
    justify-content: center;
    padding: 0.75rem 1.25rem;
    font-size: 0.9rem;
  }
}

/* Vertical Alternating Timeline (Matching Reference Screenshot Exactly) */
.itinerary-v2-section {
  padding: 4.5rem 0 6rem;
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
}

.itinerary-v2-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.itinerary-v2-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 2.2rem;
  font-weight: 900;
  color: #0f172a;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.8rem;
}

.itinerary-v2-duration-pill {
  display: inline-block;
  background: #2563eb;
  color: #ffffff;
  font-weight: 800;
  font-size: 0.85rem;
  padding: 0.4rem 1.4rem;
  border-radius: 9999px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
}

/* Animated Slide Bar Tabs (Madinah / Makkah) */
.itinerary-v2-tabs {
  display: flex;
  justify-content: center;
  margin: 0 auto 3rem auto;
}

.v2-tab-slider-track {
  position: relative;
  display: flex;
  align-items: center;
  background: #e2e8f0;
  border-radius: 9999px;
  padding: 4px;
  width: 320px;
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.08);
}

.v2-slider-pill {
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: 4px;
  width: calc(50% - 4px);
  background: linear-gradient(135deg, #ff2a2a 0%, #2563eb 100%);
  border-radius: 9999px;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.4);
  z-index: 1;
  pointer-events: none !important;
}

.v2-tab-btn {
  flex: 1;
  background: none;
  border: none;
  font-size: 0.95rem;
  font-weight: 800;
  color: #64748b;
  padding: 0.7rem 1rem;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  z-index: 10;
  pointer-events: auto !important;
  transition: color 0.35s ease;
  text-align: center;
}

.v2-tab-btn.active {
  color: #ffffff;
}

/* Feature Hero Card Banner - Vibrant Luminous Blue to Red Gradient */
.itinerary-hero-card {
  background: linear-gradient(135deg, #2563eb 0%, #ff2a2a 100%);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(37, 99, 235, 0.25);
  margin: 2.5rem auto;
  max-width: 960px;
  min-height: 180px;
}

.hero-card-left {
  padding: 2.5rem;
  flex: 1;
  display: flex;
  align-items: center;
}

.hero-card-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 2.4rem;
  font-weight: 900;
  color: #fbbf24;
  text-transform: uppercase;
  margin: 0;
  letter-spacing: 1px;
}

.hero-card-right {
  width: 36%;
  min-width: 260px;
  position: relative;
  overflow: hidden;
  display: flex;
}

.hero-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* Timeline / Itinerary Section (Creative S-Flow Scroll Animated) */
.itinerary-section {
  padding: 6rem 0;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 50%, #eff6ff 100%);
  position: relative;
  overflow: hidden;
}

.timeline-sflow-wrapper {
  position: relative;
  max-width: 960px;
  margin: 3rem auto 0 auto;
  padding: 1rem 0;
}

/* Desktop-only route overview above the existing itinerary timeline. */
.desktop-itinerary-route { display: none; }
.desktop-journey-tabs { display: none; }

@media (min-width: 1025px) {
  .desktop-journey-tabs {
    display: flex;
    width: fit-content;
    margin: 2.4rem auto 0;
    padding: 0.28rem;
    gap: 0.28rem;
    border: 1px solid #d6e3f5;
    border-radius: 999px;
    background: #f8fbff;
  }

  .desktop-journey-tabs button {
    border: 0;
    border-radius: 999px;
    padding: 0.65rem 1.05rem;
    background: transparent;
    color: #30476f;
    cursor: pointer;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.76rem;
    font-weight: 800;
  }

  .desktop-journey-tabs button.is-active {
    background: linear-gradient(120deg, #e52b35, #2563eb);
    color: #ffffff;
    box-shadow: 0 6px 14px rgba(37, 77, 192, 0.22);
  }

  .desktop-itinerary-route {
    display: flex;
    max-width: 900px;
    align-items: center;
    justify-content: center;
    gap: 0.7rem;
    margin: 0.8rem auto 0;
    padding: 1rem 1.35rem;
    border: 1px solid #d6e3f5;
    border-radius: 1.15rem;
    background: linear-gradient(110deg, #ffffff, #f2f7ff);
    box-shadow: 0 10px 28px rgba(15, 45, 104, 0.07);
  }

  .desktop-route-stop {
    display: grid;
    min-width: 6.25rem;
    justify-items: center;
    gap: 0.18rem;
    text-align: center;
  }

  .desktop-route-stop > span {
    display: inline-flex;
    width: 2rem;
    height: 2rem;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, #e52b35, #2563eb);
    color: #ffffff;
    box-shadow: 0 5px 12px rgba(37, 77, 192, 0.2);
    font-size: 0.82rem;
  }

  .desktop-route-stop strong {
    color: #112e68;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.78rem;
    font-weight: 900;
  }

  .desktop-route-stop small {
    color: #71829d;
    font-size: 0.62rem;
    font-weight: 700;
    line-height: 1.2;
  }

  .desktop-route-arrow {
    color: #a9bbd4;
    font-size: 0.8rem;
  }

  .desktop-itinerary-route[hidden] { display: none !important; }

  .timeline-sflow-grid .sflow-item[data-desktop-route] { display: none; }
  .timeline-sflow-grid .sflow-item[data-desktop-route].is-desktop-route-active { display: flex; }

  .itinerary-section .timeline-sflow-wrapper {
    margin-top: 1.9rem;
  }

  .itinerary-section .timeline-sflow-grid {
    gap: 2.35rem;
  }
}

/* Central Track Line */
.timeline-track-line {
  position: absolute;
  top: 25px;
  bottom: 25px;
  left: 50%;
  width: 6px;
  background: #cbd5e1;
  transform: translateX(-50%);
  border-radius: 999px;
  overflow: hidden;
  z-index: 1;
}

/* Dynamic Scroll Lighting Fill Line */
.timeline-progress-line {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0%;
  background: linear-gradient(180deg, #ff2020 0%, #2563eb 50%, #00f2fe 100%);
  box-shadow: 0 0 15px rgba(255, 32, 32, 0.8), 0 0 25px rgba(37, 99, 235, 0.8);
  border-radius: 999px;
  transition: height 0.1s linear;
}

/* Grid & Items */
.timeline-sflow-grid {
  display: flex;
  flex-direction: column;
  gap: 3.5rem;
  position: relative;
  z-index: 2;
}

.sflow-item {
  display: flex;
  align-items: center;
  position: relative;
  width: 100%;
  box-sizing: border-box;
}

.sflow-left {
  justify-content: flex-start;
}

.sflow-right {
  justify-content: flex-end;
}

/* Dots in Center */
.sflow-dot {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #ffffff;
  border: 3px solid #94a3b8;
  color: #475569;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
  z-index: 10;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Active glowing dot state */
.sflow-item.active-step .sflow-dot {
  background: linear-gradient(135deg, #ff2020 0%, #2563eb 100%);
  border-color: #ffffff;
  color: #ffffff;
  box-shadow: 0 0 20px rgba(255, 32, 32, 0.7), 0 0 35px rgba(37, 99, 235, 0.6);
  transform: translate(-50%, -50%) scale(1.2);
}

/* Cards */
.sflow-card {
  width: 43%;
  background: #ffffff;
  border: 2px solid #cbd5e1;
  border-radius: 20px;
  padding: 1.75rem;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
  position: relative;
  box-sizing: border-box;
}

.sflow-item.active-step .sflow-card {
  border-color: #2563eb;
  box-shadow: 0 16px 40px rgba(37, 99, 235, 0.15);
}

.sflow-card:hover {
  transform: translateY(-5px) scale(1.02);
  border-color: #ff2020;
  box-shadow: 0 20px 45px rgba(255, 32, 32, 0.18);
}

/* Connective Pointer Triangle */
.sflow-left .sflow-card::after {
  content: '';
  position: absolute;
  right: -11px;
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
  width: 18px;
  height: 18px;
  background: #ffffff;
  border-top: 2px solid #cbd5e1;
  border-right: 2px solid #cbd5e1;
}

.sflow-right .sflow-card::after {
  content: '';
  position: absolute;
  left: -11px;
  top: 50%;
  transform: translateY(-50%) rotate(-135deg);
  width: 18px;
  height: 18px;
  background: #ffffff;
  border-top: 2px solid #cbd5e1;
  border-right: 2px solid #cbd5e1;
}

.sflow-item.active-step .sflow-card::after {
  border-color: #2563eb;
}

.sflow-card:hover::after {
  border-color: #ff2020;
}

/* Card Content Header */
.sflow-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.85rem;
}

.sflow-num {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.6rem;
  font-weight: 900;
  color: #94a3b8;
  line-height: 1;
}

.sflow-item.active-step .sflow-num {
  color: #ff2020;
}

.sflow-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: #eff6ff;
  color: #2563eb;
  font-size: 0.82rem;
  font-weight: 800;
  padding: 0.4rem 0.9rem;
  border-radius: 9999px;
  border: 1.5px solid #bfdbfe;
}

.sflow-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.35rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 0.6rem;
  line-height: 1.3;
}

.sflow-desc {
  font-size: 0.92rem;
  color: #475569;
  line-height: 1.6;
  margin: 0;
}

/* Responsive S-Flow Timeline */
@media (max-width: 868px) {
  .timeline-track-line {
    left: 28px;
    transform: none;
  }
  .sflow-dot {
    left: 28px;
    top: 30px;
    transform: translate(-50%, 0);
  }
  .sflow-item.active-step .sflow-dot {
    transform: translate(-50%, 0) scale(1.15);
  }
  .sflow-item {
    justify-content: flex-start !important;
    padding-left: 68px;
    box-sizing: border-box;
  }
  .sflow-card {
    width: 100% !important;
  }
  .sflow-card::after {
    left: -11px !important;
    right: auto !important;
    top: 35px !important;
    transform: translateY(0) rotate(-135deg) !important;
  }
}

/* Alternating itinerary cards shared by every Umrah package page. */
.alternating-timeline {
  position: relative;
  max-width: 960px;
  margin: 0 auto 3rem;
  padding: 0.75rem 0;
}

.alternating-timeline::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 3px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: linear-gradient(180deg, #bfdbfe 0%, #2563eb 50%, #fecaca 100%);
}

.timeline-row {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 142px;
  margin-bottom: 2rem;
}

.timeline-row:last-child {
  margin-bottom: 0;
}

.timeline-content-box {
  width: calc(50% - 4.25rem);
  box-sizing: border-box;
  padding: 1.25rem 1.35rem;
  background: #ffffff;
  border: 1px solid #dbeafe;
  border-radius: 1rem;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.08);
}

.row-left .timeline-content-box {
  margin-right: auto;
}

.row-right .timeline-content-box {
  margin-left: auto;
}

.timeline-center-node {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  display: flex;
  align-items: center;
  transform: translate(-50%, -50%);
  white-space: nowrap;
}

.box-heading {
  margin-bottom: 0.55rem;
  color: #0f172a;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.98rem;
  font-weight: 800;
  line-height: 1.35;
}

.box-bullets {
  margin: 0;
  padding-left: 1.15rem;
  color: #334155;
  font-size: 0.9rem;
  line-height: 1.65;
}

.box-bullets li + li {
  margin-top: 0.25rem;
}

.node-icon-circle {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #ff2a2a;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  border: 3px solid #ffffff;
  box-shadow: 0 4px 14px rgba(255, 42, 42, 0.4);
}

.node-label-text {
  font-size: 0.78rem;
  font-weight: 800;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.row-left .node-label-text {
  position: absolute;
  left: 48px;
}

.row-right .node-label-text {
  position: absolute;
  right: 48px;
}

@media (max-width: 768px) {
  .hero-card-title {
    font-size: 1.6rem;
  }
  .hero-card-left {
    padding: 1.5rem;
  }
  .hero-card-right {
    width: 40%;
    height: 130px;
  }
  .alternating-timeline::before {
    left: 24px;
  }
  .timeline-row {
    flex-direction: column;
    align-items: flex-start;
    padding-left: 55px;
  }
  .timeline-content-box {
    width: 100% !important;
  }
  .timeline-center-node {
    left: 24px;
    transform: translateX(-50%);
  }
  .row-left .node-label-text,
  .row-right .node-label-text {
    position: static;
    margin-left: 0.5rem;
  }
}

/* Jadual pakej: susun atur khusus telefon */
.mobile-timeline-day {
  display: none;
}

@media (max-width: 768px) {
  .itinerary-v2-section {
    padding: 3.5rem 0 4.5rem;
  }

  .itinerary-v2-header {
    margin-bottom: 1.75rem;
  }

  .itinerary-v2-title {
    font-size: clamp(1.55rem, 6vw, 2.2rem);
    line-height: 1.35;
    letter-spacing: 0.5px;
    margin-inline: auto;
    max-width: 34rem;
  }

  .itinerary-v2-duration-pill {
    margin-bottom: 1.25rem;
  }

  .itinerary-v2-tabs {
    margin-bottom: 1.75rem;
  }

  .v2-tab-slider-track {
    width: min(100%, 20rem);
  }

  /* View Madinah berada di luar .container dalam markup sedia ada. */
  #v2ViewMadinah {
    padding-inline: 1.25rem;
  }

  .itinerary-hero-card {
    min-height: 0;
    margin: 1.5rem auto;
    border-radius: 1.15rem;
  }

  .hero-card-left {
    padding: 1.35rem 1.2rem;
  }

  .hero-card-right {
    width: 42%;
    min-width: 0;
    height: auto;
  }

  .hero-card-title {
    font-size: clamp(1.1rem, 4.6vw, 1.6rem);
    line-height: 1.45;
    letter-spacing: 0.4px;
  }

  .alternating-timeline {
    padding: 0.35rem 0 0.25rem;
  }

  .alternating-timeline::before {
    left: 18px;
    width: 2px;
  }

  .timeline-row {
    min-height: 2.5rem;
    margin-bottom: 1rem;
    padding-left: 2.9rem;
  }

  .timeline-center-node {
    top: 1.15rem;
    left: 18px;
  }

  .node-icon-circle {
    width: 32px;
    height: 32px;
    border-width: 2px;
    font-size: 0.72rem;
  }

  .node-label-text {
    display: none;
  }

  .timeline-content-box {
    padding: 1rem 1.05rem 1.1rem;
    border-radius: 1rem;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.07);
  }

  .mobile-timeline-day {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    margin-bottom: 0.55rem;
    padding: 0.24rem 0.55rem;
    border-radius: 999px;
    background: #eff6ff;
    color: #2563eb;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.45px;
    line-height: 1.2;
    text-transform: uppercase;
  }

  .box-heading {
    font-size: 0.96rem;
    line-height: 1.35;
    margin-bottom: 0.5rem;
  }

  .box-bullets {
    gap: 0.35rem;
    font-size: 0.84rem;
    line-height: 1.55;
  }
}

@media (max-width: 576px) {
  #v2ViewMadinah {
    padding-inline: 1rem;
  }

  .v2-tab-btn {
    padding-inline: 0.5rem;
    font-size: 0.78rem;
  }
}

/* Interactive Price Details Modal Popup */
.price-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(6px);
  z-index: 99999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all 0.3s ease;
  overscroll-behavior: contain;
}

.price-modal-overlay.active {
  display: flex !important;
  opacity: 1;
  visibility: visible;
  pointer-events: auto !important;
}

.price-modal-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  max-width: 980px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  overflow-x: hidden;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
  transform: translateY(20px) scale(0.95);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid #cbd5e1;
  outline: none !important;
  overscroll-behavior: contain;
}

.room-cards-grid,
.room-cards-grid-standardised {
  display: flex !important;
  flex-direction: column !important;
  gap: 0.55rem !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

.room-price-card {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 0.85rem 1.15rem !important;
  background: #f8fafc !important;
  border: 1.5px solid #e2e8f0 !important;
  border-radius: 14px !important;
  box-sizing: border-box !important;
  width: 100% !important;
  gap: 1rem !important;
  min-width: 0 !important;
}

.room-price-card.card-dewasa {
  background: #fff5f5 !important;
  border: 1.5px solid #fecaca !important;
}

.card-pax-label {
  font-size: 0.9rem !important;
  font-weight: 800 !important;
  color: #334155 !important;
  white-space: normal !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  gap: 0.15rem !important;
}

.card-pax-label small {
  display: block !important;
  font-size: 0.7rem !important;
  font-weight: 700 !important;
  color: #64748b !important;
  line-height: 1.2 !important;
}

.room-train-note {
  color: #2563eb;
  font-size: 0.72rem;
  font-weight: 800;
}

.card-dewasa .card-pax-label {
  color: #dc2626 !important;
}

.card-pax-price {
  font-size: 1.15rem !important;
  font-weight: 900 !important;
  color: #0f172a !important;
  white-space: nowrap !important;
  text-align: right !important;
  flex-shrink: 0 !important;
}

.card-dewasa .card-pax-price {
  color: #dc2626 !important;
}

.price-modal-overlay.active .price-modal-card {
  transform: translateY(0) scale(1);
}

.price-modal-header {
  background: linear-gradient(135deg, #ff2a2a 0%, #2563eb 100%);
  color: #ffffff;
  padding: 1.25rem 1.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  border: none !important;
  outline: none !important;
}

.price-modal-title {
  font-size: 1.3rem;
  font-weight: 900;
  margin: 0;
  color: #ffffff;
  letter-spacing: 0.5px;
}

.price-modal-close {
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: #ffffff;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.1rem;
  transition: all 0.2s ease;
}

.price-modal-close:hover {
  background: rgba(255, 255, 255, 0.4);
  transform: scale(1.1);
}

.price-modal-body {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.modal-summary-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  background: #f8fafc;
  padding: 1.25rem;
  border-radius: var(--radius-md);
  border: 1px solid #e2e8f0;
}

.modal-summary-item {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.summary-item-label {
  font-size: 0.78rem;
  font-weight: 800;
  color: #64748b;
  text-transform: uppercase;
}

.summary-item-val {
  font-size: 0.95rem;
  font-weight: 800;
  color: #0f172a;
}

.modal-section-heading {
  font-size: 1.1rem;
  font-weight: 900;
  color: #0f172a;
  margin-bottom: 0.75rem;
  border-bottom: 2px solid #e0f2fe;
  padding-bottom: 0.4rem;
}

/* Maklumat lengkap di dalam modal "Lebih Lanjut" Pakej Saver */
.saver-included-details {
  border: 1px solid #bfdbfe;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #ffffff;
}

.saver-included-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.2rem;
  border-bottom: 1px solid #bfdbfe;
  background: linear-gradient(90deg, #eff6ff 0%, #f8fafc 100%);
}

.saver-included-heading span {
  display: block;
  color: #2563eb;
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.saver-included-heading h4 {
  margin: 0.12rem 0 0;
  color: #0f172a;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 900;
}

.saver-included-heading > i {
  color: #2563eb;
  font-size: 1.25rem;
}

.saver-included-table-wrap {
  overflow-x: auto;
}

.saver-included-table {
  width: 100%;
  border-collapse: collapse;
}

.saver-included-table th,
.saver-included-table td {
  padding: 0.68rem 1rem;
  border-bottom: 1px solid #e2e8f0;
  font-size: 0.82rem;
  line-height: 1.45;
  text-align: left;
  vertical-align: top;
}

.saver-included-table tr:last-child th,
.saver-included-table tr:last-child td {
  border-bottom: 0;
}

.saver-included-table th {
  width: 37%;
  color: #334155;
  font-weight: 800;
  background: #f8fafc;
}

.saver-included-table td {
  color: #0f172a;
  font-weight: 600;
}

/* Butiran lengkap khusus untuk modal Umrah Awal Ramadan. */
.ramadan-included-details {
  overflow: hidden;
  border: 1px solid #bfdbfe;
  border-radius: var(--radius-md);
  background: #ffffff;
}

.ramadan-included-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.2rem;
  border-bottom: 1px solid #bfdbfe;
  background: linear-gradient(90deg, #eff6ff 0%, #f8fafc 100%);
}

.ramadan-included-heading span {
  display: block;
  color: #2563eb;
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.ramadan-included-heading h4 {
  margin: 0.12rem 0 0;
  color: #0f172a;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 900;
}

.ramadan-included-heading > i {
  color: #2563eb;
  font-size: 1.25rem;
}

.ramadan-included-table-wrap { overflow-x: auto; }

.ramadan-included-table {
  width: 100%;
  border-collapse: collapse;
}

.ramadan-included-table th,
.ramadan-included-table td {
  padding: 0.68rem 1rem;
  border-bottom: 1px solid #e2e8f0;
  color: #0f172a;
  font-size: 0.82rem;
  line-height: 1.45;
  text-align: left;
  vertical-align: top;
}

.ramadan-included-table tr:last-child th,
.ramadan-included-table tr:last-child td { border-bottom: 0; }

.ramadan-included-table th {
  width: 37%;
  background: #f8fafc;
  color: #334155;
  font-weight: 800;
}

.ramadan-included-table td { font-weight: 600; }

/* Modal Pricing Table */
.modal-pricing-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 0.5rem;
}

.modal-pricing-table th {
  background: #2563eb;
  color: #ffffff;
  font-weight: 800;
  font-size: 0.85rem;
  padding: 0.75rem 1rem;
  text-align: left;
}

.modal-pricing-table td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid #f1f5f9;
  font-size: 0.9rem;
  color: #334155;
}

.modal-pricing-table tr:nth-child(even) {
  background: #f8fafc;
}

.price-tag-highlight {
  font-weight: 900;
  color: #0f172a;
}

.modal-actions-bar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1rem;
  margin-top: 1rem;
}

.btn-modal-submit {
  background: linear-gradient(135deg, #ff2a2a 0%, #2563eb 100%);
  color: #ffffff;
  font-weight: 800;
  font-size: 0.9rem;
  padding: 0.7rem 1.75rem;
  border-radius: 9999px;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
  transition: all 0.3s ease;
}

.btn-modal-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.55);
}

.btn-modal-close-text {
  background: #cbd5e1;
  color: #334155;
  font-weight: 800;
  font-size: 0.9rem;
  padding: 0.7rem 1.5rem;
  border-radius: 9999px;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-modal-close-text:hover {
  background: #94a3b8;
  color: #ffffff;
}

@media (max-width: 640px) {
  .modal-summary-grid {
    grid-template-columns: 1fr;
  }

  .saver-included-heading {
    padding: 0.9rem 1rem;
  }

  .saver-included-table th,
  .saver-included-table td {
    padding: 0.6rem 0.7rem;
    font-size: 0.75rem;
  }

  .saver-included-table th {
    width: 41%;
  }

  .ramadan-included-heading { padding: 0.9rem 1rem; }
  .ramadan-included-heading h4 { font-size: 0.93rem; }
  .ramadan-included-table th,
  .ramadan-included-table td { padding: 0.6rem 0.7rem; font-size: 0.75rem; }
  .ramadan-included-table th { width: 41%; }
}

/* Horizontal 3-Card Capsule Grid Layout for Room Pricing Modal (Matching Reference Screenshot Exactly) */
.room-pricing-matrix {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 1rem;
}

.room-pricing-block {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px dashed #cbd5e1;
}

.room-pricing-block:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.room-type-heading {
  font-size: 1.15rem;
  font-weight: 900;
  color: #0f172a;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.room-type-heading i {
  color: #ff2a2a;
}

/* Package Inclusions & Exclusions Section (Pakej Termasuk & Tidak Termasuk) */
.package-inclusions-section {
  padding: 4.5rem 0;
  background: linear-gradient(180deg, #ffffff 0%, #f1f5f9 100%);
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
}

.inclusions-sec-header {
  text-align: center;
  margin-bottom: 3rem;
}

.inclusions-sec-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 2.2rem;
  font-weight: 900;
  color: #0f172a;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.5rem;
}

.inclusions-sec-subtitle {
  font-size: 1rem;
  color: #64748b;
  font-weight: 600;
}

.inclusions-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
  max-width: 1140px;
  margin: 0 auto;
}

.inc-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  border: 1px solid #e2e8f0;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.inc-card:hover {
  transform: translateY(-4px);
}

/* Card Includes (Termasuk - Blue Accent) */
.inc-card.card-termasuk {
  border-top: 5px solid #2563eb;
  box-shadow: 0 15px 35px rgba(37, 99, 235, 0.08);
}

.inc-card.card-termasuk .inc-card-title {
  color: #2563eb;
}

/* Card Excludes (Tidak Termasuk - Red Accent) */
.inc-card.card-tidak-termasuk {
  border-top: 5px solid #ff2a2a;
  box-shadow: 0 15px 35px rgba(255, 42, 42, 0.08);
}

.inc-card.card-tidak-termasuk .inc-card-title {
  color: #ff2a2a;
}

.inc-card-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.5rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 1.75rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-bottom: 1rem;
  border-bottom: 2px dashed #e2e8f0;
}

.inc-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.inc-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  font-size: 0.95rem;
  line-height: 1.6;
  color: #334155;
}

.inc-item-icon {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  margin-top: 2px;
}

.icon-check {
  background: #dcfce7;
  color: #16a34a;
}

.icon-cross {
  background: #fee2e2;
  color: #dc2626;
}

.inc-item-text {
  flex-grow: 1;
}

.inc-item-text strong {
  color: #0f172a;
  font-weight: 700;
}

@media (max-width: 900px) {
  .inclusions-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .inc-card {
    padding: 1.75rem;
  }
}

/* Mobile qurban posters: one poster per view, swipeable and continuously
   looped by app.js.  The desktop green information card remains unchanged. */
@media (max-width: 767px) {
  .qurban-section {
    background-color: #f8fafc;
    background-image: url('images/mobile_packages_bg.jpg?v=20260805-v2');
    background-size: cover;
    background-position: center;
    background-repeat: repeat-y;
  }

  .qurban-poster-card {
    min-height: 0;
    height: auto;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
    display: block;
    overflow: hidden;
  }

  .qurban-desktop-poster-carousel {
    display: none;
  }

  .qurban-poster-card::before,
  .qurban-poster-overlay {
    display: none;
  }

  .qurban-mobile-poster-carousel {
    display: block;
    width: 100%;
    overflow: hidden;
    padding: 1rem 0;
    border-radius: 20px;
    background: transparent;
    touch-action: pan-y;
    user-select: none;
    -webkit-user-select: none;
  }

  .qurban-mobile-poster-track {
    display: flex;
    gap: 0.85rem;
    width: max-content;
    will-change: transform;
    transform: translateX(0);
  }

  .qurban-mobile-poster-slide {
    flex: 0 0 min(86vw, 340px);
    width: min(86vw, 340px);
    aspect-ratio: 9 / 16;
    padding: 0;
    border: 0;
    border-radius: 16px;
    overflow: hidden;
    background: transparent;
    box-shadow: 0 12px 24px rgba(15, 43, 28, 0.18);
    cursor: pointer;
  }

  .qurban-mobile-poster-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .qurban-poster-card .poster-date {
    display: table;
    margin: 0.8rem auto 0;
    text-align: center;
  }
}

/* ============================================================
   AMAL SURCHARGE NOTIFICATION MODAL (Bright Red, Blue & White Theme)
   ============================================================ */
.amal-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(9, 18, 43, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 999999 !important;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.amal-modal-overlay.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto !important;
}

.amal-modal-card {
  background: #ffffff;
  border-radius: 24px;
  max-width: 580px;
  width: 100%;
  padding: 2.25rem 2.25rem 2rem 2.25rem;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.35);
  position: relative;
  border: 2px solid #2563eb;
  z-index: 1000000 !important;
  pointer-events: auto !important;
  transform: translateY(20px) scale(0.95);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.amal-modal-overlay.active .amal-modal-card {
  transform: translateY(0) scale(1);
}

.amal-modal-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #f1f5f9;
  border: none;
  color: #64748b;
  font-size: 1.15rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer !important;
  z-index: 1000001 !important;
  pointer-events: auto !important;
  transition: all 0.2s ease;
}

.amal-modal-close:hover {
  background: #ff2020;
  color: #ffffff;
}

.amal-modal-header {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}

.amal-icon-circle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #fee2e2;
  color: #ff2020;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
  border: 1.5px solid #fca5a5;
}

.amal-header-text {
  flex-grow: 1;
}

.amal-badge {
  display: inline-block;
  background: #dbeafe;
  color: #1d4ed8;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 0.3rem 0.85rem;
  border-radius: 9999px;
  margin-bottom: 0.6rem;
  border: 1px solid #bfdbfe;
}

.amal-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.35rem;
  font-weight: 900;
  color: #0f172a;
  text-transform: uppercase;
  line-height: 1.25;
  letter-spacing: 0.3px;
  margin: 0;
}

.amal-modal-body {
  color: #334155;
  font-size: 0.93rem;
  line-height: 1.65;
  margin-bottom: 1.75rem;
}

.amal-modal-body p {
  margin-bottom: 1rem;
}

.amal-modal-body strong {
  color: #0f172a;
  font-weight: 700;
}

.amal-note-box {
  background: #eff6ff;
  border: 1.5px solid #bfdbfe;
  border-radius: 16px;
  padding: 1.1rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 1.25rem 0;
}

.amal-note-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #fee2e2;
  color: #ff2020;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
  border: 1px solid #fca5a5;
}

.amal-note-text {
  font-size: 0.9rem;
  color: #0f172a;
  line-height: 1.5;
}

.amal-modal-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 0.5rem;
}

.btn-amal-secondary {
  background: transparent;
  border: none;
  color: #2563eb;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.88rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer !important;
  pointer-events: auto !important;
  position: relative;
  z-index: 1000001 !important;
  padding: 0.75rem 1rem;
  transition: color 0.2s ease;
}

.btn-amal-secondary:hover {
  color: #ff2020;
  text-decoration: underline;
}

.btn-amal-primary {
  background: linear-gradient(135deg, #ff2020 0%, #2563eb 100%);
  color: #ffffff;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.9rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 0.85rem 2.25rem;
  border-radius: 14px;
  border: none;
  cursor: pointer !important;
  pointer-events: auto !important;
  position: relative;
  z-index: 1000001 !important;
  box-shadow: 0 6px 20px rgba(255, 32, 32, 0.35);
  transition: all 0.25s ease;
}

.btn-amal-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(255, 32, 32, 0.5);
}

@media (max-width: 576px) {
  .amal-modal-card {
    padding: 1.75rem 1.25rem 1.5rem 1.25rem;
  }
  .amal-modal-header {
    flex-direction: column;
    gap: 0.75rem;
  }
  .amal-title {
    font-size: 1.15rem;
  }
  .amal-modal-footer {
    flex-direction: column-reverse;
    gap: 0.75rem;
  }
  .btn-amal-primary, .btn-amal-secondary {
    width: 100%;
    text-align: center;
  }
}

/* ============================================================
   INTERACTIVE BOOKING ENGINE & ROOM COUNTER STYLES (Red, Blue & White)
   ============================================================ */
.booking-engine-section {
  padding: 3rem 0 5rem 0;
  background: #f8fafc;
}

.booking-engine-grid,
.booking-confirm-grid {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 2rem;
  align-items: start;
  max-width: 100%;
  box-sizing: border-box;
}

.btn-download-quotation {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  width: 100%;
  padding: 1.15rem;
  border: none;
  border-radius: 12px;
  background: linear-gradient(135deg, #dc2626 0%, #2563eb 100%);
  color: #ffffff;
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.28);
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 900;
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.btn-download-quotation:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 11px 25px rgba(37, 99, 235, 0.4);
}

.btn-download-quotation:disabled {
  cursor: wait;
  opacity: 0.75;
}

.btn-download-quotation i {
  font-size: 1.25rem;
}

@media (max-width: 1080px) {
  .booking-engine-grid,
  .booking-confirm-grid {
    grid-template-columns: 1fr !important;
    gap: 3rem !important;
  }
}

/* Package Main Info Card (Gambar 2) */
.pkg-main-info-card {
  background: #ffffff;
  border: 2px solid #2563eb;
  border-radius: 24px;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 10px 30px rgba(37, 99, 235, 0.08);
}

.pkg-duration-pill {
  display: inline-block;
  background: #fee2e2;
  color: #ff2020;
  border: 1px solid #fca5a5;
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 0.4rem 1.1rem;
  border-radius: 9999px;
  margin-bottom: 1rem;
}

.pkg-engine-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 2.2rem;
  font-weight: 900;
  color: #0f172a;
  text-transform: uppercase;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  letter-spacing: 0.5px;
}

.flight-hotel-box {
  background: #eff6ff;
  border: 1.5px solid #bfdbfe;
  border-radius: 20px;
  padding: 1.75rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

@media (max-width: 768px) {
  .flight-hotel-box {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

.fh-column-title {
  font-size: 0.78rem;
  font-weight: 800;
  color: #2563eb;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1.25rem;
}

/* Flight timeline steps */
.flight-timeline {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  position: relative;
  padding-left: 1.5rem;
}

.flight-timeline::before {
  content: '';
  position: absolute;
  left: 6px;
  top: 10px;
  bottom: 10px;
  width: 2px;
  background: #60a5fa;
}

.flight-step-item {
  position: relative;
}

.flight-step-item::before {
  content: '\f072';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  left: -1.5rem;
  top: 2px;
  width: 20px;
  height: 20px;
  background: #fee2e2;
  color: #ff2020;
  border-radius: 50%;
  font-size: 0.65rem;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  border: 1px solid #fca5a5;
}

.flight-code {
  font-weight: 900;
  color: #0f172a;
  font-size: 1rem;
}

.flight-time-desc {
  font-size: 0.88rem;
  color: #2563eb;
  font-weight: 600;
  margin-top: 0.15rem;
}

/* Hotel Item Row */
.hotel-info-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.hotel-info-row {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
}

.hotel-icon-badge {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: #fee2e2;
  color: #ff2020;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
  border: 1px solid #fca5a5;
}

.hotel-details-name {
  font-weight: 800;
  color: #0f172a;
  font-size: 0.95rem;
}

.hotel-details-dist {
  font-size: 0.82rem;
  color: #475569;
  margin-top: 0.15rem;
}

/* Butiran lengkap pakej: kekal padat dan hanya dikembangkan atas permintaan */
.pkg-details-accordion {
  margin-top: 1rem;
  overflow: hidden;
  border: 1px solid #bfdbfe;
  border-radius: 16px;
  background: #ffffff;
}

.pkg-details-accordion > summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.2rem 1.25rem 1.1rem;
  color: #0f172a;
  cursor: pointer;
  list-style: none;
  user-select: none;
  transition: background 0.2s ease;
}

.pkg-details-accordion > summary::-webkit-details-marker {
  display: none;
}

.pkg-details-summary-title,
.pkg-details-summary-action {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 800;
}

.pkg-details-summary-title {
  font-size: 1.08rem;
}

.pkg-details-summary-title i {
  color: #2563eb;
}

.pkg-details-summary-action {
  padding: 0.6rem 0.8rem;
  border-radius: 999px;
  background: #2563eb;
  color: #ffffff;
  font-size: 0.78rem;
  white-space: nowrap;
  box-shadow: 0 4px 10px rgba(37, 99, 235, 0.2);
}

.pkg-details-summary-action i {
  transition: transform 0.25s ease;
}

.pkg-details-accordion[open] .pkg-details-summary-action i {
  transform: rotate(180deg);
}

.pkg-details-accordion[open] > summary {
  background: #f8fbff;
}

.pkg-details-preview {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.95rem;
  padding-top: 0.9rem;
  border-top: 1px solid #dbeafe;
  color: #475569;
  font-size: 0.78rem;
  font-weight: 700;
}

.pkg-details-preview span {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.pkg-details-preview i {
  color: #ff2020;
}

.pkg-details-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.6rem;
  margin: 0;
  padding: 0.9rem 1rem 1rem;
  background: #f8fbff;
}

.pkg-detail-item {
  min-width: 0;
  padding: 0.65rem 0.75rem;
  border: 1px solid #dbeafe;
  border-radius: 10px;
  background: #ffffff;
}

.pkg-detail-item dt {
  margin: 0 0 0.15rem;
  color: #2563eb;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}

.pkg-detail-item dd {
  margin: 0;
  color: #0f172a;
  font-size: 0.76rem;
  font-weight: 650;
  line-height: 1.4;
}

@media (max-width: 640px) {
  .pkg-details-accordion > summary {
    gap: 0.75rem;
    padding: 1rem;
  }

  .pkg-details-summary-title {
    font-size: 0.92rem;
  }

  .pkg-details-summary-action {
    padding: 0.5rem 0.65rem;
    font-size: 0.7rem;
  }

  .pkg-details-preview {
    gap: 0.45rem 0.7rem;
    padding-top: 0.75rem;
    font-size: 0.7rem;
  }

  .pkg-details-grid {
    grid-template-columns: 1fr;
    padding: 0.75rem 0.8rem 0.85rem;
  }
}

/* Room Selection Cards (Gambar 4) */
.room-selection-container {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.room-type-card {
  background: #ffffff;
  border: 1.5px solid #cbd5e1;
  border-radius: 20px;
  padding: 1.75rem;
  transition: all 0.3s ease;
}

.room-type-card.selected {
  border-color: #2563eb;
  box-shadow: 0 10px 30px rgba(37, 99, 235, 0.12);
}

.room-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px dashed #e2e8f0;
}

.room-card-title {
  font-size: 1.25rem;
  font-weight: 900;
  color: #0f172a;
  text-transform: uppercase;
}

.room-card-price-tag {
  font-size: 0.88rem;
  color: #475569;
}

.room-card-price-tag strong {
  color: #ff2020;
  font-size: 1.15rem;
  font-weight: 800;
}

/* Keep every room heading and its starting price on one tidy row on phones.
   The longer "Bilik Ber-5 atau 4" label needs a slightly more compact type
   scale, while tablet and desktop retain their existing layout. */
@media (max-width: 540px) {
  .room-type-card .room-card-header {
    flex-wrap: nowrap;
    gap: 0.3rem;
  }

  .room-type-card .room-card-title {
    flex: 1 1 auto;
    min-width: 0;
    font-size: 0.76rem;
    line-height: 1.2;
    letter-spacing: -0.02em;
    white-space: nowrap;
  }

  .room-type-card .room-card-price-tag {
    flex: 0 0 auto;
    font-size: 0.62rem;
    line-height: 1.2;
    letter-spacing: -0.02em;
    white-space: nowrap;
  }

  .room-type-card .room-card-price-tag strong {
    font-size: 0.82rem;
  }
}

/* 3-Box Counter Grid (Dewasa, Kanak-Kanak < 6 thn, Bayi) */
.pax-counters-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

@media (max-width: 768px) {
  .pax-counters-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 540px) {
  .pax-counters-grid {
    grid-template-columns: 1fr;
  }
}

.counter-box {
  background: #f8fafc;
  border: 1.5px solid #cbd5e1;
  border-radius: 16px;
  padding: 0.9rem 0.6rem;
  text-align: center;
  box-sizing: border-box;
  transition: all 0.25s ease;
}

.counter-box:hover {
  background: #ffffff;
  border-color: #2563eb;
  box-shadow: 0 6px 16px rgba(37, 99, 235, 0.08);
}

.counter-label {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.78rem;
  font-weight: 800;
  color: #1e3a8a;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  margin-bottom: 0.65rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 2.2rem;
  line-height: 1.25;
  text-align: center;
}

.counter-subtext {
  display: block;
  font-size: 0.64rem;
  font-weight: 700;
  color: #2563eb;
  letter-spacing: 0.2px;
  margin-top: 3px;
  opacity: 0.85;
}

.counter-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.btn-counter {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  border: none;
  background: #2563eb;
  color: #ffffff;
  font-weight: 800;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.btn-counter:hover {
  background: #ff2020;
  color: #ffffff;
}

.counter-val {
  font-size: 1.1rem;
  font-weight: 900;
  color: #0f172a;
  min-width: 24px;
  text-align: center;
}

/* Sticky Booking Summary Card (Gambar 3) */
.booking-summary-sticky {
  position: sticky;
  top: 100px;
  background: #ffffff;
  border: 2px solid #2563eb;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(37, 99, 235, 0.12);
}

.summary-header-banner {
  background: linear-gradient(135deg, #09122b 0%, #1e3a8a 50%, #ff2020 100%);
  color: #ffffff;
  padding: 1.5rem 1.75rem;
}

.summary-header-banner h3 {
  font-size: 1.4rem;
  font-weight: 900;
  margin: 0 0 0.2rem 0;
}

.summary-header-banner p {
  font-size: 0.82rem;
  opacity: 0.9;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 0;
}

.summary-body {
  padding: 1.5rem;
}

.summary-pax-count-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}

.summary-pax-label {
  font-size: 0.85rem;
  font-weight: 800;
  color: #0f172a;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.summary-pax-badge {
  background: #fee2e2;
  color: #ff2020;
  font-weight: 800;
  font-size: 0.9rem;
  padding: 0.35rem 1rem;
  border-radius: 9999px;
  border: 1px solid #fca5a5;
}

/* Breakdown Area */
.summary-breakdown-box {
  border: 1.5px dashed #bfdbfe;
  border-radius: 16px;
  padding: 1.5rem 1rem;
  text-align: center;
  color: #64748b;
  font-size: 0.88rem;
  margin-bottom: 1.5rem;
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.summary-breakdown-box.has-items {
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  color: #0f172a;
  font-size: 0.88rem;
}



.summary-breakdown-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid #eff6ff;
}

.summary-breakdown-item:last-child {
  border-bottom: none;
}

/* Total Bar */
.summary-total-bar {
  background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 100%);
  color: #ffffff;
  border-radius: 16px;
  padding: 1rem 1.15rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.total-bar-label {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  line-height: 1.25;
}

.total-bar-label span {
  display: block;
  font-size: 0.68rem;
  opacity: 0.8;
  font-weight: 600;
  margin-top: 0.15rem;
}

.total-bar-val {
  font-size: 1.2rem;
  font-weight: 900;
  white-space: nowrap;
  flex-shrink: 0;
  text-align: right;
  letter-spacing: -0.3px;
}

/* Action Button */
.btn-summary-submit {
  width: 100%;
  background: #cbd5e1;
  color: #64748b;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 1rem;
  border-radius: 14px;
  border: none;
  cursor: not-allowed;
  transition: all 0.3s ease;
  margin-bottom: 1.25rem;
}

.btn-summary-submit.active {
  background: linear-gradient(135deg, #ff2020 0%, #2563eb 100%);
  color: #ffffff;
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(255, 32, 32, 0.35);
}

.btn-summary-submit.active:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(255, 32, 32, 0.5);
}

.summary-deposit-note {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: 14px;
  padding: 0.85rem 1rem;
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.8rem;
  color: #334155;
  line-height: 1.5;
}

.summary-deposit-note i {
  color: #ff2020;
  margin-top: 2px;
}

.summary-deposit-note strong {
  color: #ff2020;
}

/* Auth Modal (Login / Sign Up) */
.auth-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(9, 18, 43, 0.65);
  backdrop-filter: blur(8px);
  z-index: 99999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all 0.3s ease;
}

.auth-modal-overlay.active {
  display: flex !important;
  opacity: 1;
  visibility: visible;
  pointer-events: auto !important;
}

.auth-modal-card {
  background: #ffffff;
  border-radius: 24px;
  max-width: 440px;
  width: 100%;
  padding: 2.25rem;
  position: relative;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
  border: 2px solid #2563eb;
}

.auth-tab-buttons {
  display: flex;
  border-bottom: 2px solid #f1f5f9;
  margin-bottom: 1.75rem;
}

.auth-tab-btn {
  flex: 1;
  background: transparent;
  border: none;
  font-size: 1rem;
  font-weight: 800;
  color: #64748b;
  padding: 0.75rem 0;
  cursor: pointer;
  border-bottom: 3px solid transparent;
  transition: all 0.2s ease;
}

.auth-tab-btn.active {
  color: #ff2020;
  border-bottom-color: #ff2020;
}

/* Total Deposit Bar (Between KESELURAHAN & TEMPAH SEKARANG) */
.summary-deposit-bar {
  background: #fee2e2;
  border: 1.5px solid #fca5a5;
  color: #ff2020;
  border-radius: 16px;
  padding: 1rem 1.15rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.summary-deposit-bar .total-bar-label {
  color: #991b1b;
}

.summary-deposit-bar .total-bar-label span {
  color: #dc2626;
  opacity: 0.9;
}

.summary-deposit-bar .total-bar-val {
  color: #ff2020;
  font-size: 1.2rem;
  font-weight: 900;
  white-space: nowrap;
  flex-shrink: 0;
  text-align: right;
  letter-spacing: -0.3px;
}

/* Strategic Partners Section (Before Footer) */
.strategic-partners-section {
  background: #ffffff;
  border-top: 1.5px solid #e2e8f0;
  border-bottom: 1.5px solid #e2e8f0;
  padding: 4rem 0;
  position: relative;
}

.partners-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.partners-subtitle {
  display: inline-block;
  color: #ff2020;
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 0.4rem;
}

.partners-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 2.2rem;
  font-weight: 900;
  color: #0f172a;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 0 0 0.75rem 0;
}

.partners-title-bar {
  width: 70px;
  height: 4px;
  background: linear-gradient(90deg, #ff2020 0%, #2563eb 100%);
  margin: 0 auto;
  border-radius: 9999px;
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1.5rem;
  align-items: center;
}

.partner-card {
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 20px;
  padding: 1.5rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
  height: 120px;
}

.partner-card:hover {
  transform: translateY(-4px);
  border-color: #2563eb;
  box-shadow: 0 12px 28px rgba(37, 99, 235, 0.12);
}

.partner-logo {
  max-height: 42px;
  max-width: 130px;
  object-fit: contain;
}

.partner-icon-wrap {
  font-size: 2.2rem;
  line-height: 1;
}

.partner-name {
  font-size: 0.8rem;
  font-weight: 800;
  color: #0f172a;
  text-align: center;
  line-height: 1.2;
}

/* Tempah Auth Modal (Exact layout matching user screenshot with Beta Logo Transparent & WhatsApp Button) */
.tempah-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(9, 18, 43, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 99999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all 0.3s ease;
}

.tempah-modal-overlay.active {
  display: flex !important;
  opacity: 1;
  visibility: visible;
  pointer-events: auto !important;
}

.tempah-modal-card {
  background: #ffffff;
  border-radius: 24px;
  max-width: 480px;
  width: 90%;
  padding: 2.25rem 2rem 2rem 2rem;
  position: relative;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.2);
  border: none;
  transform: translateY(20px) scale(0.95);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.tempah-modal-card .amal-modal-close {
  position: absolute;
  top: 1.1rem;
  right: 1.1rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #ff2020 !important;
  border: none;
  color: #ffffff !important;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer !important;
  z-index: 100;
  box-shadow: 0 4px 12px rgba(255, 32, 32, 0.35);
  transition: transform 0.2s ease, background 0.2s ease;
}

.tempah-modal-card .amal-modal-close:hover {
  background: #dc2626 !important;
  transform: scale(1.08);
}

.tempah-modal-overlay.active .tempah-modal-card {
  transform: translateY(0) scale(1);
}

.tempah-modal-logo {
  height: 75px !important;
  max-height: 80px !important;
  max-width: 280px !important;
  width: auto !important;
  object-fit: contain !important;
  margin: 0 auto 1.25rem auto !important;
  display: block !important;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.08));
}

.tempah-auth-tabs {
  display: flex;
  border-bottom: 2px solid #e2e8f0;
  margin-bottom: 1.5rem;
}

.tempah-tab-btn {
  flex: 1;
  background: transparent;
  border: none;
  font-size: 1.1rem;
  font-weight: 800;
  color: #64748b;
  padding: 0.75rem 0;
  cursor: pointer;
  border-bottom: 3px solid transparent;
  transition: all 0.2s ease;
  text-align: center;
}

.tempah-tab-btn.active {
  color: #2563eb;
  border-bottom-color: #2563eb;
}

/* 2-Column Split with Vertical Divider */
.tempah-auth-split {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  position: relative;
}

.tempah-auth-left {
  flex: 1;
}

.tempah-auth-divider {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 0 0.5rem;
}

.tempah-auth-divider::before, .tempah-auth-divider::after {
  content: '';
  width: 1px;
  height: 70px;
  background: #cbd5e1;
}

.tempah-auth-divider span {
  font-size: 0.8rem;
  font-weight: 700;
  color: #64748b;
  margin: 0.5rem 0;
  text-transform: lowercase;
}

.tempah-auth-right {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
}

@media (max-width: 640px) {
  .tempah-auth-split {
    flex-direction: column;
    gap: 1.25rem;
  }
  .tempah-auth-divider {
    flex-direction: row;
    width: 100%;
  }
  .tempah-auth-divider::before, .tempah-auth-divider::after {
    width: 40%;
    height: 1px;
  }
  .tempah-auth-divider span {
    margin: 0 0.5rem;
  }
}

.input-with-eye {
  position: relative;
}

.input-with-eye input {
  padding-right: 2.75rem;
}

.eye-toggle-btn {
  position: absolute;
  right: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  color: #64748b;
  cursor: pointer;
  font-size: 1rem;
  padding: 0.25rem;
}

.eye-toggle-btn:hover {
  color: #0f172a;
}

.btn-google-login {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  width: 100%;
  padding: 0.85rem 1rem;
  background: #f8fafc;
  border: 1.5px solid #cbd5e1;
  border-radius: 12px;
  color: #2563eb;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-google-login:hover {
  background: #eff6ff;
  border-color: #2563eb;
}

.btn-whatsapp-direct {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  width: 100%;
  padding: 0.9rem 1rem;
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
  color: #ffffff;
  font-size: 0.88rem;
  font-weight: 800;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.35);
  transition: all 0.25s ease;
  text-transform: uppercase;
}

.btn-whatsapp-direct:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(37, 211, 102, 0.5);
}

.month-row-header {
  cursor: pointer !important;
  user-select: none;
  transition: background-color 0.2s ease, filter 0.2s ease;
}

.month-row-header:hover {
  filter: brightness(0.96);
}

.month-flex {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  width: 100% !important;
}

.month-flex i {
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  color: #ff2020;
  font-size: 1.1rem;
}

.month-row-header.collapsed .month-flex i {
  transform: rotate(180deg);
}

/* ==========================================================================
   GOOGLE SEARCH STYLE SITE DIRECTORY / SITELINKS SECTION
   ========================================================================== */
.site-directory-section {
  padding: 4.5rem 0;
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
}

.directory-title-area {
  text-align: center;
  margin-bottom: 2.5rem;
}

.directory-subtitle-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #eff6ff;
  color: #2563eb;
  font-weight: 700;
  font-size: 0.82rem;
  padding: 0.35rem 1rem;
  border-radius: 9999px;
  border: 1px solid #bfdbfe;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.directory-main-heading {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  color: #0f172a;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.directory-main-subtext {
  color: #64748b;
  font-size: 0.95rem;
  max-width: 650px;
  margin: 0 auto;
}

/* Google-inspired Search Result Container Card */
.google-search-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 2.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
  max-width: 1000px;
  margin: 0 auto;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.google-search-card:hover {
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.07);
}

/* Search Result Top Breadcrumb */
.google-result-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.google-result-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #cbd5e1;
  padding: 4px;
}

.google-result-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.google-result-url-box {
  display: flex;
  flex-direction: column;
}

.google-result-domain {
  font-size: 0.88rem;
  font-weight: 700;
  color: #1e293b;
  line-height: 1.2;
}

.google-result-url {
  font-size: 0.8rem;
  color: #475569;
  line-height: 1.2;
}

.google-translate-tag {
  margin-left: auto;
  font-size: 0.78rem;
  color: #2563eb;
  background: #eff6ff;
  padding: 0.2rem 0.6rem;
  border-radius: 6px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

/* Search Result Main Title */
.google-main-link {
  display: inline-block;
  font-size: 1.5rem;
  font-weight: 700;
  color: #1a0dab;
  text-decoration: none;
  margin-bottom: 0.5rem;
  line-height: 1.35;
  transition: color 0.2s ease;
}

.google-main-link:hover {
  text-decoration: underline;
  color: #150aa1;
}

.google-main-snippet {
  color: #4b5563;
  font-size: 0.92rem;
  line-height: 1.6;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #f1f5f9;
}

/* Sitelinks 2-Column Grid */
.google-sitelinks-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem 2.5rem;
}

@media (max-width: 768px) {
  .google-sitelinks-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .google-search-card {
    padding: 1.5rem;
  }
  .directory-main-heading {
    font-size: 1.75rem;
  }
}

.sitelink-item {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.sitelink-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #1a0dab;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: color 0.2s ease;
}

.sitelink-title:hover {
  text-decoration: underline;
  color: #2563eb;
}

.sitelink-snippet {
  font-size: 0.86rem;
  color: #4b5563;
  line-height: 1.55;
  margin: 0;
}

/* Package filter: one centred "Semua Pakej", then six package filters in 3 × 2. */
@media (max-width: 576px) {
  .filter-pills {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.6rem;
    margin-bottom: 2rem;
  }

  .filter-pills .pill-btn {
    min-width: 0;
    padding: 0.6rem 0.2rem;
    font-size: 0.69rem;
    line-height: 1.2;
    white-space: nowrap;
  }

  .filter-pills .pill-btn:first-child {
    grid-column: 1 / -1;
    justify-self: center;
    width: max-content;
    padding-inline: 1.6rem;
  }
}

/* Portrait tablet: a full-width package card keeps all package details readable. */
@media (max-width: 900px) {
  .packages-grid.grid-layout-2,
  .packages-grid.grid-layout-2-2-1,
  .packages-grid.grid-layout-2-2-2,
  .packages-grid.grid-layout-2-2-2-1 {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.5rem;
    max-width: min(94%, 730px);
    margin: 0 auto;
  }

  .packages-grid.grid-layout-2 .package-card,
  .packages-grid.grid-layout-2-2-1 .package-card,
  .packages-grid.grid-layout-2-2-1 .package-card:nth-child(5),
  .packages-grid.grid-layout-2-2-2 .package-card,
  .packages-grid.grid-layout-2-2-2-1 .package-card,
  .packages-grid.grid-layout-2-2-2-1 .package-card:nth-child(7) {
    grid-column: 1;
    max-width: none;
    width: 100%;
  }

  .packages-grid.grid-layout-2 .card-body,
  .packages-grid.grid-layout-2-2-1 .card-body,
  .packages-grid.grid-layout-2-2-2 .card-body,
  .packages-grid.grid-layout-2-2-2-1 .card-body {
    padding: 1.35rem;
  }

  .packages-grid.grid-layout-2 .card-title,
  .packages-grid.grid-layout-2-2-1 .card-title,
  .packages-grid.grid-layout-2-2-2 .card-title,
  .packages-grid.grid-layout-2-2-2-1 .card-title {
    font-size: 1.65rem;
  }

  .packages-grid.grid-layout-2 .price-val,
  .packages-grid.grid-layout-2-2-1 .price-val,
  .packages-grid.grid-layout-2-2-2 .price-val,
  .packages-grid.grid-layout-2-2-2-1 .price-val {
    font-size: 2rem;
  }
}

/* Touch devices retain :hover after a tap.  Use the dropdown state class so
   tapping the same navigation item a second time always closes its menu. */
@media (max-width: 768px) {
  .nav-dropdown:not(.dropdown-open) .nav-dropdown-menu {
    display: none !important;
    pointer-events: none !important;
  }

  .nav-dropdown.dropdown-open .nav-dropdown-menu {
    display: block !important;
    pointer-events: auto !important;
  }

  .nav-dropdown:not(.dropdown-open) .nav-caret {
    transform: none !important;
  }

  .nav-dropdown.dropdown-open .nav-caret {
    transform: rotate(180deg) !important;
  }
}

/* Tablet drawer uses the same click state as phone navigation. */
@media (min-width: 768px) and (max-width: 1024px) {
  .nav-dropdown:not(.dropdown-open) .nav-dropdown-menu {
    display: none !important;
    pointer-events: none !important;
  }

  .nav-dropdown.dropdown-open .nav-dropdown-menu {
    display: block !important;
    pointer-events: auto !important;
  }
}

/* Shared account menu in the burger drawer. It is intentionally available on
   phone and tablet only; desktop keeps its existing profile dropdown. */
@media (max-width: 1024px) {
  #navLinks.active .drawer-footer .drawer-account-panel {
    display: grid;
    gap: 0.65rem;
    width: 100%;
    margin-top: 0.7rem;
    padding: 0.85rem;
    border: 1px solid #dbeafe;
    border-radius: 13px;
    background: #f8fbff;
    box-sizing: border-box;
  }

  #navLinks.active .drawer-footer .drawer-account-panel[hidden] {
    display: none !important;
  }

  #navLinks.active .drawer-footer .drawer-account-status {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    color: #1e3a8a;
    font-size: 0.86rem;
    font-weight: 800;
  }

  #navLinks.active .drawer-footer .drawer-account-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    min-height: 44px;
    padding: 0.7rem 0.9rem;
    border-radius: 10px;
    font-size: 0.86rem;
    font-weight: 800;
    cursor: pointer;
    box-sizing: border-box;
  }

  #navLinks.active .drawer-footer .drawer-dashboard-action {
    border: 1px solid #1d4ed8;
    background: #2563eb;
    color: #fff;
  }

  #navLinks.active .drawer-footer .drawer-logout-action {
    border: 1px solid #fca5a5;
    background: #fff1f2;
    color: #dc2626;
  }
}

/* Keep the Qurban price card inside the phone viewport and give each price
   an independent column rather than allowing the amounts to collide. */
@media (max-width: 576px) {
  .qurban-info-card {
    padding: 1.5rem;
    gap: 1.25rem;
  }

  .qurban-pricing-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.45rem;
    padding: 1rem 0.55rem;
  }

  .qurban-pricing-row .price-divider {
    display: none;
  }

  .qurban-pricing-row .price-item {
    min-width: 0;
    gap: 0.35rem;
  }

  .qurban-pricing-row .price-title {
    min-height: 2.5em;
    font-size: 0.7rem;
    line-height: 1.25;
    text-align: center;
  }

  .qurban-pricing-row .price-amount {
    font-size: clamp(1.08rem, 5vw, 1.3rem);
    line-height: 1.1;
    letter-spacing: -0.02em;
  }
}

/* Departure tables contain six columns.  Use the existing card layout on
   tablet and phone so no column, button or price can be clipped. */
@media (max-width: 900px) {
  .package-dates-section {
    padding: 2.5rem 0 3.5rem;
  }

  .dates-header-bar {
    align-items: flex-start;
    margin-bottom: 1.25rem;
  }

  .dates-title {
    font-size: clamp(1.5rem, 4.4vw, 2rem);
    letter-spacing: 0.25px;
    line-height: 1.2;
  }

  .dates-view-toggle,
  .dates-table-wrapper {
    display: none !important;
  }

  .dates-grid-container {
    display: flex !important;
    gap: 1.25rem;
  }

  .month-grid-banner {
    padding: 1rem;
    border-radius: var(--radius-md);
  }

  .month-banner-title h3 {
    font-size: 1.25rem;
  }

  .cards-3grid {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1rem;
  }

  .flight-card-item {
    padding: 1.25rem;
    gap: 0.9rem;
  }
}

/* ==========================================================================
   IPAD, TABLET & MOBILE POPUP MODAL RESPONSIVE AUDIT & FIX
   Fixes cut-off / clipped popups on iPad & Tablet viewports.
   DOES NOT TOUCH OR CHANGE DESKTOP / LAPTOP LAYOUT (> 1080px).
   ========================================================================== */
@media (max-width: 1080px) {
  /* Overlay positioning and scrolling */
  .amal-modal-overlay,
  .auth-modal-overlay,
  .tempah-modal-overlay,
  .price-modal-overlay,
  .modal-overlay {
    padding: 1rem !important;
    align-items: center !important;
    justify-content: center !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
  }

  /* Modal cards max-height and internal scrolling */
  .amal-modal-card,
  .auth-modal-card,
  .tempah-modal-card,
  .price-modal-card,
  .modal-card {
    max-height: calc(100vh - 2rem) !important;
    max-height: calc(100dvh - 2rem) !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
    padding: 1.5rem 1.35rem !important;
    margin: auto !important;
    border-radius: 20px !important;
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 540px !important;
  }

  /* Internal header & text sizing for iPad & Mobile */
  .amal-modal-header {
    gap: 0.85rem !important;
    margin-bottom: 1rem !important;
  }

  .amal-icon-circle {
    width: 46px !important;
    height: 46px !important;
    font-size: 1.25rem !important;
  }

  .amal-title {
    font-size: 1.15rem !important;
    line-height: 1.3 !important;
  }

  .amal-badge {
    font-size: 0.68rem !important;
    padding: 0.25rem 0.65rem !important;
    margin-bottom: 0.4rem !important;
  }

  .amal-modal-body {
    font-size: 0.88rem !important;
    line-height: 1.55 !important;
    margin-bottom: 1.25rem !important;
  }

  .amal-note-box {
    padding: 0.85rem 1rem !important;
    gap: 0.75rem !important;
    margin: 1rem 0 !important;
    border-radius: 12px !important;
  }

  .amal-note-icon {
    width: 32px !important;
    height: 32px !important;
    font-size: 0.95rem !important;
  }

  .amal-note-text {
    font-size: 0.84rem !important;
  }

  .amal-modal-footer {
    padding-top: 0.75rem !important;
  }

  .btn-amal-primary,
  .btn-modal-submit,
  .btn-tempah-submit {
    padding: 0.95rem 1.25rem !important;
    font-size: 0.95rem !important;
  }

  /* Calendar Popover bounding for iPad / Phone */
  .calendar-popover {
    max-width: calc(100vw - 2rem) !important;
    box-sizing: border-box !important;
  }

  /* Mobile / iPad Hamburger Button Spacing, Safe-Area & Touch Target Fix */
  .container.navbar,
  .navbar,
  header.glass-nav .navbar,
  header.glass-nav .nav-container {
    padding-left: max(1rem, env(safe-area-inset-left)) !important;
    padding-right: max(1.5rem, env(safe-area-inset-right)) !important;
    box-sizing: border-box !important;
    gap: 0.5rem !important;
  }

  .mobile-menu-btn {
    min-width: 48px !important;
    min-height: 48px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0.5rem !important;
    margin-left: 0.5rem !important;
    margin-right: 0.75rem !important;
    border-radius: 12px !important;
    background: rgba(239, 68, 68, 0.1) !important;
    color: #ef4444 !important;
    border: 1px solid rgba(239, 68, 68, 0.25) !important;
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.15) !important;
    cursor: pointer !important;
    touch-action: manipulation !important;
    -webkit-tap-highlight-color: transparent !important;
    font-size: 1.75rem !important;
    flex-shrink: 0 !important;
  }

  .mobile-menu-btn i {
    font-size: 1.65rem !important;
    pointer-events: none !important;
  }

  .nav-actions {
    gap: 0.65rem !important;
    margin-right: 0.35rem !important;
  }
}

/* ==========================================================================
   EXCLUSIVE IPHONE MOBILE NAVIGATION FUNCTIONALITY SYSTEM
   Applies EXCLUSIVELY on Mobile / iPhone Devices (<= 768px).
   DOES NOT TOUCH OR CHANGE DESKTOP / LAPTOP (> 1080px) OR IPAD (> 768px).
   ========================================================================== */
/* Hide mobile login list item on Desktop & Laptop (> 1366px) */
@media (min-width: 1367px) {
  .mobile-login-item,
  .drawer-footer {
    display: none !important;
  }
}

/* Ensure drawer-footer ONLY shows when the mobile drawer is active */
.nav-links:not(.active) .drawer-footer {
  display: none !important;
}

/* Display LOGIN / SIGN UP button inside mobile dropdown at bottom ONLY ON MOBILE / IPHONE (<= 768px) */
@media (max-width: 768px) {
  .nav-actions .btn-red,
  .nav-actions #navAuthBtn {
    display: none !important;
  }

  .mobile-login-item {
    display: block !important;
    margin-top: 0.75rem !important;
    padding: 0.75rem 0.5rem 0.5rem 0.5rem !important;
    border-top: 1px solid #e2e8f0 !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .mobile-drawer-auth-btn {
    width: 100% !important;
    padding: 0.85rem 1.25rem !important;
    font-size: 0.92rem !important;
    font-weight: 800 !important;
    border-radius: 10px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.5rem !important;
    background: #ef4444 !important;
    color: #ffffff !important;
    border: none !important;
    box-shadow: 0 4px 14px rgba(239, 68, 68, 0.25) !important;
    cursor: pointer !important;
  }
}

/* ==========================================================================
   EXCLUSIVE MOBILE UMRAH PACKAGES CAROUSEL (INFINITY LOOP + TOUCH SWIPE)
   Applies EXCLUSIVELY to Mobile Phones (<= 767px).
   DOES NOT TOUCH OR CHANGE DESKTOP / LAPTOP / IPAD (>= 768px).
   ========================================================================== */
.mobile-packages-view {
  display: none !important;
}

@media (min-width: 768px) {
  .desktop-packages-view {
    display: block !important;
  }
}

@media (max-width: 767px) {
  .packages-section {
    background-color: #f8fafc;
    background-image: url('images/mobile_packages_bg.jpg?v=20260805-v2');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    position: relative;
  }

  .desktop-packages-view {
    display: none !important;
  }

  .mobile-packages-view {
    display: block !important;
    padding: 2rem 0 2.5rem 0;
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
  }

  .mobile-packages-header {
    text-align: center;
    margin-bottom: 1.5rem;
    padding: 0 1rem;
  }

  .mobile-packages-title {
    font-family: var(--font-heading, 'Outfit', sans-serif);
    font-size: 1.35rem;
    font-weight: 900;
    color: #0f172a;
    line-height: 1.3;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0 0 0.85rem 0;
  }

  .mobile-lihat-semua-btn {
    display: inline-block;
    padding: 0.6rem 1.75rem;
    border: 2px solid #0f172a;
    border-radius: 50px;
    background: #ffffff;
    color: #0f172a;
    font-weight: 900;
    font-size: 0.84rem;
    letter-spacing: 1px;
    text-decoration: none;
    text-transform: uppercase;
    box-shadow: 0 4px 15px rgba(15, 23, 42, 0.08);
    transition: all 0.25s ease;
  }
  .mobile-lihat-semua-btn:active {
    background: #0f172a;
    color: #ffffff;
    transform: scale(0.96);
  }

  .mobile-packages-slider-wrapper {
    width: 100%;
    overflow: hidden;
    box-sizing: border-box;
    touch-action: pan-y;
    user-select: none;
    -webkit-user-select: none;
    position: relative;
  }
  .mobile-packages-slider-wrapper::-webkit-scrollbar {
    display: none;
  }

  .mobile-packages-track {
    display: flex;
    gap: 0.9rem;
    width: max-content;
    will-change: transform;
    transform: translateX(0px);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
  }

  /* Card Item - Sleek Alif Raudhah Midnight Royal Navy Theme */
  .mobile-package-card {
    /* One complete poster is shown on a phone; the following card only
       enters when the visitor swipes, so no artwork is cut off. */
    flex: 0 0 min(86vw, 340px);
    width: min(86vw, 340px);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    border: 0;
    padding: 0;
    box-sizing: border-box;
    overflow: visible;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    position: relative;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    touch-action: manipulation;
    cursor: pointer;
  }
  .mobile-package-card:active {
    transform: scale(0.97);
  }

  .mobile-card-img-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 9 / 16;
    height: auto;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.18);
  }
  .mobile-card-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: transparent;
    display: block;
    border-radius: 16px;
    transform: scale(1.02);
    transform-origin: center;
  }
  .mobile-card-img-overlay {
    display: none;
  }
  .mobile-card-umrah-text {
    font-family: var(--font-heading, 'Outfit', sans-serif);
    font-size: 1.85rem;
    font-weight: 900;
    color: #ffffff;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-shadow: 0 3px 10px rgba(0,0,0,0.7);
    line-height: 1;
    margin: 0;
  }

  .mobile-card-divider {
    display: none;
  }

  .mobile-card-pill-wrap {
    width: fit-content;
    max-width: 90%;
    padding: 0;
    margin: 0.7rem auto 0;
  }
  .mobile-card-pill-outer {
    border: 1px solid rgba(255, 255, 255, 0.78);
    border-radius: 50px;
    padding: 3px;
    background: rgba(15, 23, 42, 0.10);
    box-shadow: 0 7px 16px rgba(15, 23, 42, 0.14);
  }
  .mobile-card-pill-inner {
    border-radius: 50px;
    padding: 0.58rem 1.15rem;
    text-align: center;
    color: #ffffff;
    font-family: var(--font-heading, 'Outfit', sans-serif);
    font-weight: 900;
    font-size: 0.92rem;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    box-shadow: inset 0 2px 4px rgba(255,255,255,0.25);
  }

  /* Specific Pill Color Themes */
  .pill-green {
    background: linear-gradient(135deg, #10b981 0%, #047857 100%);
  }
  .pill-purple {
    background: linear-gradient(135deg, #8b5cf6 0%, #6d28d9 100%);
  }
  .pill-gold {
    background: linear-gradient(135deg, #f59e0b 0%, #b45309 100%);
  }
  .pill-blue {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
  }

  .mobile-card-price-text {
    display: none;
  }

  /* The cover artwork already carries the package name, inclusions and
     starting price. Hiding duplicate labels keeps the compact card clean. */
  .mobile-package-card .mobile-card-bottom {
    display: none;
  }

  .mobile-package-card::after {
    display: none;
  }

/* ========================================================================== 
   EXCLUSIVE MOBILE ALL PACKAGES FULLSCREEN VIEW (MOBILE <= 767px ONLY)
   ========================================================================== */
.mobile-all-packages-overlay {
  display: none !important;
}

@media (max-width: 767px) {
  .mobile-all-packages-overlay.active {
    display: block !important;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    width: 100vw;
    height: 100vh;
    background: #f8fafc;
    z-index: 99999;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    animation: mobileSlideUp 0.3s ease-out;
  }

  @keyframes mobileSlideUp {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
  }

  .mobile-all-packages-container {
    width: 100%;
    min-height: 100vh;
    background: #f8fafc;
    padding-bottom: 3rem;
  }

  .mobile-all-packages-header-bar {
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 0.85rem;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
  }

  .mobile-modal-back-btn {
    background: #f1f5f9;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    padding: 0.4rem 0.75rem;
    font-size: 0.82rem;
    font-weight: 800;
    color: #2563eb;
    display: flex;
    align-items: center;
    gap: 0.35rem;
    cursor: pointer;
  }

  .mobile-modal-menu-btn {
    background: #fee2e2;
    border: 1px solid #fca5a5;
    border-radius: 8px;
    width: 36px;
    height: 36px;
    color: #ef4444;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
  }

  .mobile-modal-nav-dropdown {
    display: none;
    position: sticky;
    top: 60px;
    left: 0;
    right: 0;
    background: #ffffff;
    border-bottom: 2.5px solid #2563eb;
    box-shadow: 0 10px 25px rgba(0,0,0,0.12);
    z-index: 99;
  }
  .mobile-modal-nav-dropdown.active {
    display: block;
    animation: mobileSlideDown 0.2s ease-out;
  }

  @keyframes mobileSlideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
  }

  .mobile-modal-nav-dropdown a {
    text-decoration: none;
    color: #0f172a;
    font-weight: 700;
    font-size: 0.92rem;
    display: flex;
    align-items: center;
    gap: 0.65rem;
  }

  /* Rakan Strategik Inside Modal */
  .mobile-modal-partners-section {
    background: #ffffff;
    padding: 2rem 0;
    border-top: 1px solid #e2e8f0;
    margin-top: 1.5rem;
    text-align: center;
  }
  .mobile-modal-partners-title {
    font-family: var(--font-heading, 'Outfit', sans-serif);
    font-size: 1.1rem;
    font-weight: 900;
    color: #0f172a;
    margin-bottom: 1.25rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
  }
    font-size: 0.92rem;
    color: #0f172a;
    text-align: center;
  }

  .mobile-close-x-btn {
    background: #f1f5f9;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-size: 1.3rem;
    line-height: 1;
    color: #64748b;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  /* Hero Banner with Yellow Text - FULL UNCROPPED IMAGE, NO CUT, NO GAP */
  .mobile-packages-hero-banner {
    position: relative;
    width: 100%;
    margin-top: 0;
    overflow: hidden;
    background: #0f172a;
  }
  .mobile-hero-bg-img {
    width: 100%;
    height: 190px;
    object-fit: cover;
    object-position: center;
    display: block;
    filter: brightness(0.75);
  }
  .mobile-hero-banner-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.15) 0%, rgba(15, 23, 42, 0.7) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 1rem;
  }
  .mobile-hero-yellow-title {
    font-family: var(--font-heading, 'Outfit', sans-serif);
    font-size: 1.65rem;
    font-weight: 900;
    color: #facc15;
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1.25;
    text-shadow: 0 3px 12px rgba(0,0,0,0.85);
    margin: 0;
  }

  /* Main Body with Mobile Background Image */
  .mobile-packages-body {
    padding: 1.25rem 0.9rem;
    background-image: url('images/mobile_packages_bg.jpg?v=20260805');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    overflow: hidden;
    box-sizing: border-box;
    width: 100%;
  }

  .mobile-count-filter-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
  }
  .mobile-packages-count-text {
    font-size: 1.15rem;
    font-weight: 800;
    color: #0f172a;
  }
  .mobile-filter-btn {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.45rem 1.1rem;
    border: 1.5px solid #cbd5e1;
    border-radius: 50px;
    background: #ffffff;
    color: #334155;
    font-weight: 700;
    font-size: 0.85rem;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0,0,0,0.04);
  }

  /* Filter Box */
  .mobile-filter-card-box {
    background: #ffffff;
    border-radius: 16px;
    padding: 0.75rem 0.75rem 0.85rem 0.75rem;
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
    border: 1px solid #e2e8f0;
    margin-bottom: 1.25rem;
  }

  .mobile-filter-tabs {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 2px solid #f1f5f9;
    padding-bottom: 0.25rem;
    margin-bottom: 0.75rem;
  }
  .mobile-tab-btn {
    flex: 1;
    background: none;
    border: none;
    padding: 0.65rem 0.25rem;
    font-weight: 700;
    font-size: 0.84rem;
    color: #64748b;
    cursor: pointer;
    position: relative;
    text-align: center;
    transition: color 0.2s;
  }
  .mobile-tab-btn.active {
    color: #2563eb;
    font-weight: 800;
  }
  .mobile-tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 10%;
    right: 10%;
    height: 3px;
    background: #2563eb;
    border-radius: 3px;
  }

  .mobile-price-select-wrap {
    width: 100%;
  }
  .mobile-price-select {
    width: 100%;
    padding: 0.65rem 0.85rem;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    font-size: 0.88rem;
    font-weight: 700;
    color: #334155;
    background: #f8fafc;
    outline: none;
  }

  /* List Cards */
  .mobile-packages-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }

  .mobile-pkg-item-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 1.1rem;
    border: 1.5px solid #e2e8f0;
    box-shadow: 0 4px 14px rgba(0,0,0,0.04);
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    transition: transform 0.2s;
    cursor: pointer;
  }
  .mobile-pkg-item-card:active {
    transform: scale(0.99);
  }

  .mobile-pkg-sector-badge {
    align-self: flex-start;
    display: inline-block;
    padding: 0.35rem 0.85rem;
    border-radius: 20px;
    background: #fdf2f8;
    color: #be185d;
    font-weight: 800;
    font-size: 0.72rem;
    letter-spacing: 0.5px;
    border: 1px solid #fbcfe8;
  }

  .mobile-pkg-title {
    font-size: 1.15rem;
    font-weight: 900;
    color: #0f172a;
    margin: 0;
  }

  .mobile-pkg-meta-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #64748b;
    font-size: 0.82rem;
    font-weight: 600;
  }

  .mobile-pkg-price-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 0.4rem;
    padding-top: 0.65rem;
    border-top: 1px dashed #e2e8f0;
  }

  .mobile-pkg-price-val {
    font-size: 1.25rem;
    font-weight: 900;
    color: #2563eb;
  }

  .mobile-pkg-action-btn {
    padding: 0.55rem 1.1rem;
    border-radius: 10px;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: #ffffff;
    font-weight: 800;
    font-size: 0.82rem;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(37,99,235,0.25);
  }

  .mobile-price-trigger-box {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    font-size: 0.88rem;
    font-weight: 800;
    color: #334155;
    background: #f8fafc;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.03);
    transition: border-color 0.2s, background 0.2s;
  }
  .mobile-price-trigger-box:active {
    border-color: #2563eb;
    background: #eff6ff;
  }
}

/* ==========================================================================
   EXCLUSIVE MOBILE PRICE RANGE FILTER MODAL (MOBILE <= 767px ONLY)
   ========================================================================== */
.mobile-price-modal-overlay {
  display: none !important;
}

@media (max-width: 767px) {
  .mobile-price-modal-overlay.active {
    display: flex !important;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(4px);
    z-index: 100000;
    align-items: flex-end;
    justify-content: center;
    animation: mobileFadeIn 0.25s ease-out;
  }

  @keyframes mobileFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
  }

  .mobile-price-modal-card {
    width: 100%;
    max-width: 100%;
    background: #ffffff;
    border-radius: 24px 24px 0 0;
    padding: 1.75rem 1.25rem 2rem 1.25rem;
    position: relative;
    box-shadow: 0 -10px 30px rgba(0,0,0,0.15);
    animation: mobileSlideUpCard 0.3s ease-out;
    box-sizing: border-box;
  }

  @keyframes mobileSlideUpCard {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
  }

  .mobile-price-modal-close {
    position: absolute;
    top: 1rem;
    right: 1.25rem;
    background: #f1f5f9;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-size: 1.4rem;
    color: #64748b;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .mobile-price-modal-title {
    font-family: var(--font-heading, 'Outfit', sans-serif);
    font-size: 1.35rem;
    font-weight: 900;
    color: #0f172a;
    margin: 0 0 0.25rem 0;
  }

  .mobile-price-modal-subtitle {
    font-size: 0.88rem;
    color: #64748b;
    font-weight: 600;
    margin: 0 0 1.75rem 0;
  }

  /* Dual Slider Track */
  .mobile-price-slider-container {
    position: relative;
    width: 100%;
    height: 40px;
    margin-bottom: 1.5rem;
  }

  .mobile-price-track-bar {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    height: 8px;
    width: 100%;
    background: linear-gradient(90deg, #e2e8f0 0%, #2563eb 0%, #2563eb 100%, #e2e8f0 100%);
    border-radius: 10px;
  }

  .mobile-price-slider-container input[type="range"] {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    -webkit-appearance: none;
    appearance: none;
    background: none;
    pointer-events: none;
    margin: 0;
  }

  .mobile-price-slider-container input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #ffffff;
    border: 4px solid #2563eb;
    box-shadow: 0 3px 10px rgba(37, 99, 235, 0.35);
    cursor: pointer;
    pointer-events: auto;
  }

  .mobile-price-slider-container input[type="range"]::-moz-range-thumb {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #ffffff;
    border: 4px solid #2563eb;
    box-shadow: 0 3px 10px rgba(37, 99, 235, 0.35);
    cursor: pointer;
    pointer-events: auto;
  }

  /* Min & Max Display Boxes */
  .mobile-price-boxes-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.75rem;
  }

  .mobile-price-box {
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    border-radius: 16px;
    padding: 0.85rem 1.1rem;
  }

  .mobile-price-box-label {
    display: block;
    font-size: 0.8rem;
    font-weight: 800;
    color: #64748b;
    margin-bottom: 0.3rem;
  }

  .mobile-price-box-val {
    font-size: 1.2rem;
    font-weight: 900;
    color: #0f172a;
  }

  /* Actions: Reset & Terapkan */
  .mobile-price-modal-actions {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 0.85rem;
    padding-top: 1rem;
    border-top: 1px solid #f1f5f9;
  }

  .mobile-price-btn-reset {
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 16px;
    padding: 0.95rem;
    font-size: 0.95rem;
    font-weight: 800;
    color: #64748b;
    cursor: pointer;
    transition: background 0.2s;
  }
  .mobile-price-btn-reset:active {
    background: #f1f5f9;
  }

  .mobile-price-btn-apply {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    border: none;
    border-radius: 16px;
    padding: 0.95rem;
    font-size: 0.98rem;
    font-weight: 900;
    color: #ffffff;
    cursor: pointer;
    box-shadow: 0 6px 18px rgba(37, 99, 235, 0.3);
    transition: transform 0.2s;
  }
  .mobile-price-btn-apply:active {
    transform: scale(0.98);
  }
}

/* ==========================================================================
   EXCLUSIVE MOBILE PACKAGE CARD V2 DESIGN (MATCHING REFERENCE IMAGE 2)
   ========================================================================== */
.mobile-card-v2 {
  background: #ffffff;
  border-radius: 24px;
  padding: 1.25rem;
  border: 1.5px solid #e2e8f0;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  margin-bottom: 1.25rem;
  box-sizing: border-box;
  width: 100%;
  overflow: hidden;
  word-break: break-word;
}

.m-card-v2-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  min-width: 0;
}

.m-card-v2-header > div:first-child {
  min-width: 0;
  flex: 1;
}

.m-card-sector-pill {
  display: inline-block;
  padding: 0.3rem 0.75rem;
  border-radius: 50px;
  background: #fdf2f8;
  color: #be185d;
  font-weight: 800;
  font-size: 0.68rem;
  letter-spacing: 0.3px;
  border: 1px solid #fbcfe8;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.m-card-flight-code {
  font-family: var(--font-heading, 'Outfit', sans-serif);
  font-size: 1.25rem;
  font-weight: 900;
  color: #0f172a;
  margin-top: 0.5rem;
  letter-spacing: 0.5px;
}

.m-card-airline-logo-wrap {
  width: 110px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-shrink: 0;
  background: transparent;
  border: none;
  box-shadow: none;
  overflow: hidden;
  border-radius: 10px;
}

.m-card-airline-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
  filter: none;
  border: none;
  box-shadow: none;
  border-radius: 0;
}

/* Feature Boxes */
.m-card-feature-box {
  background: #fdf4ff;
  border: 1px solid #fae8ff;
  border-radius: 16px;
  padding: 0.8rem 0.85rem;
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  min-width: 0;
  box-sizing: border-box;
}

.m-card-feature-box > div {
  min-width: 0;
  flex: 1;
  overflow: hidden;
}
.card-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
  padding: 0.85rem 0;
  border-top: 1px dashed var(--border-blue);
  border-bottom: 1px dashed var(--border-blue);
  margin-bottom: 1.25rem;
  font-size: 0.83rem;
  color: var(--text-secondary);
  font-weight: 500;
}
.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
  line-height: 1.35;
}
.feature-item:first-child {
  grid-column: 1 / -1;
  padding-bottom: 0.25rem;
  border-bottom: 1px dashed #dbeafe;
  margin-bottom: 0.25rem;
}
.feature-item i {
  color: var(--primary-red);
  font-size: 0.9rem;
  margin-top: 0.15rem;
  flex-shrink: 0;
}

.m-card-feature-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
}

.m-card-icon-badge {
  width: 36px;
  height: 36px;
  min-width: 36px;
  min-height: 36px;
  max-width: 36px;
  max-height: 36px;
  flex: 0 0 36px;
  border-radius: 10px;
  background: #f5d0fe;
  color: #c026d3;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  box-sizing: border-box;
}

.m-card-icon-badge.purple {
  background: #f3e8ff;
  color: #9333ea;
}

.m-card-icon-badge.blue {
  background: #dbeafe;
  color: #2563eb;
}

.m-card-feature-label {
  font-size: 0.68rem;
  font-weight: 800;
  color: #c026d3;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  white-space: nowrap;
}

.m-card-feature-val {
  font-size: 0.82rem;
  font-weight: 900;
  color: #0f172a;
  margin-top: 0.15rem;
  word-break: break-word;
  line-height: 1.3;
}

/* Hotel Boxes */
.m-card-hotel-box {
  background: #faf5ff;
  border: 1px solid #f3e8ff;
  border-radius: 16px;
  padding: 0.9rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  box-sizing: border-box;
}

.m-card-hotel-header {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  min-width: 0;
}

.m-card-hotel-header > div {
  min-width: 0;
  flex: 1;
}

.m-card-hotel-label {
  font-size: 0.68rem;
  font-weight: 800;
  color: #9333ea;
  letter-spacing: 0.6px;
  text-transform: uppercase;
}

.m-card-hotel-name {
  font-size: 0.88rem;
  font-weight: 900;
  color: #0f172a;
  line-height: 1.35;
  word-break: break-word;
}

.m-card-hotel-details {
  font-size: 0.78rem;
  color: #475569;
  font-weight: 600;
  line-height: 1.45;
  padding-left: 0.25rem;
  word-break: break-word;
}

/* Nota Penting Box */
.m-card-nota-box {
  background: #eff6ff;
  border: 1px solid #dbeafe;
  border-radius: 16px;
  padding: 0.95rem 1rem;
}

.m-card-nota-header {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.4rem;
}

.m-card-nota-label {
  font-size: 0.75rem;
  font-weight: 800;
  color: #2563eb;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.m-card-nota-list {
  list-style: disc;
  padding-left: 1.25rem;
  margin: 0;
  color: #1e40af;
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.5;
}

/* Action Buttons Row */
.m-card-actions-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.m-card-action-btn {
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  color: #ffffff;
  border: none;
  border-radius: 50px;
  padding: 0.8rem 0.5rem;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.5px;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
  transition: transform 0.2s, box-shadow 0.2s;
  text-align: center;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.m-card-action-btn:active {
  transform: scale(0.97);
}

/* Card Footer Pricing & CTA */
.m-card-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px dashed #e2e8f0;
}

.m-card-price-container {
  text-align: center;
}

.m-card-price-label {
  font-size: 0.72rem;
  font-weight: 800;
  color: #64748b;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.m-card-price-val {
  font-size: 1.1rem;
  font-weight: 900;
  color: #0f172a;
}

.m-card-price-val span {
  font-size: 1.8rem;
  font-weight: 900;
  color: #0f172a;
}

.m-card-cta-btn {
  width: 100%;
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  color: #ffffff;
  border: none;
  border-radius: 50px;
  padding: 0.95rem 1.5rem;
  font-size: 0.98rem;
  font-weight: 900;
  letter-spacing: 0.8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  box-shadow: 0 6px 18px rgba(239, 68, 68, 0.35);
  transition: transform 0.2s;
  text-decoration: none;
}

/* Mobile package list: compact Alif Raudhah navy / red hierarchy.
   Kept to the mobile card component so tablet and desktop are unaffected. */
@media (max-width: 767px) {
  .mobile-card-v2 {
    padding: 1rem;
    gap: 0.75rem;
    border: 1px solid #d7e2f1;
    border-top: 4px solid #e3222b;
    border-radius: 18px;
    box-shadow: 0 10px 22px rgba(15, 40, 92, 0.08);
  }

  .m-card-sector-pill {
    background: #edf3ff;
    border-color: #cdddf6;
    color: #1c4ba0;
    font-size: 0.64rem;
  }

  .m-card-flight-code {
    color: #102d68;
    font-size: 1.1rem;
    margin-top: 0.35rem;
  }

  .m-card-airline-logo-wrap {
    width: 88px;
    height: 42px;
  }

  .m-card-journey-summary {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border: 1px solid #dce7f5;
    border-radius: 13px;
    background: #f6f9fe;
    overflow: hidden;
  }

  .m-card-journey-item {
    min-width: 0;
    padding: 0.65rem 0.45rem;
    display: flex;
    align-items: flex-start;
    gap: 0.35rem;
    border-right: 1px solid #dce7f5;
  }

  .m-card-journey-item:last-child { border-right: 0; }
  .m-card-journey-item > i {
    color: #e3222b;
    font-size: 0.72rem;
    margin-top: 0.14rem;
    flex: 0 0 auto;
  }
  .m-card-journey-item div { min-width: 0; }
  .m-card-journey-item span,
  .m-card-journey-item strong {
    display: block;
    overflow-wrap: anywhere;
  }
  .m-card-journey-item span {
    color: #5a6b84;
    font-size: 0.53rem;
    font-weight: 800;
    letter-spacing: 0.03em;
  }
  .m-card-journey-item strong {
    margin-top: 0.15rem;
    color: #102d68;
    font-size: 0.64rem;
    font-weight: 900;
    line-height: 1.25;
  }

  .m-card-hotel-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.55rem;
  }
  .m-card-hotel-box {
    padding: 0.7rem 0.75rem;
    gap: 0.35rem;
    background: #fff;
    border: 1px solid #dce7f5;
    border-radius: 12px;
  }
  .m-card-icon-badge,
  .m-card-icon-badge.purple {
    width: 28px;
    height: 28px;
    min-width: 28px;
    min-height: 28px;
    flex-basis: 28px;
    border-radius: 8px;
    background: #edf3ff;
    color: #1c55bd;
    font-size: 0.72rem;
  }
  .m-card-hotel-label {
    color: #1c4ba0;
    font-size: 0.6rem;
  }
  .m-card-hotel-name {
    color: #102d68;
    font-size: 0.78rem;
    line-height: 1.25;
  }
  .m-card-hotel-details {
    color: #61718a;
    font-size: 0.68rem;
    line-height: 1.35;
    padding-left: 0;
  }

  .m-card-footer {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
    padding-top: 0.75rem;
    border-top-color: #dce7f5;
  }
  .m-card-price-container { text-align: left; }
  .m-card-price-label {
    color: #61718a;
    font-size: 0.58rem;
    letter-spacing: 0.06em;
  }
  .m-card-price-val { color: #102d68; font-size: 0.74rem; white-space: nowrap; }
  .m-card-price-val span { color: #e3222b; font-size: 1.2rem; }
  .m-card-cta-btn {
    width: auto;
    flex: 0 0 auto;
    padding: 0.67rem 0.75rem;
    border-radius: 10px;
    font-size: 0.62rem;
    letter-spacing: 0.02em;
    background: #102d68;
    box-shadow: 0 5px 12px rgba(16, 45, 104, 0.2);
    white-space: nowrap;
  }
}
/* ==========================================================================
   EXCLUSIVE MOBILE PACKAGE DETAIL MODAL STYLING (FIT FOR MOBILE <= 767px)
   ========================================================================== */
/* ==========================================================================
   EXCLUSIVE MOBILE PACKAGE & PRICE DETAILS MODAL STYLING (<= 767px)
   Supports Vertical (Portrait) & Horizontal (Landscape) Phone Views
   ========================================================================== */
@media (max-width: 767px) {

  /* -------------------------------------------------------------------------
     1. OVERLAYS & SCROLL LOCK
     ------------------------------------------------------------------------- */
  .modal-overlay#packageModal,
  .price-modal-overlay {
    position: fixed !important;
    inset: 0 !important;
    background: rgba(15, 23, 42, 0.85) !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    z-index: 999999 !important;
    display: none;
    align-items: flex-start !important; /* Top-aligned so top header never cut off */
    justify-content: center !important;
    padding: 0.75rem 0.5rem !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
    box-sizing: border-box !important;
  }

  .modal-overlay#packageModal.active,
  .price-modal-overlay.active {
    display: flex !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
  }

  /* -------------------------------------------------------------------------
     2. MODAL CARDS WRAPPER
     ------------------------------------------------------------------------- */
  .modal-overlay#packageModal .modal-card,
  .price-modal-card {
    width: 100% !important;
    max-width: 480px !important;
    margin: 0.5rem auto !important;
    padding: 0 !important;
    border-radius: 20px !important;
    overflow: hidden !important;
    max-height: none !important;
    height: auto !important;
    display: block !important;
    border: none !important;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.4) !important;
    background: #ffffff !important;
    transform: none !important;
    position: relative !important;
    box-sizing: border-box !important;
  }

  /* -------------------------------------------------------------------------
     3. MODAL HEADERS & CLOSE BUTTONS
     ------------------------------------------------------------------------- */
  .saver-details-header,
  .price-modal-header {
    background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 100%) !important;
    padding: 1.25rem 3.5rem 1.25rem 1.15rem !important; /* Extra right padding prevents title overlap with close btn */
    border-radius: 20px 20px 0 0 !important;
    color: #ffffff !important;
    position: relative !important;
    width: 100% !important;
    box-sizing: border-box !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 0.35rem !important;
  }

  .modal-close,
  .price-modal-close {
    position: absolute !important;
    top: 0.85rem !important;
    right: 0.85rem !important;
    width: 36px !important;
    height: 36px !important;
    border-radius: 50% !important;
    background: rgba(255, 255, 255, 0.2) !important;
    color: #ffffff !important;
    font-size: 1.1rem !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    cursor: pointer !important;
    z-index: 100 !important;
    line-height: 1 !important;
    transition: transform 0.2s ease !important;
  }
  .modal-close:active,
  .price-modal-close:active {
    transform: scale(0.92) !important;
  }

  .saver-details-eyebrow {
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.35rem !important;
    background: rgba(255, 255, 255, 0.18) !important;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    padding: 0.3rem 0.75rem !important;
    border-radius: 50px !important;
    font-weight: 800 !important;
    font-size: 0.7rem !important;
    letter-spacing: 0.5px !important;
    text-transform: uppercase !important;
  }

  .saver-details-header h2,
  .price-modal-title {
    color: #ffffff !important;
    font-size: 1.35rem !important;
    font-weight: 900 !important;
    margin: 0.2rem 0 0.1rem 0 !important;
    line-height: 1.25 !important;
    word-break: break-word !important;
    display: flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
  }

  .price-modal-title i {
    color: #facc15 !important;
    font-size: 1.2rem !important;
    flex-shrink: 0 !important;
  }

  .saver-details-header p {
    color: #cbd5e1 !important;
    font-size: 0.82rem !important;
    line-height: 1.4 !important;
    margin: 0 !important;
  }

  /* -------------------------------------------------------------------------
     4. MODAL BODY
     ------------------------------------------------------------------------- */
  .saver-details-body,
  .price-modal-body {
    padding: 1.15rem 1rem !important;
    overflow: visible !important;
    background: #ffffff !important;
    box-sizing: border-box !important;
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 1.15rem !important;
  }

  .saver-section-heading,
  .modal-section-heading {
    margin-bottom: 0.75rem !important;
    border-bottom: none !important;
    padding-bottom: 0 !important;
  }

  .saver-section-heading > div > span {
    color: #2563eb !important;
    font-size: 0.7rem !important;
    font-weight: 800 !important;
    letter-spacing: 0.8px !important;
    text-transform: uppercase !important;
    display: block !important;
    margin-bottom: 0.2rem !important;
  }

  .saver-section-heading h3,
  .modal-section-heading {
    font-size: 1.02rem !important;
    font-weight: 900 !important;
    color: #0f172a !important;
    margin: 0 !important;
  }

  /* -------------------------------------------------------------------------
     5. SUMMARY INFO GRID (#priceDetailsModal)
     ------------------------------------------------------------------------- */
  .modal-summary-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 0.65rem !important;
    background: #f8fafc !important;
    padding: 0.85rem 0.9rem !important;
    border-radius: 14px !important;
    border: 1px solid #e2e8f0 !important;
    box-sizing: border-box !important;
  }

  .modal-summary-item {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.15rem !important;
    min-width: 0 !important;
  }

  .summary-item-label {
    font-size: 0.68rem !important;
    font-weight: 800 !important;
    color: #64748b !important;
    text-transform: uppercase !important;
    letter-spacing: 0.4px !important;
  }

  .summary-item-val {
    font-size: 0.85rem !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    line-height: 1.3 !important;
    word-break: break-word !important;
  }

  /* -------------------------------------------------------------------------
     6. ROOM PRICING MATRIX & CARDS
     ------------------------------------------------------------------------- */
  .room-pricing-matrix {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.85rem !important;
  }

  .room-pricing-block {
    margin-bottom: 0 !important;
    background: #ffffff !important;
  }

  .room-type-heading {
    font-size: 0.9rem !important;
    font-weight: 900 !important;
    color: #0f172a !important;
    margin: 0 0 0.4rem 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex-wrap: wrap !important;
    gap: 0.35rem !important;
  }

  .room-train-note {
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.3rem !important;
    background: #eff6ff !important;
    color: #2563eb !important;
    border: 1px solid #dbeafe !important;
    padding: 0.15rem 0.55rem !important;
    border-radius: 50px !important;
    font-size: 0.68rem !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
  }

  .room-cards-grid,
  .room-cards-grid-standardised {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.5rem !important;
    width: 100% !important;
  }

  .room-price-card {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 0.75rem 0.9rem !important;
    background: #f8fafc !important;
    border: 1.5px solid #e2e8f0 !important;
    border-radius: 12px !important;
    box-sizing: border-box !important;
    width: 100% !important;
    gap: 0.5rem !important;
    min-width: 0 !important;
  }

  .room-price-card.card-dewasa {
    background: #fff5f5 !important;
    border-color: #fecaca !important;
  }

  .card-pax-label {
    font-size: 0.82rem !important;
    font-weight: 800 !important;
    color: #334155 !important;
    flex: 1 !important;
    min-width: 0 !important;
    line-height: 1.3 !important;
  }

  .card-dewasa .card-pax-label {
    color: #dc2626 !important;
  }

  .card-pax-label small {
    display: block !important;
    font-size: 0.65rem !important;
    font-weight: 700 !important;
    color: #64748b !important;
    margin-top: 0.1rem !important;
  }

  .card-pax-price {
    font-size: 0.95rem !important;
    font-weight: 900 !important;
    color: #0f172a !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
  }

  .card-dewasa .card-pax-price {
    color: #dc2626 !important;
  }

  /* -------------------------------------------------------------------------
     7. SAVER ROOM CARDS (#packageModal)
     ------------------------------------------------------------------------- */
  .saver-room-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.55rem !important;
    margin-bottom: 1.15rem !important;
  }

  .saver-room-card {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 0.75rem !important;
    padding: 0.85rem 0.95rem !important;
    background: #f8fafc !important;
    border: 1.5px solid #e2e8f0 !important;
    border-radius: 14px !important;
    box-sizing: border-box !important;
    width: 100% !important;
  }

  .saver-room-left {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.25rem !important;
    flex: 1 !important;
    min-width: 0 !important;
  }

  .saver-room-name {
    font-size: 0.85rem !important;
    font-weight: 800 !important;
    color: #1e293b !important;
    text-transform: uppercase !important;
    line-height: 1.3 !important;
    white-space: normal !important;
    word-break: normal !important;
  }

  .saver-room-note {
    font-size: 0.68rem !important;
    font-weight: 700 !important;
    color: #2563eb !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.25rem !important;
    background: #eff6ff !important;
    border: 1px solid #dbeafe !important;
    padding: 0.15rem 0.5rem !important;
    border-radius: 50px !important;
    width: fit-content !important;
    font-style: normal !important;
  }

  .saver-room-price {
    font-size: 0.95rem !important;
    font-weight: 900 !important;
    color: #dc2626 !important;
    text-align: right !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
  }

  /* -------------------------------------------------------------------------
     8. INCLUDED TABLE & DETAILS
     ------------------------------------------------------------------------- */
  .saver-included-details,
  .saver-info {
    border: 1px solid #dbeafe !important;
    border-radius: 14px !important;
    overflow: hidden !important;
    background: #ffffff !important;
  }

  .saver-included-heading {
    padding: 0.85rem 0.95rem !important;
    background: linear-gradient(90deg, #eff6ff 0%, #f8fafc 100%) !important;
    border-bottom: 1px solid #dbeafe !important;
  }

  .saver-included-heading h4 {
    font-size: 0.95rem !important;
    font-weight: 900 !important;
    color: #0f172a !important;
  }

  .saver-included-table-wrap {
    overflow-x: auto !important;
    width: 100% !important;
  }

  .saver-included-table {
    width: 100% !important;
    border-collapse: collapse !important;
  }

  .saver-included-table th,
  .saver-included-table td {
    padding: 0.6rem 0.75rem !important;
    font-size: 0.78rem !important;
    line-height: 1.4 !important;
  }

  .saver-included-table th {
    width: 38% !important;
    background: #f8fafc !important;
    color: #334155 !important;
    font-weight: 800 !important;
  }

  .saver-included-table td {
    color: #0f172a !important;
    font-weight: 600 !important;
    word-break: break-word !important;
  }

  .saver-detail-list {
    margin: 0 !important;
    padding: 0 !important;
  }

  .saver-detail-row {
    display: grid !important;
    grid-template-columns: 40% 1fr !important;
    gap: 0.25rem !important;
    padding: 0.7rem 0.85rem !important;
    border-bottom: 1px solid #e2e8f0 !important;
    align-items: baseline !important;
  }

  .saver-detail-row:last-child {
    border-bottom: none !important;
  }

  .saver-detail-row dt {
    font-size: 0.78rem !important;
    font-weight: 800 !important;
    color: #334155 !important;
    line-height: 1.35 !important;
  }

  .saver-detail-row dd {
    font-size: 0.78rem !important;
    font-weight: 600 !important;
    color: #0f172a !important;
    margin: 0 !important;
    line-height: 1.4 !important;
    word-break: break-word !important;
  }

  /* -------------------------------------------------------------------------
     9. ACTION BARS & FOOTERS
     ------------------------------------------------------------------------- */
  .modal-actions-bar {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 0.65rem !important;
    margin-top: 0.5rem !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .btn-modal-close-text {
    flex: 1 !important;
    padding: 0.75rem 0.5rem !important;
    border-radius: 50px !important;
    border: 1.5px solid #cbd5e1 !important;
    background: #ffffff !important;
    color: #475569 !important;
    font-weight: 800 !important;
    font-size: 0.8rem !important;
    cursor: pointer !important;
    text-align: center !important;
  }

  .btn-modal-submit {
    flex: 2 !important;
    padding: 0.75rem 0.75rem !important;
    border-radius: 50px !important;
    border: none !important;
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%) !important;
    color: #ffffff !important;
    font-weight: 900 !important;
    font-size: 0.85rem !important;
    letter-spacing: 0.5px !important;
    cursor: pointer !important;
    text-align: center !important;
    box-shadow: 0 4px 14px rgba(239, 68, 68, 0.35) !important;
  }

  .saver-details-footer {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 0.95rem 1.15rem !important;
    background: #f8fafc !important;
    border-top: 1px solid #e2e8f0 !important;
    border-radius: 0 0 20px 20px !important;
    gap: 0.75rem !important;
  }

  .saver-details-footer > div {
    display: flex !important;
    flex-direction: column !important;
  }

  .saver-details-footer > div > span {
    font-size: 0.7rem !important;
    color: #64748b !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
  }

  .saver-details-footer strong {
    font-size: 1.2rem !important;
    font-weight: 900 !important;
    color: #0f172a !important;
  }

  .saver-details-footer .btn-red {
    padding: 0.75rem 1.15rem !important;
    border-radius: 50px !important;
    font-size: 0.85rem !important;
    font-weight: 900 !important;
    white-space: nowrap !important;
  }

  /* -------------------------------------------------------------------------
     11. AMAL SURCHARGE MODAL & TEMPAH AUTH MODAL (MOBILE FIT & ORIENTATION)
     ------------------------------------------------------------------------- */
  .amal-modal-overlay,
  .tempah-modal-overlay {
    position: fixed !important;
    inset: 0 !important;
    background: rgba(15, 23, 42, 0.85) !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    z-index: 999999 !important;
    display: none;
    align-items: flex-start !important; /* Top-aligned for vertical & horizontal scroll support */
    justify-content: center !important;
    padding: 0.75rem 0.5rem !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
    box-sizing: border-box !important;
  }

  .amal-modal-overlay.active,
  .tempah-modal-overlay.active {
    display: flex !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
  }

  .amal-modal-card {
    width: 100% !important;
    max-width: 480px !important;
    margin: 0.5rem auto !important;
    padding: 1.35rem 1.15rem 1.15rem 1.15rem !important;
    border-radius: 20px !important;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.4) !important;
    background: #ffffff !important;
    border: 1.5px solid #dbeafe !important;
    box-sizing: border-box !important;
    transform: none !important;
    position: relative !important;
  }

  .amal-modal-close {
    position: absolute !important;
    top: 0.85rem !important;
    right: 0.85rem !important;
    width: 34px !important;
    height: 34px !important;
    border-radius: 50% !important;
    background: #f1f5f9 !important;
    border: 1px solid #cbd5e1 !important;
    color: #475569 !important;
    font-size: 1rem !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    z-index: 10 !important;
    transition: transform 0.2s ease !important;
  }
  .amal-modal-close:active {
    transform: scale(0.92) !important;
  }

  .amal-modal-header {
    display: flex !important;
    align-items: flex-start !important;
    gap: 0.85rem !important;
    margin-bottom: 1rem !important;
    padding-right: 2.2rem !important; /* Right margin to prevent title collision with X button */
  }

  .amal-icon-circle {
    width: 44px !important;
    height: 44px !important;
    border-radius: 50% !important;
    background: #fee2e2 !important;
    color: #ef4444 !important;
    border: 1.5px solid #fca5a5 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 1.15rem !important;
    flex-shrink: 0 !important;
  }

  .amal-badge {
    font-size: 0.68rem !important;
    padding: 0.25rem 0.65rem !important;
    border-radius: 50px !important;
    background: #dbeafe !important;
    color: #1d4ed8 !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    border: 1px solid #bfdbfe !important;
    margin-bottom: 0.35rem !important;
    display: inline-block !important;
  }

  .amal-title {
    font-size: 1.12rem !important;
    font-weight: 900 !important;
    color: #0f172a !important;
    line-height: 1.3 !important;
    text-transform: uppercase !important;
    margin: 0 !important;
    word-break: break-word !important;
  }

  .amal-modal-body {
    font-size: 0.84rem !important;
    line-height: 1.55 !important;
    color: #334155 !important;
    margin-bottom: 1.15rem !important;
  }

  .amal-note-box {
    background: #eff6ff !important;
    border: 1.5px solid #bfdbfe !important;
    border-radius: 14px !important;
    padding: 0.85rem 0.95rem !important;
    display: flex !important;
    align-items: center !important;
    gap: 0.75rem !important;
    margin: 1rem 0 !important;
    box-sizing: border-box !important;
  }

  .amal-note-icon {
    width: 34px !important;
    height: 34px !important;
    border-radius: 50% !important;
    background: #fee2e2 !important;
    color: #ef4444 !important;
    border: 1px solid #fca5a5 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 0.95rem !important;
    flex-shrink: 0 !important;
  }

  .amal-note-text {
    font-size: 0.82rem !important;
    color: #0f172a !important;
    line-height: 1.45 !important;
    flex: 1 !important;
    min-width: 0 !important;
  }

  .amal-modal-footer {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.65rem !important;
    width: 100% !important;
    padding-top: 0.25rem !important;
  }

  .btn-amal-secondary {
    width: 100% !important;
    padding: 0.75rem !important;
    border-radius: 50px !important;
    border: 1.5px solid #cbd5e1 !important;
    background: #ffffff !important;
    color: #2563eb !important;
    font-weight: 800 !important;
    font-size: 0.82rem !important;
    text-align: center !important;
    cursor: pointer !important;
  }

  .btn-amal-primary {
    width: 100% !important;
    padding: 0.8rem !important;
    border-radius: 50px !important;
    border: none !important;
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%) !important;
    color: #ffffff !important;
    font-weight: 900 !important;
    font-size: 0.88rem !important;
    letter-spacing: 0.5px !important;
    text-align: center !important;
    cursor: pointer !important;
    box-shadow: 0 4px 14px rgba(239, 68, 68, 0.35) !important;
  }

  .tempah-modal-card {
    width: 100% !important;
    max-width: 440px !important;
    margin: 0.5rem auto !important;
    padding: 1.5rem 1.25rem !important;
    border-radius: 20px !important;
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.35) !important;
    box-sizing: border-box !important;
    position: relative !important;
  }

  .tempah-modal-logo {
    max-width: 150px !important;
    height: auto !important;
    display: block !important;
    margin: 0 auto 1.15rem auto !important;
  }

  .tempah-auth-tabs {
    display: flex !important;
    background: #f1f5f9 !important;
    border-radius: 50px !important;
    padding: 0.25rem !important;
    margin-bottom: 1.25rem !important;
    border: 1px solid #e2e8f0 !important;
  }

  .tempah-tab-btn {
    flex: 1 !important;
    padding: 0.6rem 0.5rem !important;
    border-radius: 50px !important;
    border: none !important;
    font-weight: 800 !important;
    font-size: 0.84rem !important;
    color: #64748b !important;
    background: transparent !important;
    cursor: pointer !important;
    text-align: center !important;
  }

  .tempah-tab-btn.active {
    background: #ffffff !important;
    color: #2563eb !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08) !important;
  }

  /* -------------------------------------------------------------------------
     12. BOOKING ENGINE PAGE & ROOM SELECTION (MOBILE FIT & ORIENTATION)
     ------------------------------------------------------------------------- */
  .pkg-main-info-card {
    padding: 1.15rem 0.95rem !important;
    border-radius: 18px !important;
    margin-bottom: 1.25rem !important;
  }

  .pkg-duration-pill {
    font-size: 0.72rem !important;
    padding: 0.3rem 0.85rem !important;
    margin-bottom: 0.75rem !important;
  }

  .pkg-engine-title {
    font-size: 1.25rem !important;
    line-height: 1.3 !important;
    margin-bottom: 1.15rem !important;
    word-break: break-word !important;
  }

  .flight-hotel-box {
    grid-template-columns: 1fr !important;
    gap: 1.15rem !important;
    padding: 0.95rem !important;
    border-radius: 16px !important;
  }

  .fh-column-title {
    font-size: 0.72rem !important;
    letter-spacing: 0.5px !important;
    margin-bottom: 0.75rem !important;
  }

  .flight-timeline {
    gap: 0.85rem !important;
    padding-left: 1.35rem !important;
  }

  .flight-step-item::before {
    left: -1.35rem !important;
    width: 18px !important;
    height: 18px !important;
    font-size: 0.6rem !important;
  }

  .flight-code {
    font-size: 0.9rem !important;
  }

  .flight-time-desc {
    font-size: 0.8rem !important;
  }

  .hotel-info-list {
    gap: 0.85rem !important;
  }

  .hotel-info-row {
    gap: 0.65rem !important;
    align-items: flex-start !important;
  }

  .hotel-icon-badge {
    width: 32px !important;
    height: 32px !important;
    border-radius: 8px !important;
    font-size: 0.88rem !important;
    flex-shrink: 0 !important;
  }

  .hotel-details-name {
    font-size: 0.85rem !important;
    font-weight: 800 !important;
    color: #0f172a !important;
  }

  .hotel-details-dist {
    font-size: 0.76rem !important;
    color: #475569 !important;
    margin-top: 0.1rem !important;
    line-height: 1.35 !important;
  }

  .pkg-details-accordion {
    margin-top: 0.85rem !important;
    border-radius: 14px !important;
  }

  .pkg-details-accordion > summary {
    padding: 0.75rem 0.85rem !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 0.5rem !important;
    flex-wrap: wrap !important;
  }

  .pkg-details-summary-title {
    font-size: 0.85rem !important;
    font-weight: 800 !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.35rem !important;
    flex: 1 !important;
    min-width: 0 !important;
  }

  .pkg-details-summary-action {
    padding: 0.4rem 0.65rem !important;
    font-size: 0.7rem !important;
    border-radius: 50px !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
  }

  .pkg-details-preview {
    width: 100% !important;
    gap: 0.35rem 0.6rem !important;
    padding-top: 0.6rem !important;
    font-size: 0.7rem !important;
    border-top: 1px solid #dbeafe !important;
  }

  .pkg-details-preview span {
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.2rem !important;
    white-space: nowrap !important;
  }

  .pkg-details-grid {
    grid-template-columns: 1fr !important;
    gap: 0.45rem !important;
    padding: 0.65rem 0.75rem !important;
  }

  .pkg-detail-item {
    padding: 0.55rem 0.65rem !important;
    border-radius: 8px !important;
  }

  .pkg-detail-item dt {
    font-size: 0.66rem !important;
  }

  .pkg-detail-item dd {
    font-size: 0.75rem !important;
    word-break: break-word !important;
  }

  .room-selection-container {
    gap: 1rem !important;
  }

  .room-type-card {
    padding: 1rem 0.85rem !important;
    border-radius: 16px !important;
    margin-bottom: 0.85rem !important;
  }

  .room-card-header {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex-wrap: wrap !important;
    gap: 0.5rem !important;
    margin-bottom: 1rem !important;
    padding-bottom: 0.75rem !important;
    border-bottom: 1px dashed #cbd5e1 !important;
  }

  .room-card-title {
    font-size: 1.02rem !important;
    font-weight: 900 !important;
    color: #0f172a !important;
    text-transform: uppercase !important;
    min-width: 0 !important;
    word-break: break-word !important;
  }

  .room-card-price-tag {
    font-size: 0.8rem !important;
    color: #475569 !important;
    white-space: nowrap !important;
    text-align: right !important;
  }

  .room-card-price-tag strong {
    color: #dc2626 !important;
    font-size: 1.05rem !important;
    font-weight: 900 !important;
  }

  .pax-counters-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 0.45rem !important;
  }

  @media (max-width: 480px) {
    .pax-counters-grid {
      grid-template-columns: 1fr !important;
      gap: 0.55rem !important;
    }
  }

  .counter-box {
    padding: 0.65rem 0.4rem !important;
    border-radius: 12px !important;
  }

  .counter-label {
    font-size: 0.72rem !important;
    margin-bottom: 0.45rem !important;
    min-height: 1.8rem !important;
  }

  .counter-subtext {
    font-size: 0.6rem !important;
  }

  .counter-controls {
    gap: 0.35rem !important;
  }

  .btn-counter {
    width: 30px !important;
    height: 30px !important;
    font-size: 1rem !important;
    border-radius: 8px !important;
  }

  .counter-val {
    font-size: 0.95rem !important;
    min-width: 22px !important;
  }

  /* Landscape mode adjustment for Amal, Tempah & Booking engine */
  @media (orientation: landscape) and (max-height: 500px) {
    .amal-modal-overlay,
    .tempah-modal-overlay {
      padding: 0.35rem !important;
    }

    .amal-modal-card,
    .tempah-modal-card {
      max-width: 540px !important;
      margin: 0.25rem auto !important;
      padding: 1rem !important;
    }

    .amal-modal-footer {
      flex-direction: row !important;
      gap: 0.65rem !important;
    }

    .btn-amal-secondary,
    .btn-amal-primary {
      flex: 1 !important;
    }

    .flight-hotel-box {
      grid-template-columns: 1fr 1fr !important;
      gap: 1rem !important;
    }

    .pax-counters-grid {
      grid-template-columns: repeat(3, 1fr) !important;
    }
  }

  /* -------------------------------------------------------------------------
     13. ALL PACKAGES PAGE (pakej-umrah.html) MOBILE FIT & ORIENTATION
     ------------------------------------------------------------------------- */
  .mobile-packages-hero-banner {
    position: relative !important;
    width: 100% !important;
    max-height: 220px !important;
    overflow: hidden !important;
    background: #0f172a !important;
  }

  .mobile-hero-bg-img {
    width: 100% !important;
    height: 190px !important;
    object-fit: cover !important;
    object-position: center !important;
    display: block !important;
    filter: brightness(0.75) !important;
  }

  .mobile-hero-banner-overlay {
    padding: 0.85rem !important;
  }

.mobile-hero-yellow-title {
  font-size: 1.35rem !important;
  font-weight: 900 !important;
  line-height: 1.25 !important;
  color: #facc15 !important;
  text-shadow: 0 2px 10px rgba(0,0,0,0.85) !important;
}

/* Phone-only hero balance: the promotion stays the focal point, while the
   branding glass panel is intentionally compact underneath it. */
@media (max-width: 576px) {
  .hero-section {
    min-height: 0 !important;
    padding: 0.5rem 0 1.25rem !important;
  }

  .promo-carousel-desktop {
    display: none !important;
  }

  .promo-carousel-mobile {
    display: block !important;
  }

  .hero-promo-wrapper {
    padding: 0.45rem 0 0.5rem !important;
  }

  .hero-promo-wrapper .container {
    padding-left: 0.65rem !important;
    padding-right: 0.65rem !important;
  }

  .promo-carousel {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 5 / 4 !important;
    min-height: 0 !important;
    max-height: none !important;
    border-radius: 16px !important;
  }

  .promo-slide img {
    object-fit: fill !important;
    object-position: center !important;
  }

  #agen-pelancongan {
    min-height: 0 !important;
    padding: 0.15rem 0 1.35rem !important;
  }

  #agen-pelancongan .hero-text-box {
    display: none !important;
  }

  #agen-pelancongan .badge-license {
    max-width: 92% !important;
    margin-bottom: 0.35rem !important;
    padding: 0.38rem 0.75rem !important;
    font-size: 0.72rem !important;
    line-height: 1.3 !important;
  }

  #agen-pelancongan .hero-arabic {
    font-size: 1rem !important;
    margin: 0 !important;
  }

  #agen-pelancongan .hero-title {
    font-size: 1.35rem !important;
    line-height: 1.12 !important;
    margin: 0 !important;
  }

  /* On phone, the existing package search is moved before the video interlude.
     It keeps the same form controls and event bindings as wider layouts. */
  .partners-video-interlude + .partners-section {
    /* Preserve the video → partners hand-off after DOM relocation. */
  }

  .search-card.mobile-relocated-search {
    display: block !important;
    width: calc(100% - 1.5rem) !important;
    max-width: 470px !important;
    margin: 0.65rem auto 1.25rem !important;
    padding: 0.85rem !important;
    background: rgba(255, 255, 255, 0.96) !important;
    border: 1px solid rgba(148, 180, 224, 0.7) !important;
    border-radius: 18px !important;
    box-shadow: 0 12px 28px rgba(15, 45, 104, 0.16) !important;
  }

  .search-card.mobile-relocated-search .mobile-search-heading {
    display: flex !important;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.5rem;
    margin: 0.05rem 0 0.75rem;
    padding: 0 0.15rem 0.65rem;
    border-bottom: 1px solid #dbe7f5;
  }

  .search-card.mobile-relocated-search .mobile-search-heading span {
    color: #133b85;
    font-size: 0.7rem;
    font-weight: 900;
    letter-spacing: 0.045em;
  }

  .search-card.mobile-relocated-search .mobile-search-heading i {
    color: #e52b35;
    margin-right: 0.28rem;
  }

  .search-card.mobile-relocated-search .mobile-search-heading small {
    max-width: 128px;
    color: #6a7890;
    font-size: 0.55rem;
    line-height: 1.3;
    font-weight: 600;
    text-align: right;
  }

  .search-card.mobile-relocated-search .search-grid {
    gap: 0.62rem !important;
  }

  .search-card.mobile-relocated-search .form-group label {
    margin-bottom: 0.3rem !important;
    color: #1c55bd !important;
    font-size: 0.62rem !important;
    letter-spacing: 0.035em !important;
  }

  .search-card.mobile-relocated-search .form-select {
    height: 43px !important;
    line-height: 39px !important;
    padding: 0 0.75rem !important;
    border: 1px solid #cbd9eb !important;
    border-radius: 9px !important;
    font-size: 0.72rem !important;
    box-shadow: none !important;
  }

  .search-card.mobile-relocated-search form > div[style] {
    margin-top: 0.85rem !important;
  }

  .search-card.mobile-relocated-search .btn {
    width: 100% !important;
    height: 44px !important;
    padding: 0 1rem !important;
    border-radius: 10px !important;
    font-size: 0.8rem !important;
    box-shadow: 0 7px 16px rgba(220, 38, 38, 0.25) !important;
  }

  /* Mobile partner area: a softer hand-off from the promotion slider, with
     enough breathing room for the moving brand marks and statistics below. */
  .partners-section {
    margin-top: 0 !important;
    padding: 2.15rem 0 1.7rem !important;
    border-top: 0 !important;
    border-bottom: 0 !important;
    background: linear-gradient(180deg, #f5f9ff 0%, #ffffff 58%) !important;
  }

  .partners-section::before {
    content: '';
    display: block;
    width: 56px;
    height: 3px;
    margin: -0.55rem auto 0.9rem;
    border-radius: 999px;
    background: linear-gradient(90deg, #e72b35, #2563eb);
  }

  .partners-section .container {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .partners-title {
    margin: 0 1rem 1.05rem !important;
    font-size: 1.32rem !important;
    line-height: 1.2 !important;
    letter-spacing: 0.02em !important;
    text-transform: uppercase !important;
    color: #102a5e !important;
  }

  .partners-slider {
    min-height: 70px;
    padding: 0.2rem 0;
  }

  .partner-logo-wrapper {
    flex-basis: 132px !important;
    height: 62px !important;
    margin-right: 1.15rem !important;
    padding: 0.35rem 0.55rem !important;
    border-radius: 12px !important;
  }

  .partner-logo-img {
    max-width: 112px !important;
    max-height: 48px !important;
  }

  .stats-banner {
    padding: 2.35rem 0 2.6rem !important;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%) !important;
    border-top: 1px solid #eef2f7;
  }

  .stats-banner .container {
    padding-left: 0.9rem !important;
    padding-right: 0.9rem !important;
  }

  .stats-hero {
    margin-bottom: 1.45rem !important;
  }

  .stats-hero::before {
    content: '';
    display: block;
    width: 54px;
    height: 3px;
    margin: 0 auto 0.85rem;
    border-radius: 999px;
    background: linear-gradient(90deg, #e72b35, #2563eb);
  }

  .stats-hero-number {
    font-size: clamp(3rem, 14vw, 4rem) !important;
    line-height: 0.95 !important;
    letter-spacing: -0.07em !important;
  }

  .stats-hero-label {
    margin-top: 0.45rem !important;
    font-size: 0.72rem !important;
    font-weight: 700 !important;
  }

  .stats-sub-grid {
    gap: 0.72rem !important;
    max-width: 100% !important;
  }

  .stats-sub-item {
    gap: 0.8rem !important;
    padding: 0.82rem 0.95rem !important;
    border-radius: 14px !important;
    background: #f0f7ff !important;
    border-color: #dbeafe !important;
    box-shadow: none !important;
  }

  .stats-sub-icon {
    width: 39px !important;
    height: 39px !important;
    font-size: 1rem !important;
    border-radius: 11px !important;
  }

  .stats-sub-number {
    font-size: 1.72rem !important;
  }

  .stats-sub-label {
    margin-top: 0.14rem !important;
    font-size: 0.65rem !important;
    font-weight: 600 !important;
  }

  .partners-video-interlude {
    display: block;
    position: relative;
    height: 82vh;
    min-height: 520px;
    max-height: 760px;
    overflow: hidden;
    background: #334155;
    border: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
  }

  .hero-section,
  #agen-pelancongan,
  .hero-promo-wrapper {
    border: 0 !important;
    outline: 0 !important;
  }

  .partners-video-interlude::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    z-index: 2;
    height: 16%;
    pointer-events: none;
    background: linear-gradient(180deg, #ffffff 0%, rgba(255, 255, 255, 0.78) 32%, rgba(255, 255, 255, 0) 100%);
  }

  .partners-video-interlude-media,
  .partners-video-interlude-film {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
  }

  .partners-video-interlude-media {
    display: block;
    object-fit: cover;
    object-position: center;
    pointer-events: none;
  }

  .partners-video-interlude-film {
    pointer-events: none;
    background: rgba(31, 41, 55, 0.36);
  }

  .partners-video-interlude-content {
    position: absolute;
    inset: 0;
    z-index: 3;
    pointer-events: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.75rem 1.25rem;
    text-align: center;
    color: #ffffff;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.82);
  }

  .partners-video-interlude-kicker {
    margin: 0 0 0.6rem;
    color: #ffffff;
    font-size: 0.67rem;
    font-weight: 800;
    letter-spacing: 0.13em;
    line-height: 1.45;
  }

  .partners-video-interlude-kicker span {
    display: inline-block;
    margin: 0 0.18rem;
    color: #ffffff;
  }

  .partners-video-interlude-content h2 {
    margin: 0;
    color: #ffffff;
    font-size: clamp(1.65rem, 8vw, 2.45rem);
    font-weight: 900;
    line-height: 1.08;
    letter-spacing: -0.035em;
  }

  .partners-video-interlude-price {
    margin: 0.85rem 0 1.2rem;
    color: #ffffff;
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.07em;
  }

  .partners-video-interlude-price strong {
    color: #ffffff;
    font-size: 1.3em;
    letter-spacing: 0.02em;
  }

  .partners-video-interlude-button {
    pointer-events: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0.7rem 1.25rem;
    border: 1.5px solid rgba(255, 255, 255, 0.9);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    color: #ffffff !important;
    font-size: 0.71rem;
    font-weight: 800;
    letter-spacing: 0.035em;
    text-decoration: none;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.26);
  }
}

  .mobile-packages-body {
    padding: 1rem 0.85rem !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .mobile-count-filter-row {
    margin-bottom: 0.85rem !important;
  }

  .mobile-packages-count-text {
    font-size: 1.05rem !important;
    font-weight: 900 !important;
  }

  .mobile-filter-btn {
    padding: 0.4rem 0.95rem !important;
    font-size: 0.78rem !important;
    border-radius: 50px !important;
  }

  .mobile-filter-card-box {
    padding: 0.65rem !important;
    border-radius: 14px !important;
    margin-bottom: 1rem !important;
  }

  .mobile-filter-tabs {
    gap: 0.25rem !important;
    margin-bottom: 0.6rem !important;
  }

  .mobile-tab-btn {
    padding: 0.5rem 0.2rem !important;
    font-size: 0.76rem !important;
    font-weight: 800 !important;
    white-space: nowrap !important;
  }

  .mobile-price-trigger-box {
    padding: 0.55rem 0.75rem !important;
    font-size: 0.78rem !important;
    border-radius: 10px !important;
  }

  .mobile-card-v2 {
    padding: 1rem 0.85rem !important;
    border-radius: 18px !important;
    gap: 0.75rem !important;
    margin-bottom: 1rem !important;
  }

  .m-card-v2-header {
    gap: 0.5rem !important;
  }

  .m-card-sector-pill {
    font-size: 0.65rem !important;
    padding: 0.25rem 0.65rem !important;
  }

  .m-card-flight-code {
    font-size: 1.1rem !important;
    font-weight: 900 !important;
    margin-top: 0.3rem !important;
  }

  .m-card-airline-logo-wrap {
    width: 90px !important;
    height: 40px !important;
    flex-shrink: 0 !important;
  }

  .m-card-airline-img {
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: contain !important;
  }

  .m-card-feature-box {
    padding: 0.6rem 0.7rem !important;
    border-radius: 12px !important;
    gap: 0.55rem !important;
  }

  .m-card-icon-badge {
    width: 36px !important;
    height: 36px !important;
    min-width: 36px !important;
    min-height: 36px !important;
    max-width: 36px !important;
    max-height: 36px !important;
    flex: 0 0 36px !important;
    border-radius: 10px !important;
    font-size: 0.9rem !important;
    box-sizing: border-box !important;
  }

  .m-card-feature-label,
  .m-card-hotel-label {
    font-size: 0.64rem !important;
    font-weight: 800 !important;
  }

  .m-card-feature-val,
  .m-card-hotel-name {
    font-size: 0.8rem !important;
    font-weight: 800 !important;
    word-break: break-word !important;
  }

  .m-card-hotel-box {
    padding: 0.7rem 0.8rem !important;
    border-radius: 12px !important;
    gap: 0.4rem !important;
  }

  .m-card-hotel-details {
    font-size: 0.74rem !important;
    line-height: 1.35 !important;
    word-break: break-word !important;
  }

  .m-card-nota-box {
    padding: 0.65rem 0.75rem !important;
    border-radius: 12px !important;
  }

  .m-card-nota-list li {
    font-size: 0.72rem !important;
  }

  .m-card-actions-row {
    gap: 0.45rem !important;
  }

  .m-card-action-btn {
    padding: 0.55rem 0.4rem !important;
    font-size: 0.72rem !important;
    font-weight: 800 !important;
    border-radius: 50px !important;
    white-space: nowrap !important;
  }

  .m-card-footer {
    gap: 0.5rem !important;
    padding-top: 0.35rem !important;
  }

  .m-card-price-label {
    font-size: 0.62rem !important;
  }

  .m-card-price-val {
    font-size: 1.1rem !important;
    font-weight: 900 !important;
  }

  .m-card-cta-btn {
    padding: 0.6rem 0.85rem !important;
    font-size: 0.76rem !important;
    font-weight: 900 !important;
    border-radius: 50px !important;
    white-space: nowrap !important;
  }

  /* Final compact hierarchy for the mobile package-list cards. This comes
     after the legacy mobile sizing rules so the information remains readable
     without recreating the previous purple-box layout. */
  .mobile-card-v2 .m-card-icon-badge {
    width: 28px !important;
    height: 28px !important;
    min-width: 28px !important;
    min-height: 28px !important;
    max-width: 28px !important;
    max-height: 28px !important;
    flex: 0 0 28px !important;
    border-radius: 8px !important;
    font-size: 0.72rem !important;
  }

  .mobile-card-v2 .m-card-hotel-box {
    padding: 0.7rem 0.75rem !important;
    gap: 0.35rem !important;
  }

  .mobile-card-v2 .m-card-hotel-name {
    font-size: 0.78rem !important;
    line-height: 1.25 !important;
  }

  .mobile-card-v2 .m-card-hotel-details {
    font-size: 0.68rem !important;
  }

  .mobile-card-v2 .m-card-footer {
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: center !important;
    gap: 0.75rem !important;
    padding-top: 0.75rem !important;
  }

  .mobile-card-v2 .m-card-cta-btn {
    width: auto !important;
    padding: 0.67rem 0.75rem !important;
    border-radius: 10px !important;
    font-size: 0.62rem !important;
    background: #102d68 !important;
  }

  /* Price filter modal overlay landscape & mobile adjustments */
  .mobile-price-modal-overlay.active {
    align-items: flex-end !important;
    justify-content: center !important;
    overflow-y: auto !important;
  }

  @media (orientation: landscape) and (max-height: 500px) {
    .mobile-packages-hero-banner {
      max-height: 130px !important;
    }

    .mobile-hero-bg-img {
      height: 120px !important;
    }

    .mobile-hero-yellow-title {
      font-size: 1.15rem !important;
    }

    .mobile-price-modal-overlay.active {
      align-items: flex-start !important;
      padding: 0.35rem !important;
      overflow-y: auto !important;
    }

    .mobile-price-modal-card {
      max-width: 520px !important;
      margin: 0.25rem auto !important;
      border-radius: 20px !important;
      padding: 1.15rem 1rem !important;
    }
  }

  /* -------------------------------------------------------------------------
     14. MOBILE NAVIGATION DRAWER & DROPDOWN OVERFLOW FIX (MOBILE <= 768px)
     ------------------------------------------------------------------------- */
  .nav-links {
    display: none !important;
    position: fixed !important;
    top: 70px !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100vw !important;
    height: calc(100vh - 70px) !important;
    height: calc(100dvh - 70px) !important;
    background: #ffffff !important;
    flex-direction: column !important;
    padding: 1.15rem 1.25rem 2.5rem 1.25rem !important;
    border-bottom: none !important;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.25) !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
    z-index: 999999 !important;
    box-sizing: border-box !important;
  }

  .nav-links.active {
    display: flex !important;
  }

  .nav-dropdown {
    width: 100% !important;
    box-sizing: border-box !important;
    margin-bottom: 0.35rem !important;
  }

  .nav-dropdown > a {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    padding: 0.85rem 0.75rem !important;
    font-size: 1.02rem !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    border-bottom: 1px solid #f1f5f9 !important;
    box-sizing: border-box !important;
    text-transform: uppercase !important;
  }

  .nav-dropdown.dropdown-open > a {
    color: #ef4444 !important;
    border-bottom-color: #fca5a5 !important;
  }

  .nav-dropdown-menu {
    position: static !important;
    display: none;
    width: 100% !important;
    background: #f8fafc !important;
    border-radius: 14px !important;
    padding: 0.5rem 0.65rem !important;
    margin: 0.4rem 0 0.75rem 0 !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: none !important;
    box-sizing: border-box !important;
    transform: none !important;
    opacity: 1 !important;
    visibility: visible !important;
  }

  .nav-dropdown.dropdown-open .nav-dropdown-menu {
    display: block !important;
  }

  .nav-dropdown-menu li {
    width: 100% !important;
  }

  .nav-dropdown-menu li a {
    display: flex !important;
    align-items: center !important;
    gap: 0.65rem !important;
    padding: 0.75rem 0.65rem !important;
    font-size: 0.86rem !important;
    font-weight: 700 !important;
    color: #0f172a !important;
    border-bottom: 1px dashed #e2e8f0 !important;
    box-sizing: border-box !important;
    text-transform: uppercase !important;
  }

  .nav-dropdown-menu li:last-child a {
    border-bottom: none !important;
  }

  .nav-dropdown-menu li a i {
    color: #ef4444 !important;
    font-size: 0.95rem !important;
    width: 20px !important;
    text-align: center !important;
    flex-shrink: 0 !important;
  }

  /* Landscape Orientation Adjustment for Mobile Menu Drawer */
  @media (orientation: landscape) and (max-height: 500px) {
    .nav-links {
      top: 56px !important;
      height: calc(100vh - 56px) !important;
      height: calc(100dvh - 56px) !important;
      padding: 0.85rem 1rem 2rem 1rem !important;
    }

    .nav-dropdown > a {
      padding: 0.65rem 0.5rem !important;
      font-size: 0.9rem !important;
    }

    .nav-dropdown-menu li a {
      padding: 0.55rem 0.5rem !important;
      font-size: 0.8rem !important;
    }
  }
}

/* -------------------------------------------------------------------------
   15. IPAD & TABLET (PORTRAIT & LANDSCAPE 768px - 1024px) HAMBURGER MENU ENGINE
   Enforces Burger Icon Menu on iPad / Tablet in BOTH Vertical & Horizontal.
   DOES NOT TOUCH OR CHANGE DESKTOP / LAPTOP (> 1024px) OR MOBILE (< 768px).
   ------------------------------------------------------------------------- */
@media (min-width: 768px) and (max-width: 1024px),
       (orientation: landscape) and (min-width: 768px) and (max-width: 1024px) {
  .mobile-menu-btn,
  button.mobile-menu-btn,
  header .mobile-menu-btn,
  header.glass-nav .mobile-menu-btn,
  header.subpage-nav .mobile-menu-btn,
  header.glass-nav.subpage-nav .mobile-menu-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 48px !important;
    min-height: 48px !important;
    padding: 0.5rem !important;
    border-radius: 12px !important;
    background: rgba(239, 68, 68, 0.1) !important;
    color: #ef4444 !important;
    border: 1px solid rgba(239, 68, 68, 0.25) !important;
    font-size: 1.75rem !important;
    cursor: pointer !important;
    z-index: 100 !important;
  }

  .mobile-menu-btn i {
    font-size: 1.65rem !important;
    pointer-events: none !important;
  }

  #navAuthBtn,
  .btn-red#navAuthBtn,
  .nav-actions #navAuthBtn,
  .nav-actions .btn-red,
  header #navAuthBtn,
  header .btn-red,
  header.glass-nav .btn-red,
  header.glass-nav.subpage-nav .nav-actions #navAuthBtn,
  header.glass-nav.subpage-nav .nav-actions .btn-red {
    display: none !important;
  }

  .nav-links:not(.active),
  ul.nav-links:not(.active),
  #navLinks:not(.active),
  header .nav-links:not(.active),
  header.glass-nav .nav-links:not(.active),
  header.glass-nav.subpage-nav .nav-links:not(.active) {
    display: none !important;
  }

  .nav-links.active,
  ul.nav-links.active,
  #navLinks.active,
  header .nav-links.active,
  header.glass-nav .nav-links.active,
  header.glass-nav.subpage-nav .nav-links.active {
    display: flex !important;
    position: fixed !important;
    top: 70px !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100vw !important;
    height: calc(100vh - 70px) !important;
    height: calc(100dvh - 70px) !important;
    background: #ffffff !important;
    flex-direction: column !important;
    padding: 1.25rem 1.75rem 2.5rem 1.75rem !important;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.25) !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
    z-index: 999999 !important;
    box-sizing: border-box !important;
  }

  .nav-dropdown {
    width: 100% !important;
    box-sizing: border-box !important;
    margin-bottom: 0.35rem !important;
  }

  .nav-dropdown > a {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    padding: 0.85rem 0.75rem !important;
    font-size: 1.05rem !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    border-bottom: 1px solid #f1f5f9 !important;
    box-sizing: border-box !important;
    text-transform: uppercase !important;
  }

  .nav-dropdown.dropdown-open > a {
    color: #ef4444 !important;
    border-bottom-color: #fca5a5 !important;
  }

  .nav-dropdown-menu {
    position: static !important;
    display: none;
    width: 100% !important;
    background: #f8fafc !important;
    border-radius: 14px !important;
    padding: 0.5rem 0.75rem !important;
    margin: 0.4rem 0 0.75rem 0 !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: none !important;
    box-sizing: border-box !important;
    transform: none !important;
    opacity: 1 !important;
    visibility: visible !important;
  }

  .nav-dropdown.dropdown-open .nav-dropdown-menu {
    display: block !important;
  }

  .nav-dropdown-menu li {
    width: 100% !important;
  }

  .nav-dropdown-menu li a {
    display: flex !important;
    align-items: center !important;
    gap: 0.65rem !important;
    padding: 0.75rem 0.65rem !important;
    font-size: 0.9rem !important;
    font-weight: 700 !important;
    color: #0f172a !important;
    border-bottom: 1px dashed #e2e8f0 !important;
    box-sizing: border-box !important;
    text-transform: uppercase !important;
  }

  .nav-dropdown-menu li:last-child a {
    border-bottom: none !important;
  }

  .nav-links.active .drawer-footer,
  .mobile-login-item {
    display: block !important;
    margin-top: 1rem !important;
    padding-top: 1rem !important;
    border-top: 1px solid #e2e8f0 !important;
    width: 100% !important;
  }

  /* -------------------------------------------------------------------------
     IPAD & TABLET PACKAGE DETAILS POPUP MODAL FIX (#packageModal & #priceDetailsModal)
     ------------------------------------------------------------------------- */
  .modal-overlay#packageModal,
  .price-modal-overlay {
    position: fixed !important;
    inset: 0 !important;
    background: rgba(15, 23, 42, 0.85) !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    z-index: 999999 !important;
    display: none;
    align-items: flex-start !important;
    justify-content: center !important;
    padding: 1.5rem 1rem !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
    box-sizing: border-box !important;
  }

  .modal-overlay#packageModal.active,
  .price-modal-overlay.active {
    display: flex !important;
  }

  .modal-overlay#packageModal .modal-card,
  .price-modal-card {
    width: 100% !important;
    max-width: 680px !important;
    margin: 1rem auto !important;
    padding: 0 !important;
    border-radius: 24px !important;
    overflow: hidden !important;
    max-height: none !important;
    height: auto !important;
    display: block !important;
    border: none !important;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.45) !important;
    background: #ffffff !important;
    position: relative !important;
    box-sizing: border-box !important;
  }

  .saver-details-header,
  .price-modal-header {
    background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 50%, #dc2626 100%) !important;
    padding: 1.5rem 3.5rem 1.5rem 1.75rem !important;
    border-radius: 24px 24px 0 0 !important;
    color: #ffffff !important;
    position: relative !important;
    box-sizing: border-box !important;
    width: 100% !important;
  }

  .saver-details-modal .modal-close,
  .price-modal-close {
    position: absolute !important;
    top: 1.15rem !important;
    right: 1.15rem !important;
    width: 38px !important;
    height: 38px !important;
    border-radius: 50% !important;
    background: rgba(255, 255, 255, 0.2) !important;
    color: #ffffff !important;
    font-size: 1.2rem !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    cursor: pointer !important;
    z-index: 10 !important;
  }

  .saver-details-header h2,
  .price-modal-title {
    font-size: 1.65rem !important;
    font-weight: 900 !important;
    color: #ffffff !important;
    margin: 0.4rem 0 0.2rem 0 !important;
    line-height: 1.25 !important;
    word-break: break-word !important;
  }

  .saver-details-header p {
    font-size: 0.9rem !important;
    color: #cbd5e1 !important;
    line-height: 1.4 !important;
    margin: 0 !important;
  }

  .saver-details-body,
  .price-modal-body {
    padding: 1.5rem 1.5rem !important;
    background: #ffffff !important;
    box-sizing: border-box !important;
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 1.35rem !important;
  }

  .saver-room-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.75rem !important;
    padding: 1rem !important;
    box-sizing: border-box !important;
  }

  .saver-room-card {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 0.95rem 1.15rem !important;
    background: #f8fafc !important;
    border: 1.5px solid #e2e8f0 !important;
    border-radius: 14px !important;
    box-sizing: border-box !important;
    width: 100% !important;
  }

  .saver-room-left {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 0.25rem !important;
    min-width: 0 !important;
  }

  .saver-room-name {
    font-size: 1rem !important;
    font-weight: 900 !important;
    color: #0f172a !important;
    text-transform: uppercase !important;
  }

  .saver-room-note {
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.3rem !important;
    background: #eff6ff !important;
    color: #2563eb !important;
    border: 1px solid #dbeafe !important;
    padding: 0.2rem 0.6rem !important;
    border-radius: 50px !important;
    font-size: 0.72rem !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    font-style: normal !important;
  }

  .saver-room-price {
    font-size: 1.15rem !important;
    font-weight: 900 !important;
    color: #dc2626 !important;
    white-space: nowrap !important;
    text-align: right !important;
  }

  .saver-detail-list {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.45rem !important;
    padding: 0.85rem !important;
    margin: 0 !important;
  }

  .saver-detail-row {
    display: grid !important;
    grid-template-columns: 190px minmax(0, 1fr) !important;
    gap: 1rem !important;
    padding: 0.75rem 0.85rem !important;
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 10px !important;
    box-sizing: border-box !important;
  }

  .saver-detail-row dt {
    font-size: 0.8rem !important;
    font-weight: 800 !important;
    color: #2563eb !important;
    text-transform: uppercase !important;
    margin: 0 !important;
  }

  .saver-detail-row dd {
    font-size: 0.86rem !important;
    font-weight: 650 !important;
    color: #0f172a !important;
    line-height: 1.4 !important;
    margin: 0 !important;
    word-break: break-word !important;
  }

  .saver-details-footer {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 1rem !important;
    padding: 1.15rem 1.5rem !important;
    background: #f8fafc !important;
    border-top: 1px solid #e2e8f0 !important;
    border-radius: 0 0 24px 24px !important;
  }

  .saver-details-footer > div > span {
    font-size: 0.72rem !important;
    color: #64748b !important;
    text-transform: uppercase !important;
    font-weight: 800 !important;
    display: block !important;
  }

  .saver-details-footer strong {
    font-size: 1.45rem !important;
    font-weight: 900 !important;
    color: #0f172a !important;
  }

  .saver-details-footer .btn-red,
  .saver-details-footer .btn {
    padding: 0.85rem 1.65rem !important;
    font-size: 0.92rem !important;
    font-weight: 900 !important;
    border-radius: 50px !important;
    white-space: nowrap !important;
  }

  /* iPad Package Grid Card Features Layout Fix */
  .card-features {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 0.65rem !important;
    padding: 0.85rem 0 !important;
  }

  .card-features .feature-item:first-child {
    grid-column: 1 / -1 !important;
    padding-bottom: 0.35rem !important;
    border-bottom: 1px dashed #dbeafe !important;
    margin-bottom: 0.25rem !important;
  }

  .feature-item {
    display: flex !important;
    align-items: flex-start !important;
    gap: 0.45rem !important;
    font-size: 0.85rem !important;
    line-height: 1.35 !important;
  }

  .feature-item i {
    color: #ef4444 !important;
    font-size: 0.92rem !important;
    margin-top: 0.15rem !important;
    flex-shrink: 0 !important;
  }

  /* iPad Interactive Price Details Modal (#priceDetailsModal) Room Pricing Fix */
  .room-pricing-block {
    background: #ffffff !important;
    border: 1.5px solid #e2e8f0 !important;
    border-radius: 16px !important;
    padding: 1.15rem 1.25rem !important;
    margin-bottom: 0.85rem !important;
    box-sizing: border-box !important;
    width: 100% !important;
  }

  .room-type-heading {
    font-size: 1.05rem !important;
    font-weight: 900 !important;
    color: #0f172a !important;
    margin: 0 0 0.75rem 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex-wrap: wrap !important;
    gap: 0.35rem !important;
    width: 100% !important;
  }

  .room-cards-grid,
  .room-cards-grid-standardised {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.55rem !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .room-price-card {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 0.85rem 1.15rem !important;
    background: #f8fafc !important;
    border: 1.5px solid #e2e8f0 !important;
    border-radius: 14px !important;
    box-sizing: border-box !important;
    width: 100% !important;
    gap: 0.5rem !important;
    min-width: 0 !important;
  }

  .card-pax-label {
    font-size: 0.88rem !important;
    font-weight: 800 !important;
    color: #334155 !important;
    white-space: nowrap !important;
  }

  .card-pax-price {
    font-size: 1.15rem !important;
    font-weight: 900 !important;
    color: #ef4444 !important;
    white-space: nowrap !important;
    text-align: right !important;
  }
}

/* Phone navigation drawer — compact by default, scrollable only when needed. */
@media (max-width: 767px) {
  #navLinks.active {
    position: fixed !important;
    top: 70px !important;
    right: 0 !important;
    left: 0 !important;
    bottom: auto !important;
    display: block !important;
    width: 100% !important;
    height: auto !important;
    max-height: calc(100dvh - 70px) !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
    overscroll-behavior-y: contain !important;
    touch-action: pan-y !important;
    background: #ffffff !important;
    padding: 0.65rem 0.85rem max(1rem, env(safe-area-inset-bottom)) !important;
    transform: translateY(0) !important;
    opacity: 1 !important;
    animation: mobile-nav-slide-down 260ms cubic-bezier(0.22, 1, 0.36, 1) both !important;
  }

  #navLinks.active > li,
  #navLinks.active > li:not(.nav-dropdown) {
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
  }

  #navLinks.active > li > a,
  #navLinks.active > li:not(.nav-dropdown) > a {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    min-height: 46px !important;
    padding: 0.7rem 0.6rem !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
    line-height: 1.3 !important;
    border-bottom: 1px solid #eef2f7 !important;
    box-sizing: border-box !important;
  }

  #navLinks.active > li.nav-dropdown > a {
    font-size: 0.9rem !important;
    font-weight: 850 !important;
  }

  #navLinks.active .nav-dropdown-menu {
    margin: 0.3rem 0 0.55rem !important;
    padding: 0.25rem 0.45rem !important;
    overflow: hidden !important;
    animation: mobile-submenu-reveal 180ms ease-out both;
  }

  #navLinks.active .nav-dropdown-menu li a {
    min-height: 42px !important;
    padding: 0.6rem 0.45rem !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
    line-height: 1.3 !important;
    font-size: 0.76rem !important;
  }

  #navLinks.active .drawer-footer {
    display: block !important;
    margin: 0.6rem 0 0 !important;
    padding: 0.7rem 0 0 !important;
    border-top: 1px solid #eef2f7 !important;
  }

  @keyframes mobile-nav-slide-down {
    from { opacity: 0; transform: translateY(-14px); }
    to { opacity: 1; transform: translateY(0); }
  }

  @keyframes mobile-submenu-reveal {
    from { opacity: 0; transform: translateY(-6px); }
    to { opacity: 1; transform: translateY(0); }
  }
}

/* Restore the regular desktop navigation above the iPad breakpoint. */
@media (min-width: 1025px) {
  .mobile-menu-btn,
  button.mobile-menu-btn,
  header .mobile-menu-btn,
  header.glass-nav .mobile-menu-btn,
  header.subpage-nav .mobile-menu-btn,
  header.glass-nav.subpage-nav .mobile-menu-btn {
    display: none !important;
  }

  #navAuthBtn,
  .nav-actions #navAuthBtn {
    display: inline-flex !important;
  }

  .nav-links,
  .nav-links.active,
  #navLinks,
  #navLinks.active {
    display: flex !important;
    position: static !important;
    width: auto !important;
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
    padding: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    transform: none !important;
    animation: none !important;
  }

  .nav-links .drawer-footer {
    display: none !important;
  }
}

/* ========================================================================== 
   PACKAGE SEARCH PANEL — WIDER DEVICE REFINEMENT
   Matches the lighter mobile hierarchy while using the available iPad/laptop
   width. The search controls and their existing JavaScript remain unchanged.
   ========================================================================== */
@media (min-width: 768px) {
  #agen-pelancongan .search-card {
    position: relative;
    margin-top: 1.35rem;
    padding: 1.25rem 1.4rem 1.35rem;
    border: 1px solid rgba(148, 180, 224, 0.76);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 16px 38px rgba(15, 45, 104, 0.14);
  }

  #agen-pelancongan .search-card .mobile-search-heading {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
    margin: 0 0 1rem;
    padding: 0 0.1rem 0.8rem;
    border-bottom: 1px solid #dbe7f5;
  }

  #agen-pelancongan .mobile-search-heading span {
    color: #133b85;
    font-size: 0.9rem;
    font-weight: 900;
    letter-spacing: 0.05em;
  }

  #agen-pelancongan .mobile-search-heading i {
    color: #e52b35;
    margin-right: 0.35rem;
  }

  #agen-pelancongan .mobile-search-heading small {
    color: #687890;
    font-size: 0.76rem;
    font-weight: 600;
  }

  #agen-pelancongan .search-grid {
    gap: 0.8rem;
  }

  #agen-pelancongan .form-group label {
    margin-bottom: 0.4rem;
    color: #1c55bd;
    font-size: 0.7rem;
    letter-spacing: 0.04em;
  }

  #agen-pelancongan .form-select {
    height: 48px;
    line-height: 44px;
    border: 1px solid #cbd9eb;
    border-radius: 10px;
    box-shadow: none;
  }

  #agen-pelancongan .search-card form > div[style] {
    margin-top: 1.1rem !important;
  }

  #agen-pelancongan .search-card .btn {
    min-width: 230px;
    height: 48px;
    border-radius: 10px;
    box-shadow: 0 8px 18px rgba(220, 38, 38, 0.25);
  }
}

@media (min-width: 768px) and (max-width: 1024px) and (orientation: portrait) {
  #agen-pelancongan .search-card {
    max-width: min(92%, 720px);
    margin-left: auto;
    margin-right: auto;
  }

  #agen-pelancongan .search-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  #agen-pelancongan .search-grid .form-group:last-child {
    grid-column: auto;
    max-width: none;
    justify-self: stretch;
  }

  /* iPad Portrait Package Fitting: Idea 3 - Split Landscape Hotel Style (Agoda / Booking.com iPad Style) */
  .packages-section {
    overflow-x: hidden !important;
  }

  .packages-section .container {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .packages-grid.grid-layout-2,
  .packages-grid.grid-layout-2-2-1,
  .packages-grid.grid-layout-2-2-2,
  .packages-grid.grid-layout-2-2-2-1,
  .packages-grid {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 1.75rem !important;
    max-width: min(94%, 730px) !important;
    margin-left: auto !important;
    margin-right: auto !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .packages-grid .package-card,
  .packages-grid.grid-layout-2 .package-card,
  .packages-grid.grid-layout-2-2-1 .package-card,
  .packages-grid.grid-layout-2-2-1 .package-card:nth-child(5),
  .packages-grid.grid-layout-2-2-2 .package-card,
  .packages-grid.grid-layout-2-2-2-1 .package-card,
  .packages-grid.grid-layout-2-2-2-1 .package-card:nth-child(7),
  .package-card {
    grid-column: 1 !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: stretch !important;
    min-width: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
    min-height: 380px !important;
    overflow: hidden !important;
    border-radius: var(--radius-lg, 1.25rem) !important;
    box-sizing: border-box !important;
    background: #ffffff !important;
  }

  .packages-grid .package-card .card-img-wrapper,
  .packages-grid.grid-layout-2 .card-img-wrapper,
  .packages-grid.grid-layout-2-2-1 .card-img-wrapper,
  .packages-grid.grid-layout-2-2-2 .card-img-wrapper,
  .packages-grid.grid-layout-2-2-2-1 .card-img-wrapper {
    flex: 0 0 38% !important;
    max-width: 40% !important;
    position: relative !important;
    align-self: stretch !important;
    aspect-ratio: auto !important;
    height: auto !important;
    min-height: 100% !important;
    overflow: hidden !important;
  }

  .packages-grid .package-card .card-img-wrapper img,
  .packages-grid.grid-layout-2 .card-img-wrapper img,
  .packages-grid.grid-layout-2-2-1 .card-img-wrapper img,
  .packages-grid.grid-layout-2-2-2 .card-img-wrapper img,
  .packages-grid.grid-layout-2-2-2-1 .card-img-wrapper img {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center center !important;
  }

  .packages-grid .package-card .card-img-wrapper.khas-promo .khas-promo-content {
    inset: 0.85rem auto 0.85rem 0.85rem !important;
  }

  .packages-grid .package-card .card-img-wrapper.khas-promo .khas-promo-title {
    font-size: 1.8rem !important;
    line-height: 0.9 !important;
  }

  .packages-grid .package-card .card-body,
  .packages-grid.grid-layout-2 .card-body,
  .packages-grid.grid-layout-2-2-1 .card-body,
  .packages-grid.grid-layout-2-2-2 .card-body,
  .packages-grid.grid-layout-2-2-2-1 .card-body {
    flex: 1 1 62% !important;
    min-width: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    padding: 1.35rem 1.45rem !important;
    box-sizing: border-box !important;
  }

  .packages-grid .package-card .card-title,
  .packages-grid.grid-layout-2 .card-title,
  .packages-grid.grid-layout-2-2-1 .card-title,
  .packages-grid.grid-layout-2-2-2 .card-title,
  .packages-grid.grid-layout-2-2-2-1 .card-title {
    font-size: 1.45rem !important;
    margin-bottom: 0.4rem !important;
    line-height: 1.22 !important;
  }

  .packages-grid .package-card .card-hotels,
  .packages-grid.grid-layout-2 .card-hotels,
  .packages-grid.grid-layout-2-2-1 .card-hotels,
  .packages-grid.grid-layout-2-2-2 .card-hotels,
  .packages-grid.grid-layout-2-2-2-1 .card-hotels {
    margin-bottom: 0.6rem !important;
  }

  .packages-grid .package-card .hotel-item,
  .packages-grid.grid-layout-2 .hotel-item,
  .packages-grid.grid-layout-2-2-1 .hotel-item,
  .packages-grid.grid-layout-2-2-2 .hotel-item,
  .packages-grid.grid-layout-2-2-2-1 .hotel-item {
    font-size: 0.88rem !important;
    margin-bottom: 0.2rem !important;
  }

  .packages-grid .package-card .card-features,
  .packages-grid.grid-layout-2 .card-features,
  .packages-grid.grid-layout-2-2-1 .card-features,
  .packages-grid.grid-layout-2-2-2 .card-features,
  .packages-grid.grid-layout-2-2-2-1 .card-features {
    padding: 0.6rem 0 !important;
    margin-bottom: 0.75rem !important;
    font-size: 0.78rem !important;
    gap: 0.45rem !important;
  }

  .package-highlights {
    padding: 0.55rem 0.45rem !important;
    margin: -0.1rem 0 0.85rem !important;
  }

  .package-highlights-list {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 0.4rem !important;
  }

  .package-highlight {
    padding: 0.35rem 0.2rem !important;
    font-size: 0.6rem !important;
    min-height: 2.7rem !important;
  }

  .packages-grid .package-card .price-val,
  .packages-grid.grid-layout-2 .price-val,
  .packages-grid.grid-layout-2-2-1 .price-val,
  .packages-grid.grid-layout-2-2-2 .price-val,
  .packages-grid.grid-layout-2-2-2-1 .price-val {
    font-size: 1.85rem !important;
  }

  .card-footer {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 0.75rem !important;
    margin-top: auto !important;
  }

  .card-footer .btn {
    padding: 0.7rem 1.35rem !important;
    font-size: 0.92rem !important;
    white-space: nowrap !important;
  }
}

/* iPad drawer: compact panel that grows with its content, not full screen. */
@media (min-width: 768px) and (max-width: 1024px) {
  #navLinks.active {
    position: fixed !important;
    top: 70px !important;
    right: 0 !important;
    left: 0 !important;
    bottom: auto !important;
    display: block !important;
    width: 100% !important;
    height: auto !important;
    max-height: calc(100dvh - 70px) !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
    overscroll-behavior-y: contain !important;
    background: #ffffff !important;
    padding: 1rem 1.75rem 1.25rem !important;
    box-shadow: 0 18px 32px rgba(15, 23, 42, 0.18) !important;
    animation: ipad-nav-slide-down 240ms cubic-bezier(0.22, 1, 0.36, 1) both !important;
  }

  #navLinks.active > li,
  #navLinks.active > li:not(.nav-dropdown) {
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
  }

  #navLinks.active > li > a,
  #navLinks.active > li:not(.nav-dropdown) > a {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    min-height: 58px !important;
    padding: 0.85rem 0.9rem !important;
    font-size: 1rem !important;
    line-height: 1.35 !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
    border-bottom: 1px solid #eef2f7 !important;
    box-sizing: border-box !important;
  }

  #navLinks.active .nav-dropdown-menu {
    margin: 0.4rem 0 0.65rem !important;
    padding: 0.35rem 0.65rem !important;
    overflow: hidden !important;
  }

  #navLinks.active .nav-dropdown-menu li a {
    min-height: 48px !important;
    padding: 0.7rem 0.65rem !important;
    font-size: 0.92rem !important;
    line-height: 1.35 !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
  }

  #navLinks.active .drawer-footer {
    display: block !important;
    margin-top: 0.7rem !important;
    padding-top: 0.8rem !important;
    border-top: 1px solid #eef2f7 !important;
  }

  @keyframes ipad-nav-slide-down {
    from { opacity: 0; transform: translateY(-16px); }
    to { opacity: 1; transform: translateY(0); }
  }
}

/* This must be last: previous tablet rules use !important selectors. */
@media (min-width: 1025px) {
  header .navbar .mobile-menu-btn,
  header.glass-nav .navbar .mobile-menu-btn,
  header.glass-nav.subpage-nav .navbar .mobile-menu-btn {
    display: none !important;
  }

  header .navbar #navAuthBtn,
  header.glass-nav .navbar #navAuthBtn,
  header.glass-nav.subpage-nav .navbar #navAuthBtn {
    display: inline-flex !important;
  }

  header .navbar #navLinks,
  header .navbar #navLinks.active {
    display: flex !important;
    position: static !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 0.95rem !important;
  }
}

/* iPad/tablet drawer authentication: the regular navbar button is intentionally
   hidden at this breakpoint, so its replacement must remain visible and easy to
   reach inside the burger menu.  Keep this rule late to override older drawer
   variants without affecting phone or laptop navigation. */
@media (min-width: 768px) and (max-width: 1024px) {
  #navLinks.active .drawer-footer {
    display: block !important;
    width: 100% !important;
    margin: auto 0 0 !important;
    padding: 1.1rem 0 calc(1rem + env(safe-area-inset-bottom, 0px)) !important;
    border-top: 1px solid #e2e8f0 !important;
    flex: 0 0 auto !important;
    box-sizing: border-box !important;
  }

  #navLinks.active .drawer-footer .drawer-auth-btn,
  #navLinks.active .drawer-footer #drawerAuthBtn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.55rem !important;
    width: 100% !important;
    min-height: 50px !important;
    padding: 0.8rem 1.2rem !important;
    border: 0 !important;
    border-radius: 13px !important;
    background: linear-gradient(135deg, #ef4444 0%, #2563eb 100%) !important;
    color: #ffffff !important;
    font-size: 0.95rem !important;
    font-weight: 800 !important;
    text-decoration: none !important;
    cursor: pointer !important;
    box-shadow: 0 9px 20px rgba(37, 99, 235, 0.2) !important;
    box-sizing: border-box !important;
  }
}

/* iPad only: keep the strategic-partner statistics compact and balanced. */
@media (min-width: 768px) and (max-width: 1024px) {
  /* Keep the hand-off from the director message to package choices compact. */
  .director-section {
    padding-bottom: 2.7rem !important;
  }

  .packages-section {
    padding-top: 2.7rem !important;
  }

  .stats-banner {
    padding: 2.35rem 0 2.75rem !important;
    min-height: 0 !important;
  }

  .stats-banner .container {
    max-width: 920px;
  }

  .stats-hero {
    margin-bottom: 1.5rem !important;
  }

  .stats-hero-number {
    font-size: clamp(3.7rem, 8vw, 4.8rem) !important;
  }

  .stats-sub-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 0.85rem !important;
    max-width: 100% !important;
  }

  .stats-sub-item {
    min-width: 0;
    gap: 0.7rem;
    padding: 1rem 0.9rem !important;
    border-radius: 15px;
  }

  .stats-sub-icon {
    width: 42px;
    height: 42px;
    font-size: 1.05rem;
  }

  .stats-sub-number {
    font-size: clamp(1.55rem, 3vw, 2rem);
  }

  .stats-sub-label {
    font-size: 0.72rem;
    line-height: 1.3;
    overflow-wrap: anywhere;
  }
}

/* Phone-only service journey: search → services → video, with a soft fade
   that visually joins the carousel to the following video section. */
.mobile-service-carousel {
  display: none;
}

@media (max-width: 767px) {
  .mobile-service-carousel {
    display: block;
    position: relative;
    z-index: 2;
    padding: 0.4rem 0 1.2rem;
    overflow: hidden;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.86) 62%, rgba(255, 255, 255, 0) 100%);
  }

  .mobile-service-carousel-inner {
    width: calc(100% - 1.35rem);
    max-width: 480px;
    margin: 0 auto;
  }

  .mobile-service-carousel-kicker {
    margin: 0 0 0.55rem;
    text-align: center;
    color: #143b85;
    font-size: 0.62rem;
    font-weight: 900;
    letter-spacing: 0.13em;
  }

  .mobile-service-carousel-shell {
    position: relative;
    min-height: 104px;
    padding: 0.45rem 2.35rem;
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .mobile-service-carousel-viewport {
    overflow-x: hidden;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .mobile-service-carousel-viewport::-webkit-scrollbar {
    display: none;
  }

  .mobile-service-carousel-track {
    display: flex;
    align-items: stretch;
    gap: 0.65rem;
    width: max-content;
    will-change: scroll-position;
  }

  .mobile-service-carousel-item {
    display: flex;
    flex: 0 0 104px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.38rem;
    min-height: 90px;
    padding: 0.6rem 0.35rem;
    border-radius: 14px;
    background: rgba(248, 251, 255, 0.96);
    color: #14233d;
    font-size: 0.64rem;
    font-weight: 800;
    line-height: 1.15;
    text-align: center;
    text-decoration: none;
    border: 1px solid #e3ebf6;
    box-sizing: border-box;
  }

  .mobile-service-carousel-item span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 39px;
    height: 39px;
    border-radius: 50%;
    border: 2px solid #b0368e;
    color: #a22c86;
    font-size: 1rem;
  }

  .mobile-service-carousel-item:active {
    transform: scale(0.97);
  }

  .mobile-service-carousel-arrow {
    position: absolute;
    z-index: 2;
    top: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 33px;
    height: 33px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    color: #ffffff;
    background: #43526a;
    box-shadow: 0 5px 12px rgba(15, 23, 42, 0.22);
    transform: translateY(-50%);
    font-size: 0.82rem;
  }

  .mobile-service-carousel-arrow.is-prev { left: 0.7rem; }
  .mobile-service-carousel-arrow.is-next { right: 0.7rem; }

  .mobile-service-carousel + .partners-section {
    margin-top: 0 !important;
  }

  .mobile-service-carousel + .partners-video-interlude {
    margin-top: -1.1rem;
    background: #ffffff;
  }

  /* Let the service row blend into the video rather than sitting in a heavy
     floating box.  Navy and red keep it aligned with Alif Raudhah branding. */
  .mobile-service-carousel-item {
    min-height: 88px;
    border-color: rgba(22, 59, 133, 0.15);
    background: rgba(255, 255, 255, 0.7);
    color: #112e68;
  }

  .mobile-service-carousel-item span {
    border-color: #1d4ed8;
    color: #e52b35;
    background: rgba(255, 255, 255, 0.8);
  }

  .mobile-service-carousel-arrow {
    background: #133b85;
    box-shadow: 0 5px 14px rgba(19, 59, 133, 0.28);
  }

  .mobile-service-carousel-arrow.is-next {
    background: #e52b35;
    box-shadow: 0 5px 14px rgba(229, 43, 53, 0.28);
  }
}

/* Final phone sizing: two larger service cards are visible at a time and can
   be dragged naturally.  The scrollbar remains visually hidden. */
@media (max-width: 767px) {
  .mobile-service-carousel-kicker {
    display: table;
    margin: 0 auto 0.7rem;
    padding: 0.42rem 0.9rem;
    border: 1px solid rgba(29, 78, 216, 0.5);
    border-radius: 999px;
    background: transparent;
    color: #143b85;
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    line-height: 1.1;
  }

  .mobile-service-carousel-shell {
    --service-card-width: clamp(104px, calc((100vw - 7.6rem) / 2), 164px);
    min-height: 132px;
  }

  .mobile-service-carousel-viewport {
    width: calc(var(--service-card-width) + var(--service-card-width) + 0.65rem);
    margin: 0 auto;
    overflow: hidden;
    overflow-y: hidden;
    touch-action: pan-y;
  }

  .mobile-service-carousel-item {
    flex-basis: var(--service-card-width);
    min-height: 112px;
  }
}

/* Phone-only vertical rhythm: each section keeps a clear break without the
   desktop-sized empty bands between consecutive mobile sections. */
@media (max-width: 767px) {
  .director-section {
    padding: 3rem 0 2.4rem;
  }

  .packages-section {
    padding: 0;
  }

  .qurban-section {
    padding: 2.75rem 0 2.4rem;
  }

  .calc-section {
    padding: 3rem 0;
  }

  .itinerary-section {
    padding: 3.25rem 0;
  }

}

/* Final, device-specific director-message scale. These rules stay last so
   shared desktop styles cannot override the intended phone/iPad hierarchy. */
@media (max-width: 767px) {
  .director-section {
    padding: 2.35rem 0 1.9rem;
  }

  .director-content {
    gap: 0.85rem;
  }

  .director-content .section-subtitle {
    margin-bottom: 0;
    font-size: 0.62rem;
    letter-spacing: 0.14em;
  }

  .director-title {
    font-size: 1.48rem;
    line-height: 1.1;
  }

  .director-quote {
    padding: 1.05rem 1.2rem;
    border-left-width: 3px;
  }

  .director-quote-icon {
    top: 0.7rem;
    right: 0.85rem;
    font-size: 1.2rem;
  }

  .director-quote p {
    font-size: 0.86rem;
    line-height: 1.65;
  }

  .director-signature {
    gap: 0.2rem;
    margin-top: 0.15rem;
  }

  .signature-line {
    width: 42px;
    height: 2px;
    margin-bottom: 0.2rem;
  }

  .director-name {
    font-size: 0.88rem;
    letter-spacing: 0.25px;
  }

  .director-position {
    font-size: 0.7rem;
  }

  .calc-form > h2.section-title {
    font-size: 1.7rem !important;
    line-height: 1.12;
    margin-bottom: 1.15rem !important;
  }
}

@media (min-width: 768px) and (max-width: 1024px) {
  .director-section {
    padding: 3.8rem 0 3rem;
  }

  .director-layout {
    gap: 2.25rem;
  }

  .director-content {
    gap: 1rem;
  }

  .director-content .section-subtitle {
    font-size: 0.72rem;
    letter-spacing: 0.13em;
  }

  .director-title {
    font-size: 2rem;
    line-height: 1.14;
  }

  .director-quote {
    padding: 1.2rem 1.4rem;
  }

  .director-quote p {
    font-size: 0.96rem;
    line-height: 1.72;
  }

  .director-name {
    font-size: 1rem;
  }

  .director-position {
    font-size: 0.8rem;
  }
}

/* Tablet-only memories gallery below Tentatif. Its three columns are kept
   separate from the phone gallery and desktop has no gallery at this point. */
.tablet-memories-section {
  display: none;
}

@media (min-width: 768px) and (max-width: 1024px) {
  .tablet-memories-section {
    display: block;
    padding: 4rem 2rem 3.5rem;
    background: #ffffff;
    overflow: hidden;
  }

  .tablet-memories-heading {
    max-width: 36rem;
    margin: 0 auto 2.2rem;
    text-align: center;
  }

  .tablet-memories-heading span {
    display: block;
    margin-bottom: 0.45rem;
    color: var(--primary-red);
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.18em;
    text-transform: uppercase;
  }

  .tablet-memories-heading h2 {
    margin: 0;
    color: var(--text-dark);
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 2.05rem;
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -0.04em;
  }

  .tablet-memories-heading p {
    max-width: 32rem;
    margin: 0.9rem auto 0;
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.65;
  }

  .tablet-memories-marquee {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    max-width: 48rem;
    height: 38rem;
    margin: 0 auto;
    overflow: hidden;
    padding: 0.25rem;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 8%, #000 92%, transparent 100%);
    mask-image: linear-gradient(to bottom, transparent 0, #000 8%, #000 92%, transparent 100%);
  }

  .tablet-memories-column {
    min-width: 0;
    overflow: hidden;
    border-radius: 1.1rem;
  }

  .tablet-memories-track {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    will-change: transform;
  }

  .tablet-memories-track img {
    display: block;
    width: 100%;
    aspect-ratio: 3 / 4;
    border-radius: 1rem;
    object-fit: cover;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.12);
  }

  .tablet-memories-track-up {
    animation: tabletMemoriesUp 72s linear infinite;
  }

  .tablet-memories-track-down {
    animation: tabletMemoriesDown 72s linear infinite;
  }

  @keyframes tabletMemoriesUp {
    from { transform: translateY(0); }
    to { transform: translateY(calc(-50% - 0.5rem)); }
  }

  @keyframes tabletMemoriesDown {
    from { transform: translateY(calc(-50% - 0.5rem)); }
    to { transform: translateY(0); }
  }
}

@media (prefers-reduced-motion: reduce) {
  .tablet-memories-track {
    animation-play-state: paused;
  }
}

/* Desktop-only memories gallery: three horizontal image lanes below Tentatif. */
.desktop-memories-section {
  display: none;
}

@media (min-width: 1025px) {
  .desktop-memories-section {
    display: block;
    padding: 5.25rem 0 5.75rem;
    background: #ffffff;
    overflow: hidden;
  }

  .desktop-memories-heading {
    max-width: 44rem;
    margin: 0 auto 2.4rem;
    padding: 0 1.5rem;
    text-align: center;
  }

  .desktop-memories-heading span {
    display: block;
    margin-bottom: 0.45rem;
    color: var(--primary-red);
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.75rem;
    font-weight: 900;
    letter-spacing: 0.19em;
    text-transform: uppercase;
  }

  .desktop-memories-heading h2 {
    margin: 0;
    color: var(--text-dark);
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: clamp(2.15rem, 3vw, 2.8rem);
    font-weight: 900;
    letter-spacing: -0.045em;
  }

  .desktop-memories-heading p {
    max-width: 38rem;
    margin: 0.85rem auto 0;
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.65;
  }

  .desktop-memories-marquee {
    display: grid;
    gap: 1rem;
    overflow: hidden;
    padding: 0.25rem 0;
    -webkit-mask-image: linear-gradient(to right, transparent 0, #000 7%, #000 93%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0, #000 7%, #000 93%, transparent 100%);
  }

  .desktop-memories-row {
    overflow: hidden;
  }

  .desktop-memories-track {
    display: flex;
    gap: 1rem;
    width: max-content;
    will-change: transform;
  }

  .desktop-memories-track img {
    display: block;
    width: clamp(13rem, 18vw, 18rem);
    height: clamp(8.8rem, 11vw, 11.5rem);
    border-radius: 1.1rem;
    object-fit: cover;
    box-shadow: 0 0.8rem 1.8rem rgba(15, 23, 42, 0.14);
  }

  .desktop-memories-track-right {
    animation: desktopMemoriesRight 68s linear infinite;
  }

  .desktop-memories-track-left {
    animation: desktopMemoriesLeft 68s linear infinite;
  }

  @keyframes desktopMemoriesLeft {
    from { transform: translateX(0); }
    to { transform: translateX(calc(-50% - 0.5rem)); }
  }

  @keyframes desktopMemoriesRight {
    from { transform: translateX(calc(-50% - 0.5rem)); }
    to { transform: translateX(0); }
  }
}

@media (prefers-reduced-motion: reduce) {
  .desktop-memories-track {
    animation-play-state: paused;
  }
}

/* iPad-only service carousel beneath the director's message. */
.tablet-service-carousel {
  display: none;
}

@media (min-width: 768px) and (max-width: 1024px) {
  .tablet-service-carousel {
    display: block;
    padding: 0.5rem 2rem 3.75rem;
    background: #ffffff;
    overflow: hidden;
  }

  .tablet-service-carousel-inner {
    width: min(100%, 44rem);
    margin: 0 auto;
  }

  .tablet-service-carousel-kicker {
    display: table;
    margin: 0 auto 1rem;
    padding: 0.48rem 1.15rem;
    border: 1px solid rgba(29, 78, 216, 0.48);
    border-radius: 999px;
    color: #143b85;
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    line-height: 1.1;
    text-transform: uppercase;
  }

  .tablet-service-carousel-shell {
    position: relative;
    padding: 0 4.25rem;
  }

  .tablet-service-carousel-viewport {
    width: calc(100% - 0.1rem);
    margin: 0 auto;
    overflow: hidden;
    touch-action: pan-y;
  }

  .tablet-service-carousel-track {
    display: flex;
    gap: 1rem;
    width: max-content;
    will-change: transform;
  }

  .tablet-service-carousel-item {
    display: flex;
    flex: 0 0 clamp(220px, calc((100vw - 12.5rem - 1rem) / 2), 276px);
    min-width: 0;
    min-height: 148px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    padding: 1rem;
    border: 1px solid rgba(29, 78, 216, 0.16);
    border-radius: 1.15rem;
    background: linear-gradient(135deg, #ffffff, #f3f8ff);
    box-sizing: border-box;
    color: #12326f;
    font-size: 0.95rem;
    font-weight: 800;
    text-align: center;
    text-decoration: none;
    box-shadow: 0 10px 24px rgba(15, 45, 104, 0.08);
  }

  .tablet-service-carousel-item span {
    display: inline-flex;
    width: 48px;
    height: 48px;
    align-items: center;
    justify-content: center;
    border: 2px solid #1d4ed8;
    border-radius: 50%;
    color: #e52b35;
    font-size: 1.15rem;
  }

  .tablet-service-carousel-arrow {
    position: absolute;
    z-index: 2;
    top: 50%;
    display: inline-flex;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 0;
    border-radius: 50%;
    color: #ffffff;
    background: #133b85;
    box-shadow: 0 7px 16px rgba(19, 59, 133, 0.26);
    transform: translateY(-50%);
    font-size: 0.95rem;
  }

  .tablet-service-carousel-arrow.is-prev { left: 0.45rem; }
  .tablet-service-carousel-arrow.is-next { right: 0.45rem; background: #e52b35; box-shadow: 0 7px 16px rgba(229, 43, 53, 0.26); }
}

/* iPad Journey Planner: two complete routes, without hidden accordion cards. */
.tablet-journey-planner {
  display: none;
}

/* Phone itinerary: a concise slider replaces the long six-card timeline. */
.mobile-journey-slider { display: none; }

@media (max-width: 767px) {
  .itinerary-section .timeline-sflow-wrapper { display: none; }

  .mobile-journey-slider {
    display: block;
    max-width: 25rem;
    margin: 1.7rem auto 0;
    overflow: hidden;
  }

  .mobile-journey-tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.45rem;
    margin-bottom: 0.85rem;
    padding: 0.3rem;
    border: 1px solid #cbdcff;
    border-radius: 0.9rem;
    background: #f8fbff;
  }

  .mobile-journey-tabs button {
    min-width: 0;
    padding: 0.65rem 0.35rem;
    border: 0;
    border-radius: 0.65rem;
    background: transparent;
    color: #334155;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.68rem;
    font-weight: 800;
    cursor: pointer;
  }

  .mobile-journey-tabs button.is-active {
    background: linear-gradient(120deg, #e52b35, #2563eb);
    color: #ffffff;
    box-shadow: 0 5px 13px rgba(37, 77, 192, 0.22);
  }

  .mobile-journey-route { display: none; }
  .mobile-journey-route.is-active { display: block; }

  .mobile-journey-passport {
    display: grid;
    gap: 0.22rem;
    margin-bottom: 0.7rem;
    padding: 0.75rem 0.9rem;
    border: 1px dashed #98b9ef;
    border-radius: 0.85rem;
    background: linear-gradient(135deg, #ffffff, #edf5ff);
  }

  .mobile-journey-passport span {
    color: #e52b35;
    font-size: 0.62rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  .mobile-journey-passport strong {
    color: #173e82;
    font-size: 0.72rem;
    line-height: 1.4;
  }

  .mobile-journey-passport strong i { padding: 0 0.12rem; color: #e52b35; }

  .mobile-journey-slider-track {
    display: flex;
    transition: transform 300ms ease;
    will-change: transform;
  }

  .mobile-journey-slide {
    position: relative;
    box-sizing: border-box;
    width: 100%;
    min-width: 100%;
    min-height: 250px;
    padding: 1.35rem 1.25rem 1.15rem;
    border: 1px solid #bfd9ff;
    border-radius: 1.25rem;
    background: linear-gradient(145deg, #f8fbff, #eaf4ff);
    box-shadow: 0 12px 25px rgba(15, 45, 104, 0.1);
  }

  .mobile-journey-count {
    position: absolute;
    top: 1rem;
    right: 1rem;
    color: #2563eb;
    font-size: 0.68rem;
    font-weight: 900;
    letter-spacing: 0.08em;
  }

  .mobile-journey-icon {
    display: inline-flex;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.85rem;
    border-radius: 50%;
    background: linear-gradient(135deg, #e52b35, #2563eb);
    color: #ffffff;
  }

  .mobile-journey-slide > p {
    margin: 0 0 0.25rem;
    color: #e52b35;
    font-size: 0.7rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  .mobile-journey-slide h3 {
    margin: 0 0 0.8rem;
    color: #10254e;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.25rem;
    font-weight: 900;
  }

  .mobile-journey-slide ul {
    display: grid;
    gap: 0.65rem;
    margin: 0;
    padding: 0;
    list-style: none;
  }

  .mobile-journey-slide li {
    padding-left: 1.1rem;
    color: #475569;
    font-size: 0.82rem;
    line-height: 1.55;
    position: relative;
  }

  .mobile-journey-slide li::before {
    content: '';
    position: absolute;
    top: 0.48rem;
    left: 0;
    width: 0.42rem;
    height: 0.42rem;
    border-radius: 50%;
    background: #e52b35;
  }

  .mobile-journey-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 0.9rem;
  }

  .mobile-journey-arrow {
    display: inline-flex;
    width: 34px;
    height: 34px;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 50%;
    background: #173e82;
    color: #ffffff;
    cursor: pointer;
  }

  .mobile-journey-dots { display: flex; gap: 0.45rem; }
  .mobile-journey-dots button { width: 7px; height: 7px; padding: 0; border: 0; border-radius: 50%; background: #cbd5e1; cursor: pointer; }
  .mobile-journey-dots button.is-active { width: 21px; border-radius: 99px; background: #e52b35; }
}

@media (min-width: 768px) and (max-width: 1024px) {
  .itinerary-section {
    padding: 4.25rem 0;
  }

  .itinerary-section .section-header {
    max-width: 38rem;
    margin-inline: auto;
  }

  .itinerary-section .section-title {
    font-size: clamp(1.85rem, 4.2vw, 2.25rem);
  }

  .itinerary-section .timeline-sflow-wrapper {
    display: none;
  }

  .tablet-journey-planner {
    display: block;
    max-width: 42rem;
    margin: 2rem auto 0;
  }

  .tablet-journey-tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
    margin-bottom: 1rem;
  }

  .tablet-journey-tab {
    display: inline-flex;
    width: 100%;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    padding: 1rem 1.15rem;
    border: 1px solid #d8e3f3;
    border-radius: 1rem;
    background: #ffffff;
    color: #112e68;
    box-shadow: 0 6px 18px rgba(15, 45, 104, 0.06);
    cursor: pointer;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.9rem;
    font-weight: 800;
    text-align: center;
    transition: border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
  }

  .tablet-journey-tab.is-active {
    border-color: transparent;
    background: linear-gradient(120deg, #e52b35, #2563eb);
    color: #ffffff;
    box-shadow: 0 10px 24px rgba(37, 77, 192, 0.2);
  }

  .tablet-journey-tab:not(.is-active) {
    border-color: #bdd2ff;
    background: #f8fbff;
  }

  .tablet-journey-route {
    display: none;
    padding: 1.15rem;
    border: 1px solid #cbdcff;
    border-radius: 1.2rem;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 12px 28px rgba(15, 45, 104, 0.08);
  }

  .tablet-journey-route.is-active {
    display: block;
  }

  .tablet-journey-route-heading {
    margin-bottom: 1rem;
    text-align: center;
  }

  .tablet-journey-route-heading span {
    display: block;
    color: #2563eb;
    font-size: 0.7rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  .tablet-journey-route-heading h3 {
    margin: 0.3rem 0 0;
    color: #10254e;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.1rem;
    font-weight: 900;
  }

  .tablet-journey-route-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.8rem;
  }

  .tablet-journey-phase {
    display: flex;
    width: 100%;
    align-items: center;
    gap: 0.9rem;
    margin-top: 0.7rem;
    padding: 1rem 1.15rem;
    border: 1px solid #d8e3f3;
    border-radius: 1rem;
    background: #ffffff;
    color: #112e68;
    box-shadow: 0 6px 18px rgba(15, 45, 104, 0.06);
    cursor: default;
    text-align: left;
  }

  .tablet-journey-phase.is-active {
    border-color: #2563eb;
    background: linear-gradient(135deg, #eff6ff, #ffffff);
    box-shadow: 0 10px 24px rgba(37, 99, 235, 0.13);
  }

  .tablet-journey-phase-icon {
    display: inline-flex;
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, #e52b35, #2563eb);
    color: #ffffff;
    font-size: 1.05rem;
  }

  .tablet-journey-phase-copy { display: grid; min-width: 0; gap: 0.18rem; }
  .tablet-journey-phase-copy strong { font-size: 1rem; font-weight: 800; }
  .tablet-journey-phase-copy small { color: #64748b; font-size: 0.78rem; line-height: 1.35; }
  .tablet-journey-phase-details {
    display: none;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.8rem;
    padding: 0.7rem 0.1rem 0.45rem;
  }

  .tablet-journey-phase-details.is-active { display: grid; }

  .tablet-journey-step {
    display: flex;
    min-width: 0;
    gap: 0.75rem;
    padding: 1rem;
    border: 1px solid #dbeafe;
    border-radius: 0.95rem;
    background: #f8fbff;
  }

  .tablet-journey-step > span {
    color: #e52b35;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.05rem;
    font-weight: 900;
    line-height: 1;
  }

  .tablet-journey-step div {
    min-width: 0;
  }

  .tablet-journey-step small {
    display: block;
    margin-bottom: 0.35rem;
    color: #2563eb;
    font-size: 0.7rem;
    font-weight: 800;
    line-height: 1.35;
  }

  .tablet-journey-step h3 {
    margin: 0 0 0.4rem;
    color: #10254e;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.88rem;
    font-weight: 800;
    line-height: 1.35;
  }

  .tablet-journey-step p {
    margin: 0;
    color: #475569;
    font-size: 0.76rem;
    line-height: 1.55;
  }
}
/* Qurban intro: compact, clearer mobile typography. */
@media (max-width: 767px) {
  .qurban-section .section-header {
    max-width: 20.5rem;
    margin: 0 auto 1.65rem;
  }

  .qurban-section .section-subtitle {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.64rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    line-height: 1.2;
    margin-bottom: 0.35rem;
  }

  .qurban-section .section-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: clamp(1.42rem, 6vw, 1.68rem);
    font-weight: 800;
    line-height: 1.14;
    letter-spacing: -0.035em;
    margin: 0;
  }

  .qurban-section .section-header > p {
    max-width: 20rem;
    margin: 0.5rem auto 0 !important;
    font-size: 0.76rem;
    line-height: 1.48;
  }
}

/* Itinerary heading video is reserved for phone and iPad only. */
.itinerary-heading-video { display: none; }

@media (max-width: 767px) {
  .itinerary-section .itinerary-heading {
    position: relative;
    isolation: isolate;
    width: 100vw;
    max-width: none;
    min-height: 15rem;
    margin: 0 calc(50% - 50vw) 1.4rem;
    padding: 1.25rem 1rem;
    display: grid;
    place-items: center;
    overflow: hidden;
    border: 0;
    border-top: 0 !important;
    border-bottom: 0 !important;
    outline: 0;
    border-radius: 0;
    background: #f8fafc;
    box-shadow: none;
  }

  .itinerary-heading-video {
    display: block;
    position: absolute;
    z-index: -2;
    inset: -2px 0;
    width: 100%;
    height: calc(100% + 4px);
    object-fit: cover;
    transform: scale(1.02);
  }

  .itinerary-heading::after {
    content: '';
    position: absolute;
    z-index: -1;
    inset: 0;
    background: linear-gradient(to bottom, rgba(248, 250, 252, 0.42) 0%, rgba(15, 51, 104, 0.30) 9%, rgba(5, 20, 49, 0.42) 54%, rgba(15, 51, 104, 0.22) 84%, rgba(248, 250, 252, 0.50) 100%);
  }

  .itinerary-heading-copy { text-align: center; font-family: var(--font-heading); }
  .itinerary-heading .section-subtitle { color: #ffffff; margin-bottom: 0.35rem; text-shadow: 0 1px 10px rgba(0, 0, 0, 0.42); }
  .itinerary-heading .section-title { color: #ffffff; font-family: var(--font-heading); font-size: clamp(1.35rem, 6.3vw, 1.72rem); font-weight: 800; line-height: 1.17; text-shadow: 0 2px 12px rgba(0, 0, 0, 0.44); }
  .itinerary-heading p { max-width: 19rem; margin: 0.45rem auto 0; color: rgba(255, 255, 255, 0.95) !important; font-size: 0.72rem; line-height: 1.45; text-shadow: 0 1px 7px rgba(0, 0, 0, 0.45); }
}

@media (min-width: 768px) and (max-width: 1024px) {
  .itinerary-section .itinerary-heading {
    position: relative;
    isolation: isolate;
    width: 100vw;
    max-width: none;
    min-height: 22rem;
    margin: 0 calc(50% - 50vw) 2rem;
    padding: 2rem 2.25rem;
    display: grid;
    place-items: center;
    overflow: hidden;
    border: 0;
    border-top: 0 !important;
    border-bottom: 0 !important;
    outline: 0;
    border-radius: 0;
    background: #f8fafc;
    box-shadow: none;
  }

  .itinerary-heading-video {
    display: block;
    position: absolute;
    z-index: -2;
    inset: -2px 0;
    width: 100%;
    height: calc(100% + 4px);
    object-fit: cover;
    transform: scale(1.02);
  }

  .itinerary-heading::after {
    content: '';
    position: absolute;
    z-index: -1;
    inset: 0;
    background: linear-gradient(to bottom, rgba(248, 250, 252, 0.38) 0%, rgba(15, 51, 104, 0.27) 9%, rgba(5, 20, 49, 0.38) 54%, rgba(15, 51, 104, 0.20) 84%, rgba(248, 250, 252, 0.46) 100%);
  }

  .itinerary-heading-copy { text-align: center; font-family: var(--font-heading); }
  .itinerary-heading .section-subtitle { color: #ffffff; margin-bottom: 0.45rem; text-shadow: 0 1px 10px rgba(0, 0, 0, 0.42); }
  .itinerary-heading .section-title { color: #ffffff; font-family: var(--font-heading); font-size: clamp(1.9rem, 4.4vw, 2.35rem); font-weight: 800; line-height: 1.16; text-shadow: 0 2px 12px rgba(0, 0, 0, 0.44); }
  .itinerary-heading p { max-width: 31rem; margin: 0.6rem auto 0; color: rgba(255, 255, 255, 0.95) !important; font-size: 0.9rem; line-height: 1.55; text-shadow: 0 1px 7px rgba(0, 0, 0, 0.45); }
}

/* Laptop/desktop keeps the original plain Tentatif heading. */
@media (min-width: 1025px) {
  .itinerary-section .itinerary-heading {
    display: block;
    position: static;
    isolation: auto;
    max-width: 720px;
    min-height: 0;
    margin: 0 auto 3.5rem;
    padding: 0;
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .itinerary-heading-copy { text-align: center; }
}

/* Final tablet navigation safeguard: login belongs in the active iPad drawer. */
@media (min-width: 768px) and (max-width: 1024px) {
  #navLinks.active > .drawer-footer {
    display: block !important;
    width: 100% !important;
    margin: auto 0 0 !important;
    padding: 1.1rem 0 calc(1rem + env(safe-area-inset-bottom, 0px)) !important;
    border-top: 1px solid #e2e8f0 !important;
    flex: 0 0 auto !important;
    box-sizing: border-box !important;
  }

  #navLinks.active > .drawer-footer .drawer-auth-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.55rem !important;
    width: 100% !important;
    min-height: 50px !important;
    padding: 0.8rem 1.2rem !important;
    border: 0 !important;
    border-radius: 13px !important;
    background: linear-gradient(135deg, #ef4444 0%, #2563eb 100%) !important;
    color: #ffffff !important;
    font-size: 0.95rem !important;
    font-weight: 800 !important;
    cursor: pointer !important;
    box-shadow: 0 9px 20px rgba(37, 99, 235, 0.2) !important;
    box-sizing: border-box !important;
  }
}


/* ==========================================================================
   RETURN TO TOP / SCROLL TO TOP BUTTON (RESPONSIVE FOR ALL DEVICES)
   ========================================================================== */
#scrollTopBtn {
  position: fixed;
  bottom: 28px;
  left: 28px; right: auto;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  color: #ffffff;
  border: none;
  outline: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4), 0 2px 8px rgba(15, 23, 42, 0.15);
  z-index: 99999;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px) scale(0.9);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  -webkit-tap-highlight-color: transparent;
}

#scrollTopBtn.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

#scrollTopBtn:hover {
  background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%);
  box-shadow: 0 8px 25px rgba(37, 99, 235, 0.55), 0 4px 12px rgba(15, 23, 42, 0.2);
  transform: translateY(-4px) scale(1.05);
}

#scrollTopBtn:active {
  transform: translateY(-1px) scale(0.96);
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.35);
}

/* Tablet (iPad & Medium Screens) */
@media (max-width: 1024px) {
  #scrollTopBtn {
    bottom: 24px;
    left: 24px; right: auto;
    width: 46px;
    height: 46px;
    font-size: 1.05rem;
  }
}

/* Mobile (Phones) */
@media (max-width: 640px) {
  #scrollTopBtn {
    bottom: 20px;
    left: 20px; right: auto;
    width: 42px;
    height: 42px;
    font-size: 0.95rem;
    box-shadow: 0 5px 16px rgba(37, 99, 235, 0.45);
  }
}

/* Price-details scrolling: phone and iPad only. The desktop modal is unchanged. */
@media (max-width: 1024px) {
  .price-modal-overlay.active {
    height: 100vh !important;
    height: 100dvh !important;
    align-items: center !important;
    overflow: hidden !important;
    touch-action: pan-y !important;
  }

  .price-modal-card {
    max-height: calc(100vh - 1rem) !important;
    max-height: calc(100dvh - 1rem) !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
    overscroll-behavior: contain !important;
    touch-action: pan-y !important;
  }

  .price-modal-header {
    position: sticky !important;
    top: 0 !important;
    z-index: 5 !important;
  }
}

/* Booking confirmation summary: keep long package names clear on every screen. */
.confirm-summary-card {
  box-sizing: border-box;
  min-width: 0;
}

.confirm-summary-card #confirmHotelSummary,
.confirm-summary-card #confirmPkgType,
.confirm-summary-card #confirmRoomRateBox {
  overflow-wrap: anywhere;
}

.confirm-summary-meta {
  display: grid;
  gap: 0.72rem;
  margin-bottom: 1.25rem;
  color: #475569;
  font-size: 0.85rem;
}

.confirm-summary-meta-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
}

.confirm-summary-meta-row strong { flex: 0 0 auto; }

.confirm-flight-class {
  align-items: center;
  padding: 0.72rem 0.82rem;
  border: 1px solid #d9e6f5;
  border-radius: 0.72rem;
  background: #ffffff;
}

.confirm-flight-class > span {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  color: #56709a;
  font-size: 0.75rem;
  font-weight: 800;
}

.confirm-flight-class > span i { color: #2563eb; }

.confirm-flight-class strong {
  padding: 0.28rem 0.55rem;
  border-radius: 999px;
  background: #eff6ff;
  color: #173e82 !important;
  font-size: 0.75rem;
  font-weight: 900;
}

.confirm-summary-package {
  display: grid;
  gap: 0.28rem;
  padding: 0.78rem 0.9rem;
  border: 1px dashed #bfd3ee;
  border-radius: 0.75rem;
  background: #f8fbff;
}

.confirm-summary-package > span {
  color: #56709a;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.confirm-summary-package #confirmPkgType {
  display: block;
  color: #10254e;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.82rem;
  font-weight: 900;
  line-height: 1.45;
}

.confirm-summary-code-row {
  display: flex;
  gap: 0.5rem;
  min-width: 0;
}

.confirm-summary-code-row input { min-width: 0; }

.confirm-summary-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 0.7rem;
  padding: 0.9rem 1rem;
  border: 1px solid #bdd8ff;
  border-radius: 0.85rem;
  background: linear-gradient(135deg, #eff6ff, #f8fbff);
  color: #173e82;
  font-size: 0.78rem;
  font-weight: 900;
}

.confirm-summary-total > span:first-child {
  text-transform: uppercase;
  letter-spacing: 0.035em;
}

.confirm-summary-total #priceGrandTotal {
  color: #e52b35;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.2rem;
  font-weight: 900;
  white-space: nowrap;
}

@media (max-width: 640px) {
  .confirm-summary-card { padding: 1.1rem !important; }
  .confirm-summary-meta { margin-bottom: 1rem; }
  .confirm-summary-meta-row { align-items: flex-start; flex-direction: column; gap: 0.16rem; }
  .confirm-flight-class { align-items: center; flex-direction: row; }
  .confirm-summary-package #confirmPkgType { font-size: 0.78rem; }
  .confirm-summary-total { padding: 0.82rem 0.85rem; }
  .confirm-summary-total #priceGrandTotal { font-size: 1.05rem; }
  .confirm-summary-code-row button { flex: 0 0 auto; padding-inline: 0.75rem !important; }
}

/* Final phone-only room-card alignment override.  It sits last because older
   mobile rules use !important declarations. */
@media (max-width: 540px) {
  .room-type-card .room-card-header {
    flex-wrap: nowrap !important;
    gap: 0.3rem !important;
  }

  .room-type-card .room-card-title {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    font-size: 0.76rem !important;
    line-height: 1.2 !important;
    letter-spacing: -0.02em !important;
    white-space: nowrap !important;
  }

  .room-type-card .room-card-price-tag {
    flex: 0 0 auto !important;
    font-size: 0.62rem !important;
    line-height: 1.2 !important;
    letter-spacing: -0.02em !important;
    white-space: nowrap !important;
  }

  .room-type-card .room-card-price-tag strong {
    font-size: 0.82rem !important;
  }
}


/* ==========================================================================
   MOBILE-ONLY 3-PILL (2+1 FORMAT) INTERACTIVE SINGLE CARD ENGINE (<640px)
   (Laptop, iPad, and Tablet remain 100% 3-column grid)
   ========================================================================== */
.mobile-stay-pills-bar-21 {
  display: none;
}

@media (max-width: 640px) {
  .mobile-stay-pills-bar-21 {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
    width: 100%;
    padding: 0 0.25rem;
    box-sizing: border-box;
  }

  .mobile-pills-row-top {
    display: flex;
    gap: 0.5rem;
    width: 100%;
  }

  .mobile-pills-row-top .mobile-stay-pill-btn-21 {
    flex: 1;
    width: 50%;
  }

  .mobile-pills-row-bottom {
    display: flex;
    width: 100%;
  }

  .mobile-pills-row-bottom .mobile-stay-pill-btn-21 {
    width: 100%;
  }

  .mobile-stay-pill-btn-21 {
    padding: 0.6rem 0.75rem;
    border-radius: 50px;
    border: 1.5px solid #cbd5e1;
    background: #ffffff;
    color: #334155;
    font-size: 0.8rem;
    font-weight: 800;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    box-shadow: 0 2px 6px rgba(0,0,0,0.04);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
  }

  .mobile-stay-pill-btn-21 i {
    font-size: 0.85rem;
    color: #64748b;
    transition: color 0.25s;
  }

  .mobile-stay-pill-btn-21.active {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: #ffffff;
    border-color: #2563eb;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.4);
    transform: translateY(-1px);
  }

  .mobile-stay-pill-btn-21.active i {
    color: #ffffff;
  }

  /* Single Card Display on Mobile */
  .package-highlights-grid {
    display: block !important;
  }

  .package-highlights-grid .highlight-card {
    display: none;
    opacity: 0;
    transform: scale(0.97) translateY(6px);
    transition: opacity 0.35s cubic-bezier(0.4, 0, 0.2, 1), transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .package-highlights-grid .highlight-card.active-mobile-card-21 {
    display: block !important;
    opacity: 1 !important;
    transform: scale(1) translateY(0) !important;
  }
}


/* ==========================================================================
   FROSTED GLASS CIRCLE BADGE FOR MONTH BANNER NAV (ALL DEVICES & BREAKPOINTS)
   ========================================================================== */
.month-banner-nav,
.grid-banner-nav-right,
.grid-banner-nav-left {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 42px !important;
  height: 42px !important;
  min-width: 42px !important;
  min-height: 42px !important;
  border-radius: 50% !important;
  background: rgba(255, 255, 255, 0.22) !important;
  -webkit-backdrop-filter: blur(8px) !important;
  backdrop-filter: blur(8px) !important;
  border: 1px solid rgba(255, 255, 255, 0.40) !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12), inset 0 1px 1px rgba(255, 255, 255, 0.5) !important;
  color: #ffffff !important;
  text-decoration: none !important;
  cursor: pointer !important;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
  -webkit-tap-highlight-color: transparent !important;
}

.month-banner-nav i,
.grid-banner-nav-right i,
.grid-banner-nav-left i {
  font-size: 1.15rem !important;
  color: #ffffff !important;
  transition: transform 0.25s ease !important;
}

.month-banner-nav:hover,
.grid-banner-nav-right:hover,
.grid-banner-nav-left:hover {
  background: rgba(255, 255, 255, 0.38) !important;
  border-color: rgba(255, 255, 255, 0.65) !important;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.18), inset 0 1px 2px rgba(255, 255, 255, 0.7) !important;
  transform: scale(1.08) !important;
}

.month-banner-nav:active,
.grid-banner-nav-right:active,
.grid-banner-nav-left:active {
  transform: scale(0.95) !important;
  background: rgba(255, 255, 255, 0.45) !important;
}

@media (max-width: 1024px) {
  .month-banner-nav,
  .grid-banner-nav-right,
  .grid-banner-nav-left {
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    min-height: 40px !important;
  }
  .month-banner-nav i,
  .grid-banner-nav-right i,
  .grid-banner-nav-left i {
    font-size: 1.1rem !important;
  }
}

@media (max-width: 640px) {
  .month-banner-nav,
  .grid-banner-nav-right,
  .grid-banner-nav-left {
    width: 38px !important;
    height: 38px !important;
    min-width: 38px !important;
    min-height: 38px !important;
  }
  .month-banner-nav i,
  .grid-banner-nav-right i,
  .grid-banner-nav-left i {
    font-size: 1.05rem !important;
  }
}


/* ── MULTI-DEVICE SAFARI / IPHONE / ANDROID / PC / TV DOUBLE SHIELD ── */
#drawerDashboardButton[hidden],
#openAdminDashboardButton[hidden],
.drawer-dashboard-action[hidden] {
  display: none !important;
}

.btn-guest-checkout:hover {
  background: #f1f5f9 !important;
  border-color: #94a3b8 !important;
  color: #0f172a !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}