/* ============================================================
   DR. SANGEETA PANIGRAHI - Medical Website Stylesheet
   Premium Healthcare UI | Bootstrap 5
   ============================================================ */

@import url("https://fonts.googleapis.com/css2?family=Nunito:wght@300;400;500;600;700;800;900&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&display=swap");

/* ============================================================
   CSS VARIABLES
   ============================================================ */
:root {
  --primary: #1a6bbf;
  --primary-dark: #145299;
  --primary-light: #2d85d4;
  --primary-bg: #eff6ff;
  --secondary: #0d9488;
  --secondary-dark: #0a7a70;
  --secondary-light: #14b8a6;
  --secondary-bg: #f0fdfa;
  --dark: #1e2b5e;
  --dark2: #162044;
  --text-primary: #1e293b;
  --text-secondary: #475569;
  --text-muted: #94a3b8;
  --light-bg: #f8fafc;
  --white: #ffffff;
  --border: #e2e8f0;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 15px 50px rgba(0, 0, 0, 0.15);
  --shadow-primary: 0 8px 25px rgba(26, 107, 191, 0.3);
  --radius-sm: 6px;
  --radius: 12px;
  --radius-md: 16px;
  --radius-lg: 20px;
  --radius-xl: 24px;
  --radius-full: 9999px;
  --transition: all 0.3s ease;
  --font: "Nunito", sans-serif;
}

/* ============================================================
   BASE
   ============================================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}
body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-primary);
  background: var(--white);
  overflow-x: hidden;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font);
  font-weight: 700;
  line-height: 1.3;
  color: var(--dark);
}
a {
  text-decoration: none;
  transition: var(--transition);
}
img {
  max-width: 100%;
  height: auto;
}
section {
  position: relative;
}

/* ============================================================
   UTILITIES
   ============================================================ */
.section-padding {
  padding: 90px 0;
}
.section-padding-sm {
  padding: 55px 0;
}
.bg-light-custom {
  background: var(--light-bg);
}

.section-badge {
  display: inline-block;
  padding: 5px 16px;
  background: var(--primary-bg);
  color: var(--primary);
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.section-badge.teal {
  background: var(--secondary-bg);
  color: var(--secondary);
}

.section-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 14px;
  line-height: 1.2;
}
.section-title span {
  color: var(--primary);
}
.section-title .teal {
  color: var(--secondary);
}

.section-subtitle {
  font-size: 17px;
  color: var(--text-secondary);
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.75;
}

.divider {
  width: 55px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  border-radius: var(--radius-full);
  margin: 14px auto 28px;
}
.divider-left {
  margin: 14px 0 28px;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn-primary-custom {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff;
  padding: 13px 30px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 15px;
  border: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: var(--shadow-primary);
  transition: var(--transition);
  cursor: pointer;
}
.btn-primary-custom:hover {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  box-shadow: 0 12px 30px rgba(26, 107, 191, 0.4);
  transform: translateY(-2px);
  color: #fff;
}

.btn-secondary-custom {
  background: linear-gradient(135deg, var(--secondary), var(--secondary-light));
  color: #fff;
  padding: 13px 30px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 15px;
  border: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 8px 25px rgba(13, 148, 136, 0.3);
  transition: var(--transition);
  cursor: pointer;
}
.btn-secondary-custom:hover {
  background: linear-gradient(135deg, var(--secondary-dark), var(--secondary));
  box-shadow: 0 12px 30px rgba(13, 148, 136, 0.4);
  transform: translateY(-2px);
  color: #fff;
}

.btn-outline-white {
  background: transparent;
  color: #fff;
  padding: 12px 28px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 15px;
  border: 2px solid rgba(255, 255, 255, 0.75);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
}
.btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  border-color: #fff;
  transform: translateY(-2px);
}

.btn-whatsapp {
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: #fff;
  padding: 13px 30px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 15px;
  border: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
}
.btn-whatsapp:hover {
  transform: translateY(-2px);
  color: #fff;
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.45);
}

.btn-call-outline {
  background: transparent;
  color: var(--primary);
  padding: 12px 28px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 15px;
  border: 2px solid var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
}
.btn-call-outline:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-primary);
}

/* ============================================================
   EMERGENCY STRIP
   ============================================================ */
.emergency-strip {
  background: linear-gradient(90deg, #b91c1c, #dc2626, #ef4444);
  color: #fff;
  padding: 9px 0;
  font-size: 13.5px;
  font-weight: 600;
  z-index: 1100;
}
.strip-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.marquee-wrap {
  overflow: hidden;
  flex: 1;
}
.marquee-text {
  display: inline-block;
  white-space: nowrap;
  animation: marquee 28s linear infinite;
}
@keyframes marquee {
  0% {
    transform: translateX(100vw);
  }
  100% {
    transform: translateX(-100%);
  }
}
.strip-contacts {
  display: flex;
  align-items: center;
  gap: 18px;
  white-space: nowrap;
}
.strip-contacts a {
  color: #fff;
  font-weight: 700;
}
.strip-contacts a:hover {
  color: #fde68a;
}

/* ============================================================
   NAVBAR
   ============================================================ */
.main-navbar {
  background: #fff;
  padding: 14px 0;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.07);
  transition: var(--transition);
  z-index: 1050;
}
.main-navbar.scrolled {
  padding: 9px 0;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.12);
}

.nav-brand-logo {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 20px;
  margin-right: 12px;
  flex-shrink: 0;
}
.brand-name {
  font-size: 19px;
  font-weight: 800;
  color: var(--dark);
  line-height: 1.2;
}
.brand-name span {
  color: var(--primary);
}
.brand-tagline {
  font-size: 10.5px;
  color: var(--secondary);
  font-weight: 700;
  letter-spacing: 0.5px;
  display: block;
}

