@import url('https://fonts.googleapis.com/css2?family=Winky+Sans:ital,wght@0,300..900;1,300..900&display=swap');

/* Hide the native scrollbar completely */
/* Hide the native scrollbar completely */
::-webkit-scrollbar {
    width: 0px;
    background: transparent;
}

* {
    scrollbar-width: none;
    /* Firefox */
}

*::-webkit-scrollbar {
    display: none;
}

/* Custom floating scrollbar thumb */
#custom-scrollbar {
    position: fixed;
    right: 0;
    /* Position scrollbar on the right */
    top: 0;
    width: 8px;
    /* Width of the scrollbar */
    height: 50px;
    /* Default size */
    background: #99b42c;
    /* Blue color */
    border-radius: 0px;
    z-index: 999999 !important;
    /* Stays above the header */
    cursor: grab;
    /* Indicates it's draggable */
    transition: background 0.2s ease;
}

/* When dragging */
#custom-scrollbar.dragging {
    background: #6f831f;
    /* Slightly darker when dragging */
    cursor: grabbing;
}



* {
    font-family: "Winky Sans", sans-serif;
    font-optical-sizing: auto !important;
    font-style: normal !important;
}

.font-winky {
    font-family: "Winky Sans", sans-serif !important;
    font-optical-sizing: auto !important;
}

:root {
    --field-text: #4a4a4a;
    --field-color: #F3F3F3;
    --field-border: 10px;
    --icon-color: #99b42c;
    --ride-border: #00000027;
    --ride-background: #fefeff;
}

.custom-number-input {
    display: flex;
    overflow: hidden;
    width: 100%;
}

.input-group {
    position: relative !important;
    margin: 20px 0 !important;
}

.t-blue{
    color: #041538 !important;
}

.input-group label {
    position: absolute !important;
    top: 50% !important;
    left: 15px !important;
    transform: translateY(-50%) !important;
    font-size: 16px !important;
    color: var(--field-text) !important;
    padding: 0 5px !important;
    pointer-events: none !important;
    transition: .5s !important;
}

/* Button 1: Primary Style */
.btn-home-1 {
    color: #fff;
    background-color: #99b42c;
    /* Bootstrap Blue */
    border: 2px solid #99b42c;
    padding: 12px 24px;
    font-size: 16px;
    border-radius: 50px !important;
    transition: all 0.3s ease-in-out;
    text-decoration: none;
    display: inline-block;
    cursor: pointer;
}

/* Hover effect */
.btn-home-1:hover {
    background-color: #6b7d20;
    /* Darker Blue */
    border-color: #6b7d20;
}

/* Active effect */
.btn-home-1:active {
    background-color: #58681a;
    border-color: #58681a;
    transform: scale(0.98);
}

/* Focus effect */
.btn-home-1:focus {
    box-shadow: 0 0 5px #58681a;
}

/* Button 2: Secondary Style */
.btn-home-2 {
    color: #fff;
    background-color: #041538 ;
    /* Green */
    border: 2px solid #041538;
    padding: 12px 24px;
    font-size: 16px;
    border-radius: 50px !important;
    transition: all 0.3s ease-in-out;
    text-decoration: none;
    display: inline-block;
    cursor: pointer;
}

/* Hover effect */
.btn-home-2:hover {
    background-color: #09142b;
    /* Darker Green */
    border-color: #09142b;
}

/* Active effect */
.btn-home-2:active {
    background-color: #000000;
    border-color: #000000;
    transform: scale(0.98);
}

/* Focus effect */
.btn-home-2:focus {
    box-shadow: 0 0 5px rgba(59, 40, 167, 0.5);
}

.vehicle-selection {
    background-color: #f6ffd0;
    border-radius: 30px;
}


.input-group input {
    height: 60px !important;
    font-size: 16px !important;
    color: var(--field-text) !important;
    padding: 0 45px 0 15px !important;
    /* Adjusted padding for icon space */
    background-color: var(--field-color) !important;
    border: 1px solid transparent !important;
    outline: none !important;
    border-radius: var(--field-border) !important;
    transition: border-color 0.3s ease-in-out !important;
}

.input-group input:focus {
    border-color: var(--field-text) !important;
    /* Smooth blue border */
}

.select-input-group {
    position: relative !important;
    margin: 20px 0 !important;
    width: 100%;
}

.input-field {
    border: 1px solid transparent !important;
    transition: border-color 0.3s ease-in-out !important;
    background-color: var(--field-color) !important;
    color: var(--field-text) !important;
}

