/* Modern Medical Theme - Professional and Trustworthy */
:root {
  --bs-primary: #0d7693;
  --bs-primary-rgb: 13, 118, 147;
  --bg: #ffffff;
  --muted: #64748b;
  --text: #1e293b;
  --accent: #0891b2;
  --accent-dark: #0e7490;
  --accent-light: #06b6d4;
  --card: #f8fafc;
  --card-hover: #f1f5f9;
  --radius: 16px;
  --max: 1200px;
  --gap: 24px;
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1),
    0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1),
    0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1),
    0 10px 10px -5px rgba(0, 0, 0, 0.04);
}


.hero-main-banner{
  background-image: url(../images/bg-1.png);
  background-size: cover;
}

#main-navbar .navbar-nav .nav-link.active {
  color: #9bf0ff !important;
  font-weight: bold !important;
}

.text-primary {
  color: #0d7693 !important;
}

.bg-light-teal {
  background-color: #e6eced;
}

.card {
  border-radius: 16px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: solid 1px #e3e3e3;
  border-top: solid 3px #ffffff !important;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-top: solid 3px #0e7490 !important;
}
.badge.border-primary {
  border-color: #bcd4f6 !important;
}
.display-heading {
  font-size: clamp(32px, 5vw, 50px);
  line-height: 1.2;
}
.section-heading {
  font-size: clamp(26px, 3vw, 36px);
  padding-bottom: 12px;
}
.section-heading::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #0e7490, #06b6d4);
  border-radius: 2px;
}

.section-heading::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -6px;
  transform: translateX(-50%);
  width: 40px;
  height: 2px;
  background: #06b6d4;
  opacity: 0.6;
  border-radius: 2px;
}

.bg-teal{
   background-color: #0e7490;
}

.navbar-teal {
  background-color: #0e7490;
  color: white !important;
}
header .nav-link{
  color: white !important;
}

@media screen and (max-width: 991px) {
  .navbar-teal {
  background-color: white !important;
  color: black !important;
}
header .nav-link{
   color: black !important;
}
}

.navbar-brand img {
  height: 122px;
  width: auto;
  display: block;
  transition: all 0.3s ease-out;
  margin-top: -34px;

}

@media screen and (max-width: 991px) {
  .navbar-brand img {
    height: 70px;
    margin-top: -5px;
  }
}

@media (max-width: 767px) {

  .nav-bg-red,
  .nav-bg-black {
    display: none;
  }

  .navbar-brand img {
    height: 70px;
  }
}

#testimonials-section .nav-link.active {
  font-weight: 600 !important;
  border-top: solid 4px #0d7693 !important;
  color: #343a40 !important;
  background-color: #f9feff !important;
}

#patient-information .nav-link.active {
  font-weight: 600 !important;
  border-top: solid 4px #0d7693 !important;
  color: #343a40 !important;
  background-color: #f9feff !important;
}

.badge {
  top: 27px;
  left: 28px;
  color: #07414a;
  border-radius: 18px;
  padding: 4px 19px;
  font-size: 14px;
  z-index: 999;
}

.cards-icon {
  width: 47px;
  height: 47px;
  border-radius: 50%;
}

.cards-icon svg {
  flex-shrink: 0;
}

.why-glass-box {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.btn-outline-secondary {
  border: solid 1px #07414a !important;
  color: black;
}

.page-banner {
  background: url('../images/page-banner-bg1.jpg') no-repeat center center;
  background-size: cover;
  padding: 100px 0;
  overflow: hidden;
}

.page-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgb(0 0 0 / 76%);
  z-index: 1;
}

.page-banner-content {
  position: relative;
  z-index: 2;
}

.service-pills-scroll {
  overflow-x: auto;
  white-space: nowrap;
  padding-bottom: 8px;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.service-pills-scroll::-webkit-scrollbar {
  display: none;
}


.service-pills .nav-link {
  color: var(--bs-primary);
  border: 1px solid var(--bs-primary);
  transition: all 0.3s ease;
  font-size: 0.95rem;
  padding: 0.5rem 1rem !important;
  margin-right: 0.5rem;
 
  flex-shrink: 0;
  display: inline-block;
 
}

.service-pills .nav-link.active {
  background-color: var(--bs-primary);
  color: #ffffff;
  border-color: var(--bs-primary);
  font-weight: 600;
}

.text-primary {
  color: var(--bs-primary) !important;
}

.alert-custom-pink {
  background-color: #ffeff1;
}

.border-start-5 {
  border-left-width: 5px !important;
}

.heighlight-br {
  border-left: 4px solid #0d7693 !important;
}

.timeline {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  padding-bottom: 50px;
}

.timeline::after {
  content: '';
  position: absolute;
  width: 6px;
  background-color: #e9ecef;
  top: 0;
  bottom: 0;
  left: 50%;
  margin-left: -3px;
  z-index: 1;
}

.timeline-item {
  padding: 10px 0;
  position: relative;
  width: 50%;
  z-index: 2;
}


.timeline-item-right {
  left: 50%;
  padding-left: 30px;
}


.timeline-item-left {
  left: 0;
  padding-right: 30px;
}

.timeline-number {
  position: absolute;
  top: 25px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  line-height: 40px;
  text-align: center;
  z-index: 10;
  box-shadow: 0 0 0 5px white;
}


.timeline-item-right .timeline-number {
  left: -20px;
}

.timeline-item-left .timeline-number {
  right: -20px;
}

@media (max-width: 767px) {
  .timeline::after {
    left: 20px;
  }

  .timeline-item {
    width: 100%;
    padding-left: 50px;
    padding-right: 15px;
  }

  .timeline-item-right,
  .timeline-item-left {
    left: 0;
    padding-right: 15px;
  }

  .timeline-item-right .timeline-number,
  .timeline-item-left .timeline-number {
    left: 0;
  }
}

.accordion-button {
  background-color: transparent !important;
  font-weight: 600;
  color: #212529;
}

.accordion-button i {
  font-size: 1.1em;
  margin-right: 0.75rem;
  color: #0d6efd;
}
.accordion-button:focus {
  box-shadow: none !important;
  border-color: transparent !important;
}


.animate {
  opacity: 0;
  transition: all 0.8s ease;
}

/* 🔹 Animation visible state */
.animate.show {
  opacity: 1;
  transform: translateX(0) translateY(0);
}

/* 🔹 Different directions */
.from-left {
  transform: translateX(-100px);
}

.from-right {
  transform: translateX(100px);
}

.from-bottom {
  transform: translateY(100px);
}