html {
  font-size: 14px;
  font-family:'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
        font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

body, html {
    margin: 0;
    padding: 0;
    height: 100%;
    width: 100%;
    box-sizing: border-box;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 10px;
}

/* ---------------------------------------------------
   HOMEPAGE HERO
----------------------------------------------------- */
@media (min-width: 1400px) {
    .container, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
        max-width: 2020px;
    }
}

.hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-size: cover, cover;
    background-position: center;
    background-blend-mode: overlay;
    color: white;
    height: 100vh;
    position: relative;
    box-sizing: border-box;
    background-repeat: no-repeat, no-repeat;
}

    .hero img.hero-image {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 1;
    }
.white-icon {
    color: white;
}

.form-container {
    background: linear-gradient(45deg, rgba(17, 47, 75, 0.9), rgba(38, 89, 140, 0.9));
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    color: white;
    position: relative;
    z-index: 2;
    min-height: 400px;
    max-width: 550px; /* Increase max-width for better alignment */
    width: 100%; /* Ensure it takes full width when needed */
    margin-left: 0;
}

    .form-container h1 {
        font-size: 2.5rem;
        margin-bottom: 10px;
        text-align: center;
        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
    }

    .form-container p {
        font-size: 1.1rem;
        text-align: center;
        margin-bottom: 20px;
    }

.form-horizontal {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Two columns */
    gap: 15px;
}
@media (max-width: 768px) {
    .form-horizontal {
        grid-template-columns: repeat(2, minmax(0, 1fr)); /* Force two equal columns */
    }

    .form-container {
        max-width: 100%; /* Allow full width */
        padding: 15px;
        position: relative;
        top: -75px; /* Move the form up */
    }

    .row {
        display: flex;
        flex-wrap: wrap;
    }

    .col-md-6 {
        flex: 1; /* Allow both columns to exist side by side */
        min-width: 50%; /* Force two columns */
    }
    .hero {
        display: flex;
        align-items: flex-start; /* Move content higher up */
        justify-content: center;
        padding-top: 50px; /* Adjust spacing from the top */
        height: 100vh;
        background-size: cover; /* Ensure background fully covers */
        background-position: center; /* Keep the focal point centered */
    }

        .hero img.hero-image {
            /* object-fit: cover; */ /* Ensures the image fully covers without distortion */
            opacity: 0.6; /* Slight transparency to enhance text visibility */
            /*   max-height: 200px;*/
            height: 90%;
        }
}

/* Ensure small screens maintain two-column layout */
@media (max-width: 768px) {
    .form-horizontal {
        display: grid;
        grid-template-columns: repeat(2, 1fr); /* Keep two columns */
        gap: 10px;
    }
}

