@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,300;0,400;0,600;0,800;0,900;1,500&family=Poppins:wght@200;300;500;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-padding-top: 2rem;
    scroll-behavior: smooth;
    list-style: none;
    text-decoration: none;
    font-family: sans-serif;
}

:root {
    --main-color: orangered;
    --second-color: orange;
    --text-color: #444;
    --gratient: linear-gradient(orangered, orange);
}

body {
    background-color: #343f4f !important;
    color: #fff !important;
    overflow-x: hidden;
}

/*.home page.*/
.nav {
    position: fixed !important;
}

.container-fluid {
    background-color: rgb(15, 12, 12);
    border-radius: 10px;
}

.nav-item::after {
    content: '';
    height: 5px;
    color: orangered;
    width: 100%;
}

.navbar-brand {
    font-size: 28px !important;
    padding-right: 100px;
    color: #fff !important;
    border-left: 2px solid #ff4500;
}

.navbar-brand span{
     color: #ff4500 !important;
}

.navbar-brand:hover{
    font-size: 28px !important;
    padding-right: 100px;
    color: #fff !important;
    border-left: 2px solid #ff4500 !important;
    background: transparent !important;
}

.navbar-brand:hover span{
    color: #ff4500 !important;
}

.dropdown-menu {
    background-color: rgb(56, 49, 49) !important;
    color: white !important;
    transition: .5s;
}

.dropdown-menu:hover {
    color: orangered !important;
}

a {
    color: white !important;
    font-size: 18px !important;
    transition: .5s;
}

a:hover {
    color: orangered;
    border-bottom: 1px solid white;
}

h3 {
    color: #fefefe;
    word-spacing: 15px;
    transition: .5s;
}

h3:hover {
    color: orangered;
}

.icons {
    display: flex !important;
    padding-left: 30px;
    margin-top: 15px;
}

.fa {
    padding-left: 30px;
    font-size: 20px !important;
}

.logo {
    color: orangered !important;
    transition: .5s;
}

.logo:hover {
    color: white !important;
}

.search-box {
    position: relative;
    margin-left: 140px;
    margin-top: -9px;
}

.search-box input {
    width: 300px;
    height: 40px;
    border: none;
    outline: none;
    background-color: white;
    border-radius: 30px;
    font-size: 16px;
    position: relative;
    display: block;
    padding: 20px;
}

.search-box button {
    cursor: pointer;
    width: 40px;
    height: 40px;
    border-radius: 30px;
    border: none;
    position: absolute;
    top: 0;
    left: 87%;
    background-color: orangered;
}

.search-box i {
    color: white;
    margin-right: 50px;
    position: absolute;
    top: 10px;
    right: 0;
    left: -42%;
}

/* custom scroll bar */
html::-webkit-scrollbar {
    width: 0.5rem;
}

html::-webkit-scrollbar-track {
    background: transparent;
}

html::-webkit-scrollbar-thumb {
    background: var(--main-color);
    border-radius: 5rem;
}

section {
    padding: 50px 100px;
}

.home {
    width: 100%;
    min-height: 100vh;
    position: relative;
    background: url(pictures/home/maincar.jpeg.png);
    background-repeat: no-repeat;
    background-position: center right;
    background-size: cover;
    display: grid;
    align-items: center;
    grid-template-columns: repeat(2, 1fr);
}


.text h1 {
    font-size: 3.5rem;
    letter-spacing: 2px;
}

.text span {
    color: var(--main-color);
}

.text p {
    margin: 00.5rem 0 1rem;
}

.app-stores {
    display: flex;
}

.app-stores img {
    width: 100px;
    margin-right: 1rem;
    cursor: pointer;
}

.form-container form {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
    position: absolute;
    bottom: 4rem;
    left: 100px;
    background: #1b2027;
    padding: 20px;
    border-radius: 0.5rem;
}

.input-box {
    flex: 1 1 7rem;
    display: flex;
    flex-direction: column;
}

.input-box span {
    font-weight: 500;
}

.input-box input {
    padding: 7px;
    outline: none;
    border: none;
    background: #eeeff1;
    border-radius: 0, 5rem;
    font-size: 1rem;
}

.form-container form .btn {
    flex: 1 1 7rem;
    padding: 10px 34px;
    border: none;
    border-radius: 0.5rem;
    background: #14162a;
    color: #fff;
    font-size: 1rem;
    font-weight: 500;
    transition: background .5s ;
}

.form-container form .btn:hover {
    background: var(--main-color);
}

.heading {
    text-align: center;
}

.heading span {
    font-weight: 500;
    text-transform: uppercase;
}

.heading h1 {
    font-size: 2rem;

}

.ride-container {
    display: grid;
    align-items: center;
    grid-template-columns: repeat(auto-fit, minmax(250px, auto));
    gap: 1rem;
    margin-top: 2rem;

}

.ride-container .box {
    text-align: center;
    padding: 20px;
}

.ride-container .box .bx {
    font-size: 34px;
    padding: 10px;
    background: #343f4f;
    border-radius: 0.5rem;
    color: var(--main-color);
}

.ride-container .box .btn {
    font-size: 34px;
    padding: 10px;
    background: #eeeff1;
    border-radius: 0.5rem;
    color: var(--main-color);
}

.ride-container .box h2 {
    font-size: 1.3rem;
    font-weight: 500;
    margin: 1.4rem 0 0.5rem;
}

.ride-container .box .bx:hover,
.ride-container.box.bxs-calendar-check {
    background: var(--gratient);
    color: #fff;
}

.services-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, auto));
    gap: 1rem;
    margin-top: 2rem;
}

