.mimi-footer {
    position: relative;
    background: #0f172a; /* Dark, clean background instead of image */
    color: #f8fafc;
    padding: 80px 0 0;
    font-family: 'Inter', sans-serif;
    overflow: hidden;
}

/* Subtle top accent line */
.mimi-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #058FC9, #ef4444);
}

.mimi-footer-container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 48px;
    padding-bottom: 60px;
}

.mimi-footer-column h4 {
    color: #fff;
    font-size: 14px;
    font-weight: 800;
    margin-bottom: 28px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    position: relative;
    display: inline-block;
}

.mimi-footer-column h4::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 30px;
    height: 2px;
    background: #058FC9;
}

.mimi-footer-list {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.mimi-footer-list li {
    margin-bottom: 14px;
}

.mimi-footer-list li a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.mimi-footer-list li a:hover {
    color: #fff;
    transform: translateX(6px);
}

.mimi-footer-list li a .arrow {
    font-size: 12px;
    opacity: 0;
    transition: all 0.3s ease;
    color: #058FC9;
}

.mimi-footer-list li a:hover .arrow {
    opacity: 1;
}

/* Contact Card - Modernized with Running Border Effect */
.mimi-contact-card {
    position: relative;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 32px;
    border-radius: 24px;
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease, background 0.3s ease;
    overflow: hidden; /* Clip the running lines */
}

.mimi-contact-card:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-5px);
    border-color: transparent; /* Hide static border on hover */
}

/* Running Line Animation */
.mimi-line {
    position: absolute;
    display: block;
    opacity: 0;
    transition: opacity 0.3s;
}

.mimi-contact-card:hover .mimi-line {
    opacity: 1;
}

/* Top Line */
.mimi-line:nth-child(1) {
    top: 0;
    left: -100%;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #058FC9);
}

.mimi-contact-card:hover .mimi-line:nth-child(1) {
    left: 100%;
    transition: 1s;
}

/* Right Line */
.mimi-line:nth-child(2) {
    top: -100%;
    right: 0;
    width: 2px;
    height: 100%;
    background: linear-gradient(180deg, transparent, #058FC9);
}

.mimi-contact-card:hover .mimi-line:nth-child(2) {
    top: 100%;
    transition: 1s;
    transition-delay: 0.25s;
}

/* Bottom Line */
.mimi-line:nth-child(3) {
    bottom: 0;
    right: -100%;
    width: 100%;
    height: 2px;
    background: linear-gradient(270deg, transparent, #058FC9);
}

.mimi-contact-card:hover .mimi-line:nth-child(3) {
    right: 100%;
    transition: 1s;
    transition-delay: 0.5s;
}

/* Left Line */
.mimi-line:nth-child(4) {
    bottom: -100%;
    left: 0;
    width: 2px;
    height: 100%;
    background: linear-gradient(360deg, transparent, #058FC9);
}

.mimi-contact-card:hover .mimi-line:nth-child(4) {
    bottom: 100%;
    transition: 1s;
    transition-delay: 0.75s;
}

.mimi-contact-card h3 {
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 20px;
    color: #fff;
    line-height: 1.4;
}

.mimi-contact-info p {
    margin-bottom: 12px;
    font-size: 14px;
    line-height: 1.6;
    color: #94a3b8;
    display: flex;
    gap: 10px;
}

.mimi-contact-info strong {
    color: #f1f5f9;
    font-weight: 700;
    min-width: 85px;
}

.mimi-hashtags {
    margin-top: 24px;
    font-size: 12px;
    color: #64748b;
    line-height: 1.8;
    font-style: italic;
}

/* Bottom Bar - Clean & Minimal */
.mimi-footer-bottom {
    background: #0a0f1d;
    padding: 24px 0;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.mimi-footer-bottom p {
    margin: 0;
    font-size: 11px;
    font-weight: 600;
    color: #475569;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Mobile Optimizations */
@media (max-width: 1024px) {
    .mimi-footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .mimi-footer {
        padding: 60px 0 0;
    }
    .mimi-footer-container {
        grid-template-columns: 1fr; /* Stack on small mobile */
        text-align: left;
        gap: 48px;
    }
    
    /* Split links into 2 columns on mobile for better space usage */
    .mimi-footer-list {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }
    
    .mimi-footer-column:first-child {
        text-align: center;
    }
    
    .mimi-contact-card {
        padding: 24px;
    }
}

@media (max-width: 480px) {
    .mimi-footer-list {
        grid-template-columns: 1fr; /* Single column on very small screens */
    }
}