.main-navbar .nav-link {
  color: var(--text-primary) !important;
  font-weight: 600;
  font-size: 14.5px;
  padding: 8px 13px !important;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}
.main-navbar .nav-link:hover,
.main-navbar .nav-link.active {
  color: var(--primary) !important;
  background: var(--primary-bg);
}

.main-navbar .dropdown-menu {
  border: none;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 10px;
  min-width: 220px;
  border-top: 3px solid var(--primary);
}
.main-navbar .dropdown-item {
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  padding: 8px 14px;
  color: var(--text-primary);
  transition: var(--transition);
}
.main-navbar .dropdown-item:hover {
  background: var(--primary-bg);
  color: var(--primary);
}

.nav-appt-btn {
  background: linear-gradient(
    135deg,
    var(--primary),
    var(--primary-light)
  ) !important;
  color: #fff !important;
  padding: 9px 20px !important;
  border-radius: var(--radius-full) !important;
  font-weight: 700 !important;
  box-shadow: var(--shadow-primary);
  margin-left: 8px;
}
.nav-appt-btn:hover {
  background: linear-gradient(
    135deg,
    var(--primary-dark),
    var(--primary)
  ) !important;
  color: #fff !important;
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(26, 107, 191, 0.4) !important;
}
.nav-appt-btn::after {
  display: none !important;
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero-section {
  min-height: 100vh;
  padding: 100px 0 70px;
  background-image: url("../images/hero-bg.jpg");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  display: flex;
  align-items: center;
  overflow: hidden;
  position: relative;
}

/* Dark overlay on top of the background image */
.hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(10, 20, 60, 0.88) 0%,
    rgba(20, 50, 120, 0.8) 40%,
    rgba(13, 100, 180, 0.72) 70%,
    rgba(10, 100, 120, 0.68) 100%
  );
  z-index: 0;
  pointer-events: none;
}

/* .hero-section::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 80px;
  background: linear-gradient(to top, #fff, transparent); pointer-events: none;
  z-index: 1;
} */

.hero-bg-shape {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  background: rgba(255, 255, 255, 0.04);
  z-index: 1;
}
.hero-bg-shape.s1 {
  width: 500px;
  height: 500px;
  top: -150px;
  right: -100px;
}
.hero-bg-shape.s2 {
  width: 300px;
  height: 300px;
  bottom: 50px;
  left: -80px;
}
.hero-bg-shape.s3 {
  width: 200px;
  height: 200px;
  top: 60%;
  right: 15%;
}

.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.13);
  color: rgba(255, 255, 255, 0.95);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: 20px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.hero-label i {
  color: #7dd3fc;
}

.hero-title {
  font-size: clamp(32px, 5vw, 58px);
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 18px;
}
.hero-title span {
  color: #7dd3fc;
}

.hero-subtitle {
  font-size: 17.5px;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 32px;
  max-width: 530px;
  line-height: 1.7;
}

.tagline-rotator {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius);
  overflow: hidden;
  max-width: 520px;
  min-height: 52px;
  position: relative;
}
.tagline-item {
  display: none;
  padding: 14px 22px;
  color: #fff;
  font-size: 14.5px;
  font-weight: 600;
  align-items: center;
  gap: 10px;
  opacity: 0;
  transition: opacity 0.6s ease;
}
.tagline-item.active {
  display: flex;
  opacity: 1;
}
.tagline-item i {
  color: #7dd3fc;
  font-size: 18px;
  flex-shrink: 0;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-stats {
  display: flex;
  gap: 28px;
  margin-top: 42px;
  flex-wrap: wrap;
}
.hero-stat {
  text-align: center;
}
.hero-stat .num {
  font-size: 34px;
  font-weight: 800;
  color: #fff;
  line-height: 1;
  display: block;
}
.hero-stat .lbl {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.68);
  font-weight: 500;
  display: block;
  margin-top: 4px;
}

/* Doctor image area */
.hero-img-col {
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.hero-doc-wrap {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.hero-doc-circle {
  width: 380px;
  height: 460px;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.1),
    rgba(255, 255, 255, 0.05)
  );
  border-radius: 200px 200px 0 0;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.hero-doc-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}
.hero-doc-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  color: rgba(255, 255, 255, 0.35);
  font-size: 90px;
  padding-bottom: 20px;
}
.hero-doc-placeholder p {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 12px;
  font-weight: 600;
}

