/* RESET */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:'Poppins', sans-serif;
}

/* BODY */

body{
    background:#f4f9ff;
    color:#222;
    line-height:1.6;
}

/* HEADER */

header{
    background:#0f4c81;
    padding:20px 8%;
}

nav{
    display:flex;
    justify-content:space-between;
    align-items:center;
}

.logo{
    color:white;
    font-size:28px;
    font-weight:700;
}

.logo span{
    color:#ffde59;
}

nav ul{
    display:flex;
    list-style:none;
    gap:25px;
}

nav ul li a{
    color:white;
    text-decoration:none;
    font-weight:500;
}

nav ul li a:hover{
    color:#ffde59;
}

/* HERO */

.hero{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:80px 8%;
    gap:40px;
    background:#eef7ff;
}

.hero-text{
    flex:1;
}

.hero-text h1{
    font-size:55px;
    color:#0f4c81;
    margin-bottom:20px;
    line-height:1.2;
}

.hero-text p{
    margin-bottom:30px;
    font-size:18px;
}

.hero-image{
    flex:1;
}

.hero-image img{
    width:100%;
    border-radius:20px;
}

/* BUTTONS */

.buttons{
    display:flex;
    gap:20px;
}

.btn-primary,
.btn-secondary{
    padding:14px 28px;
    border-radius:40px;
    text-decoration:none;
    font-weight:600;
}

.btn-primary{
    background:#0f4c81;
    color:white;
}

.btn-primary:hover{
    background:#08365c;
}

.btn-secondary{
    border:2px solid #0f4c81;
    color:#0f4c81;
}

.btn-secondary:hover{
    background:#0f4c81;
    color:white;
}

/* SERVICES */

.services{
    padding:80px 8%;
    text-align:center;
    background:white;
}

.services h2{
    font-size:42px;
    margin-bottom:40px;
    color:#0f4c81;
}

.service-container{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:30px;
}

.card{
    background:#f4f9ff;
    padding:35px;
    border-radius:20px;
    transition:0.3s;
}

.card:hover{
    transform:translateY(-10px);
    background:#0f4c81;
    color:white;
}

/* ABOUT */

.about{
    display:flex;
    align-items:center;
    gap:50px;
    padding:80px 8%;
    background:#eef7ff;
}

.about-image,
.about-text{
    flex:1;
}

.about-image img{
    width:100%;
    border-radius:20px;
}

.about-text h2{
    font-size:42px;
    color:#0f4c81;
    margin-bottom:20px;
}

.about-text p{
    margin-bottom:20px;
}

/* CTA */

.cta{
    background:#0f4c81;
    color:white;
    text-align:center;
    padding:80px 8%;
}

.cta h2{
    font-size:42px;
    margin-bottom:20px;
}

.cta p{
    margin-bottom:30px;
}

/* FOOTER */

footer{
    background:#07243c;
    color:white;
    text-align:center;
    padding:20px;
}

/* MOBILE RESPONSIVE */

@media(max-width:900px){

    nav{
        flex-direction:column;
        gap:20px;
    }

    .hero{
        flex-direction:column;
        text-align:center;
    }

    .hero-text h1{
        font-size:40px;
    }

    .buttons{
        justify-content:center;
        flex-wrap:wrap;
    }

    .about{
        flex-direction:column;
    }

}