@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;700&display=swap');

:root {
    --primary-color: #4834d4;
    /* Deep Royal Blue */
    --secondary-color: #130f40;
    /* Midnight Navy */
    --accent-color: #f0932b;
    /* Vibrant Amber */
    --text-color: #2d3436;
    --light-bg: #f5f6fa;
    --white: #ffffff;
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    --header-bg: linear-gradient(135deg, #130f40 0%, #000000 100%);
    --shadow: 0 15px 35px rgba(19, 15, 64, 0.1);
}

html {
    overflow-x: hidden;
    scroll-behavior: smooth;
    height: 100%;
}

body {
    width: 100%;
    margin: 0;
    padding: 0;
    /* Do NOT use overflow-x: hidden here — WebKit treats it as a scroll
       container and breaks position:fixed for children (e.g. bottom nav). */
    overflow-x: visible;
    /* static avoids iOS/WebKit using body as fixed-position containing block */
    position: static;
    min-height: 100%;
    scroll-behavior: smooth;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
}

/* Persistent Sticky/Fixed Header */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 8%; /* Slightly increased top/bottom padding */
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    position: fixed !important;
    /* Force fixed position for persistent visibility */
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 2000;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid rgba(247, 183, 49, 0.1);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
    flex: 1;
    /* Take up available space */
    justify-content: center;
    /* Center the links */
}

.nav-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex: 0 0 auto;
    /* Don't grow */
}

.menu-toggle {
    display: none;
    width: 35px;
    height: 25px;
    cursor: pointer;
    position: relative;
    z-index: 2001;
    margin-left: 20px;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 3px;
    background: #f7b731;
    /* Use Primary Yellow for visibility */
    border-radius: 10px;
    position: absolute;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.menu-toggle span:nth-child(1) {
    top: 0;
}

.menu-toggle span:nth-child(2) {
    top: 50%;
    transform: translateY(-50%);
}

.menu-toggle span:nth-child(3) {
    bottom: 0;
}

.menu-toggle.active span:nth-child(1) {
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    bottom: 50%;
    transform: translateY(50%) rotate(-45deg);
}

.logo-link {
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 12px; /* Spacing between image and text */
}

.logo-text {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--secondary-color);
    letter-spacing: -0.5px;
}

.logo-text span {
    color: var(--primary-color);
}

.brand-logo {
    height: 70px; /* Slightly increased size for the nav bar */
    width: auto;
    display: block;
    transition: transform 0.3s ease;
}

.brand-logo:hover {
    transform: scale(1.03); /* Subtle interaction */
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    text-decoration: none;
    color: var(--secondary-color);
    font-weight: 600;
    font-size: 1.1rem;
    /* Slightly increased */
    transition: var(--transition);
    position: relative;
    /* For the active dot/line */
}

.nav-links a.active {
    color: var(--primary-color);
}

.nav-links a:hover {
    color: var(--primary-color);
}

/* Mobile bottom navigation (hidden on desktop) */
.mobile-bottom-nav {
    display: none;
}

/* Full-screen tap target to close hamburger menu (mobile only) */
.mobile-nav-overlay {
    display: none;
}

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../img/hero.png');
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--white);
    padding: 0 20px;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    animation: fadeInUp 1s ease;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    animation: fadeInUp 1.2s ease;
}

.cta-btns {
    display: flex;
    gap: 20px;
    animation: fadeInUp 1.4s ease;
}

.btn {
    display: inline-flex;
    /* Changed back to inline-flex to fix auto-sizing */
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    white-space: nowrap;
    /* Prevent text wrapping like "Book \n Now" */
    box-sizing: border-box;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(72, 52, 212, 0.3);
}

.btn-secondary {
    background: transparent;
    border: 2px solid var(--white);
    color: var(--white);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--secondary-color);
}

/* Sections */
section {
    padding: 100px 10%;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--secondary-color);
}

.section-title p {
    color: #636e72;
}

/* Services / Fleet Section */
.services-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background: var(--white);
    border-radius: 24px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.06);
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.12);
}

.service-img-wrapper {
    width: 100%;
    height: 250px;
    background: #e9ecef;
    /* Matching the greyish tone of the car photos */
    position: relative;
    overflow: hidden;
}

.service-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* This will make it look like a professional crop */
    transition: var(--transition);
}