.input-field:focus {
    border-color: var(--field-text) !important;
    /* Change the border color when focused */
    box-shadow: none !important;
}

.select-input-group label {
    position: absolute !important;
    top: 50% !important;
    left: 15px !important;
    transform: translateY(-50%) !important;
    font-size: 16px !important;
    color: var(--field-text) !important;
    padding: 0 5px !important;
    pointer-events: none !important;
    transition: .5s !important;
    background: #fff;
}

.select-input-group .custom-select {
    height: 60px !important;
    font-size: 16px !important;
    color: var(--field-text) !important;
    padding: 0 40px 0 15px !important;
    background-color: var(--field-color) !important;
    border: 1px solid transparent !important;
    outline: none !important;
    border-radius: var(--field-border) !important;
    transition: border-color 0.3s ease-in-out !important;
    width: 100%;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.floating-textarea {
    position: relative;
    width: 100%;
    margin-top: 1.5rem;
}

.floating-textarea textarea {
    width: 100%;
    padding: 1.2rem 2.5rem 0.5rem 0.75rem;
    /* padding-right increased for icon space */
    font-size: 1rem;
    border: 0px solid transparent;
    border-radius: 10px;
    resize: vertical;
    background-color: #F3F3F3;
    height: 150px;
}

.floating-textarea label {
    position: absolute;
    left: 0.75rem;
    top: 1.2rem;
    color: #5F5F5F;
    font-size: 1rem;
    pointer-events: none;
    background-color: transparent;
    padding: 0 0.25rem;
    transition: 0.5s ease all;
}

.floating-textarea textarea:focus+label,
.floating-textarea textarea:not(:placeholder-shown)+label {
    top: -0.6rem;
    left: 0.6rem;
    font-size: 16px;
    color: #5F5F5F;
    background-color: white;
}

.msg-textarea:focus {
    border: 1px solid #000000;
}

.floating-textarea .icon-right {
    position: absolute;
    right: 0.75rem;
    top: 1.2rem;
    font-size: 1.2rem;
    color: #99B42C;
    pointer-events: none;
}

.custom-select option {
    margin-top: 50px !important;
    font-size: 16px !important;
}

.a-ride {
    background-color: #f6ffd0;
    border-radius: 20px;
    transition: background-color 0.2s ease-in-out,
        color 0.2s ease-in-out,
        transform 0.3s ease-in-out,
        box-shadow 0.3s ease-in-out;
}

.a-ride:hover {
    transform: scale(1.02);
    box-shadow: 0 10px 20px rgba(161, 161, 161, 0.1);
    /* Smoother & softer shadow */
}

.rounded-ride {
    border-radius: 20px !important;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    /* Smooth scale & shadow */
}

.rounded-ride:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(161, 161, 161, 0.1);
    /* Smoother & softer shadow */
}

.rounded-ride.active {
    border-bottom: 5px solid #99b42c;
    /* Blue border when clicked */
    box-shadow: 0 10px 20px rgba(161, 161, 161, 0.1);
}

.a-vehicle {
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    /* Smooth scale & shadow */
}

.text-justify {
    text-align: justify !important;
}

.modal-body .row {
    display: flex;
    flex-wrap: wrap;
    /* Allows the text to wrap properly */
    align-items: start;
    /* Aligns items vertically */
}

.mb {
    background-image: url("../img/car-back-img.png") !important;
    background-size: contain !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
}

.modal-body img {
    width: 100%;
    /* Ensures the image scales properly */
    height: auto;
    /* Keeps aspect ratio */
}

.modal-body .col-8 {
    word-wrap: break-word;
    /* Ensures long words don't overflow */
    overflow-wrap: break-word;
}

.a-vehicle:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(161, 161, 161, 0.1);
    /* Smoother & softer shadow */
}

.a-vehicle-active {
    background-color: #99b42c;
    /* Blue border when clicked */
    box-shadow: 0 10px 20px rgba(161, 161, 161, 0.1);
    color: #fff;
}

.a-vehicle-active h3,
.a-vehicle-active ul li,
.a-vehicle-active i {
    color: #fff !important;
}

.pricing-bg {
    background-color: rgb(240, 247, 233);
    color: #0caa0c !important;
    border-radius: 10px;
}

.gg {
    background-image: url("../img/bgbg.PNG");
    background-size: contain;
    background-position: left;
    background-repeat: no-repeat;
}

.sign-box {
    border: 2px solid #cfd6fb;
    border-radius: 0px !important;
    box-shadow: 15px 15px 0px rgb(214, 250, 137) !important;
    margin-bottom: 100px;
}

