* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: Arial, sans-serif;
    background: #f5fbff;
    color: #183b63;
    line-height: 1.6;
}


/* HEADER */

header {
    background: white;
    padding: 18px 6%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 3px 15px rgba(0,0,0,0.08);
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo {
    font-size: 25px;
    font-weight: bold;
    color: #1769aa;
}

.logo span {
    color: #e45b91;
}

nav {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

nav a {
    padding: 9px 14px;
    border-radius: 25px;
    text-decoration: none;
    color: #183b63;
    font-weight: bold;
}

nav a:hover,
nav .active {
    background: #176fba;
    color: white;
}


/* HERO */

.hero {
    min-height: 600px;
    padding: 70px 8%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 50px;
    background: linear-gradient(
        120deg,
        #e9f7ff,
        #fff0f7
    );
}

.hero-text {
    max-width: 600px;
}

.badge {
    display: inline-block;
    background: white;
    color: #1769aa;
    padding: 8px 16px;
    border-radius: 30px;
    font-weight: bold;
}

.hero h1 {
    font-size: 50px;
    line-height: 1.15;
    margin: 20px 0;
}

.hero h1 span {
    color: #176fba;
}

.hero-text > p:not(.badge) {
    font-size: 18px;
}

.hero-photo img {
    width: 390px;
    height: 390px;
    object-fit: cover;
    border-radius: 35px;
    border: 8px solid white;
    box-shadow: 0 15px 40px rgba(0,0,0,.15);
}


/* SECTION */

section {
    padding: 60px 8%;
}

section > h1,
section > h2 {
    text-align: center;
    margin-bottom: 30px;
    color: #125d99;
}


/* BUTTON */

.btn,
.small-btn {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 20px;
    border-radius: 30px;
    background: #176fba;
    color: white;
    text-decoration: none;
    font-weight: bold;
    border: none;
    cursor: pointer;
}

.btn.pink {
    background: #e45b91;
}

.small-btn {
    padding: 9px 16px;
    margin-top: 10px;
}


/* CARDS */

.cards {
    display: grid;
    grid-template-columns:
        repeat(3, 1fr);

    gap: 25px;
}

.card {
    background: white;
    padding: 30px;
    border-radius: 25px;
    border: 1px solid #d7e9f5;
    box-shadow:
        0 8px 25px rgba(0,0,0,.06);
}

.card h3 {
    color: #1769aa;
    margin: 10px 0;
}

.icon {
    font-size: 45px;
}


/* PROFILE */

.profile {
    min-height: 650px;
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 50px;
    align-items: center;
    background: linear-gradient(
        120deg,
        #eaf7ff,
        #fff0f7
    );
}

.profile-photo {
    width: 100%;
    max-width: 350px;
    border-radius: 30px;
    border: 8px solid white;
    box-shadow: 0 10px 30px rgba(0,0,0,.15);
}

.profile-text h1 {
    font-size: 45px;
    color: #1769aa;
    margin: 15px 0;
}

.info {
    margin-top: 20px;
}

.info p {
    margin: 10px 0;
}

.info a,
.contact-card a {
    color: #e04f8a;
    font-weight: bold;
}


/* SERVICES */

.center {
    text-align: center;
}

.service-buttons {
    text-align: center;
    margin: 30px 0;
}

.service-buttons button {
    padding: 12px 20px;
    margin: 5px;
    border: none;
    border-radius: 25px;
    background: white;
    color: #1769aa;
    border: 2px solid #b9dcee;
    cursor: pointer;
    font-weight: bold;
}

.service-buttons button:hover {
    background: #176fba;
    color: white;
}

.service {
    display: none;
    max-width: 750px;
    margin: auto;
    padding: 35px;
    background: white;
    border-radius: 25px;
    box-shadow: 0 8px 25px rgba(0,0,0,.08);
}

.active-service {
    display: block;
}

.service h2 {
    color: #1769aa;
    margin-bottom: 15px;
}

.service li {
    margin: 8px 0;
}


/* TABLE */

table {
    width: 100%;
    max-width: 900px;
    margin: auto;
    border-collapse: collapse;
    background: white;
    box-shadow: 0 8px 25px rgba(0,0,0,.07);
}

th,
td {
    padding: 18px;
    border-bottom: 1px solid #ddd;
    text-align: center;
}

th {
    background: #176fba;
    color: white;
}


/* LOCATION */

.location {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.map {
    background: #e2f2fc;
    border-radius: 25px;
    padding: 50px;
    text-align: center;
    min-height: 300px;
}


/* CONTACT */

.contact-card {
    max-width: 650px;
    margin: auto;
    background: white;
    padding: 40px;
    border-radius: 30px;
    box-shadow: 0 8px 30px rgba(0,0,0,.08);
}

.contact-card h2 {
    color: #1769aa;
    font-size: 35px;
    margin-bottom: 10px;
}

.contact-card p {
    margin: 20px 0;
}

.contact-card hr {
    border: none;
    border-top: 1px solid #ddd;
}


/* FOOTER */

footer {
    background: #123f69;
    color: white;
    text-align: center;
    padding: 30px;
}

footer p {
    margin: 5px;
}


/* RESPONSIVE */

@media (max-width: 800px) {

    header {
        flex-direction: column;
        gap: 15px;
    }

    nav {
        justify-content: center;
    }

    .hero {
        flex-direction: column;
        text-align: center;
    }

    .hero h1 {
        font-size: 38px;
    }

    .hero-photo img {
        width: 300px;
        height: 300px;
    }

    .cards {
        grid-template-columns: 1fr;
    }

    .profile {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .profile-photo {
        margin: auto;
    }

    .location {
        grid-template-columns: 1fr;
    }
}