/* Modern Footer Styles - Exact Match to Image */

.modern-footer {
    background: #1E3A8A;
    color: #ffffff;
    padding: 60px 0 30px;
    position: relative;
    overflow: hidden;
}

.modern-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #1E3A8A 0%, #1E40AF 100%);
    z-index: 1;
}

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

/* Main Footer Content */
.footer-main {
    margin-bottom: 40px;
}

/* Brand Section */
.footer-brand {
    margin-bottom: 20px;
}

.brand-logo {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.logo-icon {
    margin-right: 12px;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-icon i {
    font-size: 1.5rem;
    color: #ffffff;
}

.brand-text {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: -0.5px;
}

.brand-description {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 0.95rem;
    font-weight: 400;
    color: #CBD5E1;
    line-height: 1.6;
    margin: 0;
    max-width: 300px;
}

/* Footer Sections */
.footer-section {
    margin-bottom: 20px;
}

.footer-title {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
}

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

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 0.9rem;
    font-weight: 400;
    color: #CBD5E1;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

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

/* Contact Information */
.contact-info {
    margin-top: 0;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 16px;
}

.contact-icon {
    font-size: 1rem;
    color: #ffffff;
    margin-right: 12px;
    width: 16px;
    text-align: center;
}

.contact-text {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 0.9rem;
    font-weight: 400;
    color: #CBD5E1;
    line-height: 1.4;
}

/* Footer Divider */
.footer-divider {
    height: 1px;
    background: #475569;
    margin: 30px 0;
    width: 100%;
}

/* Footer Bottom */
.footer-bottom {
    padding-top: 20px;
}

.copyright-text {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 0.85rem;
    font-weight: 400;
    color: #94A3B8;
    margin: 0;
}

/* Social Links */
.social-links {
    display: flex;
    justify-content: flex-end;
    gap: 16px;
}

.social-link {
    width: 40px;
    height: 40px;
    border: 2px solid #475569;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.social-link:hover {
    background: #ffffff;
    color: #1E3A8A;
    border-color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.2);
}

/* Responsive Design */
@media (max-width: 992px) {
    .modern-footer {
        padding: 50px 0 25px;
    }
    
    .footer-main {
        margin-bottom: 30px;
    }
    
    .brand-text {
        font-size: 1.375rem;
    }
    
    .brand-description {
        font-size: 0.9rem;
        max-width: 100%;
    }
    
    .footer-title {
        font-size: 0.95rem;
        margin-bottom: 16px;
    }
    
    .footer-links a {
        font-size: 0.85rem;
    }
    
    .contact-text {
        font-size: 0.85rem;
    }
    
    .social-links {
        justify-content: center;
        margin-top: 20px;
    }
    
    .footer-bottom .row {
        text-align: center;
    }
    
    .copyright-text {
        font-size: 0.8rem;
        margin-bottom: 15px;
    }
}

@media (max-width: 768px) {
    .modern-footer {
        padding: 40px 0 20px;
    }
    
    .footer-main {
        margin-bottom: 25px;
    }
    
    .brand-logo {
        margin-bottom: 16px;
    }
    
    .brand-text {
        font-size: 1.25rem;
    }
    
    .brand-description {
        font-size: 0.85rem;
        line-height: 1.5;
    }
    
    .footer-title {
        font-size: 0.9rem;
        margin-bottom: 14px;
    }
    
    .footer-links li {
        margin-bottom: 10px;
    }
    
    .footer-links a {
        font-size: 0.8rem;
    }
    
    .contact-item {
        margin-bottom: 14px;
    }
    
    .contact-icon {
        font-size: 0.9rem;
        margin-right: 10px;
    }
    
    .contact-text {
        font-size: 0.8rem;
    }
    
    .footer-divider {
        margin: 25px 0;
    }
    
    .social-link {
        width: 36px;
        height: 36px;
        font-size: 0.9rem;
    }
    
    .copyright-text {
        font-size: 0.75rem;
    }
}

@media (max-width: 576px) {
    .modern-footer {
        padding: 30px 0 15px;
    }
    
    .footer-main {
        margin-bottom: 20px;
    }
    
    .brand-text {
        font-size: 1.125rem;
    }
    
    .brand-description {
        font-size: 0.8rem;
    }
    
    .footer-title {
        font-size: 0.85rem;
        margin-bottom: 12px;
    }
    
    .footer-links li {
        margin-bottom: 8px;
    }
    
    .footer-links a {
        font-size: 0.75rem;
    }
    
    .contact-item {
        margin-bottom: 12px;
    }
    
    .contact-icon {
        font-size: 0.8rem;
        margin-right: 8px;
    }
    
    .contact-text {
        font-size: 0.75rem;
    }
    
    .footer-divider {
        margin: 20px 0;
    }
    
    .social-links {
        gap: 12px;
    }
    
    .social-link {
        width: 32px;
        height: 32px;
        font-size: 0.8rem;
    }
    
    .copyright-text {
        font-size: 0.7rem;
    }
}

/* Animation Effects */
.footer-links a,
.social-link {
    animation: fadeInUp 0.6s ease-out;
}

.footer-links li:nth-child(1) a { animation-delay: 0.1s; }
.footer-links li:nth-child(2) a { animation-delay: 0.2s; }
.footer-links li:nth-child(3) a { animation-delay: 0.3s; }
.footer-links li:nth-child(4) a { animation-delay: 0.4s; }

.social-link:nth-child(1) { animation-delay: 0.1s; }
.social-link:nth-child(2) { animation-delay: 0.2s; }
.social-link:nth-child(3) { animation-delay: 0.3s; }
.social-link:nth-child(4) { animation-delay: 0.4s; }

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    .modern-footer {
        background: #000000;
        border-top: 2px solid #ffffff;
    }
    
    .brand-text,
    .footer-title {
        color: #ffffff;
    }
    
    .brand-description,
    .footer-links a,
    .contact-text,
    .copyright-text {
        color: #ffffff;
    }
    
    .social-link {
        border-color: #ffffff;
        color: #ffffff;
    }
    
    .social-link:hover {
        background: #ffffff;
        color: #000000;
    }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    .footer-links a,
    .social-link {
        animation: none;
    }
    
    .footer-links a:hover {
        transform: none;
    }
    
    .social-link:hover {
        transform: none;
    }
}
