/* ============================================================
   Sri Venkateshwaraa Super Speciality Hospital
   Corporate Dark Blue & Green Theme
   ============================================================ */

/* ---- CSS Variables ---- */
:root {
  --primary:      #0a1f44;
  --primary-mid:  #0f2d65;
  --secondary:    #1a3a6b;
  --accent:       #00a878;
  --accent-light: #00c896;
  --accent-dark:  #008a62;
  --gold:         #f7b731;
  --white:        #ffffff;
  --bg-light:     #f4f7fc;
  --bg-section:   #eef2f9;
  --text:         #1e2a3a;
  --text-muted:   #6a7a8a;
  --border:       #dce5f3;
  --shadow:       0 4px 24px rgba(10,31,68,0.10);
  --shadow-lg:    0 8px 40px rgba(10,31,68,0.18);
  --radius:       12px;
  --radius-sm:    8px;
  --transition:   0.3s ease;
  --font:         'Inter', sans-serif;
}

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ---- Typography ---- */
h1,h2,h3,h4,h5,h6 { font-weight: 700; line-height: 1.2; color: var(--primary); }
h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); }
h3 { font-size: 1.3rem; }
p  { color: var(--text-muted); margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

/* ---- Container ---- */
.container { max-width: 1240px; margin: 0 auto; padding: 0 20px; }

/* ---- Section Styles ---- */
.section { padding: 80px 0; }
.section-alt { background: var(--bg-section); }
.section-dark { background: var(--primary); color: var(--white); }
.section-dark h2, .section-dark h3 { color: var(--white); }
.section-dark p { color: rgba(255,255,255,0.8); }

.section-header { text-align: center; margin-bottom: 50px; }
.section-header.left { text-align: left; }
.section-badge {
  display: inline-block;
  background: rgba(0,168,120,0.12);
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 30px;
  margin-bottom: 12px;
  border: 1px solid rgba(0,168,120,0.25);
}
.section-title {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  color: var(--primary);
  margin-bottom: 12px;
}
.section-title .accent { color: var(--accent); }
.section-title.white { color: var(--white); }
.section-divider {
  width: 50px; height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--accent-light));
  border-radius: 2px;
  margin: 0 auto 16px;
}
.section-divider.left { margin-left: 0; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  white-space: nowrap;
}
.btn-primary {
  background: var(--accent);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(0,168,120,0.35);
}
.btn-primary:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(0,168,120,0.45);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.55);
}
.btn-outline:hover {
  background: var(--white);
  color: var(--primary);
  border-color: var(--white);
}
.btn-gold {
  background: var(--gold);
  color: var(--primary);
  font-weight: 700;
}
.btn-gold:hover {
  background: #e5a820;
  transform: translateY(-2px);
}
.btn-sm { padding: 9px 20px; font-size: 0.875rem; }
.btn-lg { padding: 16px 36px; font-size: 1.05rem; }

/* ============================================================
   TOPBAR
   ============================================================ */
.topbar {
  background: #071739;
  padding: 10px 0;
  font-size: 0.85rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.topbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}
.topbar-left, .topbar-right {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.topbar-link {
  color: rgba(255, 255, 255, 0.88);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
}
.topbar-link:hover { color: var(--accent-light); }
.social-link {
  color: rgba(255, 255, 255, 0.7);
  width: 30px; height: 30px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.82rem;
  transition: all 0.3s ease;
}
.social-link:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 168, 120, 0.3);
}
.btn-topbar {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
  color: #fff;
  padding: 8px 20px;
  border-radius: 30px;
  font-size: 0.82rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 168, 120, 0.2);
}
.btn-topbar:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(0, 168, 120, 0.35);
  color: #fff;
}

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
  transition: all 0.3s ease;
}
.navbar.scrolled {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 8px 30px rgba(10, 31, 68, 0.08);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  height: 80px;
  transition: height 0.3s ease;
}
.navbar.scrolled .nav-inner {
  height: 70px;
}
.nav-logo img {
  max-height: 55px;
  transition: max-height 0.3s ease;
}
.navbar.scrolled .nav-logo img {
  max-height: 48px;
}

