/* ============================================
   NAVELI HOSPITAL - Custom Stylesheet
   Bootstrap 5 Override + Brand Styles
   CouchCMS-Ready Structure
   ============================================ */

/* ---------- Google Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;600;700&family=Poppins:wght@400;500;600;700&display=swap');

/* ---------- CSS Variables (Brand) ---------- */
:root {
  --primary:       #815A9B;
  --primary-dark:  #6A4580;
  --secondary:     #D1CE79;
  --accent:        #F9B270;
  --bg-light:      #F8F6FB;
  --bg-white:      #FFFFFF;
  --text-primary:  #2D2D2D;
  --text-secondary:#666666;
  --border-light:  #E8E0EE;
  --footer-bg:     #2D2D2D;
  --footer-text:   #CCCCCC;
  --copyright-bg:  #222222;
  --whatsapp:      #25D366;
  --gradient:      linear-gradient(135deg, #815A9B, #A07AB8);
  --shadow-card:   0 4px 20px rgba(0,0,0,0.08);
  --shadow-hover:  0 8px 30px rgba(0,0,0,0.14);
  --radius:        12px;
  --radius-btn:    25px;
  --transition:    all 0.3s ease;
}

/* ---------- Base Reset ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: 'Open Sans', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-primary);
  background: var(--bg-white);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  line-height: 1.3;
  color: var(--text-primary);
}
h1 { font-size: 42px; font-weight: 700; }
h2 { font-size: 34px; }
h3 { font-size: 24px; }
h4 { font-size: 20px; font-weight: 500; }

p { margin-bottom: 1rem; color: var(--text-secondary); }

a {
  color: var(--primary);
  text-decoration: none;
  transition: var(--transition);
}
a:hover { color: var(--accent); }

img { max-width: 100%; height: auto; }

/* ---------- Utility Classes ---------- */
.section-padding { padding: 80px 0; }
.section-padding-sm { padding: 60px 0; }
.bg-light-purple { background-color: var(--bg-light); }
.bg-primary-gradient { background: var(--gradient); }
.bg-primary-solid { background-color: var(--primary); }
.text-accent { color: var(--accent) !important; }
.text-primary-brand { color: var(--primary) !important; }

.section-tag {
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent);
  margin-bottom: 10px;
  display: inline-block;
}

.section-title {
  margin-bottom: 20px;
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: var(--accent);
  margin-top: 15px;
}

.section-title.text-center::after {
  margin-left: auto;
  margin-right: auto;
}

.section-desc {
  max-width: 650px;
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 1.8;
}
.section-desc.mx-auto { margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */
.btn-accent {
  background-color: var(--accent);
  color: #fff;
  border: none;
  border-radius: var(--radius-btn);
  padding: 12px 30px;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 15px;
  transition: var(--transition);
  display: inline-block;
}
.btn-accent:hover {
  background-color: #e89d55;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(249,178,112,0.4);
}

.btn-primary-brand {
  background-color: var(--primary);
  color: #fff;
  border: none;
  border-radius: var(--radius-btn);
  padding: 12px 30px;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 15px;
  transition: var(--transition);
  display: inline-block;
}
.btn-primary-brand:hover {
  background-color: var(--primary-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(129,90,155,0.4);
}

.btn-outline-white {
  background: transparent;
  color: #fff;
  border: 2px solid #fff;
  border-radius: var(--radius-btn);
  padding: 10px 28px;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 15px;
  transition: var(--transition);
  display: inline-block;
}
.btn-outline-white:hover {
  background: #fff;
  color: var(--primary);
}

.btn-outline-primary {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
  border-radius: var(--radius-btn);
  padding: 10px 28px;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 15px;
  transition: var(--transition);
  display: inline-block;
}
.btn-outline-primary:hover {
  background: var(--primary);
  color: #fff;
}

/* ---------- Top Bar ---------- */
.top-bar {
  background-color: var(--primary);
  color: #fff;
  padding: 8px 0;
  font-size: 14px;
}
.top-bar a { color: #fff; }
.top-bar a:hover { color: var(--accent); }
.top-bar .social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  margin-left: 8px;
  font-size: 14px;
}
.top-bar .social-icons a:hover { background: var(--accent); }

/* ---------- Main Header / Navbar ---------- */
.main-header {
  background: var(--bg-white);
  border-bottom: 1px solid var(--border-light);
  position: sticky;
  top: 0;
  z-index: 1050;
  transition: var(--transition);
}
.main-header.scrolled {
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
}
.main-header .navbar-brand img { max-height: 96px; }
.main-header .nav-link {
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  font-size: 12px;
  color: var(--text-primary) !important;
  padding: 10px 15px !important;
  transition: var(--transition);
}
.main-header .nav-link:hover,
.main-header .nav-link.active { color: var(--primary) !important; }

.main-header .dropdown-menu {
  border: none;
  box-shadow: var(--shadow-card);
  border-left: 3px solid var(--primary);
  border-radius: 0 8px 8px 0;
  padding: 10px 0;
  animation: fadeIn 0.2s ease;
}
.main-header .dropdown-item {
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  padding: 8px 20px;
  transition: var(--transition);
}
.main-header .dropdown-item:hover {
  background: var(--bg-light);
  color: var(--primary);
  padding-left: 25px;
}

.header-cta .btn-accent { padding: 8px 24px; font-size: 14px; }

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-5px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---------- Hero Slider ---------- */
.hero-section {
  position: relative;
  min-height: 85vh;
  overflow: hidden;
}
.hero-section .carousel-item {
  min-height: 85vh;
  background-size: cover;
  background-position: center;
  position: relative;
}
.hero-section .carousel-item::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(129,90,155,0.7), rgba(45,45,45,0.5));
}
.hero-section .carousel-caption {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  bottom: auto;
  text-align: left;
  padding: 0 15%;
}
.hero-section .carousel-caption h1 {
  color: #fff;
  font-size: 50px;
  font-weight: 700;
  margin-bottom: 15px;
  text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}
