* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.6;
    background: #f4f6f8;
    color: #222;
}

.container {
    width: min(100% - 40px, 1000px);
    margin: 0 auto;
}

.site-nav {
    background: #0d2947;
}

.nav-content {
    min-height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.brand {
    color: #fff;
    font-size: 20px;
    font-weight: 700;
    text-decoration: none;
}

.nav-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.nav-links a {
    color: #fff;
    padding: 8px 12px;
    text-decoration: none;
    border-radius: 5px;
}

.nav-links a:hover,
.nav-links a:focus,
.nav-links a.active {
    background: rgba(255, 255, 255, 0.16);
}

.hero {
    background: #12355b;
    color: #fff;
    padding: 80px 20px;
    text-align: center;
}

.hero.compact {
    padding: 55px 20px;
}

.hero h1 {
    margin: 0;
    font-size: clamp(34px, 6vw, 48px);
}

.hero p {
    margin: 15px 0 25px;
    font-size: clamp(18px, 3vw, 21px);
}

.button {
    display: inline-block;
    padding: 12px 24px;
    background: #fff;
    color: #12355b;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 700;
}

.button:hover,
.button:focus {
    background: #e8eef5;
}

main section {
    padding: 50px 0;
    text-align: center;
}

main section:nth-child(even) {
    background: #fff;
}

.section-intro {
    max-width: 760px;
    margin: 0 auto 30px;
}

.services {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.service,
.article-card {
    padding: 25px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.1);
}

.service h3,
.article-card h2 {
    margin-top: 0;
    color: #12355b;
}

.contact-details a {
    color: #12355b;
}

.articles {
    display: grid;
    gap: 24px;
    text-align: left;
}

.article-card time {
    display: block;
    margin-bottom: 14px;
    color: #667085;
    font-size: 14px;
}

.article-card p:last-child {
    margin-bottom: 0;
}

.notice {
    max-width: 760px;
    margin: 0 auto 30px;
    padding: 16px 20px;
    border-left: 4px solid #12355b;
    background: #eaf0f6;
    text-align: left;
}

footer {
    padding: 25px 20px;
    background: #12355b;
    color: #fff;
    text-align: center;
}

footer p {
    margin: 0;
}

@media (max-width: 760px) {
    .nav-content {
        padding: 12px 0;
        flex-direction: column;
        justify-content: center;
    }

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

    .hero {
        padding: 60px 20px;
    }
}
