/* --- Performance Optimizations --- */
/* Remove backdrop-filter from navbar */
.airport-transfer .airport-transfer-navbar-scroll {
  background-color: rgba(255, 255, 255, 0.98);
  /* Removed backdrop-filter for performance */
}

/* Remove will-change from sticky-card */


/* Limit border-pulse animation to hover only */

.airport-transfer #why-choose .bg-white.rounded-xl.shadow-lg {
  position: relative;
  border: 2px solid rgba(42, 183, 202, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.airport-transfer #why-choose .bg-white.rounded-xl.shadow-lg:hover {
  animation: border-pulse 4s ease-in-out;
}
.airport-transfer .why-choose-card {
  position: relative;
  border: 2px solid rgba(42, 183, 202, 0.3) !important;
  transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}
.airport-transfer .why-choose-card:hover {
  animation: border-pulse 4s ease-in-out !important;
}

/* Reduce box-shadow spread for performance */
.airport-transfer #why-choose .bg-white.rounded-xl.shadow-lg,
.airport-transfer .why-choose-card {
  box-shadow: 0 6px 12px rgba(42, 183, 202, 0.10) !important;
}

/* Limit floating animations to desktop only */
@media (min-width: 1025px) {
  .airport-transfer .animate-float {
    animation: float 3s ease-in-out infinite;
  }
  .airport-transfer .animate-float-delayed {
    animation: float-delayed 4s ease-in-out infinite;
    animation-delay: 0.5s;
  }
}
@media (max-width: 1024px) {
  .airport-transfer .animate-float,
  .airport-transfer .animate-float-delayed {
    animation: none;
  }
}
/* --- End Performance Optimizations --- */



.mx-05{
    margin-right: 1.5px !important;
}

 .gallery {
      column-count: 4;
      column-gap: 20px;
    }

 

    .gallery img {
      width: 100%;
      margin-bottom: 20px;
      border-radius: 12px;
      display: block;
      break-inside: avoid;
      box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    }

    @media (max-width: 1024px) {
      .gallery {
        column-count: 3;
      }
    }

    @media (max-width: 768px) {
      .gallery {
        column-count: 2;
      }
    }

    @media (max-width: 480px) {
      .gallery {
        column-count: 1;
      }
    }

/* Subtle Border Animation for Why Choose Cards */
#why-choose .bg-white.rounded-xl.shadow-lg {
  position: relative;
  border: 2px solid rgba(42, 183, 202, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  animation: none;
}

@keyframes border-pulse {
  0% {
    border-color: rgba(42, 183, 202, 0.3);
  }
  25% {
    border-color: rgba(42, 183, 202, 0.5);
  }
  50% {
    border-color: rgba(42, 183, 202, 0.7);
  }
  75% {
    border-color: rgba(42, 183, 202, 0.5);
  }
  100% {
    border-color: rgba(42, 183, 202, 0.3);
  }
}

#why-choose .bg-white.rounded-xl.shadow-lg:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(42, 183, 202, 0.15);
}

/* Car Rental Page - Why Choose Cards */
.why-choose-card {
  position: relative;
  border: 2px solid rgba(42, 183, 202, 0.3) !important;
  transition: transform 0.3s ease, box-shadow 0.3s ease !important;
  animation: none !important;
}

.why-choose-card:hover {
  transform: translateY(-5px) !important;
  box-shadow: 0 15px 30px rgba(42, 183, 202, 0.15) !important;
}

/* ============================================
   Airport Transfer Page Specific Styles
   ============================================ */

/* Alpine.js Cloak - Hide elements until Alpine loads */
.airport-transfer [x-cloak] { 
  display: none !important; 
}

/* Prevent horizontal scrollbar */
html, body {
  overflow-x: hidden;
  max-width: 100%;
}

/* Hero Background Image */
.airport-transfer-hero-bg {
  background-image: url(img/airport-transfer.png);
  background-size: cover;
  background-position: center;
}

/* Fade-in Animation for Sections */
.airport-transfer-fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

.airport-transfer-fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Navbar Scroll Effect */
.airport-transfer-navbar-scroll {
  background-color: rgba(255, 255, 255, 0.98);
}

/* Sticky Scroll Container Height */
.airport-transfer-sticky-scroll-container {
  height: 500vh;
}

/* Sticky cards initial state */


/* Ensure sticky container is visible */
.airport-transfer-sticky-scroll-container .sticky {
  background: linear-gradient(135deg, rgba(42, 183, 202, 0.05), rgba(255, 255, 255, 1), rgba(255, 107, 107, 0.05));
}

/* ============================================
   Hero Section Animations & Effects
   ============================================ */

/* Floating Animation for Hero Cards */
@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-15px);
  }
}

@keyframes float-delayed {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
}

.animate-float {
  animation: float 3s ease-in-out infinite;
}

.animate-float-delayed {
  animation: float-delayed 4s ease-in-out infinite;
  animation-delay: 0.5s;
}

/* Gradient Text Animation */
@keyframes gradient-shift {
  0%, 100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

.bg-gradient-to-r {
  background-size: 200% 200%;
}

/* Smooth Hover Effects */
.group:hover .group-hover\:translate-x-1 {
  transform: translateX(0.25rem);
}

.group:hover .group-hover\:scale-105 {
  transform: scale(1.05);
}

/* Trust Badge Pulse */
@keyframes pulse-subtle {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.9;
    transform: scale(1.02);
  }
}

/* Responsive Hero Adjustments */
@media (max-width: 1024px) {
  .animate-float,
  .animate-float-delayed {
    animation: none;
  }
}

/* Button gradient animation */
.bg-size-200 {
  background-size: 200% auto;
  transition: background-position 0.5s ease;
}

.hover\:bg-right:hover {
  background-position: right center;
}

/* Animated border for CTA */
@keyframes pulse-border {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(42, 183, 202, 0.4);
  }
  50% {
    box-shadow: 0 0 0 8px rgba(42, 183, 202, 0);
  }
}