/* =============================================
   KISHORE ORTHOPEDIC CENTRE — Global Styles
   ============================================= */

/* Google Fonts are loaded via HTML <link> */

/* ---- Reset & Base ---- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', sans-serif;
  color: #334155;
  background: #ffffff;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', sans-serif;
  color: #0f172a;
  line-height: 1.25;
  font-weight: 700;
}

h1 { font-size: clamp(2rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.35rem); }
h4 { font-size: 1.05rem; }

p { color: #475569; }

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}

ul { list-style: none; }

img { max-width: 100%; display: block; }

/* ---- Container ---- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

@media (min-width: 768px) {
  .container { padding: 0 2rem; }
}

/* ---- Grid ---- */
.grid {
  display: grid;
  gap: 1.5rem;
}

.grid-2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

/* ---- Sections ---- */
.section {
  padding: 5rem 0;
}

.section-alt {
  background: #f0f9ff;
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3rem;
}

.section-header h2 { margin-bottom: 0.75rem; }
.section-header p { color: #64748b; font-size: 1.05rem; }

.section-tag {
  display: inline-block;
  background: #e0f2fe;
  color: #0369a1;
  font-size: 0.78rem;
  font-weight: 600;
  font-family: 'Poppins', sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.3rem 0.9rem;
  border-radius: 999px;
  margin-bottom: 0.75rem;
}

.badge {
  display: inline-block;
  background: #ccfbf1;
  color: #0f766e;
  font-size: 0.8rem;
  font-weight: 600;
  font-family: 'Poppins', sans-serif;
  padding: 0.35rem 1rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}

.text-accent { color: #0ea5e9; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.5rem;
  border-radius: 10px;
  font-family: 'Poppins', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.22s ease;
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, #0ea5e9, #0369a1);
  color: #ffffff;
  border-color: transparent;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #0284c7, #075985);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(14, 165, 233, 0.35);
  color: #fff;
}

.btn-outline {
  background: transparent;
  color: #0369a1;
  border-color: #0369a1;
}

.btn-outline:hover {
  background: #0369a1;
  color: #ffffff;
  transform: translateY(-2px);
}

.btn-outline-white {
  background: transparent;
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.6);
}

.btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
}

.btn-white {
  background: #ffffff;
  color: #0369a1;
  border-color: transparent;
}

.btn-white:hover {
  background: #e0f2fe;
  transform: translateY(-2px);
}

.btn-lg {
  padding: 0.85rem 2rem;
  font-size: 1rem;
}

.btn-sm {
  padding: 0.45rem 1rem;
  font-size: 0.82rem;
}

.btn-full { width: 100%; justify-content: center; }

/* ---- Cards ---- */
.card {
  background: #ffffff;
  border-radius: 16px;
  padding: 2rem;
  border: 1px solid #e2e8f0;
  transition: transform 0.25s, box-shadow 0.25s;
}

.card-hover:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.09);
}

