/* Slidable header nav */
.header-bar {
  display: flex;
  align-items: center;
  overflow: hidden;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  position: relative;
  flex: 1 1 auto;
  min-width: 0;
}

.primary-nav .nav-home {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
}

.primary-nav .nav-scroll {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
  flex: 1 1 auto;
  min-width: 0;
  padding: 4px 0;
}

.primary-nav .nav-scroll.dragging {
  cursor: grabbing;
}

.primary-nav .nav-link {
  white-space: nowrap;
  text-decoration: none;
}

.primary-nav .nav-scroll .nav-link {
  position: relative;
  padding-right: 10px;
  margin-right: 10px;
}

.primary-nav .nav-scroll .nav-link:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 14px;
  background: rgba(0, 0, 0, 0.15);
}

.primary-nav .nav-scroll::-webkit-scrollbar {
  height: 0;
}

.primary-nav .nav-scroll-btn {
  flex: 0 0 auto;
  border: 1px solid rgba(0, 0, 0, 0.1);
  background: #fff;
  color: #333;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.primary-nav .nav-scroll-btn:disabled {
  opacity: 0.4;
  cursor: default;
}

.primary-nav .nav-scroll-btn:hover:not(:disabled) {
  background: rgba(0, 0, 0, 0.05);

}

/* Responsive: screens below 900px */
@media (max-width: 900px) {
  .primary-nav {
    gap: 6px;
  }

  .primary-nav .nav-scroll {
    gap: 10px;
    padding: 2px 0;
  }

  .primary-nav .nav-link {
    font-size: 0.95rem;
  }

  .primary-nav .nav-scroll .nav-link {
    padding-right: 8px;
    margin-right: 8px;
  }

  .primary-nav .nav-scroll .nav-link:not(:last-child)::after {
    height: 12px;
    opacity: 0.6;
  }

  .primary-nav .nav-scroll-btn {
    width: 24px;
    height: 24px;
  }

  /* Keep nav safely within header bar */
  .header-bar,
  .site-header .container {
    overflow: hidden;
  }
}

/* Ensure header content never overflows horizontally */
.site-header .container {
  overflow: hidden;
}

.contact-item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.contact-icon {
  width: 20px;
  height: 20px;
  display: inline-block;
}

.contact-icon--facebook {
  color: #1877F2;
}

.contact-icon--instagram {
  color: #E4405F;
}

.contact-icon--gmail {
  color: #EA4335;
}

.contact-icon--whatsapp {
  color: #25D366;
}

/* Utility: visually hidden (screen-reader only) */
.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* Nav icon sizing */
.primary-nav .nav-icon {
  width: 30px;
  height: 30px;
  display: inline-block;
  vertical-align: middle;
}

/* Modern rounded icon button for Home */
.primary-nav .nav-home {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(10, 93, 108, 0.25);
  background: #ffffff;
  color: #0a5d6c;
  box-shadow: 0 6px 14px rgba(11, 54, 62, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.primary-nav .nav-home:hover {
  transform: translateY(-3px);
  background: #0a5d6c;
  color: #ffffff;
  border-color: #0a5d6c;
  box-shadow: 0 12px 24px rgba(10, 93, 108, 0.25);
}

.primary-nav .nav-home:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(10, 93, 108, 0.35);
}

/* HOT badge for slider cards */
.slider-card {
  position: relative;
}

.badge-hot {
  position: absolute;
  top: 1rem;
  left: -0.35rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1.4rem 0.55rem 1.8rem;
  background: linear-gradient(135deg, #ff4d4f 0%, #b80000 100%);
  color: #fff;
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border-radius: 0 10px 10px 0;
  box-shadow: 0 10px 20px rgba(184, 0, 0, 0.35);
  z-index: 3;
  transform-origin: left center;
  overflow: visible;
  animation: ribbonBounce 3s ease-in-out infinite;
}

.badge-hot::before {
  content: "";
  position: absolute;
  inset: -0.75rem -1.1rem;
  background: radial-gradient(circle, rgba(255, 102, 102, 0.45) 0%, rgba(184, 0, 0, 0) 70%);
  border-radius: 999px;
  filter: blur(8px);
  opacity: 0.75;
  z-index: -1;
  animation: auraPulse 2.4s ease-in-out infinite;
}

.badge-hot::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.55rem;
  border-top: 0.55rem solid #7a0000;
  border-left: 0.55rem solid transparent;
  border-right: 0.55rem solid transparent;
}

@media (min-width: 640px) {
  .badge-hot {
    font-size: 1rem;
    padding: 0.65rem 1.6rem 0.65rem 2rem;
  }
}

@keyframes ribbonBounce {

  0%,
  100% {
    transform: translateY(0);
    box-shadow: 0 10px 20px rgba(184, 0, 0, 0.35);
  }

  50% {
    transform: translateY(-2px);
    box-shadow: 0 14px 26px rgba(255, 77, 79, 0.45);
  }
}

@keyframes auraPulse {

  0%,
  100% {
    opacity: 0.6;
    transform: scale(0.95);
  }

  50% {
    opacity: 0.95;
    transform: scale(1.05);
  }
}

/* Hero video overlay */
.hero {
  position: relative;
}

.hero-video-frame {
  position: relative;
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  z-index: 2;
  pointer-events: none;
}

.hero-overlay::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0.35) 100%);
  z-index: -1;
}

