body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f4f4f4;
    color: #333;
    margin: 0;
    padding: 20px;
}

#scheduler {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    max-width: 800px;
    margin: auto;
}

#weekdays {
    display: flex;
    justify-content: space-around;
    margin-bottom: 20px;
    width: 100%;
}

.day-button {
    background-color: #001F5B;
    /* VW Dark Blue */
    color: #FFFFFF;
    border: none;
    padding: 10px 20px;
    margin: 0 5px;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.day-button:hover,
.day-button.selected {
    background-color: #00A6ED;
    /* VW Light Blue */
    color: #fff;
}



#timeslots {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 10px;
    width: 100%;
}

.timeslot-button {
    background-color: #EEEEEE;
    color: #333;
    border: 2px solid #001F5B;
    /* VW Dark Blue for border */
    padding: 15px;
    border-radius: 4px;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.timeslot-button:hover {
    transform: scale(1.05);
    border-color: #00A6ED;
    /* VW Light Blue */
}

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
    background-color: #fefefe;
    margin: 10% auto;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
    max-width: 500px;
}

.close-button {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}
/* Add animation for the modal */
@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translateY(-50%);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Apply fade-in animation to the modal */
.modal-content {
    animation: modalFadeIn 0.3s ease-out;
}

.close-button:hover,
.close-button:focus {
    color: #333;
    text-decoration: none;
    cursor: pointer;
}

form input[type="text"],
form input[type="email"],
form input[type="tel"],
form select,
form textarea,
form input[type="radio"]+label {
    width: 100%;
    padding: 10px;
    margin-top: 8px;
    display: block;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

form input[type="submit"] {
    width: 100%;
    background-color: #001F5B;
    /* VW Dark Blue */
    color: white;
    padding: 14px 20px;
    margin: 10px 0;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
}

form input[type="submit"]:hover {
    background-color: #00A6ED;
    /* VW Light Blue */
}

form div {
    margin-bottom: 15px;
}

/* Custom styling for radio buttons and their labels for better alignment */
form input[type="radio"] {
    margin-top: 0;
    margin-right: 5px;
    width: auto;
}

form label {
    margin-right: 15px;
    font-weight: normal;
    cursor: pointer;
}

/* Adjustments for the service type selection for better UI */
.service-type-container {
    display: flex;
    align-items: center;
    justify-content: start;
    margin-top: 8px;
}

.service-type-container label {
    margin-left: 8px;
    margin-right: 20px;
    /* More space between the options */
}

.timeslot-button.disabled {
    background-color: #cccccc;
    /* Light gray background */
    color: #666666;
    /* Darker gray text to ensure readability */
    cursor: not-allowed;
    /* Changes the cursor to indicate the action is not allowed */
    border: 1px solid #999999;
    /* Optional: adds a border to make the disabled state more distinct */
}

.footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    height: 60px;
    line-height: 60px;
    background-color: #f5f5f5;
    text-align: center;
}

.hero-video {
    position: relative;
    overflow: hidden;
    padding-top: 60px;
}

.hero-video video {
    width: 100%;
    height: auto;
    max-height: 25vh;
    /* Adjust the maximum height as needed */
}

.welcome-text {
    text-align: center;
    /* Center the text */
    color: rgb(21, 92, 167);
    /* Text color */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    /* Add shadow effect */
    animation: moveText 5s infinite alternate;
    /* Add movement effect */
}

@keyframes moveText {
    from {
        transform: translateX(-2px);
        /* Initial position */
    }

    to {
        transform: translateX(2px);
        /* Final position */
    }
}


@media (max-width: 768px) {
    #weekdays {
        flex-wrap: wrap;
        /* Allow items to wrap */
    }

    .day-button {
        flex: 0 0 30%;
        /* Ensure buttons take up 30% of the container width */
        margin: 5px;
    }
}