body {
  font-family: 'Open Sans', sans-serif;
  scroll-behavior: smooth;
}

.nav-link {
  color: #000 !important;
  margin-right: 15px;
  transition: color 0.3s;
}

.nav-link:hover {
  color: #007bff !important;
}

.btn-primary {
  background-color: #007bff;
  border: none;
  transition: transform 0.3s;
}

.btn-primary:hover {
  transform: translateY(-2px);
}

.hover-card {
  transition: all 0.4s ease;
}

.hover-card:hover {
  transform: translateY(-5px);
  background-color: #f8f9fa;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.expert-card img {
  transition: transform 0.3s ease;
}

.expert-card:hover img {
  transform: scale(1.05);
}

footer ul li {
  margin-bottom: 5px;
  cursor: pointer;
  transition: color 0.3s;
}

footer ul li:hover {
  color: #007bff;
}

/* Testimonials */
#patients blockquote {
  max-width: 700px;
  margin: 0 auto;
  font-size: 1.1rem;
  line-height: 1.7;
  color: #333;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  filter: invert(1);
}

.carousel-fade .carousel-item {
  transition: opacity 1s ease-in-out;
}

/* Carousel Dots */
.carousel-indicators [data-bs-target] {
  background-color: #fff;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  opacity: 0.6;
  transition: opacity 0.3s ease;
}

.carousel-indicators .active {
  opacity: 1;
}

@media (max-width: 767px) {
  .confidence-box {
    height: 220px;
  }
}

/* Footer Social Links */
.social-link {
  color: #ffffff;
  font-size: 1.7rem;
  transition: all 0.3s ease;
}

.social-link:hover {
  color: #00bcd4; /* Accent color */
  transform: scale(1.15);
}

footer {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

footer h5 {
  letter-spacing: 0.5px;
}

#patients {
  position: relative;
}

.carousel-indicators [data-bs-target] {
  background-color: #000000;
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.carousel-indicators {
  margin-top: 2rem;
}

blockquote {
  font-style: italic;
  color: #333;
  transition: transform 0.3s ease;
}

.carousel-item.active blockquote {
  transform: scale(1.05);
}

#confidence {
  border-radius: 20px;
  padding: 80px 60px;
  margin: 40px auto; 
  width: 95%; 
}

#experts {
  border-radius: 20px;
  padding: 80px 60px;
  margin: 40px auto; 
  width: 95%; 
}

#contact {
  border-radius: 20px;
  padding: 80px 60px;
  margin: 40px auto; 
  width: 95%; 
}

/* Confidence Section Cards */
.confidence-card {
  position: relative;
  height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  text-align: left;
  border: none;
  overflow: hidden;
  color: #fff;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  background-position: center;
  background-size: cover;
  border-radius: 16px;
}

.confidence-card .overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 1;
  transition: background 0.4s ease;
}

.confidence-card .card-content {
  position: relative;
  z-index: 2;
  transition: transform 0.4s ease;
}

.confidence-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.4);
}

.confidence-card:hover .overlay {
  background: rgba(0, 0, 0, 0.35);
}

.confidence-card:hover .card-content {
  transform: translateY(-10px);
}

/* Background Images */
.bg-image-1 {
  background-image: url('track.jpg');
}

.bg-image-2 {
  background-image: url('track.jpg');
}

.bg-image-3 {
  background-image: url('track.jpg');
}




.trusted-partners {
  background-color: #fff;
  position: relative;
  overflow: hidden;
}

.marquee-wrapper {
  position: relative;
  overflow: hidden;
  width: 100%;
}

.marquee {
  display: flex;
  align-items: center;
  gap: 2rem;
  animation: scroll 25s linear infinite;
}

.partner-logo {
  height: 55px; /* smaller logos */
  width: auto;
  border-radius: 12px;
  padding: 8px;
  /* background: linear-gradient(
    135deg,
    rgba(0, 123, 255, 0.6),
    rgba(0, 194, 255, 0.6)
  ); */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}


.partner-logo:hover {
  transform: scale(1.05);
  box-shadow: 15px 15px 15px rgba(0, 123, 255, 0.35);
}

/* Seamless scroll animation */
@keyframes scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Gradient fade edges */
.fade {
  position: absolute;
  top: 0;
  width: 80px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.fade-left {
  left: 0;
  background: linear-gradient(to right, rgba(255,255,255,1), rgba(255,255,255,0));
}

.fade-right {
  right: 0;
  background: linear-gradient(to left, rgba(255,255,255,1), rgba(255,255,255,0));
}

.glow-follow {
  position: relative;
  display: inline-block;
  border-radius: 20px;
  overflow: hidden;
}

.glow-follow::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(circle at center, rgba(0,194,255,0.6), transparent 70%);
  z-index: 0;
  transition: background 0.15s ease;
}

.glow-follow img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: auto;
  border-radius: inherit;
}



.glass-navbar {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(4px);           /* Creates blur */
  -webkit-backdrop-filter: blur(6px);   /* Safari support */
  border-bottom: 2px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  transition: background 0.3s ease, box-shadow 0.3s ease;
  position: fixed;
  z-index: 1000;
  width: 100%;
}

.glass-navbar .nav-link {
  color: #000;
  transition: color 0.3s ease;
}

.glass-navbar .nav-link:hover {
  color: #007bff;
}

.glass-navbar.scrolled {
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(10px);
}
