/* Contact Form Popup Styles */

.contact-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    transition: opacity 0.3s ease;
    backdrop-filter: blur(4px);
}

.contact-popup.show {
    opacity: 1;
}

.contact-popup-content {
    background: white;
    border-radius: 16px;
    padding: 2.5rem;
    max-width: 500px;
    width: 90%;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.contact-popup.show .contact-popup-content {
    transform: scale(1);
}

.contact-popup-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: bold;
}

.contact-popup-success .contact-popup-icon {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
}

.contact-popup-error .contact-popup-icon {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
}

.contact-popup-message {
    font-size: 1.125rem;
    color: #334155;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.contact-popup-close {
    background: #2563eb;
    color: white;
    border: none;
    padding: 0.875rem 2rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.contact-popup-close:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.contact-popup-close:active {
    transform: translateY(0);
}

/* Animation for popup appearance */
@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translate(-50%, -100%);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}

/* Loading state for submit button */
button[type="submit"]:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Responsive */
@media (max-width: 640px) {
    .contact-popup-content {
        padding: 2rem 1.5rem;
        width: 95%;
    }
    
    .contact-popup-icon {
        width: 56px;
        height: 56px;
        font-size: 1.75rem;
    }
    
    .contact-popup-message {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
}



