/********** Template CSS **********/


body {

    font-family: 'Roboto Slab', serif !important;
    scroll-behavior: smooth; 

}

:root {
    --dark-purple: #340C6D;
    --off-white: #fefefe;
    --orange: #d6551d;
    --brown: #c74303;
    --light-pink: #cfadac;
    --pale-pink: #ecd9d7;

}

.bg-dark-purple{
    background: var(--dark-purple) !important;
}
.bg-off-white{
    background: var(--off-white) !important;
}
.bg-orange{
    background: var(--orange) !important;
}
.bg-brown{
    background: var(--brown) !important;
}
.bg-light-pink{
    background: var(--light-pink) !important;
}
.bg-pale-pink{
    background: var(--pale-pink) !important;
}

.text-dark-purple{
    color: var(--dark-purple) !important;
}
.text-off-white{
    color: var(--off-white) !important;
}
.text-orange{
    color: var(--orange) !important;
}
.text-brown{
    color: var(--brown) !important;
}
.text-light-pink{
    color: var(--light-pink) !important;
}
.text-pale-pink{
    color: var(--pale-pink) !important;
}


.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 30px;
    z-index: 99;
    padding-top: 5px !important;
    background-color: var(--orange);
    border: 2px solid var(--off-white);
}

.fw-medium {
    font-weight: 500;
}


/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}


/*** Button ***/
.btn {
    transition: .5s;
    font-weight: 500;
}

.btn-primary,
.btn-outline-primary:hover {
    color: var(--bs-light);
}

.btn-secondary,
.btn-outline-secondary:hover {
    color: var(--bs-dark);
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 44px;
    height: 44px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50px;
    font-weight: normal;
}

.icon-box-primary,
.icon-box-light {
    position: relative;
    padding: 0 0 10px 10px;
    z-index: 1;
}

.icon-box-primary i,
.icon-box-light i {
    font-size: 45px;
    line-height: 0;
}

.icon-box-light::before,
.icon-box-primary::before {
    position: absolute;
    /* content: ""; */
    width: 35px;
    height: 35px;
    left: 0;
    bottom: 0;
    border-radius: 35px;
    transition: .5s;
    z-index: -1;
}

.feature-item .icon-box-primary::before {
    position: absolute;
    content: "";
    width: 35px;
    height: 35px;
    left: auto;
    bottom: 0;
    border-radius: 35px;
    transition: .5s;
    z-index: -1;
}

.icon-box-primary::before {
    background: var(--light-pink);
}

.icon-box-light::before {
    background: var(--bs-light);
}


/*** Navbar ***/
.sticky-top {
    top: -100px;
    transition: .5s;
}

.navbar .navbar-nav .nav-link {
    margin-right: 35px;
    padding: 20px 0;
    color: var(--dark-purple);
    font-size: 18px;
    font-weight: 500;
    outline: none;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--orange);
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

@media (max-width: 991.98px) {
    .navbar .navbar-nav .nav-link {
        margin-right: 0;
        padding: 10px 0;
    }

    .navbar .navbar-nav {
        margin-top: 15px;
        border-top: 1px solid #EEEEEE;
    }
}

@media (min-width: 992px) {
    .sticky-top {
        margin-top: -34px;
    }

    .navbar {
        height: 100px;
    }

    .navbar .nav-item .dropdown-menu {
        display: block;
        border: none;
        margin-top: 0;
        top: 150%;
        opacity: 0;
        visibility: hidden;
        transition: .5s;
    }

    .navbar .nav-item:hover .dropdown-menu {
        top: 100%;
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}


/*** Header ***/
@media (min-width: 992px) {

    .header-carousel,
    .page-header {
        margin-top: -34px;
    }
}

.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    background: rgba(3, 27, 78, .3);
    z-index: 1;
}

.carousel-control-prev,
.carousel-control-next {
    width: 15%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 3.5rem;
    background-color: var(--bs-primary);
    border: 15px solid var(--bs-primary);
}

@media(min-width:768px) {

    .carousel-control-prev-icon,
    .carousel-control-next-icon {
        width: 3.5rem;
        height: 3.5rem;
    }
}

@media (max-width: 600px) {
    #header-carousel .carousel-item {
        position: relative;
        min-height: 350px;
    }

    #header-carousel .carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

