/* =====================================
   RideNest Premium Website
   Part 1 - Global + Header + Hero
===================================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{

    font-family:'Poppins',sans-serif;
    background:#F8FAFC;
    color:#111827;
    overflow-x:hidden;

}

a{

    text-decoration:none;

}

img{

    max-width:100%;

}

section{

    padding:90px 8%;

}

/* ==========================
   Header
========================== */

.navbar{

    width:100%;
    display:flex;
    justify-content:space-between;
    align-items:center;

    padding:18px 8%;

    background:#ffffff;

    position:sticky;
    top:0;

    z-index:1000;

    box-shadow:0 5px 20px rgba(0,0,0,.08);

}

.logo{

    display:flex;
    align-items:center;
    gap:15px;

}

.logo-icon{

    width:55px;
    height:55px;

    border-radius:14px;

    background:#2563EB;

    color:white;

    display:flex;
    justify-content:center;
    align-items:center;

    font-size:22px;
    font-weight:700;

}

.logo h2{

    font-size:28px;
    color:#111827;

}

.logo small{

    color:#64748B;
    font-size:13px;

}

nav{

    display:flex;
    gap:35px;

}

nav a{

    color:#374151;
    font-weight:600;
    transition:.3s;

}

nav a:hover{

    color:#2563EB;

}

/* ==========================
   Hero Section
========================== */
.hero{

    display:flex;
    justify-content:space-between;
    align-items:center;

    gap:70px;

    min-height:65vh;

    padding-top:40px;

    padding-bottom:40px;

}

.hero-text{

    flex:1;

}

.hero-badge{

    display:inline-block;

    background:#E0ECFF;

    color:#2563EB;

    padding:10px 18px;

    border-radius:30px;

    font-size:14px;

    font-weight:600;

    margin-bottom:25px;

}

.hero-text h1{

    font-size:58px;

    line-height:72px;

    margin-bottom:20px;

    color:#111827;

}

.hero-text p{

    font-size:20px;

    line-height:34px;

    color:#6B7280;

    margin-bottom:30px;

}

.hero-points{

    display:flex;

    flex-wrap:wrap;

    gap:15px;

    margin-bottom:35px;

}

.hero-points span{

    background:white;

    padding:10px 18px;

    border-radius:30px;

    box-shadow:0 8px 20px rgba(0,0,0,.08);

    font-size:14px;

    font-weight:500;

}

.buttons{

    display:flex;

    gap:20px;

    flex-wrap:wrap;

}

.btn{

    padding:16px 30px;

    border-radius:12px;

    font-weight:600;

    transition:.3s;

}

.btn:hover{

    transform:translateY(-4px);

}

.blue{

    background:#2563EB;

    color:white;

}

.white{

    background:white;

    color:#2563EB;

    border:2px solid #2563EB;

}

.hero-image{

    flex:1;

    display:flex;

    justify-content:center;

    align-items:center;

}

.hero-image i{

    font-size:170px;

    color:#2563EB;

    animation:floatCar 3s ease-in-out infinite;

}

@keyframes floatCar{

    0%{

        transform:translateY(0px);

    }

    50%{

        transform:translateY(-15px);

    }

    100%{

        transform:translateY(0px);

    }

}
/* =====================================
   Part 2 - Services, Why RideNest,
   Contact & Cards
===================================== */

/* ---------- Section Heading ---------- */

section h2{

    text-align:center;

    font-size:42px;

    color:#111827;

    margin-bottom:15px;

}

.section-subtitle{

    text-align:center;

    color:#6B7280;

    font-size:17px;

    margin-bottom:55px;

    line-height:28px;

}

/* ---------- Services ---------- */

.services{

    background:#ffffff;

}

.cards{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));

    gap:30px;

}

.card{

    background:white;

    padding:40px 30px;

    border-radius:20px;

    text-align:center;

    transition:.35s;

    box-shadow:0 10px 30px rgba(0,0,0,.08);

    border:1px solid #EEF2F7;

}

