/* Modal container */
.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.6); /* Semi-transparent background */
    padding-top: 60px;
    animation: fadeIn 0.5s; /* Fade-in animation */
}

/* Modal content box */
.modal-content {
    background-color: #ffffff;
    margin: 5% auto;
    padding: 30px;
    border: none;
    border-radius: 10px; /* Rounded corners */
    width: 80%;
    max-width: 400px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Box shadow for depth */
    animation: slideIn 0.5s; /* Slide-in animation */
}

/* Close button */
.close {
    color: #aaaaaa;
    float: right;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s; /* Smooth color transition */
}

.close:hover,
.close:focus {
    color: #000000;
    text-decoration: none;
}

/* Keyframe animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideIn {
    from { transform: translateY(-50px); }
    to { transform: translateY(0); }
}

/* Form styling */
#callbackForm {
    display: flex;
    flex-direction: column;
}

#phoneNumber {
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #cccccc;
    border-radius: 5px; /* Rounded input field */
}

#submitBtn {
    background-color: #4CAF50; /* Green background */
    color: white;
    padding: 10px 15px;
    border: none;
    border-radius: 5px; /* Rounded button */
    cursor: pointer;
    transition: background-color 0.3s; /* Smooth background color transition */
}

#submitBtn:hover {
    background-color: #45a049; /* Darker green on hover */
}