/* Base style for the curtain effect */
.curtain-hover {
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease;
    cursor: pointer;
}

/* The curtain */
.curtain-hover::before {
    content: "";
    position: absolute;
    top: 0;
    left: 100%;
    width: 100%;
    height: 100%;
    background-color: var(--curtain-color, #000000);
    /* allows custom color */
    z-index: 0;
    transition: left 0.4s ease;
    border-radius: inherit;
}

/* Text inside stays on top */
.curtain-hover span,
.curtain-hover i,
.curtain-hover div,
.curtain-hover svg {
    position: relative;
    z-index: 1;
}

/* Hover trigger */
.curtain-hover:hover::before {
    left: 0;
}

/* Optional: add scale effect */
.curtain-hover:hover {
    transform: scale(1.05);
}

/* Initially, the element will be off-screen to the right */
.fade-in {
    opacity: 0;
    transform: translateX(100%);
    /* Start from the right */
    animation: slideInRightAnimation .4s ease-out forwards;
}

/* Define the sliding and fading animation */
@keyframes slideInRightAnimation {
    0% {
        opacity: 0;
        transform: translateX(100%);
        /* Off-screen to the right */
    }

    100% {
        opacity: 1;
        transform: translateX(0);
        /* Move to the final position */
    }
}

.first-section {
    margin-top: 140px;
}

.space-1 {
    margin-top: 100px !important;
}

/* Large screens (≥ 992px) */
@media (min-width: 992px) {
    .first-section {
        margin-top: 220px;
    }

}


.text-blue {
    color: #99b42c !important;
}

.text-red{
    color: #fc4730 !important;
}



.hover {
    cursor: pointer;
}

.bbtn {
    padding: 14px 40px;
    border-radius: 10px;
}

.active-ride-mode-div {
    border: 2px solid var(--ride-border);
    border-bottom: none !important;
    border-radius: 20px 20px 0 0;
    background-color: var(--ride-background);
    position: sticky;
    z-index: 12;
}

.tabs {
    background-color: var(--ride-background);
    border: 2px solid var(--ride-border);
    border-radius: 20px !important;
    box-shadow: 10px 10px 10px rgba(255, 217, 0, 0.233) !important;
    margin-top: -2px;
}

.header-button {
    background-color: #99b42c !important;
}

.carousel-indicators {
    margin-top: 15px !important;
    /* Adjust spacing */
}

.carousel-indicators button {
    width: 12px !important;
    /* Circular size */
    height: 12px !important;
    border-radius: 50% !important;
    background-color: #bbb !important;
    /* Default ash color */
    border: none !important;
    margin: 5px !important;
    transition: background-color 0.3s ease-in-out !important;
}

.carousel-indicators .active {
    background-color: #99b42c !important;
    /* Blue active dot */
}

.sign-button {
    background-color: #99B42C;
    padding: 14px 40px;
    color: #ffffff;
    border: none;
    border-radius: 5px;
    --curtain-color: #5b6b19;
}

.sign-background {
    background-image: url('../img/taxi-background.png') !important;
    background-size: cover !important;
    background-position: center !important;
}

/* Initial state of the image */
.img-animation {
    animation: rotateAnimation 3s ease-in-out infinite;
}

/* Keyframe for slightly rotating the image */
@keyframes rotateAnimation {
    0% {
        transform: rotate(0deg);
        /* Start at 0 degrees */
    }

    50% {
        transform: rotate(-2deg);
        /* Rotate to 15 degrees */
    }

    100% {
        transform: rotate(0deg);
        /* Return to 0 degrees */
    }
}


.discount-line {
    background-color: rgba(38, 227, 13, 0);
    color: #fda055;
    font-weight: bold;
    margin-top: -25px;
    border-radius: 20px 20px 0 0;
}

.m-btn {
    border-radius: var(--field-border) 0 0 var(--field-border) !important;
}

.p-btn {
    border-radius: 0 var(--field-border) var(--field-border) 0 !important;
}

.select-input-group .custom-select:focus {
    border-color: var(--field-text) !important;
}

.select-input-group .custom-select:focus~label,
.select-input-group .custom-select:not([value=""])~label {
    top: 0 !important;
    font-size: 14px !important;
    background: #fff !important;
    padding: 0 5px;
}

.select-input-group .icon {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--icon-color);
    pointer-events: none;
    font-size: 20px;
}

.input-group input:focus~label,
.input-group input:valid~label {
    top: 0 !important;
    font-size: 14px !important;
    background: #fff !important;
}

/* Hide default calendar icon */
input[type="date"]::-webkit-calendar-picker-indicator {
    display: none;
    -webkit-appearance: none;
}

