/*
Theme Name: KMM Hospital
Theme URI: https://dev.kmm-hospital.com
Author: KMM Hospital Dev
Description: Custom theme for K.M. Memorial Hospital & Research Center - replicating staging.kmm-hospital.com
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: Private
Text Domain: kmm-hospital
*/

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&display=swap');
/*font-family: "DM Sans", sans-serif;*/

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap');
/*font-family: "Playfair Display", serif;*/

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }


body {
  font-family: 'Segoe UI', Arial, sans-serif;
  font-size: 15px;
  line-height: 1.7;
  color: #333;
  background: #fff;
}
h1, h2, h3 {
	font-family:'Playfair Display', Georgia, serif;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.overflowhidden { overflow:hidden !important;}

/* ============================================================
   COLOURS & VARIABLES
   ============================================================ */
:root {
  --blue:       #1a5fa8;
  --blue-dark:  #0a2342;
  --blue-light: #cce0f5;
  --red:        #d32f2f;
  --white:      #ffffff;
  --gray-bg:    #f5f7fa;
  --gray-text:  #666;
  --border:     #dde3ea;
  --radius:     8px;
  --shadow:     0 2px 16px rgba(0,0,0,0.08);
  --transition: 0.25s ease;
  --gold:       #c8973a;
  --teal:      #0f8a7a;
  --teal-light:#e0f4f1;
  --navy:      #0a2342;
}

/* ============================================================
   TOP EMERGENCY BAR
   ============================================================ */
.top-emergency-bar {
  background: #c0392b;
  color: #cce0f5;
  font-size: 12.5px;
  padding: 7px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.top-emergency-bar .container {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 14px;
   color: #fff; 
   font-weight: 600;
}
.top-emergency-bar .container a { color: #FFD0CC; text-decoration: none; }
.top-emergency-bar .container a:hover { color: #FFF; text-decoration: none; }

.top-emergency-bar .emergency { color: #fff; font-weight: 600; }
.top-emergency-bar .emergency span { color: #fff; }


/* ============================================================
   TOP UTILITY BAR
   ============================================================ */
.top-bar {
  background: var(--blue-dark);
  color: #cce0f5;
  font-size: 12.5px;
  padding: 7px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.top-bar-left {
  display: flex;
  gap: 18px;
  align-items: center;
}

.top-bar-left a {
  color: #cce0f5;
  display: flex;
  align-items: center;
  gap: 5px;
}

.top-bar-left .emergency { color: #ff8a80; font-weight: 600; }
.top-bar-left .emergency span { color: #ff8a80; }

.top-bar-right {
  display: flex;
  gap: 14px;
  align-items: center;
}

.top-bar-right a {
  color: #cce0f5;
  transition: color var(--transition);
}
.top-bar-right a:hover { color: #fff; }

/* ============================================================
   MAIN HEADER / NAV
   ============================================================ */
.site-header {
  background: #fff;
  box-shadow: 0 2px 12px rgba(0,0,0,0.09);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
}

.site-logo img { height: 60px; width: auto; }
.site-logo-text {
  font-size: 20px;
  font-weight: 700;
  color: var(--blue-dark);
  line-height: 1.2;
}
.site-logo-text small {
  display: block;
  font-size: 11px;
  font-weight: 400;
  color: var(--gray-text);
  letter-spacing: 0.04em;
}

/* Primary Nav */
.primary-nav { display: flex; align-items: center; gap: 4px; }

.primary-nav > li { position: relative; }

.primary-nav > li > a {
  display: block;
  padding: 10px 14px;
  font-size: 14px;
  font-weight: 500;
  color: #2c3e50;
  border-radius: var(--radius);
  transition: background var(--transition), color var(--transition);
}

.primary-nav > li > a:hover,
.primary-nav > li.current-menu-item > a {
  background: var(--blue-light);
  color: var(--blue-dark);
}

/* Dropdown */
.primary-nav .sub-menu {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  min-width: 230px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: all var(--transition);
  z-index: 999;
}

.primary-nav li:hover > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.primary-nav .sub-menu li a {
  display: block;
  padding: 9px 16px;
  font-size: 13.5px;
  color: #333;
  border-bottom: 1px solid #f0f0f0;
  transition: background var(--transition), color var(--transition);
}

.primary-nav .sub-menu li:last-child a { border-bottom: none; }
.primary-nav .sub-menu li a:hover { background: var(--blue-light); color: var(--blue-dark); }

/* Book Appointment CTA in nav */
.nav-cta a {
  background: var(--blue-dark) !important;
  color: #fff !important;
  padding: 10px 18px !important;
  border-radius: 25px !important;
  font-weight: 600 !important;
  transition: background var(--transition) !important;
}
.nav-cta a:hover { background: var(--blue-dark) !important; }

/* Mobile hamburger */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--blue-dark);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ============================================================
   HERO SLIDER
   ============================================================ */
.hero-slider {
  position: relative;
  overflow: hidden;
  height: 580px;
  background: var(--blue-dark);
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.8s ease;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
}

.hero-slide.active { opacity: 1; }

.hero-slide::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(10,40,80,0.72) 0%, rgba(10,40,80,0.35) 60%, transparent 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
  color: #fff;
  padding: 0 20px;
  margin-left: 80px;
}

.hero-content .slide-tag {
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #90caf9;
  margin-bottom: 12px;
  font-weight: 500;
}

.hero-content h2 {
  font-size: 44px;
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 24px;
  color: #fff;
}

.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 12px 24px;
  border-radius: 25px;
  font-size: 14px;
  font-weight: 600;
  transition: all var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
}

.btn-primary { background: var(--blue); color: #fff; border-color: var(--blue); }
.btn-primary:hover { background: var(--blue-dark); border-color: var(--blue-dark); }
.btn-outline { background: transparent; color: #fff; border-color: rgba(255,255,255,0.7); }
.btn-outline:hover { background: rgba(255,255,255,0.15); border-color: #fff; }
.btn-blue-outline { background: transparent; color: var(--blue); border-color: var(--blue); }
.btn-blue-outline:hover { background: var(--blue); color: #fff; }

/* Slider controls */
.slider-prev, .slider-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.2);
  border: 2px solid rgba(255,255,255,0.5);
  color: #fff;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  z-index: 10;
  transition: background var(--transition);
}
.slider-prev:hover, .slider-next:hover { background: rgba(255,255,255,0.4); }
.slider-prev { left: 18px; }
.slider-next { right: 18px; }

.slider-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}
.slider-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.45);
  cursor: pointer;
  transition: background var(--transition);
  border: none;
}
.slider-dot.active { background: #fff; }

/* ============================================================
   STATS STRIP
   ============================================================ */
.stats-strip {
  background: var(--blue-dark);
  padding: 22px 0;
}

.stats-strip .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.stat-item {
  text-align: center;
  color: #fff;
  padding: 10px 0;
  border-right: 1px solid rgba(255,255,255,0.2);
}
.stat-item:last-child { border-right: none; }

.stat-item .num {
  font-size: 34px;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 4px;
}

.stat-item .lbl {
  font-size: 12.5px;
  opacity: 0.85;
  font-weight: 500;
  letter-spacing: 0.03em;
}

/* ============================================================
   TRUST TICKER
   ============================================================ */
.trust-ticker {
  background: var(--blue-light);
  border-bottom: 1px solid #c9dff4;
  padding: 10px 0;
  overflow: hidden;
}

.trust-ticker-inner {
  display: flex;
  gap: 40px;
  animation: ticker 22s linear infinite;
  white-space: nowrap;
  width: max-content;
}

.trust-ticker-inner span {
  font-size: 13px;
  font-weight: 500;
  color: var(--blue-dark);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.trust-ticker-inner span::before {
  content: '✓';
  background: var(--blue-dark);
  color: #fff;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  font-size: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

@keyframes ticker {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ============================================================
   SECTIONS COMMON
   ============================================================ */
.section { padding: 72px 0; }
.section-alt { background: var(--gray-bg); }

.section-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue-dark);
  background: var(--blue-light);
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 10px;
}

.section-title {
  font-size: 32px;
  font-weight: 700;
  color: #1a2540;
  margin-bottom: 14px;
  line-height: 1.2;
}

.section-sub {
  font-size: 15px;
  color: var(--gray-text);
  max-width: 560px;
}

.section-header { margin-bottom: 42px; }
.section-header.centered { text-align: center; }
.section-header.centered .section-sub { margin: 0 auto; }

/* ============================================================
   ABOUT SECTION
   ============================================================ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-img-wrap { position: relative; }

.about-img-wrap img {
  border-radius: 12px;
  width: 100%;
  height: 460px;
  object-fit: cover;
}

.about-badge {
  position: absolute;
  bottom: 24px;
  left: 24px;
  background: var(--blue-dark);
  color: #fff;
  border-radius: 10px;
  padding: 14px 20px;
  text-align: center;
  box-shadow: var(--shadow);
}
.about-badge .big { font-size: 28px; font-weight: 700; }
.about-badge .small { font-size: 11px; opacity: 0.85; }

.about-features { display: flex; flex-direction: column; gap: 18px; margin: 28px 0 32px; }

.about-feature {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 14px 18px;
  background: var(--gray-bg);
  border-radius: var(--radius);
  border-left: 3px solid var(--blue-dark);
  transition: background var(--transition);
}
.about-feature:hover { background: var(--blue-light); }

.about-feature-icon { font-size: 22px; flex-shrink: 0; }

.about-feature-text h4 {
  font-size: 14.5px;
  font-weight: 600;
  color: #1a2540;
  margin-bottom: 3px;
}
.about-feature-text p { font-size: 13px; color: var(--gray-text); }

.about-btns { display: flex; gap: 12px; }

/* ============================================================
   DEPARTMENTS
   ============================================================ */
.dept-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.dept-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 24px 18px;
  text-align: center;
  transition: all var(--transition);
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  display: block;
}

.dept-card:hover {
  border-color: var(--blue-dark);
  box-shadow: 0 6px 24px rgba(26,95,168,0.13);
  transform: translateY(-3px);
}

.dept-icon {
  font-size: 36px;
  margin-bottom: 12px;
}

.dept-card h3 {
  font-size: 13.5px;
  font-weight: 600;
  color: #1a2540;
  margin-bottom: 8px;
  line-height: 1.3;
}

.dept-card p {
  font-size: 12px;
  color: var(--gray-text);
  line-height: 1.5;
  margin-bottom: 10px;
}

.dept-learn {
  font-size: 12px;
  color: var(--blue-dark);
  font-weight: 600;
}

.dept-view-all {
  text-align: center;
  margin-top: 36px;
}

/* ============================================================
   DOCTORS
   ============================================================ */
.doctors-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.doctor-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  transition: all var(--transition);
  text-align: center;
}

.doctor-card:hover {
  box-shadow: 0 8px 28px rgba(26,95,168,0.12);
  transform: translateY(-3px);
}

.doctor-photo {
  width: 100%;
  height: 200px;
  object-fit: cover;
  object-position: top;
  background: var(--blue-light);
}

.doctor-photo-placeholder {
  width: 100%;
  height: 200px;
  background: var(--blue-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  font-weight: 700;
  color: var(--blue-dark);
}

.doctor-info { padding: 16px; }

.doctor-info h3 {
  font-size: 15px;
  line-height: 19px;
  font-weight: 700;
  color: var(--blue-dark);
  margin-bottom: 4px;
  font-family:'DM Sans', -apple-system, sans-serif !important;
}

.doctor-info .qualification {
  font-size: 12.5px;
  color: var(--gray-text);
  font-weight: 400;
  margin-bottom: 3px;
}

.doctor-info .specialty {
  font-size: 12.5px;
  color: #1a2540;
  font-weight: 500;
  margin-bottom: 3px;
}

.doctor-info .dept {
  font-size: 12px;
  color: var(--gray-text);
}

/* ============================================================
   FACILITIES
   ============================================================ */
.facilities-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: start;
}

.facilities-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.facility-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 13.5px;
  font-weight: 500;
  color: #1a2540;
}

.facility-item::before {
  content: '✓';
  width: 22px;
  height: 22px;
  background: var(--blue-dark);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  flex-shrink: 0;
}

/* ============================================================
   APPOINTMENT FORM
   ============================================================ */
.appt-form-wrap {
  background: var(--blue-dark);
  border-radius: 14px;
  padding: 36px;
  color: #fff;
}

.appt-form-wrap h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 6px;
}

.appt-form-wrap .sub {
  font-size: 13px;
  opacity: 0.75;
  margin-bottom: 24px;
}

.appt-form { display: flex; flex-direction: column; gap: 14px; }

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.appt-form input,
.appt-form select {
  width: 100%;
  padding: 12px 16px;
  border-radius: var(--radius);
  border: 1.5px solid rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.1);
  color: #fff;
  font-size: 14px;
  transition: border var(--transition);
  outline: none;
}

.appt-form input::placeholder { color: rgba(255,255,255,0.55); }
.appt-form select { color: rgba(255,255,255,0.8); }
.appt-form select option { color: #333; background: #fff; }

.appt-form input:focus,
.appt-form select:focus { border-color: rgba(255,255,255,0.7); }

.appt-form .btn-submit {
  background: #fff;
  color: var(--blue-dark);
  border: none;
  padding: 13px 28px;
  border-radius: 25px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition);
  align-self: flex-start;
  margin-top: 4px;
}
.appt-form .btn-submit:hover { background: #e8f2fc; }

/* ============================================================
   INSURANCE
   ============================================================ */
.insurance-logos {
  display: grid;
  grid-template-columns: repeat(9, 1fr);
  gap: 14px;
  margin: 28px 0;
}

.insurance-logo {
  background: var(--gray-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 8px;
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  color: var(--blue-dark);
  transition: all var(--transition);
}

.insurance-logo:hover {
  background: var(--blue-light);
  border-color: var(--blue-dark);
}

.insurance-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 36px;
}

.insurance-step {
  text-align: center;
  padding: 28px 20px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
}

.step-num {
  width: 44px;
  height: 44px;
  background: var(--blue-dark);
  color: #fff;
  border-radius: 50%;
  font-size: 18px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
}

.insurance-step h4 {
  font-size: 14px;
  font-weight: 700;
  color: #1a2540;
  margin-bottom: 8px;
}
.insurance-step p { font-size: 13px; color: var(--gray-text); }

/* ============================================================
   GALLERY
   ============================================================ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.gallery-item:hover img { transform: scale(1.06); }

/* ============================================================
   BEFORE FOOTER
   ============================================================ */

.before-footer { padding: 60px 0; border-top: 1px solid rgb(224, 230, 239); }
.before-footer-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 40px; }
.bfoot-col h3 {
  font-size: 20px !important; color: var(--navy); margin-bottom: 20px; font-family: "Playfair Display", serif;
}
.gallery-thumbs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 12px; }
.gallery-thumb { border-radius: 8px; overflow: hidden; aspect-ratio: 1; }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition); }
.gallery-thumb:hover img { transform: scale(1.05); }
.gallery-view-all {
  display: flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 600; color: var(--teal);
  justify-content: flex-end;
}
.foot-facilities li {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 0; border-bottom: 1px solid var(--border);
  font-size: 14px; color: var(--gray-600); font-family: "DM Sans", Sans-serif;
}
.foot-facilities li::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: var(--teal); flex-shrink: 0;
}
.foot-facilities li:last-child { border-bottom: none; }
.news-scroll { display: flex; flex-direction: column; gap: 14px; }
.news-item {
  padding: 12px 14px; background: var(--gray-bg); border-radius: 8px;
  border-left: 3px solid var(--teal);
}
.news-item a { font-size: 13px; font-weight: 500; color: var(--navy); display: block; line-height: 1.45; }
.news-item a:hover { color: var(--teal); }
.news-item small { font-size: 11px; color: var(--gray-300); display: block; margin-top: 4px; }
.no-news { font-size: 14px; color: var(--gray-300); font-style: italic; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: #0d2844;
  color: #a8c4de;
  padding: 60px 0 0;
  font-family: "DM Sans", sans-serif;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 20px;
}

