:root {
  /* Luxury Color Scheme: Midnight Blue + Champagne Gold */
  --primary-color: #1A202C; /* Midnight Blue */
  --primary-light: #2D3748;
  --primary-dark: #0F172A;

  --accent-color: #D4AF37; /* Champagne Gold */
  --accent-light: #F3E5AB;
  --accent-dark: #AA8C2C;

  /* Backgrounds */
  --bg-cream: #FAFAFA; /* Pearl White / Soft Alabaster */
  --bg-light: #F1F5F9;
  --bg-dark: #0B0F19; /* Deeper Dark */

  /* Text Colors */
  --text-main: #1A202C;
  --text-muted: #4A5568;
  --text-light: #A0AEC0;

  /* Fonts */
  --font-sans: "Outfit", sans-serif;
  --font-serif: "Playfair Display", serif;

  /* Premium UI Tokens */
  --ease-premium: cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-soft: 0 10px 30px -5px rgba(0, 0, 0, 0.05);
  --shadow-hover: 0 20px 40px -10px rgba(0, 0, 0, 0.1);
  --shadow-glow-primary: 0 10px 25px -5px rgba(26, 32, 44, 0.4);
  --shadow-glow-accent: 0 10px 25px -5px rgba(212, 175, 55, 0.4);

  /* Ultra-Premium Video Shadow Token */
  --shadow-glow-video: 0 20px 50px -10px rgba(212, 175, 55, 0.15);
}

html, body {
  font-family: var(--font-sans);
  color: var(--text-main);
  background-color: var(--bg-cream);
  overflow-x: hidden;
  line-height: 1.7;
}

/* Typography Utilities */
.font-serif {
  font-family: var(--font-serif);
}

.tracking-wide {
  letter-spacing: 0.1em;
}

.tracking-wider {
  letter-spacing: 0.15em;
}

.l-height-1 {
  line-height: 1.2;
}

.l-height-2 {
  line-height: 1.6;
}

.text-shadow-sm {
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.text-shadow-lg {
  text-shadow: 0 4px 10px rgba(0, 0, 0, 0.6);
}

/* Color Utilities */
.text-primary {
  color: var(--primary-color) !important;
}
.text-accent {
  color: var(--accent-color) !important;
}
.bg-primary {
  background-color: var(--primary-color) !important;
}
.bg-accent {
  background-color: var(--accent-color) !important;
}
.bg-cream {
  background-color: var(--bg-cream) !important;
}

/* Buttons */
.btn-primary {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  color: #fff;
  transition: all 0.4s var(--ease-premium);
}
.btn-primary:hover {
  background-color: var(--primary-light);
  border-color: var(--primary-light);
  transform: translateY(-3px);
  box-shadow: var(--shadow-glow-primary) !important;
}

.btn-accent {
  background-color: var(--accent-color);
  border-color: var(--accent-color);
  color: #fff;
  transition: all 0.4s var(--ease-premium);
}
.btn-accent:hover {
  background-color: var(--accent-light);
  border-color: var(--accent-light);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: var(--shadow-glow-accent) !important;
}

.btn-outline-primary {
  color: var(--primary-color);
  border-color: var(--primary-color);
  transition: all 0.4s var(--ease-premium);
}
.btn-outline-primary:hover {
  background-color: var(--primary-color);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: var(--shadow-glow-primary) !important;
}


@keyframes slowZoom {
  0% { transform: scale(1); }
  100% { transform: scale(1.15); }
}

.hero-bg img, .hero-bg video {
  transform-origin: center center;
}
.hero-bg > picture > img {
  animation: slowZoom 40s linear infinite alternate;
}

@keyframes fadeUpCinematic {
  from { opacity: 0; transform: translateY(30px); filter: blur(10px); }
  to { opacity: 1; transform: translateY(0); filter: blur(0); }
}

.fade-up-1 { animation: fadeUpCinematic 1s ease-out 0.2s forwards; opacity: 0; }
.fade-up-2 { animation: fadeUpCinematic 1s ease-out 0.4s forwards; opacity: 0; }
.fade-up-3 { animation: fadeUpCinematic 1s ease-out 0.6s forwards; opacity: 0; }
.fade-up-4 { animation: fadeUpCinematic 1s ease-out 0.8s forwards; opacity: 0; }

/* Ambient Orbs */
.ambient-orb-1, .ambient-orb-2 {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  z-index: 1;
  pointer-events: none;
}
.ambient-orb-1 {
  width: 300px; height: 300px;
  background: rgba(212, 175, 55, 0.25);
  top: -50px; left: -50px;
  animation: float 8s infinite alternate;
}
.ambient-orb-2 {
  width: 250px; height: 250px;
  background: rgba(255, 255, 255, 0.15);
  bottom: -50px; right: -50px;
  animation: float 10s infinite alternate-reverse;
}

/* Ensure glassmorphism form sits above orbs */
.glass-form-wrapper {
  position: relative;
  z-index: 2;
}

.text-gold-gradient {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Navbar */
.navbar {
  transition: all 0.4s ease;
}
.nav-link {
  color: var(--text-main) !important;
  font-weight: 500;
  padding: 0.5rem 1rem !important;
  transition: color 0.3s ease;
}
.nav-link:hover,
.nav-link.active {
  color: var(--accent-color) !important;
}

/* Hero Section */
.hero-section {
  min-height: 100vh;
  padding-top: 80px;
}
.hero-overlay {
  background: linear-gradient(
    to bottom,
    rgba(15, 23, 42, 0.4) 0%, /* Deep Slate Dark */
    rgba(11, 15, 25, 0.6) 50%, /* Midnight Blue */
    rgba(0, 0, 0, 0.8) 100%
  );
}

/* Glassmorphism Form */
.glass-form {
  background: rgba(255, 255, 255, 0.1) !important;
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2), inset 0 0 0 1px rgba(255, 255, 255, 0.2);
  border-radius: 20px !important;
}

.glass-form h4, .glass-form p {
  color: white !important;
}

.glass-form h4 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem !important;
}

