/* ==========================================================================
   Cozumel Private Tours - Custom StyleSheet
   Fonts: Inter (Headings & Buttons), Nunito (Body)
   ========================================================================== */

:root {
  /* Brand Colors (Updated Identity) */
  --cpt-primary: #EE761C;
  /* Orange (Predominant) */
  --cpt-primary-dark: #d66412;
  /* Darker Orange for hover */
  --cpt-secondary: #082C3F;
  /* Darkest Blue */
  --cpt-secondary-light: #03486F;
  /* Medium Dark Blue */
  --cpt-accent: #01B5D5;
  /* Cyan */
  --cpt-accent-hover: #0199b5;
  /* Darker Cyan */

  /* Neutrals */
  --cpt-light: #f8fbff;
  /* Light Cream/Beige */
  --cpt-dark: #082C3F;
  /* Using Darkest Blue */
  --cpt-text-main: #333333;
  --cpt-text-muted: #6c757d;

  /* Tour Detail Dedicated Page (Kuza Style) */
  .tour-detail-gallery img {
    transition: transform 0.4s ease;
  }

  .tour-detail-gallery .rounded-4:hover img {
    transform: scale(1.05);
  }

  .custom-nav-pills .nav-link {
    color: var(--cpt-secondary);
    background-color: transparent;
    border: 2px solid var(--cpt-light);
    transition: all 0.3s ease;
  }

  .custom-nav-pills .nav-link:hover {
    background-color: var(--cpt-light);
    border-color: var(--cpt-secondary);
  }

  .custom-nav-pills .nav-link.active {
    background-color: var(--cpt-secondary);
    border-color: var(--cpt-secondary);
    color: #fff;
    box-shadow: 0 4px 15px rgba(8, 44, 63, 0.3);
  }

  .sticky-booking-sidebar {
    position: sticky;
    top: 100px;
    /* Leave space for header */
    z-index: 99;
  }

  /* Responsiveness for Tour Detail */
  @media (max-width: 991.98px) {
    .tour-detail-wrapper {
      padding-top: 100px !important;
    }

    .sticky-booking-sidebar {
      position: relative !important;
      top: 0 !important;
      margin-top: 2rem;
    }

    .tour-detail-gallery img {
      min-height: 250px !important;
    }
  }

  @media (max-width: 767.98px) {
    .tour-detail-gallery .col-md-4 {
      margin-bottom: 0.5rem;
    }

    .tour-detail-gallery .col-md-4:last-child {
      margin-bottom: 0;
    }

    .display-5 {
      font-size: 2rem !important;
    }

    .custom-nav-pills .nav-link {
      font-size: 0.85rem;
      padding: 0.75rem 1rem !important;
    }
  }

  /* Utilities */
  --transition-speed: 0.3s;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 10px 20px rgba(0, 0, 0, 0.1);
  --shadow-hover: 0 15px 30px rgba(8, 44, 63, 0.15);

  /* Modern Effects */
  --glass-bg: rgba(255, 255, 255, 0.7);
  --glass-border: rgba(255, 255, 255, 0.4);
  --glass-blur: blur(12px);
}

/* ==========================================================================
   Base Typography & General Setup
   ========================================================================== */
body {
  font-family: 'Nunito', sans-serif;
  color: var(--cpt-text-main);
  background-color: var(--cpt-light);
  overflow-x: hidden;
}

.hover-opacity-100 {
  transition: opacity 0.3s ease;
}

.hover-opacity-100:hover {
  opacity: 1 !important;
}

/* Opcional: Para el script de scroll del navbar */
header.transition-all {
  transition: transform 0.3s ease-in-out;
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 5px;
}

::-webkit-scrollbar-track {
  background: var(--cpt-light);
}

::-webkit-scrollbar-thumb {
  background: var(--cpt-primary);
  border: 1px solid var(--cpt-light);
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--cpt-primary-dark);
}

h1,
h2,
h3,
h4,
h5,
h6,
.navbar-brand,
.font-heading {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  color: var(--cpt-secondary);
}

a {
  color: var(--cpt-primary);
  text-decoration: none;
  transition: color var(--transition-speed) ease;
}

a:hover {
  color: var(--cpt-accent);
}

/* ==========================================================================
   Buttons (Overriding Bootstrap)
   ========================================================================== */
.btn {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  letter-spacing: 0.2px;
  border-radius: var(--radius-sm);
  padding: 10px 24px;
  transition: all var(--transition-speed) ease;
  text-transform: uppercase;
}

/* Utility Classes */
.bg-primary {
  background-color: var(--cpt-primary) !important;
}

.text-primary {
  color: var(--cpt-primary) !important;
}

.bg-secondary {
  background-color: var(--cpt-secondary) !important;
}

.hover-lift {
  transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
}

.hover-lift:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover) !important;
}

.btn-primary {
  background-color: var(--cpt-primary);
  border-color: var(--cpt-primary);
  color: #fff;
  transition: all var(--transition-speed) cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-primary:hover {
  background-color: var(--cpt-primary-dark);
  border-color: var(--cpt-primary-dark);
  transform: translateY(-3px);
  box-shadow: 0 8px 15px rgba(238, 118, 28, 0.3);
}

/* Modern Utilities */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.07);
}