.footer-logo img { height: 52px; margin-bottom: 14px; filter: brightness(0) invert(1); }
.footer-logo-name {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
}

.footer-about p {
  font-size: 13px;
  line-height: 1.7;
  margin-bottom: 18px;
}

.footer-col h4 {
  font-size: 16px !important;
  font-weight: 600;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-col ul li { margin-bottom: 8px; }

.footer-col ul li a {
  font-size: 13px;
  line-height: 18px;
  color: #a8c4de;
  transition: color var(--transition);
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer-col ul li a::before {
  content: '›';
  color: var(--blue-dark);
  font-size: 16px;
}

.footer-col ul li a:hover { color: #fff; }


.footer-bottom-grid {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 0px;
  margin-bottom: 40px;
}
.footer-emergency h4 {
  font-size: 14px !important;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #90caf9;
  margin-bottom: 0px;
  border: none !important
}

.footer-emergency a {
  display: block;
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 4px;
}

.footer-visiting {
  font-size: 13px;
  color: #a8c4de;
  line-height: 1.7;
  margin-top: 4px;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 18px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12.5px;
  color: #7a9ab8;
  flex-wrap: wrap;
  gap: 8px;
}

.footer-social { display: flex; gap: 10px; margin-top: 16px; margin-bottom: 18px; }
.social-link {
  width: 34px; height: 34px; border-radius: 8px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.1);
  display: flex; align-items: center; justify-content: center;
  color: #8090a8; font-size: 14px; transition: var(--transition);
}
.social-link:hover { background: var(--teal); color: var(--white); border-color: var(--teal); }



/* ============================================================
   PAGE HERO (inner pages)
   ============================================================ */
.page-hero {
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue-dark) 100%);
  padding: 52px 0;
  color: #fff;
}

