/* Contact Form Popup Styles */
.contact-form-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 10000;
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.3s ease;
}

.contact-form-overlay.show {
    display: flex;
}

.contact-form-popup {
    background-color: #ffffff;
    border-radius: 8px;
    padding: 30px;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    position: relative;
    animation: slideIn 0.3s ease;
}

.contact-form-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: #666;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.contact-form-close:hover {
    background-color: #f0f0f0;
    color: #000;
}

.contact-form-title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #333;
    text-align: center;
}

.contact-form-group {
    margin-bottom: 20px;
}

.contact-form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #333;
    font-size: 14px;
}

.contact-form-input,
.contact-form-textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
}

.contact-form-input:focus,
.contact-form-textarea:focus {
    outline: none;
    border-color: #4a90e2;
}

.contact-form-input.error,
.contact-form-textarea.error {
    border-color: #e74c3c;
}

.contact-form-error {
    color: #e74c3c;
    font-size: 12px;
    margin-top: 5px;
    display: none;
}

.contact-form-error.show {
    display: block;
}

.contact-form-button {
    width: 100%;
    padding: 12px;
    background-color: #4a90e2;
    color: #ffffff;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-top: 10px;
}

.contact-form-button:hover {
    background-color: #357abd;
}

.contact-form-button:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

.contact-form-success {
    display: none;
    text-align: center;
    padding: 20px;
    color: #27ae60;
    font-size: 16px;
    font-weight: 500;
}

.contact-form-success.show {
    display: block;
}

.contact-form-success-icon {
    font-size: 48px;
    margin-bottom: 15px;
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Responsive styles */
@media (max-width: 768px) {
    .contact-form-popup {
        padding: 20px;
        width: 95%;
    }

    .contact-form-title {
        font-size: 20px;
    }
}

