/* =========================================================
   RESET & GLOBAL
========================================================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg-main: #edf2fb;
  --bg-card: #ffffff;
  --bg-glass: rgba(255, 255, 255, 0.85);
  --text-main: #0f172a;
  --text-muted: #64748b;
  --primary: #2563eb;
  --primary-soft: #e0f2fe;
  --accent: #0ea5e9;
  --border-soft: #e2e8f0;
  --shadow-soft: 0 18px 40px rgba(15, 23, 42, 0.12);
  --radius-xl: 1.4rem;
  --radius-lg: 1.1rem;
  --radius-md: 0.9rem;
}

html, body {
  height: 100%;
}

body {
  font-family: "Poppins", sans-serif;
  background: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

.container {
  width: 95%;
  max-width: 100%;
  margin: 0 auto;
}

/* =========================================================
   TOP BAR
========================================================= */
.top-bar {
  background: #0f172a;
  color: #e5e7eb;
  font-size: 0.85rem;
}

.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.45rem 0;
  gap: 0.75rem;
}

.top-bar-left i,
.top-bar-right i {
  margin-right: 0.35rem;
}

.top-bar a {
  color: #cbd5f5;
}

.top-bar .divider {
  margin: 0 0.5rem;
}

/* =========================================================
   NAVBAR (Windows Glass Style)
========================================================= */
.navbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--bg-glass);
  backdrop-filter: blur(18px);
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.08);
}

.nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.85rem 0;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 600;
  color: var(--text-main);
  font-size: 1.1rem;
}

.nav-logo i {
  color: var(--accent);
  font-size: 1.4rem;
}

.nav-links {
  display: flex;
  gap: 1.3rem;
}

.nav-links a {
  font-size: 0.96rem;
  padding-bottom: 0.25rem;
  border-bottom: 2px solid transparent;
  color: #475569;
  transition: 0.2s;
}

.nav-links a:hover {
  color: var(--accent);
}

.nav-links a.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.4rem;
}

/* =========================================================
   BUTTONS & TEXT LINKS
========================================================= */
.btn {
  display: inline-block;
  padding: 0.7rem 1.5rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.95rem;
  cursor: pointer;
  transition: 0.2s;
  white-space: nowrap;
}

.btn.primary {
  background: linear-gradient(135deg, var(--accent), var(--primary));
  color: #f9fafb;
  box-shadow: 0 12px 25px rgba(37, 99, 235, 0.35);
}

.btn.primary:hover {
  filter: brightness(0.96);
  transform: translateY(-1px);
}

.btn.ghost {
  background: transparent;
  border-color: var(--accent);
  color: var(--accent);
}

.btn.ghost:hover {
  background: var(--primary-soft);
}

.btn.small {
  padding: 0.5rem 1.2rem;
  font-size: 0.85rem;
}

.btn.full {
  width: 100%;
  text-align: center;
}

.text-link {
  color: var(--primary);
  font-size: 0.95rem;
}

.text-link i {
  margin-left: 0.3rem;
}

/* =========================================================
   HERO (FULL SCREEN, WINDOWS STYLE)
========================================================= */
.hero {
  background: radial-gradient(circle at top left, #dbeafe, #f8fafc);
  min-height: calc(100vh - 120px);
  display: flex;
  align-items: center;
  padding: 3.5rem 0 3.2rem;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.5fr 1.3fr;
  align-items: center;
  gap: 3rem;
}

.hero-text h1 {
  font-size: 2.6rem;
  line-height: 1.2;
  margin-bottom: 0.7rem;
  color: var(--text-main);
}

.hero-text h1 span {
  color: var(--primary);
}

.hero-text p {
  color: var(--text-muted);
  max-width: 560px;
  margin-bottom: 1.3rem;
  font-size: 0.98rem;
}

.hero-buttons {
  display: flex;
  gap: 0.9rem;
  margin-bottom: 1.5rem;
}

.hero-highlights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.9rem;
  font-size: 0.88rem;
}

.hero-highlights h3 {
  font-size: 0.96rem;
  margin-bottom: 0.2rem;
}

.hero-highlights p {
  color: #6b7280;
}

/* Right side: hero image block */
.hero-image-block {
  position: relative;
}

/* Windows-style card around image */
.hero-image-main {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  background: #000;
}

.hero-image-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Stats cards overlay */
.hero-card-small {
  position: absolute;
  left: -8px;
  bottom: 10px;
  background: var(--bg-glass);
  border-radius: var(--radius-md);
  padding: 0.55rem 1rem;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.25);
}

.hero-card-small-alt {
  right: -8px;
  left: auto;
  top: 16px;
}