.service-card:hover img {
    transform: scale(1.05);
}

.service-content {
    padding: 30px;
    text-align: left;
    /* Modern catalog style often uses left-align */
}

.service-card h3 {
    font-size: 1.6rem;
    margin-bottom: 10px;
    color: var(--secondary-color);
}

.service-card p {
    color: #636e72;
    margin-bottom: 20px;
    font-size: 0.95rem;
    line-height: 1.5;
}

.fleet-features {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 25px;
}

.fleet-features span {
    background: #f1f2f6;
    color: var(--secondary-color);
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
}

.fleet-features span i {
    color: var(--primary-color);
}

.service-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.service-footer .price-hint {
    font-size: 0.9rem;
    color: #636e72;
}

.service-footer .price-hint strong {
    color: var(--secondary-color);
    font-size: 1.2rem;
}

/* Pricing Section Redesign */
.pricing-section {
    background: #fdfdfd;
    padding-bottom: 150px;
}

.pricing-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 50px;
}

.pricing-toggle {
    background: #f1f2f6;
    padding: 8px;
    border-radius: 100px;
    display: flex;
    gap: 5px;
    box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.05);
}

.toggle-btn {
    padding: 12px 30px;
    border-radius: 100px;
    border: none;
    background: transparent;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
    color: #636e72;
}

.toggle-btn.active {
    background: var(--white);
    color: var(--secondary-color);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1400px;
    /* Wider container for 3 cards */
    margin: 0 auto;
}

.premium-price-card {
    background: var(--white);
    border-radius: 40px;
    padding: 40px;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.03);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    z-index: 1;
}

.card-accent {
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    opacity: 0.1;
    z-index: -1;
    /* Send to back */
}

.sedan-accent {
    background: var(--primary-color);
}

.suv-accent {
    background: var(--accent-color);
}

.price-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
}

.car-meta h3 {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--secondary-color);
    margin: 5px 0;
}

.car-meta p {
    color: #b2bec3;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 0.8rem;
    margin-bottom: 5px;
}

.price-tag {
    text-align: right;
}

.price-tag .amount {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--secondary-color);
    line-height: 1;
}

.price-tag .unit {
    display: block;
    color: #636e72;
    font-size: 0.9rem;
    font-weight: 500;
}

.price-car-image {
    width: 100%;
    height: 180px;
    /* Reduced height to fit car aspect ratio better */
    margin: 15px 0 25px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #f1f2f6;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.price-car-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Fill the frame professionally */
    filter: brightness(0.95);
    /* Slight dim to feel more premium */
}

.price-details {
    margin-bottom: 30px;
    z-index: 2;
}

.detail-row {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 12px;
    font-size: 1.05rem;
    color: #2d3436;
}

.detail-row i {
    width: 20px;
    color: var(--primary-color);
    text-align: left;
    font-size: 1rem;
}

.popular-badge {
    position: absolute;
    top: 0;
    left: 40px;
    background: var(--accent-color);
    color: white;
    padding: 10px 20px;
    border-radius: 0 0 15px 15px;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    box-shadow: 0 10px 20px rgba(240, 147, 43, 0.2);
    z-index: 10;
}

.premium-price-card.featured {
    border: 2px solid var(--accent-color);
    padding-top: 60px;
    /* Make room for the hanging tag */
}

.premium-price-card .btn {
    width: 100%;
    /* Force full width ONLY in pricing cards */
    margin-top: auto;
    padding: 20px;
    border-radius: 25px;
    font-size: 1.1rem;
    font-weight: 700;
    white-space: nowrap;
}

/* Features */
.features-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.feature-box {
    text-align: center;
    padding: 30px;
}

.feature-box i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

/* Booking Form */
.booking-section {
    background: var(--white);
}

.booking-form {
    max-width: 800px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 8px;
    font-weight: 600;
}

.form-group input,
.form-group select {
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
}

.booking-form .btn {
    grid-column: span 2;
    margin-top: 20px;
    padding: 18px;
    font-size: 1.1rem;
}

/* Attractive Footer */
footer {
    background-color: #0f172a;
    background: #0f172a;
    /* Premium Midnight Slate */
    color: #ffffff;
    padding: 100px 10% 40px;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(to right, var(--primary-color), var(--accent-color));
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 50px;
    margin-bottom: 60px;
}