.text-gradient {
  background: linear-gradient(135deg, var(--cpt-secondary) 0%, var(--cpt-primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hover-glow:hover {
  box-shadow: 0 0 20px rgba(238, 118, 28, 0.2);
  border-color: var(--cpt-primary) !important;
}

.bento-item {
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}

.bento-item:hover img {
  transform: scale(1.05);
}

.section-shape-bg {
  position: absolute;
  z-index: -1;
  filter: blur(80px);
  opacity: 0.4;
  border-radius: 50%;
}

.reveal-up {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-up.active {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-left.active {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(50px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-right.active {
  opacity: 1;
  transform: translateX(0);
}

.btn-secondary {
  background-color: var(--cpt-secondary);
  border-color: var(--cpt-secondary);
  color: #fff;
}

.btn-secondary:hover,
.btn-secondary:focus {
  background-color: var(--cpt-secondary-light);
  border-color: var(--cpt-secondary-light);
  box-shadow: 0 5px 15px rgba(8, 44, 63, 0.4);
  transform: translateY(-2px);
  color: #fff;
}

.btn-accent {
  background-color: var(--cpt-accent);
  border-color: var(--cpt-accent);
  color: #fff;
}

.btn-accent:hover {
  background-color: var(--cpt-accent-hover);
  border-color: var(--cpt-accent-hover);
  box-shadow: 0 5px 15px rgba(1, 181, 213, 0.4);
  transform: translateY(-2px);
  color: #fff;
}

/* Dual Buttons / Ghost */
.btn-ghost {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.2);
  transition: all var(--transition-speed) ease;
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
  color: #fff;
}

/* ==========================================================================
   Navbar
   ========================================================================== */
.cpt-navbar {
  background-color: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
  padding: 8px 0;
  transition: all var(--transition-speed) ease;
}

.cpt-navbar .nav-link {
  color: var(--cpt-secondary);
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
  margin: 0 10px;
  position: relative;
}

.cpt-navbar .nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  display: block;
  margin-top: 5px;
  right: 0;
  background: var(--cpt-primary);
  transition: width var(--transition-speed) ease;
  -webkit-transition: width var(--transition-speed) ease;
}

.cpt-navbar .nav-link:hover::after,
.cpt-navbar .nav-link.active::after {
  width: 100%;
  left: 0;
}

/* =========================================
   EXTRAS PARA EL NAVBAR MEJORADO
   ========================================= */

/* Transición suave para cuando se hace scroll (requiere el JS de abajo) */
.cpt-navbar {
  transition: all 0.4s ease-in-out;
  padding: 15px 0;
}

.cpt-navbar.scrolled {
  padding: 8px 0;
  /* Se hace más delgado al bajar */
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Control del Logo */
.nav-logo {
  height: 56px;
  width: auto;
  transition: height 0.4s ease;
}

.cpt-navbar.scrolled .nav-logo {
  height: 45px;
  /* Achica el logo al hacer scroll */
}

/* Estilos Premium para el Dropdown de Idioma */
.lang-switcher {
  color: var(--cpt-secondary) !important;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  transition: background var(--transition-speed) ease;
}

.lang-switcher:hover {
  background-color: var(--cpt-light);
}

.dropdown-menu {
  min-width: 120px;
}

.dropdown-item {
  padding: 10px 20px;
  color: var(--cpt-secondary);
  transition: all 0.2s ease;
}

.dropdown-item:hover {
  background-color: var(--cpt-light);
  color: var(--cpt-primary);
  padding-left: 25px;
  /* Pequeño efecto de movimiento al pasar el mouse */
}

/* Ajustes para Móvil */
@media (max-width: 991px) {
  .cpt-navbar {
    background-color: #ffffff;
    /* Fondo blanco sólido en móvil */
  }

  .navbar-collapse {
    background-color: #ffffff;
    padding: 20px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    margin-top: 15px;
  }

  .nav-actions {
    border-top: 1px solid #eee;
    padding-top: 15px;
  }
}

/* ==========================================================================
   Hero Section (Unified & Fixed Height Logic)
   ========================================================================== */
.hero-section {
  position: relative;
  height: 95vh;
  min-height: 500px;
  background-color: var(--cpt-primary);
  /* Fallback */
  padding-top: 0;
}

.hero-carousel,
.carousel-inner,
.carousel-item {
  height: 100%;
}

.carousel-item img {
  object-fit: cover;
  height: 100%;
  width: 100%;
}

/* Dark Gradient Overlay for readability */
.carousel-item::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(8, 44, 63, 0.7), rgba(8, 44, 63, 0.4));
  z-index: 1;
}

/* Ensure flexbox in HTML centers this properly */
.carousel-caption {
  z-index: 2;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
}

.hero-title {
  font-size: 4rem;
  font-weight: 800;
  text-shadow: 1px 2px 4px rgba(0, 0, 0, 0.3);
  margin-bottom: 20px;
  color: #fff;
  animation: fadeInDown 1s ease-out;
}

.hero-subtitle {
  font-size: 1.5rem;
  letter-spacing: 0.5px;
  text-shadow: 1px 2px 4px rgba(0, 0, 0, 0.3);
  margin-bottom: 2rem;
  opacity: 0;
  animation: fadeInUp 1s ease-out 0.5s forwards;
}

.cta-button {
  opacity: 0;
  animation: fadeInUp 1s ease-out 1s forwards;
}

/* ========================================================
   Hero Image Grid (Masonry effect inspired by design)
   ======================================================== */
.hero-section {
  height: 100vh;
  min-height: 600px;
  position: relative;
  overflow: hidden;
}

.hero-carousel,
.hero-carousel .carousel-inner,
.hero-carousel .carousel-item {
  height: 100%;
}

/* ==========================================================================
   Cards (Tours - Inspired by Explora)
   ========================================================================== */
.tour-card {
  border: none;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-speed) ease;
  background: var(--cpt-dark);
  color: #fff;
  height: 100%;
}

.tour-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
}

.card-img-container {
  overflow: hidden;
  position: relative;
  aspect-ratio: 4/3;
  height: 250px;
}

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

.tour-card:hover .card-img-top {
  transform: scale(1.08);
  /* Zoom effect */
}

.tour-card .card-body {
  padding: 2rem 1.5rem;
}

.card-subtitle-tag {
  color: var(--cpt-accent);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  display: block;
}

.tour-card .card-title {
  color: #fff;
  font-size: 1.4rem;
  margin-bottom: 1rem;
  line-height: 1.3;
}

.tour-card .card-text {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

.price-tag {
  color: var(--cpt-primary);
  font-weight: 700;
  font-family: 'Inter', sans-serif;
  font-size: 1.1rem;
}

/* ==========================================================================
   Features Section (Why Choose Us)
   ========================================================================== */
.feature-box {
  padding: 2rem;
  text-align: center;
  border-radius: var(--radius-md);
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-speed) ease;
  height: 100%;
}

.feature-box:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-5px);
}