.page-hero h1 { font-size: 34px; line-height: 44px; font-weight: 700; margin-bottom: 20px; }
.page-hero .breadcrumb { font-size: 13px; opacity: 0.75; }
.page-hero .breadcrumb a { color: #90caf9; }
.page-hero .breadcrumb span { margin: 0 6px; }

/* ============================================================
   SINGLE DEPARTMENT PAGE
   ============================================================ */
.dept-detail-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
}

.dept-sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.sidebar-card {
  background: var(--gray-bg);
  border-radius: 10px;
  padding: 22px;
  border: 1px solid var(--border);
}

.sidebar-card h3 {
  font-size: 16px;
  font-weight: 700;
  color: #1a2540;
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--blue-dark);
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}

.contact-info-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 22px;
}

.contact-info-icon {
  width: 44px;
  height: 44px;
  background: var(--blue-light);
  color: var(--blue-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.contact-info-text h4 {
  font-size: 14.5px;
  font-weight: 600;
  color: #1a2540;
  margin-bottom: 4px;
}
.contact-info-text p, .contact-info-text a {
  font-size: 14px;
  color: var(--gray-text);
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: 14px;
  margin-bottom: 14px;
  transition: border var(--transition);
  outline: none;
  font-family: inherit;
}

.contact-form input:focus,
.contact-form textarea:focus { border-color: var(--blue-dark); }

.contact-form textarea { height: 130px; resize: vertical; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .dept-grid { grid-template-columns: repeat(3, 1fr); }
  .doctors-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-content { margin-left: 40px; }
  .hero-content h2 { font-size: 36px; }
  .footer-bottom-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .hero-slider { height: 420px; }
  .hero-content h2 { font-size: 28px; }
  .hero-content { margin-left: 20px; max-width: 90%; }
  .about-grid { grid-template-columns: 1fr; }
  .about-img-wrap img { height: 280px; }
  .dept-grid { grid-template-columns: repeat(2, 1fr); }
  .doctors-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-strip .container { grid-template-columns: repeat(2, 1fr); }
  .insurance-logos { grid-template-columns: repeat(3, 1fr); }
  .insurance-steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .before-footer-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .facilities-grid { grid-template-columns: 1fr; }
  .form-row-2 { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }

  .primary-nav { display: none; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: #fff; padding: 12px; box-shadow: var(--shadow); gap: 0; }
  .primary-nav.open { display: flex; }
  .primary-nav > li > a { padding: 12px 16px; border-bottom: 1px solid var(--border); }
  .primary-nav .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: none; background: var(--gray-bg); }
  .nav-toggle { display: flex; }
  .site-header { position: relative; }
  .header-inner { position: relative; }
  .section-title { font-size: 26px; }
  .footer-bottom-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .dept-grid { grid-template-columns: 1fr 1fr; }
  .stats-strip .container { grid-template-columns: 1fr 1fr; }
  .top-bar { display: none; }
}

/* ============================================================
   UTILITIES
   ============================================================ */
.text-center { text-align: center; }
.mt-24 { margin-top: 24px; }
.mt-36 { margin-top: 36px; }
.mb-0 { margin-bottom: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

/* WP Alignment */
.wp-block-image { margin: 0; }
.aligncenter { text-align: center; }


/* ============================================================
   Home Blue background Appointment form
   ============================================================ */
.form-blue-bg {
	background:rgba(15,138,122,.15);
	border-radius:20px;
	padding: 20px 30px;
	border:1px solid rgba(15,138,122,.35);
	color: #fff;
	font-size:13px;
}
.form-blue-bg h2 {
	font-size:20px;
	font-weight:700;
	color:#fff;
	margin-bottom:6px;
	font-family:'Playfair Display', Georgia, serif;
}
.form-blue-bg p {
	margin-bottom: 10px;
}
.form-blue-bg .form-sub-title {
	font-size:13px;
	color:#8aafc8;
	margin-bottom:22px;
}
.form-blue-bg input[type=text], .form-blue-bg input[type=email] {
	width: 100%;
	padding:10px 14px;
	border-radius:8px;
	border:1.5px solid rgba(255,255,255,.25);
	background:rgba(255,255,255,.1);
	color:#fff;
	font-size:14px;
	outline:none;
}
.form-blue-bg input[type=tel], .form-blue-bg input[type=date] {
	width: 100%;
	padding:10px 14px;
	border-radius:8px;
	border:1.5px solid rgba(255,255,255,.25);
	background:rgba(255,255,255,.1);
	color:#fff;
	font-size:14px;
	outline:none;
}
.form-blue-bg select {
	width: 100%;
	padding:10px 14px;
	border-radius:8px;
	border:1.5px solid rgba(255,255,255,.25);
	background:rgba(255,255,255,.1);
	color:#fff;
	font-size:14px;
	outline:none;
}
.form-blue-bg select option {
    background: #0a2342;
}
.form-blue-bg textarea {
	width: 100%;
	height: 70px;
	padding:10px 14px;
	border-radius:8px;
	border:1.5px solid rgba(255,255,255,.25);
	background:rgba(255,255,255,.1);
	color:#fff;
	font-size:14px;
	outline:none;
    resize: vertical;
    font-family: inherit;
}
.form-blue-bg input::placeholder,
.form-blue-bg textarea::placeholder {
    color: #fff;
    opacity: 1;
}
.form-blue-bg input[type=submit] {
	background:#fff;
	color:#0e3f74;
	border:none;
	padding:12px 24px;
	border-radius:25px;
	font-size:14px;
	font-weight:700;
	cursor:pointer;
	align-self:flex-start;
}

.fld-name-email {
	display:grid;
	grid-template-columns:1fr 1fr;
	gap:14px;
}
@media (max-width: 768px) {
	.fld-name-email {
		grid-template-columns:1fr;
	}
}
#kmmApptPage  select option {
    background: #0a2342;
}

.world-class-facilities {
	display:grid;
	grid-template-columns:1fr 1fr;
	gap:15px;
	margin-top:18px;
}
.world-class-facilities-items {
	display:flex;
	align-items:center;
	gap:10px;
	padding:10px 14px;
	background:rgba(255,255,255,.06);
	border:1px solid rgba(255,255,255,.1);
	border-radius:8px;
	font-size:14px;
	font-weight:500;
	color:#b8cde8;
}
.world-class-facilities-items-tick {
	width:20px;
	height:20px;
	min-width:20px;
	background:#1565c0;
	color:#fff;
	border-radius:50%;
	display:inline-flex;
	align-items:center;
	justify-content:center;
	font-size:11px;
}

.admintable {
	background:white;
	border-radius:20px;
	border:1px solid #EEF0F3;
	overflow:hidden;
}
.admin-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 8px;
}
.admin-table thead tr {
    background:#0A2342;
}
.admin-table thead th {
    padding: 14px 18px;
    text-align: left;
    font-size: 13px;
    font-weight: 600;
    color: white;
    letter-spacing: .03em;
}
.admin-table thead th:first-child {
    border-radius: 10px 0 0 0;
}
.admin-table thead th:last-child {
    border-radius: 0 10px 0 0;
}
.admin-table tbody tr {
    border-bottom: 1px solid #eef0f3;
    transition: var(--transition);
}
.admin-table tbody tr:hover {
    background: #e0f4f1;
}
.admin-table tbody td {
    padding: 13px 18px;
    font-size: 14px;
    color: #5a6475;
}
.admin-table tbody td:first-child {
    color: #eef0f3;
    font-weight: 500;
}
ul.list-1 li {
	display: flex;
    align-items: center;
    gap: 10px;
    padding: 3px 0;
    font-size: 14px;
	font-size: 15px;
    line-height: 1.7;
}
ul.list-1 li::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #0f8a7a;
    flex-shrink: 0;
}

