.evening-clinic-banner img {
    width: 100%;
    display: block;
}
.evening-clinic-banner {
    margin-top: 105px;
    position: relative;
}
#banner {
    position: relative;
}
.eveningclinic-para a {
    color: #00b7ac !important;
}
.even-clinic-form {
    width: 20%;
    background: #034ea1;
    padding: 1px;
    position: absolute;
    top: 50%;
    right: 5%;
    border-radius: 5px;
    transform: translate(0, -50%);
}
.even-clinic-form h4 {
    font-size: 16px;
    color: #fff;
    text-align: center;
    padding: 10px 0;
}
.even-clinic-form form {
    background: #fff;
    padding: 10px;
    border-bottom-right-radius: 5px;
    border-bottom-left-radius: 5px;
}
.even-clinic-form .form-group {
    margin-bottom: 5px;
}
.even-clinic-form form input,
.even-clinic-form form select {
    width: 100%;
    border-top: 0;
    border-left: 0;
    border-right: 0;
    border-bottom: 1px solid #c4c4c4;
    padding: 7px 0;
}
.even-clinic-form form input::placeholder {
    color: #c4c4c4;
}
.remove-arrow select {
    -webkit-appearance: none;
    -moz-appearance: none;
    text-indent: 1px;
    text-overflow: "";
}
.even-clinic-form form button {
    background: linear-gradient(90deg, #034ea1 0%, #00b7ac 100%);
    border-radius: 5px;
    color: #fff;
    padding: 10px 35px;
    box-shadow: none;
    border: none;
}
.about-even-clnc {
    color: #fff;
    background: #034ea1;
    padding: 50px 0;
    text-align: center;
}
.about-even-clnc h1 {
    font-size: 30px;
    margin-bottom: 20px;
}
.over-even-clnc {
    color: #5c5c5c;
    background: #fff;
    padding: 50px 0;
    text-align: center;
}
.over-even-clnc h2 {
    color: #034ea1;
    font-size: 30px;
    margin-bottom: 20px;
}
.services {
    /* background: linear-gradient( 90deg, #034EA1 0%, #00B7AC 100%); */
    margin-top: 0;
    padding: 28px 0 55px 0;
}
.services h3 {
    color: #034ea1;
    font-family: Montserrat;
    font-size: 34px;
    font-weight: 500;
    letter-spacing: 0.4px;
    line-height: 42px;
    text-align: center;
    margin-bottom: 28px;
}
.services-card {
    text-align: center;
    border-radius: 5px;
    background-color: #ffffff;
    box-shadow: 0 2px 5px 0 #9f1a3d;
    transition: all 0.2s ease-in-out;
    padding: 20px;
    height: 175px;
}
.services .owl-dots {
    display: none;
}
.services .owl-prev {
    position: absolute;
    top: 40%;
    border: 1px solid #3333333b !important;
    padding: 4px;
    border-radius: 22px;
    width: 37px;
    height: 38px;
    left: -8px;
    background: #fff !important;
}
.services .owl-next {
    position: absolute;
    top: 40%;
    border: 1px solid #3333333b !important;
    padding: 4px;
    border-radius: 22px;
    width: 37px;
    height: 38px;
    right: -8px;
    background: #fff !important;
}
.services .owl-carousel .owl-item img {
    width: auto;
    display: block;
    margin: 0 auto;
}
.services-card p {
    color: #292929;
    font-family: Montserrat;
    font-weight: 500;
    letter-spacing: 0.14px;
    line-height: 15px;
    margin: 0.75em 0 1.5em;
    font-size: 14px;
    word-break: break-word;
}
.doctors-list-home {
    padding: 40px 0;
    position: relative;
    background-image: url(../images/flowers-bg.png);
}
.doctors-list-home h3 {
    color: #024e9f;
    text-align: center;
    font-family: Montserrat;
    font-size: 34px;
    font-weight: 600;
    letter-spacing: 0.4px;
    line-height: 42px;
    margin-bottom: 40px;
}
.doctors-card {
    min-height: 530px;
    box-shadow: 0 2px 5px 0 rgb(0 0 0 / 20%);
    transition: 0.2s ease-in-out;
    margin-bottom: 5px;
    background: #fff;
    text-align: center;
}
.doctors-card h5 {
    color: #024e9f;
    font-size: 18px;
    font-weight: 600;
    line-height: 22px;
}
.doctors-card h5 {
    color: #024e9f;
    font-size: 18px;
    font-weight: 600;
    line-height: 22px;
}
.quali-mid {
    min-height: 100px;
}
.doctors-card p span {
    color: #292929;
    font-weight: 600;
}
.doctors-card button {
    border-radius: 2px;
    background-color: #034fa1;
    color: #fff;
    font-family: Montserrat;
    font-weight: 500;
    letter-spacing: 0.16px;
    border: none;
    width: 100%;
    padding: 14px;
    margin: 26px 0;
}
.btn-mid {
    width: 100%;
    padding: 0px 30px;
    position: relative;
    bottom: 0px;
}
.quali-wrap {
    margin-top: 30px;
    margin-bottom: 0;
}
.doctors-list-home .owl-prev {
    position: absolute;
    top: 40%;
    left: -34px;
}
.doctors-list-home .owl-next {
    position: absolute;
    top: 40%;
    right: 0;
    right: -34px;
}
.doctors-list-home .owl-prev span,
.doctors-list-home .owl-next span {
    font-size: 38px;
    color: #4242429e;
}
.clinics-grid {
    display: grid;
    grid-column-gap: 20px;
    grid-row-gap: 20px;
    grid-template-columns: repeat(3, 1fr);
    justify-content: center;
    margin-bottom: 20px;
    justify-items: center;
}
.services-flex {
    display: flex;
    background: #034ea1;
    color: #fff;
    border-radius: 5px;
    width: 310px;
    padding: 10px;
    align-items: center;
    justify-content: center;
}
.services-flex p {
    line-height: 20px !important;
    font-size: 14px !important;
    margin-left: 15px !important;
    color: #fff !important;
}
.why-choose-evening-opd {
    padding: 30px;
    border-radius: 8px;
}

.why-choose-evening-opd h2 {
    color: #034ea1;
    font-family: Montserrat;
    font-size: 34px;
    font-weight: 500;
    letter-spacing: 0.4px;
    line-height: 42px;
    text-align: center;
    margin-bottom: 28px;
}

.why-choose-evening-opd ul {
    padding: 0;
    margin-bottom: 20px;
}

.why-choose-evening-opd ul li {
    font-size: 14px;
    color: #121212;
    margin-bottom: 8px;
    margin-left: 15px;
}

.why-choose-evening-opd p {
    font-size: 14px;
    line-height: 1.6;
    color: #333;
}

.why-choose-evening-opd a {
    color: #034ea1;
    font-weight: 600;
    text-decoration: none;
}
.why-choose-evening-opd p a {
    font-size: 14px;
    font-weight: 400;
    color: #034ea1;
    text-decoration: none;
}
.specialities-available {
    background-color: #ffffff;
    border-radius: 8px;
}

.specialities-available h2 {
    color: #034ea1;
    font-family: Montserrat;
    font-size: 34px;
    font-weight: 500;
    letter-spacing: 0.4px;
    line-height: 42px;
    text-align: center;
    margin-bottom: 28px;
}

.specialities-available ul {
    list-style-type: disc;
    padding-left: 20px;
    margin: 0;
}

.specialities-available ul li {
    font-size: 14px;
    color: #121212;
    margin-bottom: 8px;
}

.appointment-button {
    padding: 12px 15px;
    font-size: 19px;
    background-color: #034ea1;
    color: #ffffff;
    text-decoration: none;
    font-family: Montserrat;
    border: 0;
    border-radius: 6px;
    line-height: 23px;
    display: inline-block;
    text-align: center;
}
.button-box {
    text-align: center;
    margin: 20px 0;

}
.button-box a{
    color: #ffffff;
}
.appointment-button:hover,
.appointment-button:active,
.appointment-button:focus {
    background-color: #034ea1 !important;
    color: #ffffff !important;
    box-shadow: none !important;
    outline: none !important;
}
.specialities-available {
    padding: 30px;
    background-color: #f9f9f9;
    border-radius: 8px;
    text-align: center;
}

.specialities-available h2 {
    font-size: 30px;
    font-weight: 700;
    color: #034ea1;
    margin-bottom: 20px;
}

.specialities-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 15px;
}
.specialities-grid {
    text-align: center;
    flex: 0 0 auto;
    max-width: 120px;
}
.specialities-grid img {
    width: 100%;
    height: auto;
    margin-bottom: 10px;
}