.hero-badge-card {
  position: absolute;
  background: #fff;
  border-radius: var(--radius);
  padding: 14px 18px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 12px;
  animation: float 3s ease-in-out infinite;
}
.hero-badge-card.bc1 {
  top: 60px;
  left: -30px;
}
.hero-badge-card.bc2 {
  bottom: 80px;
  right: -30px;
  animation-delay: 1.5s;
}
.badge-icon-circle {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 18px;
  flex-shrink: 0;
}
.badge-card-num {
  font-size: 20px;
  font-weight: 800;
  color: var(--dark);
  line-height: 1;
  display: block;
}
.badge-card-txt {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 500;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

/* ============================================================
   ABOUT PREVIEW
   ============================================================ */
.about-preview-img {
  position: relative;
}
.about-preview-img .img-box {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.about-preview-img .img-box img {
  width: 100%;
  height: 470px;
  object-fit: cover;
  object-position: top;
}
.about-img-placeholder {
  width: 100%;
  height: 470px;
  background: linear-gradient(135deg, var(--primary-bg), var(--secondary-bg));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 14px;
  color: var(--primary);
  border-radius: var(--radius-xl);
}
.about-img-placeholder i {
  font-size: 80px;
  opacity: 0.5;
}
.about-img-placeholder p {
  font-size: 14px;
  color: var(--text-muted);
  font-weight: 600;
}

.exp-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
  border-radius: var(--radius-md);
  padding: 20px 22px;
  text-align: center;
  box-shadow: var(--shadow-md);
  min-width: 125px;
}
.exp-badge .exp-num {
  font-size: 42px;
  font-weight: 800;
  line-height: 1;
  display: block;
}
.exp-badge .exp-lbl {
  font-size: 11.5px;
  font-weight: 600;
  opacity: 0.9;
  margin-top: 4px;
  display: block;
}

.about-content {
  padding-left: 40px;
}
.about-feature-list {
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin: 22px 0;
}
.about-feature {
  display: flex;
  align-items: center;
  gap: 14px;
}
.about-feature .af-icon {
  width: 38px;
  height: 38px;
  background: var(--primary-bg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 16px;
  flex-shrink: 0;
}
.about-feature .af-text {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
}

/* ============================================================
   SERVICES SECTION — Image + Icon Cards
   ============================================================ */
.service-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 0;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  height: 100%;
  cursor: pointer;
  transition: var(--transition);
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(26, 107, 191, 0.3);
}

/* Image wrap */
.service-card .svc-img-wrap {
  position: relative;
  height: 185px;
  overflow: hidden;
  flex-shrink: 0;
}
.service-card .svc-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  display: block;
}
.service-card:hover .svc-img-wrap img {
  transform: scale(1.08);
}

/* Gradient overlay on image */
.service-card .svc-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(10, 25, 70, 0.65) 0%,
    rgba(13, 100, 140, 0.5) 100%
  );
  transition: var(--transition);
}
.service-card:hover .svc-img-overlay {
  background: linear-gradient(
    160deg,
    rgba(10, 25, 70, 0.78) 0%,
    rgba(13, 100, 140, 0.65) 100%
  );
}

/* Floating icon badge — positioned on the card, overlapping img/body boundary */
.service-card .svc-float-icon {
  position: absolute;
  top: 159px;
  left: 22px;
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: #fff;
  box-shadow: 0 6px 20px rgba(26, 107, 191, 0.4);
  z-index: 5;
  transition: var(--transition);
  border: 3px solid #fff;
}
.service-card:hover .svc-float-icon {
  background: linear-gradient(135deg, var(--secondary), var(--primary));
  border-radius: 50%;
  transform: scale(1.1);
}

/* Fallback placeholder when image is missing */
.svc-img-ph {
  width: 100%;
  height: 185px;
  background: linear-gradient(135deg, var(--primary-bg), var(--secondary-bg));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 52px;
  color: var(--primary);
  opacity: 0.45;
}

/* Card body */
.service-card .svc-card-body {
  padding: 36px 22px 22px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.service-card .svc-card-body h5 {
  font-size: 16.5px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 9px;
}
.service-card .svc-card-body p {
  font-size: 13.5px;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 14px;
  flex: 1;
}
.svc-link {
  color: var(--primary);
  font-size: 13.5px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
}
.service-card:hover .svc-link {
  gap: 10px;
}

/* Services carousel nav */
.svc-carousel .carousel-control-prev,
.svc-carousel .carousel-control-next {
  width: 44px;
  height: 44px;
  background: var(--primary);
  border-radius: 50%;
  top: 50%;
  transform: translateY(-50%);
  box-shadow: var(--shadow-md);
  opacity: 1;
}
.svc-carousel .carousel-control-prev {
  left: -22px;
}
.svc-carousel .carousel-control-next {
  right: -22px;
}
.svc-carousel .carousel-control-prev-icon,
.svc-carousel .carousel-control-next-icon {
  width: 18px;
  height: 18px;
}
.svc-carousel .carousel-indicators [data-bs-target] {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border);
  border: none;
  opacity: 1;
  margin: 0 5px;
}
.svc-carousel .carousel-indicators .active {
  background: var(--primary);
}

/* ============================================================
   WHY CHOOSE US
   ============================================================ */
.why-section {
  background: linear-gradient(
    135deg,
    var(--dark) 0%,
    #162044 50%,
    #0d2247 100%
  );
  overflow: hidden;
}
.why-section::before {
  content: "";
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(
    circle,
    rgba(26, 107, 191, 0.18),
    transparent 70%
  );
  pointer-events: none;
}
.why-section::after {
  content: "";
  position: absolute;
  bottom: -80px;
  left: -80px;
  width: 350px;
  height: 350px;
  background: radial-gradient(
    circle,
    rgba(13, 148, 136, 0.18),
    transparent 70%
  );
  pointer-events: none;
}
.why-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--radius-lg);
  padding: 28px 22px;
  text-align: center;
  transition: var(--transition);
  height: 100%;
}
.why-card:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(26, 107, 191, 0.45);
  transform: translateY(-5px);
}
.why-card .why-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 26px;
  color: #fff;
  box-shadow: 0 8px 20px rgba(26, 107, 191, 0.4);
}
.why-card h5 {
  font-size: 16.5px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 9px;
}
.why-card p {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.6;
  margin: 0;
}

/* ============================================================
   COUNTER SECTION
   ============================================================ */
.counter-section {
  padding: 60px 0;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
}
.counter-wrap {
  text-align: center;
  padding: 16px;
}
.c-num {
  font-size: 52px;
  font-weight: 800;
  color: #fff;
  line-height: 1;
  display: block;
}
.c-lbl {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 500;
  display: block;
  margin-top: 8px;
}
.c-divider {
  width: 1px;
  background: rgba(255, 255, 255, 0.2);
}

/* ============================================================
   GALLERY PREVIEW
   ============================================================ */
