@font-face {
    font-family: 'Mona Sans';
    src: url('../../fonts/MonaSans-Regular.woff2') format('woff2 supports variations'),
        url('../../fonts/Mona-Sans-Regular.ttf') format('truetype');
    font-weight: 200 900;
    font-stretch: 75% 125%;
    font-display: swap;
}

@font-face {
    font-family: 'Mona Sans';
    src: url('../../fonts/Mona-Sans-Bold.ttf') format('truetype');
    font-weight: bold;
    font-display: swap;
}

@font-face {
    font-family: 'Mona Sans';
    src: url('../../fonts/Mona-Sans-BoldItalic.ttf') format('truetype');
    font-weight: bold;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Mona Sans';
    src: url('../../fonts/Mona-Sans-BlackItalic.ttf') format('truetype');
    font-weight: 900;
    font-style: italic;
    font-display: swap;
}

.site-footer {
    background-color: #1b1b1b;
    /* Primary dark background */
    padding: 40px 20px;
    font-family: 'Mona Sans', sans-serif;
    color: #ffffff;
    /* Primary text color */
}

.site-footer__container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.site-footer__upper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.site-footer__logo {
    display: flex;
    align-items: center;
    /* Color for logo text if any, but now it's an image */
    color: #ffffff;
    text-decoration: none;
}

/* Removed .site-footer__logo svg styles as the logo will be an image */

.accessibility-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.site-footer__links {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.site-footer__link {
    text-decoration: none;
    color: #ffffff;
    /* Text color */
    font-weight: 500;
    transition: color 0.2s ease-in-out;
}

.site-footer__link:hover {
    color: #ffa31a;
    /* Hover effect color */
}

.site-footer__social-links {
    display: flex;
    gap: 15px;
}

.site-footer__social-link {
    /* No direct color for the link itself, as it contains an image */
    transition: opacity 0.2s ease-in-out;
    /* Transition for image hover */
}

.site-footer__social-link:hover {
    opacity: 0.7;
    /* Slight opacity change on hover for image icons */
}

/* Styling for the image icons within social links */
.site-footer__social-link img {
    width: 24px;
    height: 24px;
    vertical-align: middle;
    /* Align image with text if any */
    filter: brightness(0) invert(1);
    /* Make black icons white */
}

.site-footer__lower {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    border-top: 1px solid #292929;
    /* Darker border */
    padding-top: 20px;
    margin-top: 20px;
    font-size: 14px;
    color: #ffffff;
    /* Text color */
}

.site-footer__lower-list {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.site-footer__lower-list a {
    text-decoration: none;
    color: #808080;
    /* Secondary text color */
    transition: color 0.2s ease-in-out;
}

.site-footer__lower-list a:hover {
    color: #ffa31a;
    /* Hover effect color */
}

/* Styling for the "Proudly Canada" list item */
.proudly-canada {
    display: flex;
    align-items: center;
    gap: 6px;
}

.proudly-canada img {
    vertical-align: middle;
}

/* Scroll to Top Button Styling */
#scrollToTopBtn {
    display: none;
    /* Hidden by default, shown by JS */
    position: fixed;
    bottom: 40px;
    right: 40px;
    z-index: 9999;
    width: 48px;
    height: 48px;
    border: none;
    border-radius: 50%;
    background: #ffa31a;
    color: #1b1b1b;
    font-size: 2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
    cursor: pointer;
    transition: opacity 0.3s;
}

#scrollToTopBtn:hover {
    opacity: 0.8;
}


/* Responsive adjustments */
@media (max-width: 768px) {
    .site-footer__upper {
        flex-direction: column;
        align-items: flex-start;
    }

    .site-footer__links {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
    }

    .site-footer__social-links {
        width: 100%;
        justify-content: flex-start;
    }

    .site-footer__lower {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 480px) {
    .site-footer {
        padding: 20px 15px;
    }

    .site-footer__links,
    .site-footer__lower-list {
        gap: 10px;
    }

    #scrollToTopBtn {
        bottom: 20px;
        right: 20px;
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }
}