.specialities-grid p {
    font-size: 14px;
    color: #121212;
    font-weight: 600;
    text-align: center;
}
.speciality-box {
    width: 165px;
    text-align: center;
    background: #034ea1;
    border-radius: 10px;
    padding: 15px;
    height: 185px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.speciality-box img {
    width: 100%;
    max-width: 100px;
    height: auto;
    margin-bottom: 10px;
}

.speciality-box p {
    font-size: 14px;
    color: #fff;
    margin: 0;
    line-height: 20px;
}
@media (max-width: 1199px) {
    #banner {
        height: auto !important;
    }
    .setmargin {
        margin-top: 0px !important;
    }
    .setmargin {
        margin-top: 0px !important;
    }
    .searchbtn {
        padding: 6px 10px 6px 35px;
    }
    .doctors-list-home .owl-next {
        right: 0;
    }
    .doctors-list-home .owl-prev {
        left: 0;
    }
    .even-clinic-form h4 {
        font-size: 14px;
        color: #fff;
        text-align: center;
        padding: 5px 0;
    }
    .even-clinic-form form input,
    .even-clinic-form form select {
        padding: 5px 0;
    }
    .even-clinic-form form button {
        padding: 5px 20px;
    }
}
@media (max-width: 991px) {
    #banner .bannerDetail {
        bottom: 5% !important;
    }
    .even-clinic-form {
        position: unset;
        transform: unset;
        margin: 30px auto 0 auto;
        width: 50%;
    }
    .evening-clinic-banner {
        background: linear-gradient(90deg, #034ea1 0%, #00b7ac 100%);
        padding-bottom: 30px;
    }
}
@media (max-width: 767px) {
    .even-clinic-form {
        width: 95%;
    }
    .evening-clinic-banner {
        margin-top: 97px;
    }

    .clinics-grid {
        display: block;
    }
    .services-flex {
        margin-bottom: 15px;
        justify-content: left;
    }
    .services-flex p {
        text-align: left;
    }
    .appointment-button {
        font-size: 14px;
    }
    .why-choose-evening-opd h2 {
        font-size: 22px;
        line-height: 28px;
    }
    .specialities-available h2 {
        font-size: 22px;
    }
    .specialities-available ul li {
        margin-left: 15px;
    }
    .specialities-grid {
        justify-items: center;
        grid-template-columns: repeat(2, 1fr);
    }
}
@media only screen and (min-width: 310px) and (max-width: 360px) {
    .appointment-button {
        font-size: 13px;
    }
}
@media only screen and (min-width: 768px) and (max-width: 1025px) {
    .clinics-grid {
        grid-template-columns: repeat(3, 1fr);
        margin-bottom: 20px;
    }
    .services-flex {
        margin-bottom: 20px;
    }
}
.evening-opd-intro p {
    font-size: 14px;
    line-height: 1.6;
    color: #333;
    margin-bottom: 15px;
}

