/* ============================================================
   GALAXY HOSPITAL — Main Stylesheet
   Mobile-First Design | GI & Liver Centre, Nanded
   ============================================================ */

/* @import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700;800&family=DM+Sans:wght@300;400;500;600&display=swap');*/

/* ---- CSS Variables ---- */
:root {
  --primary: #1a3a6e;
  --primary-light: #2253a3;
  --primary-dark: #0f2347;
  --accent: #e05c1a;
  --accent-light: #f47b3c;
  --gold: #c8922a;
  --teal: #0b7c8e;
  --teal-light: #e8f6f8;
  --success: #2d8a4e;
  --bg: #f8f9fc;
  --white: #ffffff;
  --text: #1c2235;
  --text-muted: #6b7589;
  --text-light: #9aa3b8;
  --border: #e2e6f0;
  --shadow-sm: 0 2px 8px rgba(26,58,110,0.08);
  --shadow: 0 4px 20px rgba(26,58,110,0.12);
  --shadow-lg: 0 8px 40px rgba(26,58,110,0.16);
  --radius: 12px;
  --radius-lg: 20px;
  --radius-sm: 8px;
  --transition: 0.3s ease;
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'DM Sans', -apple-system, sans-serif;
}

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--accent); }
ul { list-style: none; }
button { cursor: pointer; font-family: var(--font-body); border: none; outline: none; }

/* ---- Typography ---- */
h1,h2,h3,h4,h5 { font-family: var(--font-heading); font-weight: 700; line-height: 1.25; color: var(--text); }
h1 { font-size: clamp(2rem, 6vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 4vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 3vw, 1.6rem); }
h4 { font-size: 1.1rem; }
p { margin-bottom: 1rem; color: var(--text-muted); }

/* ---- Layout Utilities ---- */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 1.25rem; }
.section { padding: 3.5rem 0; }
.section-sm { padding: 2.5rem 0; }
.text-center { text-align: center; }
.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }
.gap-3 { gap: 1.5rem; }
.grid { display: grid; }
.w-full { width: 100%; }

/* ---- Section Headers ---- */
.section-header { text-align: center; margin-bottom: 2.5rem; }
.section-tag {
  display: inline-block;
  background: var(--teal-light);
  color: var(--teal);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.35rem 1rem;
  border-radius: 50px;
  margin-bottom: 0.75rem;
}
.section-title { color: var(--text); margin-bottom: 0.75rem; }
.section-subtitle { color: var(--text-muted); max-width: 560px; margin: 0 auto; font-size: 1rem; }
.divider {
  width: 60px; height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--gold));
  border-radius: 2px;
  margin: 0.75rem auto 0;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.8rem 1.8rem;
  border-radius: 50px;
  font-size: 0.92rem;
  font-weight: 600;
  transition: all var(--transition);
  white-space: nowrap;
  text-decoration: none;
}
.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  color: var(--white);
  box-shadow: 0 4px 15px rgba(224,92,26,0.35);
}
.btn-primary:hover {
  color: var(--white);
  box-shadow: 0 6px 22px rgba(224,92,26,0.5);
  transform: translateY(-2px);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.6);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.1);
  color: var(--white);
  border-color: var(--white);
}
.btn-secondary {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 4px 15px rgba(26,58,110,0.3);
}
.btn-secondary:hover {
  background: var(--primary-light);
  color: var(--white);
  transform: translateY(-2px);
}
.btn-sm { padding: 0.55rem 1.2rem; font-size: 0.82rem; }
.btn-lg { padding: 1rem 2.4rem; font-size: 1rem; }

/* ============================================================
   HEADER / NAVIGATION
   ============================================================ */
.top-bar {
  background: var(--primary-dark);
  color: rgba(255,255,255,0.8);
  font-size: 0.8rem;
  padding: 0.4rem 0;
  display: none;
}
.top-bar a { color: rgba(255,255,255,0.8); }
.top-bar a:hover { color: var(--white); }

header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  box-shadow: var(--shadow-sm);
}
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 0;
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}
.logo-icon {
  width: 42px; height: 42px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}
.logo-text { line-height: 1.2; }
.logo-text strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary);
}
.logo-text span {
  font-size: 0.68rem;
  color: var(--text-muted);
  font-weight: 500;
  letter-spacing: 0.03em;
}

.nav-links {
  display: none;
  align-items: center;
  gap: 0.25rem;
}
.nav-links a {
  font-size: 0.87rem;
  font-weight: 500;
  color: var(--text);
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  position: relative;
}
.nav-links a:hover, .nav-links a.active {
  color: var(--primary);
  background: rgba(26,58,110,0.06);
}
.nav-links .btn { margin-left: 0.5rem; }

