body {
  background: #f8f9fa;
  color: #222;
  font-family: 'Segoe UI', Arial, sans-serif;
}
.navbar {
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  transition: box-shadow 0.3s;
}
.navbar.sticky {
  box-shadow: 0 4px 16px rgba(0,123,255,0.08);
}
.navbar-brand {
  font-weight: bold;
  color: #007bff !important;
  letter-spacing: 1px;
}
.nav-link.active, .nav-link:focus {
  color: #28a745 !important;
}
.btn-primary {
  background: #007bff;
  border: none;
}
.btn-primary:hover {
  background: #0056b3;
}
.section-title {
  color: #007bff;
  font-weight: 700;
  margin-bottom: 1.5rem;
  letter-spacing: 1px;
}
.about-img {
  max-width: 250px;
  border-radius: 5%;
  border: 6px solid #28a74533;
  box-shadow: 0 4px 24px rgba(0,123,255,0.08);
}
.service-card {
  border: none;
  border-radius: 1rem;
  box-shadow: 0 2px 16px rgba(0,123,255,0.07);
  transition: transform 0.2s, box-shadow 0.2s;
  background: #fff;
}
.service-card:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 8px 32px rgba(40,167,69,0.13);
}
.service-icon {
  font-size: 2.5rem;
  color: #28a745;
  margin-bottom: 1rem;
  transition: color 0.2s;
}
.service-card:hover .service-icon {
  color: #007bff;
}
.clinic-hours-icon {
  font-size: 2.5rem;
  color: #007bff;
  animation: spin 2s linear infinite;
}
@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
.testimonial-card {
  border: none;
  background: #fff;
  border-radius: 1rem;
  box-shadow: 0 2px 16px rgba(0,123,255,0.07);
}
.testimonial-img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid #28a74544;
  margin-bottom: 1rem;
}
.footer {
  background: #007bff;
  color: #fff;
  padding: 2rem 0 1rem 0;
}
.footer a {
  color: #fff;
  text-decoration: underline;
}
.footer .fa-brands {
  font-size: 1.5rem;
  margin: 0 0.5rem;
  color: #28a745;
  transition: color 0.2s;
}
.footer .fa-brands:hover {
  color: #fff;
}
.scroll-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 999;
  background: #28a745;
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
  display: none;
  transition: background 0.2s;
}
.scroll-top:hover {
  background: #007bff;
}
.form-control:focus {
  border-color: #007bff;
  box-shadow: 0 0 0 0.2rem #007bff22;
}
.floating-btn {
  position: fixed;
  z-index: 1100;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: #fff;
  box-shadow: 0 4px 16px rgba(0,0,0,0.18);
  transition: background 0.2s, transform 0.2s;
  cursor: pointer;
  border: none;
  outline: none;
  opacity: 0.95;
}
.floating-call {
  background: #007bff;
  bottom: 40px;
  left: 30px;
  animation: bounce 2s infinite;
}
.floating-call:hover {
  background: #0056b3;
  transform: scale(1.08);
}
.floating-whatsapp {
  background: #25d366;
  bottom: 40px;
  right: 30px;
  animation: bounce 2s 0.5s infinite;
}
.floating-whatsapp:hover {
  background: #128c7e;
  transform: scale(1.08);
}
/* Responsive adjustments for floating buttons on mobile */
@media (max-width: 768px) {
  .floating-whatsapp {
    right: 8px;
    bottom: 12px;
    width: 42px;
    height: 42px;
    font-size: 1.4rem;
  }
  .floating-call {
    left: 8px;
    bottom: 12px;
    width: 42px;
    height: 42px;
    font-size: 1.4rem;
  }
}
@media (max-width: 480px) {
  .floating-whatsapp {
    right: 5px;
    bottom: 8px;
    width: 38px;
    height: 38px;
    font-size: 1.2rem;
  }
  .floating-call {
    left: 5px;
    bottom: 8px;
    width: 38px;
    height: 38px;
    font-size: 1.2rem;
  }
}
@media (max-width: 360px) {
  .floating-whatsapp {
    right: 3px;
    bottom: 5px;
    width: 32px;
    height: 32px;
    font-size: 1rem;
  }
  .floating-call {
    left: 3px;
    bottom: 5px;
    width: 32px;
    height: 32px;
    font-size: 1rem;
  }
}
@media (max-width: 320px) {
  .floating-whatsapp {
    right: 2px;
    bottom: 3px;
    width: 28px;
    height: 28px;
    font-size: 0.9rem;
  }
  .floating-call {
    left: 2px;
    bottom: 3px;
    width: 28px;
    height: 28px;
    font-size: 0.9rem;
  }
}
@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
/* Custom Team Carousel Indicators */
#teamCarousel .carousel-indicators [data-bs-target] {
  background-color: #007bff; /* blue for inactive */
  width: 12px;
  height: 12px;
  border-radius: 50%;
  opacity: 0.4;
  border: none;
  margin: 0 4px;
  transition: background 0.2s, opacity 0.2s;
}
#teamCarousel .carousel-indicators .active {
  background-color: #28a745; /* green for active */
  opacity: 1;
}
#teamCarousel .carousel-indicators {
  bottom: -40px;
}
/* Custom Team Carousel Controls */
#teamCarousel .carousel-control-prev-icon {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" fill="%23007bff" viewBox="0 0 16 16"><path d="M11 2L5 8l6 6" stroke="%23007bff" stroke-width="2" fill="none" stroke-linecap="round" stroke-linejoin="round"/></svg>');
  background-color: #fff;
  border-radius: 50%;
  border: 2px solid #007bff;
  box-shadow: 0 2px 8px rgba(0,123,255,0.10);
  width: 2.5rem;
  height: 2.5rem;
  background-size: 60% 60%;
  background-position: center;
  background-repeat: no-repeat;
}
#teamCarousel .carousel-control-next-icon {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" fill="%23007bff" viewBox="0 0 16 16"><path d="M5 2l6 6-6 6" stroke="%23007bff" stroke-width="2" fill="none" stroke-linecap="round" stroke-linejoin="round"/></svg>');
  background-color: #fff;
  border-radius: 50%;
  border: 2px solid #007bff;
  box-shadow: 0 2px 8px rgba(0,123,255,0.10);
  width: 2.5rem;
  height: 2.5rem;
  background-size: 60% 60%;
  background-position: center;
  background-repeat: no-repeat;
}
#teamCarousel .carousel-control-prev,
#teamCarousel .carousel-control-next {
  width: 3rem;
  height: 3rem;
  top: 50%;
  transform: translateY(-50%);
  opacity: 1;
}
#teamCarousel .carousel-control-prev:hover .carousel-control-prev-icon,
#teamCarousel .carousel-control-next:hover .carousel-control-next-icon {
  background-color: #007bff;
  border-color: #28a745;
  filter: brightness(0) invert(1);
}
.team-card {
  border: none;
  border-radius: 1.5rem;
  box-shadow: 0 4px 24px rgba(0,123,255,0.10), 0 1.5px 8px rgba(40,167,69,0.07);
  transition: transform 0.25s, box-shadow 0.25s;
  background: linear-gradient(135deg, #fff 80%, #e9f7ef 100%);
  position: relative;
  overflow: hidden;
}
.team-card:hover {
  transform: translateY(-8px) scale(1.04);
  box-shadow: 0 8px 32px rgba(40,167,69,0.13), 0 4px 24px rgba(0,123,255,0.13);
  z-index: 2;
}
.team-card .about-img {
  border: 4px solid #28a74533;
  box-shadow: 0 2px 12px rgba(0,123,255,0.08);
  transition: border-color 0.2s;
}
.team-card:hover .about-img {
  border-color: #007bff44;
}
.team-card .btn {
  pointer-events: none;
}
.text-shadow {
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}
.animate-pulse {
  animation: pulse 2s infinite;
}
.animate-bounce {
  animation: bounce 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}
@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(-10px); }
  60% { transform: translateY(-5px); }
}
.hero-gradient {
  background: linear-gradient(135deg, #007bff 0%, #28a745 50%, #0056b3 100%);
}
.hero-cta-btn {
  font-size: 1.1rem;
  border-radius: 50px;
}
.hero-cta-btn-outline {
  font-size: 1.1rem;
  border-radius: 50px;
  border-width: 2px;
}
@media (max-width: 991.98px) {
  #teamCarousel .carousel-inner .row > div { flex: 0 0 50%; max-width: 50%; }
}
@media (max-width: 767.98px) {
  #teamCarousel .carousel-inner .row > div { flex: 0 0 100%; max-width: 100%; }
}
.team-card-mobile {
  max-width: 350px;
  width: 100%;
}
.team-card-clickable {
  cursor: pointer;
}
.team-card-clickable:hover {
  transform: translateY(-8px) scale(1.04);
}
.team-card .btn {
  position: relative;
  z-index: 10;
  margin-top: 0.5rem;
}
.team-card-mobile {
  max-width: 350px;
  width: 100%;
  margin: 0 auto;
}
.team-card-mobile .btn {
  margin-top: 0.75rem;
  font-size: 0.875rem;
  padding: 0.375rem 0.75rem;
}
/* Desktop view - show multiple cards */
@media (min-width: 992px) {
  #teamCarousel .carousel-inner {
    display: flex !important;
    flex-wrap: nowrap !important;
    justify-content: center;
    gap: 2rem;
  }
  #teamCarousel .carousel-item {
    flex: 0 0 auto !important;
    width: calc(33.333% - 1.33rem) !important;
    max-width: 350px !important;
    display: block !important;
  }
  #teamCarousel .carousel-control-prev,
  #teamCarousel .carousel-control-next {
    display: none !important;
  }
  #teamCarousel .carousel-indicators {
    display: none !important;
  }
}
/* Tablet view - show 2 cards */
@media (min-width: 768px) and (max-width: 991px) {
  #teamCarousel .carousel-inner {
    display: flex !important;
    flex-wrap: nowrap !important;
    justify-content: center;
    gap: 2rem;
  }
  #teamCarousel .carousel-item {
    flex: 0 0 auto !important;
    width: calc(50% - 1rem) !important;
    max-width: 350px !important;
    display: block !important;
  }
  #teamCarousel .carousel-control-prev,
  #teamCarousel .carousel-control-next {
    display: none !important;
  }
  #teamCarousel .carousel-indicators {
    display: none !important;
  }
}
/* Mobile view - show 1 card with carousel */
@media (max-width: 767px) {
  #teamCarousel .carousel-inner {
    display: block !important;
  }
  #teamCarousel .carousel-item {
    width: 100% !important;
    display: none !important;
  }
  #teamCarousel .carousel-item.active {
    display: block !important;
  }
  #teamCarousel .carousel-control-prev,
  #teamCarousel .carousel-control-next {
    display: flex !important;
  }
  #teamCarousel .carousel-indicators {
    display: flex !important;
  }
}
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
}
.min-vh-90 {
  min-height: 90vh;
}
.gradient-text {
  background: linear-gradient(45deg, #667eea, #764ba2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.navbar-nav .nav-link {
  color: #495057 !important;
  font-weight: 500;
  position: relative;
  overflow: hidden;
}
.navbar-nav .nav-link::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: linear-gradient(45deg, #667eea, #764ba2);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}
.navbar-nav .nav-link:hover::before,
.navbar-nav .nav-link.active::before {
  width: 80%;
}
.navbar-nav .nav-link:hover {
  color: #667eea !important;
  transform: translateY(-2px);
  background: rgba(102,126,234,0.05);
}
.navbar-nav .nav-link.active {
  color: #667eea !important;
  background: rgba(102,126,234,0.1);
  box-shadow: 0 4px 12px rgba(102,126,234,0.15);
}
.navbar-toggler:focus {
  box-shadow: none;
}
.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(102,126,234,1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}