.card-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.card-icon--blue { background: #e0f2fe; color: #0369a1; }
.card-icon--teal { background: #ccfbf1; color: #0f766e; }

.card h3 { margin-bottom: 0.5rem; }
.card p { font-size: 0.95rem; color: #64748b; margin-bottom: 1rem; }

.card-link {
  color: #0ea5e9;
  font-weight: 600;
  font-size: 0.9rem;
  font-family: 'Poppins', sans-serif;
  transition: gap 0.2s;
}

.card-link:hover { color: #0369a1; }

/* Service Cards (Homepage — image on top) */
.service-card {
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  transition: transform 0.25s, box-shadow 0.25s;
  display: flex;
  flex-direction: column;
}

.service-img-wrap {
  width: 100%;
  height: 190px;
  overflow: hidden;
  flex-shrink: 0;
}

.service-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.service-card:hover .service-img { transform: scale(1.05); }

.service-body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.service-body h3 { margin-bottom: 0.5rem; font-size: 1rem; }
.service-body p { font-size: 0.9rem; color: #64748b; margin-bottom: 1rem; flex: 1; }
.service-body .card-link { margin-top: auto; }

/* ===============================
   NAVBAR
   =============================== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid #e2e8f0;
  box-shadow: 0 1px 12px rgba(0, 0, 0, 0.05);
  transition: box-shadow 0.3s;
}

.navbar.scrolled {
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.1);
}

.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.navbar__brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}

.navbar__logo-img {
  height: 44px;
  width: 44px;
  object-fit: contain;
  border-radius: 50%;
  flex-shrink: 0;
}

.brand-icon {
  font-size: 1.4rem;
  flex-shrink: 0;
}

.brand-text {
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  color: #0f172a;
  line-height: 1.2;
}

.brand-text strong {
  color: #0369a1;
  display: block;
  font-size: 1.05rem;
}

.navbar__nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-link {
  font-family: 'Poppins', sans-serif;
  font-size: 0.88rem;
  font-weight: 500;
  color: #475569;
  padding: 0.4rem 0.8rem;
  border-radius: 8px;
  transition: color 0.2s, background 0.2s;
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: #0369a1;
  background: #e0f2fe;
}

.navbar__cta { margin-left: 0.5rem; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0.5rem;
  border-radius: 8px;
  transition: background 0.2s;
}

.hamburger:hover { background: #f1f5f9; }

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #0f172a;
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Nav */
@media (max-width: 768px) {
  .hamburger { display: flex; }

  .navbar__nav {
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 1rem 1.25rem 1.5rem;
    display: none;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
  }

  .navbar__nav.open { display: flex; }

  .nav-links {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    gap: 0.25rem;
  }

  .nav-links li { width: 100%; }

  .nav-link {
    display: block;
    width: 100%;
    padding: 0.7rem 0.8rem;
    font-size: 1rem;
  }

  .navbar__cta { margin: 0.75rem 0 0; width: 100%; justify-content: center; }
}

/* ===============================
   HERO
   =============================== */
.hero {
  background: linear-gradient(160deg, #f0f9ff 0%, #e0f2fe 40%, #f8fafc 100%);
  padding: 5rem 0 6rem;
  overflow: hidden;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 900px) {
  .hero__inner { grid-template-columns: 1fr 1fr; }
}

.hero__content h1 {
  margin: 0.5rem 0 1rem;
  max-width: 560px;
}

.hero__content p {
  font-size: 1.1rem;
  color: #475569;
  max-width: 480px;
  margin-bottom: 2rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.hero__trust {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.trust-item strong {
  display: block;
  font-family: 'Poppins', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: #0369a1;
}

.trust-item span {
  font-size: 0.82rem;
  color: #64748b;
  font-weight: 500;
}

.trust-divider {
  width: 1px;
  height: 36px;
  background: #cbd5e1;
}

/* Hero Visual */
.hero__visual { display: flex; align-items: center; justify-content: center; }

.hero__card-stack {
  position: relative;
  width: 100%;
  max-width: 400px;
}

.hero__main-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 20px 60px rgba(14, 165, 233, 0.15), 0 4px 16px rgba(0,0,0,0.07);
  display: flex;
  align-items: center;
  gap: 1.25rem;
  animation: floatCard 4s ease-in-out infinite;
}

.hero__main-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.25rem;
}

.hero__main-card p { font-size: 0.85rem; color: #64748b; }

.hero-icon-circle {
  flex-shrink: 0;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #e0f2fe;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__stat-card {
  position: absolute;
  background: #ffffff;
  border-radius: 14px;
  padding: 0.9rem 1.2rem;
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
  text-align: center;
}

.hero__stat-card--1 {
  bottom: -1.5rem;
  left: -1.5rem;
  animation: floatCard 4s 1s ease-in-out infinite;
}

.hero__stat-card--2 {
  top: -1rem;
  right: -1rem;
  animation: floatCard 4s 2s ease-in-out infinite;
}

.stat-num {
  display: block;
  font-family: 'Poppins', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: #0369a1;
}

.stat-label {
  font-size: 0.75rem;
  color: #64748b;
  font-weight: 500;
}

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

/* Hero Doctor Image */
.hero__doctor-wrap {
  position: relative;
  width: 100%;
  max-width: 420px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.hero__doctor-img {
  width: 100%;
  max-width: 380px;
  height: 460px;
  object-fit: cover;
  object-position: top center;
  border-radius: 24px;
  box-shadow: 0 24px 64px rgba(3, 105, 161, 0.18), 0 4px 16px rgba(0,0,0,0.08);
  display: block;
}

.hero__doctor-badge {
  position: absolute;
  bottom: -1rem;
  left: -1rem;
  background: #ffffff;
  border-radius: 16px;
  padding: 1rem 1.25rem;
  box-shadow: 0 8px 28px rgba(0,0,0,0.12);
  max-width: 220px;
}

.hero__doctor-badge-content strong {
  display: block;
  font-family: 'Poppins', sans-serif;
  font-size: 0.9rem;
  color: #0f172a;
  margin-bottom: 0.2rem;
}

.hero__doctor-badge-content span {
  font-size: 0.75rem;
  color: #0369a1;
  font-weight: 600;
}

.hero__doctor-wrap .hero__stat-card--1 {
  top: 1.5rem;
  right: -1rem;
  bottom: auto;
  left: auto;
}

/* ===============================
   WHY US
   =============================== */
.why-us__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 900px) {
  .why-us__inner { grid-template-columns: 1.1fr 1fr; }
}

.why-us__content h2 { margin-bottom: 0.75rem; }
.why-us__content p { margin-bottom: 1.75rem; }

.why-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.why-list li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.why-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0ea5e9, #14b8a6);
  color: #ffffff;
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-weight: 700;
}

.why-list strong { display: block; color: #0f172a; margin-bottom: 0.2rem; }
.why-list p { font-size: 0.9rem; color: #64748b; }

/* Why Choose Us — fellowship image highlight card */
.why-us__highlight-card {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 56px rgba(3, 105, 161, 0.15), 0 4px 16px rgba(0,0,0,0.08);
}

.why-us__highlight-img {
  width: 100%;
  display: block;
  object-fit: cover;
  object-position: center top;
}

.why-us__highlight-caption {
  background: #f0f9ff;
  border-top: 1px solid #bae6fd;
  padding: 0.85rem 1rem;
  text-align: center;
}

.why-us__highlight-caption strong {
  display: block;
  font-size: 0.9rem;
  color: #0f172a;
  margin-bottom: 0.15rem;
}

.why-us__highlight-caption span {
  font-size: 0.78rem;
  color: #64748b;
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.stat-box {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 1.75rem 1.5rem;
  text-align: center;
  transition: transform 0.2s;
}

.stat-box:hover { transform: scale(1.03); }

.stat-box--accent {
  background: linear-gradient(135deg, #0ea5e9, #0369a1);
  border-color: transparent;
  color: #fff;
}

.stat-box--accent span { color: rgba(255,255,255,0.85) !important; }

.stat-big {
  display: block;
  font-family: 'Poppins', sans-serif;
  font-size: 2.2rem;
  font-weight: 800;
  color: #0369a1;
  line-height: 1;
  margin-bottom: 0.35rem;
}

.stat-box--accent .stat-big { color: #ffffff; }
.stat-box span:not(.stat-big) { font-size: 0.85rem; color: #64748b; font-weight: 500; }

/* ===============================
   TESTIMONIALS
   =============================== */
.testimonial-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 2rem;
  transition: transform 0.25s, box-shadow 0.25s;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.08);
}

.testimonial-card--featured {
  background: linear-gradient(135deg, #0369a1, #0ea5e9);
  border-color: transparent;
}

.testimonial-card--featured p,
.testimonial-card--featured .stars,
.testimonial-card--featured strong,
.testimonial-card--featured span {
  color: #ffffff !important;
}

.stars {
  color: #f59e0b;
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.testimonial-card p {
  font-style: italic;
  color: #475569;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.author-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0ea5e9, #14b8a6);
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.testimonial-author strong { display: block; color: #0f172a; font-size: 0.9rem; }
.testimonial-author span { font-size: 0.8rem; color: #64748b; }

/* ===============================
   CTA SECTION
   =============================== */
.cta-box {
  background: linear-gradient(135deg, #0369a1 0%, #0ea5e9 50%, #14b8a6 100%);
  border-radius: 24px;
  padding: 3.5rem 3rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: flex-start;
}

@media (min-width: 768px) {
  .cta-box {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.cta-content h2 { color: #ffffff; margin-bottom: 0.5rem; }
.cta-content p { color: rgba(255,255,255,0.85); max-width: 520px; }

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.5rem;
}

.cta-info {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  flex-shrink: 0;
}

.cta-info-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #fff;
}

.cta-info-icon { font-size: 1.4rem; }
.cta-info-item strong { display: block; }
.cta-info-item span { font-size: 0.82rem; opacity: 0.8; }

/* ===============================
   PAGE HERO
   =============================== */
.page-hero {
  background: linear-gradient(160deg, #f0f9ff 0%, #e0f2fe 60%, #f8fafc 100%);
  padding: 4.5rem 0 3.5rem;
  text-align: center;
}

.page-hero h1 { margin-bottom: 0.75rem; }
.page-hero p { font-size: 1.1rem; color: #64748b; max-width: 600px; margin: 0 auto; }

/* Hero with real background image */
.page-hero--image {
  position: relative;
  background-size: cover;
  background-position: center 30%;
  padding: 6rem 0 5rem;
  background-color: #0f172a;
}

.page-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(2, 12, 30, 0.75) 0%, rgba(3, 69, 120, 0.6) 100%);
  pointer-events: none;
}

.page-hero__content {
  position: relative;
  z-index: 1;
}

.page-hero--image h1 {
  color: #ffffff;
  margin-bottom: 0.75rem;
}

.page-hero--image p {
  color: rgba(255, 255, 255, 0.82);
  max-width: 640px;
  margin: 0 auto;
}

.section-tag--light {
  background: rgba(255, 255, 255, 0.15);
  color: #e0f2fe;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

/* ===============================
   ABOUT PAGE
   =============================== */
.about-story {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 900px) {
  .about-story { grid-template-columns: 1.1fr 1fr; }
}

.about-story__text p {
  color: #475569;
  margin-bottom: 1rem;
}

.about-visual-card {
  background: linear-gradient(160deg, #e0f2fe, #ccfbf1);
  border-radius: 24px;
  padding: 2.5rem;
  text-align: center;
}

.about-visual-card__logo { margin-bottom: 1rem; }
.about-icon-large { font-size: 4rem; margin-bottom: 1rem; }
.about-visual-card h3 { margin-bottom: 0.5rem; }
.about-visual-card p { color: #475569; margin-bottom: 1.5rem; }

.about-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
}

.about-badge {
  background: #ffffff;
  border: 1px solid #bae6fd;
  color: #0369a1;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.3rem 0.85rem;
  border-radius: 999px;
}

/* Values */
.value-card {
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  text-align: center;
  border: 1px solid #e2e8f0;
  transition: transform 0.25s, box-shadow 0.25s;
}

.value-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.08);
}

.value-img-wrap {
  width: 100%;
  height: 160px;
  overflow: hidden;
  background: #f8fafc;
}

.value-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.value-img--pad {
  object-fit: contain;
  padding: 1rem;
  background: #ffffff;
}

.value-card:hover .value-img {
  transform: scale(1.05);
}

.value-card h3 {
  margin: 1.25rem 1.25rem 0.5rem;
}

.value-card p {
  font-size: 0.9rem;
  color: #64748b;
  padding: 0 1.25rem 1.5rem;
}

.value-icon { font-size: 2.25rem; margin-bottom: 1rem; }

/* Journey / Qualifications Grid (About page) */
.journey-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

@media (min-width: 860px) {
  .journey-grid {
    grid-template-columns: 1fr 1px 1fr;
    gap: 0 3rem;
  }
}

.journey-divider {
  display: none;
}

@media (min-width: 860px) {
  .journey-divider {
    display: block;
    background: #e2e8f0;
    width: 1px;
    align-self: stretch;
  }
}

.journey-col__heading {
  font-size: 1rem;
  font-weight: 700;
  color: #0369a1;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 1.5rem;
  padding-bottom: 0.6rem;
  border-bottom: 2px solid #e0f2fe;
}

.journey-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.4rem;
}

.journey-badge {
  flex-shrink: 0;
  font-family: 'Poppins', sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  white-space: nowrap;
  margin-top: 2px;
}

.journey-badge--degree {
  background: #e0f2fe;
  color: #0369a1;
  border: 1px solid #bae6fd;
}

.journey-badge--fellow {
  background: #ccfbf1;
  color: #0d9488;
  border: 1px solid #99f6e4;
}

.journey-badge--intl {
  background: #dbeafe;
  color: #1d4ed8;
  border: 1px solid #bfdbfe;
}

.journey-item__content strong {
  display: block;
  font-size: 0.9rem;
  color: #1e293b;
  font-weight: 600;
  margin-bottom: 0.2rem;
}

.journey-item__content span {
  font-size: 0.82rem;
  color: #64748b;
  line-height: 1.4;
}

/* About Page — Previous Experience Block */
.about-exp-block {
  margin-top: 3rem;
  padding-top: 2.5rem;
  border-top: 2px solid #e0f2fe;
}

.about-exp-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.75rem;
}

.about-exp-header__icon {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: linear-gradient(135deg, #0369a1, #0ea5e9);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-exp-header__title {
  font-size: 1rem;
  font-weight: 700;
  color: #0369a1;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.about-exp-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.1rem;
}

@media (min-width: 700px) {
  .about-exp-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.about-exp-card {
  position: relative;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(3, 105, 161, 0.07);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.about-exp-card:hover {
  box-shadow: 0 6px 20px rgba(3, 105, 161, 0.13);
  transform: translateY(-2px);
}

.about-exp-card__accent {
  height: 4px;
  background: linear-gradient(90deg, #0369a1, #0ea5e9);
}

.about-exp-card__inner {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.2rem 1.4rem 1.4rem;
}

.about-exp-card__icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: #e0f2fe;
  color: #0369a1;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

.about-exp-card__body {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.about-exp-card__role {
  font-size: 0.92rem;
  font-weight: 700;
  color: #1e293b;
  line-height: 1.35;
}

.about-exp-card__dept {
  font-size: 0.8rem;
  color: #475569;
  font-weight: 500;
}

.about-exp-card__org {
  font-size: 0.79rem;
  color: #0369a1;
  font-weight: 600;
  margin-top: 0.1rem;
}

/* Fellowship Section */
.fellowship-section {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3.5rem;
  align-items: center;
}

@media (min-width: 900px) {
  .fellowship-section {
    grid-template-columns: 1fr 420px;
  }
}

.fellowship-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  margin: 0 0 2rem;
}

.fellowship-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
}

.fellowship-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0369a1, #0ea5e9);
  color: #ffffff;
  font-size: 0.65rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

.fellowship-list li strong {
  display: block;
  font-size: 0.9rem;
  color: #1e293b;
  font-weight: 600;
  margin-bottom: 0.15rem;
}

.fellowship-list li span {
  font-size: 0.82rem;
  color: #64748b;
}

.experience-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 0 0 2rem;
}

.experience-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-left: 3px solid #0369a1;
  border-radius: 8px;
}

.experience-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: linear-gradient(135deg, #0369a1, #0ea5e9);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}

.experience-content {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.experience-content strong {
  font-size: 0.9rem;
  font-weight: 600;
  color: #1e293b;
  line-height: 1.3;
}

.experience-content span {
  font-size: 0.82rem;
  color: #64748b;
}

.experience-org {
  font-size: 0.78rem !important;
  color: #0369a1 !important;
  font-weight: 500;
}

.fellowship-image {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 56px rgba(3, 105, 161, 0.15), 0 4px 16px rgba(0,0,0,0.07);
}

.fellowship-img {
  width: 100%;
  display: block;
  object-fit: cover;
  object-position: center top;
}

.fellowship-caption {
  background: #f0f9ff;
  border-top: 1px solid #bae6fd;
  padding: 0.85rem 1rem;
  font-size: 0.78rem;
  color: #475569;
  line-height: 1.5;
  text-align: center;
}

/* Timeline */
.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 90px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, #0ea5e9, #14b8a6);
  border-radius: 2px;
}

.timeline-item {
  display: flex;
  align-items: flex-start;
  gap: 2rem;
  margin-bottom: 2.5rem;
  position: relative;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: 83px;
  top: 0.4rem;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #0ea5e9;
  border: 3px solid #e0f2fe;
  z-index: 1;
}

.timeline-year {
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: #0369a1;
  width: 80px;
  flex-shrink: 0;
  padding-top: 0.1rem;
}

.timeline-content {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 1.25rem 1.5rem;
  flex: 1;
}

.timeline-content h3 { margin-bottom: 0.35rem; font-size: 1.05rem; }
.timeline-content p { font-size: 0.9rem; color: #64748b; }

@media (max-width: 600px) {
  .timeline::before { left: 0; }
  .timeline-item { flex-direction: column; gap: 0.5rem; padding-left: 1.5rem; }
  .timeline-item::before { left: -7px; }
  .timeline-year { width: auto; }
}

/* Accreditations */
.accreditation-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.25rem;
}

.accreditation-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 1.75rem 1.25rem;
  text-align: center;
  transition: transform 0.25s, box-shadow 0.25s;
}

.accreditation-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 28px rgba(0,0,0,0.08);
}

.accreditation-icon { font-size: 2rem; margin-bottom: 0.75rem; }
.accreditation-card h4 { margin-bottom: 0.25rem; font-size: 0.95rem; }
.accreditation-card p { font-size: 0.82rem; color: #94a3b8; }

/* ===============================
   DOCTORS PAGE
   =============================== */
.doctor-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  overflow: hidden;
  transition: transform 0.25s, box-shadow 0.25s;
  display: flex;
  flex-direction: column;
}

.doctor-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.1);
}

.doctor-avatar {
  height: 180px;
  background: linear-gradient(135deg, #e0f2fe 0%, #bae6fd 50%, #ccfbf1 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.avatar-initials {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0369a1, #0ea5e9);
  color: #ffffff;
  font-family: 'Poppins', sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(3, 105, 161, 0.3);
}

.doctor-info {
  padding: 1.75rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.doctor-info h3 { margin-bottom: 0.25rem; }

.doctor-specialty {
  display: block;
  color: #0ea5e9;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.doctor-info p { font-size: 0.88rem; color: #64748b; flex: 1; margin-bottom: 1rem; }

.doctor-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1.25rem;
}

.tag {
  background: #e0f2fe;
  color: #0369a1;
  font-size: 0.73rem;
  font-weight: 600;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
}

.tag--featured {
  background: linear-gradient(135deg, #0369a1, #0ea5e9);
  color: #ffffff;
  border: none;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.3rem 0.85rem;
  font-size: 0.73rem;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(3, 105, 161, 0.25);
}

/* ===============================
   DOCTOR PROFILE (Single)
   =============================== */
.doctor-profile {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 4rem;
  align-items: flex-start;
  max-width: 1000px;
  margin: 0 auto;
}

.doctor-profile__photo {
  position: sticky;
  top: 100px;
}

.doctor-profile__img {
  width: 100%;
  border-radius: 24px;
  box-shadow: 0 20px 60px rgba(3, 105, 161, 0.15), 0 4px 16px rgba(0,0,0,0.08);
  display: block;
}

.doctor-profile__name {
  font-size: 2rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.4rem;
}

.doctor-profile__quals {
  font-size: 0.92rem;
  color: #0369a1;
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.doctor-profile__title {
  font-size: 1rem;
  color: #64748b;
  font-weight: 500;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #e2e8f0;
}

.doctor-profile__section {
  margin-bottom: 2rem;
}

.doctor-profile__section h4 {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #94a3b8;
  margin-bottom: 1rem;
}

.fellowship-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.fellowship-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
}

.fellowship-dot {
  flex-shrink: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0369a1, #0ea5e9);
  margin-top: 6px;
}

.fellowship-list strong {
  display: block;
  font-size: 0.92rem;
  color: #0f172a;
  margin-bottom: 0.2rem;
}

.fellowship-list span {
  font-size: 0.82rem;
  color: #64748b;
  line-height: 1.5;
}

.doctor-profile__actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 12px;
  background: #25d366;
  color: #ffffff;
  font-family: 'Poppins', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s;
}

.btn-whatsapp:hover {
  background: #1ebe57;
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .doctor-profile {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .doctor-profile__photo { position: static; }
  .doctor-profile__img { max-width: 300px; margin: 0 auto; }
  .doctor-profile__name { font-size: 1.5rem; }
}

/* ===============================
   TREATMENTS PAGE
   =============================== */
.treatment-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
}

.tab-btn {
  padding: 0.5rem 1.25rem;
  border-radius: 10px;
  border: 2px solid #e2e8f0;
  background: #ffffff;
  color: #64748b;
  font-family: 'Poppins', sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.tab-btn:hover { border-color: #0ea5e9; color: #0ea5e9; }

.tab-btn.active {
  background: #0369a1;
  border-color: #0369a1;
  color: #ffffff;
}

/* Category dividers */
.category-divider {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin: 2.5rem 0 1.5rem;
}

.category-divider:first-of-type {
  margin-top: 0;
}

.category-divider__label {
  font-family: 'Poppins', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  white-space: nowrap;
  padding: 0.35rem 1rem;
  border-radius: 999px;
}

.category-divider--surgical .category-divider__label {
  background: #e0f2fe;
  color: #0369a1;
}

.category-divider--nonsurgical .category-divider__label {
  background: #ccfbf1;
  color: #0d9488;
}

.category-divider--rehab .category-divider__label {
  background: #dcfce7;
  color: #059669;
}

.category-divider__line {
  flex: 1;
  height: 1px;
  background: #e2e8f0;
}

.category-divider.hidden { display: none; }

/* Treatment Grids */
.treatments-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.75rem;
  margin-bottom: 0.5rem;
}

.treatments-grid.hidden { display: none; }

/* Treatment Cards — image-first vertical layout */
.treatment-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s, box-shadow 0.25s;
}

.treatment-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.1);
}

/* Wide card for rehab section */
.treatment-card--wide {
  grid-column: 1 / -1;
  max-width: 680px;
}

.treatment-card--wide .treatment-img {
  height: 260px;
}

/* Image wrapper */
.treatment-img-wrap {
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}

.treatment-img-wrap--gradient {
  background: linear-gradient(135deg, #e0f2fe 0%, #bae6fd 50%, #ccfbf1 100%);
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.treatment-img-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  color: #0369a1;
}

.treatment-img-placeholder span {
  font-family: 'Poppins', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: #0369a1;
}

.treatment-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.treatment-img--contain {
  object-fit: contain;
  background: #f8fafc;
  padding: 0.5rem;
}

.treatment-img--top {
  object-position: top center;
}

.treatment-card:hover .treatment-img {
  transform: scale(1.04);
}

/* Category badge overlaid on image */
.treatment-category {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  backdrop-filter: blur(4px);
}

.treatment-category--surgical {
  background: rgba(3, 105, 161, 0.88);
  color: #ffffff;
}

.treatment-category--nonsurgical {
  background: rgba(13, 148, 136, 0.88);
  color: #ffffff;
}

.treatment-category--rehab {
  background: rgba(5, 150, 105, 0.88);
  color: #ffffff;
}

/* Card body */
.treatment-body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.treatment-body h3 { margin-bottom: 0.5rem; font-size: 1.05rem; }
.treatment-body p { font-size: 0.88rem; color: #64748b; margin-bottom: 1rem; flex: 1; }

.treatment-points {
  list-style: none;
  padding-left: 0;
  margin-bottom: 1.25rem;
}

.treatment-points li {
  font-size: 0.82rem;
  color: #64748b;
  margin-bottom: 0.3rem;
  padding-left: 1.1rem;
  position: relative;
}

.treatment-points li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: #0ea5e9;
  font-size: 0.75rem;
}

.treatment-card.hidden { display: none; }

/* Surgical Expertise Section */
.surgical-expertise {
  overflow: hidden;
}

.expertise-inner {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 4rem;
  align-items: center;
}

.expertise-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin: 1.5rem 0 2rem;
}

.expertise-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: #334155;
}

.expertise-icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0369a1, #0ea5e9);
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}

.expertise-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.expertise-image {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(3, 105, 161, 0.18), 0 4px 16px rgba(0,0,0,0.08);
}

.expertise-img {
  width: 100%;
  display: block;
  height: 520px;
  object-fit: cover;
  object-position: top center;
}

@media (max-width: 900px) {
  .expertise-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .expertise-image {
    max-width: 480px;
    margin: 0 auto;
  }
  .expertise-img { height: 400px; }
}

/* Process Steps */
.process-steps {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.step {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 2rem 1.5rem;
  text-align: center;
  flex: 1;
  min-width: 180px;
  max-width: 220px;
}

.step-number {
  font-family: 'Poppins', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: #bae6fd;
  margin-bottom: 0.5rem;
}

.step h3 { font-size: 1rem; margin-bottom: 0.4rem; }
.step p { font-size: 0.85rem; color: #64748b; }

.step-arrow {
  font-size: 1.5rem;
  color: #0ea5e9;
  flex-shrink: 0;
}

@media (max-width: 600px) {
  .step-arrow { transform: rotate(90deg); }
  .process-steps { flex-direction: column; align-items: center; }
  .step { max-width: 100%; width: 100%; }
}

/* ===============================
   CONTACT PAGE
   =============================== */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

@media (min-width: 900px) {
  .contact-layout { grid-template-columns: 1.2fr 1fr; }
}

.contact-form-wrap h2 { margin-bottom: 0.5rem; }
.form-subtitle { color: #64748b; margin-bottom: 2rem; }

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem;
}

@media (max-width: 580px) {
  .form-row { grid-template-columns: 1fr; }
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group label {
  font-size: 0.88rem;
  font-weight: 600;
  color: #334155;
  font-family: 'Poppins', sans-serif;
}

.required { color: #ef4444; }

.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.7rem 1rem;
  border: 2px solid #e2e8f0;
  border-radius: 10px;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  color: #334155;
  background: #ffffff;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  width: 100%;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: #0ea5e9;
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.12);
}

.form-group input::placeholder,
.form-group textarea::placeholder { color: #94a3b8; }

.form-note {
  font-size: 0.78rem;
  color: #94a3b8;
  text-align: center;
  margin-top: 0.25rem;
}

.form-success {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 16px;
  padding: 2.5rem;
  text-align: center;
}

.success-icon { font-size: 3rem; margin-bottom: 1rem; }
.form-success h3 { color: #15803d; margin-bottom: 0.5rem; }
.form-success p { color: #166534; }

/* Contact Info Panel */
.contact-info-panel { display: flex; flex-direction: column; gap: 1.25rem; }

.info-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 1.75rem;
}

.info-card h3 { margin-bottom: 1.25rem; font-size: 1.05rem; }

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
  margin-bottom: 1.25rem;
}

.info-item:last-child { margin-bottom: 0; }

.info-icon { font-size: 1.25rem; flex-shrink: 0; }

.info-item strong { display: block; color: #0f172a; font-size: 0.88rem; margin-bottom: 0.2rem; }
.info-item p { font-size: 0.88rem; color: #64748b; margin-bottom: 0; }
.info-item a { color: #0ea5e9; }
.info-item a:hover { color: #0369a1; }

.timings-table { width: 100%; border-collapse: collapse; }
.timings-table td {
  padding: 0.5rem 0;
  font-size: 0.9rem;
  color: #475569;
  border-bottom: 1px solid #f1f5f9;
}

.timings-table td:last-child { text-align: right; }
.timings-table .emergency-row td { color: #ef4444; }
.timings-table .emergency-row strong { color: #dc2626; }

.info-card--map .map-placeholder {
  background: linear-gradient(135deg, #e0f2fe, #ccfbf1);
  border-radius: 12px;
  padding: 2.5rem 1rem;
  text-align: center;
}

.map-icon { font-size: 2.5rem; margin-bottom: 0.75rem; }
.map-placeholder p { color: #475569; margin-bottom: 1rem; font-size: 0.9rem; }

/* Emergency Banner */
.emergency-banner {
  background: linear-gradient(90deg, #dc2626, #ef4444);
  padding: 1.5rem 0;
}

.emergency-content {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.emergency-icon { font-size: 1.75rem; flex-shrink: 0; }

.emergency-content strong {
  display: block;
  color: #ffffff;
  font-family: 'Poppins', sans-serif;
  font-size: 1.05rem;
}

.emergency-content p { color: rgba(255,255,255,0.85); font-size: 0.9rem; }

.emergency-content .btn-white { margin-left: auto; }

/* ===============================
   FOOTER
   =============================== */
.footer {
  background: #0f172a;
  color: #94a3b8;
  padding-top: 4rem;
}

.footer__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid #1e293b;
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  color: #ffffff;
  margin-bottom: 1rem;
  text-decoration: none;
}

.footer__logo-img {
  height: 40px;
  width: 40px;
  object-fit: contain;
  border-radius: 50%;
  flex-shrink: 0;
}

.footer__brand p {
  font-size: 0.88rem;
  line-height: 1.65;
  color: #64748b;
  max-width: 280px;
  margin-bottom: 1.25rem;
}

.footer__social {
  display: flex;
  gap: 0.75rem;
}

.social-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: #1e293b;
  color: #94a3b8;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, color 0.2s, transform 0.2s;
}

.social-icon:hover {
  background: #0ea5e9;
  color: #ffffff;
  transform: translateY(-2px);
}

.footer__col h4 {
  color: #ffffff;
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
  font-family: 'Poppins', sans-serif;
}

.footer__col ul li {
  margin-bottom: 0.6rem;
}

.footer__col ul li a {
  color: #64748b;
  font-size: 0.88rem;
  transition: color 0.2s;
}

.footer__col ul li a:hover { color: #0ea5e9; }

/* Timings list */
.timings li {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  padding: 0.4rem 0;
  border-bottom: 1px solid #1e293b;
  color: #64748b;
}

.timings .emergency { color: #f87171 !important; }
.timings .emergency span { color: #f87171; }

/* Contact info list in footer */
.contact-info li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: #64748b;
  margin-bottom: 0.85rem;
  line-height: 1.5;
}

.contact-info svg { flex-shrink: 0; margin-top: 2px; color: #0ea5e9; }

.footer__bottom {
  padding: 1.25rem 0;
}

.footer__bottom .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.footer__bottom p { font-size: 0.82rem; color: #475569; }

/* ===============================
   SCROLL REVEAL
   =============================== */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ---- Form error state ---- */
.input-error {
  border-color: #ef4444 !important;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1) !important;
}

.field-error {
  color: #ef4444;
  font-size: 0.78rem;
  margin-top: 0.2rem;
}

/* ===============================
   TESTIMONIAL CAROUSEL
   =============================== */
.testimonial-carousel {
  position: relative;
}

.carousel-track-wrapper {
  overflow: hidden;
}

.carousel-track {
  display: flex;
  gap: 1.5rem;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
}

.carousel-track .testimonial-card {
  flex-shrink: 0;
  /* width set by JS */
}

.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  margin-top: 2rem;
}

.carousel-prev,
.carousel-next {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 2px solid #0369a1;
  background: #ffffff;
  color: #0369a1;
  font-size: 1.5rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
  flex-shrink: 0;
}

.carousel-prev:hover,
.carousel-next:hover {
  background: #0369a1;
  color: #ffffff;
  transform: scale(1.08);
}

.carousel-prev:disabled,
.carousel-next:disabled {
  opacity: 0.3;
  cursor: not-allowed;
  transform: none;
}

.carousel-dots {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #cbd5e1;
  border: none;
  cursor: pointer;
  transition: all 0.25s ease;
  padding: 0;
}

.carousel-dot.active {
  background: #0369a1;
  width: 24px;
  border-radius: 4px;
}

/* Star display in testimonial cards */
.tc-stars {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
  line-height: 1;
}

.tc-stars__filled { color: #f59e0b; }
.tc-stars__empty  { color: #e2e8f0; }

.tc-message {
  font-size: 0.94rem;
  line-height: 1.7;
  color: #334155;
  margin-bottom: 1.25rem;
  flex: 1;
  font-style: italic;
}

/* Hospital reply on homepage card */
.hospital-reply {
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  background: #f0f9ff;
  border-left: 3px solid #0ea5e9;
  border-radius: 0 8px 8px 0;
}

.hospital-reply__label {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.72rem;
  font-weight: 700;
  color: #0369a1;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.35rem;
}

.hospital-reply p {
  font-size: 0.84rem;
  color: #475569;
  margin: 0;
  font-style: italic;
}

/* Testimonials CTA link below section */
.testimonials-cta {
  text-align: center;
  margin-top: 2.5rem;
}

/* ===============================
   PAGE HERO LIGHT (feedback page)
   =============================== */
.page-hero--light {
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
  padding: 4rem 0 3rem;
}

.page-hero--light .section-tag { color: #0369a1; }
.page-hero--light h1 { color: #0f172a; }
.page-hero--light p  { color: #475569; }

/* Feedback page hero */
.feedback-hero {
  padding: 6rem 0 5rem;
  background-position: center center;
}

.feedback-hero__overlay {
  background: linear-gradient(160deg, rgba(2, 10, 28, 0.78) 0%, rgba(3, 69, 130, 0.62) 100%);
}

.section-tag--light {
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(4px);
}

/* ===============================
   FEEDBACK SUBMISSION PAGE
   =============================== */
.feedback-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  max-width: 960px;
  margin: 0 auto;
}

@media (min-width: 860px) {
  .feedback-layout {
    grid-template-columns: 1fr 280px;
    align-items: start;
  }
}

.feedback-form-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 2.25rem 2rem;
  box-shadow: 0 4px 20px rgba(3, 105, 161, 0.07);
}

.feedback-form-card__title {
  font-size: 1.35rem;
  color: #0f172a;
  margin-bottom: 0.35rem;
}

.feedback-form-card__sub {
  font-size: 0.85rem;
  color: #64748b;
  margin-bottom: 1.75rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid #f1f5f9;
}

.feedback-form .form-group {
  margin-bottom: 1.4rem;
}

.feedback-form .form-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: #374151;
  margin-bottom: 0.5rem;
}

.feedback-form .form-group input,
.feedback-form .form-group textarea {
  width: 100%;
  padding: 0.7rem 1rem;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 0.92rem;
  font-family: 'Inter', sans-serif;
  color: #1e293b;
  background: #fafafa;
  transition: border-color 0.2s, box-shadow 0.2s;
  box-sizing: border-box;
}

.feedback-form .form-group input:focus,
.feedback-form .form-group textarea:focus {
  outline: none;
  border-color: #0369a1;
  box-shadow: 0 0 0 3px rgba(3, 105, 161, 0.1);
  background: #ffffff;
}

.feedback-form .form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.req { color: #ef4444; }

.char-note {
  font-size: 0.75rem;
  color: #94a3b8;
  margin-top: 0.3rem;
  display: block;
}

.btn-full { width: 100%; justify-content: center; }

/* CSS-only interactive star rating */
.star-rating-input {
  display: flex;
  flex-direction: row-reverse;
  gap: 0.1rem;
  justify-content: flex-end;
  margin: 0.5rem 0 0.35rem;
}

.star-rating-input input[type="radio"] {
  display: none;
}

.star-rating-input label {
  font-size: 3rem;
  color: #d1d5db;
  cursor: pointer;
  transition: color 0.15s ease, transform 0.15s ease, filter 0.15s ease;
  line-height: 1;
  filter: drop-shadow(0 0 0px transparent);
}

.star-rating-input label:hover,
.star-rating-input label:hover ~ label,
.star-rating-input input[type="radio"]:checked ~ label {
  color: #f59e0b;
  transform: scale(1.18);
  filter: drop-shadow(0 2px 6px rgba(245, 158, 11, 0.55));
}

.star-hint {
  font-size: 0.78rem;
  color: #94a3b8;
  margin: 0;
}

/* Feedback error / success */
.feedback-error {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: 8px;
  padding: 0.85rem 1.1rem;
  color: #dc2626;
  font-size: 0.88rem;
  margin-bottom: 1.25rem;
}

.feedback-success {
  text-align: center;
  padding: 3rem 1.5rem;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 16px;
}

.feedback-success__icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, #059669, #10b981);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.feedback-success h2 {
  font-size: 1.4rem;
  color: #065f46;
  margin-bottom: 0.75rem;
}

.feedback-success p {
  color: #047857;
  font-size: 0.95rem;
  max-width: 420px;
  margin: 0 auto;
}

/* Feedback aside cards */
.feedback-aside {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.feedback-aside-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(3, 105, 161, 0.06);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.feedback-aside-card:hover {
  box-shadow: 0 6px 24px rgba(3, 105, 161, 0.13);
  transform: translateY(-2px);
}

.feedback-aside-card__img-wrap {
  width: 100%;
  height: 130px;
  overflow: hidden;
}

.feedback-aside-card__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.4s ease;
}

.feedback-aside-card:hover .feedback-aside-card__img-wrap img {
  transform: scale(1.05);
}

.feedback-aside-card h3 {
  font-size: 0.92rem;
  font-weight: 600;
  color: #1e293b;
  margin: 0.9rem 1.1rem 0.3rem;
}

.feedback-aside-card p {
  font-size: 0.82rem;
  color: #64748b;
  line-height: 1.55;
  margin: 0 1.1rem 1rem;
}

/* ===============================
   ADMIN FEEDBACK PAGE
   =============================== */
.admin-body {
  background: #f1f5f9;
  min-height: 100vh;
}

.admin-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.admin-topbar {
  background: #0f172a;
  padding: 0.85rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 100;
}

.admin-topbar__brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #e2e8f0;
  font-size: 0.9rem;
  font-weight: 600;
}

.admin-topbar__link {
  color: #94a3b8;
  font-size: 0.85rem;
  text-decoration: none;
  transition: color 0.2s;
}

.admin-topbar__link:hover { color: #0ea5e9; }

.admin-content {
  max-width: 980px;
  margin: 0 auto;
  padding: 2rem 1.5rem 4rem;
  width: 100%;
}

.admin-stats-row {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.admin-stat-box {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 1rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 100px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.admin-stat-box__num {
  font-size: 2rem;
  font-weight: 700;
  color: #0369a1;
  line-height: 1;
}

.admin-stat-box--approved .admin-stat-box__num { color: #059669; }
.admin-stat-box--total   .admin-stat-box__num { color: #475569; }

.admin-stat-box__label {
  font-size: 0.78rem;
  color: #64748b;
  font-weight: 500;
  margin-top: 0.35rem;
}

.admin-empty {
  text-align: center;
  padding: 3rem;
  color: #94a3b8;
}

.admin-empty p {
  margin: 1rem 0 0.5rem;
  font-size: 0.95rem;
}

.admin-fb-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.admin-fb-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 1.4rem 1.5rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  border-left: 4px solid #cbd5e1;
}

.admin-fb-card--pending  { border-left-color: #f59e0b; }
.admin-fb-card--approved { border-left-color: #10b981; }

.admin-fb-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.85rem;
  flex-wrap: wrap;
}

.admin-fb-card__author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.admin-author-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0369a1, #0ea5e9);
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.admin-fb-card__author strong {
  display: block;
  font-size: 0.95rem;
  color: #1e293b;
}

.admin-fb-treatment {
  font-size: 0.8rem;
  color: #64748b;
}

.admin-fb-card__right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.3rem;
}

.admin-stars {
  font-size: 1.05rem;
  color: #f59e0b;
  line-height: 1;
}

.admin-stars__empty { color: #e2e8f0; }

.admin-status-badge {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.admin-status-badge--pending  { background: #fef3c7; color: #92400e; }
.admin-status-badge--approved { background: #d1fae5; color: #065f46; }

.admin-fb-date {
  font-size: 0.75rem;
  color: #94a3b8;
}

.admin-fb-message {
  font-size: 0.9rem;
  color: #374151;
  line-height: 1.6;
  margin-bottom: 0.85rem;
  font-style: italic;
}

.admin-fb-existing-reply {
  background: #f0f9ff;
  border-left: 3px solid #0ea5e9;
  border-radius: 0 6px 6px 0;
  padding: 0.6rem 0.9rem;
  font-size: 0.84rem;
  color: #475569;
  margin-bottom: 0.85rem;
}

.admin-fb-card__actions {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-bottom: 0.85rem;
}

.admin-btn {
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.4rem 0.9rem;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.15s;
  font-family: 'Poppins', sans-serif;
}

.admin-btn:hover { opacity: 0.85; transform: translateY(-1px); }

.admin-btn--approve   { background: #059669; color: #ffffff; }
.admin-btn--unpublish { background: #f59e0b; color: #ffffff; }
.admin-btn--delete    { background: #ef4444; color: #ffffff; }
.admin-btn--reply     { background: #0369a1; color: #ffffff; }

.admin-reply-form {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  flex-wrap: wrap;
}

.admin-reply-form textarea {
  flex: 1;
  min-width: 200px;
  padding: 0.55rem 0.85rem;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 0.85rem;
  font-family: 'Inter', sans-serif;
  color: #374151;
  resize: vertical;
  background: #fafafa;
}

.admin-reply-form textarea:focus {
  outline: none;
  border-color: #0369a1;
  box-shadow: 0 0 0 3px rgba(3,105,161,0.1);
}
