.footer {
    background: #0F0F0F;
    padding: 4rem 3rem 2rem;
    margin: 2rem;
    border-radius: 12px;
    position: relative;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: #0F0F0F;
    color: #fff;
    line-height: 1.6;
}

/* .footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 12px;
    padding: 1px;
    background: 
        linear-gradient(90deg, 
        transparent 0%,
        transparent 30%,
        var(--primary-color) 50%,
        transparent 70%,
        transparent 100%
        ) 
        0 / 300% 100%;
    -webkit-mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    animation: borderAnimation 7s linear infinite alternate;
} */

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1.5fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-navigation {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.footer-nav-group {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.footer-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-color);
    margin: 0;
    position: relative;
    display: inline-block;
    letter-spacing: 1px;
}

.footer-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 30px;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.footer-nav-group:hover .footer-title::after {
    width: 100%;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

.footer-social {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.footer-description {
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    font-size: 0.9rem;
}

.footer-subscribe {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.footer-input {
    flex-grow: 1;
    background: rgba(20, 20, 20, 0.8);
    border-radius: 8px;
    padding: 1rem;
    color: #fff;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.footer-input:focus {
    outline: none;
    border-color: var(--primary-color);

}

.subscribe-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 0 1.5rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.subscribe-btn:hover {
    background: var(--primary-hover);
    transform: translateX(5px);
}

.subscribe-btn svg {
    width: 18px;
    height: 18px;
    transition: transform 0.3s ease;
}

.subscribe-btn:hover svg {
    transform: translateX(3px);
}

.footer-social-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.social-link svg {
    width: 32px;
    height: 32px;
}


.social-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
    padding: 0.8rem;
    border-radius: 8px;
    background: rgba(20, 20, 20, 0.8);
}

.social-link:hover {
    border-color: var(--primary-color);
    transform: translateY(-3px);
}

.social-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1.2rem;
    background: rgba(138, 43, 226, 0.1);
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.social-link:hover .social-icon {
    background: rgba(138, 43, 226, 0.2);
    transform: scale(1.1);
}

.social-link span {
    font-size: 1.1rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.social-link:hover span {
    color: var(--primary-color);
}

.footer-bottom {
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.copyright {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
    margin: 0;
}

.footer-legal {
    display: flex;
    gap: 2rem;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-legal a:hover {
    color: var(--primary-color);
}

@media (max-width: 1200px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .footer-navigation {
        grid-template-columns: repeat(3, 1fr);
    }

    .footer-social-links {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 768px) {
    .footer {
        padding: 3rem 2rem 1.5rem;
        margin: 1rem;
    }

    .footer-navigation {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-social-links {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .footer-legal {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .footer-navigation {
        grid-template-columns: 1fr;
    }

    .footer-social-links {
        grid-template-columns: 1fr;
    }

    .footer-subscribe {
        flex-direction: column;
    }
}