.hero-section .carousel-caption p {
  color: rgba(255,255,255,0.9);
  font-size: 18px;
  max-width: 600px;
  margin-bottom: 30px;
}
.hero-section .carousel-indicators [data-bs-target] {
  width: 12px; height: 12px;
  border-radius: 50%;
  border: 2px solid #fff;
  background: transparent;
  opacity: 0.6;
}
.hero-section .carousel-indicators .active {
  background: var(--accent);
  border-color: var(--accent);
  opacity: 1;
}

/* ---------- Trust Badges ---------- */
.trust-badges {
  background-color: var(--bg-light);
  padding: 30px 0;
}
.trust-badge-item {
  text-align: center;
  padding: 15px;
}
.trust-badge-item .badge-icon {
  font-size: 40px;
  color: var(--primary);
  margin-bottom: 10px;
}
.trust-badge-item .badge-number {
  font-family: 'Poppins', sans-serif;
  font-size: 36px;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
}
.trust-badge-item .badge-label {
  font-size: 14px;
  color: var(--text-secondary);
  margin-top: 5px;
}

/* ---------- About Section ---------- */
.about-section .about-image-wrapper {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
}
.about-section .about-image-wrapper img {
  border-radius: var(--radius);
  width: 100%;
  object-fit: cover;
}
.about-section .about-badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: var(--accent);
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 14px;
  padding: 8px 20px;
  border-radius: var(--radius-btn);
}
.about-section .about-border-accent {
  border-bottom: 4px solid var(--primary);
}

/* ---------- Service Cards ---------- */
.service-card {
  background: var(--bg-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 30px 25px;
  text-align: center;
  transition: var(--transition);
  height: 100%;
  border: 1px solid var(--border-light);
}
.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}
.service-card .service-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: var(--bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 30px;
  color: var(--primary);
  transition: var(--transition);
}
.service-card:hover .service-icon {
  background: var(--primary);
  color: #fff;
}
.service-card h4 {
  margin-bottom: 12px;
  font-size: 18px;
}
.service-card p {
  font-size: 14px;
  margin-bottom: 15px;
}
.service-card .card-link {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 14px;
  color: var(--primary);
}
.service-card .card-link:hover { color: var(--accent); }

/* Service card on light bg */
.service-card-light {
  background: var(--bg-light);
  border: none;
}

