/* =========================================
   1. HERO SECTION (The First Impression)
   ========================================= */
.hero-section {
    position: relative;
    height: 600px;
    /* Or 85vh */
    background: #f1f5f9;
    overflow: hidden;
    display: flex;
    align-items: center;
}

/* Animated Blobs Background */
.hero-bg-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.blob {
    position: absolute;
    filter: blur(80px);
    opacity: 0.6;
    animation: moveBlob 10s infinite alternate;
}

.blob-1 {
    top: -10%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: #dbeafe;
    /* Light Blue */
    border-radius: 50%;
}

.blob-2 {
    bottom: -10%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: #d1fae5;
    /* Light Green */
    border-radius: 60% 40% 30% 70%;
    animation-delay: -5s;
}

@keyframes moveBlob {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(20px, 40px) scale(1.1);
    }
}

/* Content Layout */
.hero-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

/* Hero Typography */
.hero-headline {
    font-size: 3.5rem;
    line-height: 1.1;
    font-weight: 800;
    color: var(--primary-dark);
    margin-bottom: 20px;
}

.highlight-text {
    color: var(--accent);
    background: -webkit-linear-gradient(45deg, var(--primary-dark), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subheadline {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 30px;
    max-width: 90%;
}

.hero-trust-badges span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-right: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-main);
}

.hero-trust-badges i {
    color: var(--accent);
}

/* =========================================
   2. BOOKING WIDGET (The Commercial Engine)
   ========================================= */
.booking-widget-card {
    background: var(--white);
    padding: 30px;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.trip-tabs {
    display: flex;
    background: var(--bg-light);
    padding: 4px;
    border-radius: 12px;
    margin-bottom: 20px;
}

.tab-radio {
    flex: 1;
    cursor: pointer;
}

.tab-radio input {
    display: none;
}

.tab-label {
    display: block;
    text-align: center;
    padding: 10px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-light);
    transition: 0.3s;
}

/* Active Tab Logic */
.tab-radio input:checked+.tab-label {
    background: var(--white);
    color: var(--primary-dark);
    font-weight: 700;
    box-shadow: var(--shadow-sm);
}

.form-inputs {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 20px;
}

.input-group {
    position: relative;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    background: var(--white);
    transition: 0.3s;
}

.input-group:focus-within {
    border-color: var(--primary-dark);
    box-shadow: 0 0 0 3px rgba(15, 23, 42, 0.1);
}

.input-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-light);
}

.input-group input {
    width: 100%;
    padding: 15px 15px 15px 45px;
    /* Space for icon */
    border: none;
    background: transparent;
    font-size: 1rem;
    outline: none;
    color: var(--primary-dark);
    font-weight: 500;
}

.hero-submit-btn {
    width: 100%;
    padding: 15px;
    background: var(--primary-dark);
    color: var(--white);
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: 0.3s;
}

.hero-submit-btn:hover {
    background: var(--accent);
    box-shadow: var(--shadow-glow);
}

/* =========================================
   3. TRUST SECTION (Icons)
   ========================================= */
.trust-section {
    padding: 40px 0;
    background: var(--white);
    border-bottom: 1px solid #f1f5f9;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    border-radius: 10px;
    transition: 0.3s;
}

.trust-item:hover {
    background: var(--bg-light);
}

.trust-item i {
    font-size: 1.5rem;
}

.trust-item span {
    font-weight: 600;
    color: var(--text-main);
}

/* Color utilities referenced in HTML */
.text-yellow {
    color: #F59E0B;
}

.text-blue {
    color: #3B82F6;
}

.text-purple {
    color: #8B5CF6;
}

.text-green {
    color: #10B981;
}

/* =========================================
   4. ROUTES SECTION (Cards)
   ========================================= */
.section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.2rem;
    color: var(--primary-dark);
    font-weight: 700;
    margin-bottom: 10px;
}

.section-header p {
    color: var(--text-light);
    font-size: 1.1rem;
}

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

.center-btn {
    text-align: center;
}

/* Skeleton Loading Animation */
.skeleton-card {
    height: 150px;
    background: #e2e8f0;
    border-radius: 12px;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% {
        opacity: 0.6;
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0.6;
    }
}

/* =========================================
   5. CTA SECTION
   ========================================= */
