/* =====================================================
   ENHANCED 3D EFFECTS, GRADIENT ANIMATIONS & MODERN UI
   Car Rental Ranchi - 2026 Premium Design
   ===================================================== */

/* =====================================
   CSS Custom Properties - Extended
   ===================================== */
:root {
    /* New Gradient Colors */
    --gradient-hero: linear-gradient(135deg, #0c1445 0%, #1a237e 25%, #004e89 50%, #ff6b35 100%);
    --gradient-gold: linear-gradient(135deg, #f5af19, #f12711);
    --gradient-ocean: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-sunset: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
    --gradient-emerald: linear-gradient(135deg, #11998e, #38ef7d);
    --gradient-midnight: linear-gradient(135deg, #0f0c29, #302b63, #24243e);
    --gradient-fire: linear-gradient(135deg, #f83600 0%, #f9d423 100%);
    --gradient-arctic: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --gradient-glass: linear-gradient(135deg, rgba(255,255,255,0.1), rgba(255,255,255,0.05));
    
    /* 3D Transform Properties */
    --perspective: 1200px;
    --rotate-x: 0deg;
    --rotate-y: 0deg;
    
    /* Glow Effects */
    --glow-primary: 0 0 20px rgba(255, 107, 53, 0.5);
    --glow-secondary: 0 0 20px rgba(0, 78, 137, 0.5);
    --glow-gold: 0 0 20px rgba(255, 215, 0, 0.5);
    --glow-neon: 0 0 30px rgba(102, 126, 234, 0.6);
}

/* =====================================
   Animated Gradient Background
   ===================================== */
@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes gradientRotate {
    0% { filter: hue-rotate(0deg); }
    100% { filter: hue-rotate(360deg); }
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
}

@keyframes floatSlow {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    33% { transform: translateY(-10px) rotate(2deg); }
    66% { transform: translateY(5px) rotate(-2deg); }
}

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

@keyframes rotateBorder {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes scaleIn {
    0% { transform: scale(0.8) translateY(20px); opacity: 0; }
    100% { transform: scale(1) translateY(0); opacity: 1; }
}

@keyframes slideUp {
    0% { transform: translateY(60px); opacity: 0; }
    100% { transform: translateY(0); opacity: 1; }
}

@keyframes glow {
    0%, 100% { box-shadow: 0 0 5px rgba(255, 107, 53, 0.3); }
    50% { box-shadow: 0 0 25px rgba(255, 107, 53, 0.6), 0 0 50px rgba(255, 107, 53, 0.2); }
}

@keyframes textGlow {
    0%, 100% { text-shadow: 0 0 5px rgba(255, 215, 0, 0.5); }
    50% { text-shadow: 0 0 20px rgba(255, 215, 0, 0.8), 0 0 40px rgba(255, 215, 0, 0.3); }
}

@keyframes morphBlob {
    0%, 100% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; }
    25% { border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%; }
    50% { border-radius: 50% 60% 30% 60% / 30% 60% 70% 40%; }
    75% { border-radius: 60% 40% 60% 30% / 70% 30% 50% 60%; }
}

@keyframes ripple {
    0% { box-shadow: 0 0 0 0 rgba(255, 107, 53, 0.3), 0 0 0 0 rgba(255, 107, 53, 0.2); }
    100% { box-shadow: 0 0 0 15px rgba(255, 107, 53, 0), 0 0 0 30px rgba(255, 107, 53, 0); }
}

@keyframes typewriter {
    from { width: 0; }
    to { width: 100%; }
}

@keyframes borderGlow {
    0% { border-color: rgba(255, 107, 53, 0.3); }
    50% { border-color: rgba(255, 107, 53, 0.8); }
    100% { border-color: rgba(255, 107, 53, 0.3); }
}

/* =====================================
   Global 3D Perspective Container
   ===================================== */
.services-grid,
.fleet-grid,
.why-grid,
.stats-grid,
.places-grid,
.fare-grid,
.route-info-grid,
.why-grid-city,
.testimonials-grid,
.areas-grid,
.payment-methods {
    perspective: var(--perspective);
}

/* =====================================
   Enhanced Hero Section - 3D & Gradient
   ===================================== */
.hero {
    background: var(--gradient-hero);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
    position: relative;
    overflow: hidden;
}

.hero::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: floatSlow 20s ease-in-out infinite;
    pointer-events: none;
    z-index: 1;
}

/* Geometric Shapes Floating in Hero */
.hero .container::before {
    content: '';
    position: absolute;
    top: 10%;
    right: 5%;
    width: 100px;
    height: 100px;
    border: 2px solid rgba(255, 215, 0, 0.2);
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    animation: morphBlob 8s ease-in-out infinite, float 6s ease-in-out infinite;
    z-index: 1;
    pointer-events: none;
}

.hero .container::after {
    content: '';
    position: absolute;
    bottom: 15%;
    left: 3%;
    width: 80px;
    height: 80px;
    border: 2px solid rgba(255, 107, 53, 0.15);
    border-radius: 50%;
    animation: float 8s ease-in-out infinite reverse;
    z-index: 1;
    pointer-events: none;
}

.hero-title {
    background: linear-gradient(135deg, #ffffff, #ffd700, #ffffff);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 4s linear infinite;
}

.hero-subtitle {
    animation: textGlow 3s ease-in-out infinite;
}

/* =====================================
   3D Card Effects
   ===================================== */
.service-card,
.fleet-card,
.fare-card,
.why-card,
.why-card-city,
.route-info-card,
.place-card,
.testimonial-card,
.payment-method {
    transform-style: preserve-3d;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    /* Remove will-change from default state - add only on hover */
    contain: layout style paint;
}

/* 3D Hover Tilt Effect */
.service-card:hover {
    transform: perspective(1000px) rotateX(2deg) rotateY(-3deg) translateY(-15px) scale(1.02);
    box-shadow: 
        0 20px 40px rgba(255, 107, 53, 0.2),
        0 0 0 1px rgba(255, 107, 53, 0.1),
        inset 0 -2px 5px rgba(0,0,0,0.03);
}

.fleet-card:hover {
    transform: perspective(1000px) rotateX(-2deg) rotateY(3deg) translateY(-15px);
    box-shadow: 
        0 25px 50px rgba(0, 78, 137, 0.2),
        0 0 0 1px rgba(0, 78, 137, 0.1);
}

.fare-card:hover {
    transform: perspective(1000px) rotateX(3deg) rotateY(-2deg) translateY(-12px) scale(1.03);
    box-shadow: 0 20px 40px rgba(255, 107, 53, 0.25);
}

.fare-card.featured {
    background: linear-gradient(135deg, #fff5f0, #ffffff);
    border: 3px solid;
    border-image: linear-gradient(135deg, var(--primary-color), #ffd700, var(--accent-color)) 1;
    animation: borderGlow 3s ease-in-out infinite;
}

.fare-card.featured:hover {
    transform: perspective(1000px) rotateX(3deg) rotateY(-2deg) translateY(-12px) scale(1.08);
}

.why-card:hover,
.why-card-city:hover {
    transform: perspective(1000px) rotateX(-3deg) rotateY(5deg) translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 78, 137, 0.15);
}

.route-info-card:hover {
    transform: perspective(1000px) rotateX(3deg) translateY(-10px);
    box-shadow: 0 20px 35px rgba(255, 107, 53, 0.2);
}

.testimonial-card:hover {
    transform: perspective(1000px) rotateX(-2deg) rotateY(2deg) translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 78, 137, 0.15);
}

.payment-method:hover {
    transform: perspective(1000px) rotateY(5deg) translateY(-8px) scale(1.05);
    box-shadow: 0 15px 30px rgba(255, 107, 53, 0.2);
}

/* =====================================
   Glassmorphism Effects
   ===================================== */
.booking-form-card {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.trust-badges {
    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: 16px;
}

.feature-badge {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.feature-badge:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* =====================================
   Gradient Animated Borders
   ===================================== */
.service-card::before {
    height: 5px;
    background: linear-gradient(90deg, 
        var(--primary-color), 
        #ffd700, 
        var(--accent-color), 
        #ff8c61, 
        var(--primary-color));
    background-size: 300% 100%;
    animation: shimmer 3s linear infinite;
}

.booking-form-card::before {
    background: linear-gradient(90deg, 
        var(--primary-color), 
        #ffd700, 
        #667eea, 
        #ff8c61, 
        var(--primary-color));
    background-size: 300% 100%;
    animation: shimmer 4s linear infinite;
}

/* =====================================
   Enhanced Service Icons with 3D
   ===================================== */
.service-icon {
    position: relative;
    transform-style: preserve-3d;
    animation: float 4s ease-in-out infinite;
}

.service-icon::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 10px;
    background: rgba(255, 107, 53, 0.2);
    border-radius: 50%;
    filter: blur(4px);
    animation: float 4s ease-in-out infinite reverse;
}

.why-icon {
    position: relative;
    transform-style: preserve-3d;
    transition: all 0.4s ease;
}

.why-card:hover .why-icon {
    transform: rotateY(180deg) scale(1.1);
    box-shadow: var(--glow-primary);
}

.why-card-city:hover i {
    animation: float 2s ease-in-out infinite;
    color: #ffd700;
}

/* =====================================
   Enhanced Stats Section - 3D Counter
   ===================================== */
.stats-section {
    background: var(--gradient-hero);
    background-size: 300% 300%;
    animation: gradientShift 10s ease infinite;
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
}

.stat-card {
    position: relative;
    padding: 30px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s ease;
    transform-style: preserve-3d;
}

.stat-card:hover {
    transform: perspective(800px) rotateY(-5deg) translateY(-10px);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.stat-card i {
    font-size: 3rem;
    background: linear-gradient(135deg, #ffd700, #ff6b35);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 15px;
    animation: float 3s ease-in-out infinite;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #ffffff, #ffd700);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* =====================================
   Enhanced Sections with Gradient BGs
   ===================================== */
.services-section {
    background: linear-gradient(180deg, #f8f9ff 0%, #eef2ff 50%, #f0f4ff 100%);
    position: relative;
}

.services-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), #ffd700, var(--accent-color));
}

.fleet-section {
    background: linear-gradient(180deg, #ffffff 0%, #f8f9ff 100%);
    position: relative;
}

.tariff-section {
    background: linear-gradient(180deg, #f0f4ff 0%, #e8ecf8 100%);
}

.why-choose-section {
    background: linear-gradient(180deg, #ffffff 0%, #f8f9ff 50%, #fff5f0 100%);
}

.about-section {
    background: linear-gradient(135deg, #f8f9ff 0%, #f0f4ff 50%, #fff5f0 100%);
}

.testimonials-section {
    background: linear-gradient(180deg, #fff 0%, #f8f9ff 100%);
    position: relative;
    overflow: hidden;
}

.testimonials-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-color), var(--primary-color), #ffd700);
}

.contact-section {
    background: linear-gradient(180deg, #ffffff 0%, #f8f9ff 100%);
}

.faq-section {
    background: linear-gradient(180deg, #f0f4ff 0%, #f8f9ff 100%);
}

/* =====================================
   Section Headers - 3D Enhanced
   ===================================== */
.section-header h2 {
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    background: linear-gradient(90deg, var(--primary-color), #ffd700, var(--accent-color));
    background-size: 200% 100%;
    animation: shimmer 3s linear infinite;
    height: 4px;
    border-radius: 4px;
}

/* =====================================
   Enhanced Navigation - Glassmorphism
   ===================================== */
.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.top-bar {
    background: linear-gradient(135deg, #0c1445 0%, #1a1a2e 100%);
    position: relative;
    overflow: hidden;
}

.top-bar::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-color), #ffd700, var(--accent-color), transparent);
}

/* =====================================
   Enhanced Buttons - 3D & Gradient
   ===================================== */
.btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, #ff8c61 50%, #ffd700 100%);
    background-size: 200% auto;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.4);
    position: relative;
    overflow: hidden;
}

.btn-primary:hover {
    background-position: right center;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 
        0 8px 25px rgba(255, 107, 53, 0.5),
        0 0 0 2px rgba(255, 107, 53, 0.1);
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent 30%, rgba(255,255,255,0.15) 50%, transparent 70%);
    transform: rotate(45deg);
    transition: all 0.6s;
    opacity: 0;
}

.btn-primary:hover::after {
    opacity: 1;
    animation: shimmer 1.5s linear;
}

.btn-outline {
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}

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

.btn-outline:hover::before {
    left: 100%;
}

.btn-submit {
    background: linear-gradient(135deg, var(--primary-color) 0%, #ff8c61 50%, #ffd700 100%);
    background-size: 200% auto;
    animation: shimmer 4s linear infinite;
    box-shadow: 0 5px 20px rgba(255, 107, 53, 0.4);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.btn-submit:hover {
    background-position: right center;
    transform: translateY(-4px) scale(1.02);
    box-shadow: 
        0 10px 30px rgba(255, 107, 53, 0.5),
        var(--glow-primary);
}

/* =====================================
   Social Proof Banner - 3D Glass
   ===================================== */
.social-proof-banner {
    background: linear-gradient(135deg, #0c1445, #1a237e, #004e89);
    background-size: 200% 200%;
    animation: gradientShift 8s ease infinite;
}

.proof-item {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s ease;
    transform-style: preserve-3d;
}

.proof-item:hover {
    transform: perspective(800px) rotateY(5deg) translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* =====================================
   Quick Features - Gradient Scrolling
   ===================================== */
.quick-features {
    background: linear-gradient(135deg, #ffffff 0%, #f0f4ff 100%);
    border-bottom: 3px solid transparent;
    border-image: linear-gradient(90deg, var(--primary-color), #ffd700, var(--accent-color)) 1;
}

/* =====================================
   Calculator Section - 3D Glass
   ===================================== */
.fare-calculator-section {
    background: linear-gradient(135deg, #fff5f0 0%, #f0f4ff 50%, #ffffff 100%);
}

.calculator-wrapper {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 107, 53, 0.2);
    transition: all 0.4s ease;
    transform-style: preserve-3d;
}

.calculator-wrapper:hover {
    transform: perspective(1200px) rotateX(1deg);
    box-shadow: 0 20px 50px rgba(255, 107, 53, 0.15);
}

.calc-button {
    background: linear-gradient(135deg, var(--primary-color) 0%, #ff8c61 50%, #ffd700 100%);
    background-size: 200% auto;
    transition: all 0.4s ease;
}

.calc-button:hover {
    background-position: right center;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 25px rgba(255, 107, 53, 0.5);
}

/* =====================================
   Enhanced Fleet Cards - 3D Image
   ===================================== */
.fleet-card {
    overflow: hidden;
    transform-style: preserve-3d;
}

.fleet-image {
    position: relative;
    overflow: hidden;
}

.fleet-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(to top, rgba(0,0,0,0.3), transparent);
    opacity: 0;
    transition: all 0.4s ease;
}

.fleet-card:hover .fleet-image::after {
    opacity: 1;
}

.fleet-badge {
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.fleet-badge.premium {
    background: linear-gradient(135deg, #ffd700, #f5af19);
    box-shadow: 0 4px 15px rgba(245, 175, 25, 0.4);
    animation: glow 3s ease-in-out infinite;
}

.fleet-price {
    background: linear-gradient(135deg, #f8f9ff, #fff5f0);
    border: 1px solid rgba(255, 107, 53, 0.1);
}

.btn-fleet {
    background: linear-gradient(135deg, var(--primary-color) 0%, #ff8c61 100%);
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}

.btn-fleet:hover {
    background: linear-gradient(135deg, #ff8c61 0%, #ffd700 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.5);
}

/* =====================================
   Tariff Table - Enhanced 3D
   ===================================== */
.tariff-table,
.popular-routes {
    transform-style: preserve-3d;
    transition: all 0.4s ease;
}

.tariff-table:hover,
.popular-routes:hover {
    transform: perspective(1000px) rotateY(2deg) translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 78, 137, 0.15);
}

thead {
    background: linear-gradient(135deg, #0c1445, #004e89, #1a659e);
}

.route-card {
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    border-left: 4px solid transparent;
}

.route-card:hover {
    background: linear-gradient(135deg, #fff5f0, #f8f9ff);
    transform: translateX(10px) scale(1.02);
    border-left-color: var(--primary-color);
    box-shadow: 0 5px 20px rgba(255, 107, 53, 0.15);
}

/* =====================================
   About Section - Enhanced 3D Image
   ===================================== */
.about-image {
    transform-style: preserve-3d;
    transition: all 0.5s ease;
}

.about-image:hover {
    transform: perspective(1000px) rotateY(-5deg) rotateX(3deg);
}

.about-image img {
    transition: all 0.5s ease;
}

.about-image:hover img {
    box-shadow: 
        0 30px 60px rgba(0, 0, 0, 0.2),
        0 0 0 1px rgba(0, 0, 0, 0.05);
}

.about-badge {
    background: linear-gradient(135deg, #ffffff, #fff5f0);
    border: 2px solid rgba(255, 107, 53, 0.2);
    animation: float 4s ease-in-out infinite;
    transform-style: preserve-3d;
}

.about-feature i {
    background: linear-gradient(135deg, #28a745, #20c997);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* =====================================
   Enhanced Testimonial Cards - 3D
   ===================================== */
.testimonial-card {
    background: linear-gradient(135deg, #ffffff, #f8f9ff);
    border: 1px solid rgba(0, 78, 137, 0.05);
    transform-style: preserve-3d;
}

.testimonial-card::before {
    font-size: 8rem;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.1), rgba(0, 78, 137, 0.05));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.google-rating .rating-badge {
    background: linear-gradient(135deg, #ffffff, #f8f9ff);
    border: 2px solid rgba(0, 78, 137, 0.1);
    transition: all 0.4s ease;
    transform-style: preserve-3d;
}

.google-rating .rating-badge:hover {
    transform: perspective(800px) rotateX(3deg) translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 78, 137, 0.15);
}

/* =====================================
   Enhanced FAQ Section
   ===================================== */
.faq-item {
    transition: all 0.4s ease;
    border-left: 4px solid transparent;
}

.faq-item:hover {
    border-left-color: var(--primary-color);
    transform: translateX(5px);
    box-shadow: 0 5px 20px rgba(255, 107, 53, 0.1);
}

.faq-item.active {
    border-left-color: var(--primary-color);
    background: linear-gradient(135deg, #fff5f0, #ffffff);
    box-shadow: 0 5px 20px rgba(255, 107, 53, 0.1);
}

/* =====================================
   Enhanced Contact Section
   ===================================== */
.contact-info {
    background: linear-gradient(135deg, #0c1445 0%, #004e89 50%, #1a659e 100%);
    background-size: 200% 200%;
    animation: gradientShift 8s ease infinite;
    position: relative;
    overflow: hidden;
}

.contact-info::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255,255,255,0.05) 1px, transparent 1px);
    background-size: 30px 30px;
    pointer-events: none;
}

.contact-icon {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: all 0.4s ease;
}

.contact-item:hover .contact-icon {
    background: var(--primary-color);
    transform: rotateY(180deg) scale(1.1);
    transition: all 0.5s ease;
}

.social-links a {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-5px) rotateZ(5deg) scale(1.1);
    box-shadow: 0 8px 20px rgba(255, 107, 53, 0.4);
}

.contact-form-wrapper {
    background: linear-gradient(135deg, #ffffff, #f8f9ff);
    border: 1px solid rgba(0, 78, 137, 0.05);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1), 0 4px 15px rgba(255, 107, 53, 0.1);
    transform: translateY(-2px);
}

/* =====================================
   Enhanced CTA Section - City Pages
   ===================================== */
.cta-section-city {
    background: linear-gradient(135deg, #0c1445 0%, var(--primary-color) 50%, #ff8c61 100%);
    background-size: 200% 200%;
    animation: gradientShift 8s ease infinite;
    position: relative;
    overflow: hidden;
}

.cta-section-city::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: floatSlow 20s ease-in-out infinite;
    pointer-events: none;
}

.cta-section-city h2 {
    background: linear-gradient(135deg, #ffffff, #ffd700);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* =====================================
   City Hero - Enhanced 3D
   ===================================== */
.city-hero {
    background-size: cover;
    background-position: center;
    background-attachment: scroll;
    position: relative;
    overflow: hidden;
    min-height: 450px;
}

.city-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(255,107,53,0.15) 0%, transparent 50%),
                radial-gradient(circle at 70% 30%, rgba(0,78,137,0.1) 0%, transparent 50%);
    z-index: 1;
    pointer-events: none;
    animation: gradientShift 12s ease infinite;
    background-size: 200% 200%;
}

.city-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to top, rgba(248,249,250,1), transparent);
    z-index: 2;
    pointer-events: none;
}

.city-hero-title {
    background: linear-gradient(135deg, #ffffff, #ffd700, #ffffff);
    background-size: 300% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 4s linear infinite;
}

/* =====================================
   Enhanced Place Cards with 3D Perspective
   ===================================== */
.place-card {
    transform-style: preserve-3d;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.place-card:hover {
    transform: perspective(1000px) rotateX(-2deg) rotateY(3deg) translateX(10px) translateY(-5px);
    box-shadow: 
        0 20px 40px rgba(255, 107, 53, 0.2),
        -5px 0 0 var(--primary-color);
}

.place-number {
    animation: float 3s ease-in-out infinite;
    box-shadow: 0 5px 15px rgba(255, 107, 53, 0.4);
}

/* =====================================
   Enhanced Footer - 3D Gradient
   ===================================== */
.footer {
    background: linear-gradient(180deg, #0c1445 0%, #1a1a2e 100%);
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), #ffd700, var(--accent-color), #ff8c61);
    background-size: 300% 100%;
    animation: shimmer 4s linear infinite;
}

.footer-column ul li a {
    position: relative;
    transition: all 0.3s ease;
}

.footer-column ul li a::before {
    content: '→';
    position: absolute;
    left: -15px;
    opacity: 0;
    transition: all 0.3s ease;
    color: var(--primary-color);
}

.footer-column ul li a:hover {
    color: #ffd700;
    padding-left: 20px;
}

.footer-column ul li a:hover::before {
    left: 0;
    opacity: 1;
}

/* =====================================
   Enhanced WhatsApp & Call Buttons
   ===================================== */
.whatsapp-float {
    background: linear-gradient(135deg, #25D366, #128C7E);
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    animation: ripple 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.15) rotate(5deg);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.6);
}

.call-float {
    background: linear-gradient(135deg, var(--primary-color), #ff8c61);
    box-shadow: 0 4px 20px rgba(255, 107, 53, 0.4);
}

.call-float:hover {
    transform: scale(1.15) rotate(-5deg);
    box-shadow: 0 8px 30px rgba(255, 107, 53, 0.6);
}

/* =====================================
   Scroll Progress Bar - Gradient
   ===================================== */
.scroll-progress {
    background: linear-gradient(90deg, var(--primary-color), #ffd700, var(--accent-color));
    height: 3px;
    box-shadow: 0 0 10px rgba(255, 107, 53, 0.5);
}

/* =====================================
   Enhanced Scroll/Back-to-Top Button
   ===================================== */
.scroll-top {
    background: linear-gradient(135deg, var(--primary-color), #ff8c61);
    box-shadow: 0 5px 20px rgba(255, 107, 53, 0.4);
    transition: all 0.4s ease;
}

.scroll-top:hover {
    transform: translateY(-8px) scale(1.1);
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.5);
    background: linear-gradient(135deg, #ff8c61, #ffd700);
}

/* =====================================
   Image Cards with Online Images
   ===================================== */
.destination-image-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    transform-style: preserve-3d;
    aspect-ratio: 16/10;
}

.destination-image-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.6s ease;
}

.destination-image-card:hover {
    transform: perspective(1000px) rotateX(-3deg) rotateY(3deg) translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
}

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

.destination-image-card .card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px 20px 20px;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.4) 50%, transparent 100%);
    color: white;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.4s ease;
}

.destination-image-card:hover .card-overlay {
    transform: translateY(0);
    opacity: 1;
}

.card-overlay h3 {
    font-size: 1.3rem;
    margin-bottom: 5px;
    color: #fff;
}

.card-overlay p {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.9);
    margin: 0;
}

/* =====================================
   Service Cards with Online Images
   ===================================== */
.service-card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 20px;
    transition: all 0.5s ease;
}

.service-card:hover .service-card-image {
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

/* =====================================
   Keyword Tags - Enhanced
   ===================================== */
.keyword-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-top: 20px;
}

.keyword-tags span {
    padding: 8px 18px;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.08), rgba(0, 78, 137, 0.08));
    border-radius: 50px;
    font-size: 0.85rem;
    color: var(--text-dark);
    border: 1px solid rgba(255, 107, 53, 0.15);
    transition: all 0.3s ease;
    cursor: default;
}

.keyword-tags span:hover {
    background: linear-gradient(135deg, var(--primary-color), #ff8c61);
    color: white;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 5px 15px rgba(255, 107, 53, 0.3);
}

/* =====================================
   Loading & Transition Animations
   ===================================== */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.7s cubic-bezier(0.23, 1, 0.32, 1);
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

.animate-on-scroll.slide-left {
    transform: translateX(-50px);
}

.animate-on-scroll.slide-left.animated {
    transform: translateX(0);
}

.animate-on-scroll.slide-right {
    transform: translateX(50px);
}

.animate-on-scroll.slide-right.animated {
    transform: translateX(0);
}

.animate-on-scroll.scale-up {
    transform: scale(0.8);
}

.animate-on-scroll.scale-up.animated {
    transform: scale(1);
}

/* Staggered animation delays */
.animate-on-scroll:nth-child(1) { transition-delay: 0.1s; }
.animate-on-scroll:nth-child(2) { transition-delay: 0.2s; }
.animate-on-scroll:nth-child(3) { transition-delay: 0.3s; }
.animate-on-scroll:nth-child(4) { transition-delay: 0.4s; }
.animate-on-scroll:nth-child(5) { transition-delay: 0.5s; }
.animate-on-scroll:nth-child(6) { transition-delay: 0.6s; }

/* =====================================
   Enhanced Service Areas - 3D
   ===================================== */
.service-areas {
    background: linear-gradient(180deg, #f0f4ff 0%, #f8f9ff 100%);
}

.area-column {
    padding: 30px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: all 0.4s ease;
    border-top: 4px solid transparent;
}

.area-column:nth-child(1) { border-top-color: var(--primary-color); }
.area-column:nth-child(2) { border-top-color: #ffd700; }
.area-column:nth-child(3) { border-top-color: var(--accent-color); }
.area-column:nth-child(4) { border-top-color: #28a745; }

.area-column:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.area-column h3 {
    background: linear-gradient(135deg, var(--dark-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* =====================================
   Payment Section - Enhanced
   ===================================== */
.payment-section {
    background: linear-gradient(180deg, #ffffff, #f8f9ff);
}

.payment-method {
    background: linear-gradient(135deg, #ffffff, #f8f9ff);
    border: 2px solid rgba(0, 78, 137, 0.05);
    transform-style: preserve-3d;
}

.payment-method i {
    background: linear-gradient(135deg, var(--primary-color), #ff8c61);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.payment-note {
    background: linear-gradient(135deg, #f0f4ff, #fff5f0);
    border: 1px solid rgba(255, 107, 53, 0.1);
}

/* =====================================
   Responsive 3D Adjustments
   ===================================== */
@media (max-width: 768px) {
    .service-card:hover,
    .fleet-card:hover,
    .fare-card:hover,
    .why-card:hover,
    .testimonial-card:hover {
        transform: translateY(-8px);
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .area-column {
        padding: 20px;
    }
    
    .city-hero::after {
        height: 50px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.6rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .service-card:hover,
    .fleet-card:hover {
        transform: translateY(-5px);
    }
}

/* =====================================
   Place Card Images
   ===================================== */
.place-card {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.place-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.place-card-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 16px 16px 0 0;
    transition: transform 0.5s ease;
}

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

.place-number {
    position: absolute;
    top: 12px;
    left: 12px;
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.95rem;
    z-index: 2;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.place-card h3 {
    padding: 12px 16px 4px;
    font-size: 1.1rem;
    color: var(--dark-color);
}

.place-card p {
    padding: 0 16px 16px;
    font-size: 0.9rem;
    color: #666;
    line-height: 1.5;
}

/* Destination Gallery Enhancement */
.destination-gallery {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9ff 0%, #fff5f0 50%, #f0f8ff 100%);
}

.destination-gallery .section-header h2 {
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 2.2rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin-top: 40px;
}

.destination-image-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
}

.destination-image-card:hover {
    transform: translateY(-10px) rotateX(2deg);
    box-shadow: 0 20px 50px rgba(0,0,0,0.2);
}

.destination-image-card img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: transform 0.6s ease;
}

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

.card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px 20px 20px;
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, transparent 100%);
    color: #fff;
    transform: translateY(20px);
    opacity: 0.8;
    transition: all 0.4s ease;
}

.destination-image-card:hover .card-overlay {
    transform: translateY(0);
    opacity: 1;
}

.card-overlay h3 {
    font-size: 1.4rem;
    margin-bottom: 5px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.card-overlay p {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Enhanced Places Grid */
.places-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 30px;
}

/* =====================================
   Enhanced Gradient Glow Buttons
   ===================================== */
.cta-button,
.fare-button,
.btn-call {
    position: relative;
    overflow: hidden;
}

.cta-button::after,
.fare-button::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.cta-button:hover::after,
.fare-button:hover::after {
    width: 300px;
    height: 300px;
}

/* =====================================
   Floating Action Buttons (WhatsApp & Call)
   ===================================== */
.floating-actions {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.float-btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.5rem;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(0,0,0,0.25);
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
    animation: float 3s ease-in-out infinite;
}

.float-btn:hover {
    transform: scale(1.15) translateY(-4px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.35);
}

.float-btn-whatsapp {
    background: linear-gradient(135deg, #25D366, #128C7E);
    animation-delay: 0s;
}

.float-btn-call {
    background: linear-gradient(135deg, var(--primary-color), #ff8c61);
    animation-delay: 1.5s;
}

.float-btn-whatsapp:hover {
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.5);
}

.float-btn-call:hover {
    box-shadow: 0 8px 30px rgba(255, 107, 53, 0.5);
}

/* Pulse animation on floating buttons */
.float-btn::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    animation: ripple 2s ease-out infinite;
}

.float-btn-whatsapp::after {
    border: 2px solid rgba(37, 211, 102, 0.4);
}

.float-btn-call::after {
    border: 2px solid rgba(255, 107, 53, 0.4);
}

/* =====================================
   Enhanced Scroll Progress Bar
   ===================================== */
.scroll-progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), #ffd700, var(--accent-color), var(--primary-color));
    background-size: 300% 100%;
    animation: shimmer 3s linear infinite;
    z-index: 99999;
    transition: width 0.1s linear;
    box-shadow: 0 0 10px rgba(255, 107, 53, 0.5);
}

/* =====================================
   Loading Skeleton Animation
   ===================================== */
@keyframes skeleton {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

.skeleton-loader {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: skeleton 1.5s infinite;
    border-radius: 8px;
}

/* =====================================
   Performance Optimizations
   ===================================== */
   
/* Add will-change only on hover/focus for better performance */
.service-card:hover,
.fleet-card:hover,
.fare-card:hover,
.why-card:hover,
.route-info-card:hover {
    will-change: transform;
}

/* CSS Containment for better rendering performance */
.section-header,
.service-card,
.fleet-card,
.fare-card,
.testimonial-card,
.stat-card {
    contain: layout style paint;
}

.hero,
.city-hero,
.services-section,
.fleet-section {
    contain: layout paint;
}

/* GPU acceleration hints */
.hero::after,
.city-hero::before,
.service-card,
.fleet-card,
.floating-actions {
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

/* =====================================
   Accessibility Enhancements
   ===================================== */

/* Skip to main content link */
.skip-to-main {
    position: absolute;
    top: -100px;
    left: 0;
    background: var(--primary-color);
    color: #fff;
    padding: 12px 20px;
    z-index: 100000;
    text-decoration: none;
    border-radius: 0 0 8px 0;
    font-weight: 600;
    transition: top 0.3s ease;
}

.skip-to-main:focus {
    top: 0;
    outline: 3px solid #ffd700;
    outline-offset: 2px;
}

/* Enhanced focus states for keyboard navigation */
a:focus,
button:focus,
input:focus,
select:focus,
textarea:focus {
    outline: 3px solid var(--primary-color);
    outline-offset: 2px;
    box-shadow: 0 0 0 4px rgba(255, 107, 53, 0.2);
}

.nav-link:focus,
.btn:focus,
.cta-button:focus {
    outline: 3px solid #ffd700;
    outline-offset: 4px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .hero-title,
    .section-header h2 {
        text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
    }
    
    .service-card,
    .fleet-card,
    .fare-card {
        border: 2px solid currentColor;
    }
}

/* =====================================
   Reduced Motion Support
   ===================================== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    
    .service-card:hover,
    .fleet-card:hover,
    .fare-card:hover,
    .why-card:hover {
        transform: none;
        box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    }
    
    .hero::after,
    .city-hero::before,
    .float-btn {
        animation: none;
    }
    
    .stat-number,
    .hero-title {
        animation: none;
    }
}

/* =====================================
   Mobile & Touch Optimizations
   ===================================== */

/* Larger tap targets for mobile */
@media (max-width: 768px) {
    .btn,
    .cta-button,
    .nav-link,
    .float-btn {
        min-height: 44px;
        min-width: 44px;
        padding: 12px 20px;
    }
    
    .nav-toggle {
        min-height: 44px;
        min-width: 44px;
    }
    
    /* Disable hover effects on touch devices */
    .service-card:hover,
    .fleet-card:hover {
        transform: none;
    }
    
    /* Enable tap highlighting */
    a,
    button,
    .btn {
        -webkit-tap-highlight-color: rgba(255, 107, 53, 0.2);
    }
}

/* Touch action optimization */
.service-card,
.fleet-card,
.fare-card,
.testimonial-card {
    touch-action: manipulation;
}

.hero,
.city-hero,
section {
    touch-action: pan-y pinch-zoom;
}

/* =====================================
   Dark Mode Support (Future Enhancement)
   ===================================== */
@media (prefers-color-scheme: dark) {
    :root {
        --text-color: #f0f0f0;
        --bg-color: #1a1a2e;
    }
    
    /* Invert colors for better readability in dark mode */
    .service-card,
    .fleet-card,
    .fare-card {
        background: rgba(255, 255, 255, 0.05);
        color: #f0f0f0;
    }
}

/* =====================================  
   Print Styles
   ===================================== */
@media print {
    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
        backdrop-filter: none !important;
        box-shadow: none !important;
    }
    
    .floating-actions,
    .scroll-progress-bar,
    .nav-toggle,
    .btn-whatsapp,
    .top-social,
    .hero-buttons {
        display: none !important;
    }
    
    .hero,
    .city-hero {
        background: #fff !important;
        color: #000 !important;
        page-break-after: avoid;
    }
    
    h2, h3 {
        page-break-after: avoid;
    }
    
    .service-card,
    .fleet-card {
        page-break-inside: avoid;
    }
    
    a[href]::after {
        content: " (" attr(href) ")";
        font-size: 0.8em;
        color: #666;
    }
}

/* =====================================
   Critical CSS Loading Optimization
   ===================================== */
   
/* Ensure above-the-fold content renders first */
.hero,
.nav,
.booking-form-container {
    content-visibility: auto;
}

/* Lazy render below-the-fold sections */
.testimonials-section,
.faq-section,
.footer {
    content-visibility: auto;
    contain-intrinsic-size: 0 500px;
}

/* =====================================
   Font Loading Optimization  
   ===================================== */
   
/* Ensure text remains visible during webfont load */
@font-face {
    font-family: 'Poppins';
    font-display: swap;
    /* This ensures text is visible while fonts load */
}

/* =====================================
   Image Performance Hints
   ===================================== */
img {
    /* Prevent layout shift */
    height: auto;
    max-width: 100%;
}

img[loading="lazy"] {
    /* Provide aspect ratio to prevent CLS */
    aspect-ratio: attr(width) / attr(height);
}

/* =====================================
   Smooth Scrolling (with accessibility)
   ===================================== */
html {
    scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}