/* Custom input group */
.custom-input-group {
    position: relative;
    margin: 20px 0;
}

.custom-input-group label {
    position: absolute;
    top: 50%;
    left: 15px;
    transform: translateY(-50%);
    font-size: 16px;
    color: var(--field-text);
    padding: 0 5px;
    pointer-events: none;
    transition: 0.3s ease-in-out;
}

.custom-date-input {
    width: 100%;
    height: 50px;
    font-size: 16px;
    color: #000;
    padding: 0 45px 0 15px;
    background-color: #f5f5f5;
    border: 1px solid transparent !important;
    outline: none;
    border-radius: 5px;
    transition: border-color 0.3s ease-in-out;
}

/* Floating label moves up when input is focused or has a value */
.custom-date-input:focus~label,
.custom-date-input:valid~label {
    top: 5px;
    font-size: 12px;
    background: white;
    padding: 0 5px;
}

/* Custom calendar icon */
.custom-icon {
    position: absolute;
    top: 50%;
    right: 15px;
    transform: translateY(-50%);
    color: var(--icon-color);
    font-size: 20px;
    cursor: pointer;
}

/* Hides "mm/dd/yyyy" when input is empty */
.custom-date-input:empty::before {
    content: "";
}

.input-group .icon {
    position: absolute !important;
    top: 50% !important;
    right: 15px !important;
    transform: translateY(-50%) !important;
    color: var(--icon-color) !important;
    font-size: 20px !important;
    z-index: 999999 !important;
}

.custom-number-btn {
    width: 60% !important;
    background: rgb(240, 240, 240);
    border: none;
    padding: 1px 1px !important;
    cursor: pointer;
    font-size: 22px;
    color: #343434;
    font-weight: 900;
    transition: background 0.3s;
}

.custom-number-btn:hover {
    background: #bbbbbb;
}

/* Custom select wrapper */
.custom-select-group {
    position: relative;
    margin: 20px 0;
}

/* Custom select styling */
.custom-select-group select {
    width: 100%;
    height: 50px;
    font-size: 16px;
    color: #000;
    padding: 10px 40px 10px 15px;
    background-color: #f5f5f5;
    border: 2px solid transparent;
    outline: none;
    border-radius: 5px;
    appearance: none;
    /* Hide default dropdown arrow */
    cursor: pointer;
}

/* Floating label for select */
.custom-select-group label {
    position: absolute;
    top: 50%;
    left: 15px;
    transform: translateY(-50%);
    font-size: 16px;
    color: rgb(125, 54, 0);
    padding: 0 5px;
    pointer-events: none;
    transition: 0.3s ease-in-out;
    background: white;
}

/* Move label up when an option is selected */
.custom-select-group select:focus~label,
.custom-select-group select:not(:invalid)~label {
    top: 5px;
    font-size: 12px;
    background: white;
    padding: 0 5px;
}

/* Custom dropdown arrow */
.custom-select-icon {
    position: absolute;
    top: 50%;
    right: 15px;
    transform: translateY(-50%);
    color: rgb(133, 131, 232);
    font-size: 18px;
    pointer-events: none;
}

.custom-number-input input {
    text-align: start;
    border: none;
    width: 100%;
    flex-grow: 1;
    padding: 8px 10px;
    font-size: 16px;
}

.custom-number-input input:focus {
    outline: none;
}

.custom-number-input input::-webkit-outer-spin-button,
.custom-number-input input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.custom-number-input input[type=number] {
    -moz-appearance: textfield;
    /* Hide default arrows in Firefox */
}

.a-ride-active {
    /* background-color: #837c23 !important; */
    background-color: #99b42c !important;
    color: #fff !important;
}

.a-ride-active .las {
    color: rgb(255, 255, 255) !important;
}

@media (min-width: 992px) {
    .fww-bold {
        font-weight: 500 !important;
    }

    .fss-5 {
        font-size: 1.25rem !important;
    }
}

/* 🔹 Background Blur Effect */
.popup-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    /* Dark blur effect */
    backdrop-filter: blur(10px);
    /* Smooth blur */
    display: flex;
    justify-content: center;
    align-items: center;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s ease-in-out, visibility 0.3s;
    z-index: 9999;
    /* Ensures it's above all elements */
}

/* 🔹 Image Zoom Animation */
.popup-content {
    position: relative;
    max-width: 90%;
    max-height: 90vh;
    transform: scale(0.8);
    transition: transform 0.3s ease-in-out;
}

.popup-container.show {
    visibility: visible;
    opacity: 1;
}

