.modern-footer {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    color: #e2e8f0;
    position: relative;
    overflow: hidden;
}

.modern-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 8px;
    background-image: url("data:image/svg+xml,%3Csvg width='100%25' height='8' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 4 Q 10 0, 20 4 T 40 4 T 60 4 T 80 4 T 100 4 T 120 4 T 140 4 T 160 4 T 180 4 T 200 4 T 220 4 T 240 4 T 260 4 T 280 4 T 300 4 T 320 4 T 340 4 T 360 4 T 380 4 T 400 4 T 420 4 T 440 4 T 460 4 T 480 4 T 500 4 T 520 4 T 540 4 T 560 4 T 580 4 T 600 4 T 620 4 T 640 4 T 660 4 T 680 4 T 700 4 T 720 4 T 740 4 T 760 4 T 780 4 T 800 4 T 820 4 T 840 4 T 860 4 T 880 4 T 900 4 T 920 4 T 940 4 T 960 4 T 980 4 T 1000 4' stroke='%233b82f6' stroke-width='3' fill='none'/%3E%3C/svg%3E");
    background-repeat: repeat-x;
    background-size: 40px 8px;
}

.footer-main {
    padding: 5px 0 5px;
}

.footer-widget {
    margin-bottom: 5px;
}

.footer-contact .contact-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 8px;
    color: #cbd5e1;
    font-size: 16px;
}

.footer-contact .contact-item i {
    color: #3b82f6;
    font-size: 18px;
    margin-top: 2px;
    min-width: 20px;
}

.footer-contact .contact-item a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-contact .contact-item a:hover {
    color: #3b82f6;
}

.footer-title {
    color: #fff;
    font-size: 19px;
    font-weight: 600;
    margin-bottom: 12px;
    position: relative;
    padding-bottom: 8px;
}

.footer-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 3px;
    background: #3b82f6;
    border-radius: 2px;
}

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

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

.footer-links li a {
    color: #cbd5e1;
    text-decoration: none;
    font-size: 16px;
    transition: all 0.3s;
    display: inline-block;
}

.footer-links li a:hover {
    color: #3b82f6;
    padding-left: 5px;
}

.newsletter-text {
    color: #cbd5e1;
    font-size: 16px;
    margin-bottom: 10px;
    line-height: 1.5;
}

.newsletter-form .input-group {
    display: flex;
    margin-bottom: 12px;
}

.newsletter-form input {
    flex: 1;
    padding: 10px 15px;
    border: 1px solid #334155;
    background: #1e293b;
    color: #e2e8f0;
    border-radius: 6px 0 0 6px;
    font-size: 16px;
    outline: none;
    transition: border-color 0.3s;
}

.newsletter-form input:focus {
    border-color: #3b82f6;
}

.newsletter-form button {
    padding: 10px 20px;
    background: #3b82f6;
    border: none;
    color: #fff;
    border-radius: 0 6px 6px 0;
    cursor: pointer;
    transition: background 0.3s;
}

.newsletter-form button:hover {
    background: #2563eb;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #334155;
    color: #e2e8f0;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s;
}

.social-links a:hover {
    background: #3b82f6;
    transform: translateY(-3px);
}

.footer-bottom {
    padding: 8px 0;
    border-top: 1px solid #334155;
    background: rgba(15, 23, 42, 0.5);
}

.copyright {
    margin: 0;
    color: #94a3b8;
    font-size: 15px;
}

.copyright strong {
    color: #3b82f6;
}

@media (max-width: 768px) {
    .footer-main {
        padding: 5px 0 5px;
    }
    
    .footer-widget {
        margin-bottom: 25px;
        text-align: center;
    }
    
    .footer-logo {
        display: flex;
        justify-content: center;
    }
    
    .footer-contact .contact-item {
        justify-content: center;
    }
    
    .footer-title::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-links {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .footer-title {
        font-size: 16px;
        margin-bottom: 20px;
    }
}
