/* banner */
.video-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}

/* Services Updated */
.aon-med-srv-cat-area {
  background-color: #f5f8fc;
  padding: 80px 0;
}

.aon-med-sevices-cat {
  background: #ffffff;
  border-radius: 14px;
  padding: 25px 20px;
  border: 1px solid #e6edf5;
  transition: all 0.3s ease;
}

.aon-med-sevices-cat:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
  border-color: #0d6efd;
}

.aon-icon img {
  transition: transform 0.3s ease;
}

.aon-med-sevices-cat:hover .aon-icon img {
  transform: scale(1.1);
}

.aon-med-srv-cat-section ul {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  padding-left: 0;
}

.aon-med-srv-cat-section li {
  list-style: none;
}

.aon-med-srv-cat-section ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 25px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.aon-med-srv-cat-section ul li {
  width: 250px;
  /* 👈 adjust as needed */
  display: flex;
}

.aon-med-sevices-cat {
  background: #fff;
  border-radius: 16px;
  padding: 25px 20px;
  width: 100%;
  height: 100%;
  /* 👈 key line */

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
}

.aon-med-serices-cat-info h4 {
  text-align: center;
  min-height: 48px;
  /* 👈 keeps titles aligned */
}

@media (max-width: 768px) {
  .aon-med-srv-cat-section ul li {
    width: 100%;
    max-width: 300px;
  }
}

/* Service Card Animation */
.aon-med-sevices-cat {
  transition: all 0.4s ease;
  transform: translateY(0);
}

.aon-med-sevices-cat:hover {
  transform: translateY(-12px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
}

/* Icon animation */
.aon-med-sevices-cat .aon-icon img {
  transition: transform 0.4s ease;
}

.aon-med-sevices-cat:hover .aon-icon img {
  transform: scale(1.15) rotate(5deg);
}

.aon-med-srv-cat-section li {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.7s ease;
}

.aon-med-srv-cat-section li.show {
  opacity: 1;
  transform: translateY(0);
}

.aon-icon {
  position: relative;
}

.aon-icon::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  background: rgba(0, 132, 255, 0.15);
  opacity: 0;
  transform: scale(0.8);
  transition: all 0.4s ease;
}

.aon-med-sevices-cat:hover .aon-icon::after {
  opacity: 1;
  transform: scale(1.2);
}
/* Mobile view only */
@media (max-width: 767px) {
  .aon-med-srv-cat-section ul {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 items per row */
    gap: 16px;
    padding: 0 10px;
    justify-content: center;
  }

  .aon-med-srv-cat-section ul li {
    width: 100%;
  }

  .aon-med-sevices-cat {
    padding: 18px 12px;
    text-align: center;
    height: 100%;
  }

  .aon-med-sevices-cat .media {
    justify-content: center;
  }

  .aon-med-sevices-cat .aon-icon img {
    max-width: 50px;
    height: auto;
  }

  .aon-med-serices-cat-info h4 {
    font-size: 14px;
    line-height: 1.4;
    margin-top: 8px;
  }

  .aon-addmore-btn-section {
    margin-top: 20px;
    text-align: center;
  }
}

/* FAQ Updated */
.faq-modern {
  padding: 55px 0;
  background:linear-gradient(120deg, #fefefe, #3c60582b);
  font-family: "Inter", sans-serif;
  margin-bottom: 45px;
}

.faq-header {
  text-align: center;
  margin-bottom: 80px;
}

.faq-header span {
  letter-spacing: 0px;
    font-size: 28px;
    font-weight: 700;
    text-transform: capitalize;
    color: #079689;
}

.faq-header h2 {
  font-size: 42px;
  font-weight: 700;
  margin: 16px 0;
}

.faq-header p {
  color: #6b7280;
  font-size: 18px;
}

.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 0px;
  align-items: center;
}

.faq-visual {
  position: relative;
}

.glass-card {
  position: absolute;
  top: -40px;
  left: -40px;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(12px);
  padding: 20px;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
}

.glass-card h3 {
  font-size: 28px;
  margin-bottom: 6px;
}

/* .faq-visual img {
  width: 100%;
  max-width: 420px;
} */

.faq-item {
  border-bottom: 1px solid #e5e7eb;
  padding: 24px 0;
}

.faq-item button {
  all: unset;
  display: flex;
  justify-content: space-between;
  width: 100%;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
}

.faq-item i {
  font-style: normal;
  font-size: 26px;
  transition: transform 0.3s ease;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  color: #4b5563;
  line-height: 1.7;
  transition: max-height 0.4s ease;
  padding-right: 40px;
}

