.footer-modern {
    background: linear-gradient(135deg, var(--gray-900), var(--dark-color));
    color: var(--gray-300);
    position: relative;
    overflow: hidden;
}

.footer-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
}

.footer-main {
    padding: 4rem 0 2rem;
    position: relative;
}

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

.footer-brand .logo-img {
    height: 40px;
    filter: brightness(0) invert(1);
    transition: all 0.3s ease;
}

.footer-brand .logo-img:hover {
    transform: scale(1.05);
}

.footer-description {
    color: var(--gray-400);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.footer-social h6 {
    color: var(--gray-200);
    margin-bottom: 1rem;
    font-weight: 600;
}

.social-links {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--gray-300);
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.social-link:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.3);
}

.footer-links h6 {
    color: var(--gray-200);
    margin-bottom: 1.5rem;
    font-weight: 600;
    position: relative;
}

.footer-links h6::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--primary-color);
    border-radius: 1px;
}

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

.footer-menu li {
    margin-bottom: 0.75rem;
}

.footer-menu a {
    color: var(--gray-400);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
}

.footer-menu a:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

.footer-menu a::before {
    content: '→';
    margin-right: 0.5rem;
    opacity: 0;
    transition: all 0.3s ease;
    transform: translateX(-10px);
}

.footer-menu a:hover::before {
    opacity: 1;
    transform: translateX(0);
}

.footer-contact h6 {
    color: var(--gray-200);
    margin-bottom: 1rem;
    font-weight: 600;
}

.newsletter-form .input-group {
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.newsletter-form .form-control {
    background: transparent;
    border: none;
    color: var(--gray-200);
    padding: 0.75rem 1rem;
}

.newsletter-form .form-control::placeholder {
    color: var(--gray-500);
}

.newsletter-form .form-control:focus {
    box-shadow: none;
    background: rgba(255, 255, 255, 0.15);
}

.newsletter-form .btn {
    border: none;
    padding: 0.75rem 1rem;
    background: var(--primary-color);
    color: white;
    transition: all 0.3s ease;
}

.newsletter-form .btn:hover {
    background: var(--primary-dark);
    transform: scale(1.05);
}

.contact-info p {
    color: var(--gray-400);
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.contact-info i {
    color: var(--primary-color);
    width: 16px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem 0;
    background: rgba(0, 0, 0, 0.2);
}

.copyright-text {
    color: var(--gray-500);
    margin: 0;
    font-size: 0.9rem;
}

.footer-bottom-links {
    display: flex;
    gap: 1.5rem;
    justify-content: flex-end;
    flex-wrap: wrap;
}

.footer-bottom-links a {
    color: var(--gray-500);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

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

.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: var(--shadow-lg);
}

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

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

/* Responsive */
@media (max-width: 768px) {
    .footer-main {
        padding: 3rem 0 1.5rem;
    }

    .footer-bottom-links {
        justify-content: center;
        margin-top: 1rem;
    }

    .back-to-top {
        bottom: 1rem;
        right: 1rem;
        width: 45px;
        height: 45px;
    }
}

@media (max-width: 576px) {
    .social-links {
        justify-content: center;
    }

    .footer-links {
        text-align: center;
    }

    .footer-links h6::after {
        left: 50%;
        transform: translateX(-50%);
    }
}