/* Dropdown */
.dropdown { position: relative; }
.dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  min-width: 220px;
  padding: 0.5rem;
  z-index: 999;
  border: 1px solid var(--border);
}
.dropdown:hover .dropdown-menu { display: block; }
.dropdown-menu a {
  display: flex; align-items: center; gap: 0.5rem;
  padding: 0.6rem 0.9rem;
  font-size: 0.85rem;
  border-radius: var(--radius-sm);
  color: var(--text);
}
.dropdown-menu a:hover { background: var(--bg); color: var(--primary); }
.dropdown-menu a .di { font-size: 1.1rem; }

.hamburger {
  display: flex; flex-direction: column; gap: 4.5px;
  background: none; padding: 0.3rem;
}
.hamburger span {
  display: block; width: 23px; height: 2.5px;
  background: var(--text); border-radius: 2px;
  transition: all var(--transition);
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* Mobile Nav */
.mobile-nav {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: var(--white);
  z-index: 9999;
  overflow-y: auto;
  padding: 1.5rem 1.25rem;
  flex-direction: column;
}
.mobile-nav.open { display: flex; }
.mobile-nav-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 2rem; }
.mobile-nav-close {
  width: 40px; height: 40px;
  border: 2px solid var(--border);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; color: var(--text);
  background: none;
}
.mobile-nav a {
  display: block;
  font-size: 1.1rem; font-weight: 500;
  color: var(--text);
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--border);
}
.mobile-nav a:hover { color: var(--primary); }
.mobile-nav .mobile-cta { margin-top: 2rem; display: flex; flex-direction: column; gap: 0.75rem; }
.mobile-nav-sub { padding-left: 1rem; }
.mobile-nav-sub a { font-size: 0.95rem; color: var(--text-muted); border-bottom: 1px solid rgba(0,0,0,0.04); }

/* Emergency bar */
.emergency-bar {
  background: linear-gradient(90deg, var(--accent), #c0400e);
  color: white;
  text-align: center;
  font-size: 0.82rem;
  font-weight: 500;
  padding: 0.45rem 1rem;
  animation: pulse-bar 3s infinite;
}
@keyframes pulse-bar { 0%,100%{opacity:1} 50%{opacity:0.85} }
.emergency-bar a { color: white; text-decoration: underline; }

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, #1a4a7e 100%);
  position: relative;
  overflow: hidden;
  color: white;
  padding: 3.5rem 0 3rem;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}
.hero-tag {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.9);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.4rem 1rem;
  border-radius: 50px;
  margin-bottom: 1rem;
}
.hero h1 { color: white; margin-bottom: 1rem; }
.hero h1 span { color: #ffd080; }
.hero-desc { color: rgba(255,255,255,0.8); font-size: 1.05rem; margin-bottom: 1.75rem; max-width: 520px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.85rem; margin-bottom: 2rem; }
.hero-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 1rem; }
.stat-card {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius);
  padding: 1rem 0.75rem;
  text-align: center;
  backdrop-filter: blur(4px);
}
.stat-num { font-size: 1.5rem; font-weight: 800; color: white; font-family: var(--font-heading); line-height: 1; }
.stat-num span { color: #ffd080; }
.stat-label { font-size: 0.72rem; color: rgba(255,255,255,0.7); margin-top: 0.25rem; letter-spacing: 0.02em; }

.hero-image-wrap {
  position: relative;
  display: flex; justify-content: center;
}
.hero-image-card {
  position: relative;
  width: 100%; max-width: 340px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.35);
}
.hero-image-card img { width: 100%; height: 380px; object-fit: cover; }
.hero-badge {
  position: absolute;
  bottom: 1.25rem; left: 50%; transform: translateX(-50%);
  background: white;
  border-radius: var(--radius);
  padding: 0.75rem 1.2rem;
  box-shadow: var(--shadow-lg);
  min-width: 220px;
  display: flex; align-items: center; gap: 0.75rem;
}
.hero-badge-icon { font-size: 2rem; }
.hero-badge-text strong { display: block; font-size: 0.9rem; color: var(--primary); font-weight: 700; }
.hero-badge-text span { font-size: 0.75rem; color: var(--text-muted); }
.hero-float-tag {
  position: absolute;
  top: 1.5rem; right: -0.5rem;
  background: var(--accent);
  color: white;
  font-size: 0.75rem; font-weight: 700;
  padding: 0.4rem 0.9rem;
  border-radius: 50px 0 0 50px;
  box-shadow: var(--shadow);
}

/* ============================================================
   QUICK INFO BAR
   ============================================================ */