/* Premium Gradient with CSS-only Mesh Overlay */
.cta-section {
    position: relative;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    padding: 100px 0;
    overflow: hidden;
    color: var(--white);
}

.cta-section::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 30px 30px; /* Subtle Mesh Pattern */
    pointer-events: none;
}

.safety-badge-mini {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid var(--accent);
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
/* Layout Utilities for CTA Section */
.text-center { text-align: center; }
.text-white { color: var(--white); }
.text-gray-300 { color: #d1d5db; }
.mx-auto { margin-left: auto; margin-right: auto; }
.mb-4 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2.5rem; }
.max-w-2xl { max-width: 42rem; }

.flex { display: flex; }
.flex-wrap { flex-wrap: wrap; }
.justify-center { justify-content: center; }
.gap-4 { gap: 1rem; }

/* Enhanced Button for Dark Background */
.btn-outline-white {
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--white);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-outline-white:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--white);
}

/* Force CTA Buttons into a single row on most mobile devices */
.cta-button-container {
    display: flex;
    flex-wrap: nowrap; /* Prevents stacking */
    justify-content: center;
    gap: 12px;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
}

.cta-button-container .btn-primary, 
.cta-button-container .btn-outline-white {
    flex: 1; /* Makes both buttons equal width */
    white-space: nowrap; /* Prevents text from breaking into two lines */
    padding: 12px 10px; /* Reduced side padding to fit small screens */
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 140px;
}

/* Specific fix for the WhatsApp Icon spacing */
.cta-button-container i {
    margin-right: 6px;
}

@media (max-width: 360px) {
    .cta-button-container {
        flex-direction: column; /* Only stack on extremely small old phones */
    }
}

.cta-card {
    background: linear-gradient(135deg, var(--primary-dark), #334155);
    border-radius: 20px;
    padding: 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
    color: var(--white);
    box-shadow: var(--shadow-lg);
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.cta-content p {
    margin-bottom: 30px;
    opacity: 0.9;
}

/* =========================================
   6. RESPONSIVE HERO
   ========================================= */
@media (max-width: 768px) {
    .hero-section {
        height: auto;
        padding: 100px 0 50px;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-headline {
        font-size: 2.5rem;
    }

    .trust-grid {
        grid-template-columns: 1fr 1fr;
    }

    /* 2x2 grid on mobile */
    .cta-card {
        padding: 40px 20px;
    }

    .cta-content h2 {
        font-size: 1.8rem;
    }
}

/* =========================================
   NEW SECTIONS (Fleet, Services, Why Us)
   ========================================= */

/* --- Fleet Section --- */
.fleet-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 20px;
}

.fleet-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: 0.3s;
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    display: flex;
    flex-direction: column;
}

.fleet-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.fleet-tag {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--primary-dark);
    color: #fff;
    padding: 5px 12px;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 50px;
    z-index: 2;
}