/* ---------- Why Choose Us ---------- */
.why-choose .why-item {
  display: flex;
  gap: 15px;
  margin-bottom: 25px;
}
.why-choose .why-icon {
  width: 55px;
  height: 55px;
  min-width: 55px;
  border-radius: 50%;
  background: var(--bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: var(--primary);
}
.why-choose .why-text h4 { font-size: 18px; margin-bottom: 5px; }
.why-choose .why-text p { font-size: 14px; margin: 0; }

/* ---------- Testimonial Card ---------- */
.testimonial-card {
  background: var(--bg-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 30px;
  position: relative;
  border: 1px solid var(--border-light);
}
.testimonial-card .quote-icon {
  font-size: 40px;
  color: var(--primary);
  opacity: 0.2;
  position: absolute;
  top: 15px;
  right: 20px;
}
.testimonial-card .stars { color: var(--accent); margin-bottom: 15px; }
.testimonial-card .testimonial-text {
  font-size: 15px;
  font-style: italic;
  color: var(--text-secondary);
  margin-bottom: 20px;
  line-height: 1.8;
}
.testimonial-card .patient-name {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 16px;
  color: var(--text-primary);
}
.testimonial-card .treatment-type {
  font-size: 13px;
  color: var(--primary);
}

/* ---------- FAQ Accordion ---------- */
.faq-section .accordion-item {
  border: 1px solid var(--border-light);
  border-radius: var(--radius) !important;
  margin-bottom: 12px;
  overflow: hidden;
}
.faq-section .accordion-button {
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  font-size: 16px;
  color: var(--text-primary);
  padding: 18px 25px;
  background: var(--bg-white);
  box-shadow: none !important;
}
.faq-section .accordion-button:not(.collapsed) {
  background: var(--bg-light);
  color: var(--primary);
}
.faq-section .accordion-button::after {
  background-image: none;
  content: '\f078';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  font-size: 12px;
  color: var(--primary);
  transition: var(--transition);
}
.faq-section .accordion-button:not(.collapsed)::after {
  transform: rotate(180deg);
}
.faq-section .accordion-body {
  padding: 20px 25px;
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.8;
}

/* ---------- Contact Section ---------- */
.contact-section .form-control,
.contact-section .form-select {
  border: 1px solid var(--border-light);
  border-radius: 8px;
  padding: 12px 18px;
  font-size: 15px;
  transition: var(--transition);
}
.contact-section .form-control:focus,
.contact-section .form-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(129,90,155,0.15);
}
.contact-section .contact-info-item {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
}
.contact-section .contact-info-icon {
  width: 45px;
  height: 45px;
  min-width: 45px;
  border-radius: 50%;
  background: var(--bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 18px;
}

/* ---------- CTA Banner ---------- */
.cta-banner {
  background: var(--gradient);
  padding: 60px 0;
  text-align: center;
}
.cta-banner h2 { color: #fff; margin-bottom: 15px; }
.cta-banner p { color: rgba(255,255,255,0.85); max-width: 550px; margin: 0 auto 25px; }

/* ---------- Page Hero (Inner Pages) ---------- */
.page-hero {
  background-size: cover;
  background-position: center;
  position: relative;
  padding: 100px 0 60px;
  min-height: 40vh;
  display: flex;
  align-items: center;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(129,90,155,0.8), rgba(45,45,45,0.6));
}
.page-hero h1 { color: #fff; margin-bottom: 10px; }
.page-hero .breadcrumb { margin: 0; }
.page-hero .breadcrumb-item,
.page-hero .breadcrumb-item a { color: rgba(255,255,255,0.8); font-size: 14px; }
.page-hero .breadcrumb-item.active { color: var(--accent); }
.page-hero .breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,0.5); }

/* ---------- Sidebar (Service Detail) ---------- */
.sidebar-widget {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 25px;
  margin-bottom: 25px;
  box-shadow: var(--shadow-card);
}
.sidebar-widget h4 { font-size: 18px; margin-bottom: 20px; position: relative; padding-bottom: 12px; }
.sidebar-widget h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background: var(--accent);
}
.sidebar-widget .service-list { list-style: none; padding: 0; margin: 0; }
.sidebar-widget .service-list li { border-bottom: 1px solid var(--border-light); }
.sidebar-widget .service-list li:last-child { border: none; }
.sidebar-widget .service-list li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 5px;
  font-size: 14px;
  color: var(--text-secondary);
  transition: var(--transition);
}
.sidebar-widget .service-list li a:hover,
.sidebar-widget .service-list li a.active {
  color: var(--primary);
  padding-left: 10px;
}