.faq-item.active .faq-answer {
  max-height: 160px;
  margin-top: 14px;
}

.faq-item.active i {
  transform: rotate(45deg);
}

.faq-header h2 {
  font-size: clamp(32px, 4vw, 42px);
}

/* .faq-grid {
  grid-template-columns: repeat(2, 1fr);
} */

/* FAQ item hover + active feel */
.faq-item {
  transition:
    background 0.3s ease,
    padding 0.3s ease;
}

.faq-item:hover {
  background: #f9fafb;
  padding-left: 12px;
  padding-right: 12px;
  border-radius: 12px;
}

/* Icon polish */
.faq-item i {
  color: #9ca3af;
}

.faq-item.active i {
  color: #0d6efd;
}

/* Smooth height animation */
.faq-answer {
  max-height: 0;
  opacity: 0;
  transition:
    max-height 0.4s ease,
    opacity 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  opacity: 1;
}

/* Floating image effect */
.faq-visual img {
  border-radius: 28px;
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-12px);
  }

  100% {
    transform: translateY(0);
  }
}

/* Glass card enhancement */
.glass-card {
  border: 1px solid rgba(255, 255, 255, 0.4);
  z-index: 1;
}

/* Mobile improvements */
@media (max-width: 900px) {
  .faq-grid {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .faq-visual {
    text-align: center;
  }

  .glass-card {
    position: relative;
    top: 0;
    left: 0;
    margin-bottom: 20px;
    display: inline-block;
  }
}

/* Testimonial */
/* Card */
.testimonial-card-luxury {
  background: #ffffff;
  border-radius: 12px;
  padding: 24px 22px 26px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.08);
  position: relative;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  height: 100%;
}

.testimonial-card-luxury:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.12);
}

/* Quote Icon */
.quote-mark {
  position: absolute;
  top: 14px;
  right: 18px;
  font-size: 48px;
  color: #f1f3f4;
  font-family: Georgia, serif;
}

