/* Custom Premium CSS for EMT Holidays with Immersive UI Styling Theme */

:root {
  --primary: #05509E;
  --primary2: #042353;
  --secondary: #FFBF00;
  --light: #D7D8D8;
  --dark: #000826;
  --white: #FFFFFF;
}

/* Base Body Styles - Bright Background */
body {
  background-color: var(--light) !important;
  color: var(--dark) !important;
  font-family: 'Poppins', sans-serif !important;
  overflow-x: hidden;
}

/* Global Bright Ambient Gradient Backdrop */
.bright-ambient-bg {
  background: radial-gradient(circle at 10% 20%, rgba(5, 80, 158, 0.08) 0%, transparent 40%),
              radial-gradient(circle at 90% 80%, rgba(255, 191, 0, 0.12) 0%, transparent 40%),
              linear-gradient(to bottom, #F0F4F8 0%, #D7D8D8 100%) !important;
}

/* Custom subtle drop shadows ONLY on premium containers/elements, avoiding general text */
.shadow-custom, .glass-panel, .glass-card, img, button, select, input, textarea {
  filter: drop-shadow(0 4px 6px rgba(0, 8, 38, 0.06));
}

/* Fixed Background Images for Special Sections */
.bg-fixed-custom-1 {
  background-image: linear-gradient(rgba(4, 35, 83, 0.8), rgba(0, 8, 38, 0.9)), url('https://images.unsplash.com/photo-1506929562872-bb421503ef21?auto=format&fit=crop&w=1920&q=80');
  background-attachment: fixed !important;
  background-position: center !important;
  background-size: cover !important;
  background-repeat: no-repeat !important;
}

.bg-fixed-custom-2 {
  background-image: linear-gradient(rgba(4, 35, 83, 0.85), rgba(0, 8, 38, 0.95)), url('https://images.unsplash.com/photo-1476514525535-07fb3b4ae5f1?auto=format&fit=crop&w=1920&q=80');
  background-attachment: fixed !important;
  background-position: center !important;
  background-size: cover !important;
  background-repeat: no-repeat !important;
}

/* Infinite Ticker/Marquee Animation */
@keyframes marquee {
  0% { transform: translateX(0%); }
  100% { transform: translateX(-50%); }
}

.animate-marquee {
  display: flex;
  width: max-content;
  animation: marquee 20s linear infinite;
}

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

/* Premium Box Styles:
   Make boxes background have --primary2: #042353 and heading text --secondary: #FFBF00 and other text in white colors. */
.custom-box, .glass-panel, .glass-card, .bg-slate-900, .bg-slate-950\/80 {
  background-color: var(--primary2) !important;
  border: 1.5px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 24px !important;
  box-shadow: 0 15px 35px rgba(0, 8, 38, 0.35) !important;
  padding: 1.5rem;
}

.custom-box h1, .custom-box h2, .custom-box h3, .custom-box h4, .custom-box h5, .custom-box h6,
.glass-panel h1, .glass-panel h2, .glass-panel h3, .glass-panel h4, .glass-panel h5, .glass-panel h6,
.bg-slate-900 h1, .bg-slate-900 h2, .bg-slate-900 h3, .bg-slate-900 h4 {
  color: var(--secondary) !important;
}

.custom-box p, .custom-box span, .custom-box li, .custom-box label,
.glass-panel p, .glass-panel span, .glass-panel li, .glass-panel label,
.bg-slate-900 p, .bg-slate-900 span, .bg-slate-900 li {
  color: var(--white) !important;
}

/* Premium Button / CTA Styles:
   Make buttons have --primary: #05509E with #FFBF00 in button texts initially and when cursor hover above it have #FFBF00 in background and primary color in the CTA texts. */
.custom-btn, 
button, 
a.bg-amber-500, 
a.bg-gradient-to-r, 
input[type="submit"] {
  background: var(--primary) !important;
  color: var(--secondary) !important;
  border: 2px solid var(--primary) !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.05em !important;
  border-radius: 9999px !important;
  padding: 0.75rem 1.75rem !important;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
  cursor: pointer !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.5rem !important;
  position: relative !important;
  overflow: hidden !important;
}

.custom-btn::after, 
button::after, 
a.bg-amber-500::after, 
a.bg-gradient-to-r::after, 
input[type="submit"]::after {
  content: '' !important;
  position: absolute !important;
  top: 0 !important;
  left: -50% !important;
  width: 30% !important;
  height: 100% !important;
  background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.3) 50%, rgba(255,255,255,0) 100%) !important;
  transform: skewX(-25deg) !important;
  transition: none !important;
  pointer-events: none !important;
}