.premium-tag {
    background: linear-gradient(45deg, #10B981, #059669);
}

.fleet-img-box {
    height: 180px;
    background: #F1F5F9;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    /* Needed for absolute positioning of the image */
    overflow: hidden;
}

/* The Placeholder Icon */
.fleet-icon {
    font-size: 4rem;
    color: #CBD5E1;
    transition: opacity 0.4s ease;
}

/* The Actual Image */
.fleet-img {
    width: 100%;
    height: auto;
    display: block; /* Make sure it's not display: none */
    opacity: 1 !important; /* Force visibility to see if it's a transparency issue */
    position: relative;
    z-index: 2;
}

/* Hide the icon ONLY when the image is present and loaded */
.fleet-card.loaded .fleet-icon {
    display: none;
}
/* Hide the icon once the image is ready */
.fleet-card.loaded .fleet-icon {
    display: none;
}

/* State: When the image is fully loaded */
.fleet-img-box.is-loaded .fleet-img {
    opacity: 1;
}

.fleet-img-box.is-loaded .fleet-icon {
    opacity: 0;
}

.fleet-details {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.fleet-details h3 {
    font-size: 1.25rem;
    margin-bottom: 5px;
}

.fleet-model {
    color: #64748B;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.fleet-features {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    color: #475569;
    font-size: 0.85rem;
}

.fleet-features li {
    display: flex;
    align-items: center;
    gap: 6px;
}

.fleet-price {
    margin-top: auto;
    /* Push to bottom */
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #F1F5F9;
    padding-top: 15px;
}

.price-label {
    font-size: 0.9rem;
    color: #64748B;
}

.price-amount {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-dark);
}

.price-amount small {
    font-size: 0.9rem;
    font-weight: 500;
}

/* --- Services Section --- */
.bg-white {
    background: #fff;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.service-card {
    padding: 30px 20px;
    border-radius: 16px;
    background: var(--bg-body);
    text-align: center;
    transition: 0.3s;
}

.service-card:hover {
    background: #fff;
    box-shadow: var(--shadow-md);
}

.icon-circle {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.bg-blue-light {
    background: #DBEAFE;
}

.bg-green-light {
    background: #D1FAE5;
}

.bg-purple-light {
    background: #EDE9FE;
}

.bg-gold-light {
    background: #FEF3C7;
}

.text-gold {
    color: #D97706;
}

.service-card h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.service-card p {
    font-size: 0.9rem;
    color: #64748B;
}

/* --- Why Us Section --- */
.why-us-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
}

.lead-text {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 15px;
}

.check-list {
    margin: 25px 0;
}

.check-list li {
    display: flex;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 0.95rem;
}

.check-list i {
    color: var(--accent);
    margin-top: 4px;
}

.blob-image-placeholder {
    height: 300px;
    width: 100%;
    background: linear-gradient(135deg, #E2E8F0, #CBD5E1);
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    color: #fff;
}

@media (min-width: 992px) {
    .why-us-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* Creative FAQ Hub */
.faq-hub { background: var(--bg-light); position: relative; }

.flex-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: start;
}

.display-main {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.1;
    color: var(--primary-dark);
}

.faq-card {
    background: var(--white);
    border-radius: 12px;
    margin-bottom: 16px;
    border: 1px solid rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    overflow: hidden;
}

.faq-card:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--accent);
}

.faq-trigger {
    width: 100%;
    padding: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: none;
    border: none;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--primary-dark);
    text-align: left;
    cursor: pointer;
}

.faq-response {
    max-height: 0;
    overflow: hidden;
    padding: 0 24px;
    transition: all 0.3s ease;
    color: var(--text-light);
    line-height: 1.6;
}

.faq-card.active .faq-response {
    padding-bottom: 24px;
    max-height: 200px;
}

.faq-card.active i {
    transform: rotate(45deg);
    color: var(--accent);
}

@media (max-width: 992px) {
    .flex-grid { grid-template-columns: 1fr; gap: 40px; }
}

/* Compact Hero Redesign */
.hero-section.compact-hero {
    height: auto;
    min-height: 500px; /* Reduced from 600px */
    padding: 100px 0 60px 0;
    text-align: center;
}

.hero-center-content {
    display: flex;
    flex-direction: column;
    align-items: center;    /* Horizontal Center for Flex Children */
    justify-content: center;
    text-align: center;       /* Horizontal Center for Text */
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    z-index: 5;
}
.hero-header-minimal {
    display: flex;
    flex-direction: column;
    align-items: center; /* Ensures the Trust Pill is centered above text */
    margin-bottom: 35px;
}

.hero-headline-tight {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 900;
    line-height: 1.1;
    color: var(--primary-dark);
    margin: 15px 0;
    text-align: center; /* Explicitly centered */
}

.hero-subline-tight {
    font-size: 1.2rem;
    color: var(--text-light);
    max-width: 650px; /* Prevents text from stretching too wide */
    margin: 0 auto 30px auto; /* Centers the block itself */
    line-height: 1.6;
}

.booking-pill-container {
    width: 100%;
    max-width: 850px;
    margin: 0 auto; /* Essential for symmetry */
}

.hero-booking-minimal {
    display: flex;
    justify-content: center; /* Centers items inside the pill */
    background: #fff;
    padding: 8px 12px;
    border-radius: 100px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
}

/* Mobile Alignment Fix */
@media (max-width: 768px) {
    .hero-booking-minimal {
        border-radius: 24px;
        flex-direction: column;
        padding: 20px;
    }
    .hero-center-content {
        padding: 0 20px;
    }
}
/* Fix for the Get Estimate Button inside the Pill */
.btn-shAction {
    justify-content: center; /* Ensures text and icon inside button are centered */
    min-width: 160px;
}