.card:hover{

    transform:translateY(-10px);

    box-shadow:0 18px 40px rgba(37,99,235,.15);

}

.card i{

    width:75px;

    height:75px;

    display:flex;

    justify-content:center;

    align-items:center;

    margin:auto;

    margin-bottom:22px;

    border-radius:50%;

    background:#EAF2FF;

    color:#2563EB;

    font-size:30px;

}

.card h3{

    font-size:24px;

    margin-bottom:15px;

    color:#111827;

}

.card p{

    color:#6B7280;

    line-height:28px;

    font-size:15px;

}

/* ---------- Why RideNest ---------- */

.why{

    background:#F8FAFC;

}

/* ---------- Contact ---------- */

.contact{

    background:#ffffff;

}

.contact-cards{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));

    gap:30px;

}

.contact-card{

    background:white;

    padding:35px;

    border-radius:18px;

    text-align:center;

    box-shadow:0 10px 30px rgba(0,0,0,.08);

    transition:.3s;

}

.contact-card:hover{

    transform:translateY(-8px);

    box-shadow:0 18px 40px rgba(37,99,235,.12);

}

.contact-card i{

    width:70px;

    height:70px;

    margin:auto;

    margin-bottom:20px;

    display:flex;

    justify-content:center;

    align-items:center;

    border-radius:50%;

    background:#EAF2FF;

    color:#2563EB;

    font-size:28px;

}

.contact-card h3{

    margin-bottom:10px;

    color:#111827;

}

.contact-card p{

    color:#6B7280;

    line-height:28px;

}
/* =====================================
   Part 3 - Footer + Responsive
===================================== */

/* ---------- Footer ---------- */

footer{

    background:#0F172A;

    color:#ffffff;

    padding:60px 20px;

    text-align:center;

}

.footer-content{

    max-width:700px;

    margin:auto;

}

.footer-content h2{

    color:white;

    margin-bottom:15px;

    font-size:34px;

}

.footer-content p{

    color:#CBD5E1;

    margin:10px 0;

    font-size:16px;

}

.footer-content small{

    display:block;

    margin-top:25px;

    color:#94A3B8;

}

/* ---------- Scrollbar ---------- */

::-webkit-scrollbar{

    width:8px;

}

::-webkit-scrollbar-thumb{

    background:#2563EB;

    border-radius:10px;

}

::-webkit-scrollbar-track{

    background:#E5E7EB;

}

/* ---------- Responsive ---------- */

@media(max-width:992px){

.hero{

    flex-direction:column;

    text-align:center;

    min-height:auto;

    padding-top:40px;

}

.hero-text h1{

    font-size:44px;

    line-height:58px;

}

.hero-text p{

    font-size:18px;

}

.hero-points{

    justify-content:center;

}

.buttons{

    justify-content:center;

}

.hero-image{

    margin-top:40px;

}

.hero-image i{

    font-size:170px;

}

nav{

    gap:20px;

    flex-wrap:wrap;

    justify-content:center;

}

.cards{

    grid-template-columns:1fr;

}

.contact-cards{

    grid-template-columns:1fr;

}

}

@media(max-width:768px){

.navbar{

    flex-direction:column;

    gap:20px;

}

.logo{

    justify-content:center;

}

nav{

    flex-direction:column;

    align-items:center;

    gap:15px;

}

.hero{

    gap:40px;

}

.hero-text h1{

    font-size:36px;

    line-height:48px;

}

.hero-text p{

    font-size:16px;

    line-height:28px;

}

.btn{

    width:100%;

    text-align:center;

}

.buttons{

    flex-direction:column;

}

.hero-image i{

    font-size:130px;

}

section{

    padding:70px 6%;

}

}

@media(max-width:480px){

.logo h2{

    font-size:24px;

}

.hero-text h1{

    font-size:30px;

    line-height:42px;

}

.hero-badge{

    font-size:12px;

}

.hero-points span{

    width:100%;

}

.card{

    padding:30px 20px;

}

.contact-card{

    padding:30px 20px;

}

.footer-content h2{

    font-size:28px;

}

}