/* Footer Styles */
.site-footer {
    background-color: #f7f8fa;
    padding: 60px 0 0;
    color: #666666;
}

.footer-widgets {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.footer-widget {
    margin-bottom: 20px;
}

.footer-widget-title {
    color: #111111;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer-widget ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-widget ul li {
    margin-bottom: 12px;
}

.footer-widget ul a {
    color: #666666;
    font-size: 14px;
}

.footer-widget ul a:hover {
    color: #3861fb;
}

.footer-bottom {
    background-color: #ffffff;
    padding: 20px 0;
    border-top: 1px solid #eaeaea;
    font-size: 14px;
}

.footer-bottom .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-menu {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-menu li {
    margin-right: 20px;
}

.footer-menu a {
    color: #666666;
}

.footer-menu a:hover {
    color: #3861fb;
}

.copyright {
    color: #666666;
}

#back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 40px;
    height: 40px;
    background-color: #3861fb;
    color: #ffffff;
    border: none;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 99;
}

#back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

#back-to-top:hover {
    background-color: #2d4ccc;
}

@media (max-width: 768px) {
    .footer-widgets {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .footer-widgets {
        grid-template-columns: 1fr;
    }

    .footer-bottom .container {
        flex-direction: column;
    }

    .footer-menu {
        margin-bottom: 15px;
        justify-content: center;
    }

    .footer-menu li {
        margin: 0 10px;
    }

    .copyright {
        text-align: center;
    }
}
