/* ===========================
   DOOWON CLIMATE CONTROL
   STYLE.CSS
=========================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    scroll-behavior:smooth;
}

body{
    font-family:'Poppins',sans-serif;
    color:#333;
    background:#fff;
    line-height:1.7;
}

.container{
    width:90%;
    max-width:1200px;
    margin:auto;
}

/* ================= NAVBAR ================= */

header{
    width:100%;
    position:fixed;
    top:0;
    left:0;
    background:#fff;
    box-shadow:0 2px 10px rgba(0,0,0,.08);
    z-index:999;
}

header .container{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:15px 0;
}

.logo img{
    height:60px;
}

nav ul{
    display:flex;
    list-style:none;
}

nav ul li{
    margin-left:35px;
}

nav ul li a{
    text-decoration:none;
    color:#222;
    font-weight:500;
    transition:.3s;
}

nav ul li a:hover{
    color:#005BAC;
}

/* ================= HERO ================= */

.hero{
    height:100vh;
    background:url('../images/hero.jpg') center center/cover no-repeat;
    display:flex;
    justify-content:center;
    align-items:center;
    position:relative;
}

.overlay{
    width:100%;
    height:100%;
    background:rgba(0,30,60,.65);
    display:flex;
    justify-content:center;
    align-items:center;
    text-align:center;
}

.hero-content{
    color:#fff;
    width:80%;
}

.hero-content h1{
    font-size:58px;
    font-weight:700;
    margin-bottom:20px;
}

.hero-content p{
    font-size:20px;
    max-width:850px;
    margin:auto;
}

.btn{
    display:inline-block;
    margin-top:35px;
    background:#005BAC;
    color:#fff;
    text-decoration:none;
    padding:15px 38px;
    border-radius:40px;
    transition:.3s;
    font-weight:600;
}

.btn:hover{
    background:#003f84;
}

/* ================= SECTIONS ================= */

section{
    padding:90px 0;
}

section h2{
    text-align:center;
    font-size:40px;
    margin-bottom:45px;
    color:#005BAC;
}

/* ================= ABOUT ================= */

.about p{
    text-align:center;
    max-width:900px;
    margin:auto;
    font-size:18px;
}

.about-box{
    margin-top:60px;
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:30px;
}

.about-box div{
    background:#f5f7fb;
    padding:35px;
    border-radius:10px;
    transition:.3s;
}

.about-box div:hover{
    transform:translateY(-8px);
    box-shadow:0 15px 35px rgba(0,0,0,.12);
}

.about-box h3{
    color:#005BAC;
    margin-bottom:15px;
}

/* ================= PRODUCTS ================= */

.products{
    background:#f7f9fc;
}

.cards{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:25px;
}

.card{
    background:#fff;
    padding:35px;
    border-radius:12px;
    text-align:center;
    transition:.35s;
    box-shadow:0 10px 25px rgba(0,0,0,.06);
}

.card:hover{
    transform:translateY(-10px);
}

.card i{
    font-size:45px;
    color:#005BAC;
    margin-bottom:20px;
}

.card h3{
    margin-bottom:15px;
}

/* ================= WHY ================= */

.features{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:25px;
}

.feature{
    background:#fff;
    padding:30px;
    text-align:center;
    border-radius:10px;
    box-shadow:0 10px 25px rgba(0,0,0,.05);
    transition:.3s;
}

.feature:hover{
    background:#005BAC;
    color:#fff;
}

.feature:hover i{
    color:#fff;
}

.feature i{
    font-size:40px;
    color:#005BAC;
    margin-bottom:18px;
}

/* ================= CONTACT ================= */

.contact{
    background:#f7f9fc;
}

.contact-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:50px;
}

.contact h3{
    margin-bottom:20px;
    color:#005BAC;
}

.contact p{
    margin-bottom:15px;
}

.contact input,
.contact textarea{
    width:100%;
    padding:15px;
    border:1px solid #ddd;
    border-radius:8px;
    margin-bottom:20px;
    font-family:Poppins;
    font-size:15px;
}

.contact button{
    border:none;
    cursor:pointer;
}

/* ================= FOOTER ================= */

footer{
    background:#002B5B;
    color:#fff;
    text-align:center;
    padding:25px 0;
}

/* ================= RESPONSIVE ================= */

@media(max-width:991px){

.cards{
grid-template-columns:repeat(2,1fr);
}

.features{
grid-template-columns:repeat(2,1fr);
}

.contact-grid,
.about-box{
grid-template-columns:1fr;
}

.hero-content h1{
font-size:42px;
}

}

@media(max-width:768px){

header .container{
flex-direction:column;
}

nav ul{
flex-wrap:wrap;
justify-content:center;
margin-top:15px;
}

nav ul li{
margin:10px 15px;
}

.cards{
grid-template-columns:1fr;
}

.features{
grid-template-columns:1fr;
}

.hero-content h1{
font-size:34px;
}

.hero-content p{
font-size:16px;
}

section h2{
font-size:30px;
}

.logo img{
height:50px;
}

}