.feature-icon {
  font-size: 3rem;
  color: var(--cpt-accent);
  margin-bottom: 1rem;
}

.feature-box h4 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

/* ==========================================================================
   Tour Cards (Modern Glassmorphism)
   ========================================================================== */
.tour-card {
  position: relative;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-speed) cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
}

.tour-card .card-title {
  color: var(--cpt-secondary);
}

.tour-card .card-text {
  color: #666;
}

/* Modern Glassmorphism for Dark Backgrounds (like Home Top Tours) */
section[style*="var(--cpt-dark)"] .tour-card,
.bg-dark .tour-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Explicit overrides for dark mode cards to ensure readability */
section[style*="var(--cpt-dark)"] .tour-card .card-title,
section[style*="var(--cpt-dark)"] .tour-card .card-text,
section[style*="var(--cpt-dark)"] .tour-card .card-body,
.bg-dark .tour-card .card-title,
.bg-dark .tour-card .card-text,
.bg-dark .tour-card .card-body {
  color: #fff !important;
}

.tour-card:hover {
  transform: translateY(-12px);
}

/* ==========================================================================
   Review Cards (Glassmorphism for Testimonials)
   ========================================================================== */
.review-card {
  position: relative;
  background: rgba(255, 255, 255, 0.05);
  /* very subtle white */
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  transition: all var(--transition-speed) cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  overflow: hidden;
}

/* Add a glowing accent effect */
.review-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--cpt-primary), var(--cpt-primary-dark));
  opacity: 0.8;
}

.review-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-8px);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.4);
}

/* Hover state for light cards */
.tour-card:not(.bg-dark):hover {
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  border-color: rgba(238, 118, 28, 0.3);
}

/* Hover state for dark/glass cards */
section[style*="var(--cpt-dark)"] .tour-card:hover,
.bg-dark .tour-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.25);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.5);
}

.card-img-container {
  position: relative;
  overflow: hidden;
  background-color: #eee;
}

.card-img-container img {
  transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tour-card:hover .card-img-container img {
  transform: scale(1.1) rotate(1deg);
}

.card-subtitle-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--cpt-primary);
  background: rgba(238, 118, 28, 0.1);
  padding: 4px 12px;
  border-radius: 50px;
  margin-bottom: 0.75rem;
  letter-spacing: 1px;
}

.price-tag {
  color: var(--cpt-primary);
  font-weight: 800;
  letter-spacing: -0.5px;
}

/* Details and Book buttons refinement (Theme-aware) */
.btn-ghost {
  background: rgba(0, 0, 0, 0.03);
  border: 1px solid rgba(0, 0, 0, 0.15);
  color: var(--cpt-secondary);
  transition: all 0.3s ease;
  font-weight: 600;
}

.btn-ghost:hover {
  background: var(--cpt-secondary);
  color: #fff;
  border-color: var(--cpt-secondary);
}

/* Dark mode override for ghost buttons */
section[style*="var(--cpt-dark)"] .btn-ghost,
.bg-dark .btn-ghost {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.2);
  color: #fff;
}

section[style*="var(--cpt-dark)"] .btn-ghost:hover,
.bg-dark .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: #fff;
  color: #fff;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.cpt-footer {
  background-color: var(--cpt-secondary);
  color: rgba(255, 255, 255, 0.8);
  padding: 4rem 0 2rem;
  margin-top: 4rem;
}

.cpt-footer h5 {
  color: #fff;
  margin-bottom: 1.5rem;
}

.cpt-footer a {
  color: rgba(255, 255, 255, 0.8);
}

.cpt-footer a:hover {
  color: var(--cpt-primary);
  text-decoration: none;
}

.cpt-footer .social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  margin-right: 10px;
  transition: all var(--transition-speed);
}

.cpt-footer .social-links a:hover {
  background: var(--cpt-primary);
  transform: translateY(-3px);
}