.quick-info {
  background: white;
  box-shadow: var(--shadow);
  border-radius: var(--radius-lg);
  margin: -1.5rem auto 0;
  position: relative;
  z-index: 10;
  max-width: 1100px;
}
.quick-info-grid {
  display: grid;
  grid-template-columns: 1fr;
}
.qi-item {
  display: flex; align-items: center; gap: 1rem;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border);
}
.qi-item:last-child { border-bottom: none; }
.qi-icon {
  width: 46px; height: 46px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}
.qi-icon.blue { background: rgba(26,58,110,0.08); }
.qi-icon.orange { background: rgba(224,92,26,0.1); }
.qi-icon.teal { background: rgba(11,124,142,0.1); }
.qi-icon.gold { background: rgba(200,146,42,0.1); }
.qi-label { font-size: 0.72rem; color: var(--text-muted); font-weight: 500; text-transform: uppercase; letter-spacing: 0.05em; }
.qi-value { font-size: 0.88rem; font-weight: 600; color: var(--text); margin-top: 0.1rem; }
.qi-value a { color: var(--primary); }

/* ============================================================
   ABOUT DOCTOR SECTION
   ============================================================ */
.about-section { background: white; }
.about-grid { display: grid; gap: 2.5rem; align-items: center; }
.about-image { position: relative; }
.about-img-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.about-img-wrap img { width: 100%; height: 380px; object-fit: cover; }
.about-exp-badge {
  position: absolute;
  bottom: 1.5rem; left: 1.5rem;
  background: var(--primary);
  color: white;
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: var(--shadow);
}
.about-exp-badge strong { display: block; font-size: 2rem; font-family: var(--font-heading); line-height: 1; }
.about-exp-badge span { font-size: 0.72rem; opacity: 0.85; }
.about-qual-badge {
  position: absolute;
  top: 1.5rem; right: -0.5rem;
  background: white;
  border-radius: var(--radius);
  padding: 0.7rem 1rem;
  box-shadow: var(--shadow-lg);
  font-size: 0.8rem; font-weight: 600; color: var(--primary);
  border-left: 3px solid var(--accent);
}
.about-content .section-tag { text-align: left; display: inline-block; }
.about-content h2 { text-align: left; margin-bottom: 0.5rem; }
.about-content .divider { margin: 0.5rem 0 1.25rem; }
.about-desc { font-size: 0.97rem; line-height: 1.8; margin-bottom: 1.5rem; }
.about-highlights { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1.75rem; }
.hl-item { display: flex; align-items: flex-start; gap: 0.6rem; }
.hl-icon { font-size: 1.1rem; margin-top: 2px; flex-shrink: 0; }
.hl-text strong { display: block; font-size: 0.88rem; font-weight: 600; color: var(--text); }
.hl-text span { font-size: 0.78rem; color: var(--text-muted); }
.about-cta { display: flex; flex-wrap: wrap; gap: 1rem; }
.memberships { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.5rem; }
.membership-tag {
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.75rem;
  font-weight: 500;
  padding: 0.3rem 0.75rem;
  border-radius: 50px;
}

/* ============================================================
   SERVICES SECTION
   ============================================================ */
.services-section { background: var(--bg); }
.services-grid { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
.service-card {
  background: white;
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
  text-decoration: none;
  display: block;
}
.service-card::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--teal));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}
.service-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); border-color: transparent; }
.service-card:hover::before { transform: scaleX(1); }
.service-icon {
  width: 54px; height: 54px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}
.service-card h4 { color: var(--text); margin-bottom: 0.4rem; font-size: 1rem; }
.service-card p { font-size: 0.84rem; color: var(--text-muted); margin: 0; line-height: 1.6; }
.service-link { font-size: 0.82rem; color: var(--primary); font-weight: 600; margin-top: 0.75rem; display: inline-flex; align-items: center; gap: 0.25rem; }

/* ============================================================
   FOUNDATION / SOCIAL WORK SECTION
   ============================================================ */