.footer-logo {
    height: 70px;
    width: auto;
    display: block;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.2));
    border-radius: 5px;
    background: #fff;
    padding: 5px;
}

.footer-logo-link {
    margin-bottom: 25px; /* Replaces the margin previous on the raw image */
}

.footer-brand .logo-text {
    color: var(--white);
    font-size: 1.8rem;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 30px;
    max-width: 300px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    text-decoration: none;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-5px);
}

.footer-links h4 {
    font-size: 1.2rem;
    margin-bottom: 25px;
    position: relative;
    color: #ffffff;
}

.footer-links h4::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--primary-color);
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links ul a {
    color: white;
    opacity: 0.6;
    text-decoration: none;
    transition: var(--transition);
}

.footer-links ul a:hover {
    opacity: 1;
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-contact h4 {
    font-size: 1.2rem;
    margin-bottom: 25px;
    color: #ffffff;
}

.footer-contact p {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.88);
    opacity: 1;
}

.footer-contact i {
    color: var(--accent-color);
    flex-shrink: 0;
    margin-top: 2px;
}

.footer-bottom {
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.9rem;
}

/* Floating Buttons Alignment */
.floating-btns {
    bottom: 40px;
    right: 40px;
}

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

@media (max-width: 576px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .cta-btns {
        flex-direction: row;
        /* Keep row for hero buttons */
        gap: 15px;
    }

    .cta-btns .btn {
        width: auto;
        /* Reset to auto for side-by-side hero buttons */
        flex: 1;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}

/* Custom Pulsating WhatsApp (Bottom Left) */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    /* Kept WA Green for brand consistency */
    color: #fff;
    border-radius: 50px;
    text-align: center;
    font-size: 35px;
    box-shadow: 0 10px 20px rgba(37, 211, 102, 0.3);
    z-index: 2005;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    color: #fff;
}

.whatsapp-pulse {
    position: absolute;
    width: 100%;
    height: 100%;
    background: #25d366;
    opacity: 0.6;
    border-radius: 50%;
    z-index: -1;
    animation: pulse-wa 2s infinite;
}

@keyframes pulse-wa {
    0% {
        transform: scale(1);
        opacity: 0.6;
    }

    100% {
        transform: scale(1.8);
        opacity: 0;
    }
}

/* Floating Call Now (Bottom Right) */
.call-float {
    position: fixed;
    right: 20px;
    bottom: 20px;
    background: var(--accent-color);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 10px 25px rgba(240, 147, 43, 0.4);
    z-index: 2005;
    transition: all 0.3s ease;
}