.hero-overlay-inner {
  max-width: 1100px;
  text-align: center;
  color: #fff;
}

.hero-title {
  font-size: clamp(2rem, 5vw, 10rem);
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.35);
  margin: 0.25rem 0 0.75rem;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.5rem);
  font-weight: 500;
  opacity: 0.95;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.3);
  margin: 0;
}

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

/* Category card hover animation */
.category-card {
  transition: transform 200ms ease, box-shadow 200ms ease;
  overflow: hidden;
  max-height: 500px;
}

.category-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.category-card .category-card-image {
  transition: transform 250ms ease, filter 250ms ease;
}

.category-card:hover .category-card-image {
  transform: scale(1.03);
  filter: saturate(1.1);
}

/* Gradient background for the top overlay shell */
.nav-overlay-shell {
  /* Fallback solid color */
  background: #006d91;
  background: linear-gradient(0deg, rgba(0, 109, 145, 1) 0%, rgba(0, 162, 207, 1) 40%, rgba(0, 221, 255, 1) 100%);
  padding-top: 5rem;
  justify-items: center;
  position: relative;
}

/* Right-aligned overlay contact icons grid */
.overlay-icons-grid {
  position: absolute;
  right: 2%;
  top: 1.5rem;
  display: grid;
  grid-template-columns: repeat(2, auto);
  gap: 0.5rem 0.75rem;
  z-index: 21;
}

.overlay-icons-grid .contact-icon {
  width: 50px;
  height: 50px;
  display: block;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.25));
}

@media (max-width: 1100px) {
  .overlay-icons-grid {
    display: none;
  }
}

@media (max-width: 700px) {
  .overlay-icons-grid {
    right: 1rem;
    top: 0.75rem;
    transform: scale(0.9);
    transform-origin: top right;
  }
}

/* Admin thumbnails: allow quick disappear animation on removal */
.thumb-tile {
  transition: opacity 150ms ease, transform 150ms ease;
}

.thumb-tile.removed {
  opacity: 0;
  transform: scale(0.95);
  pointer-events: none;
}

* {
  box-sizing: border-box;
}

