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

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:'Poppins',sans-serif;
}

html{
    scroll-behavior:smooth;
}

body{
    min-height:100vh;
    display:flex;
    flex-direction:column;
    background:#f4f7fb;
    color:#333;
}

header{
    background:#1f2937;
    color:#fff;
    padding:20px 10%;
    display:flex;
    justify-content:space-between;
    align-items:center;
    box-shadow:0 3px 10px rgba(0,0,0,.15);
}

header h1{
    font-size:28px;
}

nav{
    display:flex;
    gap:20px;
}

nav a{
    color:white;
    text-decoration:none;
    font-weight:500;
    transition:.3s;
}

nav a:hover{
    color:#38bdf8;
}


main{
    flex:1;
}



.hero{
    text-align:center;
    padding:100px 20px;
    background:linear-gradient(135deg,#2563eb,#0ea5e9);
    color:white;
}

.hero h2{
    font-size:48px;
    margin-bottom:15px;
}

.hero p{
    font-size:20px;
    margin-bottom:30px;
}

.hero button{
    padding:14px 28px;
    border:none;
    border-radius:8px;
    background:white;
    color:#2563eb;
    font-size:16px;
    font-weight:600;
    cursor:pointer;
    transition:.3s;
}

.hero button:hover{
    background:#1f2937;
    color:white;
}



.cards{
    width:90%;
    max-width:1200px;
    margin:60px auto;
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:25px;
}

.card{
    background:white;
    padding:30px;
    border-radius:12px;
    box-shadow:0 5px 15px rgba(0,0,0,.08);
    transition:.3s;
}

.card:hover{
    transform:translateY(-8px);
    box-shadow:0 15px 30px rgba(0,0,0,.15);
}

.card h3{
    margin-bottom:15px;
    color:#2563eb;
}

.card p{
    line-height:1.7;
}



.content{
    width:90%;
    max-width:900px;
    margin:50px auto;
}

.content h2{
    margin-bottom:15px;
    color:#1f2937;
}

.content p{
    margin-bottom:20px;
    line-height:1.8;
}

.content ul{
    margin-left:20px;
    line-height:2;
}


.contact-form{
    width:90%;
    max-width:700px;
    margin:50px auto;
}

form{
    display:flex;
    flex-direction:column;
}

input,
textarea{
    margin-bottom:18px;
    padding:15px;
    border:1px solid #ccc;
    border-radius:8px;
    font-size:16px;
    outline:none;
    transition:.3s;
}

input:focus,
textarea:focus{
    border-color:#2563eb;
    box-shadow:0 0 8px rgba(37,99,235,.2);
}

textarea{
    resize:vertical;
    min-height:150px;
}

form button{
    width:180px;
    padding:14px;
    background:#2563eb;
    color:white;
    border:none;
    border-radius:8px;
    cursor:pointer;
    font-size:16px;
    transition:.3s;
}

form button:hover{
    background:#1d4ed8;
}

/* ================= FOOTER ================= */

footer{
    background:#1f2937;
    color:white;
    text-align:center;
    padding:20px;
    margin-top:auto;
}

/* ================= RESPONSIVE ================= */

@media (max-width:768px){

    header{
        flex-direction:column;
        gap:15px;
        text-align:center;
    }

    nav{
        flex-wrap:wrap;
        justify-content:center;
    }

    .hero{
        padding:70px 20px;
    }

    .hero h2{
        font-size:34px;
    }

    .hero p{
        font-size:18px;
    }

    .cards{
        width:95%;
    }

}