/* MediCare Hospital - Main Styles */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --teal-950: #011F1F;
  --teal-900: #0D3535;
  --teal-800: #134E4A;
  --teal-700: #115E59;
  --teal-600: #0D9488;
  --teal-500: #14B8A6;
  --teal-400: #2DD4BF;
  --teal-300: #5EEAD4;
  --teal-200: #99F6E4;
  --teal-100: #CCFBF1;
  --teal-50: #F0FDFA;
  --primary: #0D9488;
  --primary-dark: #0f766e;
  --accent: #2DD4BF;
  --light: #f9fafb;
  --text: #111827;
  --muted: #6b7280;
  --green: #16a34a;
  --gold: #d97706;
  --gold-light: #fef3c7;
  --dark-bg: #071c1c;
  --dark-surface: #0d2a2a;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'DM Sans', sans-serif;
}

html,
body {
  overflow-x: hidden;
}

body {
  font-family: var(--sans);
  font-weight: 400;
  background: #ffffff;
  color: var(--text);
}

/* NAVBAR */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  height: 100px;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(14px);
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.08);
}

nav::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--teal-800), var(--primary), var(--teal-400));
  z-index: 1;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: inherit;
}

.nav-logo .logo-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--teal-800), var(--primary));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 20px;
}

/* Prevent oversized images from causing horizontal overflow */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Navbar adjustments for small screens */
@media (max-width: 700px) {
  nav {
    height: 72px;
    padding: 0 12px;
  }

  .nav-logo .logo-icon {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }

  .nav-logo span {
    font-size: 16px;
    line-height: 1;
  }

  .mobile-menu-button {
    display: flex;
  }
}

.nav-logo span {
  font-size: 22px;
  font-weight: 700;
  color: #111827;
}

.nav-logo span b {
  color: var(--primary);
}

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  color: #374151;
  transition: color .2s;
  position: relative;
  padding-bottom: 2px;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  right: 50%;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transition: left .25s ease, right .25s ease;
}

.nav-links a:hover {
  color: var(--primary);
}

.nav-links a:hover::after {
  left: 0;
  right: 0;
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 14px;
}

.btn-nav-outline {
  padding: 9px 22px;
  border: 2px solid var(--primary);
  border-radius: 30px;
  color: var(--primary);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  background: transparent;
  transition: all .2s;
}

.btn-nav-outline:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.btn-nav-solid {
  padding: 9px 22px;
  border: 2px solid var(--primary);
  border-radius: 30px;
  background: var(--primary);
  color: white;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: all .2s;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}

.btn-nav-solid:hover {
  background: var(--primary-dark);
  color: white;
}

/* ════ TYPOGRAPHY & SHARED DESIGN TOKENS ════ */
.hero-top-text h1,
.depts-title,
.doctors-title,
.facilities-title,
.steps-title,
.faq-blog-title,
.testimonials-title,
.reach-title,
.page-hero h1,
.about-story h2,
.about-trust h2,
.about-cta h3,
.cta-banner-text h2 {
  font-family: var(--serif);
  font-weight: 300;
  letter-spacing: -0.5px;
}

.hero-top-text p,
.depts-subtitle,
.doctors-subtitle,
.testimonials-subtitle,
.reach-subtitle,
.section-subtitle,
.page-hero p {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
}

.doctor-card-body h3,
.doctor-name-plate h4 {
  font-family: var(--serif);
  font-weight: 300;
}

.nav-links a,
.btn-nav-outline,
.btn-nav-solid,
.form-group label,
.proof-tab,
.btn-ghost,
.step-label {
  font-weight: 500;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(13, 148, 136, 0.08);
  color: var(--primary);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  padding: 7px 18px;
  border-radius: 999px;
  margin-bottom: 14px;
  border: 1px solid rgba(13, 148, 136, 0.18);
}