.foundation-section {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: white;
  position: relative;
  overflow: hidden;
}
.foundation-section::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 80% 50%, rgba(11,124,142,0.2) 0%, transparent 60%);
}
.foundation-grid { display: grid; gap: 2.5rem; align-items: center; position: relative; }
.foundation-content .section-tag {
  background: rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.9);
  border: 1px solid rgba(255,255,255,0.2);
}
.foundation-content h2 { color: white; margin-bottom: 1rem; }
.foundation-content p { color: rgba(255,255,255,0.78); }
.foundation-content .divider { background: linear-gradient(90deg, var(--accent-light), #ffd080); margin: 0.5rem 0 1.25rem; }
.foundation-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin: 1.75rem 0; }
.fs-card {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius);
  padding: 1.1rem;
  text-align: center;
  backdrop-filter: blur(4px);
}
.fs-num { font-size: 1.8rem; font-weight: 800; color: #ffd080; font-family: var(--font-heading); line-height: 1; }
.fs-label { font-size: 0.75rem; color: rgba(255,255,255,0.7); margin-top: 0.25rem; }
.foundation-mission {
  background: rgba(255,255,255,0.08);
  border-left: 3px solid var(--accent-light);
  padding: 1rem 1.25rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 1.25rem 0;
  font-style: italic;
  color: rgba(255,255,255,0.85) !important;
}
.foundation-image { border-radius: var(--radius-lg); overflow: hidden; box-shadow: 0 20px 50px rgba(0,0,0,0.3); }
.foundation-image img { width: 100%; height: 320px; object-fit: cover; }
.camps-preview { margin-top: 1.5rem; }
.camps-preview h4 { color: white; font-size: 0.95rem; margin-bottom: 0.75rem; }
.camp-item {
  display: flex; align-items: center; gap: 0.75rem;
  padding: 0.65rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.camp-num { background: var(--accent); color: white; font-size: 0.7rem; font-weight: 700; padding: 0.2rem 0.5rem; border-radius: 4px; min-width: 42px; text-align: center; }
.camp-info strong { display: block; font-size: 0.85rem; color: white; font-weight: 500; }
.camp-info span { font-size: 0.75rem; color: rgba(255,255,255,0.6); }

/* ============================================================
   BLOG SECTION
   ============================================================ */
.blog-section { background: white; }
.blog-grid { display: grid; gap: 1.5rem; }
.blog-card {
  background: white;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: all var(--transition);
}
.blog-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.blog-card-img {
  height: 200px; overflow: hidden;
  background: linear-gradient(135deg, var(--primary), var(--teal));
  display: flex; align-items: center; justify-content: center;
  font-size: 3rem;
}
.blog-card-img img { width: 100%; height: 100%; object-fit: cover; }
.blog-card-body { padding: 1.25rem; }
.blog-meta { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 0.6rem; flex-wrap: wrap; }
.blog-cat {
  background: var(--teal-light);
  color: var(--teal);
  font-size: 0.72rem; font-weight: 600;
  padding: 0.2rem 0.6rem;
  border-radius: 50px;
}
.blog-date { font-size: 0.75rem; color: var(--text-light); }
.blog-card h4 { font-size: 1rem; color: var(--text); margin-bottom: 0.5rem; line-height: 1.4; }
.blog-card p { font-size: 0.84rem; color: var(--text-muted); margin: 0; line-height: 1.6; }
.blog-read-more { display: inline-flex; align-items: center; gap: 0.3rem; color: var(--primary); font-size: 0.82rem; font-weight: 600; margin-top: 0.85rem; }
.blog-read-more:hover { color: var(--accent); }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials-section { background: var(--bg); }
.testimonials-grid { display: grid; gap: 1.25rem; }
.testimonial-card {
  background: white;
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  position: relative;
}
.testimonial-card::before {
  content: '"';
  position: absolute; top: 0.75rem; right: 1.25rem;
  font-family: var(--font-heading);
  font-size: 5rem; color: rgba(26,58,110,0.06);
  line-height: 1;
}
.stars { color: var(--gold); font-size: 0.9rem; margin-bottom: 0.75rem; letter-spacing: 2px; }
.testimonial-text { font-size: 0.9rem; color: var(--text-muted); line-height: 1.7; margin-bottom: 1rem; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 0.75rem; }
.t-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--teal));
  color: white; font-weight: 700; font-size: 0.9rem;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.t-name { font-size: 0.88rem; font-weight: 600; color: var(--text); }
.t-place { font-size: 0.75rem; color: var(--text-muted); }
.t-treatment {
  font-size: 0.72rem; color: var(--teal); font-weight: 500;
  background: var(--teal-light);
  padding: 0.15rem 0.5rem; border-radius: 50px;
  margin-top: 0.2rem; display: inline-block;
}

/* ============================================================
   VIDEO / YOUTUBE SECTION
   ============================================================ */
