/* Self-hosted Lato (latin subset) */
@font-face {
    font-family: 'Lato';
    font-style: normal;
    font-weight: 300;
    font-display: swap;
    src: url('../fonts/lato-300.woff2') format('woff2');
}
@font-face {
    font-family: 'Lato';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/lato-400.woff2') format('woff2');
}
@font-face {
    font-family: 'Lato';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('../fonts/lato-700.woff2') format('woff2');
}

:root {
    --brand-color: #f68c1f;
    --heading-color: #052f3a;
    --teal: #074c5d;
    --text-color: #131313;
}

/* Base reset */
html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden;
    box-sizing: border-box;
}

*, *:before, *:after {
    box-sizing: inherit;
}

* {
    font-family: Lato, sans-serif;
}

body {
    color: var(--text-color);
    background-color: #f3f4f6;
    font-size: 1rem;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    vertical-align: middle;
    display: inline-block;
    border: 0;
}

/* Hero */
.box {
    width: 100%;
    position: relative;
}

.box .hero-section,
.box .overlap-group {
    position: relative;
    width: 100%;
    min-height: 1200px;
}

.box .overlay {
    position: absolute;
    width: 100%;
    height: 224px;
    top: 0;
    left: 0;
    background: linear-gradient(360deg, rgba(100, 191, 224, 1) 0%, rgba(182, 218, 232, 1) 100%);
}

.box .BG-image {
    position: absolute;
    width: 100%;
    height: auto;
    max-height: 1000px;
    top: 215px;
    left: 0;
    background-color: rgba(100, 191, 224, 1);
    object-position: center top;
}

.box .nav-container {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1150px;
    margin: 0 auto;
    padding-top: 1.25rem;
}

.box .nav-container img {
    height: auto;
    max-height: 50px;
    width: auto;
    max-width: 100%;
}

.box .hero-text {
    position: absolute;
    top: 130px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 900px;
    text-align: center;
}

.box .title {
    margin: 0 0 1.25rem;
    font-weight: 700;
    color: #042f39;
    font-size: clamp(28px, 5vw, 46px);
    line-height: 1.3;
}

.box .title_2 {
    display: block;
    margin-top: 0.25rem;
    line-height: 1.3;
    font-weight: 400;
    color: #042f39;
    font-size: clamp(21px, 3.4vw, 35px);
}

.box .subtitle {
    margin: 0 auto;
    font-weight: 400;
    color: #004759;
    font-size: clamp(16px, 3vw, 22px);
    line-height: 1.5;
    max-width: 650px;
}

.box .subtitle_2 {
    font-size: clamp(12px, 3vw, 16px);
}

/* Notice section (overlaps the bottom of the hero like the original content section) */
.notice-section {
    position: relative;
    background-color: #ffffff;
    width: 100%;
    margin-top: -150px;
    padding: 5rem 5%;
}

.notice {
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
}

.notice-heading {
    margin: 0 0 1.5rem;
    color: var(--heading-color);
    font-size: 2rem;
    font-weight: 400;
    line-height: 1.3;
}

.notice-heading .bold-span {
    font-weight: 700;
}

.notice p {
    margin: 0 0 1rem;
    color: #4b5563;
    font-size: 1.125rem;
    line-height: 1.6;
}

.notice-divider {
    width: 4rem;
    height: 3px;
    margin: 2rem auto;
    border: 0;
    border-radius: 2px;
    background: linear-gradient(90deg, rgba(246, 140, 31, 1) 0%, rgba(255, 215, 56, 1) 100%);
}

.notice-thanks {
    color: var(--teal) !important;
    font-weight: 700;
}

/* Footer */
.footer {
    background-color: #f3f4f6;
    padding: 0 5%;
}

.footer-main {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding-top: 110px;
    padding-bottom: 110px;
}

.footer-brand {
    flex-basis: 25%;
    padding-right: 0.75rem;
}

.footer-brand img {
    display: block;
    height: auto;
    max-height: 50px;
    width: auto;
    max-width: 100%;
}

.footer-text {
    flex: 1;
    padding-left: 80px;
    border-left: 1px solid #6b7280;
    color: var(--teal);
    font-size: 1.3rem;
    font-weight: 700;
    line-height: 1.3;
}

.footer-divider {
    border-top: 1px solid #9ca3af;
}

.footer-bottom {
    display: flex;
    justify-content: center;
    padding: 1.5rem 0;
    font-size: .875rem;
    font-weight: 300;
}

/* Responsive */
@media (min-width: 1536px) {
    .footer {
        padding: 0 200px;
    }
}

@media (max-width: 1479px) {
    .box .hero-section,
    .box .overlap-group {
        min-height: 1100px;
    }
}

@media (max-width: 1470px) {
    .box .nav-container {
        padding: 3%;
    }
}

@media (max-width: 1375px) {
    .box .nav-container {
        padding: 4%;
    }
}

@media (max-width: 1325px) {
    .box .nav-container {
        padding: 5%;
    }
}

@media (max-width: 1193px) {
    .box .hero-section,
    .box .overlap-group {
        min-height: 1000px;
    }
}

@media (max-width: 1100px) {
    .box .hero-section,
    .box .overlap-group {
        min-height: 950px;
    }
}

@media (max-width: 970px) {
    .box .hero-section,
    .box .overlap-group {
        min-height: 850px;
    }
}

@media (max-width: 890px) {
    .box .hero-section,
    .box .overlap-group {
        min-height: 800px;
    }
}

@media (max-width: 739px) {
    .box .hero-section,
    .box .overlap-group {
        min-height: 720px;
    }
}

@media (max-width: 664px) {
    .footer-text {
        padding-left: 10%;
    }
}

@media (max-width: 655px) {
    .box .hero-section,
    .box .overlap-group {
        min-height: 670px;
    }
}

@media (max-width: 550px) {
    .box .nav-container {
        justify-content: center;
        padding: 1.25rem 6% 0;
    }

    .box .hero-text {
        top: 110px;
    }

    .box .title {
        font-size: 22px;
        margin-bottom: 0.75rem;
    }

    .box .title_2 {
        font-size: 17px;
    }

    .box .subtitle {
        font-size: 15px;
    }

    .box .subtitle_2 {
        font-size: 12px;
    }

    .notice-section {
        margin-top: -210px;
        padding: 3rem 6%;
    }

    .notice-heading {
        font-size: 1.5rem;
    }

    .notice p {
        font-size: 1rem;
    }
}

@media (max-width: 484px) {
    .footer-main {
        flex-direction: column;
        text-align: center;
        padding-top: 40px;
        padding-bottom: 40px;
    }

    .footer-text {
        padding-left: 0;
        border-left: 0;
    }
}
