:root {
  --primary: #030066;
  --secondary: #fd0166;
}

body {
  font-family: "Poppins", sans-serif;
  background: #f8f9ff;
  line-height: 1.6;
}
.section {
  background-color: #f5fbfc;
}

/*  Header  */
.site-header {
  background: #ffffff;
  backdrop-filter: blur(12px);
  padding: 5px 0;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
}

.site-logo {
  font-weight: 700;
  font-size: 1.75rem;
  text-decoration: none;
}
.site-logo img {
  max-height: 100px;
}

.nav-menu {
  display: flex;
  gap: 30px;
  align-items: center;
}

.nav-link {
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
}

.nav-link:hover {
  opacity: 0.9;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.3s ease;
}
.nav-link.active {
  color: var(--primary) !important;
}

.nav-link.active::after {
  width: 100%;
}

.nav-link:hover::after {
  width: 100%;
}

.nav-toggler {
  width: 50px;
  height: 30px;
  position: relative;
  border: none;
  background: transparent;
  outline: none !important;
  box-shadow: none !important;
}

.nav-toggler:focus,
.nav-toggler:active,
.nav-toggler:focus-visible {
  outline: none !important;
  box-shadow: none !important;
  border: none !important;
}

.nav-toggler .bar {
  display: block;
  height: 3px;
  width: 100%;
  background: var(--primary);
  margin: 6px 0;
  border-radius: 2px;
  transition: all 0.4s ease;
}

.nav-toggler.active .bar:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.nav-toggler.active .bar:nth-child(2) {
  opacity: 0;
}

.nav-toggler.active .bar:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

@media (max-width: 991px) {
  .nav-menu {
    background: var(--primary);
    padding: 25px;
    border-radius: 16px;
    margin: 20px 0px;
    flex-direction: column;
    gap: 15px;
    text-align: center;
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
  }
  .nav-link {
    color: white;
  }
  .nav-link.active {
    color: var(--secondary) !important;
    font-weight: bold;
  }
  .nav-link::after {
    background: var(--secondary);
  }
  .nav-link.active::after {
    width: 100%;
  }
}

.btn-primary {
  background: linear-gradient(45deg, var(--secondary), #ff4fa3);
  color: white;
  border: none;
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(255, 94, 187, 0.35);
}

/*  Hero Section   */
/* Hero Section */
.hero-carousel {
  margin-top: 76px;
}

/* Slide */
.hero-slide {
  position: relative;
  height: 70vh;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Overlay */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.65));
  z-index: 1;
}

/* Owl Nav Buttons */
.hero-owl .owl-nav button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2) !important;
  color: #fff !important;
  font-size: 20px !important;
  backdrop-filter: blur(6px);
  transition: 0.3s;
}

.hero-owl .owl-nav button:hover {
  background: rgba(255, 255, 255, 0.4) !important;
}

.hero-owl .owl-nav .owl-prev {
  left: 20px;
}

.hero-owl .owl-nav .owl-next {
  right: 20px;
}

/* Dots */
.hero-owl .owl-dots {
  position: absolute;
  bottom: 20px;
  width: 100%;
  text-align: center;
}

.hero-owl .owl-dot span {
  width: 10px;
  height: 10px;
  background: rgba(255, 255, 255, 0.5);
  display: inline-block;
  border-radius: 50%;
  margin: 5px;
}

.hero-owl .owl-dot.active span {
  width: 20px;
  border-radius: 20px;
  background: #fff;
}

/* Banner */
.banner {
  position: relative;
  height: 40vh;
  min-height: 320px;
  margin-top: 76px;
  overflow: hidden;
}

.banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.banner-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6); /* clean dark overlay */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.banner-content {
  color: #fff;
  padding: 0 20px;
}

.banner-content h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.banner-content p {
  font-size: 1.1rem;
  opacity: 0.9;
}