.gallery-thumb {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  box-shadow: var(--shadow);
}
.gallery-thumb img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  transition: transform 0.45s ease;
  display: block;
}
.gallery-ph {
  width: 100%;
  height: 240px;
  background: linear-gradient(135deg, var(--primary-bg), var(--secondary-bg));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 10px;
  color: var(--primary);
  font-size: 36px;
  transition: transform 0.45s ease;
}
.gallery-ph span {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
}
.gallery-thumb:hover img,
.gallery-thumb:hover .gallery-ph {
  transform: scale(1.07);
}
.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(26, 107, 191, 0.82),
    rgba(13, 148, 136, 0.82)
  );
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
}
.gallery-thumb:hover .gallery-overlay {
  opacity: 1;
}
.g-zoom {
  width: 52px;
  height: 52px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--primary);
}
.gallery-lbl {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 10px 14px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.65), transparent);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testi-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  height: 100%;
  transition: var(--transition);
  position: relative;
}
.testi-card::before {
  content: "\201C";
  font-size: 80px;
  line-height: 0;
  color: var(--primary);
  opacity: 0.12;
  position: absolute;
  top: 28px;
  right: 22px;
  font-family: Georgia, serif;
}
.testi-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}
.testi-stars {
  color: #f59e0b;
  font-size: 15px;
  margin-bottom: 12px;
  display: flex;
  gap: 3px;
}
.testi-card p {
  font-size: 14.5px;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 18px;
  font-style: italic;
}
.testi-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.testi-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  flex-shrink: 0;
}
.testi-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--dark);
  display: block;
}
.testi-loc {
  font-size: 12.5px;
  color: var(--text-muted);
}

/* ============================================================
   APPOINTMENT CTA
   ============================================================ */
.appt-cta {
  background: linear-gradient(
    135deg,
    var(--primary-dark) 0%,
    var(--primary) 55%,
    var(--secondary) 100%
  );
  overflow: hidden;
}
.appt-cta::before {
  content: "";
  position: absolute;
  top: -80px;
  right: -80px;
  width: 350px;
  height: 350px;
  border: 80px solid rgba(255, 255, 255, 0.05);
  border-radius: 50%;
}
.appt-cta::after {
  content: "";
  position: absolute;
  bottom: -70px;
  left: -70px;
  width: 270px;
  height: 270px;
  border: 60px solid rgba(255, 255, 255, 0.05);
  border-radius: 50%;
}
.appt-cta h2 {
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 800;
  color: #fff;
  margin-bottom: 14px;
}
.appt-cta p {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 32px;
}

/* ============================================================
   FAQ
   ============================================================ */
.faq-section {
  background: #fff;
}
.faq-section .accordion-button {
  font-weight: 700;
  color: var(--dark);
  background: #fff;
  font-size: 15.5px;
  padding: 18px 22px;
}
.faq-section .accordion-button:not(.collapsed) {
  background: var(--primary-bg);
  color: var(--primary);
  box-shadow: none;
}
.faq-section .accordion-button::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%231a6bbf'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}
.faq-section .accordion-button:not(.collapsed)::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%231a6bbf'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}
.faq-section .accordion-item {
  border: 1px solid var(--border);
  border-radius: var(--radius) !important;
  margin-bottom: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.faq-section .accordion-body {
  padding: 14px 22px 20px;
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.75;
  border-top: 1px solid var(--border);
}

/* ============================================================
   HOSPITAL LOGOS
   ============================================================ */
.hospital-strip {
  padding: 50px 0;
  background: var(--light-bg);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.hospital-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 18px 22px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: var(--transition);
}
.hospital-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
  border-color: var(--primary);
}
.hosp-icon {
  width: 54px;
  height: 54px;
  background: linear-gradient(135deg, var(--primary-bg), var(--secondary-bg));
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: var(--primary);
  flex-shrink: 0;
}
.hosp-name {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.3;
}
.hosp-loc {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 2px;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: linear-gradient(180deg, #0f1a3d 0%, #0a1128 100%);
  color: rgba(255, 255, 255, 0.72);
  padding: 70px 0 0;
}
.footer-logo-circle {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 22px;
}
.footer-brand-name {
  font-size: 19px;
  font-weight: 800;
  color: #fff;
}
.footer-brand-name span {
  color: var(--secondary-light);
}
.footer-desc {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.58);
  line-height: 1.75;
  margin-top: 12px;
}

.footer-social {
  display: flex;
  gap: 9px;
  margin-top: 18px;
}
.footer-social a {
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.07);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.65);
  font-size: 15px;
  transition: var(--transition);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.footer-social a:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  transform: translateY(-3px);
}

.footer-h {
  font-size: 15.5px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 20px;
  padding-bottom: 12px;
  position: relative;
}
.footer-h::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 33px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  border-radius: var(--radius-full);
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-links li {
  margin-bottom: 9px;
}
.footer-links a {
  color: rgba(255, 255, 255, 0.62);
  font-size: 14px;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer-links a i {
  color: var(--secondary-light);
  width: 14px;
  font-size: 12px;
}
.footer-links a:hover {
  color: var(--secondary-light);
  gap: 12px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
}
.fc-icon {
  width: 34px;
  height: 34px;
  background: rgba(255, 255, 255, 0.07);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--secondary-light);
  font-size: 14px;
  flex-shrink: 0;
  margin-top: 2px;
}
.fc-text strong {
  color: rgba(255, 255, 255, 0.88);
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 2px;
}
.fc-text span,
.fc-text a {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.62);
  line-height: 1.6;
  text-decoration: none;
}
.fc-text a:hover {
  color: var(--secondary-light);
}

.footer-map-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  margin-top: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-bottom {
  margin-top: 48px;
  padding: 18px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(0, 0, 0, 0.18);
}
.footer-bottom p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
  margin: 0;
}
.footer-bottom a {
  color: var(--secondary-light);
}