.glass-form p {
  font-size: 0.85rem;
  margin-bottom: 1rem !important;
  line-height: 1.4;
}

/* Super High Specificity for Form Focus - Fixing the White Background Issue */
#quote-form .form-control,
#quote-form .form-select,
.glass-form .form-control,
.glass-form .form-select,
.hero-section .form-control,
.hero-section .form-select {
  border: 1px solid rgba(0, 0, 0, 0.08) !important;
  background-color: rgba(255, 255, 255, 0.95) !important;
  color: #333 !important;
  border-radius: 8px;
  backdrop-filter: blur(10px);
  height: 46px !important;
  min-height: 46px !important;
  line-height: 1.25;
  transition: all 0.3s ease;
  padding-top: 0.2rem !important;
  padding-bottom: 0.15rem !important;
}

/* Specific fix for the textarea height so it doesn't get confined by the 3rem globally */
#quote-form textarea.form-control {
  height: 60px !important;
}

#quote-form .form-control:focus,
#quote-form .form-select:focus,
.glass-form .form-control:focus,
.glass-form .form-select:focus,
.hero-section .form-control:focus,
.hero-section .form-select:focus {
  box-shadow: none !important;
  border-color: rgba(0, 0, 0, 0.08) !important;
  background-color: #fff !important;
  color: #000 !important;
  outline: none !important;
}

/* Simple Input Placeholders */
.glass-form .form-control::placeholder,
.hero-section .form-control::placeholder {
  color: #9ca3af !important;
  opacity: 1;
}
.glass-form .form-control:focus::placeholder,
.hero-section .form-control:focus::placeholder {
  color: #6b7280 !important;
}



/* Fix for auto-fill affecting background color */
.glass-form .form-control:-webkit-autofill,
.glass-form .form-control:-webkit-autofill:hover,
.glass-form .form-control:-webkit-autofill:focus,
.glass-form .form-control:-webkit-autofill:active {
  -webkit-box-shadow: 0 0 0 30px #ffffff inset !important;
  -webkit-text-fill-color: #000 !important;
  transition: background-color 5000s ease-in-out 0s;
}

.navbar-brand img {
  height: 50px;
}

/* Destination Cards */
.destination-card {
  transition: transform 0.5s var(--ease-premium);
}
.destination-card:hover {
  transform: translateY(-8px);
}
.destination-card .img-wrapper {
  transition: all 0.5s var(--ease-premium);
  box-shadow: var(--shadow-soft);
  border: 4px solid var(--accent-light);
  padding: 3px;
}
.destination-card .img-wrapper img {
  border-radius: 50%;
  border: 3px solid white;
}
.destination-card:hover .img-wrapper {
  box-shadow: var(--shadow-glow-accent) !important;
  border-color: var(--accent-color);
}
.tr-scale {
  transition: transform 0.8s var(--ease-premium);
}
.destination-card:hover .tr-scale {
  transform: scale(1.08); /* Elegantly scaled */
}

/* Dividers */
.section-divider {
  height: 4px;
  width: 60px;
  background: linear-gradient(
    to right,
    var(--accent-color),
    var(--primary-color)
  );
  border-radius: 4px;
}

/* Premium Utilities */
.shadow-premium {
  box-shadow: var(--shadow-soft) !important;
  transition: box-shadow 0.4s var(--ease-premium), transform 0.4s var(--ease-premium);
}

/* Extreme Hover Lift */
.hover-lift {
  transition: all 0.5s var(--ease-premium);
}
.hover-lift:hover {
  transform: translateY(-12px) !important;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.2) !important;
}

/* Image Zoom Hover */
.img-zoom-wrapper {
  overflow: hidden;
}
.img-zoom-wrapper img {
  transition: transform 0.8s var(--ease-premium);
}
.hover-lift:hover .img-zoom-wrapper img,
.group:hover .img-zoom-wrapper img {
  transform: scale(1.1);
}

/* Staggered Desktop Grid */
@media (min-width: 992px) {
  .stagger-card {
    transform: translateY(-30px);
  }
  /* Fix overlap if we stagger up */
  .stagger-card:hover {
    transform: translateY(-42px) !important;
  }
}