.admin-auth {
  min-height: calc(100vh - 160px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 16px;
  background: linear-gradient(160deg, rgba(214, 38, 38, 0.08) 0%, rgba(235, 93, 48, 0.12) 100%);
}

.admin-auth__container {
  width: 100%;
  max-width: 420px;
  padding: 40px 32px;
  border-radius: 20px;
  background-color: #ffffff;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.admin-auth__title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 12px;
  color: #d62626;
  text-align: center;
}

.admin-auth__subtitle {
  margin: 0 0 24px;
  color: #606060;
  font-size: 14px;
  text-align: center;
}

.admin-auth__errors {
  margin-bottom: 24px;
  padding: 12px 16px;
  border-left: 4px solid #d62626;
  border-radius: 12px;
  background-color: rgba(214, 38, 38, 0.12);
  color: #8e1a1a;
  font-size: 14px;
}

.admin-auth__errors ul {
  margin: 0;
  padding-left: 20px;
}

.admin-auth__form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.admin-auth__field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.admin-auth__field label {
  font-weight: 600;
  font-size: 14px;
  color: #303030;
}

.admin-auth__field input {
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid rgba(0, 0, 0, 0.16);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  font-size: 15px;
}

.admin-auth__field input:focus {
  outline: none;
  border-color: #d62626;
  box-shadow: 0 0 0 3px rgba(214, 38, 38, 0.18);
}

.admin-auth__submit {
  width: 100%;
  padding: 14px 20px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 15px;
}

@media (max-width: 480px) {
  .admin-auth__container {
    padding: 32px 20px;
  }

  .admin-auth__title {
    font-size: 22px;
  }

  .admin-auth__subtitle {
    font-size: 13px;
  }
}

body {
  width: 100vw;
  max-width: 100vw;
  overflow-x: hidden;
  margin: 0;
  font-family: 'Montserrat', sans-serif;
  color: #1b1b1d;
  background: #ffffff;
  line-height: 1.6;
}

main {
  width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3 {
  margin-top: 0;
  font-weight: 700;
}

.container {
  width: min(1100px, 92%);
  margin: 0 auto;
}

.site-header {
  background: white;
  /* border-bottom: 1px solid rgba(0, 0, 0, 0.06); */
  position: sticky;
  top: 0;
  z-index: 10;
  width: 80%;
  border-radius: 50px 50px 0 0;
  padding-bottom: 0rem;
}

.nav-overlay-shell {
  position: relative;
}

.overlay-logo {
  position: absolute;
  left: 2%;
  top: 0.10rem;
  width: clamp(100px, 12vw, 150px);
  height: auto;
  z-index: 20;
  filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.2));
}

@media (max-width: 1100px) {
  .overlay-logo {
    left: 50%;
    transform: translateX(-50%);
    top: -5%;
    width: clamp(100px, 20vw, 160px);
  }

  .nav-overlay-shell {
    padding-top: 8rem;
  }
}

@media (max-width: 700px) {
  .overlay-logo {
    left: 50%;
    transform: translateX(-50%);
    top: 0.5rem;
    width: clamp(100px, 50vw, 160px);
  }

  .nav-overlay-shell {
    padding-top: 6rem;
  }

  .site-header {
    top: 0;
    margin-top: 5rem;
  }
}

.header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 95%;
  padding: 1rem 0;
}

.brand {
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: 0.06em;
  color: #0a5d6c;
}

.primary-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
}

.primary-nav a {
  font-weight: 600;
  color: #3f3f44;
  transition: color 0.2s ease;
}

.primary-nav a:hover {
  color: #0a5d6c;
  text-decoration: underline
}

.hero {
  position: relative;
  background-size: cover;
  background-position: center;
  color: white;
  /* padding: 8rem 0 6rem; */
  display: flex;
  align-items: center;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(6, 31, 37, 0.8), rgba(6, 31, 37, 0.4));
}

.hero.hero--video::after {
  display: none;
}

.hero-video-frame {
  position: relative;
  border-radius: 0;
  overflow: hidden;
  width: 100vw;
  left: 50%;
  transform: translateX(-50%);
  /* height: 100vh; */
  padding-top: 0;
}

.hero-video-frame iframe,
.hero-video-frame video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-video-frame video {
  object-fit: cover;
}

/* Fix for tall mobile devices (e.g., Samsung S23 Ultra) */
@supports (aspect-ratio: 16 / 9) {
  .hero-video-frame video {
    aspect-ratio: 16 / 9;
  }
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  margin-bottom: 0.75rem;
}

.hero p {
  /* max-width: 550px; */
  margin-bottom: 1.5rem;
}