.services-container .box {
    padding: 10px;
    border-radius: 1rem;
    box-shadow: 1px 4px 41px rgba(0, 0, 0, 0, .1);
}

.services-container .box .box-img {
    width: 100%;
    height: 200px;

}

.services-container .box .box-img img {
    width: 100%;
    height: 100%;
    border-radius: 1rem;
    object-fit: cover;
    object-position: center;
}

.services-container .box p {
    padding: 0 10px;
    border: 1px solid var(--text-color);
    width: 58px;
    border-radius: 0.5rem;
    margin: 1rem 0 1rem;
}

.services-container .box h3 {
    font-weight: 500;
}

.services-container .box h2 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--main-color);
    margin: 0.2rem 0 0.5rem;
}

.services-container .box h2 span {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-color);
}

.services-container .box .btn {
    display: flex;
    justify-content: center;
    background: #14162a;
    color: #fff;
    padding: 10px;
    border-radius: 0.5rem;
    transition: .5s;
}

.services-container .box .btn:hover {
    background: var(--main-color);
    color: #fff !important;
}

.about-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    margin-top: 2rem;
    align-items: center;
    gap: 1rem;
    margin-top: 1rem;
}

.about-img img {
    width: 100%;
}

.about-text span {
    font-weight: 500;
    color: var(--main-color);
    text-transform: uppercase;
}

.about-text p {
    margin: 0.5rem 0 1.4rem;
}

.about-text .btn {
    padding: 10px 20px;
    background: #14162a;
    color: #fff;
    border-radius: 0.5rem;
    transition: .5s;
}

.about-text .btn:hover {
    background: var(--main-color);

}

.reviews-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, auto));
    gap: 1rem;
    margin-top: 2rem;
}

.rev-img {
    width: 70px;
    height: 70px;

}

.rev-img img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    object-position: center;
    border: 2px solid var(--second-color);
}

.reviews-container .box {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px;
    box-shadow: 1px 4px 41px rgba(0, 0, 0, 0.1);
    border-radius: 0.5rem;
}

.reviews-container .box h2 {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0.5rem 0 0.5rem;
}

.reviews-container .box p {
    font-style: italic;
}

.reviews-container .box .stars .bx {
    color: var(--main-color);

}

.newsletter {
    background: linear-gradient(to top right, orangered, rgb(245, 90, 34));
    display: flex;
    flex-direction: column;
    align-items: center;
}

.newsletter h2 {
    color: #fff;
    font-size: 1.8rem;
}

.newsletter .box {
    margin-top: 1rem;
    background: #fff;
    border-radius: 0.5rem;
    padding: 4px 8px;
    width: 350px;
    display: flex;
    justify-content: space-between;
}

.newsletter .box input {
    border: none;
    outline: none;
}

.newsletter .box .btn {
    background: #14162a;
    color: #fff;
    padding: 8px 20px;
    border-radius: 0.5rem;
}

.copyright {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.social a {
    color: #444;
    padding: 10px;
    font-size: 21px;
}

/*  responsive */
@media (max-width:991px) {
    header {
        padding: 18px 40px;

    }

    section {
        padding: 50px 40px;
    }

    .search-box {
        display: none;
    }


}

@media (max-width:881px) {
    .home {
        background-position: left;
    }

    .form-container form {
        bottom: 0.2rem;
        left: 40px;
    }



@media (max-width:768px) {
    header {
        padding: 11px 40px;
    }

    #menu-icon {
        display: initial;
    }

    .sign-up {
        display: none;
    }

    .text h1 {
        font-size: 2.5rem;
    }

    .home {
        grid-template-columns: 1fr;

    }

    .form-container form {
        position: unset;
    }

    header .navbar {
        position: absolute;
        top: -500px;
        left: 0;
        right: 0;
        display: flex;
        flex-direction: column;
        background: #343f4f;
        box-shadow: 0 4px 4px rgba(0, 0, 0, 0.1);
        transition: 0.2s ease;
        text-align: left;
    }

    .navbar.active {
        top: 100%;
    }

    .navbar a {
        padding: 1rem;
        margin: 1rem;
        display: block;
        transition: .5s;
    }

    .navbar a:hover {
        color: #fff !important;
        background: var(--main-color);
        border: none;
    }

    .navbar a::after {
        display: none;
    }

    .heading span {
        font-size: 0.9rem;
        font-weight: 600;
    }

    .heading h1 {
        font-size: 1.3rem;
    }

    .about-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .about-img {
        padding: 1rem;

    }
}

@media (max-width:568px) {
    .copyright {
        flex-direction: column;
    }

    .newsletter .box {
        width: 284px;
    }

    .form-container {
        padding-top: 2rem;
    }
}

@media (max-width:350px) {
    header {
        padding: 6px 14px;
    }

    .logo img {
        width: 30px;
    }

    section {
        padding: 50px 14px;
    }

    .header-btn .sign-in {
        padding: 7px 10px;
        font-size: 14px;
        font-weight: 400;
    }

    .text h1 {
        font-size: 2rem;
    }

    .services-container {
        grid-template-columns: repeat(auto-fit, minmax(254px, auto));
    }
}

.light-mode {
    color: #000;
    background-color: #fefefe;
}

.footer {
    width: 100%;
    height: 20%;
    background: linear-gradient(to top right, orangered, rgb(230, 111, 68));
    border-radius: 20px;
    text-align: center;
    justify-content: center;
    padding: 2%;
    margin-top: 30px;
}

#toggle-btn {
    padding: 15px;
    margin-top: 1%;
    border: #fefefe;
    border-radius: 20px;
    background-color: #fefefe;
    color: orangered;
    font-size: 26px;
}}