/* ---------- Procedure Steps ---------- */
.procedure-step {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
}
.procedure-step .step-number {
  width: 50px;
  height: 50px;
  min-width: 50px;
  border-radius: 50%;
  background: var(--gradient);
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.procedure-step h4 { margin-bottom: 5px; font-size: 18px; }
.procedure-step p { margin: 0; font-size: 14px; }

/* ---------- Footer ---------- */
.site-footer {
  background-color: var(--footer-bg);
  color: var(--footer-text);
  padding: 60px 0 0;
}
.site-footer h5 {
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 12px;
}
.site-footer h5::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 35px;
  height: 3px;
  background: var(--accent);
}
.site-footer p { color: var(--footer-text); font-size: 14px; }
.site-footer a { color: var(--footer-text); font-size: 14px; }
.site-footer a:hover { color: var(--accent); }
.site-footer .footer-links { list-style: none; padding: 0; margin: 0; }
.site-footer .footer-links li { margin-bottom: 10px; }
.site-footer .footer-links li a { display: flex; align-items: center; gap: 8px; }
.site-footer .footer-contact-item {
  display: flex;
  gap: 12px;
  margin-bottom: 15px;
  align-items: flex-start;
}
.site-footer .footer-contact-item i {
  color: var(--accent);
  margin-top: 4px;
  min-width: 16px;
}
.site-footer .footer-social a {
  display: inline-flex;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  align-items: center;
  justify-content: center;
  margin-right: 8px;
  font-size: 16px;
  color: #fff;
}
.site-footer .footer-social a:hover { background: var(--accent); }

.copyright-bar {
  background: var(--copyright-bg);
  text-align: center;
  padding: 15px 0;
  margin-top: 40px;
  font-size: 13px;
  color: var(--footer-text);
}

/* ---------- Floating Buttons ---------- */
.floating-actions {
  position: fixed;
  bottom: 30px;
  right: 25px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.floating-actions .float-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 24px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  transition: var(--transition);
  border: none;
  cursor: pointer;
}
.float-btn-whatsapp { background: var(--whatsapp); }
.float-btn-call { background: var(--primary); }
.float-btn:hover { transform: scale(1.1); }

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(37,211,102,0.5); }
  70% { box-shadow: 0 0 0 15px rgba(37,211,102,0); }
  100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}
.float-btn-whatsapp { animation: pulse 3s infinite; }

/* ---------- Mobile Bottom Bar ---------- */
.mobile-bottom-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9998;
  background: var(--primary);
}
.mobile-bottom-bar a {
  flex: 1;
  text-align: center;
  color: #fff;
  padding: 12px 0;
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
  font-weight: 600;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  border-right: 1px solid rgba(255,255,255,0.15);
}
.mobile-bottom-bar a:last-child { border: none; }
.mobile-bottom-bar a i { font-size: 18px; }
.mobile-bottom-bar a.whatsapp-bar { background: var(--whatsapp); }
.mobile-bottom-bar a.book-bar { background: var(--accent); }