/* ════ PAGE HERO (inner pages) ════ */
.page-hero {
  min-height: 45vh;
  padding-top: 72px;
  padding-bottom: 40px;
  background: linear-gradient(135deg, #F0FDFA 0%, #CCFBF1 60%, #99F6E4 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.page-hero::before {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(13, 148, 136, 0.06) 0%, transparent 70%);
  top: -80px;
  right: -80px;
  border-radius: 50%;
}

.page-hero h1 {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  z-index: 2;
}

.page-hero h1 span {
  color: var(--primary);
}

.page-hero p {
  margin-top: 12px;
  font-size: 16px;
  color: var(--muted);
  z-index: 2;
}

/* ════ CTA BANNER ════ */
.cta-banner {
  background:
    repeating-linear-gradient(-55deg,
      rgba(255, 255, 255, 0.03) 0px,
      rgba(255, 255, 255, 0.03) 1px,
      transparent 1px,
      transparent 16px),
    linear-gradient(100deg, var(--teal-800) 0%, var(--primary) 50%, var(--teal-600) 100%);
  padding: 48px 24px;
}

.cta-banner-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.cta-banner-text h2 {
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 800;
  color: #fff;
  margin-bottom: 6px;
}

.cta-banner-text p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.6;
}

.cta-banner-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  background: #fff;
  color: var(--primary);
  font-weight: 700;
  font-size: 15px;
  border-radius: 30px;
  text-decoration: none;
  white-space: nowrap;
  transition: transform .2s, box-shadow .2s;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.cta-banner-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.20);
  color: var(--primary);
}

/* ════ FOOTER ════ */
.site-footer {
  background: #0D3535;
  color: #a8b8cc;
  padding: 56px 24px 0;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.4fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.footer-brand p {
  font-size: 13px;
  line-height: 1.7;
  color: #5EEAD4;
  max-width: 240px;
  margin-top: 4px;
}

.footer-brand .nav-logo span {
  color: #fff;
}

.footer-brand .nav-logo span b {
  color: #2DD4BF;
}

.footer-col h5 {
  font-size: 14px;
  font-weight: 700;
  color: #CCFBF1;
  margin-bottom: 16px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col ul li a {
  font-size: 13px;
  color: #5EEAD4;
  text-decoration: none;
  transition: color .2s;
}

.footer-col ul li a:hover {
  color: var(--accent);
}

.footer-newsletter {
  display: flex;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #115E59;
}

.footer-newsletter input {
  flex: 1;
  background: rgba(255, 255, 255, 0.07);
  border: none;
  outline: none;
  padding: 11px 14px;
  font-size: 13px;
  color: #CCFBF1;
  font-family: inherit;
}

.footer-newsletter input::placeholder {
  color: #5EEAD4;
}

.footer-newsletter button {
  background: var(--primary);
  border: none;
  color: #fff;
  padding: 0 16px;
  cursor: pointer;
  font-size: 14px;
  transition: background .2s;
}

.footer-newsletter button:hover {
  background: var(--primary-dark);
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  font-size: 13px;
  color: #5EEAD4;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-social {
  display: flex;
  gap: 14px;
}

.footer-social a {
  color: #5EEAD4;
  font-size: 16px;
  transition: color .2s;
  text-decoration: none;
}

.footer-social a:hover {
  color: var(--accent);
}

/* ════ PAGE CONTENT SECTION ════ */
.page-section {
  padding: 60px 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.page-section h2 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 32px;
  text-align: center;
}

.page-section h2 span {
  color: var(--primary);
}

/* ════ SERVICE CARDS ════ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}

.service-card {
  background: white;
  border-radius: 16px;
  padding: 28px;
  box-shadow: 0 4px 24px rgba(13, 148, 136, 0.08);
  border-left: 4px solid var(--primary);
  transition: transform .2s, box-shadow .2s;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(13, 148, 136, 0.15);
}

.service-card .icon-wrap {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 22px;
  margin-bottom: 16px;
}

.service-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}

.service-card p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
}

/* ════ DOCTOR CARDS ════ */
.doctors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 28px;
}

.doctors-grid .doctor-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(13, 148, 136, 0.08);
  transition: transform .2s, box-shadow .2s;
}