.glass-panel {
  background: rgba(255, 255, 255, 0.85) !important;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: var(--shadow-soft);
}

/* Package Cards Luxury Redesign */
.package-card {
  border: 1px solid rgba(212, 175, 55, 0.2) !important; /* Subtle Gold Border */
  transition: all 0.5s var(--ease-premium);
}
.package-card:hover {
  border-color: rgba(212, 175, 55, 0.6) !important;
  box-shadow: var(--shadow-glow-accent) !important;
}

.glass-badge {
  background: rgba(11, 15, 25, 0.75) !important; /* Dark Midnight Blue Glass */
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(212, 175, 55, 0.4);
  color: #fff;
  font-weight: 500;
  letter-spacing: 0.5px;
}

.package-location {
  color: var(--text-main);
  border-bottom: 1px dashed rgba(212, 175, 55, 0.3);
  padding-bottom: 8px;
  display: inline-block;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
}

.feature-list li {
  margin-bottom: 0.8rem;
  display: flex;
  align-items: center;
}
.feature-list li i {
  margin-right: 0.5rem;
  font-size: 1.1rem;
}

/* Stats Cards */
.stat-card-new {
  transition: all 0.4s var(--ease-premium);
}
.stat-card-new:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-glow-primary) !important;
  border-color: rgba(0, 0, 0, 0.1) !important;
}
.stat-card-new .icon-box {
  transition: transform 0.4s var(--ease-premium);
}
.stat-card-new:hover .icon-box {
  transform: scale(1.1) rotate(5deg);
}

/* Animations */
.animate-fade-up {
  animation: fadeUp 0.8s ease-out forwards;
  opacity: 0;
  transform: translateY(30px);
}
@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.delay-100 {
  animation-delay: 0.1s;
}
.delay-200 {
  animation-delay: 0.2s;
}

/* Accordion Custom Styling */
.custom-accordion .accordion-button {
  transition: all 0.3s ease;
  box-shadow: none !important;
}
.custom-accordion .accordion-button:not(.collapsed) {
  background: var(--primary-color) !important;
  color: white !important;
  box-shadow: 0 4px 15px rgba(6, 95, 70, 0.2) !important;
}
.custom-accordion .accordion-button::after {
  filter: grayscale(100%);
  transition: all 0.3s ease;
}
.custom-accordion .accordion-button:not(.collapsed)::after {
  filter: brightness(0) invert(1);
}

/* Utilities */
.glass-strip {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: var(--shadow-hover);
  border-radius: 16px;
  transform: translateY(-50%);
  margin-bottom: -50px; /* Offset the transform space */
}

.hover-lift {
  transition:
    transform 0.4s var(--ease-premium),
    box-shadow 0.4s var(--ease-premium),
    border-color 0.4s var(--ease-premium);
}
.hover-lift:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}
.py-6 {
  padding-top: 6rem;
  padding-bottom: 6rem;
}
.pt-6 {
  padding-top: 6rem;
}

/* Footer */
footer .social-icon {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  color: #fff;
  transition: all 0.3s ease;
  text-decoration: none;
}
footer .social-icon:hover {
  background-color: var(--accent-color);
  transform: translateY(-3px);
}
footer .footer-links a,
footer .contact-info a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: color 0.3s ease;
  line-height: 2;
}
footer .footer-links a:hover,
footer .contact-info a:hover {
  color: var(--accent-color);
}
.cert-logos img {
  width: 45px;
  border-radius: 4px;
  background: white;
  padding: 2px;
}

/* Hover Utils */
.btn-hover-filled:hover {
  background-color: var(--primary-color);
  color: white !important;
}
.hover-text-white {
  transition: color 0.3s ease;
}
.hover-text-white:hover {
  color: white !important;
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
  .hero-section {
    min-height: 100vh;
  }
  .display-3 {
    font-size: 2.5rem;
  }
  #quick-inquiry {
    margin-top: -30px;
  }
  .tour-row {
    padding-bottom: 2rem !important;
  }
}
@media (max-width: 767.98px) {
  .hero-section {
    min-height: 100vh;
    padding-top: 140px;
    padding-bottom: 80px;
  }
  .display-3 {
    font-size: 2rem;
  }
  .py-6 {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }
}

/* Thank You Page Styles */
.thankyoumain {
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.thankyouin {
  width: 50%;
  height: 400px;
  background: #fff;
  box-shadow: 0 0px 20px 0px #0000002e;
  text-align: center;
  border-radius: 20px;
}

.thankyouin img {
  width: 50%;
  filter: hue-rotate(273deg);
}

.cancel img {
  width: 20% !important;
  margin-top: 100px;
}

.text-danger {
  color: red !important;
}

.thankyouin h3 {
  color: #000;
  font-size: 35px;
  margin-top: 0;
}

.thankyouin p {
  font-size: 16px;
  letter-spacing: 1px;
  color: #000;
}

@media (max-width: 991px) {
  .thankyouin {
    width: 100%;
  }
}