.custom-btn:hover::after, 
button:hover::after, 
a.bg-amber-500:hover::after, 
a.bg-gradient-to-r:hover::after, 
input[type="submit"]:hover::after {
  left: 150% !important;
  transition: all 0.75s ease-in-out !important;
}

.custom-btn:hover, 
button:hover, 
a.bg-amber-500:hover, 
a.bg-gradient-to-r:hover, 
input[type="submit"]:hover {
  background: var(--secondary) !important;
  color: var(--primary) !important;
  border-color: var(--secondary) !important;
  transform: translateY(-2.5px) scale(1.1) !important;
  box-shadow: 0 4px 15px rgba(255, 191, 0, 0.8) !important;
}

/* Global transitions for cards, images, buttons, and elements */
.custom-box, .glass-panel, .glass-card, .package-card, img, button, select, input, textarea, a.custom-btn, #gallery-left, #gallery-center, #gallery-right {
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease, filter 0.4s ease, border-color 0.4s ease !important;
}

/* Unify drop shadow to match packages card shadow-xl precisely, and avoid harsh/unwanted shadows */
img, 
.custom-box, 
.glass-panel, 
.glass-card, 
.package-card, 
.service-card, 
.card,
.feature-card,
.gallery-card,
.bento-card,
.testimonial-card,
.faq-card,
.map-sidebar-card {
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.08), 0 8px 10px -6px rgba(0, 0, 0, 0.08) !important;
  filter: none !important;
}

/* Remove harsh drop shadows from section end bottom completely */
.hero-depth-shadow {
  filter: none !important;
  box-shadow: none !important;
}

/* Testimonial slider custom-card support */
.testimonial-card {
  position: absolute !important;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.6s ease, z-index 0.6s ease !important;
  width: 90% !important;
  max-width: 500px !important;
}

/* Color Shifting Text Animation */
@keyframes colorShifting {
  0% { color: var(--primary); }
  50% { color: var(--secondary); }
  100% { color: var(--primary); }
}

.text-color-shift {
  animation: colorShifting 4s infinite ease-in-out;
}

/* Active Scroll Viewport Loading Animation:
   Make all the contents loads everytime whenever that contens activates in viewport. */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* Scroll Progress Indicator Bar */
#scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 4px;
  background: linear-gradient(to right, var(--primary), var(--secondary));
  z-index: 1000;
  transition: width 0.1s ease-out;
}

/* Leaflet Custom Styles */
.leaflet-container {
  font-family: 'Poppins', sans-serif !important;
}

.custom-map-popup .leaflet-popup-content-wrapper {
  background: var(--primary2) !important;
  color: var(--white) !important;
  border-radius: 16px !important;
  padding: 4px !important;
  border: 1px solid var(--secondary) !important;
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.5) !important;
}

.custom-map-popup .leaflet-popup-tip {
  background: var(--primary2) !important;
}

/* Pulse Glow Effects */
.pulse-gold {
  box-shadow: 0 0 0 0 rgba(255, 191, 0, 0.7);
  animation: pulse-gold-anim 2s infinite;
}

@keyframes pulse-gold-anim {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(255, 191, 0, 0.7);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 10px rgba(255, 191, 0, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(255, 191, 0, 0);
  }
}