.doctors-grid .doctor-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(13, 148, 136, 0.15);
}

.doctors-grid .doctor-card .photo-wrap {
  height: 240px;
  background: linear-gradient(135deg, #ccfbf1, #f0fdfa);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.doctors-grid .doctor-card .photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.doctors-grid .doctor-card .photo-wrap .placeholder {
  font-size: 64px;
  color: var(--primary);
  opacity: 0.3;
}

.doctors-grid .doctor-card .info {
  padding: 20px;
}

.doctors-grid .doctor-card h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 4px;
}

.doctors-grid .doctor-card .dept {
  font-size: 13px;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 6px;
}

.doctors-grid .doctor-card .stars {
  font-size: 12px;
  color: #f5a623;
}

.doctors-grid .doctor-card .btn-book {
  display: inline-block;
  margin-top: 12px;
  padding: 8px 18px;
  background: var(--primary);
  color: white;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: background .2s;
}

.doctors-grid .doctor-card .btn-book:hover {
  background: var(--primary-dark);
  color: white;
}

/* ════ ABOUT SECTION ════ */
.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.about-content.reverse {
  direction: rtl;
}

.about-content.reverse>* {
  direction: ltr;
}

.about-text h2 {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 16px;
  text-align: left;
}

.about-text p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 12px;
}

.about-features {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.about-features span {
  background: #f0fdfa;
  color: var(--primary);
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
}

.about-visual {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 16px;
  padding: 48px;
  text-align: center;
  color: white;
}

.about-visual .stat {
  font-size: 36px;
  font-weight: 800;
  display: block;
}

.about-visual .label {
  font-size: 14px;
  opacity: 0.9;
}

/* ════ CONTACT PAGE ════ */
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  max-width: 1000px;
  margin: 0 auto;
}

.contact-info h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 20px;
}

.contact-info .item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 20px;
}

.contact-info .item i {
  width: 40px;
  height: 40px;
  background: #f0fdfa;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  flex-shrink: 0;
}

.contact-info .item a {
  color: var(--text);
  text-decoration: none;
}

.contact-info .item a:hover {
  color: var(--primary);
}

.contact-form-wrap {
  background: white;
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 4px 24px rgba(13, 148, 136, 0.08);
}

.contact-form-wrap h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 20px;
}

.contact-form .form-group {
  margin-bottom: 16px;
}

.contact-form .btn-primary {
  width: auto;
  padding: 12px 28px;
}

.cta-book {
  text-align: center;
  margin-top: 40px;
}

.cta-book a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  color: white;
  border-radius: 30px;
  font-weight: 700;
  text-decoration: none;
}

.cta-book a:hover {
  opacity: 0.95;
  color: white;
}

/* ════ DESIGN PAGES (ALL PAGES FOLDER) ════ */
.specialists-page,
.about-page,
.contact-page,
.facilities-page,
.facility-detail-page,
.doctor-detail-page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 20px 70px;
}

.specialists-head h1,
.about-hero-content h1,
.contact-hero h1,
.facilities-hero h1,
.doctor-summary h1 {
  font-size: clamp(30px, 4vw, 50px);
  font-weight: 800;
  color: #111827;
}

.specialists-head h1 span,
.about-hero-content h1 span,
.contact-hero h1 span,
.facilities-hero h1 span {
  color: var(--primary);
}

.specialists-head p,
.contact-hero p,
.facilities-hero p {
  color: #6b7280;
  max-width: 760px;
  margin: 14px 0 24px;
  line-height: 1.7;
}

