/* ===============================
   GLOBAL
================================ */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:'Poppins',sans-serif;
}

body{
    overflow-x:hidden;
    background:#fff;
    scroll-behavior:smooth;
}

a{
    text-decoration:none;
}

/* ===============================
   NAVBAR
================================ */

header{
    width:100%;
    height:80px;
    background:#fff;
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:0 90px;
    position:fixed;
    top:0;
    left:0;
    z-index:1000;
    box-shadow:0 5px 20px rgba(0,0,0,.05);
}

.logo{
    display:flex;
    flex-direction:column;
    line-height:1;
}

.logo h2{
    font-size:34px;
    font-weight:800;
    color:#163c8c;
    letter-spacing:-1px;
}

.logo span{
    font-size:14px;
    letter-spacing:5px;
    font-weight:600;
    color:#163c8c;
}

nav ul{
    display:flex;
    list-style:none;
    gap:50px;
}

nav ul li a{
    text-decoration:none;
    color:#222;
    font-size:16px;
    font-weight:500;
    transition:.3s;
}

nav ul li a:hover,
nav ul li a.active{
    color:#d4a22c;
}

/* ===============================
   HERO
================================ */

.hero{
    width:100%;
    height:100vh;
    display:flex;
    margin-top:80px;
    position:relative;
}

/* ===============================
   LEFT SIDE
================================ */

.left{
    width:50%;
    background:#fff;
    position:relative;
    display:flex;
    flex-direction:column;
    justify-content:center;
    padding-left:110px;
    overflow:hidden;
}

/* Background Shapes */

.shape{
    position:absolute;
    background:#f6f6f6;
    transform:rotate(40deg);
    z-index:0;
}

.shape1{
    width:600px;
    height:600px;
    left:-420px;
    top:-180px;
}

.shape2{
    width:350px;
    height:350px;
    left:-180px;
    bottom:-160px;
}

.left small,
.left h1,
.left p,
.left .btn,
.left .dots{
    position:relative;
    z-index:5;
}

.left small{
    color:#d4a22c;
    letter-spacing:3px;
    font-size:16px;
    font-weight:600;
    margin-bottom:20px;
    display:block;
}

.left h1{
    font-size:72px;
    line-height:1.1;
    color:#163c8c;
    margin-bottom:30px;
    font-weight:700;
}

.left p{
    width:430px;
    font-size:20px;
    line-height:1.8;
    color:#6b6b6b;
    margin-bottom:45px;
}

/* ===============================
   BUTTON
================================ */

