/********** Template CSS **********/
:root {
    --primary: #06A3DA;
    --secondary: #F57E57;
    --light: #EEF9FF;
    --dark: #091E3E;
}

h1,
h2,
.font-weight-bold {
    font-weight: 700 !important;
}

h3,
h4,
.font-weight-semi-bold {
    font-weight: 600 !important;
}

h5,
h6,
.font-weight-medium {
    font-weight: 500 !important;
}

.btn {
    font-family: 'Jost', sans-serif;
    font-weight: 600;
    transition: .5s;
}

.btn-primary,
.btn-secondary {
    color: #FFFFFF;
}

.btn-primary:hover {
    background: var(--secondary);
    border-color: var(--secondary);
}

.btn-secondary:hover {
    background: var(--primary);
    border-color: var(--primary);
}

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

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

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

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding-left: 0;
    padding-right: 0;
    text-align: center;
}

#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;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 22px;
    bottom: 80px;
    z-index: 99;
}

.top-shape::before {
    position: absolute;
    content: "";
    width: 35px;
    height: 100%;
    top: 0;
    left: -17px;
    background: var(--primary);
    transform: skew(40deg);
}

.navbar-light .navbar-nav .nav-link {
    font-family: 'Jost', sans-serif;
    padding: 35px 15px;
    font-size: 18px;
    color: var(--dark);
    outline: none;
    transition: .5s;
}

.sticky-top.navbar-light .navbar-nav .nav-link{
  padding: 20px 15px;
}

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

@media (max-width: 991.98px) {
    .navbar-light .navbar-nav .nav-link,
    .sticky-top.navbar-light .navbar-nav .nav-link {
        padding: 10px 0;
    }
}

.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(9, 30, 62, .85);
    z-index: 1;
}

@media (max-width: 576px) {
    .carousel-caption h5 {
        font-size: 14px;
        font-weight: 500 !important;
    }

    .carousel-caption h1 {
        font-size: 30px;
        font-weight: 600 !important;
    }
}

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

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

.section-title h5::before {
    position: absolute;
    content: "";
    width: 45px;
    height: 3px;
    right: -55px;
    bottom: 11px;
    background: var(--primary);
}

.section-title h5::after {
    position: absolute;
    content: "";
    width: 15px;
    height: 3px;
    right: -75px;
    bottom: 11px;
    background: var(--secondary);
}

.hero-header {
    background: linear-gradient(rgba(9, 30, 62, .85), rgba(9, 30, 62, .85)), url(../img/carousel-1.jpg) center center no-repeat;
    background-size: cover;
}

.service-item img,
.service-item .bg-light,
.service-item .bg-light h5,
.team-item .team-text {
    transition: .5s;
}

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

.team-item .team-text::after,
.service-item .bg-light::after {
    position: absolute;
    content: "";
    top: 50%;
    bottom: 0;
    left: 15px;
    right: 15px;
    border-radius:100px / 15px;
    box-shadow: 0 0 15px rgba(0, 0, 0, .7);
    opacity: 0;
    transition: .5s;
    z-index: -1;
}

.team-item:hover .team-text::after,
.service-item:hover .bg-light::after {
    opacity: 1;
}



/* footer common csss */
/* Branch Card Common */

.branch-box{
border-radius:14px;
padding:30px;
height:100%;
transition:0.3s;
box-shadow:0 10px 30px rgba(0,0,0,0.15);
}

/* Left Clinic (Blue) */

.col-md-6:first-child .branch-box{
background:#1e9cc5;
}

.col-md-6:first-child .branch-box h4,
.col-md-6:first-child .branch-box p{
color:#ffffff;
}

.col-md-6:first-child .branch-box .btn{
background:#ffffff;
color:#000;
border:none;
}

/* Right Clinic (Orange) */

.col-md-6:last-child .branch-box{
background:#f27b4a;
}

.col-md-6:last-child .branch-box h4,
.col-md-6:last-child .branch-box p{
color:#ffffff;
}

.col-md-6:last-child .branch-box .btn{
background:#ffffff;
color:#000;
border:none;
}

/* Button Style */

.branch-box .btn{
padding:10px 24px;
border-radius:6px;
font-weight:600;
}

/* Hover Effect */

.branch-box:hover{
transform:translateY(-6px);
box-shadow:0 20px 40px rgba(0,0,0,0.2);
}

/* Phone Icon */

.branch-box i{
color:#ffffff;
}


/* watsapp and call css */
/* Small WhatsApp Button */
.whatsapp-icon {
  position: fixed;
  bottom: 185px;
  right: 25px;
  width: 40px;
  height: 40px;
  background-color: #25D366;
  color: #fff;
  font-size: 20px;   /* smaller icon */
  border-radius: 50%;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  z-index: 9999;
  text-decoration: none;
  transition: background 0.3s ease;
  overflow: visible;
}

.whatsapp-icon:hover {
  background-color: #1ebe5a;
  color: #fff;
}

/* Small Call Button */
.call-icon {
  position: fixed;
  bottom: 140px; /* keep above WhatsApp button */
  right: 25px;
  width: 40px;
  height: 40px;
  background-color: #f27b4a !important;
  color: #fff;
  font-size: 18px;   /* smaller icon */
  border-radius: 50%;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  z-index: 9999;
  text-decoration: none;
  transition: background 0.3s ease;
  overflow: visible;
}

.call-icon:hover {
  background-color: #f27b4a;
  color: #fff;
}

/* Tooltip styling (same for both) */
.whatsapp-tooltip,
.call-tooltip {
  position: absolute;
  right: 50px; /* adjust for smaller size */
  bottom: 50%;
  transform: translateY(50%);
  background: #333;
  color: #fff;
  padding: 5px 8px;
  border-radius: 5px;
  font-size: 12px;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, right 0.3s ease;
}

.whatsapp-icon:hover .whatsapp-tooltip,
.call-icon:hover .call-tooltip {
  opacity: 1;
  visibility: visible;
  right: 55px;
}




/* post related css */
.post-content {
    text-align: justify;
    line-height: 1.8;
    font-size: 16px;
    color: #333;
}

.post-content p {
    margin-bottom: 15px;
}

.post-content h2,
.post-content h3,
.post-content h4 {
    margin-top: 25px;
    margin-bottom: 10px;
    font-weight: 600;
}

.post-content ul {
    margin-bottom: 15px;
    padding-left: 20px;
}

.post-content li {
    margin-bottom: 8px;
}

.post-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

.post-content table td {
    border: 1px solid #ddd;
    padding: 10px;
}

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

@media (max-width: 768px) {
    .post-content {
        text-align: justify;
    }
}