.specialists-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.specialists-tags a,
.specialists-tags span,
.specialists-tags .tag {
  padding: 8px 14px;
  border-radius: 999px;
  background: #f3f4f6;
  color: #374151;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}

.specialists-tags .active {
  background: var(--primary);
  color: #fff;
}

/* button-specific resets for .tag */
.specialists-tags .tag {
  border: none;
  cursor: pointer;
}

.specialists-tags .tag:focus {
  outline: none;
  box-shadow: 0 0 0 4px rgba(13, 148, 136, 0.08);
}

.specialists-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.specialist-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.specialist-image img {
  width: 100%;
  height: 280px;
  object-fit: cover;
}

.specialist-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.specialist-body h3 {
  font-size: 19px;
  font-weight: 700;
  color: #111827;
}

.specialist-role {
  color: var(--primary);
  font-size: 13px;
  font-weight: 700;
}

.specialist-qual {
  color: #6b7280;
  font-size: 12px;
}

.specialist-meta {
  display: flex;
  justify-content: space-between;
  color: #4b5563;
  font-size: 12px;
  margin-top: 6px;
}

.specialist-meta i {
  color: var(--primary);
  margin-right: 4px;
}

.specialist-actions {
  margin-top: 8px;
  display: grid;
  grid-template-columns: 1fr;
  /* stack buttons vertically */
  gap: 10px;
}

.specialist-actions a {
  text-align: center;
  padding: 9px 10px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  color: #374151;
  background: #f3f4f6;
}

.specialist-actions a.book,
.specialist-actions button.book {
  background: var(--primary);
  color: #fff;
  border: none;
  cursor: pointer;
  font-weight: 700;
  text-align: center;
  padding: 9px 10px;
  border-radius: 10px;
  font-size: 12px;
  text-decoration: none;
  transition: background .2s;
}

.specialist-actions a.book:hover,
.specialist-actions button.book:hover {
  background: var(--primary-dark, #0f766e);
  color: #fff;
}


.about-hero {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  min-height: 360px;
  background: url('https://placehold.co/1400x620/0f766e/ffffff?text=Aasiya+Hospital') center/cover;
  margin-bottom: 34px;
}

.about-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(17, 24, 39, 0.75), rgba(15, 118, 110, 0.65));
}

.about-hero-content {
  position: relative;
  z-index: 1;
  color: #fff;
  max-width: 760px;
  padding: 70px 40px;
}

.about-hero-content h1 {
  color: #fff;
  margin-bottom: 14px;
}

.about-hero-content p {
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.9);
}

.about-story {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 24px;
  margin-bottom: 24px;
}

.about-story h4 {
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 10px;
}

.about-story h2 {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 12px;
  color: #111827;
}

.about-story p {
  color: #4b5563;
  line-height: 1.75;
  margin-bottom: 10px;
}

