/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 1000;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-container {
    background-color: #fff;
    padding: 2.5rem;
    border-radius: 15px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.modal-overlay.active .modal-container {
    transform: scale(1);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid #eee;
    padding-bottom: 1rem;
}

.modal-header h2 {
    margin: 0;
    font-size: 1.8rem;
    color: #00305d;
}

.modal-close-btn {
    background: none;
    border: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: #888;
    transition: color 0.3s ease;
}

.modal-close-btn:hover {
    color: #333;
}

.selected-service-details {
    text-align: center;
    margin-bottom: 2rem;
}

.selected-service-details .service-icon {
    font-size: 2.5rem;
    color: #00305d;
    margin-bottom: 1rem;
}

.selected-service-details h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.selected-service-details p {
    font-size: 0.95rem;
    color: #5a6472;
    line-height: 1.6;
}

.modal-form .form-group {
    margin-bottom: 1.5rem;
}

.modal-form label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #333;
}

.modal-form .form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
}

.modal-form .btn-submit {
    background-color: #00305d;
    color: #fff;
    border: none;
    width: 100%;
    padding: 15px;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.modal-form .btn-submit:hover {
    background-color: #004a8d;
}

.success-message {
    text-align: center;
    padding: 2rem 0;
}

.success-message h3 {
    font-size: 1.8rem;
    color: #00305d;
    margin-bottom: 1rem;
}

.success-message p {
    font-size: 1.1rem;
    color: #333;
}
