section {
    padding: 60px 0;
    overflow: hidden;
}

.section-bg {
    /*  background-color: #eee;*/
    background: #e9eef5;
}

.section-title {
    text-align: center;
    padding-bottom: 30px;
}

.section-title h2 {
    font-size: 32px;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 20px;
    padding-bottom: 20px;
    position: relative;
    color: #31A9DE;
}

.section-title h2::before {
    content: "";
    position: absolute;
    display: block;
    width: 120px;
    height: 1px;
    background: #ddd;
    bottom: 1px;
    left: calc(50% - 60px);
}

.section-title h2::after {
    content: "";
    position: absolute;
    display: block;
    width: 40px;
    height: 3px;
    background: #47b2e4;
    bottom: 0;
    left: calc(50% - 20px);
}

.section-title p {
    margin-bottom: 0;
}

.team .member {
    position: relative;
    box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
    padding: 30px;
    border-radius: 5px;
    background: #fff;
    transition: 0.5s;
    height: 100%;
}

.team .member .pic {
    overflow: hidden;
    width: 140px;
    border-radius: 50%;
}

.team .member .pic img {
    transition: ease-in-out 0.3s;
}

.team .member:hover {
    transform: translateY(-10px);
}

.team .member .member-info {
    padding-left: 30px;
}

.team .member h4 {
    font-weight: 700;
    margin-bottom: 5px;
    font-size: 20px;
    color: #007CB0;
}

.team .member span {
    display: block;
    font-size: 15px;
    padding-bottom: 10px;
    position: relative;
    font-weight: 500;
}

.team .member span::after {
    content: "";
    position: absolute;
    display: block;
    width: 50px;
    height: 1px;
    background: #cbd6e9;
    bottom: 0;
    left: 0;
}

.team .member p {
    margin: 10px 0 0 0;
    font-size: 14px;
}