.hero-card-small .label {
  font-size: 0.78rem;
  color: #6b7280;
}

.hero-card-small .number {
  font-weight: 600;
  font-size: 1.12rem;
}

/* Hero image animation + hospital overlay */
.hero-image-block.animated-hospital .hero-image-main img {
  animation: hospitalZoom 7s ease-in-out infinite alternate;
  transform-origin: center;
}

@keyframes hospitalZoom {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.07);
  }
}

.hospital-overlay {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(15, 23, 42, 0.6);
  color: #eef4ff;
  padding: 10px 16px;
  border-radius: 12px;
  backdrop-filter: blur(6px);
  z-index: 10;
  opacity: 0;
  animation: fadeSlideDown 1.2s ease forwards;
}

.hospital-overlay h2 {
  font-size: 1rem;
  font-weight: 600;
}

.hospital-overlay p {
  font-size: 0.82rem;
  opacity: 0.9;
  margin-top: 2px;
}

@keyframes fadeSlideDown {
  0% {
    opacity: 0;
    transform: translateY(-10px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* =========================================================
   STATS STRIP
========================================================= */
.stats-strip {
  background: #0f172a;
  color: #e5e7eb;
  padding: 1.7rem 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.4rem;
}

.stat-item {
  text-align: center;
}

.stat-item h3 {
  font-size: 1.45rem;
  margin-bottom: 0.25rem;
}

.stat-item p {
  font-size: 0.9rem;
  color: #cbd5f5;
}

/* =========================================================
   GENERIC SECTIONS
========================================================= */
.page-section {
  padding: 3rem 0;
}

.page-section.light {
  background: #f9fafb;
}

.section-head {
  text-align: center;
  margin-bottom: 2rem;
}

.section-head h2 {
  font-size: 1.9rem;
  margin-bottom: 0.4rem;
}

.section-head h2 span {
  color: var(--primary);
}

.section-head p {
  color: #0a0a0a;
}

/* =========================================================
   CARDS & GRIDS (COMMON)
========================================================= */
.card-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.4rem;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
}

.card.soft {
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.04);
}

.card h3 {
  margin-bottom: 0.3rem;
  color: #080808;
}

.card p {
  color: #0a0a0a;
  font-size: 0.93rem;
}

.card-icon {
  margin-bottom: 0.7rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.card-icon.circle {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: var(--primary-soft);
}

.card-icon.square {
  width: 42px;
  height: 42px;
  border-radius: 0.7rem;
  background: var(--primary-soft);
}

.card-icon i {
  color:#0afaae;
}

.mini-list {
  margin-top: 0.6rem;
  padding-left: 1.1rem;
  font-size: 0.88rem;
  color: #35619f;
}

.mini-list li {
  margin-bottom: 0.3rem;
}

.center-link {
  text-align: center;
  margin-top: 1.6rem;
}

/* ============================================================
   DEPARTMENT CARDS — IMAGE + OVERLAY + HOVER EFFECTS
============================================================ */

.dept-card {
  position: relative;
  height: 320px;
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: #e7e2e2 !important;
  cursor: pointer;
  box-shadow: 0 14px 28px rgba(0,0,0,0.25);
  transition: 0.35s ease;
}

/* Overlay for readability */
.dept-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(32, 145, 135, 0.85), rgba(8, 8, 8, 0.386));
  backdrop-filter: 0;
  z-index: 0;
}

/* All inner content stays above overlay */
.dept-card * {
  position: relative;
  z-index: 2;
}

/* White text fix */
.dept-card h3,
.dept-card p,
.dept-card li {
  color: #000000 !important;
}

/* Glow icon */
.dept-card .card-icon.circle {
  background: rgba(0, 0, 0, 0.2) !important;
  backdrop-filter: blur(4px);
}

/* Hover animation */
.dept-card:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 20px 34px rgba(48, 198, 28, 0.35);
}

/* ============================================================
   BACKGROUND IMAGES FOR EACH DEPARTMENT
============================================================ */

/* Cardiology */
.bg-cardio {
  background: url("https://i.pinimg.com/1200x/71/5f/a3/715fa3a378afb9ea77272f3b9a3f853f.jpg")
    center/cover no-repeat;
}

/* Neurology */
.bg-neuro {
  background: url("https://images.pexels.com/photos/8460039/pexels-photo-8460039.jpeg?auto=compress&cs=tinysrgb&w=1600")
    center/cover no-repeat;
}

/* Women & Child Care */
.bg-women {
  background: url("https://i.pinimg.com/736x/8d/01/a2/8d01a2858fc5435979e480de56d69fca.jpg")
    center/cover no-repeat;
}


