/* Popup Styles for Lead Capture Form */

/* Overlay */
#lead-capture-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

#lead-capture-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Popup Container */
.lead-capture-popup {
    background-color: var(--light-color);
    border-radius: 10px;
    padding: 2rem;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    position: relative;
    transform: translateY(-20px);
    transition: all 0.3s ease;
}

#lead-capture-overlay.active .lead-capture-popup {
    transform: translateY(0);
}

/* Popup Header */
.popup-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.popup-logo {
    height: 50px;
    margin-bottom: 1rem;
}

.lead-capture-popup h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    text-align: center;
}

.lead-capture-popup h2:after {
    display: none;
}

.lead-capture-popup p {
    text-align: center;
    margin-bottom: 1.5rem;
}

/* Form Styles */
.form-group {
    margin-bottom: 1rem;
}

.lead-capture-popup input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.lead-capture-popup input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.submit-button {
    width: 100%;
    background-color: var(--primary-color);
    color: var(--light-color);
    border: none;
    border-radius: 50px;
    padding: 0.75rem 1.5rem;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.submit-button:hover {
    background-color: var(--dark-color);
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.privacy-note {
    font-size: 0.8rem;
    color: #777;
    text-align: center;
    margin-top: 1rem;
    margin-bottom: 0;
}

/* Responsive Adjustments */
@media (max-width: 576px) {
    .lead-capture-popup {
        padding: 1.5rem;
    }
    
    .popup-logo {
        height: 40px;
    }
    
    .lead-capture-popup h2 {
        font-size: 1.5rem;
    }
}
