﻿/* ==========================================
   🌐 BASE STYLES
========================================== */
html {
    font-size: 14px;
    position: relative;
    min-height: 100%;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

body {
    margin: 0;
    padding-top: 90px; /* header height */
    padding-bottom: 55px; /* footer space */
    background-color: #fff;
    font-family: 'Segoe UI', sans-serif;
}

/* ==========================================
   🧭 FIXED HEADER
========================================== */
.fre-fixed-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1050;
    width: 100%;
    background-color: #000;
}

/* Ensure content not hidden behind fixed header */
body.no-banner .container:first-of-type {
    margin-top: 70px;
}



/* ==========================================
   ☎️ CONTACT INFO (Top Bar)
========================================== */
.fre-contact-info {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 1.1rem;
    white-space: nowrap;
}

.fre-contact-text {
    font-size: 1.3rem;
    font-weight: 600;
}


.fre-header-email {
    margin-left: 10px;
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
}




    .fre-header-email a {
        color: #ffc107;
        text-decoration: none;
        transition: color .3s ease;
    }

        .fre-header-email a:hover {
            color: #ffd65a;
            text-decoration: underline;
        }

@media (max-width: 768px) {
    .fre-contact-info,
    .fre-header-email {
        display: block;
        text-align: left;
        font-size: 1rem;
    }
}

/* ==========================================
   🧭 NAVBAR
========================================== */
.navbar {
    padding: 10px 0;
}

.navbar-nav .nav-item {
    margin: 0 15px;
}

/*==========================================================================*/

/*.navbar-nav .nav-link {
    white-space: nowrap;
    padding: 10px 20px;
    font-size: 1.1rem;
    font-weight: 500;
    color: #fff;
    transition: all .3s ease;
}*/