.media-section { background: white; }
.video-wrapper {
  position: relative; padding-bottom: 56.25%;
  border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.video-wrapper iframe { position: absolute; inset: 0; width: 100%; height: 100%; }
.yt-cta {
  text-align: center;
  margin-top: 1.5rem;
}
.btn-youtube {
  background: #ff0000;
  color: white;
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: 50px;
  font-weight: 600; font-size: 0.9rem;
}
.btn-youtube:hover { background: #cc0000; color: white; transform: translateY(-2px); }

/* ============================================================
   CONTACT SECTION
   ============================================================ */
.contact-section { background: var(--bg); }
.contact-grid { display: grid; gap: 2rem; }
.contact-info-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow);
}
.contact-info-card h3 { margin-bottom: 1.5rem; }
.contact-item { display: flex; gap: 1rem; margin-bottom: 1.5rem; align-items: flex-start; }
.contact-item:last-of-type { margin-bottom: 0; }
.ci-icon {
  width: 46px; height: 46px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; flex-shrink: 0;
}
.ci-icon.primary { background: rgba(26,58,110,0.08); }
.ci-icon.orange { background: rgba(224,92,26,0.1); }
.ci-icon.teal { background: rgba(11,124,142,0.1); }
.ci-icon.green { background: rgba(45,138,78,0.1); }
.ci-label { font-size: 0.72rem; color: var(--text-muted); font-weight: 500; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 0.25rem; }
.ci-value { font-size: 0.92rem; font-weight: 500; color: var(--text); }
.ci-value a { color: var(--primary); font-weight: 600; }
.ci-value a:hover { color: var(--accent); }

.map-container { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); height: 280px; }
.map-container iframe { width: 100%; height: 100%; border: 0; }