.popup-container.show .popup-content {
    transform: scale(1);
}

/* 🔹 Responsive Zoomed Image Styling */
#popupImage {
    width: 100%;
    height: auto;
    max-width: 600px;
    max-height: 80vh;
    border-radius: 8px;
}

/* 🔹 Close Button (Inside Top-Right Corner, Circle) */
.close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 35px;
    height: 35px;
    font-size: 24px;
    color: white;
    background: rgb(0, 0, 0);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
}

.close-btn:hover {
    background: rgba(255, 255, 255, 0.6);
    transform: scale(1.1);
}

/* 🔹 Zoom Out Effect */
.popup-container.hide {
    opacity: 0;
    transform: scale(0.8);
    visibility: hidden;
}


.card-body span {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
    line-height: 1.4em;
    max-height: 2.8em;
}

.square-box {
    height: 300px;
    border-radius: 20px;
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    background-color: #fff !important;
}

.vehicle-bg {
    background-color: #f6ffd0;
    border-radius: 20px;
}

.vehicle-f {
    border-bottom: 2px dashed #464646;
    padding-top: 10px;
    padding-bottom: 10px;
}

.gg-2 {
    background-image: url('../img/bgbg.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.gg-3 {
    background-image: url('../img/bgbg.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: -60%;
}

.gg-4 {
    background-image: url('../img/pb.png');
    background-size: fill;
    background-repeat: no-repeat;
    background-position: center;
}

.review-panel {
    border-radius: 20px !important;
}

.scrolling-container {
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
}

/* Adding a blur effect using linear-gradient for the left and right edges */
.scrolling-container::before,
.scrolling-container::after {
    content: '';
    position: absolute;
    top: 0;
    width: 200px;
    /* Adjust the width of the blur effect */
    height: 100%;
    z-index: 2;
    background: linear-gradient(to right, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0));
    /* Left side blur */
}

.scrolling-container::after {
    right: 0;
    background: linear-gradient(to left, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0));
    /* Right side blur */
}

.scrolling-text {
    display: inline-block;
    white-space: nowrap;
    width: 300px;
    animation: scroll-left 3s linear infinite;
}

@keyframes scroll-left {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-100%);
    }
}

.blur-container {
    position: relative;
    width: 100%;
    height: 200px;
    /* Adjust as needed */
    background: #fff;
    /* Background color */
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Cloud-like shadow on both sides */
.blur-container::before,
.blur-container::after {
    content: '';
    position: absolute;
    top: 0;
    width: 0px;
    /* Adjust shadow width */
    height: 100%;
    z-index: 2;
    box-shadow: 0 0 50px 50px rgba(255, 255, 255, 1);
}

.blur-container::before {
    left: 0;
}

.blur-container::after {
    right: 0;
}

.form-inputs {
    padding-top: 20px !important;
}

.input-section-paddings {
    margin-top: -20px !important;
}

/* Medium (≥768px) */
@media (min-width: 768px) {
    .form-inputs {
        padding-top: 50px !important;
    }
}

/* Large (≥992px) */
@media (min-width: 992px) {
    .hero-padding-left {
        padding-top: 50px !important;
        padding-left: 70px !important;
    }
}



.floating-number-input {
    position: relative;
    margin-top: 20px;
}

.floating-number-input input {
    padding-top: 30px !important;
    padding-bottom: 30px !important;
    padding-left: 15px;
    padding-right: 110px;
    font-size: 16px;
    border: 1px solid transparent !important; 
    background-color: #F3F3F3;
    border-radius: 15px;
}

.floating-number-input label {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    padding: 0 5px;
    color: #535353;
    transition: all 0.5s ease;
    pointer-events: none;
}

.floating-number-input input:focus+label,
.floating-number-input input:not(:placeholder-shown)+label {
    top: -0.1rem;
    left: 1rem;
    font-size: 15px;
    color: #333;
    background-color: #fff;
}

.floating-number-input input:focus {
    border: 1px solid rgb(0, 0, 0) !important;
    box-shadow: none;
    background-color: #F3F3F3;
}

.floating-number-input .right-buttons {
    position: absolute;
    right: 0.5rem;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    gap: 0.25rem;
    align-items: center;
}

.floating-number-input .btn-icon {
    background: transparent;
    padding-right: 10px;
    border: 1px solid #000;
    border: none;
    font-size: 1.3rem;
    color: rgb(22, 22, 22);
    cursor: pointer;
    font-weight: 900;
}

.floating-number-input .icon {
    font-size: 1.25rem;
    padding-right: .3rem;
    color: #99B42C;
}

input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}