/* Responsive */
@media (max-width: 786px) {
  .dept-card {
    height: 260px;
  }
}


/* =========================================================
   DOCTORS HIGHLIGHT (HOME)
========================================================= */
.doctors-highlight {
  display: grid;
  grid-template-columns: 1.3fr 1.1fr;
  gap: 2.2rem;
  align-items: center;
}

.styled-list {
  list-style: none;
  font-size: 0.93rem;
  color: #111827;
}

.styled-list li {
  position: relative;
  padding-left: 1.1rem;
  margin-bottom: 0.5rem;
}

.styled-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--accent);
}

.doctors-images {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 0.7rem;
}

.doctors-images img {
  border-radius: 1.1rem;
  height: 100%;
  object-fit: cover;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.18);
}

/* =========================================================
   FACILITIES SNIPPET (HOME)
========================================================= */
.facilities-snippet {
  display: grid;
  grid-template-columns: 1.2fr 1.3fr;
  gap: 2.1rem;
  align-items: center;
}

.facilities-image img {
  border-radius: 1.2rem;
  box-shadow: var(--shadow-soft);
}

.facility-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 1rem 0 0.9rem;
}

.facility-badges span {
  font-size: 0.82rem;
  padding: 0.38rem 0.8rem;
  border-radius: 999px;
  background: var(--primary-soft);
  color: #1f2937;
}

/* =========================================================
   TESTIMONIALS
========================================================= */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}

.testimonial-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 1.4rem 1.3rem;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.08);
  font-size: 0.93rem;
}

.testimonial-card .quote {
  margin-bottom: 0.7rem;
  color: #111827;
}

.testimonial-card .author {
  color: #6b7280;
  font-size: 0.86rem;
}

/* =========================================================
   FAQ
========================================================= */
.faq-list {
  max-width: 780px;
  margin: 0 auto;
}

.faq-item + .faq-item {
  margin-top: 0.65rem;
}

.faq-question {
  width: 100%;
  text-align: left;
  background: var(--bg-card);
  border-radius: 0.9rem;
  border: 1px solid #e2e8f0;
  padding: 0.8rem 0.95rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-size: 0.95rem;
}

.faq-toggle-icon i {
  font-size: 0.9rem;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.2s ease, padding 0.2s ease;
  background: var(--bg-card);
  border-radius: 0 0 0.9rem 0.9rem;
  border: 1px solid #e2e8f0;
  border-top: none;
  padding: 0 0.95rem;
}

.faq-answer p {
  color: #4b5563;
  font-size: 0.9rem;
}

.faq-item.active .faq-answer {
  max-height: 200px;
  padding: 0.7rem 0.95rem;
}

/* =========================================================
   CTA STRIP
========================================================= */
.cta-strip {
  background: linear-gradient(135deg, var(--accent), var(--primary));
  color: #eff6ff;
  padding: 1.9rem 0;
}

.cta-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.4rem;
}

.cta-contact {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  background: rgba(15, 23, 42, 0.18);
  padding: 0.6rem 1rem;
  border-radius: 999px;
}

.cta-contact i {
  font-size: 1.3rem;
}

/* =========================================================
   PAGE BANNER (Inner Pages)
========================================================= */
.page-banner {
  background: linear-gradient(135deg, var(--accent), var(--primary));
  color: #f9fafb;
  text-align: center;
  padding: 2.4rem 0;
}

.page-banner h1 {
  font-size: 2rem;
  margin-bottom: 0.3rem;
}

.page-banner h1 span {
  color: #151617;
}

.page-banner p {
  font-size: 0.95rem;
}

/* =========================================================
   ABOUT PAGE LAYOUT
========================================================= */
.about-layout {
  display: grid;
  grid-template-columns: 1.35fr 1.1fr;
  gap: 2.2rem;
  align-items: center;
}

.about-text p {
  color: #4b5563;
  margin-bottom: 0.7rem;
}

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.9rem;
}

.pill-list span {
  background: var(--primary-soft);
  color: #1f2937;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  font-size: 0.82rem;
}

.pill-list i {
  color: #22c55e;
  margin-right: 0.3rem;
}

.about-image img {
  border-radius: 1.2rem;
  box-shadow: var(--shadow-soft);
}

/* =========================================================
   SIMPLE TWO COLUMN
========================================================= */
.two-col {
  display: grid;
  grid-template-columns: 1.1fr 1.1fr;
  gap: 1.7rem;
}

