@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

*{
    font-family: "Poppins", serif;
    margin: 0;
    padding: 0;
    list-style: none;
    box-sizing: border-box;
    scroll-padding-top: 2rem;
    scroll-behavior: smooth;
    text-decoration: none;
}
:root{
    --main-color: #fe5b3d;
    --second-color: #ffac38;
    --text-color:#444;
    --gradient: linear-gradient(#fe5b3d, #ffac38);
}
/*  Custom Scroollbar */

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;
}
header{
    position: fixed;
    width: 100%;
    top: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #eeeff1;
    padding: 15px 100px;
}
img{
    width: 40px;
}
.navbar{
    display: flex;

}
.navbar li{
    position: relative;
}
.navbar a{
    font-size: 1rm;
    padding: 10px 20px;
    color: var(--text-color);
    font-weight: 500;
}
.navbar a:hover::after{
    content: '';
    width: 0;
    height: 3px;
    background: var(--gradient);
    position: absolute;
    bottom: -4px;
    left: 0;
    transition: 0.5s;
}
.navbar a:hover::after{
    width: 100%;
}
#menu-icon{
    font-size: 24px;
    cursor: pointer;
    z-index: 10001;
    display: none;
}
.header-btn a{
    padding: 10px 20px;
    color: var(--text-color);
    font-weight: 500;
}
.header-btn .sign-in{
    background: #474fa0;
    color: #fff;
    border-radius: 0.rem;
}
.header-btn .sign-in:hover{
    background: var(--main-color);
}
.home{
    width: 100%;
    min-height: 100vh;
    position: relative;
    background: url(img/Car\ Website\ –\ 1@2x.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center right;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
}
.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: #fff;
    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;
   border-radius: 0.5rem;
   background: #eeeff1;
   font-size: 1rem;
}
.form-container form .btn{
    flex: 1 1 7rem;
    padding: 10px 34px;
    border: none;
    background: #474fa0;
    border-radius: 0.5rem;
    color: #fff;
    font-size: 1rem;
    font-weight: 500;
}
.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;
    justify-content: center; /* সব কিছু সেন্টারে রাখবে */
    grid-template-columns: repeat(auto-fit, minmax(250px, auto));
    gap: 1rem;
    margin-top: 2rem;
}

.ride-container .box {
    padding: 20px;
    display: flex; /* Flex করে নিচের সব কিছু সেন্টার করা সহজ হবে */
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center; /* টেক্সট সেন্টারে রাখবে */
}

.ride-container .box .bx {
    font-size: 34px;
    padding: 20px;
    background: #eeeff1;
    border-radius: 0.5rem;
    color: var(--main-color);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 70px; /* সার্কুলার ব্যাকগ্রাউন্ড ঠিক রাখতে */
    height: 70px;
}

.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-calender-stars {
    background: var(--gradient);
    color: #fff;
}



.services-container{
    display: grid;
    align-items: center;
    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%;
    object-fit: cover;
    object-position: center;
    border-radius: 1rem;
}
.services-container .box p{
    padding: 0 10px;
    width: 58px;
    border-radius: 0.5rem;
    margin: 1rem 0 1rem;
    background: var(--gradient);
    color: #fff;
}
.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;
    background: #474fa0;
    color: #fff;
    justify-content: center;
    padding: 10px;
    border: 0.5rem;
}
.services-container .box .btn:hover{
    background: var(--main-color);
}
.about-container{
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 1rem;
    margin-top: 1rem;
    align-items: center;
}
.about-container 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{
    background: #474fa0;
    color: #fff;
    padding: 10px 20px;
    border-radius: 0.5rem;
}
.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;
}
.reviews-container .box{
    padding: 20px;
    border-radius: 0.5rem;
    text-align: center;
    box-shadow: 1px 4px 41px rgba(0,0,0,0.1);
}
.reviews-container img{
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
}
.reviews-container h3{
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0.5rem 0 0.5rem;
}
.reviews-container .box p{
    font-style: italic;
}
.reviews-container .box .reviews-icon .bx{
    color: var(--main-color);
}
.newsletter{
    background: linear-gradient(to top right, #fe5b3d, #ffac38);
    display: flex;
    flex-direction: column;
    align-items: center;
}
.newsletter h2{
    color: #fff;
    font-size: 1.8rem;
}
.newsletter .box {
    margin-top: 1rem;
    background: #fff;
    padding: 4px 8px;
    width: 350px;
    display: flex;
    justify-content: space-between;

}
.newsletter .box input{
    outline: none;
    border: none;

}
.newsletter .box .btn{
    background: #474fa0;
    color: #fff;
    padding: 8px 20px;
    border-radius: 0.5rem;
}
.newsletter .box .btn:hover{
    background: var(--main-color);
}
.copyright{
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.social a{
    color: #444;
    padding: 10px;
    font-size: 21px;
} 

/* Footer Styles */
.footer {
    background: #2d2d2d;
    color: #fff;
    padding: 50px 10%;
    margin-top: 100px;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: space-between;
}

.footer-col {
    flex: 1;
    min-width: 250px;
}

.footer-col h3 {
    color: #ff4d30;
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.footer-col h4 {
    color: #fff;
    margin-bottom: 15px;
    text-transform: uppercase;
    border-bottom: 2px solid #ff4d30;
    padding-bottom: 5px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: #ddd;
    text-decoration: none;
    transition: 0.3s;
}

.footer-col ul li a:hover {
    color: #ff4d30;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    color: #fff;
    font-size: 24px;
    transition: 0.3s;
}

.social-links a:hover {
    color: #ff4d30;
}

.copyright {
    text-align: center;
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid #444;
}

/*    Making Rsponsive  */

@media (max-width:991px){
    header{
        padding: 18px 40px;
    }
    section{
       padding: 50px 40px; 
    }
}
@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;
        margin-top: 10rem;
    }

    .home {
        grid-template-columns: 1fr;
        text-align: center;
        background-position: top center; /* Image উপরে দেখাবে */
        background-size: contain; /* Image সম্পূর্ণ দেখাবে */
        min-height: 60vh;
        margin-top: 35px;
    }

    .form-container form {
        position: unset;
    }

    header .navbar {
        position: absolute;
        top: -500px;
        left: 0;
        right: 0;
        display: flex;
        flex-direction: column;
        background: #fff;
        box-shadow: 0 4px 4px rgba(0, 0, 0, 0.1);
        transition: 0.2s;
        text-align: left;
    }

    .navbar.active {
        top: 100%;
    }

    .navbar a {
        padding: 1rem;
        border-left: 2px solid var(--main-color);
        margin: 1rem;
        display: block;
    }

    .navbar a:hover {
        color: #fff;
        background: var(--main-color);
        border: none;
    }

    .navbar a::after {
        display: none;
    }

    /* ✅ About Section Responsive Fix */
    .about-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .about-container img {
        width: 100%;
        max-height: 250px;
        object-fit: cover;
        border-radius: 10px; /* সুন্দর লুকের জন্য */
    }

    .about-text {
        width: 90%;
        padding: 10px;
    }

    .about-text h2 {
        font-size: 1.5rem;
    }

    .about-text p {
        font-size: 1rem;
        line-height: 1.5;
    }
}
