/**
 * A2Z Travel — Premium Custom Styles
 * Glassmorphism, animated gradients, glow effects, premium typography
 */

/* ========================================
   THEME COLOR VARIABLES — CSS FALLBACK
   These ensure colors work even if Tailwind
   JS config fails to load on live server
   ======================================== */

:root {
  --brand: #E53935;
  --brand-light: #FF5252;
  --brand-dark: #C62828;
  --navy: #0D1B2A;
  --navy-dark: #060F1A;
  --navy-light: #1B2D45;
  --gold: #FFB300;
  --gold-light: #FFCA28;
  --sky: #039BE5;
  --cream: #FFFDF7;
  --charcoal: #1A1A2E;
}

/* ========================================
   CRITICAL ELEMENT FALLBACKS
   Hard CSS rules so nav/header/footer never
   break regardless of Tailwind loading
   ======================================== */

/* Background colors — hardcoded fallback */
.bg-navy { background-color: var(--navy); }
.bg-premium-dark { background-color: var(--navy-dark); }
.bg-premium-light { background-color: #f8f9fb; }
.bg-premium-cream { background-color: var(--cream); }
.bg-brand { background-color: var(--brand); }
.bg-gold { background-color: var(--gold); }

/* Text colors — hardcoded fallback */
.text-navy { color: var(--navy); }
.text-brand { color: var(--brand); }
.text-gold { color: var(--gold); }
.text-sky { color: var(--sky); }
.text-charcoal { color: var(--charcoal); }
.text-white { color: #fff; }

/* Font families */
.font-heading { font-family: 'Playfair Display', Georgia, serif; }
.font-body { font-family: 'Poppins', system-ui, sans-serif; }
.font-hindi { font-family: 'Hind', sans-serif; }

/* Button styles */
.btn-premium {
  background: linear-gradient(135deg, var(--brand), var(--brand-light));
  color: #fff;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-premium:hover {
  box-shadow: 0 8px 25px rgba(229, 57, 53, 0.3);
  transform: translateY(-1px);
}

/* ========================================
   NAVIGATION — BULLETPROOF DARK BG
   Ensures nav is always dark regardless
   of Tailwind JS config loading
   ======================================== */

/* Sticky nav — always dark with blur */
nav.sticky.top-0 {
  background-color: rgba(13, 27, 42, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

/* Footer */
.footer-premium {
  background-color: var(--navy-dark);
  color: #d1d5db;
}

/* Glass effect fallback */
.glass {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

/* Section badge */
.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 1rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  background: linear-gradient(135deg, rgba(229,57,53,0.08), rgba(255,179,0,0.08));
  color: var(--brand);
  border: 1px solid rgba(229,57,53,0.12);
}

/* ========================================
   BASE STYLES — PREMIUM TYPOGRAPHY
   ======================================== */

html {
  scroll-behavior: smooth;
  font-size: 15px;
  line-height: 1.75;
}

@media (min-width: 768px) {
  html {
    font-size: 17px;
  }
}

body {
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-family: 'Poppins', system-ui, sans-serif;
  color: var(--charcoal);
  background: #fff;
}

/* Clamp headings — mobile-first compact */
.heading-hero {
  font-size: clamp(1.85rem, 6vw, 4.5rem);
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.heading-section {
  font-size: clamp(1.4rem, 4vw, 3rem);
  letter-spacing: -0.015em;
  line-height: 1.2;
}

/* Lottie player responsive sizing on desktop */
@media (min-width: 768px) {
  lottie-player[data-md-size="120"] { width: 120px !important; height: 120px !important; }
  lottie-player[data-md-size="130"] { width: 130px !important; height: 130px !important; }
  lottie-player[data-md-size="110"] { width: 110px !important; height: 110px !important; }
}

.text-premium-lg {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
}

/* Alpine.js cloak */
[x-cloak] {
  display: none !important;
}

/* ========================================
   GRADIENT TEXT UTILITY
   ======================================== */

.gradient-text {
  background: linear-gradient(135deg, #E53935 0%, #FFB300 50%, #E53935 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShift 4s ease infinite;
}

.gradient-text-light {
  background: linear-gradient(135deg, #ffffff 0%, #FFB300 50%, #ffffff 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShift 4s ease infinite;
}

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

/* ========================================
   PREMIUM SECTION DIVIDER
   ======================================== */

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 18px;
  background: linear-gradient(135deg, rgba(229,57,53,0.08), rgba(255,179,0,0.08));
  border: 1px solid rgba(229,57,53,0.15);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #E53935;
}

/* ========================================
   PAGE LOADER — PREMIUM GRADIENT BAR
   ======================================== */

#page-loader {
  transition: width 0.3s ease;
  background: linear-gradient(90deg, #E53935, #FFB300, #039BE5);
  height: 3px;
}

/* ========================================
   WHATSAPP FLOATING BUTTON
   ======================================== */

.whatsapp-float {
  animation: whatsappBounceIn 0.6s ease 0.6s both;
}

@keyframes whatsappBounceIn {
  0% { opacity: 0; transform: scale(0.3) translateY(20px); }
  50% { transform: scale(1.05) translateY(-5px); }
  70% { transform: scale(0.95) translateY(2px); }
  100% { opacity: 1; transform: scale(1) translateY(0); }
}

@keyframes waPulse {
  0% { transform: scale(1); opacity: 0.5; }
  100% { transform: scale(1.8); opacity: 0; }
}

.animate-wa-pulse {
  animation: waPulse 2s infinite;
  pointer-events: none;
}

/* ========================================
   PREMIUM CTA BUTTONS
   ======================================== */

.btn-shimmer {
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-shimmer:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(229, 57, 53, 0.35);
}

.btn-shimmer::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transition: none;
}

.btn-shimmer:hover::after {
  animation: shimmerSweep 0.6s ease forwards;
}

@keyframes shimmerSweep {
  0% { left: -100%; }
  100% { left: 100%; }
}

/* Premium gradient button */
.btn-premium {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #E53935 0%, #FF5252 50%, #E53935 100%);
  background-size: 200% auto;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 15px rgba(229, 57, 53, 0.3);
}

.btn-premium:hover {
  background-position: right center;
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(229, 57, 53, 0.45);
}

.btn-premium::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
}

.btn-premium:hover::after {
  animation: shimmerSweep 0.6s ease forwards;
}

/* Glass outline button */
.btn-glass {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-glass:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

/* ========================================
   HERO SECTION — PREMIUM REDESIGN
   ======================================== */

.hero-section {
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  will-change: transform;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(13, 27, 42, 0.92) 0%,
    rgba(13, 27, 42, 0.75) 40%,
    rgba(229, 57, 53, 0.35) 100%
  );
}

/* Animated gradient mesh on hero */
.hero-gradient-mesh {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(229,57,53,0.15) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(3,155,229,0.12) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 80%, rgba(255,179,0,0.1) 0%, transparent 50%);
  animation: meshFloat 8s ease-in-out infinite alternate;
}

@keyframes meshFloat {
  0% { opacity: 0.6; transform: scale(1); }
  100% { opacity: 1; transform: scale(1.05); }
}

/* Floating orbs */
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.3;
  animation: orbFloat 10s ease-in-out infinite alternate;
}

.hero-orb-1 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, #E53935, transparent);
  top: -100px;
  right: -100px;
  animation-duration: 12s;
}

.hero-orb-2 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, #039BE5, transparent);
  bottom: -80px;
  left: -80px;
  animation-duration: 10s;
  animation-delay: -3s;
}