/* =========================================================
   TIMELINE
========================================================= */
.timeline {
  position: relative;
  margin-top: 1rem;
  padding-left: 1.5rem;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: #dbeafe;
}

.timeline-item {
  position: relative;
  padding-left: 1.3rem;
  margin-bottom: 1.1rem;
}

.timeline-item .year {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--primary);
  margin-bottom: 0.25rem;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -0.2rem;
  top: 0.25rem;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--primary);
}

/* =========================================================
   DEPARTMENTS PAGE — CARD WITH BACKGROUND IMAGES
========================================================= */

.dept-card {
  position: relative;
  height: 300px;
  color: #fff;
  padding: 1.4rem;
  border-radius: var(--radius-lg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 12px 28px rgba(0,0,0,0.22);
  transition: 0.3s ease;
}

/* Overlay for readability */
.dept-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.85), rgba(0,0,0,0.25));
  z-index: 1;
}

/* Ensure all text is above overlay */
.dept-card * {
  position: relative;
  z-index: 2;
}

.dept-card h3,
.dept-card p,
.dept-card li {
  color: white !important;
}

/* Hover Effect */
.dept-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 38px rgba(0,0,0,0.35);
}

/* CARD ICON GLASS EFFECT */
.card-icon.square {
  background: rgba(255,255,255,0.25) !important;
  backdrop-filter: blur(4px);
}

/* ===== BACKGROUND IMAGES FOR EACH DEPARTMENT ===== */

.bg-cardiology {
  background-image: url("https://images.pexels.com/photos/7659572/pexels-photo-7659572.jpeg?auto=compress&cs=tinysrgb&w=1600");
}

.bg-neuro {
  background-image: url("https://i.pinimg.com/1200x/b3/bc/60/b3bc6097f915e192f3f520744cc39334.jpg");
}

.bg-ortho {
  background-image: url("https://i.pinimg.com/1200x/f0/7d/6c/f07d6c3299d53f64b121d4370d70a470.jpg");
}

.bg-gyne {
  background-image: url("https://i.pinimg.com/1200x/36/26/89/36268912b7ce777e1826a248129c4442.jpg");
}

.bg-pedia {
  background-image: url("https://i.pinimg.com/1200x/6c/ec/24/6cec245da773a7c3fb59d2c22bd801ab.jpg");
}

.bg-gastro {
  background-image: url("https://i.pinimg.com/1200x/78/b4/57/78b4572dddbad7d0432d9a76c696490a.jpg");
}

.bg-pulmo {
  background-image: url("https://i.pinimg.com/736x/01/8b/e6/018be610093e798e4660eda1603b01a1.jpg");
}

.bg-lab {
  background-image: url("https://i.pinimg.com/736x/00/6d/3f/006d3f3be66680bdbd5350be7b8cd1dc.jpg");
}

.bg-radiology {
  background-image: url("https://i.pinimg.com/736x/de/76/14/de7614a5995631f1a3aa58065802801e.jpg");
}


/* =========================================================
   DOCTORS PAGE
========================================================= */

/* Grid layout */
.doctor-card-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.6rem;
  align-items: stretch;
}

/* Doctor Card */
.doctor-card {
  background: var(--bg-card);
  border-radius: 1.1rem;
  padding: 1.2rem 1.1rem 1.4rem;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.08);
  text-align: center;

  /* 🔥 Makes all cards same height */
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: 0.3s ease;
}

/* Hover */
.doctor-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 38px rgba(37, 99, 235, 0.25);
}

/* Fixed Image Height */
.doctor-photo {
  width: 100%;
  height: 210px;      /* 🔥 SAME HEIGHT FOR ALL IMAGES */
  overflow: hidden;
  border-radius: 1rem;
  margin-bottom: 0.8rem;
}

.doctor-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;  /* 🔥 No stretch, no distortion */
}

/* Name */
.doctor-card h3 {
  font-size: 1.12rem;
  margin-bottom: 0.25rem;
  font-weight: 600;
}

/* Specialty */
.doctor-spec {
  color: var(--primary);
  font-size: 0.92rem;
  margin-bottom: 0.35rem;
  font-weight: 600;
}

/* Qualifications + Experience */
.doctor-qual,
.doctor-exp {
  color: #6b7280;
  font-size: 0.86rem;
  margin-bottom: 0.25rem;
}

/* Description (flex pushes to bottom) */
.doctor-desc {
  font-size: 0.88rem;
  color: #374151;
  margin-top: auto;   /* 🔥 Makes height equal across cards */
  padding-top: 0.6rem;
}


/* TABLE */
.table-wrapper {
  overflow-x: auto;
  margin-top: 1rem;
}