.form-container {
	width: 100%;
	background:#f8f9fa;
	border-radius:14px;
	padding:30px;
	border:1px solid #e0e6ef;
}
.form-container h2 {
	font-size:24px !important;
	line-height: 34px;
	font-weight:700;
	color:#1a2540;
	margin-bottom:20px;
}
.form-container h3 {
	font-size:20px !important;
	line-height: 34px;
	font-weight:700;
	color:#1a2540;
	margin-bottom:20px;
}
.form-container p {
	margin-bottom: 14px;
}
.form-container input[type=text], .form-container input[type=email], .form-container input[type=date] {
	width: 100%;
	padding: 12px 16px;
    border: 1px solid #e0e6ef;
    border-radius: 8px;
    font-size: 14px;
    outline: none;
    font-family: inherit;
}
.form-container select {
	width: 100%;
	padding: 12px 16px;
    border: 1px solid #e0e6ef;
    border-radius: 8px;
    font-size: 14px;
    outline: none;
    font-family: inherit;
}
.form-container textarea {
	width: 100%;
	padding: 12px 16px;
    border: 1px solid #e0e6ef;
    border-radius: 8px;
    font-size: 14px;
    outline: none;
    height: 130px;
    resize: vertical;
    font-family: inherit;
}
.form-container input[type=submit] {
	background:#1565c0;
	color:#fff;
	border:none;
	padding:13px 28px;
	border-radius:25px;
	font-size:15px;
	font-weight:700;
	cursor:pointer;
	align-self:flex-start;
}


