/* Modern Footer Styles */
.footer {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
    color: white;
    padding: 4rem 0 2rem;
    position: relative;
    overflow: hidden;
}

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

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand {
    text-align: left;
}

.footer-brand h3 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-brand p {
    color: #94a3b8;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.footer-section h4 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #e2e8f0;
    position: relative;
}

.footer-section h4::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 0;
    width: 30px;
    height: 2px;
    background: linear-gradient(90deg, #3b82f6, #8b5cf6);
    border-radius: 1px;
}

.footer-section ul {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-section ul li a {
    color: #94a3b8;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    position: relative;
    padding-left: 0;
}

.footer-section ul li a:hover {
    color: #3b82f6;
    padding-left: 0.5rem;
}

.footer-section ul li a::before {
    content: '→';
    position: absolute;
    left: -1rem;
    opacity: 0;
    transition: all 0.3s ease;
}

.footer-section ul li a:hover::before {
    opacity: 1;
    left: -0.5rem;
}

.footer-bottom {
    border-top: 1px solid rgba(148, 163, 184, 0.1);
    padding-top: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    background: transparent;
    margin: 0;
    padding-left: 0;
    padding-right: 0;
    margin-top: 1rem;
    position: relative;
}

.footer-bottom p {
    color: #94a3b8;
    font-size: 0.9rem;
    text-align: center;
    flex: 1;
    margin: 0;
}

.footer-social {
    display: flex;
    gap: 1rem;
    position: absolute;
    right: 2rem;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(139, 92, 246, 0.2));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.footer-social a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.footer-social a:hover {
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
}

.footer-social a i {
    position: relative;
    z-index: 1;
}

/* Newsletter Section */
.footer-newsletter {
    margin-top: 1.5rem;
}

.footer-newsletter h5 {
    font-size: 1rem;
    margin-bottom: 0.75rem;
    color: #e2e8f0;
}

.newsletter-form {
    display: flex;
    gap: 0.5rem;
    max-width: 300px;
}

.newsletter-form input {
    flex: 1;
    padding: 0.75rem;
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 8px;
    background: rgba(15, 23, 42, 0.5);
    color: white;
    font-size: 0.9rem;
}

.newsletter-form input::placeholder {
    color: #64748b;
}

.newsletter-form button {
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    border: none;
    border-radius: 8px;
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.newsletter-form button:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
}

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

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .footer-section h4::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-section ul li a::before {
        display: none;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1.5rem;
        margin: 0 -1rem;
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .newsletter-form {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .footer {
        padding: 2rem 0 1rem;
    }

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

    .footer-section ul {
        align-items: center;
    }

    .footer-social {
        justify-content: center;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .footer-links {
        justify-content: center;
        flex-wrap: wrap;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .footer {
        padding: 2rem 0 1rem;
    }

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

    .footer-section ul {
        align-items: center;
    }
}