/* ============================================================
   FLOATING BUTTONS
   ============================================================ */
.float-whatsapp {
  position: fixed;
  bottom: 90px;
  right: 22px;
  z-index: 9998;
  animation: pulse-wa 2.5s ease-in-out infinite;
}
.float-whatsapp a {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, #25d366, #128c7e);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 25px;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
  transition: var(--transition);
}
.float-whatsapp a:hover {
  transform: scale(1.12);
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.6);
}
@keyframes pulse-wa {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.06);
  }
}

.float-call {
  position: fixed;
  bottom: 22px;
  right: 22px;
  z-index: 9998;
}
.float-call a {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 23px;
  box-shadow: var(--shadow-primary);
  transition: var(--transition);
  animation: ring 2.5s ease-in-out infinite;
  animation-delay: 1.2s;
}
.float-call a:hover {
  transform: scale(1.12);
  box-shadow: 0 10px 30px rgba(26, 107, 191, 0.6);
  animation: none;
}
@keyframes ring {
  0%,
  50%,
  100% {
    transform: rotate(0);
  }
  10%,
  30% {
    transform: rotate(-12deg);
  }
  20%,
  40% {
    transform: rotate(12deg);
  }
}

.scroll-top-btn {
  position: fixed;
  bottom: 158px;
  right: 22px;
  z-index: 9997;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}
.scroll-top-btn.show {
  opacity: 1;
  visibility: visible;
}
.scroll-top-btn a {
  width: 42px;
  height: 42px;
  background: var(--dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 15px;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
}
.scroll-top-btn a:hover {
  background: var(--primary);
  transform: translateY(-3px);
}

/* ============================================================
   MOBILE BOTTOM BAR
   ============================================================ */
.mob-bottom-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9990;
  background: #fff;
  border-top: 2px solid var(--border);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
}
.mob-bottom-bar .mbb-btn {
  flex: 1;
  padding: 11px 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  font-size: 10.5px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: var(--transition);
}
.mob-bottom-bar .mbb-btn i {
  font-size: 19px;
}
.mob-bottom-bar .mbb-btn.call {
  background: var(--primary);
  color: #fff;
}
.mob-bottom-bar .mbb-btn.whatsapp {
  background: #25d366;
  color: #fff;
}
.mob-bottom-bar .mbb-btn.appt {
  background: var(--secondary);
  color: #fff;
}
.mob-bottom-bar .mbb-btn:hover {
  filter: brightness(0.9);
}

/* ============================================================
   APPOINTMENT MODAL
   ============================================================ */
.appt-modal .modal-content {
  border-radius: var(--radius-xl);
  border: none;
  overflow: hidden;
}
.appt-modal .modal-header {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border: none;
  padding: 22px 28px;
}
.appt-modal .modal-title {
  color: #fff;
  font-size: 21px;
  font-weight: 700;
}
.appt-modal .btn-close {
  filter: brightness(10);
}
.appt-modal .modal-body {
  padding: 28px;
}
.appt-modal .form-label {
  font-weight: 600;
  font-size: 13.5px;
  color: var(--text-primary);
}
.appt-modal .form-control,
.appt-modal .form-select {
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 11px 14px;
  font-size: 14.5px;
  transition: var(--transition);
}
.appt-modal .form-control:focus,
.appt-modal .form-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(26, 107, 191, 0.1);
}

/* ============================================================
   PAGE BANNER (Inner Pages)
   ============================================================ */
.page-banner {
  background-image: url("../images/page-banner-bg.jpg");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  padding: 115px 0 65px;
  position: relative;
  overflow: hidden;
}

/* Dark gradient overlay over the banner image */
.page-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(10, 20, 60, 0.9) 0%,
    rgba(20, 50, 130, 0.82) 50%,
    rgba(13, 100, 140, 0.78) 100%
  );
  z-index: 0;
  pointer-events: none;
}

/* Bottom fade to white */
/* .page-banner::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 55px;
  background: linear-gradient(to top, #fff, transparent);
  pointer-events: none;
  z-index: 1;
} */

/* Per-page banner image overrides */
.page-banner.banner-about {
  background-image: url("../images/banner-about.jpg");
}
.page-banner.banner-services {
  background-image: url("../images/banner-services.jpg");
}
.page-banner.banner-gallery {
  background-image: url("../images/banner-gallery.jpg");
}
.page-banner.banner-contact {
  background-image: url("../images/banner-contact.jpg");
}

/* Mobile: disable fixed attachment */
@media (max-width: 991.98px) {
  .page-banner {
    background-attachment: scroll;
    padding: 95px 0 55px;
  }
}
/* Content sits above both pseudo-element overlays */
.page-banner > .container {
  position: relative;
  z-index: 2;
}

.page-banner h1 {
  font-size: clamp(30px, 5vw, 46px);
  font-weight: 800;
  color: #fff;
  margin-bottom: 12px;
}
.page-banner .breadcrumb {
  background: transparent;
  padding: 0;
  margin: 0;
}
.page-banner .breadcrumb-item {
  color: rgba(255, 255, 255, 0.68);
  font-size: 13.5px;
  font-weight: 500;
}
.page-banner .breadcrumb-item.active {
  color: rgba(255, 255, 255, 0.95);
  font-weight: 700;
}
.page-banner .breadcrumb-item + .breadcrumb-item::before {
  color: rgba(255, 255, 255, 0.45);
  content: "›";
  font-size: 18px;
  vertical-align: middle;
}
.page-banner .breadcrumb-item a {
  color: rgba(255, 255, 255, 0.68);
}
.page-banner .breadcrumb-item a:hover {
  color: #fff;
}
.page-banner-bg-shape {
  position: absolute;
  border-radius: 50%;
  z-index: 1;
  background: rgba(255, 255, 255, 0.04);
  pointer-events: none;
}
.page-banner-bg-shape.ps1 {
  width: 400px;
  height: 400px;
  top: -150px;
  right: -100px;
}
.page-banner-bg-shape.ps2 {
  width: 200px;
  height: 200px;
  bottom: 0;
  left: 5%;
}

