/* Contact Modal Styles */
.contact-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.contact-modal.active {
    opacity: 1;
    visibility: visible;
}

.contact-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
}

.contact-modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    max-width: 500px;
    width: 90%;
    text-align: center;
    transition: transform 0.3s ease;
}

.contact-modal.active .contact-modal-content {
    transform: translate(-50%, -50%) scale(1);
}

.contact-modal-icon {
    font-size: 64px;
    margin-bottom: 20px;
    animation: iconPop 0.5s ease;
}

@keyframes iconPop {
    0% {
        transform: scale(0);
    }

    50% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
    }
}

.contact-modal-success .contact-modal-icon {
    color: #4caf50;
}

.contact-modal-error .contact-modal-icon {
    color: #f44336;
}

.contact-modal-content h3 {
    margin: 0 0 15px 0;
    font-size: 24px;
    color: #333;
}

.contact-modal-content p {
    margin: 0 0 25px 0;
    color: #666;
    line-height: 1.6;
}

.contact-modal-close {
    background: #d32f2f;
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 25px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.contact-modal-close:hover {
    background: #b71c1c;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(211, 47, 47, 0.3);
}

.contact-modal-close:active {
    transform: translateY(0);
}

/* Loading button state */
button[type="submit"]:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

button[type="submit"] i {
    margin-right: 5px;
}