/* MODERN FOOTER STYLES */
.modern-footer {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    color: white;
    margin-top: auto;
}

.footer-main {
    padding: 3rem 0 2rem;
}

.footer-widget {
    height: 100%;
}

.footer-logo {
    margin-bottom: 1.5rem;
}

.footer-logo img {
    height: 50px;
    width: auto;
    filter: brightness(0) invert(1);
}

.footer-description {
    color: #cbd5e1;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.footer-title {
    color: white;
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: linear-gradient(90deg, #3b82f6, #8b5cf6);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.footer-links li i {
    color: #3b82f6;
    font-size: 0.9rem;
    margin-top: 0.1rem;
    flex-shrink: 0;
}

.footer-links li span,
.footer-links li a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.2s ease;
    line-height: 1.5;
    font-size: 0.9rem;
}

.footer-links li a:hover {
    color: white;
}

.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact li {
    margin-bottom: 1rem;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.footer-contact li i {
    color: #3b82f6;
    font-size: 1rem;
    margin-top: 0.1rem;
    flex-shrink: 0;
    width: 16px;
}

.footer-contact li span,
.footer-contact li a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.2s ease;
    line-height: 1.5;
    font-size: 0.9rem;
}

.footer-contact li a:hover {
    color: white;
}

.footer-social {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(59, 130, 246, 0.1);
    border: 2px solid rgba(59, 130, 246, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #3b82f6;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.footer-social a:hover {
    background: #3b82f6;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.footer-bottom {
    background: rgba(0, 0, 0, 0.3);
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.copyright-text {
    color: #cbd5e1;
    margin: 0;
    font-size: 0.9rem;
}

.copyright-text a {
    color: #3b82f6;
    text-decoration: none;
    transition: color 0.2s ease;
}

.copyright-text a:hover {
    color: white;
}

.footer-bottom-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: flex-end;
    gap: 1.5rem;
}

.footer-bottom-links li a {
    color: #cbd5e1;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s ease;
}

.footer-bottom-links li a:hover {
    color: white;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
}

/* Responsive Design */
@media (max-width: 767.98px) {
    .footer-main {
        padding: 2rem 0 1.5rem;
    }

    .footer-bottom-links {
        justify-content: center;
        margin-top: 1rem;
        gap: 1rem;
    }

    .footer-bottom .row {
        text-align: center;
    }

    .back-to-top {
        width: 45px;
        height: 45px;
        bottom: 20px;
        right: 20px;
        font-size: 1.1rem;
    }

    .footer-social {
        justify-content: center;
    }
}