.btn{
    width:260px;
    height:65px;
    border-radius:50px;
    background:linear-gradient(135deg,#e8bb4c,#d4a22c);
    display:flex;
    justify-content:center;
    align-items:center;
    color:#18163d;
    text-decoration:none;
    font-weight:700;
    letter-spacing:1px;
    font-size:15px;
    box-shadow:0 10px 25px rgba(212,162,44,.3);
    transition:.35s;
}

.btn:hover{
    transform:translateY(-3px);
    box-shadow:0 14px 30px rgba(212,162,44,.42);
}

/* ===============================
   SLIDER DOTS
================================ */

.dots{
    display:flex;
    gap:15px;
    margin-top:60px;
}

.dots span{
    width:12px;
    height:12px;
    border-radius:50%;
    border:2px solid #b7bcce;
    transition:.3s;
}

.dots .active{
    background:#d4a22c;
    border-color:#d4a22c;
}

/* ===============================
   RIGHT SIDE
================================ */

.right{
    width:50%;
    position:relative;
    overflow:hidden;
}

.city{
    width:100%;
    height:100%;
    object-fit:cover;
}

/* ===============================
   FLOATING CAR
================================ */

.homecar{
    position:absolute;
    width:760px;
    bottom:30px;
    left:50%;
    transform:translateX(-18%);
    z-index:50;
    filter:drop-shadow(0 30px 30px rgba(0,0,0,.35));
}

/* ===============================
   AVAILABLE EVs CAROUSEL
================================ */

.evs-section{
    padding:80px 8%;
}

.evs-heading{
    display:flex;
    align-items:center;
    justify-content:space-between;
    margin-bottom:32px;
}

.evs-heading h2{
    font-size:32px;
    font-weight:800;
    color:#163c8c;
}

.show-more{
    color:#163c8c;
    font-weight:600;
    font-size:15px;
    transition:.25s;
}

.show-more:hover{
    color:#d4a22c;
}

.evs-carousel-wrap{
    position:relative;
}

.evs-track{
    display:flex;
    gap:24px;
    overflow-x:auto;
    scroll-snap-type:x mandatory;
    -webkit-overflow-scrolling:touch;
    scrollbar-width:none;
    padding-bottom:4px;
}

.evs-track::-webkit-scrollbar{
    display:none;
}

.ev-card{
    flex:0 0 300px;
    scroll-snap-align:start;
    background:#fff;
    border:1px solid #eee;
    border-radius:16px;
    overflow:hidden;
    box-shadow:0 8px 26px rgba(0,0,0,.06);
    transition:.3s;
}

.ev-card:hover{
    transform:translateY(-8px);
    box-shadow:0 18px 40px rgba(0,0,0,.12);
}

.ev-image-wrap{
    position:relative;
}

.ev-image-wrap img{
    width:100%;
    height:190px;
    object-fit:cover;
    display:block;
}

.ev-badge{
    position:absolute;
    top:12px;
    left:12px;
    background:rgba(16,22,58,.85);
    color:#fff;
    font-size:11px;
    font-weight:600;
    letter-spacing:.3px;
    padding:5px 12px;
    border-radius:20px;
}

.ev-favorite{
    position:absolute;
    top:12px;
    right:12px;
    width:34px;
    height:34px;
    border-radius:50%;
    border:none;
    background:rgba(255,255,255,.92);
    box-shadow:0 4px 10px rgba(0,0,0,.15);
    display:flex;
    align-items:center;
    justify-content:center;
    color:#333;
    cursor:pointer;
    transition:.25s;
}

.ev-favorite svg{
    width:16px;
    height:16px;
}

.ev-favorite:hover{
    color:#d4383e;
}

.ev-favorite.active{
    color:#d4383e;
}

.ev-favorite.active svg{
    fill:#d4383e;
}

.ev-info{
    padding:18px 18px 22px;
}

.ev-condition{
    font-size:12px;
    color:#888;
    text-transform:uppercase;
    letter-spacing:.5px;
    margin-bottom:4px;
}

.ev-info h3{
    font-size:18px;
    color:#18163d;
    margin-bottom:6px;
}

.ev-trim{
    font-size:13px;
    color:#666;
    margin-bottom:12px;
}

.ev-price{
    font-size:22px;
    font-weight:700;
    color:#18163d;
    margin-bottom:2px;
}

.ev-est{
    font-size:13px;
    color:#163c8c;
    font-weight:600;
    margin-bottom:12px;
}

.ev-tag{
    display:inline-block;
    background:#eaf6ec;
    color:#1a7f37;
    font-size:11px;
    font-weight:600;
    padding:5px 12px;
    border-radius:20px;
    margin-bottom:16px;
}

.ev-details{
    display:block;
    text-align:center;
    background:linear-gradient(135deg,#1c4aa8,#102c6e);
    color:#fff;
    font-weight:700;
    font-size:14px;
    padding:12px 0;
    border-radius:8px;
    text-decoration:none;
    transition:.3s;
}

.ev-details:hover{
    transform:translateY(-2px);
    box-shadow:0 8px 20px rgba(16,44,110,.3);
}

.evs-arrow{
    position:absolute;
    top:38%;
    transform:translateY(-50%);
    width:40px;
    height:40px;
    border-radius:50%;
    border:none;
    background:#fff;
    box-shadow:0 6px 16px rgba(0,0,0,.15);
    color:#163c8c;
    font-size:22px;
    line-height:1;
    display:flex;
    align-items:center;
    justify-content:center;
    cursor:pointer;
    z-index:5;
}

.evs-arrow.prev{
    left:-8px;
}

.evs-arrow.next{
    right:-8px;
}

/* ===============================
   FOOTER
================================ */

footer{
    background:#10163a;
    color:#c7cbdd;
    padding:70px 8% 0;
}

.footer-grid{
    display:grid;
    grid-template-columns:2fr 1fr 1fr;
    gap:50px;
    padding-bottom:50px;
    border-bottom:1px solid rgba(255,255,255,.08);
}

.footer-grid h2{
    color:#fff;
    font-size:22px;
    margin-bottom:16px;
    letter-spacing:1px;
}

.footer-grid h3{
    color:#fff;
    font-size:16px;
    margin-bottom:18px;
}

.footer-grid > div > p{
    line-height:1.8;
    font-size:14px;
    color:#a8adc4;
}

.footer-grid > div a{
    display:block;
    color:#a8adc4;
    font-size:14px;
    margin-bottom:12px;
    transition:.25s;
}

.footer-grid > div a:hover{
    color:#d4a22c;
}

.copyright{
    text-align:center;
    padding:24px 0;
    font-size:13px;
    color:#8087a3;
}

/* ===============================
   RESPONSIVE
================================ */

@media(max-width:1200px){

header{
    padding:0 50px;
}

.left{
    padding-left:70px;
}

.left h1{
    font-size:55px;
}

.homecar{
    width:620px;
}

}

@media(max-width:900px){

header{
    padding:20px;
}

nav ul{
    gap:25px;
}

.hero{
    flex-direction:column;
    height:auto;
}

.left,
.right{
    width:100%;
}

.left{
    padding:120px 40px 70px;
}

.left p{
    width:100%;
}

.right{
    height:500px;
}

.homecar{
    position:relative;
    width:95%;
    left:50%;
    transform:translateX(-50%);
    bottom:220px;
}

.footer-grid{
    padding-bottom:40px;
}

.evs-section{
    padding:60px 6%;
}

.evs-heading h2{
    font-size:26px;
}

.evs-arrow{
    display:none;
}

.ev-card{
    flex:0 0 78%;
}

}

@media(max-width:600px){

header{
    padding:0 16px;
}

.logo{
    flex-shrink:0;
}

.logo h2{
    font-size:20px;
}

.logo span{
    font-size:9px;
    letter-spacing:2px;
}

nav{
    flex:1;
    overflow-x:auto;
    -webkit-overflow-scrolling:touch;
    scrollbar-width:none;
    margin-left:12px;
}

nav::-webkit-scrollbar{
    display:none;
}

nav ul{
    gap:16px;
    flex-wrap:nowrap;
    width:max-content;
}

nav ul li{
    flex-shrink:0;
}

nav ul li a{
    font-size:13px;
    white-space:nowrap;
}

.left{
    padding:110px 24px 60px;
}

.left h1{
    font-size:38px;
}

.left p{
    font-size:16px;
    margin-bottom:32px;
}

.btn{
    width:220px;
    height:56px;
    font-size:14px;
}

.right{
    height:360px;
}

.homecar{
    width:90%;
    bottom:160px;
}

.footer-grid{
    grid-template-columns:1fr;
    gap:32px;
}

}