.contact-form-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow);
}
.contact-form-card h3 { margin-bottom: 1.5rem; }
.form-group { margin-bottom: 1rem; }
.form-group label { display: block; font-size: 0.82rem; font-weight: 600; color: var(--text); margin-bottom: 0.4rem; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--text);
  background: var(--bg);
  transition: border-color var(--transition);
  outline: none;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--primary);
  background: white;
}
.form-group textarea { resize: vertical; min-height: 110px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-success { background: rgba(45,138,78,0.1); border: 1px solid rgba(45,138,78,0.3); color: var(--success); padding: 0.8rem 1rem; border-radius: var(--radius-sm); font-size: 0.88rem; margin-bottom: 1rem; display: none; }
.form-error { background: rgba(224,92,26,0.1); border: 1px solid rgba(224,92,26,0.3); color: var(--accent); padding: 0.8rem 1rem; border-radius: var(--radius-sm); font-size: 0.88rem; margin-bottom: 1rem; display: none; }

/* ============================================================
   WHATSAPP FLOATING BUTTON
   ============================================================ */
.whatsapp-float {
  position: fixed; bottom: 1.5rem; right: 1.5rem;
  z-index: 500;
  background: #25d366;
  width: 56px; height: 56px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; color: white;
  box-shadow: 0 4px 20px rgba(37,211,102,0.5);
  text-decoration: none;
  transition: all var(--transition);
  animation: float 3s ease-in-out infinite;
}
.whatsapp-float:hover { transform: scale(1.1); color: white; box-shadow: 0 6px 25px rgba(37,211,102,0.65); }
@keyframes float { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-6px)} }
.whatsapp-float:hover { animation: none; }

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  background: linear-gradient(180deg, #0a1628 0%, #060e1c 100%);
  color: rgba(255,255,255,0.7);
  padding: 3rem 0 0;
}
.footer-grid { display: grid; gap: 2.5rem; margin-bottom: 2.5rem; }
.footer-brand .logo-text strong { color: white; }
.footer-brand .logo-text span { color: rgba(255,255,255,0.5); }
.footer-about { font-size: 0.87rem; line-height: 1.75; margin: 1rem 0 1.25rem; color: rgba(255,255,255,0.6); }
.footer-socials { display: flex; gap: 0.75rem; }
.social-link {
  width: 38px; height: 38px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.12);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.95rem; color: rgba(255,255,255,0.6);
  transition: all var(--transition);
  text-decoration: none;
}
.social-link:hover { background: var(--accent); border-color: var(--accent); color: white; }
.footer-heading { font-size: 0.85rem; font-weight: 700; color: white; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 1rem; }
.footer-links { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-links a { font-size: 0.85rem; color: rgba(255,255,255,0.6); display: flex; align-items: center; gap: 0.4rem; }
.footer-links a:hover { color: var(--accent-light); }
.footer-links a::before { content: '›'; color: var(--accent); }
.footer-contact-item { display: flex; gap: 0.75rem; margin-bottom: 0.85rem; font-size: 0.84rem; }
.footer-contact-item a { color: rgba(255,255,255,0.7); }
.footer-contact-item a:hover { color: var(--accent-light); }
.footer-icon { font-size: 1rem; margin-top: 2px; flex-shrink: 0; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 1.25rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  text-align: center;
}
.footer-bottom p { font-size: 0.8rem; color: rgba(255,255,255,0.4); margin: 0; }
.footer-bottom a { color: rgba(255,255,255,0.5); }
.footer-bottom a:hover { color: var(--accent-light); }

/* ============================================================
   PAGE HERO (inner pages)
   ============================================================ */
.page-hero {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  padding: 3rem 0 2.5rem;
  color: white;
}
.page-hero h1 { color: white; font-size: clamp(1.6rem, 4vw, 2.4rem); margin-bottom: 0.5rem; }
.page-hero p { color: rgba(255,255,255,0.75); font-size: 1rem; margin: 0; }
.breadcrumb { display: flex; align-items: center; gap: 0.5rem; font-size: 0.8rem; color: rgba(255,255,255,0.6); margin-bottom: 0.75rem; }
.breadcrumb a { color: rgba(255,255,255,0.6); }
.breadcrumb a:hover { color: white; }
.breadcrumb span { opacity: 0.5; }

/* ============================================================
   SERVICES DETAIL PAGE
   ============================================================ */
.services-detail-grid { display: grid; gap: 2rem; }
.service-detail-card {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.service-detail-card img { width: 100%; height: 220px; object-fit: cover; }
.service-detail-body { padding: 1.75rem; }
.service-detail-body h3 { margin-bottom: 0.75rem; }
.service-detail-body p { font-size: 0.9rem; line-height: 1.75; }
.service-features { margin: 1rem 0; }
.service-features li {
  display: flex; align-items: flex-start; gap: 0.6rem;
  font-size: 0.88rem; color: var(--text-muted);
  padding: 0.4rem 0;
  border-bottom: 1px solid var(--border);
}
.service-features li:last-child { border-bottom: none; }
.service-features li::before { content: '✓'; color: var(--success); font-weight: 700; flex-shrink: 0; }

/* ============================================================
   BLOG PAGE
   ============================================================ */
.blog-layout { display: grid; gap: 2rem; }
.blog-filters { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.5rem; }
.filter-btn {
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-size: 0.82rem; font-weight: 500;
  background: white; color: var(--text-muted);
  border: 1.5px solid var(--border);
  transition: all var(--transition); cursor: pointer;
}
.filter-btn.active, .filter-btn:hover { background: var(--primary); color: white; border-color: var(--primary); }
.blog-sidebar { background: white; border-radius: var(--radius-lg); padding: 1.5rem; box-shadow: var(--shadow-sm); margin-top: 1.5rem; }
.sidebar-title { font-size: 1rem; font-weight: 700; color: var(--text); margin-bottom: 1rem; padding-bottom: 0.5rem; border-bottom: 2px solid var(--border); }
.sidebar-cats { display: flex; flex-direction: column; gap: 0.3rem; }
.sidebar-cats a { font-size: 0.88rem; color: var(--text-muted); padding: 0.5rem 0; border-bottom: 1px solid var(--border); display: flex; justify-content: space-between; }
.sidebar-cats a:hover { color: var(--primary); }
.sidebar-cats a span { background: var(--bg); font-size: 0.75rem; padding: 0.1rem 0.45rem; border-radius: 50px; }

/* Blog Single */
.blog-single-layout { display: grid; gap: 2rem; }
.blog-single-content { background: white; border-radius: var(--radius-lg); padding: 1.75rem; box-shadow: var(--shadow-sm); }
.blog-single-content h1 { font-size: clamp(1.4rem,4vw,2rem); margin-bottom: 1rem; }
.blog-single-content .content-body h3 { margin: 1.5rem 0 0.5rem; }
.blog-single-content .content-body p { font-size: 0.95rem; line-height: 1.85; }
.blog-single-content .content-body ul { padding-left: 1.25rem; margin-bottom: 1rem; }
.blog-single-content .content-body ul li { list-style: disc; color: var(--text-muted); font-size: 0.92rem; margin-bottom: 0.4rem; line-height: 1.7; }
.blog-feat-img { width: 100%; height: 280px; object-fit: cover; border-radius: var(--radius); margin-bottom: 1.5rem; }

/* ============================================================
   FOUNDATION PAGE
   ============================================================ */
.camps-table-wrap { overflow-x: auto; }
.camps-table { width: 100%; border-collapse: collapse; font-size: 0.88rem; }
.camps-table th { background: var(--primary); color: white; padding: 0.75rem 1rem; text-align: left; font-weight: 600; font-size: 0.8rem; }
.camps-table td { padding: 0.75rem 1rem; border-bottom: 1px solid var(--border); color: var(--text-muted); }
.camps-table tr:hover td { background: var(--bg); }
.camp-badge { background: var(--accent); color: white; font-size: 0.72rem; font-weight: 700; padding: 0.2rem 0.5rem; border-radius: 4px; }

/* ============================================================
   DOCTOR LOGIN / DASHBOARD
   ============================================================ */
.auth-page {
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  padding: 2rem 1.25rem;
}
.auth-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  width: 100%; max-width: 420px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.3);
}
.auth-logo { text-align: center; margin-bottom: 2rem; }
.auth-logo .logo-icon { width: 56px; height: 56px; margin: 0 auto 0.75rem; font-size: 1.6rem; }
.auth-logo h2 { font-size: 1.3rem; margin-bottom: 0.25rem; }
.auth-logo p { font-size: 0.85rem; color: var(--text-muted); margin: 0; }
.auth-alert { padding: 0.75rem 1rem; border-radius: var(--radius-sm); font-size: 0.85rem; margin-bottom: 1.25rem; }
.auth-alert.error { background: rgba(224,92,26,0.1); border: 1px solid rgba(224,92,26,0.3); color: var(--accent); }
.auth-alert.success { background: rgba(45,138,78,0.1); border: 1px solid rgba(45,138,78,0.3); color: var(--success); }