/* ---------- Bariatric Highlight Section ---------- */
.bariatric-hero {
  background: var(--gradient);
  position: relative;
  padding: 80px 0;
  overflow: hidden;
}
.bariatric-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
}
.bariatric-hero .section-tag { color: var(--secondary); }
.bariatric-hero h2 { color: #fff; }
.bariatric-hero h2::after { background: var(--accent); }
.bariatric-hero p { color: rgba(255,255,255,0.85); }

.bariatric-service-item {
  text-align: center;
  padding: 12px 8px;
  transition: var(--transition);
  border-radius: 10px;
  cursor: pointer;
}
.bariatric-service-item:hover,
.bariatric-service-item.active {
  background: rgba(255,255,255,0.1);
}
.bariatric-service-item a {
  display: block;
  color: #fff;
  text-decoration: none;
}
.bariatric-service-item .bari-img {
  width: 70px;
  height: 70px;
  border-radius: 12px;
  object-fit: cover;
  border: 3px solid rgba(255,255,255,0.3);
  margin: 0 auto 10px;
  transition: var(--transition);
}
.bariatric-service-item:hover .bari-img,
.bariatric-service-item.active .bari-img {
  border-color: var(--accent);
  transform: scale(1.05);
  box-shadow: 0 4px 15px rgba(249,178,112,0.4);
}
.bariatric-service-item .bari-title {
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: #fff;
  line-height: 1.4;
}
.bariatric-service-item.active .bari-title {
  color: var(--accent);
}
.bariatric-center-wrapper {
  position: relative;
}
.bariatric-center-img {
  border-radius: var(--radius);
  box-shadow: 0 10px 40px rgba(0,0,0,0.3);
  max-height: 550px;
  object-fit: cover;
  width: 100%;
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.bariatric-center-title {
  font-family: 'Poppins', sans-serif;
  font-size: 20px;
  font-weight: 600;
  color: #fff;
  margin-top: 15px;
}

/* ---------- Image Service Cards ---------- */
.service-card-img {
  background: var(--bg-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: var(--transition);
  height: 100%;
  border: 1px solid var(--border-light);
}
.service-card-img:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}
.service-card-img .card-img-top {
  height: 300px;
  object-fit: cover;
  width: 100%;
  transition: var(--transition);
}
.service-card-img:hover .card-img-top {
  transform: scale(1.05);
}
.service-card-img .card-img-wrapper {
  overflow: hidden;
  position: relative;
}
.service-card-img .card-img-wrapper .card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 50%, rgba(129,90,155,0.15));
  opacity: 0;
  transition: var(--transition);
}
.service-card-img:hover .card-overlay { opacity: 1; }
.service-card-img .card-body {
  padding: 20px;
  text-align: center;
}
.service-card-img .card-body h4 {
  font-size: 17px;
  margin-bottom: 8px;
}
.service-card-img .card-body p {
  font-size: 13px;
  margin-bottom: 12px;
  line-height: 1.6;
}

/* ---------- YouTube Video Section ---------- */
.video-section { background: var(--bg-light); }
.video-card {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  background: var(--bg-white);
  transition: var(--transition);
}
.video-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}
.video-card .video-wrapper {
  position: relative;
  padding-bottom: 177.78%;
  height: 0;
  overflow: hidden;
}
.video-card .video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}
.video-card .video-info {
  padding: 15px 18px;
}
.video-card .video-info h5 {
  font-family: 'Poppins', sans-serif;
  font-size: 15px;
  font-weight: 600;
  margin: 0;
  color: var(--text-primary);
}
.video-card .video-info p {
  font-size: 13px;
  margin: 5px 0 0;
  color: var(--text-secondary);
}

/* ---------- Responsive ---------- */
@media (max-width: 991.98px) {
  h1 { font-size: 32px; }
  h2 { font-size: 26px; }
  h3 { font-size: 20px; }
  .section-padding { padding: 50px 0; }
  .hero-section .carousel-item { min-height: 65vh; }
  .hero-section .carousel-caption { padding: 0 8%; }
  .hero-section .carousel-caption h1 { font-size: 36px; }
  .header-cta { display: none !important; }
  .bariatric-service-item .bari-img { width: 75px; height: 75px; }
  .bariatric-service-item .bari-title { font-size: 12px; }
  .bariatric-center-title { font-size: 17px; }
  .service-card-img .card-img-top { height: 170px; }
}

@media (max-width: 767.98px) {
  h1 { font-size: 28px; }
  h2 { font-size: 24px; }
  .section-padding { padding: 40px 0; }
  .hero-section .carousel-item { min-height: 60vh; }
  .hero-section .carousel-caption { padding: 0 5%; text-align: center; }
  .hero-section .carousel-caption h1 { font-size: 30px; }
  .hero-section .carousel-caption p { font-size: 15px; margin-left: auto; margin-right: auto; }
  .floating-actions { display: none; }
  .mobile-bottom-bar { display: flex; }
  body { padding-bottom: 60px; }
  .page-hero { min-height: 30vh; padding: 80px 0 40px; }
  .bariatric-hero { padding: 50px 0; }
  .bariatric-service-item .bari-img { width: 60px; height: 60px; }
  .bariatric-center-img { max-height: 280px; margin-bottom: 15px; }
  .bariatric-center-title { font-size: 15px; }
  .service-card-img .card-img-top { height: 150px; }
}