/* Responsive */
@media (max-width: 768px) {
  .banner {
    height: 30vh;
  }

  .banner-content h1 {
    font-size: 2rem;
  }

  .banner-content p {
    font-size: 1rem;
  }
  .hero-slide {
    height: 250px;
  }
  .hero-slide img {
    object-fit: cover;
  }
  .hero-owl .owl-nav button {
    width: 30px;
    height: 30px;
    font-size: 15px !important;
  }
  .hero-owl .owl-nav .owl-prev {
    left: 15px;
  }

  .hero-owl .owl-nav .owl-next {
    right: 15px;
  }
  .hero-owl .owl-dot span {
    width: 5px;
    height: 5px;
  }

  .hero-owl .owl-dot.active span {
    width: 15px;
  }
}

/* Mission Cards */
.mission-card {
  border-radius: 12px;
  background: #fff;
  transition: 0.3s;
}

.mission-card:hover {
  transform: translateY(-5px);
}

/* About Boxes */
.about-box {
  border-radius: 12px;
  transition: 0.3s;
  background: #fff;
}

.about-box i {
  font-size: 28px;
  color: var(--primary);
}

.about-box:hover {
  transform: translateY(-6px);
}

/* Responsive */
@media (max-width: 768px) {
  .banner-content h1 {
    font-size: 2rem;
  }
}
.stats-strip {
  background: #f3f0ec;
  padding: 12px 0;
  overflow: hidden;
}

.stats-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 25px;
  flex-wrap: nowrap;
  white-space: nowrap;
}

.stat-inline {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #3b2f2f;
}

.stat-inline i {
  font-size: 18px;
  color: var(--primary);
}

.stat-inline strong {
  color: var(--primary);
  margin-right: 4px;
}

@media (max-width: 991px) {
  .stats-container {
    width: max-content;
    animation: scrollStats 20s linear infinite;
  }

  .stats-strip {
    overflow: hidden;
  }

  @keyframes scrollStats {
    0% {
      transform: translateX(0);
    }
    100% {
      transform: translateX(-50%);
    }
  }
}

/* Why Choose Us */
.why-choose-us-card {
  background-color: #f0f4f9;
  height: 100% !important;
  border-radius: 5px;
}
.why-choose-icon {
  height: 50px;
  width: 50px;
  border-radius: 50%;
  border: 1px solid var(--secondary);
  display: flex;
  align-items: center;
  justify-content: center;
}
.why-choose-icon i {
  font-size: 28px;
  color: var(--secondary);
}
.why-choose-title h4 {
  color: var(--primary);
  font-weight: 500;
}
.why-choose-content p {
  font-size: 15px;
}

.why-choose-us-card-highlight {
  background: #012e6a;
  position: relative;
  overflow: hidden;
}

.why-choose-us-card-highlight .why-choose-icon {
  height: 50px;
  width: 50px;
  color: #fff;
  border: 1px solid #fff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.why-choose-us-card-highlight .why-choose-icon i {
  color: white;
  font-size: 28px;
}

.why-choose-us-card-highlight .why-choose-title h4 {
  color: #fff;
  font-weight: 600;
}

.why-choose-us-card-highlight .why-choose-content p {
  color: #fff !important;
}

.why-choose-us-card-highlight:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15) !important;
  transition: all 0.3s ease;
}

.section-title {
  font-weight: 700;
  color: var(--primary);
  font-size: 2rem;
  text-align: center;
  display: block;
  margin: 0 auto;
  width: fit-content;
  position: relative;
  padding-bottom: 15px;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  border-radius: 2px;
}

.section-subtitle {
  color: #666;
  font-size: 1.1rem;
}