.cpt-footer hr {
  border-color: rgba(255, 255, 255, 0.1);
  margin: 2rem 0;
}

.cpt-footer .copyright {
  font-size: 0.9rem;
  text-align: center;
}

/* ==========================================================================
   Animations
   ========================================================================== */
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==========================================================================
   Responsive Overrides
   ========================================================================== */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1.2rem;
  }
}

/* ========================================================
   Hero Image Grid (Masonry effect inspired by design)
   ======================================================== */
.hero-content-wrapper {
  position: relative;
  z-index: 5;
}

.hero-image-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.hero-grid-col {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.hero-grid-col:first-child {
  margin-top: 50px;
}

.hero-img-box {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  background: var(--cpt-light);
  border: 2px solid rgba(255, 255, 255, 0.1);
}

.hero-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.hero-img-box:hover img {
  transform: scale(1.05);
}

.hero-img-box.tall {
  height: 260px;
}

.hero-img-box.short {
  height: 180px;
}

.hero-img-box.medium {
  height: 220px;
}

@media (max-width: 991.98px) {

  /* En móviles, la cuadrícula colapsa un poco pero sigue siendo de 2 columnas asimetricas */
  .hero-grid-col:first-child {
    margin-top: 0;
  }

  .hero-img-box.tall,
  .hero-img-box.medium,
  .hero-img-box.short {
    height: 160px;
  }

  .hero-content-left {
    text-align: center;
    margin-bottom: 40px;
  }
}

/* ========================================================
   Instagram Scroller Gallery
   ======================================================== */
.insta-marquee-container {
  overflow: hidden;
  position: relative;
  width: 100%;
}

.insta-marquee-track {
  display: flex;
  width: max-content;
  animation: scrollGallery 45s linear infinite;
}

.insta-marquee-track:hover {
  animation-play-state: paused;
}

.insta-marquee-track img {
  width: 300px;
  height: 250px;
  object-fit: cover;
  transition: opacity 0.3s ease;
  margin-right: 4px;
}

.insta-marquee-track img:hover {
  opacity: 0.8;
}

@keyframes scrollGallery {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

@media (max-width: 768px) {
  .insta-marquee-track img {
    width: 200px;
    height: 180px;
  }
}

/* ========================================================
   Tour Detail Modal Enhancements
   ======================================================== */
.itinerary-timeline {
  position: relative;
  padding-left: 2rem;
  margin-top: 1.5rem;
}

.itinerary-timeline::before {
  content: '';
  position: absolute;
  left: 7px;
  top: 5px;
  bottom: 5px;
  width: 2px;
  background: var(--cpt-primary);
  opacity: 0.3;
}

.timeline-item {
  position: relative;
  margin-bottom: 2rem;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -29px;
  top: 5px;
  width: 16px;
  height: 16px;
  background: var(--cpt-secondary);
  border: 3px solid var(--cpt-primary);
  border-radius: 50%;
  z-index: 1;
}

.timeline-time {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--cpt-primary);
  text-transform: uppercase;
  margin-bottom: 0.25rem;
  letter-spacing: 1px;
}

.timeline-content h6 {
  font-size: 1.1rem;
  margin-bottom: 0.4rem;
}

/* Modal Gallery Hover */
.modal-body #modalGallery img:hover {
  transform: translateY(-3px);
  filter: brightness(1.1);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3) !important;
}

/* ========================================================
   Scroll Animations
   ======================================================== */
.reveal-fade {
  opacity: 0;
  transition: all 0.8s ease-out;
}

.reveal-fade.active {
  opacity: 1;
}