/* ============================================================
   ABOUT PAGE
   ============================================================ */
/* About page single image */
.about-img-outer {
  position: relative;
  padding: 0 12px 12px 0;
}
.about-img-single {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.about-img-single img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  object-position: center top;
  display: block;
}

/* Floating credential badges */
.about-badge {
  position: absolute;
  background: #fff;
  border-radius: var(--radius);
  padding: 14px 20px;
  box-shadow: 0 8px 28px rgba(26, 107, 191, 0.18);
  text-align: center;
  z-index: 5;
  border-left: 4px solid var(--primary);
  min-width: 110px;
}
.about-badge .ab-num {
  font-size: 22px;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}
.about-badge .ab-lbl {
  font-size: 11.5px;
  color: var(--text-muted);
  font-weight: 600;
  margin-top: 4px;
  line-height: 1.3;
}
.ab-left {
  bottom: 50px;
  left: -8px;
}
.ab-right {
  top: 40px;
  right: -4px;
}

/* Legacy selector kept for compat */
.doctor-large-img {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.doctor-large-img img {
  width: 100%;
  height: 550px;
  object-fit: cover;
  object-position: top;
}
.doc-img-ph {
  width: 100%;
  height: 550px;
  background: linear-gradient(135deg, var(--primary-bg), var(--secondary-bg));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 16px;
  color: var(--primary);
}
.doc-img-ph i {
  font-size: 90px;
  opacity: 0.45;
}
.doc-img-ph p {
  font-size: 14px;
  color: var(--text-muted);
  font-weight: 600;
}

.about-detail-content {
  padding-left: 50px;
}

.qual-list {
  list-style: none;
  padding: 0;
  margin: 18px 0;
}
.qual-list li {
  padding: 10px 0;
  border-bottom: 1px dashed var(--border);
  font-size: 15px;
  color: var(--text-secondary);
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.qual-list li:last-child {
  border-bottom: none;
}
.qual-list li i {
  color: var(--secondary);
  font-size: 13px;
  margin-top: 4px;
  flex-shrink: 0;
}

.spec-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--primary-bg);
  color: var(--primary);
  padding: 5px 13px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 600;
  margin: 4px;
  border: 1px solid rgba(26, 107, 191, 0.18);
}

/* Doctor Profile Card */
.doc-profile-card {
  background: #fff;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}
.doc-profile-header {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  padding: 30px;
  text-align: center;
}
.doc-profile-avatar {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  border: 4px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
  font-size: 46px;
  color: rgba(255, 255, 255, 0.75);
  overflow: hidden;
}
.doc-profile-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}
.doc-profile-header h4 {
  color: #fff;
  font-size: 21px;
  margin-bottom: 4px;
}
.doc-profile-header p {
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
  margin: 0;
}
.doc-profile-body {
  padding: 22px 26px;
}
.profile-row {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  padding: 13px 0;
  border-bottom: 1px solid var(--border);
}
.profile-row:last-child {
  border-bottom: none;
}
.pr-icon {
  width: 36px;
  height: 36px;
  background: var(--primary-bg);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 15px;
  flex-shrink: 0;
}
.pr-label {
  font-size: 11.5px;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: block;
  margin-bottom: 2px;
}
.pr-val {
  font-size: 14.5px;
  color: var(--text-primary);
  font-weight: 500;
}

/* Timing Card */
.timing-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 26px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}
.timing-header {
  background: linear-gradient(135deg, var(--primary-bg), var(--secondary-bg));
  border-radius: var(--radius);
  padding: 12px 16px;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.timing-header i {
  color: var(--primary);
  font-size: 18px;
}
.timing-header span {
  font-weight: 700;
  color: var(--dark);
  font-size: 15px;
}
.timing-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 9px 0;
  border-bottom: 1px dashed var(--border);
  font-size: 14px;
}
.timing-row:last-child {
  border-bottom: none;
}
.timing-row .day {
  font-weight: 600;
  color: var(--text-primary);
}
.timing-row .time {
  font-weight: 700;
  color: var(--primary);
}
.timing-row .closed {
  color: #ef4444;
  font-weight: 700;
}

/* ============================================================
   CV / DOCTOR PROFILE SECTION
   ============================================================ */
.cv-title-badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 50px;
  margin-top: 6px;
  letter-spacing: 0.5px;
}
.cv-block {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 26px 28px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}
.cv-block-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.cv-block-title i {
  font-size: 16px;
}
.cv-para {
  font-size: 14.5px;
  color: var(--text-secondary);
  line-height: 1.75;
  margin: 0;
}
.cv-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.cv-tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--primary-bg);
  color: var(--primary);
  border: 1px solid rgba(var(--primary-rgb, 14, 165, 233), 0.25);
  border-radius: 50px;
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 600;
}
.cv-tag i {
  font-size: 12px;
}
.cv-tag-alt {
  background: #f0fdf4;
  color: #15803d;
  border-color: rgba(21, 128, 61, 0.25);
}
/* CV Timeline */
.cv-timeline {
  position: relative;
  padding-left: 20px;
}
.cv-timeline::before {
  content: '';
  position: absolute;
  left: 7px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(180deg, var(--primary), var(--secondary));
  opacity: 0.3;
}
.cv-tl-item {
  position: relative;
  padding-left: 22px;
  padding-bottom: 22px;
}
.cv-tl-last {
  padding-bottom: 0;
}
.cv-tl-dot {
  position: absolute;
  left: -6px;
  top: 5px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--primary);
  border: 2px solid #fff;
  box-shadow: 0 0 0 2px var(--primary);
}
.cv-tl-dot-edu {
  background: var(--secondary);
  box-shadow: 0 0 0 2px var(--secondary);
}
.cv-tl-role {
  font-weight: 700;
  font-size: 14.5px;
  color: var(--dark);
  margin-bottom: 4px;
}
.cv-tl-place {
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 3px;
  display: flex;
  align-items: flex-start;
  gap: 6px;
}
.cv-tl-place i {
  color: var(--primary);
  font-size: 12px;
  margin-top: 2px;
  flex-shrink: 0;
}
.cv-tl-period {
  font-size: 12.5px;
  color: var(--primary);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 5px;
}

