/* Footer */
.footer {
    position: relative;
}

.footer-dark {
    padding: 72px 0 28px;
    background: linear-gradient(180deg, #0a0e1a 0%, #0f172a 100%);
    border-top: none;
    color: #94a3b8;
    font-family: "Inter", sans-serif;
    margin-top: 0;
}

.footer-dark .container-wide {
    max-width: 1300px;
    padding-left: clamp(20px, 3vw, 40px);
    padding-right: clamp(20px, 3vw, 40px);
}

.footer-dark::before {
    content: "";
    display: block;
    height: 3px;
    background: linear-gradient(135deg, #386FD6 0%, #5A8DF2 50%, #8B5CF6 100%);
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 2;
}

.logo-text {
    font-size: 1.5rem;
    letter-spacing: -0.5px;
    color: #ffffff;
}

.footer-brand {
    max-width: 450px;
}

.footer-logo-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

.footer-desc {
    font-size: 0.95rem;
    line-height: 1.7;
    letter-spacing: 0.35px;
    color: #64748b;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.7fr 1.25fr 1fr 1fr 1.5fr;
    gap: 50px;
    margin-bottom: 60px;
}

@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }

    .footer-dark .footer-brand {
        padding-right: 0 !important;
        border-right: none !important;
        margin-bottom: 20px;
        align-items: center;
        display: flex;
        flex-direction: column;
    }

    .footer-dark .footer-logo-header {
        justify-content: center;
    }

    /* Remove the left indent and border for contact cell */
    .footer-grid>div:last-child {
        padding-left: 0 !important;
        border-left: none !important;
    }
}

/* ===================================================
   APP-LIKE BOTTOM NAVIGATION (MOBILE ONLY)
   =================================================== */

.mobile-bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #ffffff;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
    z-index: 9998;
    padding-bottom: env(safe-area-inset-bottom);
}

.bottom-nav-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
    max-width: 100%;
}

.bottom-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.70rem;
    font-weight: 600;
    flex: 1;
    gap: 4px;
    transition: all 0.3s ease;
}

.bottom-nav-item i {
    font-size: 1.25rem;
    transition: transform 0.3s ease, color 0.3s ease;
}

.bottom-nav-item:hover,
.bottom-nav-item:active {
    color: #475569;
}

.bottom-nav-item.active {
    color: #2563eb;
}

.bottom-nav-item.active i {
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .mobile-bottom-nav {
        display: block;
    }

    /* Ensure body doesn't get covered by the bottom nav */
    html {
        padding-bottom: 75px;
    }
}