.footer-legal {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 9px;
    margin-top: 0.5rem;
    padding-top: 0.5rem;
    font-size: 13px;
}

.footer-legal .footer-link {
    color: #aaa;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-legal .footer-link:hover {
    color: #fff;
}

.legal-separator {
    color: #666;
}

.legal-wrapper {
    background: linear-gradient(180deg, #f9fafb, #ffffff);
}

.legal-title {
    text-align: center;
    font-weight: 800;
    font-size: 2.2rem;
    margin-bottom: 2.5rem;
    color: #111827;
}

.legal-card {
    background: #fff;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0,0,0,.08);
    max-width: 900px;
    margin: auto;
}

.legal-heading {
    font-size: 1.3rem;
    font-weight: 800;
    color: #ff9800;
    margin-top: 2.5rem;
    margin-bottom: 0.8rem;
    position: relative;
}

.legal-heading::before {
    content: "";
    position: absolute;
    right: -12px;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 22px;
    background: #ff9800;
    border-radius: 2px;
}

.legal-paragraph {
    font-size: 1rem;
    line-height: 1.9;
    color: #374151;
    margin-bottom: 0.8rem;
}




/* ===== Modern Footer Styles ===== */
.modern-footer {
    background: linear-gradient(135deg, #0d6efd 0%, #0056b3 50%, #004085 100%);
    color: #ffffff;
    width: 100%;
    padding: 0;
    z-index: 1;
    position: relative;
    overflow: hidden;
}


.modern-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    box-shadow: 0 1px 3px rgba(255, 255, 255, 0.2);
}

.modern-footer::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
    animation: footerGlow 8s ease-in-out infinite;
    pointer-events: none;
}

@keyframes footerGlow {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.5;
    }
    50% {
        transform: translate(20px, 20px) scale(1.1);
        opacity: 0.8;
    }
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    position: relative;
    z-index: 2;
}

/* ===== Footer Main Section ===== */
.footer-main {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 1.5rem;
    padding: 0.5rem 0;
}

.footer-links-wrapper {
    flex: 1;
    min-width: 0;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1.5rem;
    align-items: center;
    justify-content: flex-start;
}

.footer-link {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    padding: 0.6rem 1rem;
    border-radius: 10px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    white-space: nowrap;
    overflow: hidden;
}

.footer-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
    transition: left 0.5s ease;
}

.footer-link:hover::before {
    left: 100%;
}

.footer-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #ffffff, transparent);
    border-radius: 2px;
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.footer-link:hover {
    color: #ffffff;
    transform: translateX(-5px);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.footer-link:hover::after {
    width: 80%;
}

.footer-link i {
    font-size: 0.9rem;
    opacity: 0.75;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 1;
}

.footer-link:hover i {
    opacity: 1;
    transform: scale(1.15) rotate(-5deg);
    color: #ffffff;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.5);
}

.footer-link span {
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.footer-link:hover span {
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* ===== Social Icons ===== */
.social-icons-wrapper {
    display: flex;
    align-items: center;
}

.social-icons {
    display: flex;
    gap: 1rem;
    align-items: center;
    justify-content: flex-end;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.12);
    border: 2px solid rgba(255, 255, 255, 0.25);
    color: #ffffff;
    text-decoration: none;
    font-size: 1.1rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(12px);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.social-icon::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1), height 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.social-icon::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.social-icon:hover::before {
    width: 350px;
    height: 350px;
}

.social-icon:hover::after {
    opacity: 1;
}

.social-icon:hover {
    transform: translateY(-5px) scale(1.08) rotate(5deg);
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25), 0 0 20px rgba(255, 255, 255, 0.2);
}

.social-icon:active {
    transform: translateY(-2px) scale(1.05);
}

.social-icon i {
    position: relative;
    z-index: 2;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.social-icon:hover i {
    transform: scale(1.2) rotate(-10deg);
    filter: drop-shadow(0 4px 8px rgba(255, 255, 255, 0.3));
}

/* Social Icon Colors */
.social-icon.facebook:hover {
    background: linear-gradient(135deg, #1877f2 0%, #0d5fcc 100%);
    border-color: #1877f2;
    box-shadow: 0 12px 28px rgba(24, 119, 242, 0.4), 0 0 20px rgba(24, 119, 242, 0.3);
}

.social-icon.twitter:hover {
    background: linear-gradient(135deg, #1da1f2 0%, #0d8bd9 100%);
    border-color: #1da1f2;
    box-shadow: 0 12px 28px rgba(29, 161, 242, 0.4), 0 0 20px rgba(29, 161, 242, 0.3);
}

.social-icon.youtube:hover {
    background: linear-gradient(135deg, #ff0000 0%, #cc0000 100%);
    border-color: #ff0000;
    box-shadow: 0 12px 28px rgba(255, 0, 0, 0.4), 0 0 20px rgba(255, 0, 0, 0.3);
}

.social-icon.instagram:hover {
    background: linear-gradient(135deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    border-color: transparent;
    box-shadow: 0 12px 28px rgba(188, 24, 136, 0.4), 0 0 20px rgba(188, 24, 136, 0.3);
}

/* ===== Footer Divider ===== */
.footer-divider {
    height: 1px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255, 255, 255, 0.2) 20%, 
        rgba(255, 255, 255, 0.4) 50%, 
        rgba(255, 255, 255, 0.2) 80%, 
        transparent 100%);
    margin: 0;
    position: relative;
    overflow: hidden;
}

.footer-divider::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
    animation: dividerShine 3s ease-in-out infinite;
}

@keyframes dividerShine {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

/* ===== Footer Bottom ===== */
.footer-bottom {
    text-align: center;
    padding-top: 0.75rem;
    position: relative;
}

.copyright-text {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.75);
    font-weight: 400;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    border: 1px solid transparent;
}

.copyright-text::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
    transition: left 0.6s ease;
}

.copyright-text:hover::before {
    left: 100%;
}

.copyright-text::after {
    content: '🏠';
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.4s ease;
    font-size: 1rem;
}

.copyright-text:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.3);
    transform: scale(1.08);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2), 0 0 15px rgba(255, 255, 255, 0.1);
}

