/* ==========================================================================
   Modern Footer Widget - Professional Design
   ========================================================================== */

/* Container */
.mf-footer {
    background-color: #ffffff;
    color: #64748b;
    font-family: var(--font-dmsans), sans-serif;
}

.mf-container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ==========================================================================
   Top Bar - Logo & CTA
   ========================================================================== */
.mf-top-bar {
    background: linear-gradient(135deg, #053880 0%, #0a4a9e 100%);
    padding: 24px 0;
}

.mf-top-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
}

.mf-logo {
    display: inline-block;
    flex-shrink: 0;
}

.mf-logo img {
    width: 180px;
    height: auto;
    filter: brightness(0) invert(1);
    transition: opacity 0.3s ease;
}

.mf-logo:hover img {
    opacity: 0.85;
}

.mf-top-cta {
    display: flex;
    align-items: center;
    gap: 20px;
}

.mf-cta-text {
    color: rgba(255, 255, 255, 0.9);
    font-size: 15px;
    font-weight: 500;
}

.mf-cta-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: #ffffff;
    color: #053880;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.mf-cta-button:hover {
    background: #f0f4f8;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.mf-cta-button svg {
    flex-shrink: 0;
}

/* ==========================================================================
   Main Footer Content
   ========================================================================== */
.mf-main {
    background: #f8fafc;
    padding: 60px 0;
}

.mf-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1.3fr 1.5fr;
    gap: 40px;
}

/* Columns */
.mf-column {
    display: flex;
    flex-direction: column;
}

/* Column Titles */
.mf-column-title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 16px;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 24px 0;
    letter-spacing: -0.01em;
}

.mf-decoration {
    width: 4px;
    height: 20px;
    background: linear-gradient(180deg, #053880 0%, #0a4a9e 100%);
    border-radius: 2px;
    flex-shrink: 0;
}

/* About Column */
.mf-about-text {
    font-size: 14px;
    line-height: 1.8;
    color: #64748b;
    margin: 0 0 24px 0;
}

.mf-social-wrapper {
    margin-top: auto;
}

.mf-social-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #475569;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.mf-social-links {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.mf-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    color: #64748b;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.mf-social-link:hover {
    background-color: #053880;
    border-color: #053880;
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(5, 56, 128, 0.3);
}

.mf-social-link svg,
.mf-social-link i {
    width: 16px;
    height: 16px;
    font-size: 14px;
}

/* Menu Lists */
.mf-menu-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mf-menu-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #64748b;
    text-decoration: none;
    transition: all 0.2s ease;
    padding: 4px 0;
}

.mf-menu-link:hover {
    color: #053880;
    transform: translateX(4px);
}

.mf-link-dot {
    width: 6px;
    height: 6px;
    background: #cbd5e1;
    border-radius: 50%;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.mf-menu-link:hover .mf-link-dot {
    background: #053880;
    transform: scale(1.3);
}

/* Contact Info */
.mf-contact-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.mf-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.mf-contact-icon-wrapper {
    flex-shrink: 0;
}

.mf-contact-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    color: #053880;
    transition: all 0.3s ease;
}

.mf-contact-icon svg {
    width: 18px;
    height: 18px;
}

.mf-contact-item:hover .mf-contact-icon {
    background: #053880;
    border-color: #053880;
    color: #ffffff;
}

.mf-whatsapp-wrapper .mf-whatsapp-icon {
    color: #25D366;
}

.mf-contact-item:hover .mf-whatsapp-wrapper .mf-whatsapp-icon {
    background: #25D366;
    border-color: #25D366;
    color: #ffffff;
}

.mf-contact-content {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding-top: 2px;
}

.mf-contact-label {
    font-size: 11px;
    font-weight: 600;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.mf-address {
    font-style: normal;
    font-size: 14px;
    line-height: 1.6;
    color: #475569;
    margin: 0;
}

.mf-contact-link {
    font-size: 14px;
    color: #475569;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.mf-contact-link:hover {
    color: #053880;
}

/* Google Maps */
.mf-map {
    margin-top: 20px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.mf-map iframe {
    display: block;
    width: 100%;
    height: 160px;
    filter: grayscale(100%) contrast(90%);
    transition: filter 0.4s ease;
}

.mf-map:hover iframe {
    filter: grayscale(0%) contrast(100%);
}

/* ==========================================================================
   Copyright Bar
   ========================================================================== */
.mf-copyright {
    background-color: #1e293b;
    padding: 20px 0;
}

.mf-copyright-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

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

.mf-copyright-links {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.mf-copyright-link {
    font-size: 13px;
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.2s ease;
    position: relative;
}

.mf-copyright-link:hover {
    color: #ffffff;
}

.mf-copyright-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: #ffffff;
    transition: width 0.3s ease;
}

.mf-copyright-link:hover::after {
    width: 100%;
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */
@media (max-width: 1200px) {
    .mf-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px 32px;
    }

    .mf-column-about {
        grid-column: 1 / -1;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 24px;
    }

    .mf-column-about .mf-column-title {
        width: 100%;
    }

    .mf-column-about .mf-about-text {
        flex: 1;
        min-width: 280px;
        margin: 0;
    }

    .mf-social-wrapper {
        margin-top: 0;
    }
}

@media (max-width: 768px) {
    .mf-top-inner {
        flex-direction: column;
        text-align: center;
    }

    .mf-top-cta {
        flex-direction: column;
        gap: 12px;
    }

    .mf-main {
        padding: 48px 0;
    }

    .mf-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .mf-column-about {
        flex-direction: column;
    }

    .mf-column-about .mf-about-text {
        margin-bottom: 20px;
    }

    .mf-column-title {
        font-size: 15px;
        margin-bottom: 20px;
    }

    .mf-copyright-inner {
        flex-direction: column;
        text-align: center;
    }

    .mf-copyright-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .mf-container {
        padding: 0 16px;
    }

    .mf-top-bar {
        padding: 20px 0;
    }

    .mf-logo img {
        width: 140px;
    }

    .mf-cta-text {
        font-size: 14px;
    }

    .mf-cta-button {
        padding: 10px 20px;
        font-size: 13px;
    }

    .mf-main {
        padding: 40px 0;
    }

    .mf-grid {
        gap: 32px;
    }

    .mf-column-title {
        font-size: 14px;
    }

    .mf-menu-link,
    .mf-contact-link,
    .mf-address,
    .mf-about-text {
        font-size: 13px;
    }

    .mf-contact-icon {
        width: 36px;
        height: 36px;
    }

    .mf-contact-icon svg {
        width: 16px;
        height: 16px;
    }

    .mf-social-link {
        width: 36px;
        height: 36px;
    }

    .mf-copyright-text,
    .mf-copyright-link {
        font-size: 12px;
    }
}

/* ==========================================================================
   Reduced Motion
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
    .mf-logo img,
    .mf-social-link,
    .mf-menu-link,
    .mf-link-dot,
    .mf-contact-link,
    .mf-contact-icon,
    .mf-copyright-link::after,
    .mf-map iframe,
    .mf-cta-button {
        transition: none;
    }

    .mf-social-link:hover,
    .mf-cta-button:hover {
        transform: none;
    }

    .mf-menu-link:hover {
        transform: none;
    }
}

/* ==========================================================================
   Print Styles
   ========================================================================== */
@media print {
    .mf-footer {
        background: #fff;
        color: #000;
    }

    .mf-top-bar {
        background: #f0f0f0;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }

    .mf-logo img {
        filter: none;
    }

    .mf-map,
    .mf-social-links,
    .mf-cta-button {
        display: none;
    }
}