.reveal-up {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal-up.active {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal-left.active {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal-right.active {
  opacity: 1;
  transform: translateX(0);
}

.reveal-zoom {
  opacity: 0;
  transform: scale(0.9);
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal-zoom.active {
  opacity: 1;
  transform: scale(1);
}

.stagger-reveal>* {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.5s ease-out;
}

.stagger-reveal.active>* {
  opacity: 1;
  transform: translateY(0);
}

/* Animation Delays */
.delay-1 {
  transition-delay: 0.1s;
}

.delay-2 {
  transition-delay: 0.2s;
}

.delay-3 {
  transition-delay: 0.3s;
}

.delay-4 {
  transition-delay: 0.4s;
}

.delay-5 {
  transition-delay: 0.5s;
}

/* ========================================================
   Redesigned Steps Section (Glassmorphism & Floating)
   ======================================================== */
.steps-wrapper {
  position: relative;
  z-index: 20;
  margin-top: -100px;
  background-color: var(--cpt-dark);
}

@media (max-width: 991.98px) {
  .steps-wrapper {
    margin-top: -50px;
  }
}

.glass-card {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  transition: all var(--transition-speed) ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.glass-card:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.step-icon-wrapper {
  width: 90px;
  height: 90px;
  background: linear-gradient(135deg, var(--cpt-primary), var(--cpt-primary-dark));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  position: relative;
  box-shadow: 0 10px 20px rgba(238, 118, 28, 0.3);
  transition: transform 0.5s ease;
}

.glass-card:hover .step-icon-wrapper {
  transform: rotateY(180deg) scale(1.1);
}

.step-number {
  position: absolute;
  top: -5px;
  right: -5px;
  width: 32px;
  height: 32px;
  background: var(--cpt-secondary);
  color: #fff;
  border-radius: 50%;
  font-size: 0.85rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #fff;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.step-title {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
  color: #fff !important;
}

.step-desc {
  font-size: 0.95rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 0;
}

/* Connecting line refinement */
.step-connector {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.1), transparent);
  z-index: -1;
  transform: translateY(-40px);
}

/* ========================================================
   Floating WhatsApp Button
   ======================================================== */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 1000;
  display: flex;
  align-items: center;
  gap: 10px;
  background-color: #25d366;
  color: #fff;
  padding: 12px 20px;
  border-radius: 50px;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.3);
  text-decoration: none;
  font-weight: 700;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.whatsapp-float:hover {
  background-color: #128c7e;
  color: #fff;
  transform: scale(1.05) translateY(-3px);
  box-shadow: 0 15px 30px rgba(37, 211, 102, 0.4);
}

.whatsapp-float .btn-text {
  max-width: 0;
  overflow: hidden;
  white-space: nowrap;
  transition: max-width 0.5s ease;
  font-size: 0.9rem;
}

.whatsapp-float:hover .btn-text {
  max-width: 200px;
  margin-left: 5px;
}

/* Ping Animation */
.whatsapp-ping {
  position: relative;
  display: flex;
  height: 12px;
  width: 12px;
}

.whatsapp-ping .ping-effect {
  position: absolute;
  height: 100%;
  width: 100%;
  border-radius: 50%;
  background-color: #fff;
  opacity: 0.75;
  animation: whatsappPing 1.5s cubic-bezier(0, 0, 0.2, 1) infinite;
}

.whatsapp-ping .ping-dot {
  position: relative;
  border-radius: 50%;
  height: 12px;
  width: 12px;
  background-color: #fff;
}

@keyframes whatsappPing {

  75%,
  100% {
    transform: scale(2.5);
    opacity: 0;
  }
}

@media (max-width: 768px) {
  .whatsapp-float {
    bottom: 20px;
    right: 20px;
    padding: 12px;
  }

  .whatsapp-float .btn-text {
    display: none;
  }
}

/* ==========================================================================
   Premium Package Card (Home Redesign)
   ========================================================================== */
.package-card {
  background: #fff;
  border-radius: 2.5rem;
  border: none;
  overflow: hidden;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.06);
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  height: 100%;
}

.package-card:hover {
  transform: translateY(-15px);
  box-shadow: 0 30px 70px rgba(8, 44, 63, 0.15);
}

.package-img-container {
  position: relative;
  height: 280px;
  border-radius: 2.2rem;
  margin: 1.25rem;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.package-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--cpt-secondary);
  margin-bottom: 1.25rem;
  line-height: 1.2;
  min-height: 3.6rem; /* Ensures alignment even with 1 or 2 lines */
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

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

.package-recommended {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--cpt-text-muted);
  font-size: 0.85rem;
  margin-bottom: 0.75rem;
  font-weight: 500;
  min-height: 3.2rem; /* Aligns the elements below */
}

.package-recommended i {
  color: #f1c40f;
  font-size: 1rem;
}

.package-recommended span {
  font-style: italic;
}

.package-price-wrap {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 1.25rem 0;
}

.package-price-val {
  font-size: 3rem;
  font-weight: 900;
  color: var(--cpt-secondary);
  line-height: 1;
}

.package-price-label {
  color: var(--cpt-text-muted);
  font-size: 0.95rem;
  font-weight: 600;
}

.feature-check-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  padding-top: 1.5rem;
  flex-grow: 1; /* Pushes the button to the bottom */
}

.feature-check-list li {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 12px;
  font-size: 0.95rem;
  color: var(--cpt-text-main);
  line-height: 1.5;
  font-weight: 500;
}

.feature-check-list li i {
  color: #27ae60;
  margin-top: 4px;
  font-size: 1.1rem;
}

.btn-package-more {
  border-radius: 1.25rem;
  padding: 1rem;
  font-weight: 800;
  text-transform: none;
  letter-spacing: 0.5px;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  background-color: var(--cpt-primary);
  border: none;
  color: #fff;
  width: 100%;
}

.btn-package-more:hover {
  background-color: var(--cpt-primary-dark);
  transform: scale(1.02);
  box-shadow: 0 10px 20px rgba(238, 118, 28, 0.2);
}


/* ==========================================================================
   Cruise Section Design
   ========================================================================== */
.overlap-img-container {
  position: relative;
  padding-bottom: 80px;
  padding-right: 40px;
}

