/* Contact Page Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
    background-color: white;
    margin: 15% auto;
    padding: 2rem;
    border-radius: 12px;
    width: 90%;
    max-width: 400px;
    text-align: center;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    position: absolute;
    right: 15px;
    top: 10px;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close:hover {
    color: #000;
}

#popupTitle {
    margin-bottom: 1rem;
    color: #007bff;
    font-size: 1.5rem;
    font-weight: 600;
}

#popupMessage {
    margin-bottom: 1.5rem;
    line-height: 1.5;
    color: rgb(45, 67, 103);
    font-size: 1rem;
}

#popupOk {
    margin-top: 1rem;
    padding: 0.8rem 2rem;
    font-size: 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

#popupOk:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 123, 255, 0.3);
}

/* Mobile responsive styles for modal */
@media (max-width: 768px) {
    .modal-content {
        margin: 20% auto;
        padding: 1.5rem;
        width: 95%;
        max-width: 350px;
    }
    
    #popupTitle {
        font-size: 1.3rem;
    }
    
    #popupMessage {
        font-size: 0.9rem;
    }
    
    #popupOk {
        padding: 0.7rem 1.5rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .modal-content {
        margin: 25% auto;
        padding: 1.2rem;
        width: 98%;
        max-width: 300px;
    }
    
    #popupTitle {
        font-size: 1.2rem;
    }
    
    #popupMessage {
        font-size: 0.85rem;
    }
    
    #popupOk {
        padding: 0.6rem 1.2rem;
        font-size: 0.85rem;
    }
}