.service-box {
  background: #ffffff;
  border: 1px solid #dbeafe;
  border-radius: 12px;
  padding: 25px 10px;
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.service-box i {
  font-size: 30px;
  color: var(--primary);
  margin-bottom: 10px;
}

.service-box p {
  font-size: 14px;
  margin: 0;
  color: #333;
}

.service-box:hover {
  background: #ffffff;
  transform: translateY(-6px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

@media (max-width: 768px) {
  .service-box {
    padding: 20px 8px;
  }

  .service-box i {
    font-size: 24px;
  }

  .service-box p {
    font-size: 13px;
  }
}

.patient-card {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  max-height: 350px;
  display: flex;
}

.testi_video_wrapper {
  position: relative;
}

.video-thumbnail {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 12px;
}

.play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 55px;
  height: 55px;
  background: rgba(0, 0, 0, 0.6);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 18px;
  cursor: pointer;
  transition: 0.3s;
}

.play-btn:hover {
  background: #ff0000;
  transform: translate(-50%, -50%) scale(1.1);
}

.video-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
}

.video-modal-content {
  position: relative;
  width: 90%;
  max-width: 400px;
  margin: 80px auto;
}

.video-modal iframe {
  width: 100%;
  height: 500px;
  border-radius: 12px;
}

.close-video {
  position: absolute;
  top: -30px;
  right: 0;
  color: #fff;
  font-size: 28px;
  cursor: pointer;
}

@media (max-width: 786px) {
  .patient-card {
    display: flex;
    align-items: center;
    justify-content: center;
  }
}
/* Gallery */
.gallery-item {
  display: block;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  transition: all 0.4s ease;
}

.gallery-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(60, 189, 234, 0.15);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.08);
}

#gallery .gallery-item {
  margin-bottom: 0;
}

.services-section .plan-card {
  border-radius: 18px;
  padding: 30px 25px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.05);
  transition: all 0.35s ease;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Hover */
.services-section .plan-card:hover {
  transform: translateY(-10px);
}

/* Icon */
.services-section .plan-icon {
  width: 75px;
  height: 75px;
  margin: 0 auto 15px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  color: #fff;
  transition: 0.3s ease;
}

/* Icon hover */
.services-section .plan-card:hover .plan-icon {
  transform: scale(1.15) rotate(6deg);
}

/* Title */
.services-section .plan-title {
  font-weight: 600;
  margin-bottom: 15px;
}

/* Features */
.services-section .plan-features {
  list-style: none;
  padding: 0;
  margin: 0;
}

.services-section .plan-features li {
  margin-bottom: 10px;
  font-size: 15px;
  color: #555;
}

/* Highlight */
.services-section .plan-highlight {
  border: 2px solid var(--secondary);
}

/* Subtle shine effect */
.services-section .plan-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(13, 110, 253, 0.08),
    transparent
  );
  transition: 0.5s;
}

.services-section .plan-card:hover::before {
  left: 100%;
}

@media (max-width: 768px) {
  .pricing-section .plan-price {
    font-size: 30px;
  }

  .pricing-section .plan-highlight {
    transform: scale(1);
  }
}

/*  Testimonials  */
.testimonial-owl-carousel .testimonial-card {
  background: white;
  border-radius: 24px;
  padding: 40px 35px 35px;
  margin: 10px 5px;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.testimonial-owl-carousel .testimonial-card:hover {
  transform: translateY(-8px);
}

.testimonial-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
}

.testimonial-quote {
  font-size: 4.5rem;
  font-weight: 700;
  line-height: 1;
  color: var(--primary);
  opacity: 0.15;
  position: absolute;
  top: 20px;
  left: 35px;
  user-select: none;
}

.testimonial-text {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #444;
  margin-bottom: 30px;
  position: relative;
  z-index: 2;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 15px;
}

.author-avatar {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--primary);
  flex-shrink: 0;
}

.author-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonial-author strong {
  display: block;
  color: var(--primary);
  font-size: 1.1rem;
}

.testimonial-author span {
  font-size: 0.95rem;
  color: #777;
}

/*  Footer  */
.site-footer {
  background: var(--primary);
  color: white;
  padding: 60px 0 30px;
}

.footer-logo img {
  max-height: 100px;
  filter: brightness(0) invert(1);
}

.footer-heading {
  color: white;
  font-weight: 600;
  margin-bottom: 20px;
  font-size: 1.1rem;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-links a:hover {
  color: white;
  padding-left: 5px;
}

.contact-info p {
  margin-bottom: 8px;
  font-size: 0.95rem;
}

.contact-info a {
  color: white;
  text-decoration: none;
}

.contact-info a:hover {
  text-decoration: underline;
}

.footer-divider {
  border: 1px solid rgb(255, 255, 255);
}

.copyright {
  font-size: 0.9rem;
  opacity: 0.9;
}

@media (max-width: 767px) {
  .site-footer {
    padding: 50px 0 30px;
  }
}
