/* Footer Styles */
.modern-footer {
    background: linear-gradient(135deg, #0f1419 0%, #1a1a1a 50%, #0d1117 100%);
    color: #e6edf3;
    position: relative;
    overflow: hidden;
}

.modern-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><g fill="%23ffffff" fill-opacity="0.02"><circle cx="30" cy="30" r="4"/><circle cx="10" cy="30" r="4"/><circle cx="50" cy="30" r="4"/><circle cx="30" cy="10" r="4"/><circle cx="30" cy="50" r="4"/></g></g></svg>') repeat;
    animation: float 30s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

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

/* Footer Brand */
.footer-brand {
    margin-bottom: 1.5rem;
}

.brand-logo {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-bottom: 1rem;
}

.brand-logo img {
    height: 40px;
    width: auto;
    max-width: 200px;
}

.footer-description {
    color: #8b949e;
    line-height: 1.6;
    margin-bottom: 2rem;
    font-size: 0.95rem;
}

/* Contact Info */
.footer-main .contact-info {
    margin-bottom: 2rem;
    display: block !important;
    justify-content: unset !important;
    gap: unset !important;
    flex-wrap: unset !important;
    padding-top: unset !important;
    border-top: none !important;
}

.footer-main .contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    color: #8b949e;
    transition: color 0.3s ease;
}

.footer-main .contact-item:hover {
    color: #dc3545;
}

.footer-main .contact-item svg {
    color: #dc3545;
    flex-shrink: 0;
}

.footer-main .contact-item a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-main .contact-item a:hover {
    color: #dc3545;
}

/* Social Links */
.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #8b949e;
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.social-link:hover {
    background: #dc3545;
    border-color: #dc3545;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(220, 53, 69, 0.3);
}

/* Footer Sections */
.footer-section-title {
    color: #e6edf3;
    font-weight: 600;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1.5rem;
    position: relative;
}

.footer-section-title::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 0;
    width: 30px;
    height: 2px;
    background: linear-gradient(135deg, #dc3545, #6366f1);
    border-radius: 2px;
}

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

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

.footer-links a {
    color: #8b949e;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    padding: 0.25rem 0;
}

.footer-links a:hover {
    color: #dc3545;
    transform: translateX(5px);
}

.footer-links a svg {
    width: 14px;
    height: 14px;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.footer-links a:hover svg {
    opacity: 1;
    color: #dc3545;
}

/* Newsletter Card */
.newsletter-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 1.5rem;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.newsletter-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(135deg, #dc3545, #6366f1);
}

.newsletter-title {
    color: #e6edf3;
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.newsletter-description {
    color: #8b949e;
    font-size: 0.85rem;
    margin-bottom: 1rem;
}

.newsletter-form .input-group {
    display: flex;
    border-radius: 10px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.newsletter-input {
    flex: 1;
    background: transparent;
    border: none;
    padding: 0.75rem 1rem;
    color: #e6edf3;
    font-size: 0.9rem;
    outline: none;
}

.newsletter-input::placeholder {
    color: #8b949e;
}

.newsletter-btn {
    background: linear-gradient(135deg, #dc3545, #6366f1);
    border: none;
    padding: 0.75rem 1rem;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.newsletter-btn:hover {
    background: linear-gradient(135deg, #6366f1, #dc3545);
    transform: scale(1.05);
}

/* Footer Bottom */
.footer-bottom {
    background: rgba(0, 0, 0, 0.4);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem 0;
    position: relative;
    z-index: 2;
}

.copyright {
    color: #8b949e;
    margin: 0;
    font-size: 0.9rem;
}

.footer-legal {
    display: flex;
    gap: 1.5rem;
    justify-content: flex-end;
}

.footer-legal a {
    color: #8b949e;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-legal a:hover {
    color: #dc3545;
}

/* Responsive Design */
@media (max-width: 768px) {
    .footer-brand {
        justify-content: center;
        text-align: center;
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .footer-description {
        text-align: center;
    }
    
    .footer-main .contact-info {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .footer-main .contact-item {
        justify-content: center;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .footer-section-title {
        text-align: center;
    }
    
    .footer-section-title::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-links {
        text-align: center;
    }
    
    .footer-links a {
        justify-content: center;
        display: inline-flex;
    }
    
    .footer-legal {
        justify-content: center;
        flex-wrap: wrap;
        gap: 1rem;
        margin-top: 1rem;
    }
    
    .copyright {
        text-align: center;
    }
    
    .newsletter-form .input-group {
        flex-direction: column;
    }
    
    .newsletter-btn {
        border-radius: 0 0 10px 10px;
    }
    
    .footer-main {
        padding: 3rem 0 1.5rem;
    }
    
    /* Center all footer columns on mobile */
    .footer-main .col-lg-4,
    .footer-main .col-lg-2,
    .footer-main .col-md-6 {
        text-align: center;
        margin-bottom: 2rem;
    }
}
