#vc-fomo-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #ffffff !important;
    border-top: 1px solid #e0e0e0;
    box-shadow: 0 -10px 30px rgba(0,0,0,0.1);
    z-index: 999999;
    padding: 15px 0; /* Vertical breathing room */
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    transition: transform 0.3s ease;
}

#vc-fomo-bar.vc-hidden { transform: translateY(100%); }

.vc-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 30px 0 30px; 
    position: relative;
}

/* Typography Force Colors */
.vc-info b { 
    font-size: 18px; 
    color: #1a1a1a !important; 
    line-height: 1.2;
    display: block; 
}

.vc-info span { 
    font-size: 11px; 
    color: #d32f2f !important; 
    font-weight: 700; 
    text-transform: uppercase; 
    display: block;
}

/* Button & Action Logic */
.vc-actions { 
    display: flex; 
    align-items: center; 
    gap: 15px; 
}

.vc-btn {
    text-decoration: none !important;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
    color: #ffffff !important;
}

.vc-btn-primary { background: #0056b3 !important; }
.vc-btn-whatsapp { background: #25d366 !important; }

/* Contact Stack Fix */
.vc-contact-stack { text-align: right; }
.vc-phone { 
    color: #0056b3 !important; 
    font-weight: 800; 
    font-size: 17px; 
    text-decoration: none !important;
    display: block;
}
.vc-email { 
    color: #666666 !important; 
    font-size: 12px; 
    text-decoration: none !important;
    display: block;
}

.vc-close-btn {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    font-size: 24px;
    color: #ccc;
}

/* MOBILE OPTIMIZATION */
@media (max-width: 768px) {
    #vc-fomo-bar { padding: 10px 0; }
    
    .vc-container { 
        flex-direction: column; 
        padding: 0 15px;
        align-items: center;
        gap: 10px;
    }

    .vc-info { text-align: center; margin-bottom: 5px; }
    .vc-info b { font-size: 15px; }

    .vc-actions { 
        width: 100%; 
        flex-wrap: wrap; 
        justify-content: center;
        gap: 8px;
    }

    .vc-btn { 
        flex: 1; 
        padding: 12px 5px; 
        font-size: 12px; 
        text-align: center;
    }

    .vc-contact-stack { 
        width: 100%;
        text-align: center;
        margin-top: 5px;
    }

    .vc-phone { font-size: 15px; display: inline-block; margin-right: 10px; }
    .vc-email { display: inline-block; }

    .vc-close-btn { 
        top: 5px; 
        right: 5px; 
        font-size: 20px; 
    }
}

/* Modal & Overlay Styles - FIXED FOR SCROLLING */
#vc-form-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000000;
    display: none;
    /* This is the fix: allows the popup container to scroll */
    overflow-y: auto; 
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
}

.vc-modal-overlay {
    position: fixed; /* Keep overlay fixed behind content */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(4px);
    z-index: -1;
}

.vc-modal-content {
    position: relative;
    background: #ffffff;
    width: 90%;
    max-width: 480px;
    /* Use margin to create space for scrolling */
    margin: 40px auto; 
    padding: 35px 25px 25px 25px;
    border-radius: 12px;
    box-shadow: 0 25px 50px rgba(0,0,0,0.4);
    animation: vcFadeIn 0.3s ease-out;
}

.vc-modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 30px;
    cursor: pointer;
    color: #999;
    line-height: 1;
}

@keyframes vcFadeIn {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 768px) {
    .vc-modal-content { 
        margin: 20px auto; 
        width: 85%; 
        padding: 25px 20px; 
    }
}