.appointmentSection {
    background: url("../images/work_injury_background_injury_doctors_nyc.jpg");
    background-size: cover;
    background-attachment: fixed;
}

.appointmentSection .contain {
    display: grid;
    grid-template-columns: 50% 50%;
}

.appointmentSection .formContain {
    padding: 0 50px;
    display: flex;
    position: relative;
    flex-direction: column;
    justify-content: center;
}

.appointmentSection .formContain h1 {
    font-family: "Baskervville";
    font-weight: 100;
    font-size: 50px;
    color: white;
    text-align: center;
    margin-bottom: 30px;
}

.appointmentSection .formContain {
    margin: 30px 0;
}

.appointmentSection .bodyForm .column {
    margin: 5px 0;
}

.appointmentSection .bodyForm input,
.appointmentSection .bodyForm select,
.appointmentSection .bodyForm textarea {
    width: 100%;
    min-width: 100%;
    max-width: 100%;
    padding: 10px;
    border: 0;
    background: rgba(255, 255, 255, 0.5);
    color: white;
    border-radius: 5px;
    box-shadow: 0px 0px 10px 10px rgba(0, 0, 0, 0.05);
}

.appointmentSection .bodyForm select option {
    color: #002d4e;
}

.appointmentSection .bodyForm ::placeholder {
    color: white;
}

.appointmentSection .bodyForm .row:nth-child(1),
.appointmentSection .bodyForm .row:nth-child(2) {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 10px;
}

.appointmentSection button {
    background-color: #ff9000;
    width: 100%;
    color: white;
    border: 0;
    padding: 5px;
    border-radius: 5px;
    font-size: 20px;
    font-weight: 500;
    transition: .25s;
}

.appointmentSection button:hover {
    background-color: white;
    color: #ff9000;
    cursor: pointer;
}

.appointmentSection #finalmessage h2{
    font-family: "Baskervville";
    font-size: 20px;
    font-weight: 100;
    text-align: center;
    color: white;
    margin-top: 10px;
}

.appointmentSection .imageContain {
    display: flex;
    justify-content: flex-end;
}

.appointmentSection .imageContain img {
    max-height: 100%;
}

.appointmentSection .desktopImage {
    display: block;
}

.appointmentSection .mobileImage {
    display: none;
}

.locationSection {
    background: #002d4e;
    padding: 100px 150px;
}

.locationSection .locationsTitle h2 {
    font-family: "Baskervville";
    font-weight: 100;
    font-size: 60px;
    text-align: center !important;
    color: white;
    position: relative;
}

.locationSection .locationsTitle h2:after {
    content: "";
    width: 300px;
    height: 4px;
    border-radius: 5px;
    background: white;
    position: absolute;
    bottom: -10%;
    right: 50%;
    transform: translateX(50%);
}

.locationSection .contain {
    background: white;
    box-shadow: 0px 0px 10px 10px rgba(0, 0, 0, 0.05);
}

.locationSection .contain:nth-child(odd) {
    display: grid;
    grid-template-columns: 40% 60%;
    border: 5px solid white;
    border-radius: 10px;
    margin: 50px 0;
}

.locationSection .contain:nth-child(even) {
    display: grid;
    grid-template-columns: 60% 40%;
    border: 5px solid white;
    border-radius: 10px;
    margin: 50px 0;
}

.locationSection .locationContain {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    transition: .25s;
}

.locationSection .locations .contain:nth-child(1) .locationContain {
    background: url("../images/location_01_background_injury_doctors_nyc.jpg");
    background-position: center;
    background-size: 100%;
}

.locationSection .locations .contain:nth-child(2) .locationContain {
    background: url("../images/location_02_background_injury_doctors_nyc.jpg");
    background-position: center;
    background-size: 100%;
}

.locationSection .locations .contain:nth-child(3) .locationContain {
    background: url("../images/location_03_background_injury_doctors_nyc.jpg");
    background-position: center;
    background-size: 100%;
}

.locationSection .locations .contain:nth-child(4) .locationContain {
    background: url("../images/location_04_background_injury_doctors_nyc.jpg");
    background-position: center;
    background-size: 100%;
}

.locationSection .locations .contain:nth-child(5) .locationContain {
    background: url("../images/location_05_background_injury_doctors_nyc.jpg");
    background-position: center;
    background-size: 100%;
}

.locationSection .locations .contain:nth-child(6) .locationContain {
    background: url("../images/location_06_background_injury_doctors_nyc.jpg");
    background-position: center;
    background-size: 100%;
}

.locationSection .locations .contain .locationContain:hover {
    background-size: 150%;
    background-position: center;
}

.locationSection .locationContain h2 {
    font-family: "Baskervville";
    font-weight: 100;
    font-size: 35px;
    color: white;
}

.locationSection .locationContain p {
    font-family: "Baskervville";
    font-weight: 100;
    font-size: 25px;
    color: white;
}
.locationSection .locationContain a {
    font-family: "Baskervville";
    font-weight: 100;
    font-size: 25px;
    color: white;
}

.locationSection .locationContain .fa-map-marker-alt {
    margin-top: 10px;
    font-size: 30px;
    color: white;
}

.locationSection .mapContain iframe {
    height: 450px;
    width: 100%;
}

@media (max-width: 996px) {
    .appointmentSection {
        background-attachment: initial;
    }
    .appointmentSection .contain {
        grid-template-columns: 1fr;
    }
    .appointmentSection .formContain {
        margin: 0;
        padding: 150px 20px;
    }
    .appointmentSection .formContain h1 {
        font-size: 30px;
    }
    .appointmentSection .bodyForm .row:nth-child(1),
    .appointmentSection .bodyForm .row:nth-child(2) {
        grid-template-columns: 1fr;
        gap: 0;
    }
    .appointmentSection button {
        font-size: 15px;
    }
    .appointmentSection #finalmessage h2{
        font-size: 15px;
    }
    .appointmentSection .desktopImage {
        display: none;
    }
    .appointmentSection .mobileImage {
        display: block;
    }
    .locationSection {
        padding: 30px 20px;
    }
    .locationSection .locationsTitle h2 {
        font-size: 50px;
    }
    .locationSection .locationsTitle h2:after {
        width: 250px;
        height: 3px;
    }
    .locationSection .contain:nth-child(odd) {
        grid-template-columns: 1fr;
    }
    .locationSection .contain:nth-child(even) {
        grid-template-columns: 1fr;
    }
    .locationSection .contain .locationContain:nth-child(even) {
        order: -1;
    }
    .locationSection .locationContain {
        height: 300px;
    }
    .locationSection .locationContain h2 {
        font-size: 25px;
    }
    .locationSection .locationContain p {
        font-size: 20px;
    }
    .locationSection .locationContain .fa-map-marker-alt {
        font-size: 25px;
    }
    .locationSection .mapContain iframe {
        height: 300px;
    }
}