/********** Template CSS **********/
:root {
    --primary: #348E38;
    --secondary: #525368;
    --light: #E8F5E9;
    --dark: #0F4229;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 30px;
    z-index: 99;
}

.floating-button {
    position: fixed;
    bottom: 90px;
    right: 32px;
    color: #fff;
    padding: 10px 20px;
    border-radius: 50%;
    font-size: 24px;
    text-align: center;
    cursor: pointer;
    z-index: 1000;
    width: 48px;
    height: 48px;
}

h1,
.h1,
h2,
.h2,
.fw-bold {
    font-weight: 700 !important;
}

h3,
.h3,
h4,
.h4,
.fw-medium {
    font-weight: 600 !important;
}

h5,
.h5,
h6,
.h6,
.fw-semi-bold {
    font-weight: 500 !important;
}


/*** 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(--light);
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}


/*** Navbar ***/
.navbar.sticky-top {
    top: -100px;
    transition: .5s;
}

.navbar .navbar-brand,
.navbar a.btn {
    height: 90px;
    
}

.navbar .navbar-nav .nav-link {
    margin-right: 35px;
    margin-top: 10px;
    padding: 25px 0;
    color: var(--dark);
    font-size: 18px;
    font-weight: 700;
    outline: none;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--primary);
}

.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 {
        border-top: 1px solid #EEEEEE;
    }
}

@media (min-width: 992px) {
    .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 ***/
.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    /* background: rgba(55 59 57 / 60%); */
    z-index: 1;
}

.carousel-control-prev,
.carousel-control-next {
    width: 15%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 3rem;
    background-color: var(--primary);
    border: 10px solid var(--primary);
}

@media (max-width: 768px) {
    #header-carousel .carousel-item {
        position: relative;
        min-height: 450px;
    }

    #header-carousel .carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

.page-header {
    background: linear-gradient(rgba(133 133 133 / 60%), rgba(133 133 133 / 60%)), url(../img/n1.jpg) center center no-repeat;
    background-size: cover;
}

.page-header .breadcrumb-item+.breadcrumb-item::before {
    color: var(--light);
}

.page-header .breadcrumb-item,
.page-header .breadcrumb-item a {
    font-size: 18px;
    color: var(--light);
}


/*** Top Feature ***/
@media (min-width: 991.98px) {
    .top-feature {
        position: relative;
        margin-top: -80px;
        z-index: 1;
    }
}


/*** Facts & Quote ***/
.facts,
.quote {
    background: rgba(15, 66, 41, .6);
}


/*** Service ***/
.service-item {
    position: relative;
    text-align: center;
}

.service-item .service-img {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    overflow: hidden;
    z-index: -1;
}

.service-item .service-img img {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    object-fit: cover;
    transform: scale(1.2);
    transition: .3s;
    z-index: -1;
}

.service-item:hover .service-img img {
    transform: scale(1);
}

.service-item .service-text {
    background: #FFFFFF;
    box-shadow: 0 0 45px rgba(0, 0, 0, .08);
    transition: .3s;
}

.service-item:hover .service-text {
    background: rgba(15, 66, 41, .6);
}

.service-item .service-text h4,
.service-item .service-text p {
    transition: .3;
}

.service-item:hover .service-text h4 {
    color: #FFFFFF;
}

.service-item:hover .service-text p {
    color: var(--light);
}

.service-item .service-text .btn-square {
    width: 100px;
    height: 100px;
    background: transparent;
    transition: .5s;
}

.service-item:hover .service-text .btn-square {
    background: var(--light);
}

.service-item .service-text .btn {
    width: 31px;
    height: 31px;
    display: inline-flex;
    align-items: center;
    color: var(--dark);
    background: var(--light);
    white-space: nowrap;
    overflow: hidden;
    transition: .3s;
}

.service-item:hover .service-text .btn {
    width: 112px;
}


/*** Project Portfolio ***/
#portfolio-flters {
    display: inline-block;
    background: var(--light);
    padding: 10px 15px;
}

#portfolio-flters li {
    display: inline-block;
    font-weight: 500;
    color: var(--primary);
    cursor: pointer;
    transition: .5s;
    border-bottom: 2px solid transparent;
}

#portfolio-flters li:hover,
#portfolio-flters li.active {
    color: var(--dark);
    border-color: var(--dark);
}

.portfolio-inner {
    position: relative;
    overflow: hidden;
}

.portfolio-inner::before,
.portfolio-inner::after {
    position: absolute;
    content: "";
    width: 0;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(15, 66, 41, .6);
    transition: .5s;
}

.portfolio-inner::after {
    left: auto;
    right: 0;
}

.portfolio-inner:hover::before,
.portfolio-inner:hover::after {
    width: 50%;
}

.portfolio-inner .portfolio-text {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: .5s;
    z-index: 3;
    opacity: 0;
}

.portfolio-inner:hover .portfolio-text {
    transition-delay: .3s;
    opacity: 1;
}

