/* Footer 1 */
#footer1 {
    background-color: var(--footer-bg);
    color: var(--footer-text);
    padding-top: 1rem;
}
#footer1 .footer-content {
    padding: 0 var(--gutter-width);
}
#footer1 .footer-content a {
    color: var(--footer-link-color);
}
#footer1 .footer-content a:hover {
    color: var(--footer-link-color-hover);
}
#footer1 .footer-content .footer-top {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: end;
    padding: 3rem 0 2rem 0;
    border-top: 1px dashed var(--footer-text);
    row-gap: 2rem;
}
#footer1 .footer-content .footer-top .left {
    width: 50rem;
    max-width: 100%;
}
#footer1 .footer-content .footer-top .left img {
    max-height: 4rem;
    width: 15rem;
    max-width: 100%;
    object-fit: contain;
    object-position: left;
}
#footer1 .footer-content .footer-top .left h1 {
    font-size: 2.5rem;
    font-weight: 900;
    margin: 0;
    padding-bottom: 0.5rem;
    text-transform: uppercase;
}
#footer1 .footer-content .footer-top .left p {
    font-size: 1.5rem;
    font-weight: 500;
    margin: 0;
}
#footer1 .footer-content .footer-top .right {
    width: 30rem;
    max-width: 100%;
    display: flex;
    flex-wrap: wrap;
    column-gap: 2rem;
    row-gap: 0.5rem;
    height: fit-content;
}
#footer1 .footer-content .footer-top .right p {
    width: 13rem;
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
}
#footer1 .footer-content .footer-middle {
    display: flex;
    flex-wrap: wrap;
    border-top: 1px dashed rgba(var(--footer-text-rgb), 0.4);
    border-bottom: 1px dashed rgba(var(--footer-text-rgb), 0.4);
    padding: 1.6rem 0 1.5rem 0;
}
#footer1 .footer-content .footer-middle .left {
    width: 50%;
    display: flex;
    flex-wrap: wrap;
    column-gap: 0.3rem;
}
#footer1 .footer-content .footer-middle .left p {
    font-size: 0.9rem;
    color: rgba(var(--footer-text-rgb), 0.8);
    margin: 0;
}
#footer1 .footer-content .footer-middle .left p::after {
    content: ",";
}
#footer1 .footer-content .footer-middle .left p:last-of-type:after {
    content: "";
}
#footer1 .footer-content .footer-middle .right {
    width: 50%;
    display: flex;
    flex-wrap: wrap;
    column-gap: 0.3rem;
    justify-content: end;
}
#footer1 .footer-content .footer-middle .right p {
    font-size: 0.9rem;
    color: rgba(var(--footer-text-rgb), 0.8);
}
#footer1 .footer-content .footer-middle .right ul {
    display: flex;
    padding: 0;
    margin: 0;
    list-style: none;
    gap: 1rem;
}
#footer1 .footer-content .footer-middle .right ul li {
    font-size: 1.1rem;
}
#footer1 .footer-content .footer-bottom {
    display: flex;
    flex-wrap: wrap;
    padding: 0.75rem 0;
}
#footer1 .footer-content .footer-bottom .left {
    width: 50%;
}
#footer1 .footer-content .footer-bottom .left p {
    font-size: 0.85rem;
    margin: 0;
}
#footer1 .footer-content .footer-bottom .right {
    width: 50%;
    text-align: end;
}
#footer1 .footer-content .footer-bottom .right p {
    font-size: 0.85rem;
    margin: 0;
}
@media (max-width: 550px) {
    #footer1 .footer-content .footer-top .left h1 {
        font-size: 2rem;
    }
    #footer1 .footer-content .footer-top .left p {
        font-size: 1.2rem;
    }
    #footer1 .footer-content .footer-bottom .left {
        width: 100%;
        text-align: center;
    }
    #footer1 .footer-content .footer-bottom .right {
        width: 100%;
        text-align: center;
    }
}

/* Footer 2 */
#footer2 {
    background-color: var(--footer-bg);
    color: var(--footer-text);
    text-align: center;
    padding: 3rem 0 1rem 0;
}
#footer2 .footer-content {
    padding: 0 var(--gutter-width);
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
#footer2 .footer-content .footer-top .logo {
    width: 5rem;
    max-width: 100%;
    margin-bottom: 1rem;
}
#footer2 .footer-content .footer-middle p {
    margin: 0;
    font-weight: 600;
    font-size: 0.95rem;
    line-height: 1rem;
}
#footer2 .footer-content .footer-middle ul {
    display: flex;
    flex-wrap: wrap;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin: 0;
    margin-bottom: 0.75rem;
    list-style: none;
    gap: 0.5rem;
}
#footer2 .footer-content .footer-middle ul li a {
    padding: 0.25rem 0.75rem;
    color: var(--footer-link-color);
}
#footer2 .footer-content .footer-middle ul li a:hover {
    color: var(--footer-link-color-hover);
}
#footer2 .footer-content .footer-bottom {
    margin-top: 0.5rem;
}
#footer2 .footer-content .footer-bottom p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1rem;
}
#footer2 .footer-content .footer-bottom a {
    font-weight: 400;
    color: var(--footer-link-color);
}
#footer2 .footer-content .footer-bottom a:hover {
    color: var(--footer-link-color-hover);
}