.hero-orb-3 {
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, #FFB300, transparent);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation-duration: 8s;
  animation-delay: -5s;
}

@keyframes orbFloat {
  0% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -20px) scale(1.1); }
  66% { transform: translate(-20px, 20px) scale(0.9); }
  100% { transform: translate(10px, -10px) scale(1.05); }
}

/* Floating particles */
.hero-particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  animation: particleFloat linear infinite;
}

@keyframes particleFloat {
  0% { transform: translateY(100vh) rotate(0deg); opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { transform: translateY(-100px) rotate(720deg); opacity: 0; }
}

/* Hero text reveal — PREMIUM with glow */
.hero-word {
  display: inline-block;
  opacity: 0;
  transform: translateY(30px) scale(0.95);
  animation: heroWordReveal 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes heroWordReveal {
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Typewriter cursor */
.typewriter-cursor {
  display: inline-block;
  width: 3px;
  height: 1em;
  background: #FFB300;
  margin-left: 4px;
  animation: cursorBlink 0.8s infinite;
  vertical-align: text-bottom;
}

@keyframes cursorBlink {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0; }
}

/* Scroll indicator — premium */
.scroll-indicator {
  animation: scrollBounce 2s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

@keyframes scrollBounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(12px); }
  60% { transform: translateY(6px); }
}

/* ========================================
   GLASSMORPHISM UTILITIES
   ======================================== */

.glass {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.glass-white {
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
}

.glass-dark {
  background: rgba(26, 39, 68, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

/* ========================================
   SCROLL ANIMATIONS — PREMIUM
   ======================================== */

.fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-scale {
  opacity: 0;
  transform: scale(0.92);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-in-scale.is-visible {
  opacity: 1;
  transform: scale(1);
}

.slide-in-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.slide-in-left.is-visible {
  opacity: 1;
  transform: translateX(0);
}

.slide-in-right {
  opacity: 0;
  transform: translateX(50px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.slide-in-right.is-visible {
  opacity: 1;
  transform: translateX(0);
}

/* ========================================
   PREMIUM DESTINATION CARDS
   ======================================== */

.destination-card {
  overflow: hidden;
  border-radius: 20px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.destination-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.destination-card img {
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.destination-card .card-overlay {
  transition: all 0.4s ease;
}

.destination-card:hover .card-overlay {
  background: linear-gradient(to top, rgba(229, 57, 53, 0.6), transparent 60%);
}

/* ========================================
   PREMIUM FORM FIELDS WITH GLOW
   ======================================== */

.form-group {
  position: relative;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 16px 18px 8px;
  border: 1.5px solid #e5e7eb;
  border-radius: 12px;
  font-size: 16px;
  font-family: 'Poppins', system-ui, sans-serif;
  background: #fff;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: #039BE5;
  box-shadow: 0 0 0 4px rgba(3, 155, 229, 0.12), 0 4px 20px rgba(3, 155, 229, 0.08);
}

.form-group label {
  position: absolute;
  top: 50%;
  left: 18px;
  transform: translateY(-50%);
  font-size: 15px;
  color: #9ca3af;
  pointer-events: none;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  background: transparent;
}

.form-group textarea ~ label {
  top: 22px;
}

.form-group input:focus ~ label,
.form-group input:not(:placeholder-shown) ~ label,
.form-group textarea:focus ~ label,
.form-group textarea:not(:placeholder-shown) ~ label,
.form-group select:focus ~ label,
.form-group select:valid ~ label {
  top: 6px;
  transform: translateY(0);
  font-size: 11px;
  color: #039BE5;
  background: #fff;
  padding: 0 6px;
  font-weight: 600;
}

/* Premium number stepper */
.number-stepper {
  display: flex;
  align-items: center;
  gap: 0;
  border: 1.5px solid #e5e7eb;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.number-stepper:focus-within {
  border-color: #039BE5;
  box-shadow: 0 0 0 4px rgba(3, 155, 229, 0.12);
}

.number-stepper button {
  width: 44px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f8fafc;
  border: none;
  cursor: pointer;
  font-size: 18px;
  color: #1A2744;
  transition: all 0.2s ease;
  font-weight: 600;
}

.number-stepper button:hover {
  background: #e2e8f0;
  color: #E53935;
}

.number-stepper input {
  width: 52px;
  text-align: center;
  border: none;
  border-left: 1.5px solid #e5e7eb;
  border-right: 1.5px solid #e5e7eb;
  font-size: 16px;
  font-family: 'Poppins', system-ui, sans-serif;
  font-weight: 600;
  padding: 0;
  outline: none;
  -moz-appearance: textfield;
  appearance: textfield;
}

.number-stepper input::-webkit-outer-spin-button,
.number-stepper input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  appearance: none;
  margin: 0;
}

/* ========================================
   STATS COUNTER — PREMIUM
   ======================================== */

.stat-number {
  font-variant-numeric: tabular-nums;
}

.stat-card {
  position: relative;
  padding: 32px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(255,255,255,0.9), rgba(255,255,255,0.6));
  backdrop-filter: blur(10px);
  border: 1px solid rgba(229, 57, 53, 0.08);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #E53935, #FFB300);
  border-radius: 20px 20px 0 0;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.stat-card:hover::before {
  opacity: 1;
}

.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(229, 57, 53, 0.12);
}

/* ========================================
   TESTIMONIAL CAROUSEL — PREMIUM
   ======================================== */

.testimonial-stars {
  color: #FFB300;
}

.testimonial-card {
  position: relative;
  border-radius: 20px;
  background: linear-gradient(135deg, #ffffff, #fefcf8);
  border: 1px solid rgba(255, 179, 0, 0.1);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonial-card::before {
  content: '\201C';
  position: absolute;
  top: 16px;
  right: 24px;
  font-size: 80px;
  font-family: 'Playfair Display', serif;
  color: rgba(229, 57, 53, 0.06);
  line-height: 1;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.08);
  border-color: rgba(255, 179, 0, 0.2);
}

/* ========================================
   PAGE HERO (inner pages) — PREMIUM
   ======================================== */

.page-hero {
  background: linear-gradient(160deg, #060F1A 0%, #0D1B2A 40%, #1B2D45 100%);
  padding: 100px 0 70px;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -15%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(229,57,53,0.15), transparent 70%);
  animation: orbFloat 12s ease-in-out infinite alternate;
}

.page-hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(3,155,229,0.1), transparent 70%);
  animation: orbFloat 10s ease-in-out infinite alternate-reverse;
}

/* Grid pattern overlay */
.page-hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

/* ========================================
   SERVICE ACCORDION — PREMIUM
   ======================================== */

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.accordion-content.is-open {
  max-height: 500px;
}

/* ========================================
   HORIZONTAL SCROLL (mobile destinations)
   ======================================== */

.scroll-container {
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.scroll-container::-webkit-scrollbar {
  display: none;
}

/* ========================================
   FOCUS STYLES (Accessibility)
   ======================================== */

:focus-visible {
  outline: 2px solid #039BE5;
  outline-offset: 3px;
  border-radius: 4px;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid #039BE5;
  outline-offset: 3px;
}

/* ========================================
   PREMIUM SERVICE / TOUR CARDS
   ======================================== */

.service-card {
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
}

/* ========================================
   PREMIUM TRUST BADGES
   ======================================== */

.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  transition: all 0.3s ease;
  font-size: 14px;
}

.trust-badge:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

/* ========================================
   PREMIUM GRADIENT BACKGROUNDS
   ======================================== */

.bg-premium-light {
  background: linear-gradient(180deg, #ffffff 0%, #faf8f5 50%, #f5f0e8 100%);
}

.bg-premium-cream {
  background: linear-gradient(180deg, #fefcf8 0%, #FDF6EC 100%);
}

.bg-premium-dark {
  background: linear-gradient(160deg, #060F1A 0%, #0D1B2A 60%, #1B2D45 100%);
}

/* Animated border gradient card */
.gradient-border-card {
  position: relative;
  border-radius: 20px;
  padding: 1px;
  background: linear-gradient(135deg, rgba(229,57,53,0.2), rgba(255,179,0,0.2), rgba(3,155,229,0.2));
}

.gradient-border-card > .card-inner {
  border-radius: 19px;
  background: #ffffff;
}

/* ========================================
   PREMIUM ICON CONTAINER
   ======================================== */

.icon-premium {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(229,57,53,0.08), rgba(255,179,0,0.05));
  border: 1px solid rgba(229,57,53,0.1);
  transition: all 0.3s ease;
}

.icon-premium:hover {
  background: linear-gradient(135deg, rgba(229,57,53,0.15), rgba(255,179,0,0.1));
  transform: scale(1.05);
}

/* ========================================
   QUOTE FORM CARD — PREMIUM
   ======================================== */

.quote-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 24px;
  box-shadow:
    0 4px 6px rgba(0, 0, 0, 0.02),
    0 12px 40px rgba(0, 0, 0, 0.06),
    0 -2px 0 rgba(229, 57, 53, 0.1) inset;
}

/* ========================================
   PREMIUM FOOTER STYLES
   ======================================== */

.footer-premium {
  position: relative;
  overflow: hidden;
}

.footer-premium::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, #E53935, #FFB300, #039BE5, #FFB300, #E53935);
  background-size: 200% auto;
  animation: gradientShift 6s linear infinite;
}

/* ========================================
   SUBTLE TEXTURE OVERLAY
   ======================================== */

.noise-texture {
  position: relative;
}

.noise-texture::after {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.015;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  pointer-events: none;
}

/* ========================================
   MODERN STAGGERED HAMBURGER ICON
   ======================================== */

.hamburger-modern {
  width: 24px;
  height: 18px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-end;
}

.hamburger-modern span {
  display: block;
  height: 2.5px;
  background: #fff;
  border-radius: 3px;
  transition: all 0.4s cubic-bezier(0.68, -0.6, 0.32, 1.6);
  transform-origin: center;
}

.hamburger-modern span:nth-child(1) {
  width: 100%;
}

.hamburger-modern span:nth-child(2) {
  width: 70%;
  transition-delay: 0.05s;
}

.hamburger-modern span:nth-child(3) {
  width: 50%;
  transition-delay: 0.1s;
}

/* Hover: all lines equal width */
button:hover .hamburger-modern span,
button:focus .hamburger-modern span {
  width: 100%;
}

/* Active: morph to X */
.hamburger-modern.is-active span:nth-child(1) {
  width: 100%;
  transform: translateY(7.75px) rotate(45deg);
}

.hamburger-modern.is-active span:nth-child(2) {
  width: 100%;
  opacity: 0;
  transform: translateX(10px);
}

.hamburger-modern.is-active span:nth-child(3) {
  width: 100%;
  transform: translateY(-7.75px) rotate(-45deg);
}

/* ========================================
   MOBILE BOTTOM CTA BAR
   ======================================== */

.safe-bottom {
  padding-bottom: env(safe-area-inset-bottom, 0);
}

@media (max-width: 767px) {
  body {
    padding-bottom: 68px;
  }
}

/* ========================================
   FLOATING CUSTOMER CARE AGENT
   ======================================== */

@keyframes agentSlideIn {
  0% { opacity: 0; transform: translateY(40px) scale(0.8); }
  60% { opacity: 1; transform: translateY(-8px) scale(1.02); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

.agent-float:hover .agent-tooltip {
  opacity: 1;
  transform: translateY(0);
}

/* ========================================
   ENHANCED FORM — STYLISH DATE INPUTS
   ======================================== */

/* Custom date input styling */
.form-group input[type="date"] {
  color-scheme: light;
  cursor: pointer;
}

.form-group input[type="date"]::-webkit-calendar-picker-indicator {
  background: linear-gradient(135deg, #E53935, #FF5252);
  border-radius: 6px;
  padding: 4px;
  cursor: pointer;
  filter: invert(1);
  opacity: 0.8;
  transition: all 0.2s ease;
}

.form-group input[type="date"]::-webkit-calendar-picker-indicator:hover {
  opacity: 1;
  transform: scale(1.15);
}

/* Enhanced quote card with glow */
.quote-card-glow {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(24px);
  border: 1.5px solid rgba(229, 57, 53, 0.08);
  border-radius: 28px;
  box-shadow:
    0 4px 6px rgba(0, 0, 0, 0.02),
    0 16px 50px rgba(0, 0, 0, 0.08),
    0 0 0 1px rgba(229, 57, 53, 0.04),
    0 -3px 0 rgba(229, 57, 53, 0.12) inset;
  position: relative;
}

.quote-card-glow::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #E53935, #FFB300, #039BE5);
  border-radius: 28px 28px 0 0;
  z-index: 1;
}

/* Enhanced form fields */
.form-enhanced input,
.form-enhanced textarea,
.form-enhanced select {
  border-width: 2px;
  border-radius: 14px;
  font-size: 15px;
  padding: 18px 18px 10px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.form-enhanced input:focus,
.form-enhanced textarea:focus,
.form-enhanced select:focus {
  border-color: #E53935;
  box-shadow: 0 0 0 4px rgba(229, 57, 53, 0.08), 0 4px 20px rgba(229, 57, 53, 0.06);
}

.form-enhanced input:focus ~ label,
.form-enhanced input:not(:placeholder-shown) ~ label,
.form-enhanced textarea:focus ~ label,
.form-enhanced textarea:not(:placeholder-shown) ~ label {
  color: #E53935;
}

/* ========================================
   PREMIUM FORM FIELDS — NEW DESIGN
   ======================================== */

.premium-field {
  position: relative;
}

.premium-field-icon {
  position: absolute;
  top: 50%;
  left: 14px;
  transform: translateY(-50%);
  color: #9ca3af;
  z-index: 2;
  transition: color 0.3s ease;
  pointer-events: none;
}

.premium-field:focus-within .premium-field-icon {
  color: #E53935;
}

.premium-input {
  width: 100%;
  padding: 14px 16px 14px 44px;
  border: 1.5px solid #e5e7eb;
  border-radius: 14px;
  font-size: 15px;
  font-family: 'Poppins', system-ui, sans-serif;
  background: #fafafa;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  outline: none;
  color: #1A1A2E;
}

.premium-input::placeholder {
  color: #adb5bd;
  font-weight: 400;
}

.premium-input:hover {
  border-color: #d1d5db;
  background: #fff;
}

.premium-input:focus {
  border-color: #E53935;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(229, 57, 53, 0.08), 0 4px 16px rgba(229, 57, 53, 0.05);
}

textarea.premium-input {
  padding-left: 44px;
  resize: vertical;
  min-height: 80px;
}

/* Number stepper inside premium form */
.travel-form .number-stepper {
  border-radius: 14px;
  border-color: #e5e7eb;
  background: #fafafa;
}

.travel-form .number-stepper:focus-within {
  border-color: #E53935;
  box-shadow: 0 0 0 4px rgba(229, 57, 53, 0.08);
}

.travel-form .number-stepper button:hover {
  background: rgba(229, 57, 53, 0.06);
  color: #E53935;
}

/* ========================================
   FLATPICKR — BRAND THEMED CALENDAR
   ======================================== */

.flatpickr-calendar {
  border-radius: 16px !important;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(0, 0, 0, 0.04) !important;
  border: none !important;
  overflow: hidden;
  font-family: 'Poppins', sans-serif !important;
  z-index: 9999 !important;
}

.flatpickr-calendar.a2z-calendar .flatpickr-months {
  background: linear-gradient(135deg, #E53935, #C62828) !important;
  border-radius: 16px 16px 0 0;
  padding: 4px 0;
}

.flatpickr-calendar.a2z-calendar .flatpickr-months .flatpickr-month,
.flatpickr-calendar.a2z-calendar .flatpickr-months .flatpickr-prev-month,
.flatpickr-calendar.a2z-calendar .flatpickr-months .flatpickr-next-month {
  color: #fff !important;
  fill: #fff !important;
}

.flatpickr-calendar.a2z-calendar .flatpickr-months .flatpickr-prev-month:hover,
.flatpickr-calendar.a2z-calendar .flatpickr-months .flatpickr-next-month:hover {
  color: #FFB300 !important;
}

.flatpickr-calendar.a2z-calendar .flatpickr-months .flatpickr-prev-month svg,
.flatpickr-calendar.a2z-calendar .flatpickr-months .flatpickr-next-month svg {
  stroke: #fff !important;
}

.flatpickr-calendar.a2z-calendar .flatpickr-current-month .flatpickr-monthDropdown-months,
.flatpickr-calendar.a2z-calendar .flatpickr-current-month input.cur-year {
  color: #fff !important;
  font-weight: 600 !important;
}

.flatpickr-calendar.a2z-calendar .flatpickr-weekdays {
  background: #fafafa;
}

.flatpickr-calendar.a2z-calendar span.flatpickr-weekday {
  color: #0D1B2A !important;
  font-weight: 600 !important;
  font-size: 12px;
}

.flatpickr-calendar.a2z-calendar .flatpickr-day {
  border-radius: 10px !important;
  font-weight: 500;
  transition: all 0.15s ease;
}

.flatpickr-calendar.a2z-calendar .flatpickr-day:hover {
  background: rgba(229, 57, 53, 0.08) !important;
  border-color: transparent !important;
}

.flatpickr-calendar.a2z-calendar .flatpickr-day.selected,
.flatpickr-calendar.a2z-calendar .flatpickr-day.selected:hover {
  background: linear-gradient(135deg, #E53935, #FF5252) !important;
  border-color: #E53935 !important;
  color: #fff !important;
  box-shadow: 0 4px 12px rgba(229, 57, 53, 0.3);
}

.flatpickr-calendar.a2z-calendar .flatpickr-day.today {
  border-color: #FFB300 !important;
  color: #E53935 !important;
  font-weight: 700;
}

.flatpickr-calendar.a2z-calendar .flatpickr-day.today:hover {
  background: rgba(255, 179, 0, 0.1) !important;
}

/* Flatpickr alt input — match form-group styling */
.form-group input.flatpickr-alt {
  width: 100%;
  padding: 16px 18px 8px;
  border: 1.5px solid #e5e7eb;
  border-radius: 12px;
  font-size: 16px;
  font-family: 'Poppins', system-ui, sans-serif;
  background: #fff;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  outline: none;
  cursor: pointer;
}

.form-group input.flatpickr-alt:focus,
.form-group input.flatpickr-alt.active {
  border-color: #E53935;
  box-shadow: 0 0 0 4px rgba(229, 57, 53, 0.08), 0 4px 20px rgba(229, 57, 53, 0.06);
}

/* Float label up when flatpickr is active */
.form-group .flatpickr-label-active {
  top: 6px !important;
  transform: translateY(0) !important;
  font-size: 11px !important;
  color: #E53935 !important;
  background: #fff !important;
  padding: 0 6px !important;
  font-weight: 600 !important;
}

.form-group input[readonly].flatpickr-input {
  cursor: pointer !important;
}

/* ========================================
   PRINT STYLES
   ======================================== */

@media print {
  .whatsapp-float,
  .agent-float,
  nav,
  #page-loader,
  .hero-orb,
  .hero-particles,
  .hero-gradient-mesh {
    display: none !important;
  }
}