/* Nav Menu */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-list {
  display: flex;
  align-items: center;
  gap: 0;
  margin-right: 12px;
}
.nav-item { position: relative; }
.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 28px 16px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  transition: all 0.3s ease;
  white-space: nowrap;
  position: relative;
}
.navbar.scrolled .nav-link {
  padding: 23px 16px;
}
.nav-link:hover, .nav-item.active .nav-link { color: var(--accent); }
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 16px; right: 16px;
  height: 3px;
  background: var(--accent);
  border-radius: 3px 3px 0 0;
  transform: scaleX(0);
  transition: transform 0.3s ease;
}
.nav-link:hover::after, .nav-item.active .nav-link::after {
  transform: scaleX(1);
}

/* Dropdown */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(10, 31, 68, 0.1);
  min-width: 220px;
  padding: 12px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(15px);
  transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-top: 3px solid var(--accent);
}
.nav-item.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown-item {
  display: block;
  padding: 10px 24px;
  font-size: 0.9rem;
  font-weight: 550;
  color: var(--text);
  transition: all 0.25s ease;
}
.dropdown-item:hover {
  color: var(--accent);
  background: rgba(0, 168, 120, 0.04);
  padding-left: 28px;
}

/* Mega Menu */
.mega-item { position: static; }
.mega-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(15px);
  width: min(96vw, 1140px);
  background: var(--white);
  border-radius: 16px;
  box-shadow: 0 15px 40px rgba(10, 31, 68, 0.12);
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-top: 4px solid var(--accent);
  padding: 30px 40px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
  z-index: 1000;
}
.mega-item:hover .mega-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.mega-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}
.mega-col li {
  margin-bottom: 6px;
}
.mega-col li a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  font-size: 0.9rem;
  font-weight: 550;
  color: var(--text);
  border-radius: 8px;
  transition: all 0.25s ease;
}
.mega-col li a:hover {
  color: var(--accent);
  background: rgba(0, 168, 120, 0.04);
  transform: translateX(4px);
}
.mega-col li a i {
  width: 18px;
  color: var(--accent);
  font-size: 0.85rem;
  transition: transform 0.25s ease;
}
.mega-col li a:hover i {
  transform: scale(1.2);
}
.mega-col-title {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 1.2px;
  margin-bottom: 16px;
  padding-left: 10px;
  border-left: 3px solid var(--accent);
  line-height: 1.2;
}
.mega-col-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* Appointment button */
.btn-appointment {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
  color: #fff;
  padding: 11px 24px;
  border-radius: 30px;
  font-size: 0.9rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 168, 120, 0.3);
  white-space: nowrap;
}
.btn-appointment:hover {
  background: linear-gradient(135deg, var(--accent-dark) 0%, var(--accent) 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(0, 168, 120, 0.45);
  color: #fff;
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  width: 40px;
  height: 40px;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transition: var(--transition);
}
.nav-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ============================================================
   PAGE HERO (Inner Pages)
   ============================================================ */
.page-hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 60%, var(--accent-dark) 100%);
  color: #fff;
  padding: 60px 0 50px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('/assets/images/pattern.svg') repeat;
  opacity: 0.04;
}
.page-hero .container { position: relative; }
.page-hero h1 { color: #fff; font-size: clamp(1.6rem, 3.5vw, 2.5rem); margin-bottom: 10px; }
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.75);
}
.breadcrumb a { color: rgba(255,255,255,0.8); transition: color var(--transition); }
.breadcrumb a:hover { color: var(--accent-light); }
.breadcrumb-sep { color: rgba(255,255,255,0.4); }

/* ============================================================
   HERO (Homepage)
   ============================================================ */
.hero-section {
  position: relative;
  min-height: 600px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-mid) 50%, var(--secondary) 100%);
  overflow: hidden;
  display: flex;
  align-items: center;
}
.hero-section::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(10,31,68,0.92) 40%, rgba(10,31,68,0.3) 100%);
}
.hero-bg-img {
  position: absolute;
  inset: 0;
  object-fit: cover;
  width: 100%;
  height: 100%;
  opacity: 0.45;
}
.hero-content {
  position: relative;
  z-index:1;
  padding: 80px 0;
  max-width: 640px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(0,168,120,0.2);
  border: 1px solid rgba(0,200,150,0.35);
  color: var(--accent-light);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 7px 16px;
  border-radius: 30px;
  margin-bottom: 18px;
}
.hero-title {
  font-size: clamp(2rem, 5vw, 3.4rem);
  color: #fff;
  line-height: 1.15;
  margin-bottom: 18px;
}
.hero-title .accent { color: var(--accent-light); }
.hero-subtitle {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.8);
  margin-bottom: 32px;
  max-width: 520px;
}
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }

