:root {
    font-size: 16px;
    --header-height: 7.5rem;
}

body {
    background: linear-gradient(90deg, #11191b 20%, #333e40 48%, #333e40 52%, #11191b 80%);
    color: #fff;
    margin: 0;
    padding-top: var(--header-height);
    font-family: 'Nunito', sans-serif;
}

.main-container {
    max-width: 63.75rem;
    margin: 0 auto;
}

.page-content {
    padding-bottom: 2rem;
}

.section {
    padding: 4rem 0;
}

.with-bottom-border {
    box-shadow: 0 0.4375rem 0 0 #0000004D;
    border-bottom: 0.0625rem solid #fff;
}

.section-content {
    text-align: center;
}

.section-content p {
    font-weight: 600;
    font-size: 1.875rem;
    line-height: 2.75rem;
}

.section-content p.last-p {
    margin-bottom: 2.94875rem;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 2.94875rem;
    font-weight: 700;
}

.fixed-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #11191b;
    z-index: 1000;
    box-shadow: 0 0.125rem 0.3125rem rgba(0, 0, 0, 0.2);
    background: linear-gradient(90deg, #11191B 20%, #333E40 48%, #333E40 52%, #11191B 80%);
    height: var(--header-height);
}

.header-content {
    max-width: 63.75rem;
    height: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.25rem;
    border-bottom: 0.0625rem solid #fff;
    box-shadow: 0 0.4375rem 1.30625rem 0.0625rem #0000004D;
}

.logo {
    height: 100%;
    display: flex;
    align-items: center;
}

.logo img {
    height: 7.125rem;
}

.main-nav {
    flex-grow: 1;
    display: flex;
    justify-content: space-evenly;
    margin-left: 6rem;
    transition: transform 0.3s ease-in-out;
}

.nav-list {
    display: flex;
    justify-content: space-between;
    list-style: none;
    margin: 0;
    padding: 0;
    width: 100%;
}

.nav-item {
    text-decoration: none;
    color: #fff;
    font-size: 1.25rem;
    font-weight: 600;
    transition: color 0.3s ease;
    text-transform: uppercase;
}

.nav-item:hover {
    color: #406f89;
}

.hamburger-menu {
    display: none;
    cursor: pointer;
    flex-direction: column;
    justify-content: space-around;
    width: 2rem;
    height: 2rem;
    z-index: 1100;
}

.hamburger-menu span {
    display: block;
    height: 0.2rem;
    background-color: #fff;
    transition: transform 0.3s ease;
}

.tiles-section {
    padding-top: 6rem;
}

.tile-wrapper {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.tile {
    flex: 1;
    min-width: 15rem;
    border: 0.0625rem solid #fff;
    border-radius: 0.625rem;
    padding: 1.5rem;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: linear-gradient(90deg, #11191B 20%, #333E40 48%, #333E40 52%, #11191B 80%);
}

.tile:hover {
    transform: translateY(-0.5rem);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.2);
}

.tile-head {
    font-size: 1.875rem;
    font-weight: 600;
    line-height: 100%;
    margin-bottom: 2rem;
}

.tile-text {
    margin-bottom: 2rem;
    min-height: 7.5rem;
    font-weight: 500;
    font-size: 1.25rem;
    line-height: 100%;
}

.tile-expand-container {
    padding-top: 5.08rem;
}

.expandable-text {
    transform: scaleY(0);
    transform-origin: top;
    max-height: 0;
    overflow: hidden;
    padding: 0;
}

.expandable-text h3 {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 100%;
    width: 100%;
    text-align: center;
    padding-bottom: 3rem;
}

.expandable-text p {
    font-size: 1.25rem;
    font-weight: 400;
    line-height: 137%;
}

.expandable-text.active {
    transform: scaleY(1);
    max-height: 26rem;
    padding: 1.5rem;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94), max-height 0.5s ease-out;
}

.motto-section {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.motto-divider {
    flex-grow: 1;
    height: 0.0625rem;
    background-color: #fff;
    margin: 0 1.5rem;
}

.motto-text {
    font-weight: 600;
    font-size: 1.875rem;
    /*white-space: nowrap;*/
}

.styled-btn {
    height: 3.6rem;
    background: linear-gradient(180deg, #406f89 0%, #294a5c 100%);
    border: 0.0625rem solid #fff;
    border-radius: 0.625rem;
    box-shadow: 0.3125rem 0.3125rem 0.5rem 0.1875rem rgba(0, 0, 0, 0.25);
    color: #fff;
    font-size: 1.375rem;
    font-weight: 600;
    text-transform: uppercase;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
}

.styled-btn:hover {
    transform: translateY(-0.25rem);
    box-shadow: 0.5rem 0.5rem 0.75rem 0.25rem rgba(0, 0, 0, 0.4);
    color: #fff;
    text-decoration: none;
}

.contact-email {
    color: #fff;
    text-decoration: underline;
    font-size: 1.25rem;
    transition: color 0.3s ease;
}

.contact-email:hover {
    color: #406f89;
}

.modal-content {
    background: #11191b;
    border: 0.0625rem solid #fff;
    color: #fff;
    border-radius: 1.25rem;
}

.btn-close {
    filter: invert(1);
}

.modal-body {
    padding-top: 3.98875rem;
    padding-bottom: 3.98875rem;
    padding-left: 7.315rem;
    padding-right: 7.315rem;
}

.modal-body h3 {
    width: 100%;
    text-align: center;
    font-weight: 600;
    font-size: 1.875rem;
    margin-bottom: 2.1319rem;
}

.modal-body label {
    font-size: 1rem;
    font-weight: 400;
}

.modal-body input {
    border: 0.0625rem solid #FFFCFC;
    background: #C2C3C4;
    border-radius: 0.625rem;
    margin-bottom: 1.72375rem;
}

.modal-body button {
    margin: 0 auto;
    margin-top: 1.875rem;
}
.form-control.is-invalid {
    border-color: #dc3545;
    box-shadow: 0 0 0 0.25rem rgba(220, 53, 69, 0.25);
}

.error-message {
    display: block;
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: -0.9375rem;
    margin-bottom: 0.9375rem;
}

@media (max-width: 62.5rem) {
    .main-container {
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }
    .header-content {
        max-width: calc(100% - 2.5rem);
    }
}

@media (max-width: 55rem) {
    .header-content {
        justify-content: space-between;
        align-items: center;
        flex-direction: row;
    }

    .main-nav {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: #11191b;
        transform: translateX(-200%);
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .main-nav.active {
        transform: translateX(-6.25rem);
        opacity: 0.9;
    }

    .nav-list {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }

    .nav-item {
        font-size: 1.5rem;
    }

    .hamburger-menu {
        display: flex;
    }

    .hamburger-menu.active span:nth-child(1) {
        transform: rotate(45deg) translate(0.5rem, 0.5rem);
    }

    .hamburger-menu.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger-menu.active span:nth-child(3) {
        transform: rotate(-45deg) translate(0.5rem, -0.5rem);
    }

    .logo {
        height: auto;
        margin-bottom: 0;
    }
}