/* ============================================================
   SERVICES PAGE
   ============================================================ */
.svc-category {
  margin-bottom: 60px;
}
.svc-cat-hdr {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: var(--radius);
  padding: 15px 22px;
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.svc-cat-hdr i {
  font-size: 22px;
  color: #fff;
}
.svc-cat-hdr h3 {
  color: #fff;
  margin: 0;
  font-size: 19px;
  font-weight: 700;
}

.svc-detail-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 0;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: var(--transition);
  height: 100%;
  cursor: pointer;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
}
.svc-detail-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(26, 107, 191, 0.35);
}

/* Image section */
.svc-detail-card .sd-img-wrap {
  position: relative;
  height: 165px;
  overflow: hidden;
  flex-shrink: 0;
}
.svc-detail-card .sd-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  display: block;
}
.svc-detail-card:hover .sd-img-wrap img {
  transform: scale(1.08);
}
.svc-detail-card .sd-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(10, 25, 70, 0.62) 0%,
    rgba(13, 100, 140, 0.48) 100%
  );
  transition: var(--transition);
}
.svc-detail-card:hover .sd-img-overlay {
  background: linear-gradient(
    160deg,
    rgba(10, 25, 70, 0.76) 0%,
    rgba(13, 100, 140, 0.62) 100%
  );
}
.sd-img-ph {
  width: 100%;
  height: 165px;
  background: linear-gradient(135deg, var(--primary-bg), var(--secondary-bg));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 44px;
  color: var(--primary);
  opacity: 0.4;
}
.svc-detail-card .sd-float-icon {
  position: absolute;
  top: 142px;
  left: 18px;
  width: 46px;
  height: 46px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: #fff;
  box-shadow: 0 5px 18px rgba(26, 107, 191, 0.4);
  z-index: 5;
  border: 3px solid #fff;
  transition: var(--transition);
}
.svc-detail-card:hover .sd-float-icon {
  border-radius: 50%;
  transform: scale(1.1);
  background: linear-gradient(135deg, var(--secondary), var(--primary));
}

/* Body */
.svc-detail-card .sd-body {
  padding: 32px 18px 20px;
  flex: 1;
}
.svc-detail-card h5 {
  font-size: 15.5px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 8px;
}
.svc-detail-card p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.65;
  margin: 0;
}

/* Service Modal */
.svc-modal .modal-content {
  border-radius: var(--radius-xl);
  border: none;
  overflow: hidden;
}
.svc-modal .modal-header {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border: none;
  padding: 20px 26px;
}
.svc-modal .modal-title {
  color: #fff;
  font-size: 20px;
  font-weight: 700;
}
.svc-modal .btn-close {
  filter: brightness(10);
}
.svc-modal .modal-body {
  padding: 26px;
}

/* ============================================================
   GALLERY PAGE
   ============================================================ */
.gallery-filter {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 36px;
  justify-content: center;
}
.gf-btn {
  padding: 8px 22px;
  border-radius: var(--radius-full);
  font-size: 14px;
  font-weight: 600;
  border: 2px solid var(--border);
  background: #fff;
  color: var(--text-secondary);
  cursor: pointer;
  transition: var(--transition);
}
.gf-btn.active,
.gf-btn:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.gallery-grid-item {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow);
  margin-bottom: 24px;
  cursor: pointer;
}
.gallery-grid-item img {
  width: 100%;
  height: 270px;
  object-fit: cover;
  transition: transform 0.45s ease;
  display: block;
}
.ggi-ph {
  width: 100%;
  height: 270px;
  background: linear-gradient(135deg, var(--primary-bg), var(--secondary-bg));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 12px;
  color: var(--primary);
  transition: transform 0.45s ease;
}
.ggi-ph i {
  font-size: 44px;
  opacity: 0.55;
}
.ggi-ph span {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
}
.gallery-grid-item:hover img,
.gallery-grid-item:hover .ggi-ph {
  transform: scale(1.06);
}
.ggi-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(26, 107, 191, 0.85),
    rgba(13, 148, 136, 0.85)
  );
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 10px;
  opacity: 0;
  transition: var(--transition);
  padding: 20px;
}
.gallery-grid-item:hover .ggi-overlay {
  opacity: 1;
}
.ggi-overlay i {
  font-size: 34px;
  color: #fff;
}
.ggi-overlay span {
  color: rgba(255, 255, 255, 0.9);
  font-size: 13px;
  font-weight: 600;
  text-align: center;
}