.team .member .social {
    margin-top: 12px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.team .member .social a {
    transition: ease-in-out 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50px;
    width: 32px;
    height: 32px;
    background: #eff2f8;
}

.team .member .social a i {
    color: #007CB0;
    font-size: 16px;
    margin: 0 2px;
}

.team .member .social a:hover {
    background: #47b2e4;
}

.team .member .social a:hover i {
    color: #fff;
}

.team .member .social a+a {
    margin-left: 8px;
}

/* .container {
       margin-top: 100px;
} */

.counter-box {
    display: block;
    background: #f6f6f6;
    padding: 40px 20px 37px;
    text-align: center
}

.counter-box p {
    margin: 5px 0 0;
    padding: 0;
    color: #007CB0;
    font-size: 18px;
    font-weight: 500
}

.counter-box i {
    font-size: 60px;
    margin: 0 0 15px;
    color: #007CB0;
}

.counter {
    display: block;
    font-size: 32px;
    font-weight: 700;
    color: #000;
    line-height: 28px
}

.form-btn {
    color: #fff !important;
    background: #31A9DE !important;
    padding-left: 30px !important;
    padding-right: 30px !important;
    padding-bottom: 8px !important;
    padding-top: 8px !important;
    cursor: pointer !important;
    border: none !important;
    border-radius: 100px !important;
    font-weight: 600 !important;
    transition: 1s;
}

.form-btn:hover {
    background: #000 !important;
}

.carousel-inner img {
    width: 100%;
    height: 500px;
    object-fit: fill;
}

.appointment-section {
    display: flex;
    align-items: center;
    justify-content: center;
    background: url('../img/slider/DD.jpg') no-repeat center center/cover;
    margin: 10px 0px -37px 0px;
    width: 100%;
    object-fit: fill;
}

/* .appointment-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 1;
}

.appointment-section * {
    position: relative;
    z-index: 2;
} */

.appointment-container {
    width: 100%;
    background: white;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    border-radius: 35px;
    border: 2px solid #007cb0;
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.appointment-container:hover {
    border: 2px solid rgb(243, 246, 247);
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
}

.form-box {
    background: #007cb0;
    padding: 30px;
    color: white;
    border-radius: 35px;
}

.form-box h2 {
    text-transform: uppercase;
    font-weight: bold;
}

.btn-appointment {
    background: #007cb0;
    color: white;
    padding: 10px 15px;
    width: 100%;
    border: none;
    border-radius: 5px;
}

.btn-primary {
    color: #fff;
    background-color: #007cb0;
    border-color: #007cb0;
}

.btn-primary:hover {
    color: #fff;
    background-color: #007cb0;
    border-color: #007cb0;
}

.btn-outline-primary:hover {
    color: #fff;
    background-color: #007cb0;
    border-color: #007cb0;

}

.btn-outline-primary {
    color: #007cb0;
    background-color: transparent;
    background-image: none;
    border-color: #007cb0;
}

.aboutus-section .aboutus-img img {
    position: relative;
    border: 2px solid #007cb0;
    border-radius: 37px;
}

.about-section {
    padding: 80px 0;
}

.about-title {
    font-size: 52px;
    font-weight: bold;
    color: #007cb0;
    margin-bottom: 23px;
    text-align: center;
}

.about-text {
    color: #333;
}

.read-more-btn {
    border: 2px solid #072f5f;
    color: #072f5f;
    padding: 10px 20px;
    text-decoration: none;
    display: inline-block;
    font-weight: bold;
    border-radius: 5px;
}

.read-more-btn:hover {
    background: #007cb0;
    color: white;
}

.about-image {
    max-width: 100%;
    height: 62vh;
    border: 2px solid #007cb0;
    border-radius: 45px;
}

.aboutus-content h3 {
    font-size: 37px;
    font-weight: 800;
    color: #31A9DE;
}

.aboutus-content {
    padding: 20px;
}

.team .member {
    position: relative;
    box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
    padding: 30px;
    border-radius: 37px;
    background: #fff;
    transition: 0.5s;
    height: 100%;
}

.section-title p {
    margin-bottom: 0;
    font-size: 20px;
    font-weight: 700;
}

.team .member {
    position: relative;
    box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
    padding: 30px;
    border-radius: 37px;
    background: #fff;
    transition: 0.5s;
    height: 100%;
    border: 2px solid #007cb0;
}

.section-bg {
    /* background-color: #eee; */
    position: relative;
    padding: 60px 0;
    background: url('../image/image1.jpg') no-repeat center center/cover;
}

.section-bg::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    opacity: 0.5;
    z-index: 1;
}

.section-bg * {
    position: relative;
    z-index: 2;
}

.experienced-doctor-content .b2:hover {
    background-color: rgb(2, 66, 13);
}

.services-p {
    font-family: "Lato", sans-serif;
    font-weight: 700;
    font-size: 20px;
}

.service-section {
    padding: 50px 0;
    background: #f8f9fa;
}

.heading-main {
    text-align: center;
    /* margin-bottom: 40px; */
}

.service-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    transition: transform 0.3s ease;
    /* text-align: center; */
}

.icon-service img {
    width: 253px;
    height: 258px;
    border-radius: 151px;
    object-fit: cover;
    /* position: relative;
    left: -13px; */
}

.service-item:hover {
    transform: scale(1.05);
}

.service-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 253px;
    height: 258px;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
    transition: opacity 0.3s ease;
    border-radius: 151px;
}

.service-item:hover .service-overlay {
    opacity: 1;
}

.service-overlay h4 {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 8px;
}

.service-overlay p {
    font-size: 10px;
    margin-bottom: 10px;
}

.service-overlay a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    border-bottom: 2px solid #fff;
    font-size: 14px;
}

.counter-box {
    display: block;
    background: #f6f6f6;
    padding: 40px 20px 37px;
    text-align: center;
    border-radius: 30px;
    border: 2px solid #007cb0;
}

.counter-section {
    position: relative;
    padding: 60px 0;
    background: url('../image/image1.jpg') no-repeat center center/cover;
}

.counter-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    opacity: 0.5;
    z-index: 1;
}

.counter-section * {
    position: relative;
    z-index: 2;
}

.service-section .service-content-section {
    box-shadow: 10px 1px 10px 0 rgba(0, 0, 0, 0.1), 0 3px 3px 0 rgba(0, 0, 0, 0.1);
    padding: 15px 20px;
    transition: border 0.1s ease-in;
    background-color: #fff;
    text-align: center;
    border-radius: 31px;
    border: 2px solid #007cb0;
}

