/* Contact Popup Styles */

.contact-popup {
    display: none;
    position: fixed;
    z-index: 99999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    animation: fadeIn 0.3s ease-in-out;
    backdrop-filter: blur(5px);
}

.contact-popup-content {
    background-color: #ffffff;
    margin: 5% auto;
    padding: 0;
    width: 90%;
    max-width: 540px;
    border-radius: 20px;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.3);
    position: relative;
    animation: slideDown 0.4s ease-out;
}

.contact-popup-header {
    background: transparent;
    color: #1a1a1a;
    padding: 40px 40px 20px;
    border-radius: 20px 20px 0 0;
    text-align: center;
    position: relative;
}

.contact-popup-header h2 {
    margin: 20px 0 5px;
    font-size: 28px;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.2;
}

.contact-popup-header h3 {
    margin: 0 0 5px;
    font-size: 16px;
    font-weight: 400;
    color: #666;
    line-height: 1.4;
}

.contact-popup-header h4 {
    margin: 0;
    font-size: 14px;
    font-weight: 400;
    color: #999;
    line-height: 1.4;
}

.contact-popup-close {
    color: #999;
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 28px;
    font-weight: 400;
    cursor: pointer;
    transition: all 0.2s ease;
    line-height: 1;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #f5f5f5;
}

.contact-popup-close:hover {
    background: #e0e0e0;
    color: #333;
    transform: rotate(90deg);
}

.contact-popup-body {
    padding: 20px 40px 40px;
}

.contact-form-group {
    margin-bottom: 20px;
}

.contact-form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #1a1a1a;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-form-group input {
    width: 100%;
    padding: 15px 18px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 15px;
    transition: all 0.3s ease;
    box-sizing: border-box;
    background: #fff;
    color: #333;
    font-family: inherit;
}

.contact-form-group input::placeholder {
    color: #999;
}

.contact-form-group input:focus {
    outline: none;
    border-color: #8E2AFE;
    box-shadow: 0 0 0 3px rgba(142, 42, 254, 0.1);
}

.contact-submit-btn {
    background-color: #356FFF;
    color: white;
    border: none;
    padding: 16px 30px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    width: 100%;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-submit-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(72, 21, 129, 0.4);
}

.contact-submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.popup-or-text {
    text-align: center;
    color: #999;
    font-size: 13px;
    margin: 20px 0 15px 0;
    padding: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 500;
}

.popup-contact-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-bottom: 0;
}

.popup-phone-btn,
.popup-whatsapp-btn {
    flex: 1;
    max-width: 220px;
    padding: 14px 20px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    cursor: pointer;
    background: #fff;
}

.popup-phone-btn {
    color: #333;
    border: 2px solid #e0e0e0;
}

.popup-phone-btn i {
    color: #8E2AFE;
    transition: color 0.3s ease;
}

.popup-phone-btn:hover {
    border-color: #356FFF;
    background-color: #356FFF;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(142, 42, 254, 0.3);
    text-decoration: none;
}

.popup-phone-btn:hover i {
    color: white;
}

.popup-whatsapp-btn {
    color: #333;
    border: 2px solid #e0e0e0;
}

.popup-whatsapp-btn i {
    color: #25D366;
    transition: color 0.3s ease;
}

.popup-whatsapp-btn:hover {
    border-color: #25D366;
    background: #25D366;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(37, 211, 102, 0.3);
    text-decoration: none;
}

.popup-whatsapp-btn:hover i {
    color: white;
}

.popup-phone-btn i,
.popup-whatsapp-btn i {
    font-size: 20px;
}

.contact-popup-message {
    margin-bottom: 20px;
    padding: 12px 15px;
    border-radius: 10px;
    display: none;
    font-size: 14px;
    line-height: 1.5;
}

.contact-popup-message.success {
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
}

.contact-popup-message.error {
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideDown {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .contact-popup-content {
        width: 95%;
        margin: 10% auto;
    }

    .contact-popup-header {
        padding: 30px 20px 15px;
    }

    .contact-popup-header h2 {
        font-size: 24px;
    }

    .contact-popup-header h3 {
        font-size: 15px;
    }

    .contact-popup-body {
        padding: 15px 20px 30px;
    }

    .popup-contact-actions {
        gap: 10px;
    }

    .popup-phone-btn,
    .popup-whatsapp-btn {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .contact-popup-header h2 {
        font-size: 20px;
    }

    .contact-popup-header h3 {
        font-size: 14px;
    }

    .contact-form-group input {
        padding: 12px 15px;
        font-size: 14px;
    }

    .contact-submit-btn {
        padding: 14px 25px;
        font-size: 14px;
    }
}