.welcome-section img {
  max-width: 500px !important;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.75rem;
  border-radius: 999px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary {
  background: #00acca;
  color: white;
  box-shadow: 0 12px 24px rgba(10, 93, 108, 0.25);
}

.btn-primary:hover {
  transform: translateY(-2px);
}

.btn-outline {
  border: 2px solid #00acca;
  color: #0a5d6c;
  background: white;
}

.btn-outline:hover {
  background: #00acca;
  color: white;
}

.btn-secondary {
  background: #f1f6f7;
  color: #00acca;
  border: 2px solid #d7dfe2;
}

.btn-secondary:hover {
  background: #00acca;
  color: white;
}

.categories-nav {
  padding: 3rem 0 2rem;
  text-align: center;
}

.categories-nav h2 {
  margin-bottom: 1.5rem;
}

.category-pill-group {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

.category-pill {
  padding: 0.5rem 1.5rem;
  border-radius: 999px;
  background: white;
  border: 1px solid rgba(10, 93, 108, 0.25);
  font-weight: 600;
  transition: background 0.2s ease, color 0.2s ease;
}

.category-pill:hover {
  background: #0a5d6c;
  color: white;
}

.video-presentation {
  /* padding: 1.5rem 0; */
  background: white;
}

.video-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  align-items: center;
}

.video-frame {
  position: relative;
  padding-top: 56.25%;
  /* margin-top: 10px; */
  /* border-radius: 50px 50px 0 0; */
  overflow: hidden;
  /* box-shadow: 0 5px 5px rgba(11, 54, 62, 0.2); */
  box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
}

.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* .recommendations {
  padding: 1rem 0;
} */

.section-heading {
  /* text-align: center; */
  margin-bottom: 2rem;
  text-shadow: #3f3f44 0px 1px 2px;
}

/* Admin basics */
.admin-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.08);
}

.admin-table th,
.admin-table td {
  padding: .75rem 1rem;
  border-bottom: 1px solid #eee;
}

.admin-table th {
  background: #f6fafb;
  text-align: left;
  font-weight: 700;
}

.admin-form .grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.admin-form .grid-1 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.admin-form label {
  display: block;
  font-weight: 600;
  color: #0a5d6c;
}

/* Ensure admin table action buttons have consistent height */
.admin-table .btn,
.admin-table button.btn,
.admin-table a.btn {
  height: 36px;
  line-height: 1;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.admin-form input,
.admin-form textarea,
.admin-form select {
  width: 100%;
  padding: .6rem .75rem;
  border-radius: 8px;
  border: 1px solid #cfe4e8;
  margin-top: .35rem;
  font-weight: 400;
  color: #1b1b1d;
}

.slider {
  position: relative;
  overflow: hidden;
  --items-per-view: 1;
  --slider-gap: 1.5rem;
}

.slider-cards {
  display: flex;
  gap: var(--slider-gap, 1.5rem);
  position: relative;
  min-height: 650px;
  transition: transform 500ms ease;
  will-change: transform;
  padding: 0.25rem 0;
  touch-action: pan-y;
}

.slider-card {
  background: white;
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
  height: 650px;
  /* static height for consistent layout */
  box-shadow: 0 5px 10px rgba(11, 54, 62, 0.15);
  border: 0.5px solid #ececf1;
  flex: 0 0 calc((100% - (var(--items-per-view, 1) - 1) * var(--slider-gap, 1.5rem)) / var(--items-per-view, 1));
  opacity: 0.85;
  transform: translateY(24px);
  transition: transform 300ms ease, opacity 300ms ease, box-shadow 300ms ease;
}

.slider-card.is-visible {
  opacity: 1;
  transform: translateY(0);
  /* box-shadow: 0 14px 28px rgba(11, 54, 62, 0.18); */
}

.slider-cards h3 {
  margin-bottom: 0;
}

.slider-cards p {
  margin: 0;
}

.slider-card-media {
  background-size: cover;
  background-position: center;
  height: 240px;
  /* fixed media height */
}

.slider-card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  flex: 1 1 auto;
  /* consume remaining height so button can anchor at bottom */
  overflow: hidden;
}

.slider-card-body a {
  margin-top: auto;
}

