/* schedule section  */
.schedule-appointment {
    padding: 30px 100px;
    background-color: var(--primary-color);
    width: 100%;
    height: 400px;
    color: white;
    display: flex;
    align-items: center;
    margin: 40px 0;
}

.schedule-appointment .schedule-text {
    display: flex;
    justify-content: start;
    flex-direction: column;
    width: 60%;
    gap: 10px;
}

.schedule-appointment .schedule-text h3 {
    font-size: 40px;
    font-weight: 600;
}

.schedule-appointment .schedule-text p {
    font-size: 20px;
    font-weight: 400;
    text-align: left !important;
}

.schedule-appointment .schedule-text button {
    padding: 5px 10px;
    border-radius: 5px;
    background-color: #ffffff;
    color: var(--primary-color);
    font-size: 20px;
    font-weight: 600;
    margin-top: 10px;
    max-width: fit-content;
}


.schedule-appointment .schedule-img {
    margin-top: 20px;
}

.schedule-appointment .schedule-img img {
    height: 390px;
    width: 100%;
    object-fit: cover;
}


/* Popup Background */
/* Popup Background */
.appointment-popup {
    display: flex;
    margin-top: 2rem;
    justify-content: center;
    align-items: center;
}

.appointment-popup-content {
    background-color: #fff;
    padding: 30px;
    width: 600px;
    max-width: 90%;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    text-align: center;
    position: relative;
}

.appointment-popup-close {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 30px;
    cursor: pointer;
}


/* Form Styles */
.appointment-popup-content h2 {
    color: var(--primary-color);
    font-size: 28px;
    font-weight: 600;
    margin: 10px 0 20px;
}

.appointment-popup form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    border: 2px solid #eee;
    border-radius: 20px;
    padding: 20px;
}

.appointment-form-group {
    display: flex;
    gap: 15px;
}

.appointment-form-group div {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.appointment-popup label {
    font-size: 16px;
    font-weight: 500;
    color: var(--primary-color);
    margin-bottom: 5px;
    text-align: start;
}

.appointment-form-group label {
    text-align: start;
}

.appointment-popup input[type="text"],
.appointment-popup input[type="date"],
.appointment-popup input[type="time"],
.appointment-popup textarea {
    width: 100%;
    padding: 10px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 25px;
    font-weight: 300;
    outline: none;
}

.appointment-popup textarea {
    resize: none;
    height: 80px;
}

.appointment-popup button[type="submit"] {
    background-color: var(--primary-color);
    color: #fff;
    padding: 12px;
    font-size: 16px;
    font-weight: bold;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    margin-top: 20px;
}

/* Full-width textarea */
.full-width-container {
    display: flex;
    flex-direction: column;
    text-align: start;
}

.appointment-form-group .full-width label {
    width: 100%;
    text-align: start;
}


@media (max-width:900px) {
    .schedule-appointment .schedule-img {
        display: none;
    }

    .schedule-appointment .schedule-text {
        width: 100%;
    }

    .schedule-appointment {
        height: auto;
        padding: 30px 30px;
    }

}

@media (max-width:600px) {
    .schedule-appointment .schedule-text h3 {
        font-size: 30px;
    }

    .schedule-appointment .schedule-text p {
        font-size: 18px;
    }

    .schedule-appointment .schedule-text button {
        font-size: 19px;
    }

    /* popup design  */
    .appointment-popup-content h2 {
        font-size: 22px;
    }

    .appointment-form-group {
        flex-direction: column;
    }

    .appointment-form-group {
        gap: 10px;
    }

    .appointment-popup button[type="submit"] {
        margin-top: 10px;
    }

    .appointment-popup form {
        gap: 10px;
        padding: 10px;
    }

    .appointment-popup-content {
        padding: 10px;
        margin-top: 20px;
    }

    .appointment-popup-close {
        top: 5px;
        right: 10px;
        font-size: 30px;
    }

    .appointment-popup textarea {
        border-radius: 10px;
    }

}

@media (max-width: 450px) {
    .schedule-appointment .schedule-text button {
        padding: 8px 10px;
    }

    .schedule-appointment .schedule-text h3 {
        font-size: 25px;
    }

    .schedule-appointment .schedule-text p {
        font-size: 15px;
    }

    .schedule-appointment .schedule-text button {
        font-size: 16px;
    }

    /* pop up design  */
    .appointment-popup-close {
        top: 2px;
        right: 10px;
        font-size: 25px;
    }

    .appointment-popup-content {
        margin-top: 25px;
    }

    .appointment-popup form {
        margin-top: 0px;
    }

}