/* Modern Footer Styles */
.modern-footer {
    background: #1f2937;
    color: white;
    padding: 4rem 0 0;
    margin-top: 3rem;
    position: relative;
    overflow: hidden;
}

.modern-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.05) 0%, rgba(79, 70, 229, 0.08) 100%);
}

.modern-footer .container {
    position: relative;
    z-index: 2;
}

/* Brand Section */
.footer-brand .brand-title {
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.footer-brand .brand-title i {
    color: #6366f1;
    margin-right: 0.5rem;
    font-size: 1.25rem;
}

.footer-brand .brand-subtitle {
    font-size: 0.7rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
    margin-left: 0.5rem;
    letter-spacing: 0.5px;
}

.footer-brand .brand-description {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    max-width: 320px;
}

/* Social Links */
.social-links .social-title {
    color: white;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.social-icons {
    display: flex;
    gap: 0.5rem;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-icon:hover {
    background: #6366f1;
    border-color: #6366f1;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}


/* Footer Titles */
.footer-title {
    color: white;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 24px;
    height: 2px;
    background: #6366f1;
    border-radius: 1px;
}

/* Footer Menu */
.footer-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

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

.footer-menu a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 1rem;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
    padding: 0.25rem 0;
}

.footer-menu a:hover {
    color: #6366f1;
    transform: translateX(3px);
}

.footer-menu a i {
    font-size: 0.75rem;
    opacity: 0.6;
    width: 16px;
}

/* Contact Section */
.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.contact-item:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-1px);
    border-color: rgba(99, 102, 241, 0.2);
}

.contact-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: #6366f1;
    border-radius: 8px;
    margin-right: 1rem;
    flex-shrink: 0;
}

.contact-icon i {
    color: white;
    font-size: 0.9rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
}

.contact-label {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.75rem;
    font-weight: 500;
    margin-bottom: 0.2rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-value {
    color: white;
    font-size: 0.85rem;
    font-weight: 500;
    text-decoration: none;
    line-height: 1.4;
}

.contact-value:hover {
    color: #6366f1;
}

/* Newsletter Section */
.newsletter-section {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 2rem;
    margin: 3rem 0 2rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.newsletter-title {
    color: white;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.newsletter-subtitle {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    margin-bottom: 0;
}

.newsletter-form {
    max-width: 400px;
    margin-left: auto;
}

.newsletter-input {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    border-radius: 8px 0 0 8px;
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
}

.newsletter-input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.newsletter-input:focus {
    background: rgba(255, 255, 255, 0.15);
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2);
    color: white;
}

.newsletter-btn {
    background: linear-gradient(135deg, #6366f1, #a5b4fc);
    border: none;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 0 8px 8px 0;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.newsletter-btn:hover {
    background: linear-gradient(135deg, #4f46e5, #8b5cf6);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
    color: white;
}

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

.copyright {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    margin-bottom: 0;
}

.partner-link {
    color: #6366f1;
    text-decoration: none;
    font-weight: 500;
}

.partner-link:hover {
    color: #8b5cf6;
}

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

.policy-link {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.policy-link:hover {
    color: #6366f1;
}

/* Responsive Design */
@media (max-width: 768px) {
    .modern-footer {
        padding: 3rem 0 0;
    }
    
    .footer-brand .brand-title {
        font-size: 1.3rem;
        flex-direction: column;
        align-items: flex-start;
    }
    
    .footer-brand .brand-subtitle {
        margin-left: 0;
        margin-top: 0.25rem;
    }
    
    .newsletter-section {
        padding: 1.5rem;
        text-align: center;
    }
    
    .newsletter-form {
        margin: 1rem auto 0;
    }
    
    .footer-policies {
        justify-content: center;
        margin-top: 1rem;
        flex-wrap: wrap;
    }
    
    .social-icons {
        justify-content: center;
    }
    
    .contact-item {
        margin-bottom: 1rem;
    }
}

@media (max-width: 576px) {
    .newsletter-form .input-group {
        flex-direction: column;
    }
    
    .newsletter-input {
        border-radius: 8px;
        margin-bottom: 0.75rem;
    }
    
    .newsletter-btn {
        border-radius: 8px;
        width: 100%;
    }
    
    .footer-policies {
        gap: 1rem;
    }
}