.about-story-card {
  background: linear-gradient(155deg, #071c1c 0%, #0d3535 100%);
  border-radius: 20px;
  padding: 28px 22px;
  display: grid;
  gap: 0;
  box-shadow: 0 8px 32px rgba(7, 28, 28, 0.35);
}

.about-story-card div {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.about-story-card div:first-child {
  padding-top: 0;
}

.about-story-card div:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.about-story-card strong {
  color: var(--teal-300);
  font-size: 32px;
  font-family: var(--serif);
}

.about-story-card span {
  color: rgba(255, 255, 255, 0.58);
  font-size: 13px;
}

.about-mv {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 24px;
}

.about-mv article {
  background: #fff;
  border: none;
  border-left: 4px solid var(--primary);
  border-radius: 16px;
  padding: 28px 24px;
  box-shadow: 0 4px 20px rgba(13, 148, 136, 0.08);
  transition: box-shadow .2s, transform .2s;
}

.about-mv article:hover {
  box-shadow: 0 10px 32px rgba(13, 148, 136, 0.14);
  transform: translateY(-3px);
}

.about-mv i {
  color: var(--primary);
  font-size: 22px;
  margin-bottom: 10px;
}

.about-mv h3 {
  font-size: 22px;
  margin-bottom: 8px;
  color: #111827;
  font-family: var(--serif);
}

.about-mv p {
  color: #4b5563;
  line-height: 1.7;
}

.about-trust {
  background: linear-gradient(160deg, #f0fdfa 0%, #e8faf6 100%);
  border: 1px solid #c6f5ec;
  border-radius: 20px;
  padding: 10px;
  margin-bottom: 24px;
}

.about-trust h2 {
  font-size: 28px;
  margin-bottom: 14px;
  color: #111827;
}

.about-trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.about-trust-grid article {
  background: #fff;
  border: 1px solid #d4f5ec;
  border-radius: 14px;
  padding: 20px;
  box-shadow: 0 2px 10px rgba(13, 148, 136, 0.06);
  transition: box-shadow .2s;
}

.about-trust-grid article:hover {
  box-shadow: 0 6px 20px rgba(13, 148, 136, 0.12);
}

.about-trust-grid i {
  color: var(--primary);
  font-size: 20px;
  margin-bottom: 8px;
}

.about-trust-grid h4 {
  margin-bottom: 4px;
  color: #111827;
}

.about-trust-grid p {
  color: #6b7280;
  font-size: 13px;
}

.about-cta {
  background:
    repeating-linear-gradient(-55deg,
      rgba(255, 255, 255, 0.03) 0px,
      rgba(255, 255, 255, 0.03) 1px,
      transparent 1px,
      transparent 16px),
    linear-gradient(120deg, var(--teal-800) 0%, var(--primary) 100%);
  color: #fff;
  border-radius: 20px;
  padding: 40px 30px;
  text-align: center;
}

.about-cta h3 {
  font-size: 30px;
  margin-bottom: 8px;
}

.about-cta p {
  color: rgba(255, 255, 255, .92);
  margin-bottom: 18px;
}

.about-cta a {
  display: inline-block;
  background: #fff;
  color: var(--primary);
  padding: 12px 22px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 700;
}



.contact-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 20px 0;
}

.contact-cards article {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 18px;
}

.contact-cards i {
  color: var(--primary);
  font-size: 22px;
  margin-bottom: 8px;
}

.contact-cards h4 {
  color: #111827;
  margin-bottom: 4px;
}

.contact-cards p {
  color: #6b7280;
  font-size: 14px;
}

.contact-main-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 18px;
  margin-top: 8px;
}

.contact-form-card,
.contact-map-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 20px;
}

.contact-form-card h3,
.contact-map-card h3 {
  font-size: 24px;
  color: #111827;
  margin-bottom: 4px;
}

.contact-form-card p,
.contact-map-card p {
  color: #6b7280;
  margin-bottom: 14px;
}

.contact-map-card .book-link {
  display: inline-block;
  margin-top: 14px;
  text-decoration: none;
  font-weight: 700;
  color: var(--primary);
}

.facilities-list {
  display: grid;
  gap: 20px;
  margin-top: 24px;
}

.facility-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 18px;
  padding: 14px;
}

.facility-item-image img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: 14px;
}

.facility-item-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.facility-item-content .badge {
  display: inline-block;
  width: fit-content;
  padding: 6px 10px;
  border-radius: 999px;
  background: #ecfeff;
  color: #0f766e;
  font-size: 11px;
  font-weight: 700;
  margin-bottom: 10px;
}

.facility-item-content h3 {
  font-size: 30px;
  color: #111827;
  margin-bottom: 10px;
}

.facility-item-content p {
  color: #4b5563;
  line-height: 1.8;
  margin-bottom: 12px;
}

.facility-item-content a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 700;
}

.facility-detail-page {
  padding-top: 92px;
}

.facility-detail-hero {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  min-height: 420px;
}

.facility-detail-hero img {
  width: 100%;
  height: 420px;
  object-fit: cover;
}

.facility-detail-hero .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, .70), rgba(0, 0, 0, .15));
}

.facility-detail-hero .hero-content {
  position: absolute;
  left: 28px;
  bottom: 30px;
  right: 28px;
  color: #fff;
}

.facility-detail-hero span {
  display: inline-block;
  padding: 5px 10px;
  background: rgba(13, 148, 136, .25);
  border: 1px solid rgba(255, 255, 255, .35);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  margin-bottom: 8px;
}

.facility-detail-hero h1 {
  font-size: clamp(30px, 4vw, 48px);
  margin-bottom: 8px;
}