.appform-container {
	width: 100%;
	background: rgba(15, 138, 122, .15);
    border-radius: 20px;
    padding: 30px;
    border: 1px solid rgba(15, 138, 122, .35);
}
.appform-container h2 {
	font-size:24px !important;
	line-height: 34px;
	font-weight:700;
	color:#1a2540;
	margin-bottom:20px;
}
.appform-container h3 {
	font-size:20px !important;
	line-height: 34px;
	font-weight:700;
	color:#1a2540;
	margin-bottom:20px;
}
.appform-container p {
	margin-bottom: 14px;
}
.appform-container input[type=text], .appform-container input[type=email], .appform-container input[type=date] {
	width: 100%;
	padding: 11px 14px;
    border-radius: 8px;
    border: 1px solid rgba(15, 138, 122, .35);
    background: rgba(255, 255, 255, 1);
    font-size: 14px;
    outline: none;
    font-family: inherit;
}
.appform-container select {
	width: 100%;
	padding: 11px 14px;
    border: 1px solid rgba(15, 138, 122, .35);
    border-radius: 8px;
    font-size: 14px;
    outline: none;
    font-family: inherit;
}
.appform-container textarea {
	width: 100%;
	height: 70px;
	padding: 11px 14px;
    border: 1px solid rgba(15, 138, 122, .35);
    border-radius: 8px;
    font-size: 14px;
    outline: none;
    resize: vertical;
    font-family: inherit;
}
.appform-container input[type=submit] {
	background:#1565c0;
	color:#fff;
	border:none;
	padding:13px 28px;
	border-radius:25px;
	font-size:15px;
	font-weight:700;
	cursor:pointer;
	align-self:flex-start;
}
.cf-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