.call-float:hover {
    transform: scale(1.1);
    background: #ffbe76;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Comprehensive Responsiveness */
@media (max-width: 1200px) {
    section {
        padding: 80px 5%;
    }

    .hero h1 {
        font-size: 3rem;
    }
}

@media (max-width: 992px) {
    .menu-toggle {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    .call-nav-btn {
        display: none !important;
    }

    .whatsapp-float {
        bottom: 20px;
        left: 20px;
        width: 50px;
        height: 50px;
        font-size: 28px;
    }

    .call-float {
        bottom: 30px;
        /* Lifted up to avoid button overlap */
        right: 15px;
        width: 50px;
        height: 50px;
    }

    .whatsapp-float {
        bottom: 30px;
        left: 15px;
    }

    .call-float i {
        font-size: 1.4rem;
    }

    .mobile-nav-overlay {
        display: block;
        position: fixed;
        inset: 0;
        background: rgba(15, 23, 42, 0.5);
        z-index: 1970;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: opacity 0.3s ease, visibility 0.3s ease;
    }

    .mobile-nav-overlay.is-open {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .nav-links {
        position: fixed;
        top: 0;
        left: 0;
        width: 80%;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transform: translateX(-100%);
        transition: transform 0.5s cubic-bezier(0.77, 0.2, 0.05, 1);
        box-shadow: 10px 0 30px rgba(0, 0, 0, 0.1);
        /* Above overlay (1970) and bottom tab bar (~1010), below top nav (2000) */
        z-index: 1990;
    }

    .nav-links.active {
        transform: translateX(0);
    }

    .nav-links li {
        margin: 20px 0;
    }

    .nav-links a {
        font-size: 1.2rem;
    }

    .section-title h2 {
        font-size: 2rem;
    }

    .booking-form {
        grid-template-columns: 1fr;
        /* Force single column on tablet */
        gap: 15px;
    }

    .booking-form .btn {
        grid-column: span 1;
        /* Reset span for single column */
    }

    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .services-container {
        grid-template-columns: 1fr;
    }

    .service-card {
        padding: 20px;
    }

    .call-nav-btn {
        padding: 8px 15px;
        font-size: 0.9rem;
    }

    .footer-grid {
        gap: 30px;
    }

    .brand-logo {
        filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.12));
    }
}

@media (max-width: 992px) {
    body {
        /* Space so last page content clears the fixed tab bar */
        padding-bottom: calc(72px + constant(safe-area-inset-bottom));
        padding-bottom: calc(72px + env(safe-area-inset-bottom));
    }

    footer {
        /* Keep footer text above the tab bar when scrolled to the end */
        padding-bottom: calc(100px + constant(safe-area-inset-bottom));
        padding-bottom: calc(100px + env(safe-area-inset-bottom));
    }

    .mobile-bottom-nav {
        display: flex;
        position: fixed !important;
        top: auto !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        width: 100% !important;
        max-width: 100%;
        box-sizing: border-box;
        margin: 0 !important;
        /* Must stay below .nav-links (1990) and top nav (2000) so the menu is not covered */
        z-index: 1010;
        justify-content: space-around;
        align-items: center;
        min-height: 56px;
        /* Solid bar — translucent + backdrop caused unreadable mix with footer text */
        background: #ffffff;
        border-top: 1px solid #e2e8f0;
        box-shadow: 0 -4px 24px rgba(15, 23, 42, 0.12);
        padding: 8px 4px;
        padding-bottom: calc(8px + constant(safe-area-inset-bottom));
        padding-bottom: calc(8px + env(safe-area-inset-bottom));
        gap: 0;
    }

    .mobile-bottom-nav .mnav-item {
        flex: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 3px;
        text-decoration: none;
        color: var(--text-color);
        font-size: 0.62rem;
        font-weight: 600;
        padding: 6px 2px;
        min-width: 0;
        border-radius: 10px;
        transition: color 0.2s ease, background 0.2s ease;
        -webkit-tap-highlight-color: transparent;
    }

    .mobile-bottom-nav .mnav-item i {
        font-size: 1.2rem;
        color: var(--secondary-color);
        transition: color 0.2s ease;
    }

    .mobile-bottom-nav .mnav-item.active {
        color: var(--primary-color);
    }

    .mobile-bottom-nav .mnav-item.active i {
        color: var(--primary-color);
    }

    .mobile-bottom-nav .mnav-item:active {
        background: rgba(72, 52, 212, 0.1);
    }

    .whatsapp-float {
        bottom: calc(84px + constant(safe-area-inset-bottom));
        bottom: calc(84px + env(safe-area-inset-bottom));
        left: 14px;
    }

    .wa-chat-popup {
        bottom: calc(108px + constant(safe-area-inset-bottom));
        bottom: calc(108px + env(safe-area-inset-bottom));
    }

    /* When slide menu is open, avoid fighting the drawer / overlay */
    body.menu-open {
        overflow: hidden;
    }

    body.menu-open .mobile-bottom-nav {
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
    }

    body.menu-open .whatsapp-float,
    body.menu-open .back-to-top {
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
    }

    .map-container iframe {
        min-height: 260px;
        height: 280px;
    }
}

@media (max-width: 480px) {
    section {
        padding: 40px 15px;
        width: 100%;
        box-sizing: border-box;
    }

    .pricing-grid {
        display: block;
        /* Switch from grid to block for simpler 100% width control */
        width: 100%;
        margin: 0;
    }

    .hero h1 {
        font-size: 1.8rem;
    }

    .about-content h2 {
        font-size: 1.8rem !important;
    }

    .section-title h2 {
        font-size: 1.7rem !important;
    }

    .excel-text h2 {
        font-size: 1.7rem !important;
    }

    .page-header h1 {
        font-size: 1.8rem !important;
    }

    .cta-inner h2 {
        font-size: 1.7rem !important;
    }

    .bottom-cta h2 {
        font-size: 1.7rem !important;
    }

    .premium-price-card {
        width: 100%;
        margin: 0 0 20px 0;
        /* Vertical spacing only */
        padding: 30px 20px;
        box-sizing: border-box;
        border-radius: 30px;
    }

    .pricing-tabs {
        width: 100%;
        display: flex;
        justify-content: center;
        margin-bottom: 30px;
        padding: 0;
    }

    .pricing-toggle {
        width: 100% !important;
        max-width: 320px;
        margin: 0 auto;
        display: flex;
    }

    .toggle-btn {
        flex: 1;
        text-align: center;
        padding: 12px 5px;
        font-size: 0.9rem;
    }

    .price-tag {
        text-align: left !important;
    }

    .price-tag .amount {
        font-size: 2rem;
    }

    .price-car-image {
        height: 150px;
        margin-bottom: 20px;
    }

    .car-meta h3 {
        font-size: 1.5rem;
    }
}

/* About & Inner Page Styles */
.page-header {
    height: 40vh;
    background: var(--header-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    margin-top: 80px;
    position: relative;
}

/* Unified Page Banners using dark gradients and the core hero image */
.about-bg, .services-bg, .pricing-bg, .contact-bg, .booking-bg {
    background: linear-gradient(rgba(15, 23, 42, 0.85), rgba(15, 23, 42, 0.85)), url('../img/hero.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.header-overlay h1 {
    font-size: 3rem;
    margin-bottom: 15px;
}

.header-overlay p a {
    color: var(--primary-color);
    text-decoration: none;
}

.about-story {
    padding: 100px 10%;
}

.about-container {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-content {
    flex: 1;
}

.about-content h2 {
    font-size: 2.8rem;
    margin: 20px 0;
    color: var(--secondary-color);
    line-height: 1.2;
}

.about-content h2 span {
    color: var(--primary-color);
}

.about-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #4a4b4c;
    text-align: justify;
    text-justify: inter-word;
    /* Perfectly clean edges */
    margin-bottom: 20px;
}

.tag {
    background: rgba(72, 52, 212, 0.1);
    color: var(--primary-color);
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: 800;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-block;
    box-shadow: 0 4px 15px rgba(72, 52, 212, 0.15);
}

.about-stats {
    display: flex;
    gap: 40px;
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid #eee;
}

.stat-item {
    text-align: left;
}

.stat-item h3 {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 5px;
    display: block;
}

.stat-item p {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 0;
}

.stat-item h3 {
    font-size: 2rem;
    color: var(--primary-color);
}

.about-image {
    flex: 1;
}

.image-stack {
    position: relative;
}

.img-top {
    width: 100%;
    border-radius: 30px;
    box-shadow: var(--shadow);
}

.exp-badge {
    position: absolute;
    bottom: -20px;
    left: -20px;
    background: var(--primary-color);
    color: white;
    padding: 20px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 10px 10px 30px rgba(72, 52, 212, 0.3);
}

.exp-badge span {
    font-size: 2rem;
    font-weight: 800;
    line-height: 1;
}

.why-choose-us {
    background: #f9f9f9;
    padding: 100px 10%;
}

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

.feature-card {
    background: white;
    padding: 40px 30px;
    border-radius: 30px;
    text-align: center;
    transition: var(--transition);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.icon-circle {
    width: 70px;
    height: 70px;
    background: rgba(72, 52, 212, 0.05);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin: 0 auto 20px;
}

.about-cta {
    padding: 100px 10%;
    background: var(--primary-color);
    color: white;
    text-align: center;
}

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

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

.about-cta .btn-primary {
    background: white;
    color: var(--primary-color);
    border: none;
}

.about-cta .btn-primary:hover {
    background: #f1f2f6;
    transform: scale(1.05);
}

@media (max-width: 992px) {
    .about-container {
        flex-direction: column;
        text-align: center;
    }

    .about-stats {
        justify-content: center;
    }

    .exp-badge {
        position: static;
        margin-top: 20px;
        display: inline-block;
    }
}

/* Services Page Styles */
.services-detailed {
    padding: 80px 10%;
}

.service-row {
    display: flex;
    align-items: center;
    gap: 80px;
    margin-bottom: 120px;
}

.service-row.reverse {
    flex-direction: row-reverse;
}

.service-image {
    flex: 1;
    position: relative;
}

.service-image img {
    width: 100%;
    border-radius: 40px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.service-row:hover .service-image img {
    transform: scale(1.02);
}

.service-text {
    flex: 1;
}

.service-tag {
    color: var(--primary-color);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    margin-bottom: 15px;
    display: block;
}

.service-text h2 {
    font-size: 2.8rem;
    margin-bottom: 25px;
    color: var(--secondary-color);
}

.service-text h2 span {
    color: var(--primary-color);
}

.service-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 30px;
    color: #636e72;
}

.service-bullets {
    list-style: none;
    padding: 0;
    margin-bottom: 40px;
}

.service-bullets li {
    font-size: 1.05rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--secondary-color);
    font-weight: 600;
}

.service-bullets li i {
    color: var(--primary-color);
    background: rgba(72, 52, 212, 0.1);
    width: 25px;
    height: 25px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
}

.global-cta {
    padding: 100px 10%;
    background: var(--header-bg);
    color: white;
    text-align: center;
}

.cta-inner {
    max-width: 800px;
    margin: 0 auto;
}

.cta-inner h2 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.cta-inner p {
    font-size: 1.2rem;
    margin-bottom: 50px;
    opacity: 0.8;
}

.cta-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.cta-actions .btn {
    width: auto;
}

@media (max-width: 576px) {
    .cta-actions {
        flex-direction: column;
        align-items: center;
    }

    .cta-actions .btn {
        width: 100%;
        max-width: 280px;
        text-align: center;
        justify-content: center;
    }
}

@media (max-width: 992px) {
    .service-row {
        flex-direction: column !important;
        gap: 40px;
        text-align: center;
        margin-bottom: 80px;
    }

    .service-bullets {
        display: inline-block;
        text-align: left;
        margin: 0 auto 30px auto;
    }

    .service-bullets li {
        justify-content: flex-start;
    }

    .service-text h2 {
        font-size: 1.7rem !important;
        margin-bottom: 20px;
    }

    .service-text p {
        text-align: justify;
        text-justify: inter-word;
        font-size: 1rem;
        margin-bottom: 25px;
    }

    .service-row .btn {
        width: auto !important;
        min-width: 200px;
        margin: 0 auto;
    }
}

/* Pricing Page Styles */
.pricing-page-content {
    padding: 100px 10%;
    background: #fff;
}

.pricing-container {
    max-width: 1100px;
    margin: 0 auto;
}

.pricing-terms {
    padding: 100px 10%;
    background: #f8f9fa;
}

.terms-container {
    max-width: 1000px;
    margin: 0 auto;
}

.terms-container h3 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 60px;
    color: var(--secondary-color);
}

.terms-container h3 span {
    color: var(--primary-color);
}

.terms-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    /* Forced 4 columns per row */
    gap: 20px;
    /* Slightly reduced gap to accommodate 4 columns */
}

.term-item {
    background: white;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.term-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.term-item h4 {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.term-item p {
    color: #636e72;
    line-height: 1.6;
    font-size: 0.95rem;
}

.bottom-cta {
    padding: 100px 10%;
    background: var(--secondary-color);
    color: white;
    text-align: center;
}

.bottom-cta h2 {
    font-size: 2.8rem;
    margin-bottom: 20px;
}

.bottom-cta p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.8;
}

.bottom-cta .btn-secondary {
    background: var(--accent-color);
    color: white;
    border: none;
    width: auto;
    display: inline-flex;
}

@media (max-width: 1200px) {
    .terms-grid {
        grid-template-columns: repeat(2, 1fr);
        /* 2x2 on tablets */
    }
}

@media (max-width: 600px) {
    .terms-grid {
        grid-template-columns: 1fr;
        /* 1x4 on mobile */
    }
}

/* Booking Page Styles */
.booking-page {
    padding: 80px 10%;
    background: #fdfdfd;
}

.booking-wrapper {
    display: flex;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.booking-main {
    flex: 2;
}

.booking-card {
    background: white;
    padding: 50px;
    border-radius: 30px;
    box-shadow: var(--shadow);
}

.booking-card h2 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.booking-card h2 span {
    color: var(--primary-color);
}

.booking-form-advanced {
    margin-top: 40px;
}

.booking-form-advanced .form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
}

.booking-form-advanced .form-group {
    flex: 1;
}

.booking-form-advanced label {
    display: block;
    margin-bottom: 8px;
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--secondary-color);
}

.booking-form-advanced label i {
    color: var(--primary-color);
    margin-right: 5px;
}

.booking-form-advanced input,
.booking-form-advanced select {
    width: 100%;
    padding: 15px;
    border: 2px solid #f1f2f6;
    border-radius: 12px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.booking-form-advanced input:focus {
    border-color: var(--primary-color);
    outline: none;
    background: #fff;
}

.btn-full {
    width: 100%;
    padding: 18px;
    font-size: 1.1rem;
    margin-top: 20px;
}

.booking-sidebar {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.info-card,
.help-card {
    background: white;
    padding: 35px;
    border-radius: 30px;
    box-shadow: var(--shadow);
}

.info-item {
    display: flex;
    gap: 15px;
    margin: 25px 0;
}

.info-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.info-item h4 {
    margin-bottom: 5px;
}

.info-item p {
    font-size: 0.9rem;
    opacity: 0.8;
}

.hotline-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: var(--secondary-color);
    color: white;
    padding: 15px;
    border-radius: 15px;
    text-decoration: none;
    font-weight: 800;
    margin-top: 20px;
    transition: var(--transition);
}

.hotline-btn:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

/* Contact Page Styles */
.contact-methods {
    padding: 80px 10%;
    background: #fff;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.method-card {
    text-align: center;
    padding: 40px 20px;
    border-radius: 30px;
    background: #f8f9fa;
    transition: var(--transition);
}

.method-card:hover {
    background: white;
    box-shadow: var(--shadow);
    transform: translateY(-10px);
}

.method-card i {
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.method-card h3 {
    color: var(--secondary-color);
    font-size: 1.25rem;
    margin-bottom: 10px;
}

.method-card > p {
    color: var(--text-color);
    font-size: 0.95rem;
    line-height: 1.5;
    opacity: 0.9;
}

.method-card a {
    text-decoration: none;
    color: var(--secondary-color);
    font-weight: 800;
    display: block;
    margin-top: 15px;
}

.contact-form-section {
    padding: 80px 10%;
    background: #fdfdfd;
}

.form-wrapper {
    display: flex;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.form-container,
.map-container {
    flex: 1;
    min-width: 0;
}

.map-container {
    min-height: 320px;
    position: relative;
    border-radius: 30px;
    overflow: hidden;
    background: #e8eaed;
}

.map-container iframe {
    display: block;
    width: 100%;
    min-height: 320px;
    height: 360px;
    border: 0;
    border-radius: 30px;
}

.main-contact-form .form-group {
    margin-bottom: 20px;
}

.main-contact-form label {
    display: block;
    font-weight: 700;
    margin-bottom: 8px;
}

.main-contact-form input,
.main-contact-form textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid #f1f2f6;
    border-radius: 15px;
    font-family: inherit;
}

@media (max-width: 992px) {

    .booking-wrapper,
    .form-wrapper {
        flex-direction: column;
    }

    .booking-main,
    .booking-sidebar {
        width: 100%;
    }

    .booking-form-advanced .form-row {
        flex-direction: column;
    }

    .booking-page {
        padding: 40px 10px;
        /* Maximize side room */
    }

    .booking-card {
        padding: 35px 20px;
        border-radius: 25px;
        width: 100%;
    }
}

/* WhatsApp Chat Popup Styling */
.wa-chat-popup {
    position: fixed;
    bottom: 100px;
    left: 30px;
    width: 350px;
    background: #e5ddd5;
    /* Classic WhatsApp Background */
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2);
    z-index: 2100;
    opacity: 0;
    transform: translateY(20px) scale(0.9);
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.wa-chat-popup.active {
    opacity: 1;
    transform: translateY(0) scale(1);
    visibility: visible;
}

.wa-header {
    background: #075e54;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
}

.wa-brand {
    display: flex;
    align-items: center;
    gap: 15px;
}

.wa-avatar {
    position: relative;
}

.wa-avatar img {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: white;
    object-fit: cover;
}

.online-status {
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 12px;
    height: 12px;
    background: #4cd137;
    border: 2px solid #075e54;
    border-radius: 50%;
}

.wa-info h4 {
    font-size: 1.1rem;
    margin-bottom: 2px;
    font-weight: 700;
}

.wa-info span {
    font-size: 0.8rem;
    opacity: 0.8;
}

.wa-close {
    background: transparent;
    border: none;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0.7;
    transition: 0.3s;
}

.wa-close:hover {
    opacity: 1;
}

.wa-body {
    padding: 25px 20px;
    min-height: 200px;
    max-height: 400px;
    overflow-y: auto;
}

.wa-message {
    background: white;
    padding: 15px;
    border-radius: 0 20px 20px 20px;
    max-width: 85%;
    position: relative;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.wa-message p {
    font-size: 0.95rem;
    line-height: 1.5;
    color: #2d3436;
    margin-bottom: 5px;
}

.wa-time-row {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 5px;
}

.wa-time {
    font-size: 0.7rem;
    color: #b2bec3;
}

.wa-time-row i {
    font-size: 0.7rem;
    color: #3498db;
}

.wa-footer {
    background: white;
    padding: 15px 20px;
}

.wa-input-container {
    display: flex;
    align-items: center;
    background: #f1f2f6;
    padding: 10px 15px;
    border-radius: 30px;
    gap: 10px;
}

.wa-input-container input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    font-size: 0.95rem;
}

.wa-input-container button {
    background: transparent;
    border: none;
    color: #075e54;
    font-size: 1.2rem;
    cursor: pointer;
    transition: 0.3s;
}

.wa-input-container button:hover {
    transform: scale(1.1);
}

@media (max-width: 480px) {
    .wa-chat-popup {
        width: calc(100% - 40px);
        left: 20px;
        bottom: calc(168px + constant(safe-area-inset-bottom));
        bottom: calc(168px + env(safe-area-inset-bottom));
    }
}


/* Back to Top Button */
.back-to-top {
    position: fixed;
    right: 30px;
    bottom: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-color); /* Updated to brand Royal Blue */
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    box-shadow: 0 5px 15px rgba(72, 52, 212, 0.4); /* Colored shadow matching primary */
    text-decoration: none;
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--secondary-color); /* Hover state swaps to Midnight Navy */
    color: var(--accent-color); /* Nice amber accent on hover */
    transform: translateY(-5px);
}

@media (max-width: 992px) {
    .back-to-top,
    .back-to-top.active {
        bottom: calc(92px + constant(safe-area-inset-bottom));
        bottom: calc(92px + env(safe-area-inset-bottom));
        z-index: 1020;
    }
}

.how-it-works {
    padding: 100px 10%;
    background: #f8f9fa;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.step-card {
    background: white;
    padding: 50px 30px;
    border-radius: 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    position: relative;
    transition: var(--transition);
}

.step-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow);
}

