body {
    font-family: "museo-sans-rounded", sans-serif;
    font-style: normal;
    font-weight: 500;
    color: #323232;
    font-size: 17px;
    margin: 0;
}

img {
    height: auto;
    max-width: 100%;
    display: block;
}

.wrapper {
    padding: 0 15px;
}

.width-2of12 {
    width: 16.6666666%;
}

.width-10of12 {
    width: 83.3333333%;
}

h2 {
    text-align: center;
    margin: 45px 0 15px 0;
}

/* ===============================
   HEADER
================================= */

.logo-nav > .site-center {
    position: relative;
    margin: 0 auto;
    max-width: 1160px;
    display: flex;
    align-items: center;
    padding: 30px 0;
    justify-content: space-between;
}

.show-on-mobile {
    display: none !important;
}

.nav-social-wrapper {
    text-align: right;
}

.nav-social-wrapper .social-icons a {
    color: #323232;
    text-decoration: none;
    margin-top: 50px;
    font-size: 20px;
    margin-left: 10px;
}

.nav-social-wrapper .social-header a {
    display: inline-block;
    font-size: 16px;
    font-weight: 500;
    color: #323232;
    text-decoration: none;
    margin-top: 50px;
}

.nav-social-wrapper .social-header a i {
    margin-left: 10px;
}

/* ===============================
   FOOTER
================================= */

.bottom-footer-section {
    display: flex;
    position: relative;
    margin: 0 auto;
    max-width: 1160px;
    align-items: center;
    padding: 30px 0;
    justify-content: space-between;
    gap: 40px;
}

.bottom-footer-section img {
    max-width: 100%;
    height: auto;
}

/* Better flex sizing */
.bottom-footer-section .col:first-of-type {
    flex: 0 0 25%;
    display: flex;
    align-items: center;
}

.bottom-footer-section .col:last-of-type {
    flex: 1;
}

/* Employer badge alignment */
.footer-employer {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

/* Partner logos section */
.footer_right_images {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 40px;
}

.footer_right_images > div,
.footer_right_images > div img {
    width: 100%;
}

.gm-active-image p {
    color: #919192;
    text-transform: uppercase;
    font-weight: 500;
    font-size: 14px;
    margin: 0;
}

/* ===============================
   FOOTER LINKS
================================= */

.footer-sub-links ul {
    margin: 0;
    padding: 0;
}

.footer-sub-links ul li {
    list-style: none;
    position: relative;
    margin: 8px 20px 8px 20px;
}

.footer-sub-links li:before {
    content: ">";
    position: absolute;
    left: -18px;
}

.footer-sub-links li a {
    text-decoration: none;
    color: #32a4b8;
    font-size: 14px;
    font-weight: 500;
}

/* ===============================
   COPYRIGHT SECTION
================================= */

.footer_bottom_copyright {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.footer-worldpay img {
    max-height: 50px;
    width: auto;
}

.footer-bottom-p {
    margin: 0;
}

/* ===============================
   DESKTOP WIDTH CONTROL
================================= */

@media only screen and (min-width: 1200px) {
    .site-center {
        width: 1160px;
    }
}

@media only screen and (min-width: 320px) {
    .site-center {
        width: 95%;
    }
}

/* ===============================
   TABLET (<= 991px)
================================= */

@media (max-width: 991px) {

    .bottom-footer-section {
        flex-direction: column;
        align-items: flex-start;
        gap: 30px;
        padding: 15px;
    }

    .bottom-footer-section .col,
    .bottom-footer-section .col:first-of-type {
        width: 100%;
        flex: 1 1 100%;
        display: block;
    }

    .bottom-footer-section .col img {
        width: 300px;
        text-align: center;
        margin: 0 auto;
    }
    
    /* Employer badge centered */
    .footer-employer {
        justify-content: center;
        width: 100%;
    }

    /* Stack logos vertically */
    .footer_right_images {
        flex-direction: column;
        align-items: center;
        gap: 25px;
        width: 100%;
    }

    .gm-active-image {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    .gm-active-image p {
        max-width: 100%;
    }

    .footer-sub-links {
        padding: 0 30px;
    }

    /* 2 column grid for footer links */
    .footer-sub-links ul {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 10px 30px;
    }

    .footer-sub-links ul li {
        margin: 0;
    }

    .footer-sub-links li:before {
        left: -15px;
    }

    /* Copyright stacking */
    .footer_bottom_copyright {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 15px;
        width: 100%;
    }
}

/* ===============================
   MOBILE (<= 480px)
================================= */

@media (max-width: 480px) {

    .logo-nav {
        margin-top: 0;
        background: #2e9db1;
        position: relative;
        margin-bottom: 15px;
    }

    .col {
        width: 100%;
    }

    .logo-nav > .site-center {
        flex-direction: column;
        gap: 15px;
    }

    .hide-on-mobile {
        display: none !important;
    }

    .show-on-mobile {
        display: block !important;
    }

    .nav-social-wrapper {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 0 15px;
    }

    .nav-social-wrapper .social-icons a,
    .nav-social-wrapper .social-header a {
        color: #fff;
    }

    .nav-social-wrapper .social-header a {
        margin-top: 0;
    }

    /* Footer fully centered */
    .bottom-footer-section {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 25px;
        padding: 20px 0;
    }

    .footer_right_images {
        flex-direction: column;
        gap: 20px;
    }

    .gm-active-image {
        align-items: center;
    }

    .footer-sub-links ul {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-sub-links li:before {
        display: none;
    }

    .footer-worldpay img {
        max-height: 40px;
    }
}
