:root {
    --blue: #102d57;
    --blue-dark: #0a2347;
    --blue-light: #244b7c;
    --text: #102d57;
    --muted: #5c6b80;
    --border: #d8dee7;
    --white: #ffffff;
    --max-width: 1450px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: var(--text);
    background: #fff;
}

a {
    color: inherit;
    text-decoration: none;
}
.site-wrapper {
    width: min(calc(100% - 280px), var(--max-width));
    margin: 0 auto;
}

/* =========================
   TOP MENU
   ========================= */

.site-header {
    height: 112px;
    background: rgba(255,255,255,.98);
    display: flex;
    align-items: center;
    position: relative;
    z-index: 10;
}

.header-inner {
    width: min(calc(100% - 80px), var(--max-width));
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: left;
}

.logo img {
    width: 300px;
    height: auto;
    display: block;
}

.main-nav {
    display: flex;
    align-items: center;
    gap:38px;
}

.main-nav a {
    font-size: 17px;
    font-weight: 300;
    letter-spacing: -0.5px;
    color: var(--blue);
    transition: opacity .2s ease;
}

.main-nav a:hover {
    opacity: .65;
}

.search-link {
    font-size: 22px !important;
    margin-left: 3px;
}


/* =========================
   CAROUSEL / HERO
   ========================= */
.hero {
    position: relative;
    min-height: 475px;
    height: 475px;
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    inset: 0;
    min-height: 475px;

    opacity: 0;
    visibility: hidden;

    transition:
        opacity 1.2s ease,
        visibility 1.2s ease;
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 1;
}

.hero-image {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center top;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;

    pointer-events: none;
    z-index: 5;
}

.hero-content {
    position: relative;
    z-index: 2;

    width: 100%;
    min-height: 475px;

    display: flex;
    align-items: center;

    padding: 55px;
}

.hero-copy {
    width: 560px;
    margin-top: -5px;
}

.hero-copy h1 {
    margin: 0 0 22px;

    font-size: clamp(32px, 3.1vw, 64px);
    line-height: .99;
    letter-spacing: -2px;
    font-weight: 800;

    color: var(--blue);
}

.hero-copy p {
    margin: 0 0 34px;
    max-width: 520px;

    font-size: 25px;
    line-height: 1.22;

    color: #304b6b;
}

.hero-buttons {
    display: flex;
    gap: 17px;
    flex-wrap: wrap;
}

.hero-button {
    min-height: 64px;
    padding: 0 34px;

    border-radius: 13px;
    border: 2px solid var(--blue);

    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 23px;

    font-size: 17px;
    font-weight: 700;

    transition:
        transform .2s ease,
        box-shadow .2s ease;
}

.hero-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(16,45,87,.16);
}

.hero-button.primary {
    color: #fff;
    background: var(--blue);
}

.hero-button.secondary {
    color: var(--blue);
    background: #fff;
}

.hero-button i {
    font-size: 17px;
}

/* =========================
   FOUR LINKS
   ========================= */

.feature-links {
    position: relative;
    z-index: 4;
    background: #fff;
    box-shadow: 0 -4px 18px rgba(134, 134, 134, 0.2);
}

.feature-inner {
    width: min(calc(100% - 80px), var(--max-width));
    min-height: 142px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.feature {
    min-height: 108px;
    margin: 17px 0;
    padding: 10px 38px;
    display: flex;
    align-items: center;
    gap: 25px;
    border-right: 1px solid var(--border);
}

.feature:first-child {
    padding-left: 0;
}

.feature:last-child {
    border-right: 0;
}

.feature-icon {
    flex: 0 0 58px;
    width: 58px;
    text-align: center;
    color: var(--blue);
    font-size: 46px;
}

.feature-content {
    min-width: 0;
}

.feature-title {
    display: block;
    margin-bottom: 7px;
    font-size: 14px;
    font-weight: 800;
    color: var(--blue);
}

.feature-text {
    display: block;
    font-size: 12px;
    line-height: 1.3;
    color: var(--muted);
}

.feature:hover .feature-icon {
    transform: translateY(-2px);
}

.feature-icon {
    transition: transform .2s ease;
}


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

@media (max-width: 1200px) {

    .main-nav {
        gap: 28px;
    }

    .hero-copy {
        width: 500px;
    }

    .hero-copy h1 {
        font-size: 38px;
    }

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

    .feature {
        padding-left: 22px;
        padding-right: 22px;
        gap: 16px;
    }
}


@media (max-width: 900px) {

    .site-header {
        height: auto;
        padding: 18px 0;
    }

    .header-inner {
        width: min(calc(100% - 36px), var(--max-width));
        flex-direction: column;
        gap: 18px;
    }

    .main-nav {
        gap: 22px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .logo img {
        width: 240px;
    }

    .hero,
    .hero-slide,
    .hero-content {
        min-height: 650px;
    }

    .hero::after {
        
    }

    .hero-content {
        width: min(calc(100% - 36px), var(--max-width));
    }

    .hero-copy {
        width: 470px;
    }

    .feature-inner {
        width: min(calc(100% - 36px), var(--max-width));
        grid-template-columns: repeat(2, 1fr);
    }

    .feature {
        border-bottom: 1px solid var(--border);
    }

    .feature:nth-child(2) {
        border-right: 0;
    }

    .feature:nth-child(3),
    .feature:nth-child(4) {
        margin-top: 0;
    }
}


@media (max-width: 620px) {
.site-wrapper {
    width: 100%;
}
    .main-nav {
        gap: 14px 20px;
    }

    .main-nav a {
        font-size: 14px;
    }

    .hero,
    .hero-slide,
    .hero-content {
        min-height: 480px;
    }

    .hero-image {
        object-position: 6% center;
    }

    .hero::after {
        background:
            linear-gradient(
                180deg,
                rgba(255,255,255,.96) 0%,
                rgba(255,255,255,.88) 5%,
                rgba(255,255,255,.18) 15%,
                rgba(255,255,255,0) 20%
            );
    }

    .hero-content {
        align-items: flex-start;
        padding-top: 55px;
    }

    .hero-copy {
        width: 100%;
    }

    .hero-copy h1 {
        font-size: 43px;
        letter-spacing: -1px;
    }

    .hero-copy p {
        font-size: 20px;
    }

    .hero-button {
        width: 100%;
    }

    .feature-inner {
        grid-template-columns: 1fr;
    }

    .feature,
    .feature:first-child {
        margin: 0;
        padding: 22px 0;
        border-right: 0;
    }

    .feature:last-child {
        border-bottom: 0;
    }
}