/* Avatar (Google style) */
.testimonial-avatar-luxury {
  width: 62px;
  height: 62px;
  background: #d9e4f2;
  color: #ffffff;
  border-radius: 50%;
  font-size: 22px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

/* Comment */
.testimonial-text-luxury {
  font-size: 15px;
  color: #3c4043;
  line-height: 1.6;
  margin-bottom: 14px;
}

/* Divider */
.luxury-divider {
  height: 1px;
  background: #e8eaed;
  margin: 12px 0;
}

/* Name */
.testimonial-name-luxury {
  font-size: 15px;
  font-weight: 600;
  color: #202124;
  margin-bottom: 6px;
}

/* Stars */
.testimonial-stars-luxury {
  font-size: 16px;
  color: #fbbc04; /* Google star yellow */
  letter-spacing: 1px;
}

/* Owl spacing */
.aon-med-testimonial .item {
  padding: 15px;
}

/* ===========================
   RESPONSIVE MEDIA QUERIES
   =========================== */
.testimonial-swiper {
  width: 100%;
  max-width: 1200px; /* desktop cap */
  margin: 0 auto;
}

/* Large desktops (≥1200px) */
@media (min-width: 1200px) {
  .testimonial-swiper {
    max-width: 1100px;
  }
}

/* Laptops / small desktops (992px – 1199px) */
@media (max-width: 1199px) {
  .testimonial-swiper {
    max-width: 960px;
  }
}

/* Tablets landscape (768px – 991px) */
@media (max-width: 991px) {
  .testimonial-swiper {
    max-width: 720px;
  }
}

/* Tablets portrait & large phones (576px – 767px) */
@media (max-width: 767px) {
  .testimonial-swiper {
    max-width: 100%;
    padding: 0 15px;
  }
}

/* Small phones (≤575px) */
@media (max-width: 575px) {
  .testimonial-swiper {
    max-width: 100%;
    padding: 0 10px;
  }
}

/* About Section - Home Page */
/* Background */
.doctor-premium-section {
  padding: 50px 0;
  background: linear-gradient(to top, rgb(255 195 68), rgb(207 170 100));
}

/* Image */
.premium-image-box {
  position: relative;
  border-radius: 26px;
  overflow: hidden;
  box-shadow: 0 35px 70px rgba(0, 0, 0, 0.18);
  transition: transform 0.6s ease;
}

.premium-image-box img {
  width: 100%;
  transform: scale(1.03);
}

.premium-image-box:hover {
  transform: translateY(-10px);
}

.image-overlay {
  position: absolute;
  inset: 0;
  /* background: linear-gradient(to top, rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0)); */
}

.premium-badge {
  position: absolute;
  bottom: 22px;
  left: 22px;
  background: rgba(25, 135, 84, 0.9);
  color: #fff;
  padding: 10px 20px;
  border-radius: 30px;
  font-weight: 600;
  letter-spacing: 0.5px;
}

/* Content */
.premium-content {
  padding: 40px;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(14px);
  box-shadow: 0 35px 70px rgba(0, 0, 0, 0.1);
}

/* Tag */
.speciality-tag {
  display: inline-block;
  padding: 8px 18px;
  border-radius: 30px;
  background: linear-gradient(90deg, #198754, #2ecc71);
  color: #fff;
  font-weight: 600;
  margin-bottom: 18px;
}

/* Name */
.doctor-name {
  font-size: 38px;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.doctor-name span {
  color: #198754;
}

/* Intro */
.luxury-intro {
  font-size: 17px;
  color: #444;
  line-height: 1.7;
  margin: 18px 0 28px;
}

/* Points */
.luxury-points div {
  display: flex;
  align-items: center;
  margin-bottom: 12px;
  font-weight: 500;
}

.luxury-points i {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #198754;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 12px;
  font-size: 13px;
}

/* Hospital */
.hospital-info {
  margin-top: 24px;
  font-size: 15px;
  color: #333;
}

/* Buttons */
.cta-group {
  display: flex;
  gap: 10px;
  margin-top: 32px;
}

.btn-luxury {
  background: linear-gradient(135deg, #198754, #2ecc71);
  color: #fff;
  padding: 14px 30px;
  border-radius: 30px;
  font-weight: 600;
  box-shadow: 0 15px 30px rgba(25, 135, 84, 0.35);
  transition: all 0.4s ease;
}

.btn-luxury:hover {
  transform: translateY(-3px);
}

.btn-outline-luxury {
  border: 2px solid #198754;
  color: #198754;
  padding: 14px 30px;
  border-radius: 30px;
  font-weight: 600;
}

.btn-outline-luxury:hover {
  background: #198754;
  color: #fff;
}

/* Video Section - Home Page */
.video-box {
  border-radius: 14px;
  overflow: hidden;
  background: #000;
}

.video-box iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.video-box {
  transition: transform 0.3s ease;
}

.video-box:hover {
  transform: scale(1.02);
}

/* Blogs */
 /* Horizontal Blog Card Style with Updated Colors */
            .horizontal-blog-card {
                display: flex;
                align-items: center;
                background: #055b53;
                border-radius: 20px;
                overflow: hidden;
                box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
                transition: all 0.3s ease;
                cursor: pointer;
                padding-left: 10px;
            }
            }

            .horizontal-blog-card:hover {
                transform: translateY(-5px);
                box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
            }

            .horizontal-blog-card .card-img {
                flex: 0 0 200px;
                height: 138px;
                overflow: hidden;
                width: 71px;
            }

            .horizontal-blog-card .card-img img {
                width: 100%;
                height: 100%;
                object-fit: cover;
                transition: transform 0.3s ease;
                border-radius: 10px;
            }

            .horizontal-blog-card:hover .card-img img {
                transform: scale(1.07);
            }

            .horizontal-blog-card .card-content {
                padding: 15px 20px;
                flex: 1;
            }

            .horizontal-blog-card .card-title {
                font-size: 18px;
                font-weight: 700;
                color: #023e8a;
                /* deep blue for titles */
                margin-bottom: 6px;
            }

            .horizontal-blog-card .card-title a {
                color: #ff9329;
                text-decoration: none;
            }

            .horizontal-blog-card p {
                font-size: 14px;
                color: #fff;
                /* subtle gray for text */
                line-height: 1.6;
                margin-bottom: 10px;
            }

            .horizontal-blog-card .card-link {
                color: #fff;
                /* bright blue link */
                font-weight: 600;
                text-decoration: none;
                font-size: 14px;
                transition: all 0.3s ease;
            }

            .horizontal-blog-card .card-link:hover {
                color: #0096c7;
                /* hover color */
                text-decoration: underline;
            }

            /* Responsive adjustments */
            @media(max-width:991px) {
                .row.align-items-center {
                    flex-direction: column;
                }

                .horizontal-blog-card {
                    flex-direction: row;
                }

                .horizontal-blog-card .card-img {
                    flex: 0 0 100px;
                    height: 80px;
                }

                .blog-description-image img {
                    height: 300px;
                    margin-bottom: 20px;
                }
            }