.portfolio-inner .portfolio-text .btn {
    background: var(--light);
    color: var(--primary);
}

.portfolio-inner .portfolio-text .btn:hover {
    background: var(--primary);
    color: var(--light);
}


/*** Team ***/
.team-item {
    position: relative;
    overflow: hidden;
}

.team-item .team-text {
    position: absolute;
    width: calc(100% - 45px);
    left: -100%;
    bottom: 45px;
    padding: 1.5rem;
    background: #FFFFFF;
    border-radius: 0 4px 4px 0;
    opacity: 0;
    transition: .5s;
}

.team-item:hover .team-text {
    left: 0;
    opacity: 1;
}

.team-item .team-social .btn {
    background: var(--light);
    color: var(--primary);
}

.team-item .team-social .btn:hover {
    background: var(--primary);
    color: var(--light);
}

.team-item .team-img .team-social {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: .5s;
    z-index: 3;
    opacity: 0;
}

.team-item:hover .team-img .team-social {
    transition-delay: .3s;
    opacity: 1;
}


/*** Testimonial ***/

.testimonial-carousel .owl-item img {
    width: 100px;
    height: 100px;
}

.testimonial-carousel .owl-nav {
    margin-top: 30px;
    display: flex;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    margin-right: 15px;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    background: var(--light);
    border-radius: 4px;
    font-size: 22px;
    transition: .5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    background: var(--primary);
    color: var(--light);
}


/*** Footer ***/
.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: var(--light);
    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;
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    color: var(--primary);
    letter-spacing: 1px;
    box-shadow: none;
}

.copyright {
    color: var(--light);
    background: #072A19;
}

.copyright a {
    color: #FFFFFF;
}

.copyright a:hover {
    color: var(--primary);
}

/*****New add in home pg aboutus photos*****/
* {
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
    box-sizing: border-box;
}

.landing {
    display: flex;
    justify-content: space-around;
    align-items: center;
    width: 100%;
    height: 100vh;
    padding: 0 0.5rem;
}

.distortion {
    height: 400px;
    width: 600px;
}

.distortion canvas {
    height: 100%;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute
}

.intro {
    align-self: center;
}

.intro h2 {
    font-size: 3rem;
}

.intro p {
    font-size: 1.5rem;
}

@media screen and (max-width: 768px) {
    .landing {
        display: flex;
        flex-direction: column;
    }

    canvas {
        width: 370px !important;
        height: 600px !important;
        object-fit: contain;
    }
}

@media screen and (max-width: 480px) {
    .distortion {
        height: auto;
        width: 100%;
    }
}

/****about 1****/
* {
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
    box-sizing: border-box;
}

.landing {
    display: flex;
    justify-content: space-around;
    align-items: center;
    width: 100%;
    height: 100vh;
    padding: 0 0.5rem;
}

.distortion1 {
    height: 400px;
    width: 600px;
}

.distortion1 canvas {
    height: 100%;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute
}

.intro {
    align-self: center;
}

.intro h2 {
    font-size: 3rem;
}

.intro p {
    font-size: 1.5rem;
}

@media screen and (max-width: 768px) {
    .landing {
        display: flex;
        flex-direction: column;
    }

    canvas {
        width: 370px !important;
        height: 600px !important;
        object-fit: contain;
    }
}

@media screen and (max-width: 480px) {
    .distortion1 {
        height: auto;
        width: 100%;
    }
}

/****about 2****/
* {
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
    box-sizing: border-box;
}

.landing {
    display: flex;
    justify-content: space-around;
    align-items: center;
    width: 100%;
    height: 100vh;
    padding: 0 0.5rem;
}

.distortion2 {
    height: 400px;
    width: 600px;
}

.distortion2 canvas {
    height: 100%;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute
}

.intro {
    align-self: center;
}

.intro h2 {
    font-size: 3rem;
}

.intro p {
    font-size: 1.5rem;
}

@media screen and (max-width: 768px) {
    .landing {
        display: flex;
        flex-direction: column;
    }

    canvas {
        width: 370px !important;
        height: 600px !important;
        object-fit: contain;
    }
}

@media screen and (max-width: 480px) {
    .distortion2 {
        height: auto;
        width: 100%;
    }
}

/***tretment***/
@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@100;300;400;500;700;900&display=swap");

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.slider {
    width: 100%;
    height: 100vh;
}

.slider .controls {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
    z-index: 2;
    margin-top: 500px;
}

.slider .controls>div {
    position: absolute;
    width: 50px;
    height: 50px;
    text-align: center;
    line-height: 50px;
    font-size: 2rem;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
}

.slider .controls>.up:active {
    transform: translateY(-10px);
}

.slider .controls>.down:active {
    transform: translateY(10px);
}

.slider .controls>.up {
    top: 0px;
    right: 0px;
    background: #fff;
    color: #111;
    border-radius: 0 5px 5px 0;
}