/* Footer 3 */
#footer3 {
    color: var(--footer-text);
}
#footer3 .footer-content {
    background-color: rgba(var(--footer-text-rgb), 1);
    gap: 1px;
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
#footer3 .footer-content a {
    color: var(--footer-link-color);
}
#footer3 .footer-content a:hover {
    color: var(--footer-link-color-hover);
}
#footer3 .footer-content .footer-top {
    border-top: 1px solid rgba(var(--footer-text-rgb), 1);
    background-color: var(--page-bg-color-alt);
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: end;
    padding: 1rem var(--gutter-width);
}
#footer3 .footer-content .footer-top .logo {
    max-width: 3rem;
}
#footer3 .footer-content .footer-top .socials {
    font-size: 1.2rem;
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 1rem;
    font-size: 1.2rem;
}
#footer3 .footer-content .footer-middle {
    width: 100%;
    display: flex;
    gap: 1px;
    flex-wrap: wrap;
}
#footer3 .footer-content .footer-middle p {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
}
#footer3 .footer-content .footer-middle p.header {
    color: var(--primary-color);
    font-size: 1.8rem;
    font-weight: 400;
    margin-bottom: 0.2rem;
}
#footer3 .footer-content .footer-middle .contact-details {
    padding: 1rem 1rem 2.5rem var(--gutter-width);
    background-color: var(--footer-bg);
    flex-grow: 1;
    min-width: calc(50% - 1px);
}
#footer3 .footer-content .footer-middle .links-holder {
    padding: 1rem var(--gutter-width) 2.5rem 1rem;
    background-color: var(--footer-bg);
    flex-grow: 1;
    min-width: calc(50% - 1px);
}
#footer3 .footer-content .footer-middle .links-holder .page-link-container {
    display: flex;
    flex-wrap: wrap;
    column-gap: 8rem;
    row-gap: 1rem;
}
#footer3 .footer-content .footer-middle .links-holder .page-link-container .link-title {
    margin-bottom: 1.3rem;
}
#footer3 .footer-content .footer-middle .links-holder p.header {
    width: 100%;
}
#footer3 .footer-content .footer-middle .logo-container {
    width: 100%;
    padding: 2rem var(--gutter-width);
    text-align: center;
    background-color: var(--footer-bg);
}
#footer3 .footer-content .footer-middle .logo-container img {
    width: 100%;
    max-width: 20rem;
}
#footer3 .footer-content .footer-bottom {
    background-color: var(--primary-color);
    padding: 0.75rem var(--gutter-width);
    color: rgba(255, 255, 255, 0.8);
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: end;
    gap: 1rem;
}
#footer3 .footer-content .footer-bottom a {
    color: rgba(255, 255, 255, 0.6);
}
#footer3 .footer-content .footer-bottom a:hover {
    color: rgba(255, 255, 255, 1);
}
#footer3 .footer-content .footer-bottom p {
    position: relative;
    margin: 0;
    font-size: 0.8rem;
}
#footer3 .footer-content .footer-bottom .policies {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}
#footer3 .footer-content .footer-bottom .legal {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

/* Footer 4 */
#footer4 {
    background-color: var(--footer-bg);
    color: var(--footer-text);
    display: flex;
    align-items: end;
    justify-content: space-between;
    padding: 1rem var(--gutter-width);
    flex-wrap: wrap;
}
#footer4 a {
    color: var(--footer-link-color);
}
#footer4 a:hover {
    color: var(--footer-link-color-hover);
}
#footer4 .logo img {
    max-height: 3.5rem;
    width: 100%;
    object-fit: contain;
    object-position: left;
    margin-bottom: 2rem;
}
#footer4 .socials {
    list-style: none;
    display: flex;
    gap: 1rem;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin: 0;
    font-size: 1.5rem;
}
#footer4 .socials {
    list-style: none;
    display: flex;
    gap: 1rem;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin: 0;
    font-size: 1.5rem;
}
#footer4 .legal {
    width: 100%;
}
#footer4 .legal p {
    margin: 0;
    font-size: 0.8rem;
}