@media(min-width:992px) {
    #header-carousel .carousel-item {
        /* max-height: 600px; */
    }
}

.page-header {
    background: linear-gradient(rgba(0, 0, 0, .2), rgba(0, 0, 0, .2)), url(../img/breadcrumb1.jpg) center center no-repeat;
    background-size: cover;
}

.page-header .breadcrumb-item+.breadcrumb-item::before {
    color: var(--bs-white);
}

.page-header .breadcrumb-item,
.page-header .breadcrumb-item a {
    font-size: 18px;
    color: var(--bs-white);
}

.dermatology-header{
    background: linear-gradient(rgba(0, 0, 0, .2), rgba(0, 0, 0, .2)), url(../img/dermatology.jpg) center center no-repeat;
    background-size: cover;
}

/*** Features ***/
.feature {
    background: linear-gradient(rgba(3, 27, 78, .3), rgba(3, 27, 78, .3)), url(../img/feature.jpg) left center no-repeat;
    background-size: cover;
}

.feature-row {
    box-shadow: 0 0 45px rgba(0, 0, 0, .08);
    background-color: #fff;
    position: relative;
    z-index: 999;
}

.feature-item {
    border-color: rgba(0, 0, 0, .03) !important;
}

.experience .progress {
    height: 5px;
}

.experience .progress .progress-bar {
    width: 0px;
    transition: 3s;
}

.experience .nav-pills .nav-link {
    color: var(--dark);
}

.experience .nav-pills .nav-link.active {
    color: #FFFFFF;
}

.experience .tab-content hr {
    width: 30px;
}


/*** About ***/
.about-fact {
    width: 160px;
    height: 160px;
    box-shadow: 0 0 30px rgba(0, 0, 0, .1);
}
.about-fact.mt-n110 {
    margin-top: -65px;
}
@media (min-width: 576px) {
    .about-fact.mt-n130 {
        margin-top: -130px;
    }
    .about-fact.mt-n110 {
        margin-top: -110px;
    }
}

.btn-play {
    position: relative;
    display: block;
    box-sizing: content-box;
    width: 36px;
    height: 46px;
    border-radius: 100%;
    border: none;
    outline: none !important;
    padding: 18px 20px 20px 28px;
    background: var(--bs-primary);
}

.btn-play:before {
    content: "";
    position: absolute;
    z-index: 0;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    display: block;
    width: 90px;
    height: 90px;
    background: var(--bs-primary);
    border-radius: 100%;
    animation: pulse-border 1500ms ease-out infinite;
}

.btn-play:after {
    content: "";
    position: absolute;
    z-index: 1;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    display: block;
    width: 90px;
    height: 90px;
    background: var(--bs-primary);
    border-radius: 100%;
    transition: all 200ms;
}

.btn-play span {
    display: block;
    position: relative;
    z-index: 3;
    width: 0;
    height: 0;
    left: 3px;
    border-left: 30px solid #FFFFFF;
    border-top: 18px solid transparent;
    border-bottom: 18px solid transparent;
}

@keyframes pulse-border {
    0% {
        transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1);
        opacity: 1;
    }

    100% {
        transform: translateX(-50%) translateY(-50%) translateZ(0) scale(2);
        opacity: 0;
    }
}

.modal-video .modal-dialog {
    position: relative;
    max-width: 800px;
    margin: 60px auto 0 auto;
}

.modal-video .modal-body {
    position: relative;
    padding: 0px;
}

.modal-video .close {
    position: absolute;
    width: 30px;
    height: 30px;
    right: 0px;
    top: -30px;
    z-index: 999;
    font-size: 30px;
    font-weight: normal;
    color: #FFFFFF;
    background: #000000;
    opacity: 1;
}


/*** Service ***/
.container-service {
    position: relative;
}

.container-service::before {
    position: absolute;
    content: '';
    background: var(--bs-light);
    width: 100%;
    height: 100%;
    left: 0px;
    top: 0px;
    clip-path: polygon(0 0, 100% 0, 100% 30%, 0 70%);
    z-index: -1;
}

.service-item {
    position: relative;
    height: 100%;
    padding: 45px 30px;
    background: var(--bs-white);
    box-shadow: 0 0 45px rgba(0, 0, 0, .05);
}