/* =========================================
   Latest News Shortcode
========================================= */

.latest-news-wrap {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.latest-news-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    border-bottom: 1px solid #e5e5e5;
    padding-bottom: 12px;
}

.latest-news-image {
    flex-shrink: 0;
    width: 70px;
}

.latest-news-thumb {
    width: 70px;
    height: 54px;
    object-fit: cover;
    border-radius: 6px;
    display: block;
}

.latest-news-content {
    flex: 1;
}

.latest-news-date {
    font-size: 12px;
    color: #777;
    margin-bottom: 5px;
	font-family: "DM Sans", Sans-serif;
}

.latest-news-title {
    font-size: 14px !important;
    line-height: 1.5 !important;
    margin: 0;
	font-family: "DM Sans", Sans-serif;
}

.latest-news-title a {
    color: #1a2540;
    text-decoration: none;
    font-weight: 600;
}

.latest-news-title a:hover {
    color: #1a5fa8;
}

/* ============================================================
   BLOG and CATEGORY Template
   ============================================================ */
.blog-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}
.blog-card {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 24px;
    background: #fff;
    border: 1px solid #dde3ea;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.blog-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.blog-content {
    padding: 24px;
}

.blog-content h2 {
    font-size: 28px;
    margin-bottom: 10px;
}
.blog-content h2 a {
    color: #1a2540;
}
.blog-meta {
    font-size: 13px;
    color: #777;
    margin-bottom: 14px;
}
.blog-category {
    color: #777;
    font-weight: 400;
}
.blog-separator {
    margin: 0 6px;
    color: #bbb;
}
.pagination {
    margin-top: 40px;
}
.blog-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.blog-readmore-btn {
	padding: 8px 24px;
	margin-top: 15px;
}