/* Ensure larger screens maintain two-column layout */
@media (min-width: 769px) {
    .form-horizontal {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

    .form-group label {
        font-size: 0.9rem;
        margin-bottom: 5px;
    }

    .form-group select,
    .form-group input {
        padding: 10px;
        font-size: 1rem;
        border: 1px solid #ccc;
        border-radius: 5px;
    }

.futuristic-input, .futuristic-select,
.futuristic-input.flatpickr-input {
    background-color: rgba(17, 47, 75, 0.85) !important;
    border: 1px solid rgba(38, 89, 140, 1) !important;
    color: #fff !important;
    border-radius: 10px !important;
    padding: 8px 12px !important;
    font-size: 0.85rem !important;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3) !important;
    transition: all 0.3s ease !important;
}

    .futuristic-input:focus, .futuristic-select:focus {
        outline: none;
        box-shadow: 0 4px 10px rgba(93, 173, 226, 0.9);
        border-color: rgba(93, 173, 226, 1);
    }

.modern-button {
    padding: 0.8rem 1.5rem;
    font-size: 1.1rem;
    font-weight: bold;
    border-radius: 8px;
    background: linear-gradient(45deg, #1A5276, #5DADE2);
    color: white;
    border: none;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
}

    .modern-button:hover {
        background: linear-gradient(45deg, #145A76, #4A90D4);
        transform: scale(1.05);
    }
/* ---------------------------------------------------
   HOMEPAGE FLEET
----------------------------------------------------- */
.fleet-section {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.fleet-card {
    padding: 20px;
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

    .fleet-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 16px rgba(0,0,0,0.2);
    }

.fleet-description {
    font-size: 1em;
    color: #6D326D;
    margin-top: 10px;
}

.name-description {
    font-size: 1.2em;
    margin: 10px 0;
}

.about {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}
/* Default for large screens */
.fleet-section h2 {
    margin-top: 20px; /* Push down on large screens */
}

/* Move heading higher on small screens */
@media (max-width: 768px) {
    .fleet-section h2 {
        margin-top: -45px; /* Pull up on smaller screens */
    }
}
/* Responsive Video */
@media (max-width: 768px) {
    .video-responsive {
        height: 200px !important;
    }
}

/* ---------------------------------------------------
   CALENDAR
----------------------------------------------------- */

/* Book a Car button styling */
.button-style {
    padding: 10px 20px;
    background-color: dodgerblue; /* Black button */
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 5px;
    font-size: 16px;
}

    .button-style:hover {
        background-color: #444444; /* Darker grey on hover */
    }

/* Center the calendar popup */
.calendar-popup {
    display: none; /* Initially hidden */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7); /* Dark overlay */
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

/* Calendar container styles */
.calendar-container {
    background: linear-gradient(45deg, #003F91, #6D326D);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    text-align: center;
    width: 550px;
    position: relative; /* For close button positioning */
}

/* Close (Exit) button styles */
.close-button {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: dodgerblue;
    color: white;
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    font-size: 20px;
    line-height: 25px;
    cursor: pointer;
}

    .close-button:hover {
        background-color: darkred;
    }

/* Flatpickr input style */
.flatpickr-calendar {
    margin: auto;
}

/* ---------------------------------------------------
   Slider container 
----------------------------------------------------- */
.slider-container {
    width: 100%;
    max-width: 1200px; /* Adjust the width as needed */
    margin: auto;
    overflow: hidden;
    position: relative;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Slider wrapper to align images horizontally */
.slider-wrapper {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

    /* Individual slides */
    .slider-wrapper img {
        width: 50%; /* Show 4 images in one row, each image takes 25% of the width */
        height: auto;
        border-radius: 10px;
        transition: transform 0.3s ease; /* Smooth hover transition */
    }

        /* Image hover effect */
        .slider-wrapper img:hover {
            transform: scale(1.1); /* Enlarge image on hover */
        }

/* Navigation buttons */
.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background-color: rgba(0, 0, 0, 0.9);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 18px;
    line-height: 50px;
    text-align: center;
    z-index: 100;
}

.prev {
    left: 10px;
}

.next {
    right: 10px;
}

/* ---------------------------------------------------
 Reviews Page
----------------------------------------------------- */
@media (max-width: 1024px) {
    .slider-wrapper img {
        width: 33.33%; /* Show 3 images in one row on medium screens */
    }
}

@media (max-width: 768px) {
    .slider-wrapper img {
        width: 50%; /* Show 2 images in one row on smaller screens (tablets) */
    }
}

@media (max-width: 480px) {
    .slider-wrapper img {
        width: 100%; /* Show 1 image in one row on mobile devices */
    }
}


/* Custom container styles for reviews section */
.reviews-section-wrapper {
    max-width: 100%; /* Ensure it spans full width */
    padding-left: 15px;
    padding-right: 15px;
}

    /* Ensure the review section does not interfere with other layouts */
    .reviews-section-wrapper .row {
        margin: 0; /* Reset margins */
        padding: 0; /* Reset padding */
    }

.reviews-section {
    padding: 50px;
    background-color: #f8f9fa;
}

.review-card {
    background: #fff;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.client-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 15px;
}

.client-name {
    font-weight: bold;
    font-size: 1.2em;
}

.review-stars {
    color: #FFD700; /* Gold color */
}

.review-text {
    font-style: italic;
}

.client-info {
    display: flex;
    align-items: center;
}

/* ---------------------------------------------------
   BOOKINGS PAGE
----------------------------------------------------- */
/* Color Variables */
:root {
    --primary-color: #2a2e35; /* Dark Slate Gray */
    --secondary-color: #f0f4f8; /* Light Gray */
    --accent-color: #0077b6; /* Medium Blue */
    --text-color: #3e4e5e; /* Darker Gray for Text */
    --hover-color: #00a8e8; /* Light Blue Hover */
}

/* General Styles for Pills */
.nav-pills .custom-pill {
    background-color: var(--secondary-color);
    color: var(--text-color);
    padding: 10px 20px;
    margin: 0 8px;
    border-radius: 25px;
    display: flex;
    align-items: center;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    pointer-events: none;  /*Prevents clicks */
    cursor: default; /* Changes cursor to indicate it's not clickable */
   /* opacity: 0.7;*/  /*Slightly fade to indicate disabled state */
}

    /* Icon and Text Spacing */
    .nav-pills .custom-pill i {
        font-size: 1.2em;
        color: var(--primary-color);
        margin-right: 8px;
        transition: color 0.3s;
    }

    /* Active and Hover States */
    .nav-pills .custom-pill.active,
    .nav-pills .custom-pill:hover {
        background-color: var(--accent-color);
        color: #fff;
    }

        .nav-pills .custom-pill.active i,
        .nav-pills .custom-pill:hover i {
            color: #fff;
        }

    /* Transition for Smooth Hover Effect */
    .nav-pills .custom-pill:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
    }
@media (max-width: 768px) {
    .nav-pills .nav-link {
        padding: 5px 10px; /* Smaller padding */
        font-size: 12px; /* Reduce font size */
    }
}
.custom-pill {
    transition: background-color 0.3s, color 0.3s; /* Smooth transitions for hover effects */
}

    .custom-pill:hover {
        background-color: #007bff; /* Change this color to suit your design */
        color: white; /* Change text color on hover */
    }
.tab-content > .tab-pane {
    padding-bottom: 1rem; /* Ensure padding below tab content */
}

.card.h-auto {
    height: auto; /* Allow card to expand based on content */
}

#vehiclesList .card {
    padding-bottom: 0; /* Ensure compactness across cards */
}
@media (max-width: 768px) {
    .vehicle-card .row {
        flex-direction: column; /* Stack sections vertically */
        text-align: center; /* Center text */
    }

    .vehicle-card .col-md-4 {
        width: 100%; /* Make all sections take full width */
        margin-bottom: 15px; /* Add spacing between sections */
    }

    .vehicle-img {
        max-width: 100%; /* Ensure image scales properly */
        height: auto;
    }

    .rent-btn {
        width: 100%; /* Make button full-width */
    }
}

/* ---------------------------------------------------
   SUMMARY PAGE RESPONSIVE STYLES
----------------------------------------------------- */

/* Large Screens: Two Columns Layout */
@media (min-width: 769px) {
    .booking-row {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
    }

    .booking-column {
        width: 48%; /* Adjust width for even spacing */
    }

        .booking-column:first-child {
            flex-grow: 1.5;
        }
    

    /* Left Section: Payment Options */
    .payment-section {
        background-color: #e9f7ff; /* Light Blue */
        padding: 20px;
        border-radius: 5px;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    }

    /* Right Section: Booking Summary */
    .summary-section {
        background-color: #e9f7ff; /* Light Blue */
        padding: 20px;
        border-radius: 5px;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    }
}

/* Small Screens: Stack Sections */
@media (max-width: 768px) {
    .booking-row {
        flex-direction: column; /* Stack vertically */
    }

    .booking-column {
        width: 100%; /* Full width */
        margin-bottom: 20px; /* Space between stacked sections */
    }

    .payment-option {
        flex-direction: column; /* Stack radio buttons */
        align-items: flex-start;
    }

    .payment-radio {
        margin-bottom: 5px;
    }

    .payment-details, .cash-details {
        text-align: center;
    }
    .payment-section {
        background-color: #fff8c4;
    }
        .booking-card {
        padding: 20px;
    }

    .vehicle-image {
        max-width: 100%;
        height: auto;
    }

    .full-width-button {
        width: 100%;
    }
}


/* ---------------------------------------------------
   NAVBAR LAYOUT
----------------------------------------------------- */
/* Basic styles for the navbar */
.navbar {
    background: linear-gradient(45deg, #1A5276, #5DADE2); /* Dark blue to purple gradient */
    border-bottom: 2px solid #6B34FF; /* Bold border with gradient color */
    transition: background-color 0.3s ease; /* Smooth background transition */
}

.navbar-brand img {
    transition: transform 0.3s ease; /* Smooth zoom effect for the logo */
}

.navbar-toggler {
 /*   border-color: #6B34FF;*/
}

.navbar-toggler-icon {
   /* background-color: #6B34FF;*/ /* Accent color for the toggle icon */
}

.navbar-nav .nav-link {
    font-size: 1.2rem; /* Larger font size */
    font-family: 'Roboto', sans-serif; /* More attractive font */
    font-weight: bold;
    color: #fff; /* Full white to contrast the dark background */
    transition: color 0.3s ease;
}

    .navbar-nav .nav-link:hover {
        color: #E6E6FF; /* Lighter shade of white for a glowing effect */
        text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5); /* Subtle shadow for emphasis */
    }

@media (min-width: 768px) {
    .navbar-toggler {
        display: none; /* Hide on larger screens */
    }
}

@media (min-width: 992px) {
    .navbar-collapse {
        justify-content: flex-end;
    }

    .navbar-nav {
        gap: 15px; /* Space between nav items */
    }
}
/* ---------------------------------------------------
   SPINNER
----------------------------------------------------- */
.spinner-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.spinner-border {
    width: 3rem;
    height: 3rem;
}

.hidden {
    display: none !important;
}

/* ---------------------------------------------------
   TIME AND DATE CHANGE SPINNER
----------------------------------------------------- */
#time-update-spinner {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1050;
    background-color: rgba(0, 0, 0, 0.6); /* Darker background */
    border-radius: 10px;
    padding: 20px;
    display: none; /* Hide by default */
}

    /* Customize the spinner itself */
    #time-update-spinner .spinner-border {
        width: 4rem;
        height: 4rem;
        border-width: 5px;
        color: #ffcc00; /* Yellow spinner */
    }

    /* Visually-hidden text for screen readers */
    #time-update-spinner .visually-hidden {
        font-size: 16px;
        font-weight: bold;
        color: white;
    }


/* ---------------------------------------------------
   BACK TO TOP BUTTON
----------------------------------------------------- */
.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

.hidden {
    display: none;
}

.back-to-top button {
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #007bff; /* Button background color */
    border: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Optional shadow */
    cursor: pointer;
}

    .back-to-top button:hover {
        background-color: #0056b3; /* Darker on hover */
    }

.back-to-top i {
    font-size: 1.2rem;
    color: white; /* Arrow color */
}

/* ---------------------------------------------------
   HOMEPAGE CAROUSEL
----------------------------------------------------- */
.carousel-container {
    position: relative;
    max-width: 900px;
    margin: auto;
    overflow: hidden;
    padding: 20px;
}

.carousel-wrapper {
    display: flex;
    transition: transform 0.5s ease-in-out;
    gap: 1rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}

.carousel-slide {
    flex: 0 0 100%;
    scroll-snap-align: start;
    text-align: center;
}

    .carousel-slide img {
        width: 100%;
        height: auto;
        border-radius: 12px;
    }

    .carousel-slide h4 {
        font-size: 1.2rem;
        margin-top: 10px;
        color: #1f2937;
    }

    .carousel-slide p {
        font-size: 0.95rem;
        color: #4b5563;
    }

.prev, .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: #f3f4f6;
    color: #1f2937;
    border: none;
    border-radius: 8px;
    font-size: 24px;
    font-weight: bold;
    width: 44px;
    height: 44px;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s;
}

    .prev:hover, .next:hover {
        background-color: #e5e7eb;
    }

