/* Extracted from footer.php */

    .footer-social-section {
        background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
        padding: 32px 0 90px;
        text-align: center;
    }

    @media (min-width: 992px) {
        .footer-social-section {
            padding-bottom: 32px;
        }
    }

    .social-title {
        color: rgba(255, 255, 255, 0.6);
        font-size: 0.85rem;
        font-weight: 600;
        letter-spacing: 1px;
        text-transform: uppercase;
        margin-bottom: 20px;
    }

    .social-icons-row {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 12px;
        flex-wrap: wrap;
        margin-bottom: 24px;
    }

    .social-icon-link {
        width: 44px;
        height: 44px;
        border-radius: 12px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: rgba(255, 255, 255, 0.08);
        color: rgba(255, 255, 255, 0.7) !important;
        font-size: 1.2rem;
        text-decoration: none !important;
        transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        border: 1px solid rgba(255, 255, 255, 0.06);
    }

    .social-icon-link:hover {
        background: var(--brand-color);
        color: #fff !important;
        transform: translateY(-4px);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3), 0 0 15px color-mix(in srgb, var(--brand-color) 40%, transparent);
        border-color: transparent;
    }

    .footer-copyright {
        color: rgba(255, 255, 255, 0.35);
        font-size: 0.8rem;
        border-top: 1px solid rgba(255, 255, 255, 0.06);
        padding-top: 20px;
    }


    .premium-bottom-nav {
        background: rgba(255, 255, 255, 0.9) !important;
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        border-top: 1px solid rgba(0, 0, 0, 0.08) !important;
        padding-bottom: env(safe-area-inset-bottom);
        box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.05) !important;
    }
    
    .nav-item-wrapper {
        position: relative;
        padding: 8px 0;
        transition: all 0.3s ease;
    }
    
    .nav-item-link {
        color: #64748b !important;
        transition: all 0.3s ease;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-decoration: none;
        position: relative;
    }
    
    .nav-item-link.active-item {
        color: var(--bs-primary) !important;
    }
    
    .nav-item-link.active-item i {
        color: var(--bs-primary) !important;
        transform: translateY(-2px);
    }
    
    .nav-item-link.active-item .nav-label {
        font-weight: 700 !important;
    }
    
    /* Ensure icons remain visible when active */
    .nav-item-link.active-item i {
        display: inline-block !important;
        visibility: visible !important;
        opacity: 1 !important;
        font-weight: 900 !important; /* Makes outline icons appear bolder/filled */
    }
    
    .active-indicator {
        position: absolute;
        top: -8px;
        left: 50%;
        transform: translateX(-50%);
        width: 20px;
        height: 3px;
        background: var(--bs-primary);
        border-radius: 0 0 4px 4px;
        opacity: 0;
        transition: all 0.3s ease;
    }
    
    .nav-item-link.active-item .active-indicator {
        opacity: 1;
        width: 30px;
    }
    
    .nav-label {
        margin-top: 3px;
        font-weight: 700;
        letter-spacing: -0.2px;
    }
    
    .badge-premium {
        background: var(--bs-primary) !important;
        border: 2px solid #fff;
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    }


    /* Immediate click feedback - before page loads */
    .nav-item-link:active,
    .nav-item-link.clicked {
        color: var(--bs-primary) !important;
    }

    .nav-item-link:active i,
    .nav-item-link.clicked i {
        color: var(--bs-primary) !important;
        transform: translateY(-2px);
    }

    .nav-item-link:active .nav-label,
    .nav-item-link.clicked .nav-label {
        font-weight: 700 !important;
    }

    .nav-item-link:active .active-indicator,
    .nav-item-link.clicked .active-indicator {
        opacity: 1;
        width: 30px;
    }

    /* Premium Login Required Modal Styles */
    .premium-login-modal .modal-dialog {
        max-width: 380px;
        margin: 1.75rem auto;
    }

    .premium-login-modal .modal-content {
        border: none;
        border-radius: 20px;
        overflow: hidden;
        box-shadow: 0 20px 40px -8px rgba(0, 0, 0, 0.12);
    }
    
    .premium-login-modal .modal-header {
        background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
        border-bottom: none;
        padding: 20px 20px 5px;
    }

    .premium-login-modal .icon-wrapper {
        width: 60px;
        height: 60px;
        background: rgba(244, 110, 18, 0.1);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 auto 15px;
        position: relative;
    }

    .premium-login-modal .icon-wrapper i {
        font-size: 28px;
        color: #f46e12;
    }

    .premium-login-modal .icon-wrapper::after {
        content: '';
        position: absolute;
        width: 100%;
        height: 100%;
        border-radius: 50%;
        border: 2px dashed rgba(244, 110, 18, 0.3);
        animation: rotate-dashed 10s linear infinite;
    }

    @keyframes rotate-dashed {
        from { transform: rotate(0deg); }
        to { transform: rotate(360deg); }
    }

    .premium-login-modal .modal-title {
        font-weight: 800;
        color: #1e293b;
        font-size: 1.15rem;
        text-align: center;
        width: 100%;
    }

    .premium-login-modal .modal-body {
        padding: 0 24px 24px;
        text-align: center;
    }

    .premium-login-modal .modal-text {
        color: #64748b;
        font-size: 0.95rem;
        line-height: 1.5;
        margin-bottom: 20px;
    }

    .premium-login-modal .modal-footer {
        border-top: none;
        padding: 0 24px 24px;
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .premium-login-modal .btn-login {
        background: linear-gradient(135deg, #f46e12 0%, #d35a0d 100%);
        color: white;
        border: none;
        border-radius: 12px;
        padding: 12px;
        font-weight: 700;
        font-size: 0.95rem;
        transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        box-shadow: 0 8px 12px -3px rgba(244, 110, 18, 0.25);
    }

    .premium-login-modal .btn-login:hover {
        transform: translateY(-2px);
        box-shadow: 0 15px 20px -5px rgba(244, 110, 18, 0.35);
        color: white;
    }

    .premium-login-modal .btn-cancel {
        background: #f1f5f9;
        color: #64748b;
        border: none;
        border-radius: 12px;
        padding: 10px;
        font-weight: 600;
        font-size: 0.9rem;
        transition: all 0.2s ease;
    }

    .premium-login-modal .btn-cancel:hover {
        background: #e2e8f0;
        color: #475569;
    }


    .floating-whatsapp {
        position: fixed;
        bottom: 30px;
        right: 30px;
        width: 60px;
        height: 60px;
        background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
        color: #ffffff !important;
        border-radius: 50%;
        display: flex;
        justify-content: center;
        align-items: center;
        box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
        z-index: 2147483647; /* Max Safe Integer */
        font-size: 32px;
        text-decoration: none !important;
        transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    }
    
    .floating-whatsapp:hover {
        transform: scale(1.1);
        box-shadow: 0 8px 25px rgba(37, 211, 102, 0.5);
        color: #ffffff !important;
        cursor: pointer;
    }

    .floating-whatsapp i {
        color: #ffffff !important;
        /* Ensure font-size is inherited/set correctly */
        font-size: 32px;
        line-height: 1;
    }

    /* Pulse Animation */
    @keyframes whatsapp-pulse {
        0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
        70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
        100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
    }

    .floating-whatsapp {
        animation: whatsapp-pulse 2s infinite;
    }

    /* Mobile Adjustment to avoid covering bottom nav */
    @media (max-width: 991px) {
        .floating-whatsapp {
            bottom: 85px; 
            right: 20px;
            width: 55px;
            height: 55px;
            font-size: 28px;
        }
        .floating-whatsapp i {
            font-size: 28px;
        }
    }


/* ============================================================
   Policies Modal — Premium Card Style
   ============================================================ */
.policies-modal-tabs-wrapper {
    padding: 0 18px 10px;
    background: #ffffff;
    border-bottom: 1px solid #f1f5f9;
}
.policies-modal-tabs {
    display: flex;
    gap: 4px;
    background: #f1f5f9;
    border-radius: 10px;
    padding: 4px;
}
.policies-tab {
    flex: 1;
    padding: 8px 12px;
    border: none;
    background: transparent;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    color: #64748b;
    cursor: pointer;
    transition: all 0.25s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.policies-tab:hover {
    color: #0f172a;
    background: rgba(255,255,255,0.5);
}
.policies-tab.active {
    background: #ffffff;
    color: var(--bs-primary, #1e40af);
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.policies-tab i {
    font-size: 15px;
}

/* Tab Content Transitions */
.policies-tab-content {
    display: none;
}
.policies-tab-content.active {
    display: block;
    animation: premiumPolicyFadeIn 0.35s ease-out;
}

@keyframes premiumPolicyFadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

.policy-text {
    color: #475569;
    font-size: 0.88rem !important;
    line-height: 1.7;
}

.policy-text strong {
    color: #1e293b;
    font-weight: 700;
}

/* Custom Scrollbar for Modal Body */
.contact-modal-body::-webkit-scrollbar {
    width: 4px;
}
.contact-modal-body::-webkit-scrollbar-track {
    background: #f8fafc;
}
.contact-modal-body::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 10px;
}
.contact-modal-body::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

@media (max-width: 480px) {
    .policies-tab {
        font-size: 12px;
        padding: 7px 8px;
    }
}