/* ============================================================
   STATS BAR
   ============================================================ */
.stats-bar {
  background: var(--accent);
  padding: 28px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 0;
}
.stat-item {
  text-align: center;
  padding: 8px 20px;
  position: relative;
}
.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0; top: 10%; bottom: 10%;
  width: 1px;
  background: rgba(255,255,255,0.3);
}
.stat-number {
  font-size: 2.2rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
  margin-bottom: 4px;
}
.stat-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ============================================================
   APPOINTMENT FORM (Homepage)
   ============================================================ */
.appointment-strip {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  padding: 50px 0;
}
.appt-form-wrap {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 40px;
  align-items: center;
}
.appt-intro h2 { color: #fff; margin-bottom: 10px; }
.appt-intro p { color: rgba(255,255,255,0.78); }
.appt-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.appt-form .full { grid-column: 1 / -1; }
.form-group { display: flex; flex-direction: column; gap: 5px; }
.form-group label { font-size: 0.82rem; font-weight: 600; color: rgba(255,255,255,0.8); }
.form-control {
  padding: 11px 16px;
  border: 1.5px solid rgba(255,255,255,0.2);
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.1);
  color: #fff;
  font-size: 0.92rem;
  font-family: var(--font);
  transition: border-color var(--transition);
}
.form-control::placeholder { color: rgba(255,255,255,0.4); }
.form-control:focus { outline: none; border-color: var(--accent-light); background: rgba(255,255,255,0.15); }
.form-control option { color: var(--text); background: #fff; }
textarea.form-control { resize: vertical; min-height: 90px; }

/* ============================================================
   DEPARTMENT CARDS (Specialities Grid)
   ============================================================ */
.dept-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 20px;
}
.dept-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 18px 22px;
  text-align: center;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.dept-card::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}
.dept-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.dept-card:hover::before { transform: scaleX(1); }
.dept-icon {
  width: 60px; height: 60px;
  background: linear-gradient(135deg, rgba(0,168,120,0.12), rgba(10,31,68,0.08));
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
  font-size: 1.4rem;
  color: var(--accent);
  transition: var(--transition);
}
.dept-card:hover .dept-icon {
  background: var(--accent);
  color: #fff;
}
.dept-name {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary);
  line-height: 1.3;
}

/* ============================================================
   DOCTOR CARDS
   ============================================================ */
.doctor-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all var(--transition);
  text-align: center;
}
.doctor-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.doctor-img {
  height: 240px;
  overflow: hidden;
  position: relative;
  background: var(--bg-section);
}
.doctor-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.5s ease;
}
.doctor-card:hover .doctor-img img { transform: scale(1.04); }
.doctor-body { padding: 20px 16px 22px; }
.doctor-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 4px;
}
.doctor-dept {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}
.doctor-quals {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.4;
}

/* ============================================================
   DEPARTMENT PAGE
   ============================================================ */
.dept-page-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 30px;
  padding: 50px 0;
}