.service-item::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 0;
    left: 0;
    bottom: 0;
    transition: .5s;
    background: var(--bs-primary);
}

.service-item:hover::before {
    height: 100%;
    top: 0;
}

.service-item * {
    position: relative;
    transition: .5s;
    z-index: 1;
}

.service-item:hover h5,
.service-item:hover p {
    color: var(--bs-white);
}

.service-item:hover .icon-box-primary::before {
    background: var(--bs-dark);
}

.service-item:hover .icon-box-primary i {
    color: var(--bs-white) !important;
}

.service-item .service-img-two {
    display: none;
}

.service-item:hover .service-img-two {
    display: block;
}

.service-item:hover .service-img-one {
    display: none;
}


/*** Team ***/
.container-team {
    position: relative;
}

.container-team::before {
    position: absolute;
    content: '';
    background: var(--bs-light);
    width: 100%;
    height: 100%;
    left: 0px;
    top: 0px;
    clip-path: polygon(0 70%, 100% 30%, 100% 100%, 0% 100%);
    z-index: -1;
}

.team-item {
    background: var(--bs-white);
    box-shadow: 0 0 45px rgba(0, 0, 0, .05);
}

.team-item .team-social {
    position: absolute;
    width: 100%;
    height: 0%;
    bottom: 0;
    right: 0%;
    transition: .5s;
    background: rgba(207, 173, 172, .92);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.team-item:hover .team-social {
    height: 100%;
    /* left: 0; */
}

.team-item p {
    opacity: 0;
}

.team-item:hover .team-social p {
    opacity: 1;
}

.team-item .team-social .btn {
    opacity: 0;
    transition: .5s;
}

.team-item:hover .team-social .btn {
    opacity: 1;
}


/*** Testimonial ***/
.testimonial {
    /* background: linear-gradient(rgba(3, 27, 78, .3), rgba(3, 27, 78, .3)), url(../img/testimonialbg.jpg) left center no-repeat; */
    background: linear-gradient(rgba(0, 0, 0, .5), rgba(0, 0, 0, .5)), url(../img/testimonialbg.jpg) left center no-repeat;
    background-size: cover;
    background-attachment: fixed;
}

.testimonial-item img {
    width: 60px !important;
    height: 60px !important;
    border-radius: 60px;
}

.testimonial-carousel .owl-nav {
    position: absolute;
    top: 0;
    right: 0;
    display: flex;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    margin-left: 15px;
    color: var(--brown);
    font-size: 30px;
    line-height: 0;
    transition: .5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    color: var(--bs-dark);
}

/*** Contact ***/
@media (min-width: 992px) {
    .contact-info::after {
        position: absolute;
        content: "";
        width: 0px;
        height: 100%;
        top: 0;
        left: 50%;
        border-left: 1px dashed rgba(255, 255, 255, .2);
    }
}

@media (max-width: 991.98px) {
    .contact-info::after {
        position: absolute;
        content: "";
        width: 100%;
        height: 0px;
        top: 50%;
        left: 0;
        border-top: 1px dashed rgba(255, 255, 255, .2);
    }
}


/*** Footer ***/
.footer {
    /* background: linear-gradient(rgba(3, 27, 78, .3), rgba(3, 27, 78, .3)), url(../img/footer.png) center center no-repeat; */
    background: linear-gradient(rgba(207, 173, 172, .4), rgba(207, 173, 172, .8)), url(../img/footer.png) center center no-repeat;
    background-size: contain;
    position: relative;
    z-index: 999;
}

.footer::after {
    content: '';
    position: absolute;
    height: 100%;
    width: 100%;
    left: 0;
    top: -20px;
    z-index: -5;
    background: url('../img/wave.png');
    background-repeat: no-repeat;
    background-position: top center;
}

@media(min-width:768px) {
    .footer::after {
        top: 0;
        background-size: cover;
    }
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color:#57585f;
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color:#57585f;
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    color: var(--dark-purple);
    letter-spacing: 1px;
    box-shadow: none;
}

.footer a.contact{
    color: #57585f;
}

.footer a.contact:hover{
    color: var(--dark-purple);
}

.copyright {
    border-top: 1px dashed rgba(255, 255, 255, 1);
}

.copyright a {
    color: var(--bs-white);
}

.copyright a:hover {
    color: var(--dark-purple);
}

.appoinment-btn {
    position: fixed;
    right: -70px;
    bottom: 40%;
    transform: rotate(90deg);
    transition: .2s ease-in-out;
    border: 2px solid #fff;
    z-index: 9999;
    border-radius: 10px;
    background-color: var(--dark-purple);
}

@media(min-width:768px) {
    .appoinment-btn {
        bottom: 45%;
    }
}

.appoinment-btn:hover {
    right: -65px;
    border: 2px solid #fff;
    background-color: var(--orange);
}

.text-justify {
    text-align: justify;
}

.about-outer {
    /* background: var(--bs-primary); */
    position: relative;
    border-radius: 20px;
    transition: .3s ease-in-out
}

.about-outer img {
    border-radius: 10px;
    position: relative;
}

.about-doctor:hover .about-outer {
    transform: scale(.95);
}

.img-overlay {
    position: relative;
}

.img-overlay:after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 20px;
    width: 20px;
    border-top: 5px solid var(--bs-primary);
    border-left: 5px solid var(--bs-primary);
    transition: 2s ease-in-out;
}