.simple-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.simple-table th,
.simple-table td {
  border: 1px solid #e5e7eb;
  padding: 0.6rem 0.7rem;
  text-align: left;
}

.simple-table thead {
  background: #eff6ff;
}

.note {
  margin-top: 0.7rem;
  font-size: 0.85rem;
  color: #6b7280;
}

/* =========================================================
   FACILITIES PAGE
========================================================= */
.facility-grid {
  display: grid;
  grid-template-columns: 1.1fr 1.1fr;
  gap: 1.7rem;
}

.facility-card {
  background: var(--bg-card);
  border-radius: 1.1rem;
  overflow: hidden;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.08);
  display: grid;
  grid-template-columns: 1.25fr 1.6fr;
}

.facility-image img {
  height: 100%;
  object-fit: cover;
}

.facility-body {
  padding: 1.2rem 1.1rem;
}

/* =========================================================
   CONTACT PAGE
========================================================= */
.contact-layout {
  display: grid;
  grid-template-columns: 1.25fr 1.1fr;
  gap: 2.2rem;
}

.contact-info-block > div {
  display: flex;
  gap: 0.7rem;
  margin-bottom: 0.9rem;
}

.contact-info-block i {
  margin-top: 0.15rem;
  font-size: 1.2rem;
  color: var(--accent);
}

.fake-map {
  border-radius: 1rem;
  background: #e5f0ff;
  padding: 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: #1f2933;
  font-size: 0.92rem;
}

.fake-map i {
  font-size: 1.4rem;
  color: var(--primary);
}

/* FORM */
.appointment-form {
  background: var(--bg-card);
  border-radius: 1rem;
  padding: 1.4rem 1.3rem;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.08);
  margin-top: 0.8rem;
}

.form-group {
  margin-bottom: 0.85rem;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 0.25rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.55rem 0.7rem;
  border-radius: 0.55rem;
  border: 1px solid #cbd5e1;
  font-size: 0.9rem;
  outline: none;
  font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px rgba(14, 165, 233, 0.25);
}

.form-status {
  margin-top: 0.7rem;
  font-size: 0.9rem;
}

/* =========================================================
   FOOTER
========================================================= */
.footer {
  background: #0f172a;
  color: #e5e7eb;
  margin-top: 2.6rem;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 1.6rem;
  padding: 1.9rem 0 1.4rem;
  font-size: 0.9rem;
}

.footer-col h3,
.footer-col h4 {
  margin-bottom: 0.6rem;
}

.footer-col a {
  display: block;
  color: #cbd5f5;
  margin-bottom: 0.25rem;
  font-size: 0.9rem;
}

.footer-col a:hover {
  text-decoration: underline;
}

.footer-bottom {
  text-align: center;
  padding: 0.7rem 0;
  border-top: 1px solid rgba(148, 163, 184, 0.3);
  font-size: 0.8rem;
}

/* =========================================================
   RESPONSIVE
========================================================= */
@media (max-width: 980px) {
  .hero-inner,
  .doctors-highlight,
  .facilities-snippet,
  .about-layout,
  .two-col,
  .contact-layout,
  .facility-card {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 3.2rem;
    min-height: auto;
  }

  .hero-image-main img {
    max-height: 330px;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .card-grid-3,
  .testimonial-grid,
  .doctor-card-grid,
  .facility-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .facility-card {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    grid-template-columns: 1.4fr 1fr;
  }

  .cta-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 720px) {
  .top-bar-inner {
    flex-direction: column;
    text-align: center;
  }

  .nav-toggle {
    display: block;
    color: #0f172a;
  }

  .nav-links {
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: #ffffff;
    flex-direction: column;
    display: none;
    box-shadow: 0 16px 28px rgba(15, 23, 42, 0.15);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    padding: 0.75rem 1rem;
    border-top: 1px solid #e5e7eb;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-text p {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-buttons {
    justify-content: center;
    flex-wrap: wrap;
  }

  .hero-highlights {
    grid-template-columns: 1fr;
  }

  .stats-grid,
  .card-grid-3,
  .testimonial-grid,
  .doctor-card-grid,
  .facility-grid {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }

  .cta-inner {
    align-items: flex-start;
  }
}


/* WhatsApp Floating Button */
.whatsapp-float {
  position: fixed;
  bottom: 22px;
  right: 22px;
  background: #25d366;
  color: #fff;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 32px;
  box-shadow: 0 8px 18px rgba(0,0,0,0.25);
  z-index: 999;
  transition: 0.3s ease;
}

.whatsapp-float:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 12px 24px rgba(0,0,0,0.35);
}