/* Custom Hide Scrollbar */
.no-scrollbar::-webkit-scrollbar {
  display: none;
}
.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* Hero Section Gradients */
.hero-gradient {
  background: linear-gradient(to bottom, rgba(4, 35, 83, 0.2) 0%, rgba(0, 8, 26, 0.85) 100%);
}

/* Sticky Header Custom background */
header.sticky {
  background: rgba(4, 35, 83, 0.95) !important;
  border-bottom: 2px solid var(--primary) !important;
}

/* ==========================================
   GLOBAL STYLE IMPROVEMENTS & SPECIFIC USER REQS
   ========================================== */

/* 1. Smooth Headings Text Animation */
h1, h2, h3 {
  transition: color 0.5s cubic-bezier(0.16, 1, 0.3, 1), text-shadow 0.5s cubic-bezier(0.16, 1, 0.3, 1) !important;
  animation: smoothHeadingBreathing 6s infinite ease-in-out !important;
}

@keyframes smoothHeadingBreathing {
  0% {
    text-shadow: 0 0 2px rgba(255, 191, 0, 0.08);
  }
  50% {
    text-shadow: 0 0 14px rgba(255, 191, 0, 0.25);
  }
  100% {
    text-shadow: 0 0 2px rgba(255, 191, 0, 0.45);
  }
}

/* 2. Unify Header and Footer Background Colors */
header, footer, header.sticky, .bg-brandPrimary2, .bg-\[\#000826\] {
  background-color: #042353 !important; /* Premium brandPrimary2 luxury color */
}

/* 3. Global Hover Transformation (110% scale and elegant packages-card shadow) */
img, 
.custom-box, 
.glass-panel, 
.glass-card, 
.package-card, 
.service-card, 
.card,
.feature-card,
.gallery-card,
.bento-card,
.testimonial-card,
.faq-card,
.map-sidebar-card {
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease, border-color 0.4s ease, filter 0.4s ease !important;
}

img:hover, 
.custom-box:hover, 
.glass-panel:hover, 
.glass-card:hover, 
.package-card:hover, 
.service-card:hover, 
.card:hover,
.feature-card:hover,
.gallery-card:hover,
.bento-card:hover,
.testimonial-card:hover,
.faq-card:hover,
.map-sidebar-card:hover {
  transform: scale(1.05) translateY(-8px) !important;
  box-shadow: 0 10px 10px -5px rgba(0, 8, 38, 0.12), 0 12px 16px -8px rgba(0, 8, 38, 0.12) !important;
  filter: none !important;
  border-color: var(--secondary) !important;
  z-index: 30 !important;
}

/* Custom Trip Style Button Styling */
.trip-style-btn {
  background-color: var(--secondary) !important;
  color: var(--white) !important;
  border: 2px solid var(--secondary) !important;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.trip-style-btn:hover, .trip-style-btn.active {
  background-color: var(--primary) !important;
  color: var(--secondary) !important;
  border-color: var(--primary) !important;
}

/* Map Sidebar Cards */
.map-sidebar-card {
  background-color: var(--primary2) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.map-sidebar-card.active {
  border-color: var(--secondary) !important;
  background-color: rgba(5, 80, 158, 0.25) !important;
}


/* FAQ Accordion Enhancements */
.faq-content {
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
  opacity: 1;
}

.faq-card .faq-content {
  opacity: 0;
}

/* When expanded, show content */
.faq-card:has(.faq-content[style*="max-height"]) .faq-content {
  opacity: 1;
}

/* Ensure consistent interaction styling */
.faq-card {
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.faq-card:hover {
  border-color: var(--secondary) !important;
}


	
/* Remove default margins and force block behavior */
#contact-section {
  margin-bottom: 0 !important;
  display: block;
}

/* Ensure equal heights */
#contact-section .grid {
  align-items: stretch !important;
}

/* Glassmorphism adjustment for consistency */
.custom-box {
 
  backdrop-filter: blur(12px) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
}