/* Clamp summary text in slider cards to 4 lines */
.slider-card-body p {
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.slider-card-category {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  color: #0a5d6c;
  letter-spacing: 0.08em;
}

/* Prevent long titles from pushing the button */
.slider-card-body h3 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.slider-card-meta {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.35rem;
  font-size: 0.9rem;
}

.slider-card-price {
  align-self: flex-end;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.45rem 1.25rem;
  background: linear-gradient(135deg, #ff4d4f 0%, #b80000 100%);
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 999px;
  box-shadow: 0 10px 20px rgba(184, 0, 0, 0.35);
  margin-top: auto;
  margin-bottom: 0.85rem;
  position: relative;
  min-width: 130px;
  text-align: center;
  bottom: 1px;
}

.slider-card-price::before {
  content: "";
  position: absolute;
  inset: -0.3rem -0.75rem;
  background: radial-gradient(circle, rgba(255, 120, 120, 0.45) 0%, rgba(184, 0, 0, 0) 70%);
  filter: blur(10px);
  z-index: -1;
  pointer-events: none;
}

.slider-controls {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  flex: 1 1 auto;
}

.slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: none;
  background: rgba(10, 93, 108, 0.3);
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.slider-dot.is-active {
  background: #0a5d6c;
  transform: scale(1.2);
}

.slider-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1.5rem;
  padding: 1rem;
}

.slider-nav {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  background: rgba(10, 93, 108, 0.15);
  color: #0a5d6c;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  transition: background 200ms ease, box-shadow 200ms ease, transform 200ms ease;
  flex: 0 0 auto;
}

.slider-nav:hover:not(:disabled) {
  background: rgba(10, 93, 108, 0.25);
  box-shadow: 0 8px 18px rgba(10, 93, 108, 0.25);
  transform: translateY(-2px);
}

.slider-nav:disabled {
  opacity: 0.35;
  cursor: default;
  box-shadow: none;
}

.slider-nav-icon {
  line-height: 1;
  display: inline-block;
  transform: translateY(-1px);
}

.category-cards {
  padding: 4rem 0 0rem;

}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.category-card {
  background: white;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 12px 24px rgba(11, 54, 62, 0.1);
  display: flex;
  flex-direction: column;
}

.category-card-image {
  height: 180px;
  background-size: cover;
  background-position: center;
}

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

/* Clamp category description to 4 lines */
.category-card-body p {
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Keep action button anchored at the bottom of the card */
.category-card-body .btn {
  margin-top: auto;
}

.site-footer {
  background: #28457a;
  background: linear-gradient(0deg, rgba(40, 69, 122, 1) 0%, rgba(0, 103, 199, 1) 30%, rgba(0, 221, 255, 1) 100%);
  color: #f5f8fa;
  padding: 2.5rem 0;
  text-align: center;
  margin-top: 3rem;
}

/* Footer grid layout */
.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  align-items: start;
  text-align: left;
}

.footer-logo {
  max-width: 520px;
  width: 100%;
  height: auto;
}

.footer-brand {
  overflow: hidden;
  /* prevent image overflow */
}

.footer-contact-list {
  display: grid;
  gap: 0.5rem;
}

.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.5rem;
}

.footer-copy {
  margin-top: 2rem;
  text-align: center;
}

@media (max-width: 900px) {
  .welcome-section img {
    max-width: 350px !important;
  }

  .hero-video-frame {
    height: 10vh;
  }

  .hero.hero--video {
    min-height: 10vh;
    padding: 0%;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-brand {
    justify-content: center;
  }

  .footer-logo {
    max-width: 100%;
  }

  .footer-contact-list,
  .footer-links ul {
    justify-items: center;
  }

  .footer-logo {
    margin: 0 auto;
  }
}

.category-hero {
  padding: 6rem 0 5rem;
  background-size: cover;
  background-position: center;
  color: white;
  position: relative;
}

.category-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(11, 54, 62, 0.6);
}

.category-hero .container {
  position: relative;
  z-index: 1;
}

.tour-listing {
  margin-top: 3rem;
  padding-bottom: 4rem;
}

.tour-card-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(1, minmax(0, 1fr));
}


.tour-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: white;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(11, 54, 62, 0.1);
  text-decoration: none;
  color: inherit;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.tour-card:hover,
.tour-card:focus-visible {
  transform: translateY(-6px);
  box-shadow: 0 26px 50px rgba(11, 54, 62, 0.16);
}