/* Sidebar */
.dept-sidebar {}
.sidebar-card {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  position: sticky;
  top: 90px;
}
.sidebar-heading {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
  padding: 16px 20px;
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.sidebar-depts { padding: 8px 0; }
.sidebar-depts li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text);
  border-left: 3px solid transparent;
  transition: var(--transition);
}
.sidebar-depts li a .sp-left {
  display: flex;
  align-items: center;
  gap: 10px;
}
.sidebar-depts li a .sp-ico {
  width: 28px; height: 28px;
  border-radius: 7px;
  background: var(--bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  color: var(--accent);
  flex-shrink: 0;
}
.sidebar-depts li a:hover,
.sidebar-depts li.active a {
  color: var(--accent);
  background: rgba(0,168,120,0.06);
  border-left-color: var(--accent);
}
.sidebar-depts li a .fa-angle-right { font-size: 0.75rem; color: var(--text-muted); }

/* Content Card */
.content-card {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 36px 36px 40px;
}
.content-card h1 { font-size: 1.9rem; margin-bottom: 14px; }
.content-card .lead {
  font-size: 1.05rem;
  color: var(--text-muted);
  border-left: 4px solid var(--accent);
  padding-left: 16px;
  margin-bottom: 22px;
  line-height: 1.7;
}
.dept-banner-img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  margin: 18px 0;
}
.services-section { margin: 28px 0; }
.services-section h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.services-section h4::before {
  content: '';
  width: 4px; height: 18px;
  background: var(--accent);
  border-radius: 2px;
}
.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 24px;
}
.services-grid li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--text-muted);
  padding: 5px 0;
}
.services-grid li::before {
  content: "\f00c";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  color: var(--accent);
  font-size: 0.7rem;
  margin-top: 3px;
  flex-shrink: 0;
}
.achievements-box {
  background: linear-gradient(135deg, rgba(10,31,68,0.04), rgba(0,168,120,0.06));
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 22px;
  margin: 24px 0;
}
.achievements-box h4 { margin-bottom: 12px; }
.achievements-box p { font-size: 0.9rem; line-height: 1.7; }