.navbar-nav .nav-link {
    position: relative;
    color: #ffffff;
    text-transform: uppercase;
    font-size: 15px;
    letter-spacing: 0.8px;
    margin: 0;
    padding: 8px 0;
    transition: color 0.3s ease;
}

    /* ✨ Underline Animation */
    .navbar-nav .nav-link::after {
        content: "";
        position: absolute;
        left: 0;
        bottom: -4px;
        width: 0%;
        height: 2px;
        background: linear-gradient(90deg, #ffc107, #ff6f00); /* yellow to orange */
        transition: width 0.3s ease;
    }

    .navbar-nav .nav-link:hover::after {
        width: 100%;
    }

    .navbar-nav .nav-link.active,
    .navbar-nav .nav-link[aria-current="page"] {
        color: #ffc107;
    }

        .navbar-nav .nav-link.active::after {
            width: 100%;
        }


    /*    .navbar-nav .nav-link:hover {
        color: #ffc107;
        text-shadow: 0 0 8px rgba(255,193,7,0.6);
    }*/

    .navbar-nav .nav-link:hover {
        color: #ffb300;
        text-shadow: 0 0 10px #ffb300, 0 0 20px #ff9100;
        background-color: #25D366; /* 🔹 soft golden-orange background */
        color: #fff !important; /* 🔹 white text for contrast */
        border-radius: 4px;
    }



/*=======================================================================================*/




/* ==========================================
   🖼️ BANNER
========================================== */
.banner {
    position: relative;
    height: 400px;
    background: url('/images/home-banner.jpg') center/cover no-repeat;
    overflow: hidden;
    animation: fadeInBanner 1.5s ease-in-out;
    margin-top: 1px; /* 🟢 header ke height ke barabar space */
}

    .banner::before {
        content: "";
        position: absolute;
        inset: 0;
        background: rgba(0,0,0,0.5);
    }

    .banner > div {
        position: relative;
        z-index: 2;
        animation: slideUpText 1.2s ease-out;
    }

@keyframes fadeInBanner {
    from {
        opacity: 0;
        transform: scale(1.05);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes slideUpText {
    from {
        opacity: 0;
        transform: translateY(50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .banner {
        height: 300px;
    }

        .banner h1 {
            font-size: 1.8rem;
        }

        .banner p {
            font-size: 1rem;
        }
}

/* Hide banner when class applied */
body.no-banner .banner {
    display: none !important;
}

/* ==========================================
   🏙️ TOP CITIES & SERVICES
========================================== */
.top-cities .card img {
    height: 300px;
    object-fit: cover;
    border-radius: 10px 10px 0 0;
    transition: transform .4s ease, box-shadow .3s ease;
}

.top-cities .card:hover img {
    transform: scale(1.07);
    box-shadow: 0 8px 20px rgba(0,0,0,0.25);
}

/* ===== OUR SERVICES SECTION ===== */
.our-services {
    background: linear-gradient(180deg, #ffffff 0%, #f2f9fb 100%);
    padding: 5rem 0;
    position: relative;
}

    .our-services h2 {
        font-size: 2.2rem;
        color: #007b8f;
    }

    .our-services .card {
        border: none;
        border-radius: 16px;
        background: #fff;
        padding: 3rem 1.8rem;
        box-shadow: 0 4px 15px rgba(0,0,0,0.08);
        transition: all .35s ease;
        min-height: 360px;
    }

        .our-services .card:hover {
            transform: translateY(-10px);
            box-shadow: 0 10px 30px rgba(0,0,0,0.15);
        }

/* ==========================================
   🎥 FADE IN ANIMATION (once only)
========================================== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all .8s ease-out;
}

    .fade-in.visible {
        opacity: 1;
        transform: translateY(0);
    }

/* ==========================================
   📞 WHATSAPP FLOATING BUTTON
========================================== */
.fre-whatsapp-btn {
    position: fixed;
    bottom: 90px;
    right: 25px;
    background: #25d366;
    color: #fff;
    font-size: 22px;
    border-radius: 50px;
    padding: 10px 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 1100;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    text-decoration: none;
}

    .fre-whatsapp-btn:hover {
        transform: scale(1.08);
        background-color: #20bd5a;
    }

/* ==========================================
   💬 FOOTER
========================================== */
.fre-fixed-footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    background: #000;
    color: #fff;
    text-align: center;
    padding: 10px 0;
    z-index: 1030;
}

/* ==========================================
   🔗 SOCIAL ICONS
========================================== */
.fre-social-icons {
    display: flex;
    justify-content: flex-end; /* right side align */
    align-items: center;
    /*    gap: 1px;*/
    flex-wrap: nowrap; /* 🔹 ek hi line me rakho */
    margin: 0; /* 🔹 extra margin remove */
    padding: 0; /* 🔹 extra padding remove */
    line-height: 1; /* 🔹 compact alignment */
}

    /*==================================================*/

    .fre-social-icons a,
    .fre-social-icons i {
        margin: 0 !important; /* 🔹 bootstrap ke me-3, ms-3 hatao */
        padding: 0 !important; /* 🔹 icon ke andar space hatao */
        color: #fff;
        font-size: 18px;
        line-height: 1;
        text-decoration: none;
    }

    /*    ============================================*/

    .fre-social-icons a {
        display: inline-flex;
        justify-content: center;
        align-items: center;
        width: 46px;
        height: 46px;
        border-radius: 50%;
        color: #fff;
        font-size: 1.3rem;
        transition: all .3s ease;
    }

        .fre-social-icons a:hover {
            transform: scale(1.3);
            opacity: 0.9;
            color: #ffc107; /* hover pe yellow highlight */
        }


/*        =================================*/

/* Make both sections uniform */
.top-cities .card,
.our-services .card {
    border: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 10px;
}

    .top-cities .card:hover,
    .our-services .card:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 18px rgba(0, 0, 0, 0.15);
    }

/* Card images consistent size */
.top-cities .card-img-top,
.our-services .card-img-top {
    height: 220px;
    object-fit: cover;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

/* Titles and text uniform */
.card-title {
    font-weight: 600;
    color: #333;
}

.card-text {
    color: #555;
    font-size: 0.95rem;
}

/* Button styling */
.btn-warning {
    color: #212529;
    background-color: #ffc107;
    border: none;
    transition: all 0.3s ease;
}

    .btn-warning:hover {
        background-color: #e0a800;
        color: #fff;
    }

/* Spacing same for both sections */
.top-cities, .our-services {
    background-color: #fff;
}





/* ===== ABOUT HERO SECTION (FINAL PERFECT VERSION) ===== */

/* Paragraph inside banner */
body.no-banner .about-hero p {
    font-size: 1.25rem;
    margin-top: 10px;
    opacity: 0.9;
}

/* Main banner */
body.no-banner .about-hero {
    background: url('/images/about-banner.jpg') center/cover no-repeat;
    height: 65vh; /* banner height */
    width: 100vw; /* full screen width */
    margin-left: calc(-50vw + 50%); /* remove container side margins */
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    /* 🟢 spacing control */
    margin-top: 1px !important; /* brings banner just below header */
    padding-top: 0; /* no extra top padding */
    margin-bottom: 80px; /* normal space after banner */
}

    /* Overlay effect for readability */
    body.no-banner .about-hero::before {
        content: "";
        position: absolute;
        inset: 0;
        background: rgba(0, 0, 0, 0.45);
    }

    /* Inner content */
    body.no-banner .about-hero div {
        position: relative;
        z-index: 1;
    }

    /* Heading inside banner */
    body.no-banner .about-hero h1 {
        font-size: 2.8rem;
        font-weight: 700;
        color: #fff;
    }

/* Responsive adjustments */
@media (max-width: 991.98px) {
    body.no-banner .about-hero {
        height: 45vh;
        margin-top: -40px !important; /* little less pull for small screens */
    }

        body.no-banner .about-hero h1 {
            font-size: 2rem;
        }

        body.no-banner .about-hero p {
            font-size: 1rem;
        }
}



/* ===== ABOUT HERO SECTION (FINAL PERFECT VERSION)  End===== */

/*===============Get a car css===========================*/

/* 🌟 GET A CAR – Modern Premium Look */

/* Background & page spacing */
.getacar-section {
    background: linear-gradient(135deg, #eef2f7, #f8f9fa);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 15px 80px;
}

/* 🏁 Hero Banner */
.getacar-hero {
    position: relative;
    width: 100%;
    max-width: 1100px;
    height: 340px;
    border-radius: 18px;
    overflow: hidden;
    margin-top: 5px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
}

    .getacar-hero .hero-img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        filter: brightness(70%);
    }

    .getacar-hero .overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0,0,0,0.45);
        z-index: 1;
    }

    .getacar-hero .hero-text {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        text-align: center;
        z-index: 2;
    }

    .getacar-hero h1 {
        font-size: 2.5rem;
        font-weight: 700;
        text-shadow: 0 3px 10px rgba(0, 0, 0, 0.7);
        color: #fff;
    }

    .getacar-hero p {
        color: #f8f9fa;
        font-size: 1.2rem;
        opacity: 0.9;
    }

/* 📋 Booking Card */
.booking-card {
    background: #ffffff;
    border-radius: 18px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-top: 40px;
    padding: 50px 40px;
    width: 100%;
    max-width: 950px !important; /* 👈 force width */
    margin-left: auto !important;
    margin-right: auto !important;
}

    .booking-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.25);
    }

/* Form inputs */
.form-control, .form-select {
    border-radius: 8px;
    border: 1px solid #ced4da;
    padding: 10px 12px;
    transition: all 0.2s ease;
}

    .form-control:focus, .form-select:focus {
        border-color: #6610f2;
        box-shadow: 0 0 6px rgba(102, 16, 242, 0.25);
    }

/* Labels */
.form-label {
    font-weight: 600;
    color: #343a40;
}

/* Buttons */
.btn-primary {
    background: linear-gradient(90deg, #007bff, #6610f2);
    border: none;
    border-radius: 10px;
    padding: 10px 35px;
    font-size: 1.1rem;
    transition: transform 0.25s ease, background 0.3s ease;
}

    .btn-primary:hover {
        transform: scale(1.05);
        background: linear-gradient(90deg, #6610f2, #007bff);
    }

/* Page animation */
.getacar-hero, .booking-card {
    animation: fadeInUp 0.8s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .getacar-hero {
        height: 250px;
        margin-top: 40px;
    }

        .getacar-hero h1 {
            font-size: 1.8rem;
        }

    .booking-card {
        margin-top: 30px;
        padding: 25px 20px;
    }
}


/*===============Get a car css end===========================*/