.tour-card-media {
  background-size: cover;
  background-position: center;
  width: 100%;
  padding-top: 90%;
}

.tour-card-content {
  padding: 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  flex: 1 1 auto;
  background: rgba(0, 162, 207, 1);
  color: white;
}

.tour-card-content p {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  min-height: 2.6em;
}


.tour-card-link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 600;
  color: #0a5d6c;
}

.tour-card-link::after {
  content: '›';
  font-size: 1.1em;
  line-height: 1;
}

.tour-card-highlights ul {
  margin: 0;
  padding-left: 1.2rem;
}

.tour-hero {
  /* padding: 4rem 0 0rem; */
  padding-top: 4rem;
  background: white;
}

.tour-title {
  background-color: #00bddf;
  color: white;
  border-radius: 8px;
  margin-bottom: 1rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  max-width: fit-content;
}

.tour-title h2 {
  margin: 0;
  padding: 0.5rem 1rem;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

@media (min-width: 768px) {
  .tour-card-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1200px) {
  .tour-card-list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.tour-meta {
  display: flex;
  gap: 2rem;
  font-weight: 600;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.85rem;
  color: #0a5d6c;
}

.tour-gallery {
  padding: 0 0 3rem;
}

.gallery-main {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(11, 54, 62, 0.15);
}

.gallery-image {
  width: 100%;
  height: 480px;
  object-fit: cover;
  display: none;
}

.gallery-image.is-active {
  display: block;
}

.gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.45);
  color: white;
  border: none;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.gallery-nav:hover {
  background: #00acca;
}

.gallery-nav.prev {
  left: 1rem;
}

.gallery-nav.next {
  right: 1rem;
}

.gallery-thumbs {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
  justify-content: center;
}

.gallery-thumbs .thumb {
  border: 2px solid transparent;
  padding: 0;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  width: 110px;
  height: 70px;
}

.gallery-thumbs .thumb.is-active {
  border-color: #0a5d6c;
}

.gallery-thumbs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tour-itinerary {
  background: white;
  padding: 3rem 2rem;
  border-radius: 18px;
  box-shadow: 0 20px 40px rgba(11, 54, 62, 0.1);
  margin-bottom: 4rem;
}

.tour-title {
  text-align: center;
}

/* Price badge with aura animation */
.price-badge {
  padding: 1rem;
  background: #ff0000;
  max-width: 220px;
  text-align: center;
  color: #fff;
  font-weight: bold;
  border-radius: 12px;
  margin-top: 1rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
  font-size: 1.25rem;
  justify-self: right;
  position: relative;
  animation: auraGlow 2.2s ease-in-out infinite;
}

@keyframes auraGlow {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 0, 0, 0.35), 0 2px 8px rgba(0, 0, 0, 0.25);
    transform: translateY(0);
  }

  50% {
    box-shadow: 0 0 0 12px rgba(255, 0, 0, 0.08), 0 6px 18px rgba(0, 0, 0, 0.28);
    transform: translateY(-2px);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(255, 0, 0, 0.0), 0 2px 8px rgba(0, 0, 0, 0.25);
    transform: translateY(0);
  }
}

.itinerary-list {
  list-style: disc;
  padding-left: 1.25rem;
  margin: 0;
}

.itinerary-list .itinerary-list {
  list-style: circle;
  padding-left: 1.25rem;
}

.callout {
  margin-top: 2rem;
  padding: 2rem;
  background: #f1f8fa;
  border-radius: 12px;
  border-left: 4px solid #0a5d6c;
}

.callout-icons {
  display: flex;
  gap: 2rem;
  justify-content: center;
  justify-self: center;
  margin-top: 1rem;
  flex-wrap: wrap;
}

.callout-icons img {
  width: 80px;
  height: 80px;
  vertical-align: middle;
  border: #d7dfe2 2px solid;
  box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
  padding: 1rem;
  border-radius: 12px;
  transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
}

.callout-icons img:hover {
  border: #0a5d6c 2px solid;
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 20px rgba(10, 93, 108, 0.25);
}

@media (max-width: 900px) {
  .callout-icons {
    gap: 1rem;
  }

  .callout-icons img {
    width: 64px;
    height: 64px;
    padding: 0.75rem;
  }
}