.step-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 25px;
}

.step-num {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 4rem;
    font-weight: 900;
    color: var(--primary-color);
    opacity: 0.05;
}

/* Professional Excellence Styles */
.pro-excellence {
    padding: 100px 10%;
    background: white;
}

.excellence-content {
    display: flex;
    align-items: center;
    gap: 80px;
    max-width: 1200px;
    margin: 0 auto;
}

.excel-text {
    flex: 1.2;
}

.excel-text h2 {
    font-size: 3rem;
    margin-bottom: 25px;
    color: var(--secondary-color);
}

.excel-text h2 span {
    color: var(--primary-color);
}

.excel-text p {
    font-size: 1.15rem;
    line-height: 1.8;
    margin-bottom: 40px;
    color: #636e72;
}

.excellence-features {
    margin-bottom: 50px;
}

.ex-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    font-weight: 700;
    color: var(--secondary-color);
}

.ex-item i {
    color: var(--primary-color);
    font-size: 1.2rem;
    background: rgba(72, 52, 212, 0.1);
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.excel-image {
    flex: 0.8;
}

.excel-image img {
    width: 100%;
    border-radius: 40px;
    box-shadow: var(--shadow);
}

@media (max-width: 992px) {
    .excellence-content {
        flex-direction: column-reverse;
        text-align: center;
        gap: 50px;
    }

    .ex-item {
        justify-content: flex-start;
        /* Better for reading on center-stacked mobile */
        text-align: left;
        max-width: 320px;
        margin: 0 auto 20px auto;
    }

    .excel-text h2 {
        font-size: 2.2rem;
    }

    .excel-text p {
        text-align: justify;
        text-justify: inter-word;
    }
}