.facility-detail-hero p {
  max-width: 760px;
  color: rgba(255, 255, 255, .9);
  line-height: 1.7;
}

.facility-detail-body {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 20px;
  margin: 24px 0;
}

.facility-detail-body article,
.facility-detail-body aside .stats-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 20px;
}

.facility-detail-body article h2 {
  font-size: 30px;
  color: #111827;
  margin-bottom: 10px;
}

.facility-detail-body article p {
  color: #4b5563;
  line-height: 1.8;
  margin-bottom: 10px;
}

.facility-detail-body article ul {
  padding-left: 18px;
  color: #374151;
  display: grid;
  gap: 8px;
}

.stats-card h4 {
  margin-bottom: 10px;
  color: #111827;
}

.stats-card div {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid #f3f4f6;
  padding: 10px 0;
  color: #374151;
}

.facility-detail-body aside .cta,
.facility-detail-body aside .ghost {
  display: block;
  text-align: center;
  text-decoration: none;
  border-radius: 12px;
  font-weight: 700;
  padding: 11px 14px;
  margin-top: 10px;
}

.facility-detail-body aside .cta {
  background: var(--primary);
  color: #fff;
}

.facility-detail-body aside .ghost {
  background: #f3f4f6;
  color: #374151;
}

.related-facilities h3 {
  font-size: 24px;
  color: #111827;
  margin-bottom: 10px;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.related-card {
  text-decoration: none;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  overflow: hidden;
  color: #111827;
}

.related-card img {
  width: 100%;
  height: 120px;
  object-fit: cover;
}

.related-card span {
  display: block;
  padding: 10px;
  font-size: 13px;
  font-weight: 700;
}

.doctor-detail-top {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 18px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 16px;
}

.doctor-photo img {
  width: 100%;
  height: 100%;
  min-height: 440px;
  object-fit: cover;
  border-radius: 14px;
}

.doctor-summary .chip {
  display: inline-block;
  padding: 6px 10px;
  border-radius: 999px;
  background: #ecfeff;
  color: #0f766e;
  font-weight: 700;
  font-size: 11px;
  margin-bottom: 10px;
}

.doctor-summary .role {
  color: var(--primary);
  font-size: 16px;
  font-weight: 600;
  margin: 4px 0;
}

.doctor-summary .qual {
  color: #6b7280;
  margin-bottom: 12px;
}

.doctor-highlights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 10px;
}

.doctor-highlights div {
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 10px;
  text-align: center;
}

.doctor-highlights strong {
  display: block;
  color: #111827;
}

.doctor-highlights span {
  color: #6b7280;
  font-size: 12px;
}

.doctor-summary .bio {
  color: #4b5563;
  line-height: 1.75;
}

.doctor-actions {
  display: flex;
  gap: 10px;
  margin-top: 14px;
}

.doctor-actions a {
  text-decoration: none;
  font-weight: 700;
  padding: 11px 16px;
  border-radius: 10px;
}

.doctor-actions .btn-book {
  background: var(--primary);
  color: #fff;
}

.doctor-actions .btn-call {
  background: #f3f4f6;
  color: #374151;
}

.doctor-detail-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 14px;
}

.doctor-detail-columns article {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 18px;
}

.doctor-detail-columns h2 {
  font-size: 22px;
  margin-bottom: 8px;
  color: #111827;
}

.doctor-detail-columns p,
.doctor-detail-columns li {
  color: #4b5563;
  line-height: 1.7;
}

.doctor-detail-columns ul {
  padding-left: 18px;
  display: grid;
  gap: 7px;
}

.related-doctors {
  margin-top: 16px;
}

.related-doctors h3 {
  font-size: 24px;
  margin-bottom: 10px;
  color: #111827;
}

.related-doctor-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.related-doctor-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  text-decoration: none;
  color: #111827;
  overflow: hidden;
}

.related-doctor-card img {
  width: 100%;
  height: 170px;
  object-fit: cover;
}

.related-doctor-card strong,
.related-doctor-card span {
  display: block;
  padding: 0 10px;
}

