.site-footer {
    background-color: #3c5a8a;
    color: var(--text-color-light);
    padding: 80px 0 32px;
}

.footer-main {
    display: grid;
    grid-template-columns: 1.2fr 2fr;
    gap: 64px;
    padding-bottom: 64px;
}

.footer-about .footer-logo {
    display: block;
    margin-bottom: 1.5rem;
}

.footer-about .footer-logo img {
    height: 40px;
    width: auto;
}

.footer-about p {
    color: var(--text-color-light);
    opacity: 0.8;
    line-height: 1.7;
}

.footer-nav-widgets {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.footer-widget h4 {
    color: var(--text-color-light);
    margin-top: 0;
    margin-bottom: 1.5rem;
}

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

.footer-widget li {
    margin-bottom: 0.8rem;
}

.footer-widget a {
    color: var(--text-color-light);
    opacity: 0.8;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.footer-widget a:hover {
    opacity: 1;
}

.footer-bottom {
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center; /* Centered the copyright text */
}

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

/* Updated styles for the social icons in their new location */
.footer-social {
    display: flex;
    gap: 16px;
    margin-top: 24px; /* Added space above the icons */
}

.footer-social a {
    color: var(--text-color-light);
    opacity: 0.7;
    font-size: 1.8rem;
    transition: opacity 0.3s ease; /* Added transition for hover effect */
}

.footer-social a:hover {
    opacity: 1;
}

@media (max-width: 900px) {
    .footer-main {
        grid-template-columns: 1fr;
    }
    .footer-nav-widgets {
        grid-template-columns: repeat(2, 1fr);
        margin-left: 15px;
    }
}

/* ========================================
   Scroll To Top Button
   ======================================== */

.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: var(--text-color-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    cursor: pointer;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.scroll-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-top:hover {
    background-color: #c01778;
}

@media (max-width: 768px) {
    .scroll-to-top {
        bottom: 120px;
    }
}