/* ===========================
   ABOUT PAGE - Karen Motors
===========================*/

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{
    background:#0b0b0b;
    color:#fff;
    font-family:Tahoma,sans-serif;
}

/* ===========================
   HERO
===========================*/

.about-hero{

    width:100%;

    height:100vh;

    margin-top:90px;

    background:url("assets/Images/about-hero.jpg") center top / cover no-repeat;

    position:relative;

}

.about-overlay{

    position:absolute;

    inset:0;

    background:linear-gradient(to left,
    rgba(0,0,0,.65),
    rgba(0,0,0,.15));

    display:flex;

    justify-content:flex-end;

    align-items:center;

}

.about-text{

    width:460px;

    margin-right:9%;

    padding:40px;

    background:rgba(0,0,0,.35);

    backdrop-filter:blur(12px);

    border:1px solid rgba(212,175,55,.35);

    border-radius:20px;

}

.about-text .line{

    width:80px;

    height:3px;

    background:#d4af37;

    margin-bottom:20px;

}

.about-text h1{

    color:#d4af37;

    font-size:38px;

    margin-bottom:20px;

}

.about-text h2{

    font-size:21px;

    line-height:1.8;

    margin-bottom:20px;

}

.about-text p{

    color:#ddd;

    line-height:2;

    font-size:16px;

}

/* ===========================
   CONTENT
===========================*/

.about-content{

    max-width:1200px;

    margin:auto;

    padding:80px 20px;

}

.section-title{

    text-align:center;

    margin-bottom:70px;

}

.section-title h2{

    color:#d4af37;

    font-size:38px;

    margin-bottom:20px;

}

.section-title p{

    max-width:760px;

    margin:auto;

    color:#ccc;

    line-height:2;

    font-size:18px;

}


/* ===========================
   CARDS
===========================*/

.cards{

    display:flex;

    justify-content:center;

    gap:20px;

    flex-wrap:wrap;

}

.card{

    width:180px;

    background:#141414;

    border:1px solid rgba(212,175,55,.18);

    border-radius:14px;

    padding:14px 10px;

    text-align:center;

    transition:.35s;

    flex:none;

}

.card:hover{

    transform:translateY(-10px);

    border-color:#d4af37;

    box-shadow:0 15px 35px rgba(212,175,55,.15);

}

.card-icon{

    font-size:30px;

    margin-bottom:20px;

}

.card h3{

    color:#d4af37;

    margin-bottom:18px;

    font-size:20px;

}

.card p{

    color:#d0d0d0;

    line-height:1.7;

    font-size:14px;

}

@media(max-width:768px){
.cards{
    display:flex;
    justify-content:center;
    gap:10px;
    flex-wrap:nowrap;
}

.card{
    width:30%;
    padding:10px 8px;
}

.card-icon{
    font-size:24px;
    margin-bottom:10px;
}

.card h3{
    font-size:17px;
    margin-bottom:10px;
}

.card p{
    font-size:12px;
    line-height:1.6;
}


}




/* ===========================
   MOBILE
===========================*/

@media(max-width:992px){

.about-text{

    width:90%;

    margin:0 auto;

    padding:30px;

}

.about-text h1{

    font-size:34px;

}

.about-text h2{

    font-size:20px;

}

.cards{

    grid-template-columns:1fr;

}

.about-content{

    padding:60px 20px;

}

}

@media(max-width:768px){

.about-hero{

    height:35vh;

    margin-top:0;

    background-size:contain;

    background-position:center top;

    background-repeat:no-repeat;

    background-color:#000;

}

.about-overlay{

    justify-content:center;

    align-items:flex-end;

    padding-bottom:40px;

}

.about-text{

    width:92%;

    margin:0;

}

.about-text h1{

    font-size:28px;

}

.about-text h2{

    font-size:18px;

}

.about-text p{

    font-size:15px;

    line-height:1.9;

}

.section-title h2{

    font-size:30px;

}

.section-title p{

    font-size:16px;

}



/* ===== ABOUT INTRO ===== */

.about-intro{

    margin-top:0;

    margin-bottom:35px;

    text-align:center;

}

.about-intro h2{

    margin-top:0;

    margin-bottom:15px;

    color:#d4af37;

    font-size:30px;

}

.about-intro p{

    max-width:850px;

    margin:0 auto;

    line-height:2;

    font-size:17px;

    color:#ddd;

}