/* Contact Form Styles */
.modal {
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
}

.contact-card {
    background: #fff;
    padding: 2rem;
    border-radius: 12px;
    width: 90%;
    max-width: 450px;
    position: relative;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    animation: fadeInScale 0.3s ease-out;
}

@keyframes fadeInScale {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

.close-modal {
    position: absolute;
    right: 1.5rem;
    top: 1rem;
    font-size: 1.5rem;
    cursor: pointer;
    color: #666;
    transition: color 0.2s;
}

.close-modal:hover {
    color: #000;
}

.contact-card h2 {
    margin-top: 0;
    color: #333;
    font-size: 1.5rem;
}

.contact-card p {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.math-challenge {
    background: #f8f9fa;
    padding: 0.75rem;
    border-radius: 6px;
    border: 1px solid #dee2e6;
    margin-bottom: 1rem;
}

.math-challenge label {
    font-weight: 600;
    display: block;
    margin-bottom: 0.5rem;
}

#contact-status.success {
    color: #28a745;
    font-weight: 600;
}

#contact-status.error {
    color: #dc3545;
    font-weight: 600;
}