.evening-opd-intro p a {
    font-size: 14px;
    font-weight: 400;
    color: #034ea1;
    text-decoration: none;
}

@media only screen and (min-width: 768px) and (max-width: 991px) {
    .specialities-grid {
        justify-items: center;
        grid-template-columns: repeat(3, 1fr);
        max-width: 100%;
    }
    .services-flex {
        width: 215px;
    }
    .specialities-grid .speciality-box:nth-child(7) {
        grid-column: 1 / -1;
        justify-self: center;
    }
}
.drlist-tab {
    overflow-x: scroll;
    padding: 10px 0;
    justify-content: space-between;
    display: flex;
}

.drlist-tab button {
    background-color: inherit;
    float: left;
    border: none;
    outline: none;
    cursor: default;
    transition: 0.3s;
    font-size: 17px;
    padding: 0;
    margin: 0 5px;
}

.listcontent {
    display: none;
    border-top: none;
}

/* drlist */
.drlist-card {
    display: grid;
    grid-template-columns: 0.75fr 1.5fr;
    border: 1px solid #00b7ac;
    border-radius: 10px;
    margin-top: 25px;
}
.dr-image {
    position: relative;
}
.dr-image img {
    width: 100%;
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
    height: 100%;
    object-fit: cover;
}
.dr-image p {
    position: absolute;
    top: 0;
    left: 0;
    background: linear-gradient(90deg, #034ea1 0, #00b7ac 100%);
    color: #ffffff;
    width: 100%;
    font-size: 12px;
    line-height: 20px;
    border-top-left-radius: 8px;
}
.dr-details {
    padding: 20px;
    text-align: left;
    position: relative;
    background: #ffff;
    border-radius: 10px;
}
.dr-details h3 {
    font-size: 18px;
    font-family: "MontserratSB";
    text-transform: uppercase;
    padding-bottom: 12px;
}
.dr-details p {
    font-size: 14px;
    padding-bottom: 10px;
    line-height: 22px;
}
.dr-details h4 {
    font-size: 16px;
    padding-bottom: 10px;
}
.dr-details button {
    background: #034ea1;
    font-size: 14px;
    padding: 8px 25px;
    color: #ffffff;
    position: absolute;
    bottom: 20px;
    border-radius: 5px;
    outline: none;
    border: none;
    margin: 0;
}
.drlistlink.active .speciality-box {
    background: #ffffff;
    border: 1px solid #034ea1;
}
.drlistlink.active .speciality-box p {
    color: #034ea1;
}
.speciality-box.active img {
    transform: scale(1.1);
}
.drlist-tab::-webkit-scrollbar {
    height: 4px;
}
::-webkit-scrollbar{
    width: 4px;
}
.drlist-tab::-webkit-scrollbar-thumb, ::-webkit-scrollbar-thumb  {
    background: #034ea1;
    border-radius: 10px;
}
.drlist-tab::-webkit-scrollbar-track, ::-webkit-scrollbar-track {
    box-shadow: inset 0 0 5px #00b7ab6e;
    border-radius: 10px;
}
.faq {
    background: url(../images/testimonial-faqs-bg.webp) #034ea1 no-repeat;
    padding: 30px 0;
    background-position: 0 50%
}

.faq h2 {
    color: #fff;
    font-size: 30px;
    margin: 0 0 20px 0
}

.faq-bar {
    padding: 10px 0 10px
}

.accordion {
    background-color: #fff;
    color: #034ea1;
    cursor: pointer;
    padding: 18px 18px;
    width: 100%;
    border: none;
    text-align: left;
    outline: 0;
    font-family: Montserrat;
    font-size: 18px;
    line-height: 22px;
    box-sizing: border-box;
    position: relative;
    font-weight: 500
}
.accordion p{
    font-size: 16px;
}
.accordion::before {
    content: url(../images/testi-faqs-right.svg);
    font-family: "Glyphicons Halflings";
    position: absolute;
    top: 50%;
    right: 30px;
    transform: translateY(-50%);
    color: #034ea1
}

.panel {
    padding: 15px;
    display: none;
    background-color: #fff;
    overflow: hidden;
    margin-bottom: 10px;
    width: 100%;
    box-sizing: border-box;
    border-top: 1px solid #ddd;
    border-radius: 0px;
}

.accordion.active::before {
    content: url(../images/testi-faqs-down.svg);
    transform: rotate(180deg);
    top: 18px
}

.panel p {
    font-family: Montserrat;
    font-size: 14px;
    color: #000;
    line-height: 26px
}
.speciality-grid {
    /* display: grid;
    grid-template-columns: repeat(5, 1fr);
    */
    gap: 15px; 
    display: grid;
    grid-auto-flow: column; /* Makes grid items flow horizontally */
    grid-auto-columns: min-content; /* Or set a fixed width like 200px */
    overflow-x: auto; /* Enables horizontal scrolling */
    white-space: nowrap;
    padding-bottom: 15px;
}
.speciality-grid::-webkit-scrollbar {
    height: 4px;
}
.speciality-grid::-webkit-scrollbar{
    width: 4px;
}
.speciality-grid .col{
    text-align: center;
    background: #034ea1;
    border-radius: 10px;
    padding: 15px;
    height: 185px;
    width: 165px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    white-space: break-spaces;
}
.speciality-grid .col p{
    font-size: 14px;
    color: #fff;
    margin: 0;
    line-height: 20px;
}
.speciality-grid .col img{
    display: block;
    margin-bottom: 15px;
}
.white-bg {
    background: #fff;
    color: #000;
}
.white-bg h1{
    color: #034ea1 !important;
}
@media (max-width: 1400px) {
    .drlist-tab {
        display: flex;
        overflow-x: scroll;
        scroll-behavior: smooth;
    }
    .speciality-box {
        margin-bottom: 10px;
    }
    .dr-details {
        padding: 10px;
    }
}
@media (max-width: 768px) {
    .dr-details button {
        position: unset;
    }
}
@media (max-width: 767px) {
    .specialities-available {
        padding: 30px 10px;
    }
    .drlist-card {
        display: block;
    }
    .dr-details {
        padding: 15px;
    }
    .dr-details button {
        display: block;
        margin: auto;
    }
    .dr-details p:last-of-type {
        padding-bottom: 20px;
    }
    .dr-image img {
        border-top-left-radius: 0px;
        border-bottom-left-radius: 0px;
    }
    .dr-image p {
        border-top-right-radius: 8px;
    }
    .speciality-box {
        width: 150px;
        height: 180px;
    }
    .accordion{
        padding-right: 30px;
    }
    .accordion::before{
        right: 10px;
    }
}
@media (max-width: 320px) {
    .speciality-box {
        width: 125px;
        height: 170px;
    }
}
