/* Contact Modal Styles */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    animation: fadeIn 0.3s ease;
}

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

.modal-container {
    background: var(--white);
    border-radius: 1rem;
    max-width: 450px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: var(--shadow-lg);
    animation: slideUp 0.3s ease;
}

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

.modal-header {
    background: var(--primary-gradient);
    padding: 1.25rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--white);
    border-radius: 1rem 1rem 0 0;
}

.modal-header h2 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 600;
}

.modal-close {
    background: none;
    border: none;
    color: var(--white);
    font-size: 2rem;
    cursor: pointer;
    padding: 0;
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.25rem;
    transition: background 0.3s ease;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.modal-body {
    padding: 1.5rem;
}

.modal-phone-section {
    text-align: center;
    margin-bottom: 1.25rem;
    padding: 1rem;
    background: var(--bg-gradient);
    border-radius: 0.75rem;
    border: 2px solid var(--border-light);
}

.modal-phone-text {
    margin: 0 0 0.75rem 0;
    color: var(--text-secondary);
    font-size: 1rem;
}

.modal-phone-link {
    display: inline-block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-purple);
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 0.25rem 0.75rem;
    border-radius: 0.5rem;
}

.modal-phone-link:hover {
    color: var(--primary-purple-dark);
    background: rgba(147, 51, 234, 0.1);
    transform: scale(1.05);
}

.modal-divider {
    text-align: center;
    margin: 1.25rem 0;
    position: relative;
}

.modal-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--border-light);
}

.modal-divider span {
    background: var(--white);
    padding: 0 1rem;
    position: relative;
    color: var(--text-secondary);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.contact-form .form-group {
    margin-bottom: 1rem;
}

.contact-form label {
    display: block;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.contact-form label .required {
    color: #ef4444;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-light);
    border-radius: 0.5rem;
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: inherit;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-purple);
    box-shadow: 0 0 0 3px rgba(147, 51, 234, 0.1);
}

.contact-form textarea {
    resize: vertical;
    min-height: 80px;
}

.btn-full {
    width: 100%;
    padding: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
    margin-top: 1rem;
}

.form-success,
.form-error {
    padding: 1.5rem;
    border-radius: 0.75rem;
    text-align: center;
    margin-top: 1rem;
}

.form-success {
    background: #f0fdf4;
    border: 2px solid #86efac;
    color: #166534;
}

.form-success p {
    margin: 0;
    font-weight: 500;
}

.form-error {
    background: #fef2f2;
    border: 2px solid #fca5a5;
    color: #991b1b;
}

.form-error p {
    margin: 0;
    font-weight: 500;
}

/* Mobile Responsive */
@media (max-width: 640px) {
    .modal-container {
        max-height: 100vh;
        border-radius: 0;
    }
    
    .modal-header {
        border-radius: 0;
    }
    
    .modal-body {
        padding: 1.5rem;
    }
    
    .modal-phone-link {
        font-size: 1.5rem;
    }
}