.prev {
    left: 10px;
}

.next {
    right: 10px;
}

@media (max-width: 640px) {
    h3.text-2xl {
        font-size: 1.2rem;
        white-space: nowrap;
    }

    .carousel-wrapper {
        gap: 0.5rem;
    }
}

.min-w-full {
    min-width: 100%;
}

.shadow-lg {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
}


/* Car Reservation Section */
.booking-info-card {
    background-color: #e3f2fd; /* Light Blue */
    border-radius: 12px;
    border: 1px solid #b3e5fc;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Input and Label Customization */
.custom-input {
    background: white;
    color: #333;
    border: 1px solid #90caf9;
    border-radius: 5px;
    padding: 8px;
    font-size: 14px;
}

.custom-label {
    font-size: 13px;
    color: #0d47a1;
    font-weight: 600;
}

/* Vehicles Section Styling */
.vehicle-card {
    border-radius: 15px;
    background-color: #ffffff;
    border: 1px solid #ddd;
}

.vehicle-img {
    max-height: 150px;
    object-fit: cover;
}

.small-text {
    font-size: 0.9rem;
    color: gray;
}

.rent-btn {
    background-color: #1565c0;
    border: none;
    padding: 10px 20px;
    font-size: 14px;
}

    .rent-btn:hover {
        background-color: #0d47a1;
    }
/* Make Vehicle Card Bigger */
.vehicle-card {
    border-radius: 15px;
    background-color: #ffffff;
    border: 1px solid #ddd;
    padding: 20px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}

/* Make Image Bigger */
.vehicle-img {
    max-width: 100%;
    height: 180px;
    object-fit: cover;
}

/* Styling Text Inside the Card */
.price-text, .vat-text, .days-text, .total-text {
    font-size: 1rem;
    font-weight: bold;
    color: #333;
}

.rent-btn {
    background-color: #1565c0;
    border: none;
    padding: 12px 20px;
    font-size: 1rem;
}

    .rent-btn:hover {
        background-color: #0d47a1;
    }


/* ---------------------------------------------------
   CURRENCY DROPDOWN
----------------------------------------------------- */
.currency-dropdown .btn {
    padding: 5px 10px;
    font-size: 16px;
    font-weight: 600;
    display: flex;
    align-items: center;
    color: darkslateblue;
}

.currency-dropdown img {
    border-radius: 3px;
}