.footer-section {
    /* background-image: url(../img/bg-11.png); */
    background-size: cover;
    /*  margin-top: 50px;*/
    color: #333;
    /*  padding-top: 50px;*/
    padding: 70px 0;
    background: #007cb0;
}

.last-section {
    /* background-color: #007cb0; */
    background-color: #146587;
}

@media (min-width: 992px) and (max-width: 1199px) {
    .service-overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 210px;
        height: 210px;
        background: rgba(0, 0, 0, 0.6);
        color: white;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
        padding: 20px;
        transition: opacity 0.3s ease;
        border-radius: 151px;
    }

    .icon-service img {
        width: 210px;
        height: 210px;
        border-radius: 151px;
        object-fit: cover;
    }

    .about-image {
        max-width: 100%;
        height: 73vh;
        border: 2px solid #007cb0;
        border-radius: 45px;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .service-overlay p {
        font-size: 10px;
        margin-bottom: 0px;
    }

    .service-overlay h4 {
        font-size: 11px;
        font-weight: bold;
        margin-bottom: 7px;
    }

    .service-overlay a {
        color: #fff;
        text-decoration: none;
        font-weight: bold;
        border-bottom: 2px solid #fff;
        font-size: 10px;
    }

    .service-overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 210px;
        height: 210px;
        background: rgba(0, 0, 0, 0.6);
        color: white;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
        padding: 20px;
        transition: opacity 0.3s ease;
        border-radius: 151px;
    }

    .icon-service img {
        width: 210px;
        height: 210px;
        border-radius: 151px;
        object-fit: cover;
        /* position: relative;
        left: -59px; */
    }

    .col-sm-6 {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 50%;
        flex: 0 0 50%;
        /* max-width: 50%; */
        margin-bottom: 10px;
        position: relative;
        left: 50px;
    }
}

@media only screen and (max-width: 479px) {
    .about-title {
        font-size: 22px;
        font-weight: bold;
        color: #007cb0;
        margin-bottom: 23px;
        text-align: center;

    }

    .heading-main {
        padding-bottom: 0px;
        padding-top: 30px;
    }

    .service-overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 285px;
        height: 285px;
        background: rgba(0, 0, 0, 0.6);
        color: white;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
        padding: 20px;
        transition: opacity 0.3s ease;
        border-radius: 151px;
    }

    .icon-service img {
        width: 285px;
        height: 285px;
        border-radius: 151px;
        object-fit: cover;
        position: relative;
        /* left: -25px; */
        margin-bottom: 15px;
    }

    .services-p {
        font-family: "Lato", sans-serif;
        font-weight: 700;
        font-size: 20px;
        margin-bottom: -26px;
    }

    .counter-section * {
        position: relative;
        z-index: 2;
        margin: 6px 0px;
    }

    .btn-primary {
        color: #fff;
        background-color: #007cb0;
        border-color: #007cb0;
        margin: 9px;
    }
}

@media (min-width: 576px) and (max-width: 767px) {
    .col-sm-6 {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 50%;
        flex: 0 0 50%;
        /* max-width: 50%; */
        margin-bottom: 10px;
    }
}

.ellipsis {
    width: 200px;
    /* Adjust the width */
    display: -webkit-box;
    -webkit-line-clamp: 3;
    /* Number of lines before truncation */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ellipsis-footer {
    width: 250px;
    /* Adjust the width */
    display: -webkit-box;
    -webkit-line-clamp: 10;
    /* Number of lines before truncation */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: justify;
}

.star-rating-container {
    display: flex;
    justify-content: center;
    /* Centers horizontally */
    align-items: center;
}

.star-rating {
    display: flex;
    align-items: center;
    direction: row-reverse;
    font-size: 30px;
    color: gold;
}

.star-rating label {
    cursor: pointer;
}

.star-rating input:checked~label {
    color: gold;
}

.star-rating label:hover,
.star-rating label:hover~label {
    color: gold;
}

.marquee-container {
    background-color: #f8f9fa;
    padding: 2px;
    border-radius: 8px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    font-size: large;
}