.trust-pill-wrapper { margin-bottom: 15px; }
.trust-pill {
    background: rgba(16, 185, 129, 0.1);
    color: var(--accent);
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hero-headline-tight {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 900;
    line-height: 1.1;
    color: var(--primary-dark);
    margin-bottom: 10px;
}

.hero-subline-tight {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 600px;
    margin-bottom: 30px;
}

.booking-pill-container {
    width: 100%;
    max-width: 800px;
}

.hero-booking-minimal {
    background: #fff;
    padding: 10px;
    border-radius: 100px; /* Perfect pill */
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0,0,0,0.05);
}

.mini-badges {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-main);
    opacity: 0.8;
}

/* Mobile Responsiveness for Pill */
@media (max-width: 768px) {
    .hero-booking-minimal { border-radius: 20px; }
    .minimal-input-container { flex-direction: column; gap: 10px; }
    .action-group { width: 100%; }
    .hero-section.compact-hero { padding: 80px 20px; }
}

.hero-booking-minimal {
    max-width: 600px;
    margin: 20px 0;
    background: #fff;
    padding: 8px;
    border-radius: 50px; /* Pill Shape */
    box-shadow: 0 15px 35px rgba(15, 23, 42, 0.15);
    border: 1px solid rgba(0,0,0,0.05);
}

.minimal-input-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.search-input-group {
    flex: 1;
    display: flex;
    align-items: center;
    padding-left: 20px;
}

.search-input-group input {
    border: none;
    width: 100%;
    padding: 12px;
    font-size: 1rem;
    outline: none;
}

.action-group {
    display: flex;
    align-items: center;
    gap: 8px;
}

.date-minimal {
    display: flex;
    align-items: center;
    background: var(--bg-light);
    padding: 8px 15px;
    border-radius: 30px;
    font-size: 0.85rem;
}

.date-minimal input {
    border: none;
    background: transparent;
    font-size: 0.85rem;
    color: var(--primary-dark);
    outline: none;
}

.btn-shAction {
    background: var(--accent);
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 40px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-shAction:hover {
    background: var(--accent-hover);
    transform: scale(1.02);
}

.minimal-trust {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 15px;
    font-size: 0.7rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Mobile Fix */
@media (max-width: 768px) {
    .hero-booking-minimal { border-radius: 20px; padding: 15px; }
    .minimal-input-container { flex-direction: column; }
    .action-group { width: 100%; justify-content: space-between; }
    .search-input-group { padding: 0; width: 100%; }
}

.hero-section.compact-hero {
    padding: 120px 20px 80px; /* More breathing room for the header */
}

/* Ensure the pill input doesn't zoom on mobile */
.search-input-group input {
    font-size: 16px !important; 
}

/* --- PREMIUM TRUST PILL: CREATIVE REBUILD --- */
.trust-pill-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 25px;
    perspective: 1000px;
}

.shimmer-pill {
    position: relative;
    background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
    padding: 8px 20px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    overflow: hidden;
    border: 1px solid rgba(16, 185, 129, 0.4);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2), 0 0 10px rgba(16, 185, 129, 0.2);
    transition: transform 0.3s ease;
}

.shimmer-pill:hover {
    transform: translateY(-2px) scale(1.05);
}

.pill-badge {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.pill-badge i:first-child {
    color: #FBBF24; /* Golden Certificate Icon */
    font-size: 1rem;
}

.pill-verify-icon {
    color: var(--accent);
    font-size: 0.9rem;
    display: flex;
    animation: pulseVerify 2s infinite;
}

/* The Shimmering Light Effect */
.shimmer-effect {
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        to right,
        transparent,
        rgba(255, 255, 255, 0.1),
        rgba(255, 255, 255, 0.4),
        rgba(255, 255, 255, 0.1),
        transparent
    );
    transform: skewX(-20deg);
    animation: shimmer 4s infinite;
    z-index: 1;
}

/* Animations */
@keyframes shimmer {
    0% { left: -100%; }
    30% { left: 150%; }
    100% { left: 150%; }
}

@keyframes pulseVerify {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.2); opacity: 0.7; }
}