/* Custom Lightbox */
.custom-lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(0, 0, 0, 0.92);
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.lightbox-inner {
  position: relative;
  max-width: 900px;
  width: 100%;
}
.lightbox-inner img {
  width: 100%;
  border-radius: var(--radius);
  max-height: 80vh;
  object-fit: contain;
}
.lightbox-close {
  position: absolute;
  top: -16px;
  right: -16px;
  width: 38px;
  height: 38px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--dark);
  font-size: 18px;
  cursor: pointer;
  border: none;
  box-shadow: var(--shadow-md);
}
.lightbox-caption {
  color: rgba(255, 255, 255, 0.8);
  text-align: center;
  margin-top: 12px;
  font-size: 14px;
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-info-panel {
  background: linear-gradient(135deg, var(--dark), #1a3a8f);
  border-radius: var(--radius-xl);
  padding: 34px;
  height: 100%;
}
.contact-info-panel h4 {
  color: #fff;
  font-size: 21px;
  margin-bottom: 24px;
  padding-bottom: 14px;
  position: relative;
}
.contact-info-panel h4::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 38px;
  height: 3px;
  background: var(--secondary);
  border-radius: var(--radius-full);
}
.c-info-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 22px;
}
.ci-icon {
  width: 42px;
  height: 42px;
  background: rgba(255, 255, 255, 0.09);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  color: var(--secondary-light);
  flex-shrink: 0;
}
.ci-body strong {
  display: block;
  color: #fff;
  font-size: 14.5px;
  margin-bottom: 3px;
}
.ci-body span,
.ci-body a {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.65;
  text-decoration: none;
}
.ci-body a:hover {
  color: var(--secondary-light);
}

.contact-form-panel {
  background: #fff;
  border-radius: var(--radius-xl);
  padding: 34px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}
.contact-form-panel h4 {
  font-size: 21px;
  color: var(--dark);
  margin-bottom: 22px;
  padding-bottom: 13px;
  position: relative;
}
.contact-form-panel h4::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 38px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  border-radius: var(--radius-full);
}
.contact-form-panel .form-label {
  font-weight: 600;
  font-size: 13.5px;
  color: var(--text-primary);
}
.contact-form-panel .form-control,
.contact-form-panel .form-select {
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 11px 14px;
  font-size: 14.5px;
  transition: var(--transition);
}
.contact-form-panel .form-control:focus,
.contact-form-panel .form-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(26, 107, 191, 0.1);
}

.map-wrap {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
}

/* ============================================================
   BEFORE/AFTER PLACEHOLDER
   ============================================================ */
.before-after-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: var(--transition);
}
.before-after-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.ba-header {
  background: linear-gradient(135deg, var(--primary-bg), var(--secondary-bg));
  padding: 16px 20px;
}
.ba-header h6 {
  color: var(--dark);
  font-weight: 700;
  margin: 0;
  font-size: 15px;
}
.ba-body {
  padding: 18px;
  display: flex;
  gap: 10px;
}
.ba-side {
  flex: 1;
}
.ba-side-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}
.ba-side-label.before {
  color: #ef4444;
}
.ba-side-label.after {
  color: #16a34a;
}
.ba-ph {
  height: 140px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
  color: rgba(0, 0, 0, 0.25);
  font-size: 28px;
}
.ba-ph.before-ph {
  background: #fef2f2;
}
.ba-ph.after-ph {
  background: #f0fdf4;
}
.ba-ph span {
  font-size: 11px;
  font-weight: 600;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 991.98px) {
  .float-whatsapp {
    display: none;
  }
  .float-call {
    display: none;
  }
  .section-padding {
    padding: 65px 0;
  }
  .hero-section {
    padding: 80px 0 50px;
    min-height: auto;
    background-attachment: scroll;
  }
  .hero-doc-circle {
    width: 280px;
    height: 350px;
  }
  .hero-badge-card.bc1 {
    left: 0;
    display: none;
  }
  .hero-badge-card.bc2 {
    right: 0;
    display: none;
  }
  .about-content,
  .about-detail-content {
    padding-left: 0;
    padding-top: 30px;
  }
  .mob-bottom-bar {
    display: flex;
  }
  .float-whatsapp {
    bottom: 78px;
  }
  .float-call {
    bottom: 18px;
  }
  .scroll-top-btn {
    bottom: 145px;
  }
}

@media (max-width: 767.98px) {
  .section-padding {
    padding: 52px 0;
  }
  .hero-section {
    background-position: center top;
    background-attachment: scroll;
  }
  .strip-contacts {
    display: none;
  }
  .hero-stats {
    gap: 20px;
  }
  .hero-stat .num {
    font-size: 28px;
  }
  /* .hero-img-col {
    display: none;
  } */
  .about-preview-img .img-box img {
    height: 320px;
  }
  .about-img-placeholder {
    height: 320px;
  }
  .doc-img-ph {
    height: 380px;
  }
  .doctor-large-img img {
    height: 380px;
  }
  .about-img-single img {
    height: 360px;
  }
  .ab-left {
    left: 4px;
  }
  .ab-right {
    right: 4px;
  }
  .exp-badge {
    right: 8px;
    bottom: -15px;
  }
  .c-divider {
    display: none;
  }
  .contact-info-panel {
    margin-bottom: 24px;
  }
}

@media (max-width: 575.98px) {
  .hero-title {
    font-size: 30px;
  }
  .section-title {
    font-size: 27px;
  }
  .hero-label {
    font-size: 12px;
  }
  .c-num {
    font-size: 40px;
  }
  .appt-modal .modal-body,
  .contact-form-panel,
  .contact-info-panel {
    padding: 20px;
  }
  .hero-cta-group {
    gap: 10px;
  }
  .btn-primary-custom,
  .btn-secondary-custom {
    padding: 11px 22px;
    font-size: 14px;
  }
}

@media (max-width: 991.98px) {
  .main-navbar .navbar-collapse {
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    padding: 14px;
    margin-top: 10px;
  }
  .nav-appt-btn {
    margin: 8px 0 0;
  }
}