.overlap-img-large {
  width: 85%;
  border-radius: 2.5rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.overlap-img-small {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 60%;
  border-radius: 2rem;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
  border: 8px solid #fff;
  overflow: hidden;
}

.floating-stats-badge {
  position: absolute;
  bottom: 120px;
  left: -20px;
  background: var(--cpt-primary);
  color: #fff;
  padding: 20px;
  border-radius: 1.5rem;
  box-shadow: 0 10px 30px rgba(238, 118, 28, 0.3);
  text-align: center;
  z-index: 10;
}

.floating-stats-badge .val {
  font-size: 2rem;
  font-weight: 800;
  display: block;
  line-height: 1;
}

.floating-stats-badge .lbl {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
}

.cruise-feature-item {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
}

.cruise-feature-icon {
  width: 45px;
  height: 45px;
  background: rgba(238, 118, 28, 0.1);
  color: var(--cpt-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.cruise-feature-text {
  font-weight: 700;
  color: var(--cpt-secondary);
  font-size: 1rem;
}


/* ==========================================================================
   Cruise Section V2 Design
   ========================================================================== */
.cruise-img-wrapper {
  position: relative;
  border-radius: 2.5rem;
  padding-bottom: 60px;
  padding-right: 60px;
}

.cruise-main-img {
  border-radius: 2.5rem;
  width: 90%;
  height: 500px;
  object-fit: cover;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.cruise-small-img {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 65%;
  height: 300px;
  object-fit: cover;
  border-radius: 2rem;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
  border: 8px solid #fff;
}

.cruise-badge-top {
  position: absolute;
  top: 20px;
  right: -20px;
  background: #4caf50;
  color: #fff;
  padding: 15px 25px 15px 60px;
  border-radius: 50px;
  box-shadow: 0 10px 25px rgba(76, 175, 80, 0.3);
  z-index: 10;
}

.cruise-badge-top-icon {
  position: absolute;
  left: 5px;
  top: 50%;
  transform: translateY(-50%);
  background: #ffb300;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: 0 4px 10px rgba(255, 179, 0, 0.4);
}

.cruise-badge-bottom {
  position: absolute;
  bottom: 40px;
  left: -30px;
  background: #03486F;
  color: #fff;
  padding: 25px 30px;
  border-radius: 1.5rem;
  text-align: center;
  box-shadow: 0 15px 30px rgba(255, 179, 0, 0.3);
  z-index: 10;
}

.cruise-badge-bottom .val {
  font-size: 2.8rem;
  font-weight: 900;
  display: block;
  line-height: 1;
  margin-bottom: 5px;
}

.cruise-badge-bottom .lbl {
  font-size: 0.95rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ==========================================================================
   Premium Booking Ticket (Kuza Style)
   ========================================================================== */
.kuza-ticket-wrapper {
  position: relative;
  width: 100%;
}

.kuza-ticket-shadow,
.kuza-ticket-shadow-2 {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  z-index: 1;
}

.kuza-ticket-shadow {
  transform: rotate(3deg) translateY(2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
}

.kuza-ticket-shadow-2 {
  transform: rotate(-2deg) translateY(4px);
}

.kuza-ticket {
  display: flex;
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.05));
  min-height: 280px;
  /* Made taller/more rectangular */
}

.kuza-ticket-left {
  background: #fff;
  flex: 1;
  border: 1px solid #e0e0e0;
  border-right: none;
  border-radius: 12px 0 0 12px;
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
}

.kuza-ticket-breakdown-item {
  font-size: 0.9rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 12px;
}

.kuza-ticket-right {
  background: #fff;
  min-width: 140px;
  border: 1px solid #e0e0e0;
  border-left: none;
  border-radius: 0 12px 12px 0;
  padding: 2rem 1rem;
  display: flex;
  flex-direction: column;
}

.kuza-ticket-divider {
  flex: 0 0 0;
  position: relative;
  border-left: 2px dashed #ddd;
  background: #fff;
  margin: 12px 0;
}

.kuza-ticket-divider::before,
.kuza-ticket-divider::after {
  content: '';
  position: absolute;
  width: 24px;
  height: 12px;
  background: var(--cpt-light, #f8fbff);
  border: 1px solid #e0e0e0;
  left: -13px;
  z-index: 5;
}

.kuza-ticket-divider::before {
  top: -13px;
  /* Hangs exactly at the top edge of the ticket */
  border-radius: 0 0 24px 24px;
  border-top: none;
}

.kuza-ticket-divider::after {
  bottom: -13px;
  /* Hangs exactly at the bottom edge */
  border-radius: 24px 24px 0 0;
  border-bottom: none;
}

.kuza-ticket-tear-text {
  position: absolute;
  left: -6px;
  top: 50%;
  transform: translateY(-50%) rotate(270deg);
  font-size: 0.55rem;
  letter-spacing: 3px;
  color: #ccc;
  white-space: nowrap;
}

.kuza-ticket-logo {
  display: block;
  height: 28px;
  width: auto !important;
  max-width: 160px;
  object-fit: contain;
  margin-bottom: 25px;
  opacity: 0.8;
  filter: grayscale(100%) brightness(0.8);
}

.kuza-ticket-title {
  color: var(--cpt-secondary);
  font-size: 1.35rem;
  line-height: 1.2;
  font-weight: 800;
  padding-right: 5px;
  margin-bottom: auto;
  /* Pushes the breakdown to the bottom */
}

.kuza-ticket-date {
  font-size: 0.8rem;
  color: #3b2c85;
  margin-bottom: 2rem;
}

/* ==========================================================================
   Reviews Section — Modern Swipeable Carousel
   ========================================================================== */

/* ── Section shell ── */
.reviews-section {
  background: linear-gradient(160deg, #f0f9ff 0%, #fef8ee 50%, #f0fdf7 100%);
  padding: 90px 0;
  position: relative;
}

/* Soft decorative blobs */
.reviews-bg-deco {
  position: absolute;
  top: -120px; right: -120px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(238, 118, 28, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.reviews-bg-wave {
  position: absolute;
  bottom: -80px; left: -60px;
  width: 380px; height: 380px;
  background: radial-gradient(circle, rgba(1, 181, 213, 0.10) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

/* ── Header ── */
.reviews-label {
  display: inline-flex;
  align-items: center;
  background: linear-gradient(135deg, #4285F4, #34A853);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.reviews-heading {
  font-size: 2.6rem;
  font-weight: 900;
  color: var(--cpt-secondary);
  line-height: 1.15;
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .reviews-heading { font-size: 1.9rem; }
}

/* ── Overall score badge ── */
.reviews-score {
  font-size: 3.5rem;
  font-weight: 900;
  color: var(--cpt-secondary);
  line-height: 1;
}
.reviews-stars { font-size: 1.1rem; }
.reviews-count {
  color: var(--cpt-text-muted);
  font-size: 0.82rem;
  font-weight: 600;
}

/* ── Navigation arrows ── */
.reviews-nav-btn {
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 2px solid rgba(8,44,63,0.12);
  background: #fff;
  color: var(--cpt-secondary);
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  display: inline-flex; align-items: center; justify-content: center;
}
.reviews-nav-btn:hover:not(:disabled) {
  background: var(--cpt-primary);
  color: #fff;
  border-color: var(--cpt-primary);
  transform: scale(1.08);
  box-shadow: 0 6px 18px rgba(238,118,28,0.3);
}
.reviews-nav-btn:disabled { opacity: 0.35; cursor: default; }

/* ── Carousel wrapper ── */
.reviews-carousel-wrapper {
  overflow: hidden;
  position: relative;
  border-radius: 24px;
}

.reviews-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  gap: 0;
}

/* ── Individual review slide (for spacing) ── */
.rc-slide {
  padding: 15px; /* This creates the gap between cards */
  flex-shrink: 0;
  display: flex;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.rc-slide.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Individual review card panel ── */
.rc-card {
  background: #fff;
  border-radius: 24px;
  padding: 32px;
  box-shadow: 0 10px 40px rgba(8,44,63,0.06);
  border: 1px solid rgba(8,44,63,0.04);
  transition: all 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  cursor: default;
}

.rc-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 50px rgba(8,44,63,0.12), 0 0 0 2px rgba(238,118,28,0.05);
  border-color: rgba(238,118,28,0.1);
}

/* Left accent bar */
.rc-card::before {
  content: '';
  position: absolute;
  left: 0; top: 30px; bottom: 30px;
  width: 4px;
  background: linear-gradient(to bottom, var(--cpt-primary), var(--cpt-accent));
  border-radius: 0 4px 4px 0;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.rc-card:hover::before { opacity: 1; }

/* ── Inner Components ── */
.rc-quote-icon {
  position: absolute;
  top: 30px;
  right: 32px;
  font-size: 3rem;
  color: rgba(238, 118, 28, 0.05);
  pointer-events: none;
}

.rc-top {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.rc-stars {
  font-size: 1rem;
  letter-spacing: 2px;
  filter: drop-shadow(0 2px 4px rgba(251, 188, 5, 0.2));
}

.rc-text {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #4a5a67;
  font-weight: 500;
  margin-bottom: 25px;
  flex-grow: 1;
  font-style: italic;
  position: relative;
  z-index: 1;
}

.rc-author {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-top: 20px;
  border-top: 1px dashed rgba(8, 44, 63, 0.1);
}

.rc-avatar-wrapper {
  position: relative;
  width: 50px;
  height: 50px;
  flex-shrink: 0;
}

.rc-avatar,
.rc-avatar-init {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #fff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.rc-avatar-init {
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: #fff;
  font-size: 1rem;
}

.rc-google-badge {
  position: absolute;
  bottom: -4px;
  right: -4px;
  width: 20px;
  height: 20px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
  padding: 3px;
}

.rc-google-badge img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.rc-name {
  display: block;
  font-size: 1rem;
  font-weight: 800;
  color: var(--cpt-secondary);
  line-height: 1.2;
}

.rc-time {
  display: block;
  font-size: 0.8rem;
  color: var(--cpt-text-muted);
  margin-top: 4px;
}

/* ── Dot indicators ── */
.reviews-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
}
.rd-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  border: none;
  background: rgba(8,44,63,0.2);
  cursor: pointer;
  padding: 0;
  transition: all 0.3s ease;
}
.rd-dot.active {
  width: 28px;
  border-radius: 8px;
  background: var(--cpt-primary);
}
.rd-dot:hover:not(.active) {
  background: rgba(8,44,63,0.4);
}

/* ── Powered by ── */
.reviews-powered {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--cpt-text-muted);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

@media (max-width: 640px) {
  .reviews-nav-btn { width: 40px; height: 40px; font-size: 0.85rem; }
  .reviews-section { padding: 60px 0; }
  .rc-card { padding: 18px; }
}

/* ==========================================================================
   TikTok / Social Media Section
   ========================================================================== */

.tiktok-section {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #082C3F 0%, #0a3d58 40%, #082C3F 100%);
  padding: 100px 0;
}

/* Background note/hashtag decorations */
.tiktok-bg-deco {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.tk-deco {
  position: absolute;
  font-size: 4rem;
  font-weight: 900;
  opacity: 0.04;
  color: #fff;
  animation: tkFloat 8s ease-in-out infinite;
  user-select: none;
}

.tk-deco-1 { top: 10%; left: 5%;  animation-delay: 0s;   font-size: 5rem; }
.tk-deco-2 { top: 60%; left: 15%; animation-delay: 2s;   font-size: 3rem; }
.tk-deco-3 { top: 25%; left: 60%; animation-delay: 1s;   font-size: 6rem; }
.tk-deco-4 { bottom: 15%; right: 5%;  animation-delay: 3s;   font-size: 4rem; }
.tk-deco-5 { bottom: 40%; right: 20%; animation-delay: 1.5s; font-size: 3.5rem; }

@keyframes tkFloat {
  0%, 100% { transform: translateY(0) rotate(-5deg); }
  50%       { transform: translateY(-20px) rotate(5deg); }
}

/* Accent glow line at top */
.tiktok-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, #EE761C, #01B5D5, #EE761C);
  background-size: 200% 100%;
  animation: tkLineAnim 4s linear infinite;
}

@keyframes tkLineAnim {
  0%   { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}

/* ── Platform Badge ── */
.tk-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 100px;
  padding: 8px 20px;
  font-size: 0.9rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 1px;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}

.tk-icon {
  width: 18px;
  height: 18px;
  color: #01B5D5;
}

/* ── Heading ── */
.tk-heading {
  font-size: 3rem;
  font-weight: 900;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 20px;
}

/* ── Subtitle ── */
.tk-subtitle {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.7;
  margin-bottom: 28px;
}

/* ── Hashtag Pills ── */
.tk-hashtags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 32px;
}

.tk-tag {
  display: inline-block;
  background: rgba(238, 118, 28, 0.15);
  border: 1px solid rgba(238, 118, 28, 0.3);
  color: #EE761C;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: 100px;
  cursor: default;
  transition: all 0.25s ease;
}

.tk-tag:hover {
  background: rgba(238, 118, 28, 0.3);
  border-color: #EE761C;
  transform: translateY(-2px);
}

/* ── Follow Button ── */
.tk-follow-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #EE761C, #d66412);
  color: #fff;
  font-weight: 800;
  font-size: 1rem;
  text-decoration: none;
  padding: 14px 32px;
  border-radius: 100px;
  box-shadow: 0 6px 24px rgba(238, 118, 28, 0.4);
  transition: all 0.3s ease;
  letter-spacing: 0.3px;
}

.tk-follow-btn:hover {
  background: linear-gradient(135deg, #ff8c30, #EE761C);
  box-shadow: 0 10px 32px rgba(238, 118, 28, 0.55);
  transform: translateY(-3px);
  color: #fff;
}

.tk-btn-icon {
  width: 20px;
  height: 20px;
}

/* ── Stats Row ── */
.tk-stats {
  display: flex;
  align-items: center;
  gap: 24px;
}

.tk-stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.tk-stat-num {
  font-size: 1.5rem;
  font-weight: 900;
  color: #fff;
  line-height: 1;
}

.tk-stat-label {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.tk-stat-divider {
  width: 1px;
  height: 36px;
  background: rgba(255, 255, 255, 0.15);
  flex-shrink: 0;
}

/* ── Phone Frame / Embed Wrapper ── */
.tk-carousel {
  width: 100%;
  /* Do NOT use overflow:hidden here — it clips the scrollable track */
  position: relative;
}

.tk-carousel-track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  /* Padding: top/bottom for glow effect, left/right so first/last card aren't flush */
  padding: 40px 16px 50px;
  scrollbar-width: none;  /* Firefox */
  -ms-overflow-style: none; /* IE */
  cursor: grab;
}

.tk-carousel-track:active {
  cursor: grabbing;
}

.tk-carousel-track::-webkit-scrollbar {
  display: none;
}

.tk-slide {
  flex: 0 0 auto;
  scroll-snap-align: start;
}

.tk-phone-wrapper {
  position: relative;
  display: inline-block;
}

/* Ambient glow behind phone */
.tk-phone-glow {
  position: absolute;
  inset: -30px;
  background: radial-gradient(ellipse at center, rgba(1, 181, 213, 0.18) 0%, transparent 70%);
  pointer-events: none;
  border-radius: 50%;
  animation: tkGlowPulse 4s ease-in-out infinite;
}

@keyframes tkGlowPulse {
  0%, 100% { opacity: 0.8; transform: scale(1); }
  50%       { opacity: 1;   transform: scale(1.05); }
}

.tk-phone-frame {
  position: relative;
  background: #111;
  border-radius: 32px;
  padding: 16px;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.07),
    0 30px 80px rgba(0, 0, 0, 0.6),
    0 0 40px rgba(1, 181, 213, 0.1);
  overflow: hidden;
}

.tk-phone-frame::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, rgba(1, 181, 213, 0.7), transparent);
  border-radius: 32px 32px 0 0;
}

/* Force embed to not show extra white space on sides */
.tk-phone-frame .tiktok-embed {
  border: none !important;
  border-radius: 20px !important;
  overflow: hidden;
}

/* ── Responsive ── */
@media (max-width: 991px) {
  .tiktok-section { padding: 70px 0; }
  .tk-heading { font-size: 2.2rem; }
  .tk-stats { flex-wrap: wrap; gap: 16px; }
}

@media (max-width: 640px) {
  .tk-heading { font-size: 1.8rem; }
  .tk-hashtags { gap: 8px; }
  .tk-follow-btn { width: 100%; justify-content: center; }
  .tk-phone-wrapper { width: 100%; }
  .tk-phone-frame { border-radius: 24px; padding: 10px; }
}