.copyright-text:hover::after {
    opacity: 1;
    transform: translateX(0);
    margin-right: 0.5rem;
}

/* ===== Responsive Design ===== */
@media (max-width: 992px) {
    .footer-container {
        padding: 2.5rem 1.5rem;
        gap: 2rem;
    }

    .footer-main {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
        padding: 0.75rem 0;
    }

    .footer-links {
        justify-content: center;
        gap: 0.625rem 1.25rem;
    }

    .social-icons {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .footer-container {
        padding: 1.5rem 1.25rem 1rem;
        gap: 1.25rem;
    }

    .footer-main {
        gap: 1.25rem;
        padding: 0.25rem 0;
    }

    .footer-links {
        flex-direction: column;
        gap: 0.5rem;
        align-items: center;
        width: 100%;
    }

    .footer-link {
        font-size: 0.9rem;
        padding: 0.5rem 0.875rem;
        width: auto;
    }

    .social-icons {
        gap: 0.75rem;
        justify-content: center;
    }

    .social-icon {
        width: 44px;
        height: 44px;
        font-size: 1rem;
    }

    .copyright-text {
        font-size: 0.8rem;
        padding: 0.625rem 1.25rem;
    }
}

@media (max-width: 576px) {
    .footer-container {
        padding: 1.25rem 1rem 0.75rem;
        gap: 1rem;
    }

    .footer-main {
        gap: 1.25rem;
        flex-direction: column;
        align-items: center;
    }

    .footer-links {
        gap: 0.5rem;
        justify-content: center;
    }
    
    .app-stores-wrapper {
        width: 100%;
        text-align: center;
    }
    
    .app-stores-icons {
        justify-content: center;
    }

    .footer-link {
        font-size: 0.85rem;
        gap: 0.5rem;
        padding: 0.5rem 0.75rem;
    }

    .footer-link i {
        font-size: 0.8rem;
    }

    .social-icon {
        width: 42px;
        height: 42px;
        font-size: 0.95rem;
    }

    .copyright-text {
        font-size: 0.75rem;
        padding: 0.5rem 1rem;
    }
}

/* ===== Legacy Support ===== */
footer {
    background-color: #0d6efd;
    color: white;
    width: 100%;
    padding: 0;
    z-index: 1;
}

.footer-header {
    display: none;
}

/* ===== App Stores ===== */
.app-stores-wrapper {
    margin-top: 0;
    padding-top: 0;
    flex: 0 0 auto;
    min-width: 200px;
}

.app-stores-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    color: #ffffff;
    font-weight: 600;
    font-size: 0.9rem;
}

.app-stores-title i {
    font-size: 1rem;
}

.app-stores-icons {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    flex-wrap: wrap;
}

.app-store-icon {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 0.75rem;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.12);
    border: 2px solid rgba(255, 255, 255, 0.25);
    color: #ffffff;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.app-store-icon:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.app-store-icon.google-play:hover {
    background: linear-gradient(135deg, #4285F4 0%, #34A853 100%);
    border-color: rgba(255, 255, 255, 0.5);
}

.app-store-icon.apple-store:hover {
    background: linear-gradient(135deg, #000000 0%, #333333 100%);
    border-color: rgba(255, 255, 255, 0.5);
}

.app-store-icon.huawei-store:hover {
    background: linear-gradient(135deg, #FF6900 0%, #FF8C00 100%);
    border-color: rgba(255, 255, 255, 0.5);
}

.app-store-icon i {
    font-size: 1rem;
}

@media (max-width: 768px) {
    .app-stores-wrapper {
        width: 100%;
        margin-top: 1rem;
        padding-top: 1rem;
        border-top: 1px solid rgba(255, 255, 255, 0.2);
    }
    
    .app-stores-title {
        font-size: 0.85rem;
        margin-bottom: 0.5rem;
    }
    
    .app-stores-icons {
        gap: 0.4rem;
        justify-content: flex-start;
    }
    
    .app-store-icon {
        padding: 0.45rem 0.65rem;
        font-size: 0.8rem;
    }
    
    .app-store-icon span {
        display: none;
    }
    
    .app-store-icon i {
        font-size: 0.95rem;
    }
}
