*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}
:root{
    /* --primary-color: #2f6a00;
    --secondary-color: #dcf5c9; */
    --primary-color: #f99904;
    --secondary-color: #f5ebc9;

    --text-color: rgb(17, 17, 17);

    --error-color: rgb(228, 18, 18);
}
body{
    font-family: "Poppins", "Roboto", sans-serif;
    font-weight: 500;
    background: rgb(248, 248, 248);
    color: var(--text-color);
    scroll-behavior: smooth;
    min-height: 100dvh;
    background-image: url("./assets/images/yellow-black-sign-taxi-placed-top-car-night.jpg");
    background-image: url("./assets/images/lexi-anderson-G8wPrJyNqWQ-unsplash.jpg");
    background-image: url("./assets/images/R\ \(3\).jpg");
    /* background-image: url("./assets/images/many-taxi-cabs-parked-in-a-dark-wet.jpg"); */
    background-position: center;
    background-size: cover;
}

/* common class start */
/* main{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
} */
section{
    margin: 20px 0;
}
section > .section-title{
    text-align: center;
    font-size: 27px;
    font-weight: 600;
    margin-bottom: 20px;
    padding: 20px;
    background: linear-gradient(45deg, #ffa805, #fdd642);
}
.form-required-asterisk{
    color: var(--error-color);
}
/* common class end */

/* Validation error styling */
.error-text {
  color: #dc3545;       /* Bootstrap red */
  font-size: 0.875rem;  /* Slightly smaller text */
  margin-top: 4px;
  display: block;
}

/* Highlight invalid fields */
.is-invalid {
  border-color: #dc3545 !important;
}

/* header style start */
header{
    background: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.041);
    /* padding: 5px 10px; */
}
header > .container{
    display: flex;
    align-items: center;
    justify-content: space-between;
}
header > .container > .brand-logo > a{
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 20px;
    color: unset;
    font-size: 23px;
}
header > .container > .brand-logo img{
    height: 80px;
    width: 80px;
    object-fit: contain;
    object-position: center;
}
header > .container > .contact-details{
    display: flex;
    align-items: center;
    gap: 20px;
}
header > .container > .contact-details a{
    text-decoration: none;
    color: unset;
}
header > .container > .contact-details a > .fa-solid{
    color: var(--primary-color);
    font-size: 16px;
}
header > .container > .contact-details a:hover{
    text-decoration: underline;
    color: var(--primary-color);
}
header > .container > .contact-details > .phone{
    display: flex;
    align-items: center;
    gap: 10px;
}
header > .container > .contact-details > .phone > .separator{
    height: 27px;
    width: 2px;
    background: rgb(218 218 218);
}
/* header style end */

/* booking form section style start */
.booking-form-section{
    position: relative;
    width: calc(100dvw - 30%);
    margin: 40px auto;
    background: #fff;
    /* border: 1px solid rgb(240, 240, 240); */
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.041);
    /* padding: 20px; */
    border-radius: 20px;
    overflow: hidden;
}
.booking-form-section .input-group-text{
    min-width: 50px;
    align-items: center;
    justify-content: center;
    /* background: var(--secondary-color);
    border: 1px solid var(--secondary-color);
    color: var(--primary-color); */
    background: #ababab2b;
    border: 1px solid #ababab2b;
    color: #f49415;
    font-size: 18px;
}
.booking-form-section .form-control:focus{
    box-shadow: none;
    border-color: var(--primary-color)
}
.booking-form-section .submit-btn{
    border: none;
    background: var(--primary-color);
    color: #fff;
    width: calc(100% - 70%);
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: 600;
}
.booking-form-section .vehicle-type-list{
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
    gap: 10px;
}
.booking-form-section .vehicle-type-list > .item{
    flex-grow: 1;
    flex-basis: 100px;
}
.booking-form-section .vehicle-type-list > .item > input{
    display: none;
}
.booking-form-section .vehicle-type-list > .item > label{
    background: rgb(247, 247, 247);
    border: 1px solid rgb(220, 220, 220);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    border-radius: 10px;
    min-height: 80px;
    cursor: pointer;
    text-align: center;
}
.booking-form-section .vehicle-type-list > .item:has(input:checked) > label{
    background: var(--secondary-color);
    color: var(--primary-color);
    border-color: var(--primary-color);
}
#booking_form{
    padding: 20px 25px;
}
#booking_form > .row > div{
    transition: .5s;
}
#booking_form > .row > div:has(input.error){
    margin-bottom: 35px !important;
}
#booking_form input.error{
    border-color: transparent;
    border-right: 5px solid var(--error-color);
    background: rgba(from var(--error-color) r g b / 0.05);
}
#booking_form label.error{
    all: unset;
    position: absolute;
    font-size: 14px;
    color: var(--error-color);
}

/* booking form section style end */

/* footer style start */
footer{
    /* position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%); */
    padding: 10px;
    color: #fff;
}
/* footer style end */


/* form submission notification style start*/
.form-submission-notification{
    position: fixed;
    bottom: 50px;
    right: 10px;
    background: #2ce065;
    z-index: 9;
}
/* form submission notification style end*/

@media screen and (max-width:991px) {
    .booking-form-section{
        width: calc(100dvw - 20%);
    }
    header > .container{
        flex-direction: column-reverse;
        gap: 3px;
        padding-top: 10px;
        max-width: 100%;
        padding: 0;
    }
    header > .container > .contact-details{
        background: #fbf6e1;
        width: 100%;
        justify-content: center;
        padding: 5px;
    }
}
@media screen and (max-width:768px) {

    .booking-form-section .submit-btn{
        width: 100%;
    }
    body{
        font-size: 14px;
    }
    main,
    footer{
        position: relative;
        top: 0;
        left: 0;
        transform: none;
    }
}
@media screen and (max-width:550px) {
    header > .container > .contact-details{
        flex-direction: column-reverse;
        gap: 5px;
        padding-top: 10px;
    }
}
@media screen and (max-width:425px) {
    .booking-form-section{
        width: calc(100dvw - 10%);
    }
}