.related-doctor-card strong {
  padding-top: 10px;
  font-size: 14px;
}

.related-doctor-card span {
  padding-bottom: 10px;
  font-size: 12px;
  color: #6b7280;
}

.empty-state {
  grid-column: 1 / -1;
  text-align: center;
  color: #6b7280;
  padding: 20px;
  background: #fff;
  border: 1px dashed #d1d5db;
  border-radius: 14px;
}

@media (max-width: 1024px) {
  .specialists-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .facility-item,
  .about-story,
  .about-mv,
  .contact-main-grid,
  .facility-detail-body,
  .doctor-detail-top,
  .doctor-detail-columns {
    grid-template-columns: 1fr;
  }

  .related-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 700px) {

  .specialists-grid,
  .contact-cards,
  .about-trust-grid,
  .related-doctor-grid,
  .related-grid {
    grid-template-columns: 1fr;
  }

  .depts-grid {
    grid-template-columns: 1fr;
  }

  .specialists-page,
  .contact-page,
  .facilities-page,
  .facility-detail-page,
  .doctor-detail-page {
    padding-top: 98px;
  }
}

@media (max-width: 700px) {

  .page-section,
  .specialists-page,
  .about-page,
  .contact-page,
  .facilities-page,
  .facility-detail-page,
  .doctor-detail-page {
    padding-left: 12px;
    padding-right: 12px;
    padding-bottom: 44px;
  }

  .page-hero {
    min-height: 34vh;
    padding-top: 56px;
    padding-bottom: 22px;
  }

  .page-hero h1,
  .specialists-head h1,
  .about-hero-content h1,
  .contact-hero h1,
  .facilities-hero h1,
  .doctor-summary h1,
  .facility-detail-hero h1 {
    font-size: clamp(22px, 6vw, 30px);
    line-height: 1.18;
  }

  .page-hero p,
  .specialists-head p,
  .contact-hero p,
  .facilities-hero p,
  .facility-detail-hero p {
    font-size: 13px;
    line-height: 1.55;
  }

  .service-card,
  .doctors-grid .doctor-card,
  .specialist-card,
  .about-mv article,
  .about-trust-grid article,
  .contact-cards article,
  .contact-form-card,
  .contact-map-card,
  .facility-item,
  .related-card,
  .related-doctor-card,
  .facility-detail-body article,
  .facility-detail-body aside .stats-card,
  .doctor-detail-columns article {
    border-radius: 12px;
  }

  .service-card,
  .about-mv article,
  .about-trust-grid article,
  .contact-form-card,
  .contact-map-card,
  .facility-detail-body article,
  .facility-detail-body aside .stats-card,
  .doctor-detail-columns article {
    padding: 14px;
  }

  .btn-nav-outline,
  .btn-nav-solid,
  .cta-banner-btn,
  .doctor-actions a,
  .facility-detail-body aside .cta,
  .facility-detail-body aside .ghost {
    padding: 8px 12px;
    font-size: 12px;
  }

  .specialists-grid,
  .contact-cards,
  .about-trust-grid,
  .related-doctor-grid,
  .related-grid,
  .depts-grid,
  .testimonials-grid,
  .doctors-grid,
  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .doctor-highlights {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .specialist-image img,
  .doctors-grid .doctor-card .photo-wrap,
  .doctors-grid .doctor-card-img,
  .related-doctor-card img,
  .related-card img {
    height: 140px;
  }

  .specialist-body,
  .doctors-grid .doctor-card .info,
  .doctors-grid .doctor-card-body {
    padding: 10px;
  }

  .specialist-body h3,
  .doctors-grid .doctor-card h3,
  .doctors-grid .doctor-card-body h3,
  .facility-overlay h3,
  .related-facilities h3,
  .related-doctors h3,
  .doctor-detail-columns h2,
  .facility-detail-body article h2 {
    font-size: 15px;
  }

  .specialist-role,
  .specialist-qual,
  .specialist-meta,
  .doctor-qual,
  .doctor-inst,
  .dept-doc-count,
  .facility-overlay p,
  .testi-text,
  .faq-item p {
    font-size: 11px;
    line-height: 1.45;
  }
}

/* Direct UPI Payment App Launch Button */
.btn-upi-app {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  margin: 12px 0 6px 0;
  padding: 12px 16px;
  background: linear-gradient(135deg, #0d9488 0%, #0a6ebd 100%);
  color: #ffffff !important;
  text-decoration: none !important;
  font-size: 13px;
  font-weight: 700;
  border-radius: 10px;
  box-shadow: 0 4px 14px rgba(13, 148, 136, 0.3);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  cursor: pointer;
  letter-spacing: 0.2px;
}

.btn-upi-app:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(13, 148, 136, 0.4);
  color: #ffffff !important;
}

.btn-upi-app i {
  font-size: 15px;
}

.upi-app-hint {
  font-size: 11px;
  color: #64748b;
  margin-top: 4px;
  margin-bottom: 8px;
  line-height: 1.35;
  text-align: center;
}

.upi-apps-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  width: 100%;
  margin: 10px 0 6px 0;
}