.about-doctor:hover .img-overlay:after {
    animation: width 2s ease-in-out;
}

.img-overlay:before {
    content: '';
    position: absolute;
    right: 0;
    bottom: 0;
    height: 20px;
    width: 20px;
    border-right: 5px solid var(--bs-primary);
    border-bottom: 5px solid var(--bs-primary);
    transition: 2s ease-in-out;
    z-index: 999;
}

.about-doctor:hover .img-overlay:before {
    animation: width 2s ease-in-out;
}

@keyframes width {
    0% {
        width: 20px;
        height: 20px;
    }

    50% {
        width: 80px;
        height: 80px;
    }

    100% {
        width: 20px;
        height: 20px;
    }
}

.banner-board {
    margin-top: -30px;
}

@media(min-width:600px) {
    .banner-board {
        margin-top: -60px;
    }
}

.page-header {
    position: relative;
}

.page-header::after {
    position: absolute;
    left: 0;
    bottom: -12px;
    content: '';
    width: 100%;
    height: 40px;
    background: url('../img/wave2.png');
    background-repeat: no-repeat;
    background-size: cover;
}

@media(min-width:768px) {
    .page-header::after {
        height: 70px;
        bottom: -20px;
    }
}

@media(min-width:768px) {
    .page-header::after {
        height: 70px;
        bottom: -15px;
    }
}

.otherser-img {
    background: #4477CE;
    height: 50px;
    width: 60px;
}

.otherser-img.active {
    background: #44BCCE;
}

.otherser-img img {
    height: 100%;
    width: 100%;
}

.other_service ul li {
    box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
    transition: .3s ease-in-out;
}

.other_service ul li:hover {
    transform: scale(0.95);
}

.other-service-heading {
    width: 100%;
    height: 50px;
    background: #4477CE;
    display: flex;
    align-items: center;
    color: #fff;
    padding-left: 7px;
}

.other-service-heading.active {
    background: #44BCCE;
}

.other-service-heading:hover {
    color: #fff !important;
}

@media(min-width:992px) {
    .other_service {
        position: sticky;
        top: 90px;
    }
}

.service-img {
    transition: .3s ease-in-out;
}

.service-img:hover {
    transform: scale(.95);
}

.service-details {
    box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
}

.foot-logo {
    width: 150px;
}

.header-logo {
    width: 150px;
}

@media(min-width:992px) {

    .foot-logo {
        width: 200px;
    }

    .header-logo {
        width: 250px;
    }

    .gallery-outer {
        margin-top: 20px;
        padding: 0px 10px;
    }
}

.gallery-inner {
    border: 1px solid #4A9195;
}