.dashboard-layout { display: grid; gap: 0; min-height: 100vh; }
.dash-sidebar {
  background: var(--primary-dark);
  color: white;
  padding: 1.5rem;
  width: 100%;
}
.dash-nav { margin-top: 1.5rem; display: flex; flex-direction: column; gap: 0.25rem; }
.dash-nav a {
  display: flex; align-items: center; gap: 0.75rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem; color: rgba(255,255,255,0.7);
  transition: all var(--transition);
}
.dash-nav a:hover, .dash-nav a.active { background: rgba(255,255,255,0.1); color: white; }
.dash-nav a span { font-size: 1.1rem; }
.dash-main { background: var(--bg); padding: 1.5rem; }
.dash-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 2rem; }
.dash-header h2 { margin: 0; }
.dash-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 2rem; }
.dash-card {
  background: white; border-radius: var(--radius);
  padding: 1.25rem; box-shadow: var(--shadow-sm);
}
.dash-card .num { font-size: 2rem; font-weight: 800; font-family: var(--font-heading); color: var(--primary); line-height: 1; }
.dash-card .lbl { font-size: 0.78rem; color: var(--text-muted); margin-top: 0.25rem; }
.posts-table { background: white; border-radius: var(--radius); box-shadow: var(--shadow-sm); overflow: hidden; }
.posts-table table { width: 100%; border-collapse: collapse; font-size: 0.85rem; }
.posts-table th { background: var(--bg); color: var(--text); padding: 0.75rem 1rem; text-align: left; font-size: 0.78rem; font-weight: 600; }
.posts-table td { padding: 0.75rem 1rem; border-bottom: 1px solid var(--border); color: var(--text-muted); }
.status-pill { display: inline-block; padding: 0.2rem 0.6rem; border-radius: 50px; font-size: 0.72rem; font-weight: 600; }
.status-pill.published { background: rgba(45,138,78,0.1); color: var(--success); }
.status-pill.draft { background: rgba(107,117,137,0.1); color: var(--text-muted); }
.action-btns { display: flex; gap: 0.4rem; }
.action-btn {
  padding: 0.3rem 0.65rem;
  border-radius: var(--radius-sm);
  font-size: 0.75rem; font-weight: 600;
  transition: all var(--transition);
}
.action-btn.edit { background: rgba(26,58,110,0.08); color: var(--primary); }
.action-btn.delete { background: rgba(224,92,26,0.1); color: var(--accent); }
.action-btn:hover { opacity: 0.8; }

/* Editor */
.editor-wrap { background: white; border-radius: var(--radius-lg); padding: 1.75rem; box-shadow: var(--shadow); }
.editor-wrap h3 { margin-bottom: 1.5rem; padding-bottom: 0.75rem; border-bottom: 2px solid var(--border); }
.editor-actions { display: flex; gap: 0.75rem; margin-top: 1.5rem; }
#content-editor { min-height: 300px; border: 1.5px solid var(--border); border-radius: var(--radius-sm); padding: 1rem; font-family: var(--font-body); font-size: 0.92rem; line-height: 1.7; outline: none; }
#content-editor:focus { border-color: var(--primary); }
.editor-toolbar {
  display: flex; flex-wrap: wrap; gap: 0.25rem;
  padding: 0.5rem;
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-bottom: none;
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
}
.toolbar-btn {
  width: 32px; height: 32px;
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem; color: var(--text); font-weight: 700;
  background: none; border: none;
  transition: all var(--transition);
}
.toolbar-btn:hover { background: white; color: var(--primary); }

/* ============================================================
   ABOUT PAGE SPECIFIC
   ============================================================ */
