/**
 * FISav - Footer Styles
 */

.footer {
    background-color: var(--bg-dark);
    color: var(--text-white);
}

.footer-main {
    padding: var(--spacing-xl) 0 var(--spacing-lg);
}

.footer-widget {
    margin-bottom: var(--spacing-md);
}

.footer-logo {
    margin-bottom: var(--spacing-sm);
}

.footer-logo img {
    max-height: 60px;
    width: auto;
}

.footer-widget p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: var(--spacing-sm);
    line-height: 1.8;
}

.footer-title {
    font-size: var(--h4-size);
    color: var(--text-white);
    margin-bottom: var(--spacing-md);
    font-weight: 500;
}

/* Social Links */
.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--text-white);
    transition: all var(--transition-base);
}

.social-links a:hover {
    background-color: var(--primary);
    transform: translateY(-3px);
}



/* Footer Links */
.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links li a {
    color: rgba(255, 255, 255, 0.7);
    transition: all var(--transition-base);
    display: inline-block;
}

.footer-links li a:hover {
    color: var(--primary);
    padding-left: 5px;
}

/* Footer Contact */
.footer-contact {
    list-style: none;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.7);
}

.footer-contact li i {
    color: var(--primary);
    margin-top: 3px;
}

.footer-contact li a {
    color: rgba(255, 255, 255, 0.7);
    transition: color var(--transition-base);
}

.footer-contact li a:hover {
    color: var(--primary);
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: var(--spacing-md) 0;
}

.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

.footer-bottom-links {
    display: flex;
    gap: var(--spacing-md);
    list-style: none;
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.6);
    transition: color var(--transition-base);
}

.footer-bottom-links a:hover {
    color: var(--primary);
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--primary);
    color: var(--text-white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all var(--transition-base);
    z-index: var(--z-fixed);
    box-shadow: var(--shadow-lg);
}

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

.back-to-top:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
}

.back-to-top i {
    font-size: 18px;
}

/* Responsive */
@media (max-width: 768px) {
    .footer-bottom-inner {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-bottom-links {
        justify-content: center;
    }
    
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
}
