<?php include 'header.php';?>

<style>
ul {
    margin-left: 0px;
    list-style: none;
}
.speaker-block-three {
     margin-right: 0px; 
}
#search-bar {
    padding: 6px 20px 6px 44px;
}
.breadcrumb {
    margin-left: auto;
    margin-right: auto;
    display: inline-flex;
    font-weight: 400;
}
.breadcrumb .breadcrumb-item a {
    z-index: 999999999999;
    position: relative;
    color: #c6c6c6;
}
.breadcrumb .breadcrumb-item {
    color: #c6c6c6;
    z-index: 999;
}
ul#pills-tab {
    transform: translate(0%, 0%);
}
.nav-pills .nav-link {
    background: #a3a3a300;
}
.nav-pills .nav-link:hover {
    background: #a3a3a300;
}


/*.wrapper {*/
/*  width: 60%;*/
/*}*/

.cnttt {
      background-color: #ebebeb;
    color: #000;
    border-radius: 9px;
    /* box-shadow: 0 5px 10px 0 rgb(0, 0, 0, 0.25); */
    margin-bottom: 20px;

}

.question {
  /*font-size: 1.2rem;*/
  font-weight: 600;
  padding: 20px 80px 20px 20px;
  position: relative;
  display: flex;
  align-items: center;
  cursor: pointer;
}

.question::after {
  content: "\002B";
  font-size: 2.2rem;
  position: absolute;
  right: 20px;
  transition: 0.2s;
}

.question.active::after {
  transform: rotate(45deg);
}

.answercont {
  max-height: 0;
  overflow: hidden;
  transition: 0.3s;
}

.answer {
  padding: 0 20px 20px;
  line-height: 1.5rem;
}

.question.active + .answercont {
}

/*@media screen and (max-width: 790px){*/
/*  html {*/
/*    font-size: 14px;*/
/*  }*/
/*  .wrapper {*/
/*  width: 80%;*/
/*}*/
/*}*/

.cicrimg {
    margin-bottom: -28%;
    width: 54%;
    margin-top: 6%;
}
.buildh3 {
    font-size: 24px;
    width: 24%;
}
.buildimg {
    height: 450px;
}


/*.wrapper {*/
/*  margin: 2% auto 0 auto;*/
/*  max-width: 700px;*/
/*  font-family: 'Source Sans Pro', sans-serif;*/
/*}*/

.print-tab {
  margin-bottom: 3em;
	width: 100%;
	/*box-shadow: 0px 0px 5px -1px rgba(0,0,0,0.62);*/
	overflow: hidden;
	   /* border-top-right-radius: 15px;*/
    /*border-top-left-radius: 15px;*/
        /*border: 1px solid #193778;*/
}
	
.print-tab ul.print-tab-menu {
	/*width: 85%;*/
	overflow: hidden;
	overflow-x: auto;
  white-space: nowrap;
      margin-bottom: 3%;
          margin-left: auto;
    margin-right: auto;
	    border: 1px solid #193778;
    border-radius: 15px;
    height: 52px;
    /*border-bottom: 1px solid #193778;*/
}
	
.print-tab ul.print-tab-menu > li {
	position: relative;
	/*margin: 0 -0.2em 0 0;*/
	display: inline-block;
	cursor: pointer;
}

.print-tab ul.print-tab-menu > li.active {
	/*border-top: 3px solid red;*/
	background: #193778;
	/*box-shadow: rgba(0, 0, 0, 0.14902) 0px -2px 3px 0px;*/
	z-index: 2;
	border-radius: 15px;
	color: #fff!important;
}

.print-tab ul.print-tab-menu > li > a {
	display: block;
  min-width: 177px; 
	/*max-width: 300px;*/
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
	/*color: #818181;*/
	/*font-size: 15px;*/
	line-height: 51px;
	text-align: center;
	 font-weight: 600;
}

.print-tab .print-tab-content > div {
	margin-top: -3px;
	position: relative;
	/*padding: 5px 25px;*/
	display: none;
	/*background: #fff;*/
	/*box-shadow: rgba(0, 0, 0, 0.298039) 1px 0px 10px 1px;*/
}

.print-tab .print-tab-content > div.view {
	display: block;
	width: 100%;
	min-height: 200px;
}

.print-tab .print-tab-content > div p {
    display: block;
    text-align: justify;
}
/*.print-tab-content {*/
/*    border: 1px solid;*/
/*}*/
.speaker-block-three .inner-box {
    margin: 0 30px;
}

.breadcrumb .breadcrumb-item {
    color: #fff;
}
.breadcrumb .breadcrumb-item a {
    color: #fff;
}

.first-div::after {
    mix-blend-mode: multiply;
    background: #5a5a5a;
}
.speaker-block-three .image-box:before {
    border-radius: 27px;
}


.speaker-block-three .image-box {
    padding: 50px 0 60px;
}
.speaker-block-three {
    border-radius: 15px;
}
.speaker-block-three .inner-box {
    /*background: #fff;*/
}
.speaker-block-three .inner-box:hover .social-box {
    transform: translateX(23px);
}
.banapp {
    width: 100%;
        background-color: #fff;
    color: #193778 !important;
}
.drnamebtm h4 {
    text-align: center;
    margin-top: 15px;
    margin-bottom: 4px;
    font-size: 20px;
    font-weight: 600;
}
.drnamebtm p {
    text-align: center!important;
}
.speaker-block-three .inner-box {
    height: auto;
}
.carousel-control-prev {
    left: -10%;
}
.carousel-control-next {
    right: -10%;
}
.otherfot {
    display: none;
}
.footwht {
    position: relative;
    padding: 100px 0px 220px 0px;
}
.whitefoot {
    top: -55px;
}
.blckfootpd {
    padding: 0px 0px 45px;
}
.ttm-page-title-row-inner {
    padding: 85px 0;
}



.redcls {
    display: block;
    width: 100%;
    height: auto;
    background-size: cover;
    background-repeat: no-repeat;
    height: 294px;
    border-radius: 10px;
}
.redcls:hover {
    background-color: #193778;
    background-blend-mode: multiply;
    background-repeat: no-repeat;
    background-size: cover;
    height: 294px;
    content: 'test';
    border-radius: 10px !important;
}



.splogopacity {
    mix-blend-mode: multiply;
    /* position: absolute; */
    opacity: 0.9;
    z-index: 1;
    right: 0px;
    width: 122px;
    bottom: 0;
    float: right;
    margin-top: -51%;
    z-index: 99999999;
    position: relative;

}