.single-service-box {
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
    transition: .5s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

.single-service-heading{
    font-size: 18px;
}

.single-service-box:hover .single-service-heading {
    color: #fff;
}
.single-service-box:hover{
    transform: scale(0.9);
}

.scroll-up-btn {
    z-index: 999;
}

.gallery-inner {
    height: 250px;
}

.gallery-inner img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.call-btn {
    position: fixed;
    z-index: 999;
    bottom: 20px;
    left: 30px;
    animation: infiniteScale 3s ease infinite;
}

.call-btn img {
    height: 44px;
    width: 44px;
}

.whatsapp-btn {
    position: fixed;
    z-index: 999;
    bottom: 20px;
    right: 30px;
    animation: infiniteScale 3s ease infinite;
}

.whatsapp-btn img {
    height: 44px;
    width: 44px;
}

@media(min-width:768px) {
    .call-btn {
        display: none;
    }

    .whatsapp-btn {
        right: auto;
        left: 30px;
        bottom: 30px;
    }

}

@keyframes infiniteScale {
    0% {
        transform: scale(1);
        /* Initial scale */
    }

    50% {
        transform: scale(1.05);
        /* Scale up to 120% */
    }

    100% {
        transform: scale(1);
        /* Back to the initial scale */
    }
}

.contact_form {
    box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
    padding: 15px;
    border-radius: 10px;
}

@media(min-width:768px) {
    .contact_form {
        padding: 40px;
    }
}

.custom-btn {
    /* width: 130px; */
    /* height: 40px; */
    color: #fff;
    border-radius: 5px;
    padding: 10px 25px;
    font-weight: 500;
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
     box-shadow:inset 2px 2px 2px 0px rgba(255,255,255,.5),
     7px 7px 20px 0px rgba(0,0,0,.1),
     4px 4px 5px 0px rgba(0,0,0,.1);
    outline: none;
  }
  
  .btn-5 {
    /* width: 130px; */
    /* height: 40px; */
    /* line-height: 42px; */
    border: none;
    /* background:var(--orange); */
  background: linear-gradient(0deg, rgba(214,85,29,1) 0%, rgba(242,104,25,1) 100%);
  }
  .btn-5:hover {
    color:var(--orange);
    background: transparent;
     box-shadow:none;
     font-weight: bold;
  }
  .btn-5:before,
  .btn-5:after{
    content:'';
    position:absolute;
    top:0;
    right:0;
    height:2px;
    width:0;
    background: var(--dark-purple);
    box-shadow:
     -1px -1px 5px 0px #fff,
     7px 7px 20px 0px #0003,
     4px 4px 5px 0px #0002;
    transition:400ms ease all;
  }
  .btn-5:after{
    right:inherit;
    top:inherit;
    left:0;
    bottom:0;
  }
  .btn-5:hover:before,
  .btn-5:hover:after{
    width:100%;
    transition:800ms ease all;
  }
  .footer_social_btn a{
    background-color: #fff;
  }
  
  .footer_social_btn a:hover{
    color: var(--orange);
  }
body {
    font-family: 'Segoe UI', sans-serif;
    margin: 0;
    padding: 0;
    background: #fff;
}

.blog-section {
    padding: 40px 20px;
    max-width: 1200px;
    margin: auto;
    text-align: center;
}

.blog-heading h2 {
    font-size: 28px;
    color: #222;
    margin-bottom: 5px;
}

.blog-heading p {
    font-size: 18px;
    color: #444;
    margin-bottom: 20px;
    font-weight: 500;
}

.blog-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 25px;
}

.blog-card {
    background: #f9f9f9;
    width: 300px;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.05);
    overflow: hidden;
    transition: transform 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
}

.blog-img {
    position: relative;
    width: 100%;
    height: 200px;
}

.blog-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-plus {
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: #e53935;
    color: #fff;
    font-size: 26px;
    font-weight: bold;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    line-height: 40px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.blog-content {
    padding: 20px 15px;
    text-align: center;
}

.blog-content h3 {
    font-size: 18px;
    color: #d32f2f;
    margin: 10px 0;
}

.blog-content p {
    font-size: 14px;
    color: #444;
    margin-bottom: 15px;
}

.read-more {
    background: #1e3a8a;
    color: white;
    padding: 8px 14px;
    font-size: 13px;
    text-decoration: none;
    border-radius: 4px;
    display: inline-block;
    transition: background 0.3s;
}

.read-more:hover {
    background: #0f172a;
}
.body {
    font-family: Arial;
    background: #f4f4f4;
    padding: 20px;
}

.h2, h3 {
    color: #333;
}

.table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    background: white;
    box-shadow: 0 0 5px rgba(0,0,0,0.1);
}

.th, td {
    padding: 12px;
    border: 1px solid #ddd;
}

.a {
    color: #0073e6;
    text-decoration: none;
}

.a:hover {
    text-decoration: underline;
}
