/* General */

body{
    margin:0;
    font-family:Arial,sans-serif;
    color:#0b2f59;
    background:#fff;
}

/* =========================
   Navigation
========================= */

header{
    background:#fff;
    border-bottom:1px solid #ececec;
}

.nav{
    max-width:1400px;
    margin:0 auto;
    height:90px;

    display:flex;
    align-items:center;
    justify-content:space-between;

    padding:0 40px;
}

.logo img{
    height: 190px;
    display:block;
}

.nav-links{
    list-style:none;
    display:flex;
    gap:55px;
    margin:0;
    padding:0;
}

.nav-links a{
    text-decoration:none;
    color:#0b2f59;
    font-size:18px;
    font-weight:600;
    transition:.25s;
}

.nav-links a:hover{
    color:#1f78d1;
}

/* Hero */

.hero{

    background:url("assets/hero-bg.png");
    background-size:cover;
    background-position:center;

    min-height:470px;

    display:flex;
    justify-content:space-between;
    align-items:center;

    padding:0 8%;
}

.hero-image{
    flex:.85;
    display:flex;
    justify-content:flex-end;
}

.hero-image img{
    width:700px;
    max-width:none;
}

.hero h1{
    color:white;
    font-size:4rem;
    line-height:1.05;
    margin:0;
}

.hero h1 span{
    color:#23a8ef;
}

.hero p{
    color:#d9e7ff;
    max-width:560px;
    font-size:1.25rem;
    line-height:1.8;
    margin:0;
}

.btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;

    width:fit-content;

    background:#23a8ef;
    color:#fff;

    padding:16px 34px;

    border-radius:10px;
    text-decoration:none;
    font-weight:600;

    margin:0;
}

.hero-text{
    flex:1.15;
    color:white;

    display:flex;
    flex-direction:column;

    justify-content:center;
    align-items:flex-start;

    gap:28px;
}

/* Services */

.cards{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
    gap:20px;
    padding:60px 8%;
}

.cards div{
    background:#0b2f59;
    color:white;
    padding:25px;
    border-radius:14px;
    box-shadow:0 8px 20px rgba(11,58,115,.25);
    text-align:center;
    transition:.3s ease;
    font-size:1.2rem;
}

.cards h3{
    color:white;
    margin-bottom:15px;
}

.cards p{
    color:white;
    line-height:1.8;
    margin:0;
}

.cards div:hover{
    transform:translateY(-6px);
    background:#1458A8;
    box-shadow:0 15px 35px rgba(11,58,115,.35);
}

/* About */

#about{
    max-width:1450px;
    margin:0 auto;
    padding:80px 30px;
    text-align:center;
}

#about h2{
    font-size:2.5rem;
    margin-bottom:35px;
}

#about p{
    font-size:1.1rem;
    line-height:1.9;
    margin-bottom:25px;
}

/* Contact */

#contact{
    padding:60px 8%;
    text-align:center;
}

form{
    display:flex;
    flex-direction:column;
    gap:12px;
    max-width:500px;
    margin:30px auto 0;
}

input,
textarea,
button{
    padding:12px;
    border-radius:8px;
    border:1px solid #ccc;
    font-size:16px;
}

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

button{
    background:#0b2f59;
    color:#fff;
    border:none;
    cursor:pointer;
}

button:hover{
    background:#1f78d1;
}

/* ========================= */
/* Footer */
/* ========================= */

footer{
    background:#0b2f59;
    color:white;
    padding:20px 8% 10px;   /* thinner */
}

.footer-content{
    max-width:1200px;
    margin:auto;
    display:flex;
    align-items:center;
}


.footer-left{
    flex:1;
}

.footer-center{
    flex:1;
    text-align:center;

    color:white;
    font-size:1rem;
    font-weight:600;
    letter-spacing:4px;
    text-transform:uppercase;
}

.footer-company h3{
    margin:0;
    font-size:1.25rem;
}

.footer-company p{
    margin:4px 0 0;
    color:#d7e8ff;
    font-size:.95rem;
}

.footer-right{
    flex:1;
    text-align:right;
}

.footer-right p{
    margin:6px 0;
}

.footer-right a{
    color:white;
    text-decoration:none;
}

.footer-right a:hover{
    color:#73b7ff;
}

.footer-bottom{
    margin-top:15px;
    padding-top:10px;
    border-top:1px solid rgba(255,255,255,.15);
    text-align:center;
    color:#bfcfe3;
    font-size:.85rem;
}

/* Mobile */

@media (max-width:768px){

    .footer-content{
        flex-direction:column;
        gap:20px;
    }

    .footer-left,
    .footer-right{
        text-align:center;
    }

    /* ========================= */
/* Mobile */
/* ========================= */

@media (max-width: 768px){

    /* Navbar */

    .nav{
        flex-direction:column;
        gap:20px;
        height:auto;
        padding:20px;
    }

    .logo img{
        height:55px;
    }

    .nav-links{
        gap:25px;
        flex-wrap:wrap;
        justify-content:center;
    }

    /* Hero */

    .hero{
        flex-direction:column;
        text-align:center;
        min-height:auto;
        padding:60px 24px;
        gap:40px;
    }

    .hero-text{
        align-items:center;
        flex:none;
    }

    .hero h1{
        font-size:3rem;
    }

    .hero p{
        max-width:100%;
        font-size:1.1rem;
    }

    .hero-image{
        justify-content:center;
        flex:none;
    }

    .hero-image img{
        width:320px;
        max-width:90%;
    }

    .btn{
        width:auto;
    }

    /* Services */

    .cards{
        grid-template-columns:1fr;
    }

}
}