.btn-upi-choice {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 10px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none !important;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  cursor: pointer;
}

.btn-upi-choice:hover {
  transform: translateY(-1px);
}

.btn-upi-choice.gpay {
  background: #ffffff;
  color: #1f2937 !important;
  border: 1.5px solid #dadce0;
}
.btn-upi-choice.gpay:hover {
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.btn-upi-choice.phonepe {
  background: #5f259f;
  color: #ffffff !important;
}
.btn-upi-choice.phonepe:hover {
  box-shadow: 0 4px 10px rgba(95, 37, 159, 0.35);
}

.btn-upi-choice.paytm {
  background: #00b9f5;
  color: #ffffff !important;
}
.btn-upi-choice.paytm:hover {
  box-shadow: 0 4px 10px rgba(0, 185, 245, 0.35);
}

.btn-upi-choice.other {
  background: #0d9488;
  color: #ffffff !important;
}
.btn-upi-choice.other:hover {
  box-shadow: 0 4px 10px rgba(13, 148, 136, 0.35);
}

/* Availability indicators & chips */
.availability-legend {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  color: #64748b;
  margin-top: 6px;
  margin-bottom: 4px;
}
.availability-legend span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.availability-legend .dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  display: inline-block;
}
.availability-legend .dot.good {
  background: #16a34a;
}
.availability-legend .dot.few {
  background: #eab308;
}
.availability-legend .dot.full {
  background: #dc2626;
}

.availability-days {
  margin-top: 6px;
  margin-bottom: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  max-height: 120px;
  overflow-y: auto;
  padding: 2px;
}
.availability-chip {
  border: 1px solid #d1d5db;
  border-radius: 8px;
  background: #ffffff;
  color: #0f172a;
  padding: 4px 7px;
  min-width: 44px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  line-height: 1.15;
  cursor: pointer;
  transition: all 0.15s ease;
  font-family: inherit;
}
.availability-chip:hover {
  transform: translateY(-1px);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}
.availability-chip .w {
  font-size: 10px;
  text-transform: uppercase;
  font-weight: 600;
  color: #64748b;
}
.availability-chip .d {
  font-size: 13px;
  font-weight: 700;
  color: #0f172a;
}
.availability-chip.good {
  border-color: rgba(22, 163, 74, 0.45);
  background: rgba(22, 163, 74, 0.08);
}
.availability-chip.few {
  border-color: rgba(234, 179, 8, 0.45);
  background: rgba(234, 179, 8, 0.1);
}
.availability-chip.full {
  border-color: rgba(220, 38, 38, 0.45);
  background: rgba(220, 38, 38, 0.08);
  opacity: 0.6;
}
.availability-chip.active {
  border-color: #0d9488 !important;
  background: #0d9488 !important;
  box-shadow: 0 0 0 2px rgba(13, 148, 136, 0.35);
}
.availability-chip.active .w,
.availability-chip.active .d {
  color: #ffffff !important;
}