footer {
    background-color: #002531;
    color: #cccccc;
    line-height: 1.4;
    letter-spacing: 1px;
}

.footer-top {
    background-color: #176370;
}

.partner-logos {
    padding: 2rem 0;
    width: 75%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    margin: 0 auto;
    flex-wrap: wrap;
}

.logos-group {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
    justify-content: center;
}

.partner-logos-img {
    display: flex;
    object-fit: cover;
    justify-content: center;
}

.partner-logos-img img {
    width: 100%;
    max-height: 250px;
    margin: 1rem;
    vertical-align: middle;
    object-fit: contain;
}

.footer-bottom {
    text-align: center;
    padding: 3.5rem 1rem 2rem;
}

.theme-footer-navigation {
    display: flex;
    justify-content: flex-end;
    max-width: 1280px;
    margin: 1.5rem auto 0;
}

.theme-footer-back-to-top {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    border: 1px solid currentColor;
    border-radius: 50%;
    color: inherit;
    text-decoration: none;
}

.theme-footer-back-to-top:hover,
.theme-footer-back-to-top:focus-visible {
    color: #fff;
    background-color: #176370;
}

.theme-footer-back-to-top:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 4px;
}

.footer-contact-section {
    max-width: 1280px;
    margin: 0 auto;
}

.footer-contact-intro {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.footer-contact-copy {
    text-align: left;
}

.footer-contact-section h2 {
    color: #cccccc;
    margin: 0 0 1rem;
}

.footer-contact-section > p {
    margin: 0;
    color: #d4dde0;
}

.contact-details {
    width: min(100%, 1280px);
    margin: 0 auto;
    padding: 0 0 3rem;
    text-align: left;
}

.contact-details .row {
    margin: 0;
    justify-content: space-between;
    row-gap: 2rem;
}

.contact-item {
    display: flex;
    padding: 0;
    gap: 1rem;
    color: #d4dde0;
}

.contact-item strong {
    color: #f2f4f5;
}

.contact-item img {
    height: 40px;
    vertical-align: middle;
}

.footer-meta-content {
    width: min(100%, 1280px);
    margin: 0 auto;
    padding: 1.5rem 0 0;
}

.footer-meta-group {
    margin: 0;
    float: none;
}

.footer-meta-content-row,
.footer-meta-group,
.left,
.footer-cta-row {
    display: flex;
    align-items: center;
}

.footer-meta-content-row {
    justify-content: space-between;
    gap: 0;
    flex-wrap: nowrap;
}

.footer-brand-group {
    flex: 0 0 41.666667%;
    max-width: 41.666667%;
    justify-content: flex-start;
}

.footer-brand-group img {
    height: auto;
    width: min(100%, 270px);
}

.footer-meta-group img {
    float: none;
}

.footer-cta-group {
    flex: 0 0 58.333333%;
    max-width: 58.333333%;
    padding-left: 2rem;
    justify-content: flex-end;
}

.footer-cta-row {
    margin: 0;
    justify-content: flex-end;
    gap: 1rem;
    flex-wrap: nowrap;
}

.footer-cta-item {
    width: auto;
    flex: 0 0 auto;
}

.footer-cta-row .btn {
    min-height: 52px;
    padding: 0.9rem 1.8rem;
    white-space: nowrap;
}

.footer-legal {
    text-align: center;
    max-width: 900px;
    margin: 2.5rem auto 0;
    color: #71848b;
}

.footer-legal p {
    margin: 0;
}

.footer-small-text {
    font-size: 12px;
    max-width: 800px;
    margin: 1rem auto 0;
    color: #647980;
    line-height: 1.6;
}

.footer-prevas {
    width: min(100%, 1280px);
    margin: 1.5rem auto 0;
}

hr {
    border-color: #647980;
    opacity: 0.45;
    margin: 0 0 1.5rem;
}

.prevas-group {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0;
    flex-wrap: nowrap;
    font-family: "Museo Slab 300";
    font-size: 14px;
    color: #71848b;
}

.prevas-group > div {
    display: flex;
    align-items: center;
    text-align: center;
}

.prevas-group a,
.prevas-group a:visited {
    color: #71848b !important;
    margin: 0;
}

.prevas-copy {
    justify-content: flex-start;
    text-align: left;
}

.prevas-link {
    justify-content: center;
}

.prevas-group .footer-prevas-logo {
    justify-content: flex-end;
    text-align: end;
}

.prevas-group img {
    margin: 0;
    width: min(100%, 370px);
}

/* For mobile phones: */
@media (max-width: 991px) {
    /* Footer: */
    .partner-logos {
        width: 100%;
    }

    .partner-logos-row {
        flex-wrap: wrap;
        gap: 1rem;
    }

    .partner-logo-item {
        flex: 1 1 100%;
    }

    .contact-details {
        width: 100%;
    }

    .footer-contact-section > p {
        margin-bottom: 2rem;
    }

    .footer-contact-intro {
        flex-direction: column;
        align-items: stretch;
        margin-bottom: 2rem;
    }

    .contact-item {
        display: block;
    }

    .contact-item img {
        display: none;
    }

    .footer-meta-content {
        justify-self: center;
        width: 100%;
        padding: 1rem 0 0;
    }

    .footer-meta-content-row,
    .footer-cta-group,
    .footer-cta-row,
    .prevas-group,
    .prevas-group > div {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
    }

    .footer-brand-group,
    .footer-cta-group {
        max-width: 100%;
        padding-left: 0;
    }

    .footer-cta-row .btn {
        width: 100%;
    }

    .footer-bottom {
        text-align: center;
    }

    .footer-prevas {
        width: 100%;
    }

    .prevas-group img {
        width: min(100%, 280px);
    }
}
