/* General Styles */
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
  background-color: #ffffff;
  color: #333;
}

/* Navbar */
.navbar-nav .nav-link {
  color: teal !important;
}
.navbar-nav .nav-link.active,
.navbar-nav .nav-link:hover {
  color: grey !important;
}

/* Banner */
.banner {
  position: relative;
  width: 100%;
  overflow: hidden;
  height: 400px;
}
.scrolling-banner {
  position: relative;
  width: 100%;
  height: 100%;
}
.scrolling-banner img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  animation: fadeBanner 12s infinite;
}
.scrolling-banner img:nth-child(1) {
  animation-delay: 0s;
}
.scrolling-banner img:nth-child(2) {
  animation-delay: 4s;
}
.scrolling-banner img:nth-child(3) {
  animation-delay: 8s;
}

@keyframes fadeBanner {
  0% { opacity: 0; }
  10% { opacity: 1; }
  30% { opacity: 1; }
  40% { opacity: 0; }
  100% { opacity: 0; }
}

/* Services Section */
.service-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.service-img:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Doctor Image Hover */
.doctor-photo {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.doctor-photo:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Contact Section */
form input,
form textarea {
  border-radius: 8px;
  padding: 10px;
}

.btn-primary {
  background-color: teal;
  border: none;
}
.btn-primary:hover {
  background-color: #006d6d;
}

/* Social Icons */
.social-icons a {
  transition: transform 0.3s;
}
.social-icons a:hover {
  transform: scale(1.2);
}

/* Footer */
footer {
  background-color: #004d4d;
  color: white;
  padding: 20px 0;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .banner {
    height: 250px;
  }
  .scrolling-banner img {
    height: 250px;
  }
  .service-img {
    height: 150px;
  }
}
.social-icons i {
  font-size: 24px;
  color: #007c7c;
  transition: color 0.3s ease, transform 0.3s ease;
}

.social-icon:hover i {
  color: #00b3b3;
  transform: scale(1.2);
  text-shadow: 0 0 10px rgba(0, 179, 179, 0.4);
}
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 999;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.whatsapp-float img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.whatsapp-float:hover {
  transform: scale(1.1);
}

