/**
 * Contact Form Modal Styles
 */

.contact-modal {
    position: fixed;
    top: 0;
    left: 0;
  right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.contact-modal-content {
    background: white;
    border-radius: 12px;
    padding: 40px 30px;
    text-align: center;
    max-width: 400px;
    width: 90%;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.3s ease-out;
}

@keyframes slideUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
 opacity: 1;
    }
}

.contact-modal-icon {
    font-size: 48px;
margin-bottom: 15px;
    font-weight: bold;
}

.contact-modal-success .contact-modal-icon {
    color: #28a745;
}

.contact-modal-error .contact-modal-icon {
    color: #dc3545;
}

.contact-modal-content h3 {
    margin: 15px 0;
    font-size: 24px;
    color: #333;
}

.contact-modal-content p {
    margin: 15px 0;
    color: #666;
    font-size: 16px;
    line-height: 1.6;
}

.contact-modal-btn {
    background: #c41e3a;
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 6px;
    font-size: 16px;
    cursor: pointer;
    margin-top: 20px;
    transition: background 0.3s ease;
}

.contact-modal-btn:hover {
    background: #a01730;
}

/* Loading spinner */
.contact-modal-spinner {
    width: 50px;
 height: 50px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #c41e3a;
    border-radius: 50%;
    margin: 0 auto 20px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.contact-modal-loading .contact-modal-content p {
    color: #333;
    font-weight: 500;
}

/* Responsive */
@media (max-width: 600px) {
    .contact-modal-content {
        padding: 30px 20px;
        max-width: 95%;
    }
 
    .contact-modal-content h3 {
     font-size: 20px;
    }
    
    .contact-modal-btn {
        width: 100%;
    }
}