@media (max-width: 575.98px) {
  .hero-section .carousel-caption h1 { font-size: 24px; }
  .hero-section .carousel-caption p { font-size: 14px; }
  .trust-badge-item .badge-number { font-size: 28px; }
  .section-title { font-size: 22px; }
  .section-desc { font-size: 14px; }

  /* Bariatric mobile: stack vertically */
  .bariatric-hero .row { flex-direction: column; }
  .bariatric-hero .col-lg-3 {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 5px;
  }
  .bariatric-service-item {
    width: 30%;
    padding: 8px 4px;
  }
  .bariatric-service-item .bari-img { width: 50px; height: 50px; border-radius: 8px; }
  .bariatric-service-item .bari-title { font-size: 10px; }
  .bariatric-center-img { max-height: 250px; }
  .bariatric-center-title { font-size: 14px; }

  /* Service cards mobile */
  .service-card-img .card-img-top { height: 130px; }
  .service-card-img .card-body h4 { font-size: 14px; }
  .service-card-img .card-body p { font-size: 12px; }

  /* Doctor cards mobile */
  .doctor-img-wrapper { height: 250px; }
  .doctor-info { padding: 15px 12px 20px; }
  .doctor-info h3 { font-size: 18px; }
  .doctor-title { font-size: 13px; }
  .doctor-degree { font-size: 12px; }
  .specialty-tag { font-size: 11px; padding: 4px 10px; }

  /* Before & After mobile */
  .result-card img { width: 100%; height: 300px; }

  /* Video cards mobile */
  .video-info h5 { font-size: 14px; }
  .video-info p { font-size: 12px; }

  /* Testimonials mobile */
  .testimonial-text { font-size: 14px; }

  /* Contact section mobile */
  .contact-info-item { padding: 12px; }

  /* Why Choose mobile */
  .why-item .why-text h4 { font-size: 16px; }
  .why-item .why-text p { font-size: 13px; }

  /* About mobile */
  .about-section .about-image-wrapper { margin-bottom: 20px; }

  /* Footer mobile */
  .site-footer h5 { font-size: 16px; }
  .footer-links li a { font-size: 13px; }

  /* Top bar hidden already, logo sizing */
  .main-header .navbar-brand img { max-height: 80px; }

  /* Mobile bottom bar text */
  .mobile-bottom-bar a { font-size: 12px; }
}


/* ---------- Doctors Section ---------- */
.doctors-section {
  background: var(--bg-white);
}

.doctor-card {
  background: var(--bg-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: var(--transition);
  text-align: center;
}

.doctor-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-5px);
}

.doctor-img-wrapper {
  position: relative;
  overflow: hidden;
  height: 380px;
  background: linear-gradient(160deg, #E8E0EE 0%, #D4C4E0 40%, #A07AB8 100%);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  border-radius: var(--radius) var(--radius) 0 0;
}

.doctor-img-wrapper::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 50% 30%, rgba(255,255,255,0.25) 0%, transparent 60%);
  z-index: 1;
}

.doctor-img-wrapper img {
  position: relative;
  z-index: 2;
  width: 85%;
  height: 95%;
  object-fit: contain;
  object-position: bottom center;
  transition: transform 0.4s ease;
  filter: drop-shadow(0 8px 20px rgba(0,0,0,0.15));
}

.doctor-card:hover .doctor-img-wrapper img {
  transform: scale(1.05) translateY(-5px);
}

.doctor-info {
  padding: 25px 20px 30px;
}

.doctor-info h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 5px;
}

.doctor-title {
  font-family: 'Poppins', sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 3px;
}

.doctor-degree {
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 15px;
}

.doctor-specialties {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.specialty-tag {
  display: inline-block;
  background: var(--bg-light);
  color: var(--primary);
  font-size: 12px;
  font-weight: 600;
  padding: 5px 14px;
  border-radius: 20px;
  border: 1px solid var(--border-light);
}

/* ---------- Result Cards ---------- */
.result-card {
  transition: var(--transition);
}

.result-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-3px);
}

.result-card img {
  width: 315px;
  height: 400px;
  object-fit: cover;
  margin: 0 auto;
  display: block;
}

/* ---------- Doctors Responsive ---------- */
@media (max-width: 767.98px) {
  .doctor-img-wrapper { height: 280px; }
  .doctor-info h3 { font-size: 20px; }
  .result-card img { width: 100%; height: auto; }
}