.slider .controls>.down {
    bottom: 0px;
    left: 0px;
    background: linear-gradient(#0cba40, #0F4229);
    color: #fff;
    border-radius: 5px 0 0 5px;
}

.slider .wrapper {
    width: 100%;
    height: 100%;
    display: flex;
}

.slider .wrapper .left,
.slider .wrapper .right {
    width: 50%;
    overflow: hidden;
}

.slider .wrapper .left>div,
.slider .wrapper .right>div {
    width: 100%;
    height: 100%;
    transition: all 0.5s ease-in-out;
}

.slider .wrapper .left>div {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0px 90px 0px 40px;
}

.slider .wrapper .left>div h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 25px;
    background: -webkit-linear-gradient(90deg, #0cba40, #0F4229);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}

.slider .wrapper .left>div p {
    font-size: 1.125rem;
    font-weight: 300;
    line-height: 25px;
    color: #555;
    text-align: justify;
}

.slider .wrapper .right>div img {
    width: 100%;
    height: 100%;
    object-fit: obtain;
}

.slider .wrapper .right div:nth-child(1) {
    margin-top: -400vh;
}

/* Video container for banner */

/* Style the video container */
.video-container123 {
    position: relative;
    overflow: hidden;
    width: 100%;
    max-height: 675px;
    /* Adjust the height as needed */
}

/* Style the video to cover the container */
video {
    width: 100%;
    height: auto;
}


/*****home pg aboutus img*****/
/*.slideshow-container {
    max-width: 400px;
    position: relative;
    margin: 0 auto;
}

.slide {
    display: none;
    animation-duration: 3s;
}

.ab-img {
    height: 400px;
    width: 600px;
}



.slide:nth-child(1) {
    animation-name: fade;
}

.slide:nth-child(2) {
    animation-name: rotateIn;
}

.slide:nth-child(3) {
    animation-name: bounce;
}

.slide:nth-child(4) {
    animation-name: zoom;
}

@keyframes fade {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes rotateIn {
    from {
        transform: rotate(90deg);
    }

    to {
        transform: rotate(0);
    }
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-30px);
    }
}

@keyframes zoom {
    from {
        transform: scale(0);
    }

    to {
        transform: scale(1);
    }
*/
.slideshow-container {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}
.mySlides {
    display: none;
}

.ab-img {
    height: 400px;
    width: 600px;
}

@media (max-width: 600px) {
    .slideshow-container {
        max-width: 100%;
    }

    .ab-img {
        max-width: 100%;
        height: auto;
    }
}

/* Add animation here */
.mySlides {
    animation: slide 5s infinite;
}


@keyframes slide {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-30px);
    }
}
.logo {
    height: 100px;
    width: 100px;
    padding: 15px;
}

 
  .tagline {
    
    /*font-family: 'Cedarville Cursive', cursive;*/
    /*font-family: 'Playball', cursive;*/
    font-family: 'Brush Script MT';	
		font-size: 36px;	
        text-align: left;
        color: #072A19;
       
       
  }
  .clinic-info {
    text-align: left;
}

.clinic-name {
    font-size: 24px;
    font-weight: bold;
}
.span {
    flex: 0 0 auto;
    width: 58.33333%;
    font-weight: 600;
}

/* Media Query for tablets */
@media (max-width: 768px) {
    .tagline {
        font-size: 25px; /* Adjust font size for smaller screens */
    }
    .clinic-name {
        font-size: 18px; /* Adjust font size for smaller screens */
    }
}

/* Media Query for phones */
@media (max-width: 576px) {
    .tagline {
        font-size: 20px; /* Further reduce font size for smaller screens */
    }
    .clinic-name {
        font-size: 12px; /* Further reduce font size for smaller screens */
    }
}

/*********about page img animation effect**************/
/* Animation: Bounce */
.Bounce {
    animation: bounce 2s ease-in-out infinite;
  }
  
  @keyframes bounce {
    0%, 100% {
      transform: translateY(0);
    }
    50% {
      transform: translateY(-20px);
    }
  }
  


  /*******tretment pahe 2 ********/
  .carousel-container {
    position: relative;
}

.carousel-item img {
    width: 100%;
    height: auto;
}

.carousel-control-prev,
.carousel-control-next {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    background: green;
    border-radius: 4px;
    font-size: 22px;
    position: absolute;
    margin-top: 33%;
    bottom: 10px;
    opacity: 0.7; /* Adjust the opacity as desired */
    transition: opacity 0.3s ease;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    opacity: 1;
}

.carousel-control-prev {
    left:30%;
}

.carousel-control-next {
    right: 30%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    color: rgb(0, 0, 0);
    /* Change the color of the icon to white */
}

h2 {
    background: -webkit-linear-gradient(90deg, #0cba40, #0F4229);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}

/* Responsive styles */
@media (max-width: 568px) {
.carousel-control-prev,
.carousel-control-next {

margin-top:180%;
}
}