/* Doctor cards (dept page) */
.dept-doctors { margin-top: 28px; }
.dept-doctors h4 { margin-bottom: 18px; }
.doc-cards-row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.doc-card-mini {
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  display: flex;
  gap: 16px;
  align-items: center;
  flex: 1;
  min-width: 260px;
  max-width: 400px;
  transition: var(--transition);
}
.doc-card-mini:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.doc-avatar {
  width: 72px; height: 72px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top;
  border: 3px solid var(--accent);
  flex-shrink: 0;
}
.doc-info .doc-name { font-size: 0.95rem; font-weight: 700; color: var(--primary); margin-bottom: 2px; }
.doc-info .doc-qual { font-size: 0.75rem; color: var(--text-muted); margin-bottom: 8px; line-height: 1.4; }
.doc-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.doc-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 14px;
  border-radius: 6px;
  font-size: 0.78rem;
  font-weight: 600;
  transition: var(--transition);
}
.doc-action-email { background: var(--primary); color: #fff; }
.doc-action-email:hover { background: var(--secondary); }
.doc-action-call { background: var(--accent); color: #fff; }
.doc-action-call:hover { background: var(--accent-dark); }

/* Dept Stats Bar */
.dept-stats-bar {
  display: flex;
  gap: 0;
  border-top: 1px solid var(--border);
  margin-top: 30px;
  padding-top: 24px;
  flex-wrap: wrap;
}
.dept-stat {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 1;
  min-width: 120px;
  padding: 6px 16px 6px 0;
  border-right: 1px dashed var(--border);
}
.dept-stat:last-child { border-right: none; }
.dept-stat-icon {
  width: 46px; height: 46px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.icon-blue { background: #eef3ff; color: #2b66f6; }
.icon-green { background: #eef9f1; color: var(--accent); }
.icon-amber { background: #fff6e7; color: #f2a000; }
.icon-purple { background: #f3eeff; color: #7c3aed; }
.dept-stat-num { font-size: 1.5rem; font-weight: 800; color: var(--primary); line-height: 1; }
.dept-stat-lbl { font-size: 0.78rem; color: var(--text-muted); margin-top: 2px; }
.book-appt-cta { text-align: center; margin-top: 28px; }

/* ============================================================
   ABOUT SECTION (Homepage)
   ============================================================ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}
.about-img-wrap { position: relative; max-width: 85%; margin: 0 auto; }
.about-img-wrap img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.about-badge-box {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--accent);
  color: #fff;
  padding: 18px 24px;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: var(--shadow);
}
.about-badge-box .number { font-size: 2.4rem; font-weight: 800; line-height: 1; }
.about-badge-box .label { font-size: 0.8rem; font-weight: 600; opacity: 0.88; }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow);
  position: relative;
}
.testimonial-card::before {
  content: '\201C';
  font-size: 5rem;
  color: var(--accent);
  opacity: 0.15;
  position: absolute;
  top: 8px;
  left: 18px;
  line-height: 1;
  font-family: Georgia, serif;
}
.testimonial-text {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 18px;
  position: relative;
}
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar {
  width: 46px; height: 46px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--bg-section);
  border: 2px solid var(--accent);
  flex-shrink: 0;
}
.testimonial-name { font-weight: 700; font-size: 0.9rem; color: var(--primary); }
.testimonial-loc { font-size: 0.78rem; color: var(--text-muted); }
.stars { color: #f59e0b; font-size: 0.8rem; margin-bottom: 2px; }

/* Testimonials Swiper Navigation Redesign */
@media (min-width: 992px) {
  .testimonials-swiper {
    padding: 0 60px 40px !important;
  }
  .testimonials-swiper .swiper-button-next {
    right: 5px !important;
  }
  .testimonials-swiper .swiper-button-prev {
    left: 5px !important;
  }
}
@media (max-width: 991px) {
  .testimonials-swiper .swiper-button-next,
  .testimonials-swiper .swiper-button-prev {
    display: none !important;
  }
  .testimonials-swiper {
    padding: 0 0 30px !important;
  }
}
.testimonials-swiper .swiper-button-next,
.testimonials-swiper .swiper-button-prev {
  width: 44px !important;
  height: 44px !important;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--accent) !important;
  box-shadow: 0 4px 12px rgba(10,31,68,0.08);
  transition: all 0.3s ease;
  top: 50% !important;
  transform: translateY(-50%);
}
.testimonials-swiper .swiper-button-next:hover,
.testimonials-swiper .swiper-button-prev:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--white) !important;
  transform: translateY(-50%) scale(1.05);
}
.testimonials-swiper .swiper-button-next::after,
.testimonials-swiper .swiper-button-prev::after {
  font-size: 1rem !important;
  font-weight: 900;
}

/* ============================================================
   WHY CHOOSE US
   ============================================================ */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
@media (max-width: 991px) {
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 576px) {
  .why-grid {
    grid-template-columns: 1fr;
  }
}
.why-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  padding: 35px 30px;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  backdrop-filter: blur(8px);
}
.why-card:hover {
  background: rgba(255,255,255,0.07);
  border-color: var(--accent);
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0, 168, 120, 0.15);
}
.why-icon {
  width: 60px; height: 60px;
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: #fff;
  margin-bottom: 22px;
  box-shadow: 0 4px 15px rgba(0, 168, 120, 0.3);
  transition: transform 0.5s ease;
}
.why-card:hover .why-icon {
  transform: rotate(360deg);
}
.why-card h3 { color: #fff; font-size: 1.15rem; margin-bottom: 10px; font-weight: 700; }
.why-card p { font-size: 0.92rem; color: rgba(255,255,255,0.75); line-height: 1.65; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: linear-gradient(135deg, #071739 0%, #0c2b5c 50%, #0d385a 100%);
  position: relative;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.85);
}
.footer::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.04) 1.5px, transparent 1.5px);
  background-size: 24px 24px;
  opacity: 0.4;
  pointer-events: none;
  z-index: 1;
}
.footer-top {
  position: relative;
  z-index: 2;
  padding: 80px 0 50px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1.1fr 1fr 1fr;
  gap: 50px;
}
.footer-logo { margin-bottom: 20px; max-height: 52px; transition: transform 0.3s ease; }
.footer-logo:hover { transform: scale(1.03); }
.footer-about p { font-size: 0.9rem; color: rgba(255, 255, 255, 0.7); line-height: 1.8; margin-bottom: 25px; }
.footer-social { display: flex; gap: 12px; }
.footer-social a {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.9rem;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  background: rgba(255, 255, 255, 0.03);
}
.footer-social a:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  transform: translateY(-4px) scale(1.1);
  box-shadow: 0 6px 15px rgba(0, 168, 120, 0.4);
}
.footer-heading {
  color: #fff;
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 12px;
}
.footer-heading::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 35px; height: 3px;
  background: var(--accent);
  border-radius: 2px;
}
.footer-list { display: flex; flex-direction: column; gap: 14px; }
.footer-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.6;
}
.footer-list li i { color: var(--accent-light); margin-top: 4px; flex-shrink: 0; font-size: 0.95rem; }
.footer-list li a { color: rgba(255, 255, 255, 0.75); transition: all 0.25s ease; }
.footer-list li a:hover { color: var(--accent-light); padding-left: 2px; }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links li a {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.75);
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 2px 0;
  transition: all 0.25s ease;
}
.footer-links li a i { color: var(--accent-light); font-size: 0.75rem; transition: transform 0.25s ease; }
.footer-links li a:hover { color: var(--accent-light); transform: translateX(4px); }
.footer-links li a:hover i { transform: scale(1.2); }
.btn-footer-appt {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
  color: #fff;
  padding: 10px 22px;
  border-radius: 30px;
  font-size: 0.88rem;
  font-weight: 700;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 168, 120, 0.25);
}
.btn-footer-appt:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 168, 120, 0.4);
  color: #fff;
}
.footer-bottom {
  position: relative;
  z-index: 2;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 24px 0;
  background: rgba(0, 0, 0, 0.15);
}
.footer-bottom .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 15px;
}
.footer-bottom p { color: rgba(255, 255, 255, 0.55); font-size: 0.85rem; margin: 0; }
.footer-bottom-links {
  display: flex;
  gap: 25px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-bottom-links li a {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
  transition: color 0.25s ease;
}
.footer-bottom-links li a:hover { color: var(--accent-light); }

/* ============================================================
   ALERT / FLASH
   ============================================================ */
.alert {
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}
.alert-success { background: #ecfdf5; color: #065f46; border-left: 4px solid var(--accent); }
.alert-error { background: #fef2f2; color: #991b1b; border-left: 4px solid #ef4444; }
.alert-info { background: #eff6ff; color: #1e40af; border-left: 4px solid #3b82f6; }

/* ============================================================
   SWIPER OVERRIDES
   ============================================================ */
.swiper-pagination-bullet { background: rgba(255,255,255,0.4); opacity: 1; }
.swiper-pagination-bullet-active { background: var(--white); }
.swiper-button-next, .swiper-button-prev {
  color: var(--white);
  background: rgba(0,168,120,0.8);
  width: 44px; height: 44px;
  border-radius: 50%;
}
.swiper-button-next::after, .swiper-button-prev::after { font-size: 1rem; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .mega-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 991px) {
  .nav-toggle { display: flex; }
  .nav-menu {
    position: fixed;
    top: 70px; left: 0; right: 0; bottom: 0;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
    gap: 0;
    overflow-y: auto;
    transform: translateX(-100%);
    transition: transform var(--transition);
    z-index: 999;
  }
  .nav-menu.open { transform: translateX(0); }
  .nav-list { flex-direction: column; align-items: stretch; width: 100%; margin-right: 0; }
  .nav-link { padding: 14px 0; border-bottom: 1px solid var(--border); }
  .dropdown-menu, .mega-menu {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    box-shadow: none;
    border: none;
    border-left: 3px solid var(--accent);
    margin: 4px 0 8px 12px;
    padding: 4px 0 4px 10px;
    border-radius: 0;
    display: none;
  }
  .nav-item.dropdown.mobile-open .dropdown-menu,
  .mega-item.mobile-open .mega-menu { display: block; }
  .mega-grid { grid-template-columns: 1fr 1fr; }
  .btn-appointment { margin-top: 16px; width: 100%; justify-content: center; }
  .topbar-right .btn-topbar { display: none; }
  .dept-page-layout { grid-template-columns: 1fr; }
  .dept-sidebar { display: none; }
  .about-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .appt-form-wrap { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .section { padding: 50px 0; }
  .hero-content { padding: 60px 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .mega-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .appt-form { grid-template-columns: 1fr; }
  .doc-cards-row { flex-direction: column; }
  .dept-stat { min-width: 100%; border-right: none; border-bottom: 1px dashed var(--border); padding-bottom: 12px; margin-bottom: 12px; }
  .dept-stats-bar { flex-wrap: wrap; }
}
@media (max-width: 480px) {
  .topbar { display: none; }
  .stats-grid { grid-template-columns: 1fr; }
  .stat-item::after { display: none; }
  .content-card { padding: 22px 16px; }
}