.whtboxpadd h4 {
    font-size: 19px;
}
.whtboxpadd {
    padding: 36px 25px!important;
    
}
.whtbox:hover {
    background: #d81159;
    color: #fff;
}
.floatrg {
    color: #193778 !important;
}
.greybck {
    background-color: #efefef;
}
.ttm-page-title-row {
    background: url(https://htiwebs.com/holyfamily/holyfamilypages/images/banner.webp);
        margin-left: auto;
    margin-right: auto;
    background-position: center !important;
    background-size: cover !important;
    background-repeat: no-repeat !important;
    background-attachment: scroll !important;
    
}


</style>


        <div class="ttm-page-title-row first-div">
            <div class="ttm-page-title-row-inner ttm-bgcolor-darkgrey">
                <div class="container">
                    <div class="row align-items-center">
                        <div class="col-lg-12">
                            <div class="page-title-heading">
                                 <h3 class="center hdwdth" style="z-index: 999;position: relative;color:#fff;"><span style="color:#fff;">Heart & Vascular   </span> Sciences</h3>
                                <!--<h2 class="title">Pediatric Cardiology</h2>-->
                            </div>
                            <ol class="breadcrumb mb-0">
                                <li class="breadcrumb-item"><a href="#"> Home</a></li>
                                <li class="breadcrumb-item"> <i class="fas fa-chevron-right"></i> <a href="#"> Specialites </a></li>
                                <li class="breadcrumb-item active"> <i class="fas fa-chevron-right"></i> <span>Heart & Vascular Sciences</span></li>
                            </ol>
                        </div>
                    </div>
                </div>
            </div>                    
        </div>

  
        
        <section style="padding: 60px 0px 100px 0px;">
            
            <div class="container">
                <div class="wrapper">
                    <div class="print-tab" data-tab-id="1">
                        <ul class="print-tab-menu">
                            <li data-tab-menu="Overview"><a>Overview</a></li>
                            <li data-tab-menu="Conditions"><a>Conditions</a></li>
                            <li data-tab-menu="Subspecialities"><a>Sub Specialities</a></li>
                            <li data-tab-menu="Specialityclinics"><a>Speciality Clinics</a></li>
                            <li data-tab-menu="Technology"><a>Technology</a></li>
                            <li data-tab-menu="Doctors"><a>Doctors</a></li>
                            <li data-tab-menu="FAQs"><a>FAQs</a></li>
                        </ul>
                        <div class="print-tab-content">
                            <div data-tab-content="Overview">
                                <div class="row">
                    <div class="col-md-8">
                        <p>Your heart and blood vessels are at the centre of your wellbeing. They supply oxygen, energy, and life itself to every organ in your body. When something goes wrong — whether it’s chest discomfort, irregular heartbeat or high blood pressure — it can be quite overwhelming. That’s why we at Holy Family Hospital, the leading Cardiology Care Department in Mumbai, pride ourselves in our Heart & Vascular Sciences: we it focus on meticulously protecting, repairing, and strengthening the heart that keeps you alive and active. </p>
                        <p>At Holy Family Hospital, we see cardiology not just as a specialty but as a responsibility. We are here to restore confidence, reduce fear, and ensure that every patient feels cared for at every stage of their journey. </p>
               
                    </div>
                    <div class="col-md-4">
                        <img src="images/banner-sp.webp" class="img100 mb-30" style="border-radius: 20px;">
                    </div>
                </div>
                            </div>
                            <div data-tab-content="Conditions">
                                <div class="row bulletli">
                    <p>Our Cardiac Care team at Holy Family Hospital takes care of all kinds of heart and vascular problems, from preventive heart health to dealing with cardiac emergencies. We use a multidisciplinary approach to treat heart conditions with advanced diagnostic tools our and expert cardiologists.  With timely interventions, precise treatments, and compassionate, continuous care for every heart we heal, Holy Family has been one of Mumbai's best heart hospitals for more than 30 years. </p>
                    <ul>
                        <li><b>Heart Attack: </b>Myocardial infarction, commonly known as a heart attack, is an injury to a part of the heart caused by a lack of blood flow. </li>
                        <li><b>Heart Failure: </b>This is a chronic condition in which the heart is unable to pump blood efficiently, leading to fatigue, breathlessness, and fluid accumulation. Early diagnosis and modern therapies available at Holy Family Hospital, Mumbai, help in improving the functioning of the heart and overall well-being. </li>
                        <li><b>Cardiomyopathy: </b>A disease of the heart muscle that can make it harder for the heart to pump blood to the rest of the body. It may be inherited or develop due to other cardiac or systemic conditions.</li>
                        <li><b>Arrhythmia: </b>Irregular or abnormal heart rhythms, palpitations, dizzy, and even fainting. Their treatment could include taking medications, inserting pacemakers, and advanced electrophysiological procedures. </li>
                        <li><b>Congenital heart disease: </b>Refers to structural abnormalities of the heart at birth. Possibly surgical or catheter-based intervention needed. </li>
                        <li><b>Coronary Artery Disease: </b>The most common form of heart disease. Coronary artery disease includes narrowing or blockage of the arteries supplying blood to the heart, restricting the supply of oxygen and increasing chances of heart attack. </li>
                        <li><b>Pulmonary Embolism & Deep Vein Thrombosis: </b>DVT is a condition wherein blood clots form in deep veins, usually in the legs. When such clots travel to the lungs, they may cause a pulmonary embolism-a life-threatening emergency that requires immediate medical intervention. </li>
                        <li><b>Hypertension (High Blood Pressure): </b>A chronic elevation in blood pressure which, if left untreated, increases the risk of heart attack, stroke, and kidney disease.  </li>
                        <li><b>Heart Valve Disease: </b>A condition whereby one or more of the heart's valves fail to open or close correctly, leading to symptoms such as fatigue, breathlessness, or chest discomfort.  </li>
                        <li><b>Pericardial Disease: </b>This includes inflammation or fluid accumulation in the pericardium-the protective sac of the heart. It may present with chest pain, palpitations, or shortness of breath, necessitating prompt evaluation by a skilled cardiac expert. </li>
                    </ul>
               
                </div>
                            </div>
                            <div data-tab-content="Subspecialities">
                                <section class="">
                                    <p>Cardiac care at Holy Family Hospital, the best heart institute in Mumbai, brings together leading subspecialties dedicated to complete heart and vascular health. Our best <b>Cardiovascular and thoracic surgeons</b> manage complex heart, lung and major vessel surgeries with exceptional precision. Our leading experienced <b>Interventional cardiologists</b> offer advanced, minimally invasive treatments like angioplasty, stenting and catheter-based procedures. Leading <b>Non-interventional cardiologists </b>at Holy Family Hospital focus on early diagnosis, preventive cardiology, medical management, and long-term monitoring. Together, these top heart specialists in Mumbai provide the most comprehensive and patient-focused cardiac care at Holy Family Hospital.</p>
            <div class="animated fadeIn" data-animation="fadeIn">
                <div class="row animation-group">
                    <div class="col-md-4">
                        <div class="whtbox" data-animation="fadeInLeft">
                            <div class="whtboxpadd">
                                <!--<div class="colorb">-->
                                <!--<a href="">-->
                                <h4><b>Non-Interventional </b> <br>Cardiology</h4>
                                <p>Our Non-Interventional Cardiology Unit focuses on the use of pain-free, state-of-the-art techniques in the...</p>
                                <a class="floatrg" href="non-interventional-cardiology.php" tabindex="0"><b>Read more</b> <i class="fa fa-arrow-right"></i></a>
                                <!--</a>-->
                                <!--</div>-->
                            </div>
                            <img src="images/logobox.webp" class="splogopacity">
                        </div>
                    </div>
                    <div class="col-md-4">
                        <div class="whtbox" data-animation="fadeInLeft">
                            <div class="whtboxpadd">
                                <h4><b>Interventional  </b> <br>Cardiology</h4>
                                <p>Our Interventional Cardiology Unit at Holy Family Hospital is known for minimally invasive and surgical... </p>
                                <a class="floatrg" href="interventional-cardiology.php" tabindex="0"><b>Read more</b> <i class="fa fa-arrow-right"></i></a>
                            </div>
                            <img src="images/logobox.webp" class="splogopacity">
                        </div>
                    </div>
                    <div class="col-md-4">
                        <div class="whtbox" data-animation="fadeInLeft">
                            <div class="whtboxpadd">
                                <h4><b>Best Cardiovascular </b> <br>Thoracic Surgery </h4>
                                <p>Our leading thoracic and cardiovascular specialists at Holy Family Hospital provide extensive treatment for...</p>
                                <a class="floatrg" href="best-cardiovascular-thoracic-surgery.php" tabindex="0"><b>Read more</b> <i class="fa fa-arrow-right"></i></a>
                            </div>
                            <img src="images/logobox.webp" class="splogopacity">
                        </div>
                    </div>
                </div>
            </div>
        </section>
                            </div>
                            <div data-tab-content="Specialityclinics">
                                <div class="row bulletli">
                    <p>At Holy Family Hospital, Mumbai, our Heart and Vascular Sciences Department combines advanced technology with the expertise of the best cardiologists in Mumbai. Through specialized clinics for arrhythmia, heart failure, and structural heart care, we offer precise diagnosis, advanced treatment, and compassionate, multidisciplinary cardiac care for faster recovery and lasting heart health. </p>
                    <ul>
                        <li><b>Arrhythmia Clinic: </b><b>At Holy Family Hospital, Mumbai </b>our Arrhythmia Clinic focuses on accurate diagnosis and individualized treatment of heart rhythm disorders. An arrhythmia is an abnormal heart rhythm caused by concerns in the heart’s electrical system, which can make the heart beat too fast, too slow or irregularly. </li>
                        <li><b>Heart Failure Clinic: </b>Heart failure occurs when your heart cannot pump enough blood for the body’s needs resulting in poor supply of oxygen and nutrients to the body’s tissues. Our Heart Failure Clinic at  Holy Family Hospital provides precise diagnosis and careful ongoing management for patients with acute or chronic heart failure, from mild to advanced disease. </li>
                        <li><b>Structural Heart Clinic: </b>Our Structural Heart Clinic at Holy Family Hospital, Mumbai provides comprehensive evaluation and treatment for structural heart diseases. Structural heart disease refers to issues with the valves, walls, or chambers of the heart which affects how blood flows through the heart.  </li>
                    </ul>
                </div>
                            </div>
                            <div data-tab-content="Technology">
                                <div class="row bulletli">
                    <p><b>Hybrid Cath Lab: </b>The Holy Family Hospital proudly hosts Mumbai's first and India's third Hybrid Cath Lab, a state-of-the-art facility integrating the functions of a cardiac catheterization lab along with those of an operating theatre. This enables performing cardiac interventions and surgeries in the same suite without the need for transferring critically ill patients from one department to another, thereby saving precious time. </p>
                </div>
                            </div>
                            
       
                        </div>
                        
                       
                    </div>
  
                </div>
            </div>

            <div class="auto-container">
                 <section class="ptb-100 greybck" id="Doctors">
            <div class="container animated fadeIn" data-animation="fadeIn">
                <h3 class="center hdwdth animated slideInDown" data-animation="slideInDown" data-animation-delay=".5s"><span>Our  </span> Doctors</h3>
                <p class="supportivetext">Meet our heart specialists who provide advanced across Heart and Vascular Comcerns, ensuring comprehensive support throughout every step of your cardiac treatment. </p>
                <div class="row mtop-4">
                    <div id="carouselExampleDark" class="carousel carousel-dark slide" data-bs-ride="carousel">
                        <div class="carousel-inner">
                            <div class="carousel-item active" data-bs-interval="10000">
                                <div class="row">
                                    <div class="speaker-block-three col-xl-3 col-lg-4 col-md-6 col-sm-12 wow fadeInUp">
                                        <div class="inner-box">
                                            <!--<div class="image-box">-->
                                            <!--    <figure class="image"></figure>-->
                                                
                                            <!--</div>-->
                                            <div class="redcls" style="background-image: url(https://htiwebs.com/holyfamily/holyfamilypages/images/dr_brian_pinto.webp);">
                                                <a href="#"></a>
                                            </div>
                                            <div class="drnamebtm">
                                                <h4 class="name"><a href="#">Dr. Brian Pinto</a></h4>
                                                <p>MD, DM, FACC (Cardiology)</p>
                                            </div>
                                            <div class="social-box">
                                                <ul class="social-links social-icon-colored">
                                                    <li><a href="doctor-detail.php"><button class="banapp">View Profile</button></a></li>
                                                    <li><a href="#"><button class="banapp">Book An Appointment</button></a></li>
                                                    <li><a href="#"><button class="banapp">Video Consultation</button></a></li>
                                                </ul>
                                            </div>
                                        </div>
                                    </div>
                                    <div class="speaker-block-three col-xl-3 col-lg-4 col-md-6 col-sm-12 wow fadeInUp">
                                        <div class="inner-box">
                                            <div class="redcls" style="background-image: url(https://htiwebs.com/holyfamily/holyfamilypages/images/dr_anand_rao.webp);">
                                                <a href="#"></a>
                                            </div>
                                            <div class="drnamebtm">
                                                <h4 class="name"><a href="#">Dr. Anand Rao</a></h4>
                                                <p>MD, DM, FSCAI (Interventional cardiologist)</p>
                                            </div>
                                            <div class="social-box">
                                                <ul class="social-links social-icon-colored">
                                                    <li><a href="doctor-detail.php"><button class="banapp">View Profile</button></a></li>
                                                    <li><a href="#"><button class="banapp">Book An Appointment</button></a></li>
                                                    <li><a href="#"><button class="banapp">Video Consultation</button></a></li>
                                                </ul>
                                            </div>
                                        </div>
                                    </div>
                                    <div class="speaker-block-three col-xl-3 col-lg-4 col-md-6 col-sm-12 wow fadeInUp">
                                        <div class="inner-box">
                                            <div class="redcls" style="background-image: url(https://htiwebs.com/holyfamily/holyfamilypages/images/dr_kunal_sinkar.webp);">
                                                <a href="#"></a>
                                            </div>
                                            <div class="drnamebtm">
                                                <h4 class="name"><a href="#">Dr. Kunal Praful Sinkar</a></h4>
                                                <p>MBBS, DNB (Medicine), MNAMS, DNB (Cardiology)</p>
                                            </div>
                                            <div class="social-box">
                                                <ul class="social-links social-icon-colored">
                                                    <li><a href="doctor-detail.php"><button class="banapp">View Profile</button></a></li>
                                                    <li><a href="#"><button class="banapp">Book An Appointment</button></a></li>
                                                    <li><a href="#"><button class="banapp">Video Consultation</button></a></li>
                                                </ul>
                                            </div>
                                        </div>
                                    </div>
                                    <div class="speaker-block-three col-xl-3 col-lg-4 col-md-6 col-sm-12 wow fadeInUp">
                                        <div class="inner-box">
                                            <div class="redcls" style="background-image: url(https://htiwebs.com/holyfamily/holyfamilypages/images/Dr-Pradeep.webp);">
                                                <a href="#"></a>
                                            </div>
                                            <div class="drnamebtm">
                                                <h4 class="name"><a href="#">Dr. Pradeep K. Hasija</a></h4>
                                                <p>MD, DM (Cardiology), AIIMS</p>
                                            </div>
                                            <div class="social-box">
                                                <ul class="social-links social-icon-colored">
                                                    <li><a href="doctor-detail.php"><button class="banapp">View Profile</button></a></li>
                                                    <li><a href="#"><button class="banapp">Book An Appointment</button></a></li>
                                                    <li><a href="#"><button class="banapp">Video Consultation</button></a></li>
                                                </ul>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </div>
                            <!--<div class="carousel-item" data-bs-interval="2000">-->
                            <!--    <div class="row">-->
                            <!--        <div class="speaker-block-three col-xl-3 col-lg-4 col-md-6 col-sm-12 wow fadeInUp">-->
                            <!--            <div class="inner-box">-->
                            <!--                <div class="image-box">-->
                            <!--                    <figure class="image"></figure>-->
                            <!--                </div>-->
                            <!--                <div class="info-box">-->
                            <!--                    <h4 class="name"><a href="#">Dr. Lorem Ipsum</a></h4>-->
                            <!--                    <span class="designation">Orthopaedics</span>-->
                            <!--                </div>-->
                            <!--                <div class="social-box">-->
                            <!--                    <ul class="social-links social-icon-colored">-->
                            <!--                        <li><a href="doctor-detail.php"><button class="banapp">View Profile</button></a></li>-->
                            <!--                        <li><a href="#"><button class="banapp">Book An Appointment</button></a></li>-->
                            <!--                        <li><a href="#"><button class="banapp">Video Consultation</button></a></li>-->
                            <!--                    </ul>-->
                            <!--                </div>-->
                            <!--            </div>-->
                            <!--        </div>-->
                            <!--    </div>-->
                            <!--</div>-->
                                                            
                                                        </div>
                                                        <button class="carousel-control-prev" type="button" data-bs-target="#carouselExampleDark" data-bs-slide="prev">
                                                            <span class="carousel-control-prev-icon" aria-hidden="true"></span>
                                                            <span class="visually-hidden">Previous</span>
                                                        </button>
                                                        <button class="carousel-control-next" type="button" data-bs-target="#carouselExampleDark" data-bs-slide="next">
                                                            <span class="carousel-control-next-icon" aria-hidden="true"></span>
                                                            <span class="visually-hidden">Next</span>
                                                        </button>
                                                        
                                                    </div>
                </div>
            </div>
        </section>
        
        
        <section id="FAQs" style="padding: 100px 0px 0px 0px;">
            <div class="wrapper">
                <h3 class="center hdwdth animated slideInDown" data-animation="slideInDown" data-animation-delay=".5s"><span>FAQs  </span> </h3>
                <p class="supportivetext">Access clinically accurate answers to the most frequently asked questions by patients regarding Heart and Vascular Sciences, designed to support patients make informed decisions.</p>

        <div class="container cnttt mtop-4">
            <div class="question">Which is the best cardiac hospital in Mumbai?</div>
            <div class="answercont">
                <div class="answer">
                    Holy Family Hospital, Mumbai, has emerged as the best cardiac hospitals in Mumbai, offering excellent cardiac surgery, interventional cardiology, and emergency heart care with the assistance of leading cardiologists and high-tech technology. 
                </div>
            </div>
        </div>
  
        <div class="container cnttt">
            <div class="question">What makes Holy Family Hospital the best cardiology hospital in Mumbai?</div>
            <div class="answercont">
                <div class="answer">
                    Holy Family Hospital, Mumbai, blends its best medical expertise with state-of-the-art infrastructure to serve as the premier cardiology hospital in Mumbai for diagnosis, treatment, and long-term cardiac rehabilitation since 80+ years. 
                </div>
            </div>
        </div>
        
        <div class="container cnttt">
            <div class="question">Who are the best cardiac surgeons in Mumbai?  </div>
            <div class="answercont">
                <div class="answer">
                    Some of the best cardiac surgeons of Mumbai provide critical heart surgeries at Holy Family Hospital, Mumbai, including bypass surgery (CABG), valve repair and replacement, aortic surgeries with exceptional precision and results. 
                </div>
            </div>
        </div>
        
        <div class="container cnttt">
            <div class="question">Where can I get the safest heart surgery in Mumbai?  </div>
            <div class="answercont">
                <div class="answer">
                    Holy Family Hospital, Mumbai is one of the most esteemed hospitals for heart surgery in Mumbai with a committed team of cardiothoracic surgeons, dedicated cardiac operation theatres, and NABH-accredited care. 
                </div>
            </div>
        </div>
        
        <div class="container cnttt">
            <div class="question">Which Hospital the most trusted heart care hospital in Mumbai?  </div>
            <div class="answercont">
                <div class="answer">
                    Holy Family Hospital, Mumbai, is rated the finest for cardiac care in the city of Mumbai based on its comprehensive care model, which integrates preventive cardiology, interventional procedures, and post-surgical rehabilitation. 
                </div>
            </div>
        </div>
  
    </div>
        </section>
            </div>
        </section>

 



<!--start footer-->
<footer class="desk">
    <div class="auto-container" style="background: #193778;">
        <div class="container">
            <div class="row footwht">
                <div class="col-md-4">
                    <h3>Patient Care</h3>
                    <a href="#"><p>Book Appointment</p></a>
                    <a href="#"><p>Find a Doctor</p></a>
                    <a href="#"><p>Insurance & TPA</p></a>
                    <a href="#"><p>Tariff and stent Pricing</p></a>
                    <a href="#"><p>Health Check Packages</p></a>
                    <a href="#"><p>Patient Testimonials</p></a>
                    <a href="#"><p>Patient Brochure</p></a>
                    <a href="#"><p>Complaints & Feedback Form</p></a>
                    <a href="#"><p>Floor Directory</p></a>
                </div>
                <div class="col-md-4">
                    <h3>Useful Links</h3>
                    <a href="#"><p>Centers of Excellence</p></a>
                    <a href="#"><p>Corporate & Partnerships</p></a>
                    <a href="#"><p>News & Press Releases</p></a>
                    <a href="#"><p>Download Centre</p></a>
                    <a href="#"><p>Work with us</p></a>
                    <a href="#"><p>Procedures</p></a>
                    <a href="#"><p>About us</p></a>
                    <a href="#"><p>Specialities</p></a>
                </div>
                <div class="col-md-4">
                    <h3>Services</h3>
                    <a href="#"><p>Emergency & Trauma Care</p></a>
                    <a href="#"><p>OPD & IPD</p></a>
                    <a href="#"><p>Diagnostic</p></a>
                    <a href="#"><p>Pharmact(24*7)</p></a>
                    <a href="#"><p>Home Care Services</p></a>
                    <a href="#"><p>Pain Clinic</p></a>
                    <a href="#"><p>Retinal Clinic</p></a>
                    <a href="#"><p>Child & Adolescent Guidance</p></a>
                </div>
            </div>
        </div>
        <!--<img src="images/footer-img.png" class="img100 mt-30">-->
    </div>
    <div class="blackfoot">
        <div class="container">
            <div class="whitefoot">
                <div class="rg">
                    <button class="footbtn">Get appointment </button>
                    <button class="footbtn">24*7 Emergency </button>
                    <button class="footbtn">Get Direction </button>
                </div>
                <div class="row">
                    <div class="col-md-4">
                        <img src="images/logonew.webp" class="logoimg">
                    </div>
                    <div class="col-md-2"></div>
                    <div class="col-md-6">
                        <div class="row">
                            <div class="col-md-6">
                                <div class="row">
                                    <div class="col-md-2">
                                        <i class="fas fa-location fafaicon"></i>
                                        <!--<img src="images/location.png">-->
                                    </div>
                                    <div class="col-md-10 pl0">
                                        <p>St Andrew’s Road,<br>Bandra (West),<br>Mumbai – 400 050. <br>Maharashtra, India.</p>
                                    </div>
                                </div>
                            </div>
                            <div class="col-md-6">
                                <div class="row mb-10">
                                    <div class="col-md-2">
                                        <i class="fa-solid fa-phone fafaicon"></i>
                                        <!--<img src="images/mail.png">-->
                                    </div>
                                    <div class="col-md-10 pl0">
                                        <p>022-62670366</p>
                                    </div>
                                </div>
                                <div class="row pt10">
                                    <div class="col-md-2">
                                        <i class="fa-solid fa-envelope fafaicon"></i>
                                        <!--<img src="images/callfoot.png">-->
                                    </div>
                                    <div class="col-md-10 pl0">
                                        <p>info@holyfamilyhospital.in</p>
                                    </div>
                                </div>
                                <div class="row fllowimg">
                                    <div class="col-md-2"></div>
                                    <div class="col-md-10 pl0 pt-10">
                                        <p><b>Follow us on</b></p>
                                        <i class="fab fa-facebook-f fafaicon"></i>
                                        <i class="fab fa-twitter fafaicon"></i>
                                        <i class="fab fa-instagram fafaicon"></i>
                                        <i class="fa-brands fa-youtube fafaicon"></i>
                                        <i class="fab fa-linkedin-in fafaicon"></i>

                                        <!--<img src="images/facebook.png">-->
                                        <!--<img src="images/twt.png">-->
                                        <!--<img src="images/insta.png">-->
                                        <!--<img src="images/yt.png">-->
                                        <!--<img src="images/ln.png">-->
                                    </div>
                                </div>
                            </div>
                        </div>

                    </div>
                </div>
            </div>
            <div class="row blckfootpd">
                <div class="col-md-9">
                    <p>2025 Holy Family Hospital & Medical Research Center | Designed, Developed by : HashTAGit.</p>
                </div>
                <div class="col-md-3">
                    <p class="fr">Managed by : HashTAGit.</p>
                </div>
            </div>
        </div>
    </div>
</footer>

<!--footer end-->







<!--infrastructure-->
<script>
    document.addEventListener("DOMContentLoaded", function () {
  // Configuration - dynamic based on screen size
  let itemsPerSlide = window.innerWidth < 720 ? 1 : 1;
  const totalItems = document.querySelectorAll(
    ".multi-carousel-item:not(.clone)"
  ).length;
  let slideBy = 1;
  const maxCenterWidth = 700;

  // DOM elements
  const carousel = document.getElementById("multiCarousel");
  const carouselInner = document.getElementById("carouselInner");
  const prevBtn = document.getElementById("prevBtn");
  const nextBtn = document.getElementById("nextBtn");
  const carouselTitle = document.getElementById("carouselTitle");

  // Progress bar and timing variables
  const progressDuration = 10000; // 10 seconds
  let currentSlideStartTime = null;
  let pausedElapsedTime = 0;
  let autoAdvanceTimeout = null;
  let progressAnimationTimeout = null;

  // State variables
  let userHasInteracted = false;
  let isHoverPaused = false;
  let userInactivityTimeout = null;
  let isDragging = false;
  let isInitialized = false; // Flag to track initial setup
  let isFirstLoad = true; // Flag to track first load
  let currentCenterSlideNumber = -1; // Track current center slide number
  let initialLoadComplete = false; // Flag to track if initial load is complete
  let lastDirection = "none"; // Track last navigation direction

  // Function to calculate slide widths based on container width
  function calculateSlideWidths() {
    const containerWidth = carousel.offsetWidth;
    const isMobile = window.innerWidth < 720;
    if (isMobile) {
      document.documentElement.style.setProperty("--slide-width", "100%");
      return { slideWidthPercent: 100, translateOffset: 0 };
    }
    let centerWidthPercent;
    if (containerWidth <= maxCenterWidth) {
      centerWidthPercent = 75;
    } else {
      centerWidthPercent = (maxCenterWidth / containerWidth) * 100;
    }
    document.documentElement.style.setProperty(
      "--slide-width",
      `${centerWidthPercent}%`
    );
    const translateOffset = (100 - centerWidthPercent) / 2;
    return {
      slideWidthPercent: centerWidthPercent,
      translateOffset: translateOffset
    };
  }

  // Function to update configuration based on screen size
  function updateConfig() {
    itemsPerSlide = 1;
    slideBy = 1;
    return calculateSlideWidths();
  }

  // Function to reset all progress bars immediately without flicker
  function resetAllProgressBars() {
    const allProgressBars = document.querySelectorAll(".progress-bar-fill");
    allProgressBars.forEach((progressBar) => {
      progressBar.style.transition = "none";
      progressBar.style.width = "0%";
      void progressBar.offsetWidth; // Force reflow
    });
  }

  // Function to get the slide number (1, 2, 3) from an element
  function getSlideNumber(element) {
    if (!element) return -1;

    const itemNumber = element.querySelector(".item-number");
    if (itemNumber) {
      return parseInt(itemNumber.textContent, 10);
    }

    return -1;
  }

  // Function to reset all slides to default opacity
  function resetAllSlidesOpacity() {
    const allItems = document.querySelectorAll(".multi-carousel-item, .clone");
    allItems.forEach((item) => {
      // Remove any inline opacity styles that might override CSS
      item.style.opacity = "";
      item.classList.remove("center", "fade-in");
    });
  }

  // Function to update center item highlighting with fade-in effect
  function updateCenterItem() {
    const allItems = document.querySelectorAll(".multi-carousel-item, .clone");
    const centerIndex = Math.round(position);

    // Reset all slides first
    resetAllSlidesOpacity();

    if (allItems[centerIndex]) {
      const newCenterItem = allItems[centerIndex];

      // Get the slide number (1, 2, 3)
      const slideNumber = getSlideNumber(newCenterItem);

      // Add center class
      newCenterItem.classList.add("center");

      // Add fade-in effect only if:
      // 1. Initial load is complete
      // 2. This is a different slide than before
      if (initialLoadComplete && slideNumber !== currentCenterSlideNumber) {
        newCenterItem.classList.add("fade-in");

        // Remove fade-in class after animation completes
        setTimeout(() => {
          newCenterItem.classList.remove("fade-in");
        }, 600);
      }

      // Update current center slide number
      currentCenterSlideNumber = slideNumber;
    }
  }

  // Clear all timers
  function clearAllTimers() {
    if (autoAdvanceTimeout) clearTimeout(autoAdvanceTimeout);
    if (progressAnimationTimeout) clearTimeout(progressAnimationTimeout);
    if (userInactivityTimeout) clearTimeout(userInactivityTimeout);
    autoAdvanceTimeout = null;
    progressAnimationTimeout = null;
    userInactivityTimeout = null;
  }

  // Start new slide timer (always from zero)
  function startSlideTimerDelayed(delay = 150) {
    setTimeout(() => {
      startSlideTimer();
    }, delay);
  }

  function startSlideTimer() {
    if (isHoverPaused || isDragging) return;
    clearAllTimers();

    const centerItem = document.querySelector(
      ".multi-carousel-item.center, .clone.center"
    );
    if (!centerItem) return;

    const progressFill = centerItem.querySelector(".progress-bar-fill");
    if (!progressFill) return;

    // Reset bar with no transition first
    progressFill.style.transition = "none";
    progressFill.style.width = "0%";
    void progressFill.offsetWidth; // force reflow

    currentSlideStartTime = Date.now();
    pausedElapsedTime = 0;

    // Apply transition after reset
    setTimeout(() => {
      if (isHoverPaused || isDragging) return;
      progressFill.style.transition = `width ${progressDuration}ms linear`;
      progressFill.style.width = "100%";
    }, 10);

    autoAdvanceTimeout = setTimeout(() => {
      if (!isHoverPaused && !isDragging) {
        next();
      }
    }, progressDuration);
  }

  // Pause timer (for hover)
  function pauseSlideTimer() {
    if (!currentSlideStartTime || isHoverPaused) return;
    clearAllTimers();
    pausedElapsedTime = Date.now() - currentSlideStartTime;
    isHoverPaused = true;

    const centerItem = document.querySelector(
      ".multi-carousel-item.center, .clone.center"
    );
    if (centerItem) {
      const progressFill = centerItem.querySelector(".progress-bar-fill");
      if (progressFill) {
        const computedStyle = window.getComputedStyle(progressFill);
        const currentWidth = computedStyle.width;
        progressFill.style.transition = "none";
        progressFill.style.width = currentWidth;
      }
    }
  }

  // Resume timer (after hover)
  function resumeSlideTimer() {
    if (!isHoverPaused || isDragging) return;
    isHoverPaused = false;

    const centerItem = document.querySelector(
      ".multi-carousel-item.center, .clone.center"
    );
    if (centerItem) {
      const progressFill = centerItem.querySelector(".progress-bar-fill");
      if (progressFill) {
        const remainingTime = Math.max(0, progressDuration - pausedElapsedTime);
        const computedStyle = window.getComputedStyle(progressFill);
        const currentWidth = computedStyle.width;
        progressFill.style.transition = `width ${remainingTime}ms linear`;
        progressFill.style.width = "100%";

        currentSlideStartTime = Date.now() - pausedElapsedTime;
        autoAdvanceTimeout = setTimeout(() => {
          if (!isHoverPaused && !isDragging) {
            next();
          }
        }, remainingTime);
      }
    }
  }

  // Mark user interaction
  function markUserInteraction(isDragAction = false) {
    if (!isDragAction) userHasInteracted = true;
    isHoverPaused = false;
    pausedElapsedTime = 0;
    clearAllTimers();

    const centerItem = document.querySelector(
      ".multi-carousel-item.center, .clone.center"
    );
    if (centerItem) {
      const progressFill = centerItem.querySelector(".progress-bar-fill");
      if (progressFill) {
        const computedStyle = window.getComputedStyle(progressFill);
        const currentWidth = computedStyle.width;
        progressFill.style.transition = "none";
        progressFill.style.width = currentWidth;
      }
    }

    if (!isDragAction) {
      userInactivityTimeout = setTimeout(() => {
        userHasInteracted = false;
        if (!isHoverPaused && !isDragging) {
          startSlideTimer();
        }
      }, 10000);
    }
  }

  function handleDragInteraction() {
    clearAllTimers();
    const centerItem = document.querySelector(
      ".multi-carousel-item.center, .clone.center"
    );
    if (centerItem) {
      const progressFill = centerItem.querySelector(".progress-bar-fill");
      if (progressFill) {
        const computedStyle = window.getComputedStyle(progressFill);
        const currentWidth = computedStyle.width;
        progressFill.style.transition = "none";
        progressFill.style.width = currentWidth;
      }
    }
  }

  function restartProgressAfterDrag() {
    isHoverPaused = false;
    pausedElapsedTime = 0;
    currentSlideStartTime = null;
    startSlideTimerDelayed(100);
  }

  // Dynamically add clone elements for infinite loop effect
  function initializeClones() {
    const originalItems = Array.from(
      document.querySelectorAll(".multi-carousel-item:not(.clone)")
    );
    document.querySelectorAll(".clone").forEach((clone) => clone.remove());

    const clonesNeeded = 2;

    // Prepend end clones
    originalItems
      .slice(-clonesNeeded)
      .reverse()
      .forEach((item) => {
        const clone = item.cloneNode(true);
        clone.classList.add("clone");
        // Remove any inline styles that might interfere with CSS opacity
        clone.style.opacity = "";
        const progressFill = clone.querySelector(".progress-bar-fill");
        if (progressFill) {
          progressFill.style.transition = "none";
          progressFill.style.width = "0%";
        }
        carouselInner.prepend(clone);
      });

    // Append start clones
    originalItems.slice(0, clonesNeeded).forEach((item) => {
      const clone = item.cloneNode(true);
      clone.classList.add("clone");
      // Remove any inline styles that might interfere with CSS opacity
      clone.style.opacity = "";
      const progressFill = clone.querySelector(".progress-bar-fill");
      if (progressFill) {
        progressFill.style.transition = "none";
        progressFill.style.width = "0%";
      }
      carouselInner.append(clone);
    });
  }

  // Set carousel height - now uses calc to account for margins
  function setCarouselHeight() {
    // Set a CSS variable for carousel height that accounts for the margins
    document.documentElement.style.setProperty(
      "--carousel-height",
      "calc(100vh - 5rem)" // 2.5rem top + 2.5rem bottom = 5rem total
    );
  }

  // Update carousel position visually
  let slideConfig = updateConfig();
  initializeClones();
  setCarouselHeight();

  let currentIndex = 0;
  let position = 2;
  let isAnimating = false;

  // Pre-load all images to prevent flash on first slide
  function preloadImages() {
    const allImages = document.querySelectorAll(
      ".multi-carousel-item img, .clone img"
    );
    return Promise.all(
      Array.from(allImages).map((img) => {
        return new Promise((resolve) => {
          if (img.complete) {
            resolve();
          } else {
            img.onload = () => resolve();
            img.onerror = () => resolve();
          }
        });
      })
    );
  }

  function updateCarouselPosition(animate = true) {
    // If this is the first position update on page load, don't animate
    if (!isInitialized) {
      animate = false;
    }

    carouselInner.style.transition = animate ? "transform 0.5s ease" : "none";
    const { slideWidthPercent, translateOffset } = slideConfig;
    const translateX = -position * slideWidthPercent + translateOffset;
    carouselInner.style.transform = `translateX(${translateX}%)`;

    setTimeout(
      () => {
        updateCenterItem();
      },
      animate ? 50 : 0
    );
  }

  // Preload images and then initialize carousel properly
  preloadImages().then(() => {
    // Set initial position without animation
    updateCarouselPosition(false);

    // Update center item immediately
    updateCenterItem();

    // Make carousel visible after everything is positioned
    setTimeout(() => {
      carouselInner.classList.add("initialized");
      isInitialized = true;
      isFirstLoad = false;

      // After a delay, allow all slides to have fade-in effect
      setTimeout(() => {
        initialLoadComplete = true;
      }, 1000);
    }, 50);

    // Start the first timer after everything is loaded
    setTimeout(() => {
      startSlideTimer();
    }, 1000);
  });

  carouselInner.addEventListener("transitionend", function (event) {
    if (event.target !== carouselInner || event.propertyName !== "transform")
      return;
    isAnimating = false;

    const oldPosition = position;

    if (position >= totalItems + 2) {
      // When we reach the end clones, jump to the real slides without animation
      position = 2 + (position - (totalItems + 2));
      carouselInner.style.transition = "none";
      const { slideWidthPercent, translateOffset } = slideConfig;
      const translateX = -position * slideWidthPercent + translateOffset;
      carouselInner.style.transform = `translateX(${translateX}%)`;

      // Force reflow to ensure the transition is applied
      void carouselInner.offsetWidth;

      // Update center item immediately after position change
      updateCenterItem();
    } else if (position < 2) {
      // When we reach the beginning clones, jump to the real slides without animation
      position = totalItems + position;
      carouselInner.style.transition = "none";
      const { slideWidthPercent, translateOffset } = slideConfig;
      const translateX = -position * slideWidthPercent + translateOffset;
      carouselInner.style.transform = `translateX(${translateX}%)`;

      // Force reflow to ensure the transition is applied
      void carouselInner.offsetWidth;

      // Update center item immediately after position change
      updateCenterItem();
    }

    if (position !== oldPosition) {
      resetAllProgressBars();
      if (!isHoverPaused) {
        startSlideTimerDelayed(100);
      }
    } else {
      currentIndex = (position - 2 + totalItems) % totalItems;
      if (!isHoverPaused) {
        startSlideTimerDelayed(100);
      }
    }
  });

  function next() {
    if (isAnimating) return;
    isAnimating = true;
    position += slideBy;
    lastDirection = "next";
    initialLoadComplete = true; // Ensure animations are enabled after user interaction

    clearAllTimers();
    userHasInteracted = false;
    isHoverPaused = false;
    pausedElapsedTime = 0;
    currentSlideStartTime = null;

    resetAllProgressBars();
    updateCarouselPosition();
  }

  function prev() {
    if (isAnimating) return;
    isAnimating = true;
    position -= slideBy;
    lastDirection = "prev";
    initialLoadComplete = true; // Ensure animations are enabled after user interaction

    clearAllTimers();
    userHasInteracted = false;
    isHoverPaused = false;
    pausedElapsedTime = 0;
    currentSlideStartTime = null;

    resetAllProgressBars();
    updateCarouselPosition();
  }

  // Event listeners...
  nextBtn.addEventListener("click", next);
  prevBtn.addEventListener("click", prev);

  // Mouse drag functionality
  let startX = 0;
  let startPosition = 0;

  const carouselImages = document.querySelectorAll("#carouselInner img");
  carouselImages.forEach((img) => {
    img.addEventListener("dragstart", (e) => e.preventDefault());
    img.style.pointerEvents = "none";
  });

  carousel.addEventListener("mousedown", startDrag);
  carousel.addEventListener("touchstart", startDrag, { passive: true });
  carousel.addEventListener("mousemove", drag);
  carousel.addEventListener("touchmove", drag, { passive: true });
  carousel.addEventListener("mouseup", endDrag);
  carousel.addEventListener("touchend", endDrag);
  carousel.addEventListener("mouseleave", endDrag);

  function startDrag(e) {
    if (e.target.closest("button")) return;
    if (isAnimating) return;
    isDragging = true;
    startX = e.type.includes("mouse") ? e.clientX : e.touches[0].clientX;
    startPosition = position;
    carousel.classList.add("dragging");
    carouselInner.style.transition = "none";
    document.body.style.cursor = "grabbing";
    document.body.style.userSelect = "none";
    handleDragInteraction();
  }

  function drag(e) {
    if (!isDragging) return;
    const x = e.type.includes("mouse") ? e.clientX : e.touches[0].clientX;
    const walk = (x - startX) / carousel.offsetWidth;
    const { slideWidthPercent, translateOffset } = slideConfig;
    const newPosition = startPosition - walk * (100 / slideWidthPercent);
    const translateX = -newPosition * slideWidthPercent + translateOffset;
    carouselInner.style.transform = `translateX(${translateX}%)`;
  }

  function endDrag(e) {
    if (!isDragging) return;
    isDragging = false;
    carousel.classList.remove("dragging");
    document.body.style.cursor = "";
    document.body.style.userSelect = "";

    const x = e.type?.includes("mouse")
      ? e.clientX
      : e.changedTouches
      ? e.changedTouches[0].clientX
      : startX;
    const walk = (x - startX) / carousel.offsetWidth;

    if (Math.abs(walk) > 0.2) {
      initialLoadComplete = true; // Ensure animations are enabled after user interaction
      if (walk > 0) {
        lastDirection = "prev";
        prev();
      } else {
        lastDirection = "next";
        next();
      }
      setTimeout(() => {
        restartProgressAfterDrag();
      }, 600);
    } else {
      updateCarouselPosition();
      restartProgressAfterDrag();
    }
  }

  // Keyboard navigation
  document.addEventListener("keydown", function (e) {
    if (
      carousel.offsetParent === null ||
      document.activeElement.tagName === "INPUT" ||
      document.activeElement.tagName === "TEXTAREA" ||
      document.activeElement.isContentEditable
    )
      return;
    switch (e.key) {
      case "ArrowLeft":
        e.preventDefault();
        prev();
        break;
      case "ArrowRight":
        e.preventDefault();
        next();
        break;
    }
  });

  // Hover events
  carousel.addEventListener(
    "mouseenter",
    (event) => {
      const targetSlide = event.target.closest(".multi-carousel-item, .clone");
      if (
        targetSlide &&
        targetSlide.classList.contains("center") &&
        !isDragging
      ) {
        pauseSlideTimer();
      }
    },
    true
  );

  carousel.addEventListener(
    "mouseleave",
    (event) => {
      const currentCenter = document.querySelector(
        ".multi-carousel-item.center, .clone.center"
      );
      if (
        currentCenter &&
        !currentCenter.contains(event.relatedTarget) &&
        !isDragging
      ) {
        resumeSlideTimer();
      }
    },
    true
  );

  // General activity
  carousel.addEventListener("click", (e) => {
    if (!e.target.closest("button") && !isDragging) {
      markUserInteraction();
    }
  });

  carousel.addEventListener("wheel", () => {
    markUserInteraction();
  });

  // Resize handler
  window.addEventListener("resize", function () {
    slideConfig = updateConfig();
    setCarouselHeight();
    clearAllTimers();
    isHoverPaused = false;
    pausedElapsedTime = 0;
    resetAllProgressBars();
    updateCarouselPosition(false);
    markUserInteraction();
  });
});

/**
 * Script to dynamically adjust carousel height based on heading element presence
 */

class CarouselHeightAdjuster {
  constructor() {
    this.headingElement = null;
    this.carouselContainer = null;
    this.observer = null;
    this.resizeObserver = null;

    this.init();
  }

  init() {
    // Wait for DOM to be fully loaded
    if (document.readyState === "loading") {
      document.addEventListener("DOMContentLoaded", () => this.setup());
    } else {
      this.setup();
    }
  }

  setup() {
    // Locate required elements
    this.headingElement = document.querySelector(".heading");
    this.carouselContainer = document.querySelector(
      ".multi-carousel-container"
    );

    if (!this.carouselContainer) {
      console.warn("Elemento .multi-carousel-container não encontrado");
      return;
    }

    if (!this.headingElement) {
      console.warn("Elemento .heading não encontrado");
      return;
    }

    // Setup observers
    this.setupMutationObserver();
    this.setupResizeObserver();

    // Perform initial adjustment
    this.adjustCarouselHeight();

    console.log("CarouselHeightAdjuster inicializado com sucesso");
  }

  setupMutationObserver() {
    // Observer to detect changes in heading element classes
    this.observer = new MutationObserver((mutations) => {
      mutations.forEach((mutation) => {
        if (
          mutation.type === "attributes" &&
          mutation.attributeName === "class"
        ) {
          this.adjustCarouselHeight();
        }
      });
    });

    // Observe changes in heading element class attribute
    this.observer.observe(this.headingElement, {
      attributes: true,
      attributeFilter: ["class"]
    });
  }

  setupResizeObserver() {
    // Observer to detect changes in heading size (in case content changes)
    if (window.ResizeObserver) {
      this.resizeObserver = new ResizeObserver(() => {
        if (this.isHeadingVisible()) {
          this.adjustCarouselHeight();
        }
      });

      this.resizeObserver.observe(this.headingElement);
    }
  }

  isHeadingVisible() {
    if (!this.headingElement) return false;

    // Check if element is visible
    const style = window.getComputedStyle(this.headingElement);
    const hasDisplayNone = style.display === "none";
    const hasVisibilityHidden = style.visibility === "hidden";
    const hasOpacityZero = parseFloat(style.opacity) === 0;
    const hasDNoneClass = this.headingElement.classList.contains("d-none");

    return (
      !hasDisplayNone &&
      !hasVisibilityHidden &&
      !hasOpacityZero &&
      !hasDNoneClass
    );
  }

  getHeadingHeight() {
    if (!this.isHeadingVisible()) return 0;

    // Calculate total heading height including margins
    const rect = this.headingElement.getBoundingClientRect();
    const style = window.getComputedStyle(this.headingElement);

    const marginTop = parseFloat(style.marginTop) || 0;
    const marginBottom = parseFloat(style.marginBottom) || 0;

    return rect.height + marginTop + marginBottom;
  }

  adjustCarouselHeight() {
    if (!this.carouselContainer) return;

    const headingHeight = this.getHeadingHeight();
    const containerMargins = 80; // 2.5rem top + 2.5rem bottom = 80px (assuming 1rem = 16px)

    let newHeight;

    if (headingHeight > 0) {
      // If heading is visible, subtract its height + container margins
      newHeight = `calc(100vh - ${containerMargins + headingHeight}px)`;
    } else {
      // If heading is not visible, use only container margins
      newHeight = `calc(100vh - ${containerMargins}px)`;
    }

    // Apply new height
    this.carouselContainer.style.height = newHeight;

    console.log(
      `Altura do carousel ajustada para: ${newHeight} (heading ${
        headingHeight > 0 ? "visível" : "oculto"
      })`
    );
  }

  // Method to force recalculation (useful for debugging or manual use)
  recalculate() {
    this.adjustCarouselHeight();
  }

  // Method to destroy observers (cleanup)
  destroy() {
    if (this.observer) {
      this.observer.disconnect();
      this.observer = null;
    }

    if (this.resizeObserver) {
      this.resizeObserver.disconnect();
      this.resizeObserver = null;
    }

    console.log("CarouselHeightAdjuster destruído");
  }
}

// Initialize adjuster automatically
const carouselHeightAdjuster = new CarouselHeightAdjuster();

// Expose globally for manual use if needed
window.CarouselHeightAdjuster = CarouselHeightAdjuster;
window.carouselHeightAdjuster = carouselHeightAdjuster;

// Example of manual usage:
// carouselHeightAdjuster.recalculate(); // Force recalculation
// carouselHeightAdjuster.destroy(); // Remove observers

</script>

<script>
    // this function used to creat th countUp  animation for business websites
// use the three parameters to customize it 
// call it for every element
// note that may be small diffrance in the count 100 be 99 so chack it 
function numCounter(tagId,maxCount,speed){
    var initialNumber = 0;
    function counter(){
        document.getElementById(tagId).innerHTML = initialNumber;
        ++initialNumber;
    }
    var counterDelay = setInterval(counter,speed);
    function totalTime(){
        clearInterval(counterDelay);
    }
    var totalPeriod = speed * (maxCount);  
    setTimeout(totalTime, totalPeriod);
}

numCounter("Projects",83,100);
numCounter("Experienced",1250,10);
numCounter("Partners",20,10);
numCounter("Clinics",25,100);
numCounter("Happy",60000,1);

</script>






<script>
    const animatedEls = document.querySelectorAll("[data-animation]");

const observer = new IntersectionObserver((entries) => {
	entries.forEach((entry) => {
		const animation = entry.target.getAttribute("data-animation");

		if (entry.isIntersecting) {
			entry.target.classList.add("animated", `${animation}`);
		} else {
			entry.target.classList.remove("animated", `${animation}`);
		}
	});
});

animatedEls.forEach((el) => observer.observe(el));

</script>
<script>
    // interval is in milliseconds. 1000 = 1 second -> so 1000 * 10 = 10 seconds
$('.carousel').carousel({
  interval: 1000 * 10
});
</script>




<script>
    const buttonElement = document.querySelectorAll('.tablinks');
const tabContent = document.querySelectorAll(".tabcontent");

tabContent[0].style.display = "block";

buttonElement.forEach(function (i) {
    i.addEventListener('click', function (event) {

        for (let x = 0; x < buttonElement.length; x++) {
            if (event.target.id == buttonElement[x].id) {
                buttonElement[x].className = buttonElement[x].className.replace(" active", "");
                tabContent[x].style.display = "block";
                event.currentTarget.className += " active";
            } else {
                tabContent[x].style.display = "none";
                buttonElement[x].className = buttonElement[x].className.replace(" active", "");
            }
        }
        
    });
});
</script>
<script src="https://storage.ko-fi.com/cdn/scripts/overlay-widget.js"></script>

<script>
    let question = document.querySelectorAll(".question");

question.forEach(question => {
  question.addEventListener("click", event => {
    const active = document.querySelector(".question.active");
    if(active && active !== question ) {
      active.classList.toggle("active");
      active.nextElementSibling.style.maxHeight = 0;
    }
    question.classList.toggle("active");
    const answer = question.nextElementSibling;
    if(question.classList.contains("active")){
      answer.style.maxHeight = answer.scrollHeight + "px";
    } else {
      answer.style.maxHeight = 0;
    }
  })
})

</script>



<script>
    	$(function(){

		$.each($(".print-tab .print-tab-menu > li"), function(index, value){
			var menu = $(value).data('tab-menu');
			var tabID = $(value).parent().parent().data('tab-id');
			var hash = window.location.hash.split("#").join('');
			
			if(hash.length > 0){
					
				if(menu == hash){
					$('.print-tab[data-tab-id="' + tabID + '"] .print-tab-menu > li[data-tab-menu="' + menu + '"]').addClass('active');
					$('.print-tab[data-tab-id="' + tabID + '"] .print-tab-content > div[data-tab-content="' + menu + '"]').addClass('view');
				}
				
			}else{
				$('.print-tab[data-tab-id="' + tabID + '"] .print-tab-menu > li:eq(0)').addClass('active');
				$('.print-tab[data-tab-id="' + tabID + '"] .print-tab-content > div:eq(0)').addClass('view');
			}
		});
		


		$(".print-tab .print-tab-menu > li").click(function(event){
			var $this = $(this),
				$data = $this.data('tab-menu'),
				$tabID = $this.parent().parent().data('tab-id');
			if(!$(this).hasClass("active")){

				window.location.hash = $data;
				
				$('.print-tab[data-tab-id="' + $tabID + '"] .print-tab-menu > li').removeClass('active');
				$(this).addClass('active');
				
				$('.print-tab[data-tab-id="' + $tabID + '"] .print-tab-content > div.view').removeClass('view');
				$('.print-tab[data-tab-id="' + $tabID + '"] .print-tab-content > div[data-tab-content="' + $data + '"]').addClass('view');
			}
		});
	});
</script>



<script>
    const faqItems = document.querySelectorAll(".faq-item");

faqItems.forEach(item => {
  const btn = item.querySelector(".faq-question");

  btn.addEventListener("click", () => {
    // close other items
    faqItems.forEach(i => {
      if (i !== item) {
        i.classList.remove("active");
        i.querySelector(".icon").textContent = "+";
      }
    });

    // toggle current item
    item.classList.toggle("active");

    const icon = item.querySelector(".icon");
    icon.textContent = item.classList.contains("active") ? "–" : "+";
  });
});


</script>

<script>
    
$('.btnNext').click(function() {
    $('.nav-pills .active').parent().next('li').find('a').trigger('click');
});

$('.btnPrevious').click(function() {
    $('.nav-pills .active').parent().prev('li').find('a').trigger('click');
});
</script>
<script src="https://code.jquery.com/jquery-3.3.1.slim.min.js" integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo" crossorigin="anonymous"></script>
  <script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.7/umd/popper.min.js" integrity="sha384-UO2eT0CpHqdSJQ6hJty5KVphtPhzWj9WO1clHTMGa3JDZwrnQq4sF86dIHNDz0W1" crossorigin="anonymous"></script>
  <script src="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js" integrity="sha384-JjSmVgyd0p3pXB1rRibZUAYoIIy6OrQ6VrjIEaFf/nJGzIxFDsf4x0xIM+B07jRM" crossorigin="anonymous"></script>

  <script src="https://kit.fontawesome.com/1b59bc20c8.js"></script>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/js/bootstrap.min.js" ></script>
<script src="js/loop.js" ></script>
</body>
</html>