@media (max-width: 600px) {
  .callout-icons img {
    width: 52px;
    height: 52px;
    padding: 0.5rem;
  }
}

.not-found {
  padding: 6rem 0;
  text-align: center;
}

.empty-state {
  text-align: center;
  font-style: italic;
}

/* Home grid layout */
.home-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  grid-template-rows: auto auto auto;
  gap: 2.5rem;
  align-items: start;
  width: min(1400px, 94%);
  margin: 3rem auto 0rem;
}

.home-main-column {
  min-width: 0;
  /* allow grid child to shrink and prevent overflow */
  width: 100%;
}

.home-main-column img,
.home-main-column video,
.home-main-column iframe {
  max-width: 100%;
  /* height: auto; */
}

.home-main-column>section+section {
  margin-top: 2.5rem;
}

.contact-sidebar {
  grid-column: 2;
  grid-row: 1 / span 3;
  position: relative;
}

.lincense-box {
  display: flex;
  flex-direction: column;
  margin-bottom: 2rem;
  padding: 1rem;
  background: #ffffff;
  border-radius: 28px;
  font-size: 0.85rem;
  text-align: center;
  box-shadow: 0 18px 18px rgba(11, 54, 62, 0.15);
  border: #f1f1f1 2px solid;
}

.lincense-box img {
  max-width: 200px;
  margin: 0.5rem auto;
}

.contact-box {
  position: sticky;
  top: 6.5rem;
  /* below header */
  background: #ffffff;
  border-radius: 28px;
  padding: 2rem 1.75rem 2.25rem;
  box-shadow: 0 18px 18px rgba(11, 54, 62, 0.15);
  border: #f1f1f1 2px solid;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact-box h3 {
  margin: 0;
  font-size: 1.35rem;
  color: #0a5d6c;
}

.contact-intro {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.4;
}

.contact-details {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.5rem;
  font-size: 0.85rem;
  justify-items: left;
  text-align: center;
}

.contact-details li {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.contact-details .contact-icon {
  width: 60px;
  height: 60px;
}

.contact-details a {
  color: #0a5d6c;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  transition: transform 150ms ease, color 150ms ease, text-decoration-color 150ms ease;
}

.contact-details a:hover {
  color: #007f99;
  text-decoration: underline;
  text-underline-offset: 3px;
  transform: translateY(-2px);
}

.contact-actions {
  display: grid;
  gap: 0.75rem;
}

.btn-block {
  width: 100%;
}

.contact-note {
  font-size: 0.75rem;
  text-align: center;
  color: #3f3f44;
}

@media (max-width: 1100px) {
  .home-content {
    grid-template-columns: minmax(0, 1fr) 300px;
  }
}

@media (max-width: 900px) {
  .home-content {
    grid-template-columns: 1fr;
  }

  .contact-sidebar {
    grid-column: 1;
    grid-row: auto;
    margin-top: 0 !important;
  }

  .contact-box {
    position: static;
    top: auto;
  }
}

@media (max-width: 900px) {
  .tour-card {
    grid-template-columns: 1fr;
  }

  .tour-meta {
    flex-direction: column;
    gap: 0.5rem;
  }

  .gallery-image {
    height: 340px;
  }
}

@media (max-width: 600px) {
  .slider-nav {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }

  .slider-footer {
    flex-wrap: wrap;
  }

  .header-bar {
    /* flex-direction: column; */
    gap: 1rem;
  }

  /* .primary-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
  }

  .primary-nav a {
    margin-left: 0;
  } */

  .hero {
    padding: 6rem 0 4rem;
  }

  .tour-itinerary {
    padding: 2rem 1.25rem;
  }

  .gallery-nav.prev {
    left: 0.5rem;
  }

  .gallery-nav.next {
    right: 0.5rem;
  }
}

/* Ensure full-width layout on very small screens (e.g., 536x861) */
@media (max-width: 536px) {
  .site-header {
    width: 100%;
    border-radius: 0;
  }

  .header-bar {
    width: 100%;
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .site-footer .container {
    width: 100%;
    padding-left: 1rem;
    padding-right: 1rem;
  }
}