.timeline { position: relative; padding-left: 2rem; }
.timeline::before { content: ''; position: absolute; left: 0.45rem; top: 0; bottom: 0; width: 2px; background: linear-gradient(180deg, var(--primary), var(--teal)); }
.timeline-item { position: relative; margin-bottom: 1.75rem; }
.timeline-dot { position: absolute; left: -1.65rem; top: 0.2rem; width: 14px; height: 14px; border-radius: 50%; background: var(--primary); border: 2.5px solid white; box-shadow: 0 0 0 3px rgba(26,58,110,0.2); }
.timeline-item h4 { font-size: 0.95rem; color: var(--text); margin-bottom: 0.2rem; }
.timeline-item p { font-size: 0.84rem; color: var(--text-muted); margin: 0; }
.timeline-year { font-size: 0.72rem; color: var(--accent); font-weight: 600; margin-bottom: 0.2rem; }

/* ============================================================
   GALLERY PAGE
   ============================================================ */
.gallery-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }
.gallery-item { border-radius: var(--radius); overflow: hidden; aspect-ratio: 1; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.gallery-item:hover img { transform: scale(1.05); }

/* ============================================================
   ALERT / MESSAGE COMPONENTS
   ============================================================ */
.alert { padding: 1rem 1.25rem; border-radius: var(--radius-sm); margin-bottom: 1rem; font-size: 0.88rem; }
.alert-success { background: rgba(45,138,78,0.1); border: 1px solid rgba(45,138,78,0.3); color: var(--success); }
.alert-error { background: rgba(224,92,26,0.1); border: 1px solid rgba(224,92,26,0.3); color: var(--accent); }
.alert-info { background: var(--teal-light); border: 1px solid rgba(11,124,142,0.3); color: var(--teal); }

/* ============================================================
   RESPONSIVE — Tablet (768px+)
   ============================================================ */
@media (min-width: 768px) {
  .section { padding: 5rem 0; }
  .top-bar { display: block; }
  .hero { padding: 5rem 0 4rem; }
  .hero-grid { grid-template-columns: 1fr 1fr; }
  .hero-stats { grid-template-columns: repeat(3,1fr); }
  .quick-info-grid { grid-template-columns: repeat(2,1fr); }
  .qi-item { border-bottom: 0; border-right: 1px solid var(--border); }
  .qi-item:nth-child(2), .qi-item:nth-child(4) { border-right: none; }
  .qi-item:nth-child(1), .qi-item:nth-child(2) { border-bottom: 1px solid var(--border); }
  .about-grid { grid-template-columns: 1fr 1fr; }
  .services-grid { grid-template-columns: repeat(2,1fr); }
  .foundation-grid { grid-template-columns: 1fr 1fr; }
  .foundation-stats { grid-template-columns: repeat(2,1fr); }
  .blog-grid { grid-template-columns: repeat(2,1fr); }
  .testimonials-grid { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .services-detail-grid { grid-template-columns: repeat(2,1fr); }
  .blog-layout { grid-template-columns: 1fr; }
  .blog-single-layout { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr 1fr; }
  .dashboard-layout { grid-template-columns: 240px 1fr; min-height: 100vh; }
  .dash-sidebar { padding: 2rem 1.5rem; }
  .form-row { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: repeat(3,1fr); }
  .dash-cards { grid-template-columns: repeat(4,1fr); }
}

/* ============================================================
   Responsive — Desktop (1024px+)
   ============================================================ */
@media (min-width: 1024px) {
  .hamburger { display: none; }
  .nav-links { display: flex; }
  .quick-info-grid { grid-template-columns: repeat(4,1fr); }
  .qi-item { border-bottom: none; border-right: 1px solid var(--border); }
  .qi-item:last-child { border-right: none; }
  .about-highlights { grid-template-columns: 1fr 1fr; }
  .services-grid { grid-template-columns: repeat(4,1fr); }
  .blog-grid { grid-template-columns: repeat(3,1fr); }
  .testimonials-grid { grid-template-columns: repeat(3,1fr); }
  .footer-grid { grid-template-columns: 2fr 1fr 1fr 1.5fr; }
  .blog-layout { grid-template-columns: 1fr 300px; }
  .blog-single-layout { grid-template-columns: 1fr 280px; }
  .contact-grid { grid-template-columns: 1fr 1fr; }
  .about-grid { gap: 4rem; }
  .gallery-grid { grid-template-columns: repeat(4,1fr); }
}

/* Utility animations */
.fade-in { opacity: 0; transform: translateY(20px); transition: opacity 0.5s ease, transform 0.5s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* Print / no-script */
@media print { header, footer, .whatsapp-float, .hamburger { display: none; } }