/* =========================================
   SINGLE BLOG POST
========================================= */

.single-post-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    align-items: start;
}

.single-post-thumbnail {
    margin-bottom: 14px;
}

.single-post-thumbnail img {
    width: 100%;
    border-radius: 10px;
    display: block;
}

.single-post-meta {
    margin-bottom: 20px;
    font-size: 14px;
    color: #6b83a1;
}

.single-post-category {
    color: #60a1d7;
    text-decoration: none;
    font-weight: 600;
}

.meta-separator {
    margin: 0 8px;
}

.single-post-text {
    line-height: 1.9;
    color: #444;
    font-size: 16px;
}

.single-post-text p {
    margin-bottom: 20px;
}

.single-post-sidebar {
    position: sticky;
    top: 100px;
}

.sidebar-card {
    background: #fff;
    border: 1px solid #e5e5e5;
    padding: 22px;
    border-radius: 10px;
    margin-bottom: 25px;
}

.sidebar-card h3 {
    margin-bottom: 18px;
    font-size: 20px;
    color: #1a2540;
}

.blog-category-list li {
    border-bottom: 1px solid #eee;
    padding: 8px 0;
}

.blog-category-list li a {
    color: #333;
    text-decoration: none;
}

.blog-category-list li a:hover {
    color: #1a5fa8;
}

/* MOBILE */

@media(max-width:991px){

    .single-post-layout {
        grid-template-columns: 1fr;
    }

    .single-post-sidebar {
        position: relative;
        top: auto;
    }

}

/* =========================================
   SHARE POST
========================================= */

.share-post {
    margin-top: 40px;
    padding-top: 25px;
    border-top: 1px solid #e5e5e5;
}

.share-post h4 {
    margin-bottom: 16px;
    font-size: 18px;
    color: #1a2540;
}

.share-icons {
    display: flex;
    gap: 12px;
    align-items: center;
}

.share-icons a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: 0.3s ease;
    text-decoration: none;
}

.share-icons a:hover {
    transform: translateY(-3px);
}

.share-facebook {
    background: #1877f2;
}

.share-twitter {
    background: #000;
}

.share-whatsapp {
    background: #25d366;
}

.share-linkedin {
    background: #0a66c2;
}