/* Public Health Diagnostics - Modern Clinical Design System */
:root {
  --phd-primary: #0A2540;
  --phd-primary-hover: #06182a;
  --phd-primary-light: #163a63;
  --phd-secondary: #0284C7;
  --phd-secondary-hover: #0369A1;
  --phd-accent-teal: #0D9488;
  --phd-accent-soft: #F0FDFA;
  --phd-accent-orange: #EA580C;
  --phd-accent-coral: #E11D48;
  --phd-bg-body: #F8FAFC;
  --phd-bg-card: #FFFFFF;
  --phd-bg-muted: #F1F5F9;
  --phd-text-main: #0F172A;
  --phd-text-muted: #64748B;
  --phd-border: #E2E8F0;
  --phd-border-light: #F1F5F9;
  --phd-font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --phd-font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --phd-radius-sm: 8px;
  --phd-radius-md: 14px;
  --phd-radius-lg: 22px;
  --phd-radius-full: 9999px;
  --phd-shadow-sm: 0 2px 8px rgba(10, 37, 64, 0.04);
  --phd-shadow-md: 0 10px 30px -5px rgba(10, 37, 64, 0.08);
  --phd-shadow-lg: 0 20px 45px -10px rgba(10, 37, 64, 0.14);
  --phd-shadow-hover: 0 22px 50px -10px rgba(2, 132, 199, 0.18);
  --phd-transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--phd-font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--phd-text-main);
  background-color: var(--phd-bg-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--phd-font-heading);
  color: var(--phd-primary);
  font-weight: 700;
  line-height: 1.25;
}

a {
  color: var(--phd-primary);
  text-decoration: none;
  transition: var(--phd-transition);
}

a:hover {
  color: var(--phd-secondary);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 100%;
  max-width: 1260px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Base Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--phd-font-heading);
  font-size: 15px;
  font-weight: 600;
  padding: 12px 26px;
  border-radius: var(--phd-radius-full);
  cursor: pointer;
  border: 1px solid transparent;
  transition: var(--phd-transition);
  text-align: center;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--phd-primary) 0%, var(--phd-primary-light) 100%);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(10, 37, 64, 0.18);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--phd-primary-hover) 0%, var(--phd-primary) 100%);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: var(--phd-shadow-md);
}

.btn-secondary {
  background: linear-gradient(135deg, var(--phd-secondary) 0%, #0369a1 100%);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.28);
}

.btn-secondary:hover {
  background: linear-gradient(135deg, #0369a1 0%, #075985 100%);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: var(--phd-shadow-hover);
}

.btn-accent {
  background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(234, 88, 12, 0.25);
}

.btn-accent:hover {
  background: linear-gradient(135deg, #ea580c 0%, #c2410c 100%);
  color: #ffffff;
  transform: translateY(-2px);
}

.btn-outline {
  background-color: transparent;
  border-color: var(--phd-border);
  color: var(--phd-primary);
}

.btn-outline:hover {
  border-color: var(--phd-secondary);
  background-color: rgba(2, 132, 199, 0.06);
  color: var(--phd-secondary);
  transform: translateY(-2px);
}

.btn-whatsapp {
  background-color: #25D366;
  color: #ffffff;
}

.btn-whatsapp:hover {
  background-color: #1ebc59;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.3);
}

.btn-sm {
  padding: 8px 18px;
  font-size: 13.5px;
}

.btn-lg {
  padding: 15px 32px;
  font-size: 16px;
}

/* 1. Header – Top Section (Clean, Phone & Email Only as requested) */
.phd-topbar {
  background: #06182a;
  color: #E2E8F0;
  font-size: 13.5px;
  padding: 9px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.phd-topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.phd-topbar-info {
  display: flex;
  align-items: center;
  gap: 26px;
  flex-wrap: wrap;
}

.phd-topbar-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #E2E8F0;
  text-decoration: none;
  font-weight: 500;
  transition: var(--phd-transition);
}

.phd-topbar-item svg {
  color: #38BDF8;
  flex-shrink: 0;
}

.phd-topbar-item a {
  color: #E2E8F0;
}

.phd-topbar-item a:hover {
  color: #38BDF8;
}

.phd-topbar-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.phd-topbar-wa {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #4ADE80;
  font-weight: 600;
  font-size: 13px;
}

.phd-topbar-wa:hover {
  color: #86EFAC;
}

.phd-topbar-badge {
  background: rgba(56, 189, 248, 0.15);
  color: #38BDF8;
  border: 1px solid rgba(56, 189, 248, 0.3);
  padding: 2px 10px;
  border-radius: var(--phd-radius-full);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.3px;
}

/* 2. Header – Second Section (Logo & Main Navigation) */
.phd-header {
  background: #ffffff;
  box-shadow: 0 4px 20px rgba(10, 37, 64, 0.06);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: var(--phd-transition);
}

.phd-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: 90px;
}

.phd-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  min-width: 0;
  flex-shrink: 0;
}

.phd-logo-img {
  height: 62px;
  width: auto;
  object-fit: contain;
  flex-shrink: 0;
  transition: var(--phd-transition);
}

.phd-logo:hover .phd-logo-img {
  transform: scale(1.02);
}

.phd-logo-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.phd-logo-title {
  font-family: var(--phd-font-heading);
  font-size: 21px;
  font-weight: 800;
  color: var(--phd-primary);
  line-height: 1.1;
  letter-spacing: -0.4px;
  white-space: nowrap;
}

.phd-logo-subtitle {
  font-size: 11px;
  font-weight: 700;
  color: var(--phd-secondary);
  text-transform: uppercase;
  letter-spacing: 1.4px;
  margin-top: 2px;
}

/* Navigation & Dropdowns */
.phd-nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 1.7vw, 24px);
  list-style: none;
  margin: 0;
  padding: 0;
}

.phd-nav-item {
  position: relative;
}

.phd-nav-link {
  font-family: var(--phd-font-heading);
  font-size: 15px;
  font-weight: 600;
  color: var(--phd-text-main);
  padding: 10px 4px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  position: relative;
  white-space: nowrap;
}

.phd-nav-link:hover,
.phd-nav-link.active {
  color: var(--phd-secondary);
}

.phd-nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--phd-secondary);
  border-radius: 3px;
}

.phd-dropdown-toggle svg {
  transition: transform 0.2s ease;
}

.phd-nav-item:hover .phd-dropdown-toggle svg {
  transform: rotate(180deg);
}

/* Dropdown Menu for 11 Services */
.phd-dropdown-menu {
  position: absolute;
  top: 100%;
  left: -40px;
  width: 580px;
  background: #ffffff;
  border-radius: var(--phd-radius-md);
  box-shadow: 0 18px 45px rgba(10, 37, 64, 0.16);
  border: 1px solid var(--phd-border);
  padding: 18px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px 16px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1001;
}

.phd-nav-item:hover .phd-dropdown-menu,
.phd-dropdown-menu:hover {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.phd-dropdown-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 12px;
  border-radius: var(--phd-radius-sm);
  color: var(--phd-text-main);
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 600;
  transition: var(--phd-transition);
}

.phd-dropdown-item:hover {
  background-color: #F0F9FF;
  color: var(--phd-secondary);
  transform: translateX(4px);
}

.phd-dropdown-item-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(2, 132, 199, 0.08);
  color: var(--phd-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  flex-shrink: 0;
}

.phd-dropdown-item:hover .phd-dropdown-item-icon {
  background: var(--phd-secondary);
  color: #ffffff;
}

.phd-dropdown-footer {
  grid-column: span 2;
  margin-top: 10px;
  padding-top: 12px;
  border-top: 1px solid var(--phd-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12.5px;
  color: var(--phd-text-muted);
}

.phd-dropdown-footer a {
  color: var(--phd-secondary);
  font-weight: 600;
}

.phd-header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.phd-mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--phd-primary);
}

.phd-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Hero Section with Balanced Clinical Editorial + Showcase Slider */
.phd-hero-slider {
  position: relative;
  background: radial-gradient(circle at 80% 35%, #123e6b 0%, #092544 52%, #06182a 100%);
  overflow: hidden;
}

.phd-hero-slider::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(600px circle at 18% 20%, rgba(56, 189, 248, 0.12), transparent 60%),
    radial-gradient(520px circle at 85% 75%, rgba(13, 148, 136, 0.14), transparent 65%);
  pointer-events: none;
  z-index: 0;
}

.phd-slider-track {
  display: flex;
  align-items: stretch;
  transition: transform 0.65s cubic-bezier(0.25, 1, 0.5, 1);
  position: relative;
  z-index: 1;
}

.phd-slide {
  min-width: 100%;
  width: 100%;
  flex-shrink: 0;
  position: relative;
  display: flex;
  align-items: center;
  min-height: 520px;
  padding: 52px 0 68px;
  color: #ffffff;
  overflow: hidden;
}

.phd-slide .container {
  position: relative;
  z-index: 2;
}

.phd-slide-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
  gap: 44px;
  align-items: center;
  width: 100%;
}

.phd-slide-content {
  min-width: 0;
  max-width: 600px;
  animation: fadeInUp 0.7s ease both;
}

.phd-slide-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 15px;
  background: rgba(56, 189, 248, 0.15);
  color: #38BDF8;
  border: 1px solid rgba(56, 189, 248, 0.36);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.9px;
  border-radius: var(--phd-radius-full);
  margin-bottom: 18px;
  max-width: 100%;
}

.phd-slide h1 {
  font-size: clamp(28px, 3.2vw, 44px);
  line-height: 1.15;
  color: #ffffff;
  letter-spacing: -0.8px;
  margin-bottom: 16px;
  font-weight: 800;
}

.phd-slide h1 span {
  color: #38BDF8;
}

.phd-slide-lead {
  font-size: clamp(15px, 1.15vw, 17px);
  line-height: 1.62;
  color: #CBD5E1;
  margin-bottom: 26px;
}

.phd-slide-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.phd-slide-media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 20px;
  overflow: hidden;
  border: 1.5px solid rgba(56, 189, 248, 0.3);
  background: #0A2540;
  box-shadow: 0 24px 60px rgba(2, 12, 27, 0.45);
}

.phd-slide-img {
  width: 100%;
  height: 100%;
  max-width: none;
  display: block;
  object-fit: cover;
  object-position: center 22%;
  transition: transform 6s ease-out;
}

@media (prefers-reduced-motion: no-preference) {
  .phd-slide.is-active .phd-slide-img {
    transform: scale(1.03);
  }
}

@media (prefers-reduced-motion: reduce) {
  .phd-slider-track,
  .phd-slide-content,
  .phd-slide-img {
    transition: none;
    animation: none;
  }
}

.phd-slide-caption {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  padding: 32px 18px 14px;
  background: linear-gradient(180deg, transparent 0%, rgba(6, 24, 42, 0.92) 100%);
  display: flex;
  align-items: center;
  gap: 10px;
  color: #F1F5F9;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.2px;
}

.phd-slide-caption::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #38BDF8;
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.25);
  flex-shrink: 0;
}

/* Slider Controls */
.phd-slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(10, 37, 64, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.34);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  backdrop-filter: blur(8px);
  transition: var(--phd-transition);
  touch-action: manipulation;
}

.phd-slider-btn:hover {
  background: var(--phd-secondary);
  border-color: var(--phd-secondary);
  color: #ffffff;
  transform: translateY(-50%) scale(1.08);
}

.phd-slider-btn:focus-visible,
.phd-dot:focus-visible {
  outline: 2px solid #38BDF8;
  outline-offset: 2px;
}

.phd-slider-btn.prev {
  left: 18px;
}

.phd-slider-btn.next {
  right: 18px;
}

.phd-slider-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 10;
}

.phd-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.38);
  border: none;
  cursor: pointer;
  transition: var(--phd-transition);
  touch-action: manipulation;
}

.phd-dot.active {
  width: 32px;
  border-radius: 6px;
  background: #38BDF8;
}

/* Quick Diagnostic Highlights Bar */
.phd-quick-strip {
  background: #ffffff;
  border-bottom: 1px solid var(--phd-border);
  box-shadow: 0 4px 15px rgba(10, 37, 64, 0.04);
  position: relative;
  z-index: 15;
}

.phd-quick-strip .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding-top: 22px;
  padding-bottom: 22px;
}

.phd-quick-item {
  display: flex;
  align-items: center;
  gap: 14px;
}

.phd-quick-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: #F0F9FF;
  color: var(--phd-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}

.phd-quick-item h5 {
  font-size: 15.5px;
  font-weight: 700;
  margin-bottom: 2px;
  color: var(--phd-primary);
}

.phd-quick-item p {
  font-size: 13px;
  color: var(--phd-text-muted);
  line-height: 1.35;
  margin: 0;
}

/* Sections Common */
.phd-section {
  padding: 85px 0;
  position: relative;
}

.phd-section-header {
  text-align: center;
  max-width: 740px;
  margin: 0 auto 52px;
}

.phd-section-subtitle {
  display: inline-block;
  font-family: var(--phd-font-heading);
  font-size: 13.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.4px;
  color: var(--phd-secondary);
  margin-bottom: 10px;
}

.phd-section-title {
  font-size: 38px;
  line-height: 1.22;
  letter-spacing: -0.8px;
  margin-bottom: 16px;
  color: var(--phd-primary);
}

.phd-section-desc {
  font-size: 16.5px;
  color: var(--phd-text-muted);
  line-height: 1.6;
}

/* -------------------------------------------------------------
   IMPORTANT TEST CAROUSEL (Metropolis / Lal PathLabs Reference)
------------------------------------------------------------- */
.phd-tests-carousel-section {
  background: linear-gradient(180deg, #F8FAFC 0%, #FFFFFF 100%);
  padding: 85px 0 95px;
  overflow: hidden;
}

.phd-carousel-controls-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
  flex-wrap: wrap;
  gap: 16px;
}

.phd-filter-pills {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.phd-filter-pill {
  padding: 7px 16px;
  border-radius: var(--phd-radius-full);
  background: #ffffff;
  border: 1px solid var(--phd-border);
  color: var(--phd-text-muted);
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--phd-transition);
}

.phd-filter-pill:hover,
.phd-filter-pill.active {
  background: var(--phd-primary);
  border-color: var(--phd-primary);
  color: #ffffff;
}

.phd-carousel-nav-btns {
  display: flex;
  align-items: center;
  gap: 10px;
}

.phd-cnav-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--phd-border);
  background: #ffffff;
  color: var(--phd-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--phd-transition);
  box-shadow: var(--phd-shadow-sm);
}

.phd-cnav-btn:hover {
  background: var(--phd-secondary);
  color: #ffffff;
  border-color: var(--phd-secondary);
  transform: scale(1.05);
}

.phd-tests-carousel-track {
  display: flex;
  gap: 22px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  padding: 10px 4px 30px;
  scrollbar-width: thin;
  scrollbar-color: #CBD5E1 transparent;
}

.phd-tests-carousel-track::-webkit-scrollbar {
  height: 6px;
}

.phd-tests-carousel-track::-webkit-scrollbar-thumb {
  background: #CBD5E1;
  border-radius: 6px;
}

.phd-test-card {
  min-width: 320px;
  max-width: 320px;
  background: #ffffff;
  border-radius: var(--phd-radius-md);
  border: 1px solid var(--phd-border);
  overflow: hidden;
  box-shadow: var(--phd-shadow-sm);
  display: flex;
  flex-direction: column;
  scroll-snap-align: start;
  transition: var(--phd-transition);
  position: relative;
}

.phd-test-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--phd-shadow-hover);
  border-color: #BAE6FD;
}

.phd-test-img-wrapper {
  position: relative;
  height: 170px;
  overflow: hidden;
}

.phd-test-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.phd-test-card:hover .phd-test-img-wrapper img {
  transform: scale(1.06);
}

.phd-test-badge-overlay {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(10, 37, 64, 0.85);
  backdrop-filter: blur(4px);
  color: #ffffff;
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  padding: 4px 10px;
  border-radius: var(--phd-radius-full);
}

.phd-test-tat-badge {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: #ffffff;
  color: var(--phd-accent-teal);
  font-size: 11.5px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
  display: flex;
  align-items: center;
  gap: 4px;
}

.phd-test-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.phd-test-name {
  font-size: 18px;
  font-weight: 700;
  color: var(--phd-primary);
  margin-bottom: 6px;
  line-height: 1.3;
}

.phd-test-desc {
  font-size: 13.5px;
  color: var(--phd-text-muted);
  line-height: 1.45;
  margin-bottom: 14px;
}

.phd-test-meta-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  background: #F8FAFC;
  padding: 10px 12px;
  border-radius: var(--phd-radius-sm);
  margin-bottom: 18px;
  font-size: 12px;
}

.phd-test-meta-item {
  display: flex;
  flex-direction: column;
}

.phd-test-meta-label {
  color: #94A3B8;
  font-weight: 500;
  font-size: 11px;
}

.phd-test-meta-val {
  color: var(--phd-primary);
  font-weight: 600;
}

.phd-test-pricing-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-top: auto;
  margin-bottom: 16px;
}

.phd-test-price {
  font-family: var(--phd-font-heading);
  font-size: 24px;
  font-weight: 800;
  color: var(--phd-primary);
}

.phd-test-mrp {
  font-size: 14px;
  color: #94A3B8;
  text-decoration: line-through;
}

.phd-test-save-badge {
  font-size: 11.5px;
  font-weight: 700;
  color: #16A34A;
  background: #DCFCE7;
  padding: 2px 7px;
  border-radius: 4px;
}

/* -------------------------------------------------------------
   ABOUT US SECTION ON HOME PAGE (Cleaned up as required)
------------------------------------------------------------- */
.phd-about-home-section {
  background: #ffffff;
  padding: 85px 0;
}

.phd-about-home-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}

.phd-about-home-content h2 {
  font-size: 36px;
  margin-bottom: 20px;
  line-height: 1.25;
}

.phd-about-lead {
  font-size: 17px;
  line-height: 1.7;
  color: #334155;
  margin-bottom: 28px;
}

.phd-about-features-clean {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-bottom: 32px;
}

.phd-about-feature-box {
  background: #F8FAFC;
  border: 1px solid var(--phd-border);
  border-radius: var(--phd-radius-sm);
  padding: 16px;
}

.phd-about-feature-box h5 {
  font-size: 15px;
  color: var(--phd-primary);
  margin-bottom: 4px;
}

.phd-about-feature-box p {
  font-size: 13px;
  color: var(--phd-text-muted);
  line-height: 1.4;
  margin: 0;
}

.phd-about-image-card {
  position: relative;
  border-radius: var(--phd-radius-lg);
  overflow: hidden;
  box-shadow: var(--phd-shadow-lg);
}

.phd-about-image-card img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  object-position: center 15%;
}

.phd-about-card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(6, 24, 42, 0.92) 100%);
  padding: 30px;
  color: #ffffff;
}

.phd-about-card-overlay h4 {
  color: #ffffff;
  font-size: 20px;
  margin-bottom: 6px;
}

.phd-about-card-overlay p {
  color: #CBD5E1;
  font-size: 13.5px;
  margin: 0;
}

/* -------------------------------------------------------------
   CLINICAL SPECIALTIES (All 11 from Centromed Labs)
------------------------------------------------------------- */
.phd-specialties-section {
  background: #F8FAFC;
  padding: 85px 0;
}

.phd-specialties-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.phd-specialty-card {
  background: #ffffff;
  border-radius: var(--phd-radius-md);
  border: 1px solid var(--phd-border);
  padding: 24px;
  box-shadow: var(--phd-shadow-sm);
  transition: var(--phd-transition);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.phd-specialty-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--phd-shadow-hover);
  border-color: #BAE6FD;
}

.phd-specialty-thumb {
  display: block;
  flex-shrink: 0;
  position: relative;
  height: 185px;
  margin: -24px -24px 20px;
  overflow: hidden;
  background: #0A2540;
}

.phd-specialty-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.phd-specialty-card:hover .phd-specialty-thumb img {
  transform: scale(1.06);
}

.phd-specialty-thumb-badge {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: rgba(6, 24, 42, 0.85);
  backdrop-filter: blur(4px);
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.7px;
  padding: 4px 10px;
  border-radius: var(--phd-radius-full);
}

.phd-specialty-thumb-num {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--phd-primary);
  font-family: var(--phd-font-heading);
  font-size: 12px;
  font-weight: 800;
  padding: 3px 9px;
  border-radius: var(--phd-radius-full);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.14);
}

.phd-specialty-icon-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.phd-specialty-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: #F0F9FF;
  color: var(--phd-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}

.phd-specialty-equip-pill {
  font-size: 11px;
  font-weight: 700;
  background: #F1F5F9;
  color: #475569;
  padding: 3px 9px;
  border-radius: 4px;
}

.phd-specialty-card h4 {
  font-size: 20px;
  margin-bottom: 8px;
  color: var(--phd-primary);
}

.phd-specialty-card p {
  font-size: 14px;
  color: var(--phd-text-muted);
  line-height: 1.55;
  margin-bottom: 18px;
  flex: 1;
}

.phd-specialty-tests-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 20px;
}

.phd-spec-tag {
  font-size: 11.5px;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  color: #334155;
  padding: 3px 8px;
  border-radius: 4px;
}

/* -------------------------------------------------------------
   PACKAGES SECTION (Official 5 packages from PDF)
------------------------------------------------------------- */
.phd-packages-section {
  background: #FFFFFF;
  padding: 85px 0 95px;
}

.phd-packages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  align-items: stretch;
}

.phd-packages-grid-row2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-top: 28px;
}

.phd-pkg-card {
  background: #ffffff;
  border-radius: var(--phd-radius-lg);
  border: 1.5px solid var(--phd-border);
  padding: 32px 28px;
  box-shadow: var(--phd-shadow-sm);
  position: relative;
  display: flex;
  flex-direction: column;
  transition: var(--phd-transition);
}

.phd-pkg-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--phd-shadow-lg);
  border-color: var(--phd-secondary);
}

.phd-pkg-card.featured {
  border-color: var(--phd-secondary);
  box-shadow: 0 14px 40px -6px rgba(2, 132, 199, 0.2);
  background: linear-gradient(180deg, #FFFFFF 0%, #F0F9FF 100%);
}

.phd-pkg-card.high-value {
  border-color: #0D9488;
  background: linear-gradient(180deg, #FFFFFF 0%, #F0FDFA 100%);
}

.phd-pkg-ribbon {
  position: absolute;
  top: -14px;
  right: 28px;
  background: linear-gradient(135deg, var(--phd-secondary), #0369A1);
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 4px 14px;
  border-radius: var(--phd-radius-full);
  box-shadow: 0 4px 10px rgba(2, 132, 199, 0.35);
}

.phd-pkg-header {
  margin-bottom: 20px;
}

.phd-pkg-code {
  font-size: 13px;
  font-weight: 700;
  color: var(--phd-secondary);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 4px;
}

.phd-pkg-title {
  font-size: 24px;
  font-weight: 800;
  color: var(--phd-primary);
  margin-bottom: 6px;
}

.phd-pkg-params-badge {
  display: inline-block;
  background: #E0F2FE;
  color: #0369A1;
  font-size: 12px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 4px;
}

.phd-pkg-price-box {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin: 18px 0;
  padding: 14px 0;
  border-top: 1px solid var(--phd-border);
  border-bottom: 1px solid var(--phd-border);
}

.phd-pkg-price {
  font-family: var(--phd-font-heading);
  font-size: 38px;
  font-weight: 800;
  color: var(--phd-primary);
  line-height: 1;
}

.phd-pkg-price span {
  font-size: 20px;
  font-weight: 600;
}

.phd-pkg-mrp {
  font-size: 16px;
  color: #94A3B8;
  text-decoration: line-through;
}

.phd-pkg-offer-pill {
  background: #DCFCE7;
  color: #15803D;
  font-size: 12px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
}

.phd-pkg-tests-list {
  list-style: none;
  margin: 0 0 26px;
  padding: 0;
  flex: 1;
}

.phd-pkg-tests-list li {
  font-size: 14px;
  color: #334155;
  padding: 6px 0;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.45;
}

.phd-pkg-check {
  color: var(--phd-secondary);
  font-weight: 700;
  flex-shrink: 0;
}

/* -------------------------------------------------------------
   SEARCH TEST DIRECTORY (Master Test Prices docx)
------------------------------------------------------------- */
.phd-search-hero {
  background: linear-gradient(135deg, #0A2540 0%, #163a63 100%);
  color: #ffffff;
  padding: 65px 0 55px;
  text-align: center;
}

.phd-search-hero h1 {
  color: #ffffff;
  font-size: 40px;
  margin-bottom: 14px;
}

.phd-search-hero p {
  color: #CBD5E1;
  font-size: 17px;
  max-width: 680px;
  margin: 0 auto 30px;
}

.phd-search-box-wrapper {
  max-width: 760px;
  margin: 0 auto;
  position: relative;
}

.phd-search-input {
  width: 100%;
  padding: 18px 24px 18px 56px;
  font-size: 16px;
  border-radius: var(--phd-radius-full);
  border: 2px solid transparent;
  background: #ffffff;
  color: var(--phd-text-main);
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
  outline: none;
  transition: var(--phd-transition);
}

.phd-search-input:focus {
  border-color: #38BDF8;
  box-shadow: 0 12px 35px rgba(56, 189, 248, 0.3);
}

.phd-search-icon-pos {
  position: absolute;
  left: 22px;
  top: 50%;
  transform: translateY(-50%);
  color: #94A3B8;
}

.phd-search-stats-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 32px 0 20px;
  flex-wrap: wrap;
  gap: 12px;
}

.phd-test-table-container {
  background: #ffffff;
  border-radius: var(--phd-radius-md);
  border: 1px solid var(--phd-border);
  box-shadow: var(--phd-shadow-sm);
  overflow-x: auto;
}

.phd-test-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 14.5px;
}

.phd-test-table th {
  background: #F8FAFC;
  padding: 14px 20px;
  color: var(--phd-primary);
  font-weight: 700;
  border-bottom: 2px solid var(--phd-border);
  font-family: var(--phd-font-heading);
}

.phd-test-table td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--phd-border);
  color: #334155;
  vertical-align: middle;
}

.phd-test-table tr:hover td {
  background-color: #F8FAFC;
}

.phd-table-price {
  font-family: var(--phd-font-heading);
  font-size: 18px;
  font-weight: 800;
  color: var(--phd-primary);
}

/* -------------------------------------------------------------
   GALLERY PAGE
------------------------------------------------------------- */
.phd-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.phd-gallery-card {
  border-radius: var(--phd-radius-md);
  overflow: hidden;
  box-shadow: var(--phd-shadow-sm);
  border: 1px solid var(--phd-border);
  background: #ffffff;
  transition: var(--phd-transition);
}

.phd-gallery-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--phd-shadow-lg);
}

.phd-gallery-thumb {
  height: 240px;
  overflow: hidden;
  position: relative;
}

.phd-gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.phd-gallery-card:hover .phd-gallery-thumb img {
  transform: scale(1.06);
}

.phd-gallery-info {
  padding: 16px 20px;
}

.phd-gallery-info h5 {
  font-size: 16px;
  color: var(--phd-primary);
  margin-bottom: 4px;
}

.phd-gallery-info p {
  font-size: 13px;
  color: var(--phd-text-muted);
  margin: 0;
}

/* -------------------------------------------------------------
   FOOTER (Updated with exact phone & timings)
------------------------------------------------------------- */
.phd-footer {
  background: #06182a;
  color: #CBD5E1;
  padding: 75px 0 35px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.phd-footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 55px;
}

.phd-footer-about p {
  font-size: 14.5px;
  line-height: 1.65;
  color: #94A3B8;
  margin-top: 14px;
  margin-bottom: 20px;
}

.phd-footer-col h5 {
  font-size: 17px;
  color: #ffffff;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.phd-footer-col h5::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--phd-secondary);
}

.phd-footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.phd-footer-links li {
  margin-bottom: 11px;
}

.phd-footer-links a {
  color: #94A3B8;
  font-size: 14px;
  transition: var(--phd-transition);
}

.phd-footer-links a:hover {
  color: #38BDF8;
  transform: translateX(4px);
  display: inline-block;
}

.phd-footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 13.5px;
  color: #94A3B8;
  line-height: 1.5;
}

.phd-footer-contact-item svg {
  color: #38BDF8;
  flex-shrink: 0;
  margin-top: 3px;
}

.phd-footer-bottom {
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13.5px;
  color: #64748B;
}

.phd-footer-bottom strong {
  color: #CBD5E1;
}

/* Floating WhatsApp Action */
.phd-float-wa {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25D366;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  z-index: 999;
  transition: var(--phd-transition);
}

.phd-float-wa:hover {
  transform: scale(1.1) rotate(6deg);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.5);
  color: #ffffff;
}

/* Keyframe Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulseBadge {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.04);
  }
}

/* -------------------------------------------------------------
   RESPONSIVE LAYOUT HELPERS (About / Contact / General Grids)
------------------------------------------------------------- */
.phd-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.phd-highlights-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px 18px;
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  font-size: 14.5px;
  color: #CBD5E1;
}

.phd-highlights-span-2 {
  grid-column: span 2;
}

.phd-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 44px;
  align-items: start;
}

/* -------------------------------------------------------------
   DEDICATED CLINICAL SERVICE DETAIL PAGES (11 Specialties)
------------------------------------------------------------- */
.phd-service-hero {
  background: linear-gradient(135deg, #06182a 0%, #0A2540 55%, #163a63 100%);
  color: #ffffff;
  padding: 48px 0 64px;
  position: relative;
  overflow: hidden;
}

.phd-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13px;
  color: #94A3B8;
  margin-bottom: 24px;
}

.phd-breadcrumb a {
  color: #CBD5E1;
  font-weight: 500;
}

.phd-breadcrumb a:hover {
  color: #38BDF8;
}

.phd-breadcrumb span[aria-current="page"] {
  color: #38BDF8;
  font-weight: 600;
}

.phd-service-hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 44px;
  align-items: center;
}

.phd-service-hero h1 {
  color: #ffffff;
  font-size: 42px;
  line-height: 1.18;
  margin-bottom: 16px;
}

.phd-service-hero-lead {
  color: #CBD5E1;
  font-size: 17px;
  line-height: 1.65;
  margin-bottom: 28px;
}

.phd-service-hero-media {
  position: relative;
  border-radius: var(--phd-radius-lg);
  overflow: hidden;
  border: 2px solid rgba(56, 189, 248, 0.3);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.35);
  background: #0A2540;
  aspect-ratio: 16 / 10;
}

.phd-service-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.phd-service-hero-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 16px 20px;
  background: linear-gradient(180deg, transparent 0%, rgba(6, 24, 42, 0.92) 100%);
  color: #E2E8F0;
  font-size: 13px;
  font-weight: 600;
}

.phd-service-detail-grid {
  display: grid;
  grid-template-columns: 1fr 330px;
  gap: 36px;
  align-items: start;
}

.phd-service-card-panel {
  background: #ffffff;
  border: 1px solid var(--phd-border);
  border-radius: var(--phd-radius-lg);
  padding: 32px;
  box-shadow: var(--phd-shadow-sm);
  margin-bottom: 28px;
}

.phd-service-card-panel h2 {
  font-size: 26px;
  margin-bottom: 14px;
  color: var(--phd-primary);
}

.phd-service-card-panel p {
  font-size: 15.5px;
  line-height: 1.75;
  color: #334155;
}

.phd-equip-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 18px;
}

.phd-equip-card {
  background: #F8FAFC;
  border: 1px solid var(--phd-border);
  border-radius: var(--phd-radius-sm);
  padding: 18px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.phd-equip-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: #E0F2FE;
  color: var(--phd-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.phd-service-tests-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 18px;
}

.phd-service-test-item {
  border: 1px solid var(--phd-border);
  border-radius: var(--phd-radius-sm);
  padding: 14px 16px;
  background: #F8FAFC;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  transition: var(--phd-transition);
}

.phd-service-test-item:hover {
  border-color: var(--phd-secondary);
  background: #F0F9FF;
}

.phd-service-sidebar {
  position: sticky;
  top: 112px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.phd-service-sidebar-card {
  background: #ffffff;
  border: 1px solid var(--phd-border);
  border-radius: var(--phd-radius-md);
  padding: 22px;
  box-shadow: var(--phd-shadow-sm);
}

.phd-service-sidebar-card h4 {
  font-size: 16px;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--phd-border);
  color: var(--phd-primary);
}

.phd-service-nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.phd-service-nav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 12px;
  border-radius: var(--phd-radius-sm);
  font-size: 13.5px;
  font-weight: 600;
  color: #334155;
  transition: var(--phd-transition);
}

.phd-service-nav-link:hover {
  background: #F0F9FF;
  color: var(--phd-secondary);
  transform: translateX(3px);
}

.phd-service-nav-link.active {
  background: linear-gradient(135deg, var(--phd-primary) 0%, var(--phd-primary-light) 100%);
  color: #ffffff;
}

.phd-service-pager {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 12px;
}

/* -------------------------------------------------------------
   APPOINTMENT WIZARD (5-Step Multi-Step Intake Form)
------------------------------------------------------------- */
.phd-steps-indicator {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 36px;
  gap: 6px;
}

.phd-step {
  text-align: center;
  opacity: 0.65;
  transition: var(--phd-transition);
  flex-shrink: 0;
}

.phd-step.active,
.phd-step.completed {
  opacity: 1;
}

.phd-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #E2E8F0;
  color: #64748B;
  font-weight: 700;
  font-size: 14px;
  transition: var(--phd-transition);
}

.phd-step.active .phd-step-num {
  background: var(--phd-secondary);
  color: #ffffff;
  box-shadow: 0 0 0 4px rgba(2, 132, 199, 0.16);
}

.phd-step.completed .phd-step-num {
  background: #10B981;
  color: #ffffff;
}

.phd-step-title {
  font-size: 12.5px;
  font-weight: 600;
  margin-top: 6px;
  color: var(--phd-primary);
}

.phd-step-line {
  flex: 1;
  height: 2px;
  background: #E2E8F0;
  min-width: 14px;
  margin-bottom: 18px;
}

.phd-wizard-step {
  display: none;
  animation: fadeInUp 0.32s ease both;
}

.phd-wizard-step.active {
  display: block;
}

.phd-form-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 18px;
}

.phd-radio-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.phd-radio-card {
  display: block;
  border: 1.5px solid var(--phd-border);
  border-radius: 12px;
  padding: 16px;
  cursor: pointer;
  background: #ffffff;
  transition: var(--phd-transition);
}

.phd-radio-card:hover {
  border-color: #93C5FD;
  background: #F8FAFC;
}

.phd-radio-card.active {
  border-color: var(--phd-secondary);
  background: #F0F9FF;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.12);
}

.phd-summary-box {
  background: #F8FAFC;
  border: 1.5px solid var(--phd-border);
  border-radius: 12px;
  padding: 20px 24px;
  margin-bottom: 20px;
}

.phd-summary-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid var(--phd-border);
  font-size: 14px;
}

.phd-summary-row:last-child {
  border-bottom: none;
}

.phd-summary-label {
  color: var(--phd-text-muted);
  font-weight: 500;
}

.phd-summary-val {
  font-weight: 700;
  color: var(--phd-primary);
  text-align: right;
}

.phd-form-nav-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* -------------------------------------------------------------
   GALLERY NATIVE LIGHTBOX DIALOG
------------------------------------------------------------- */
.phd-gallery-card {
  cursor: pointer;
}

.phd-gallery-zoom {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(6, 24, 42, 0.78);
  color: #ffffff;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--phd-radius-full);
  opacity: 0;
  transition: var(--phd-transition);
}

.phd-gallery-card:hover .phd-gallery-zoom {
  opacity: 1;
}

dialog:modal {
  overscroll-behavior: contain;
}

dialog::backdrop {
  overflow: hidden;
  overscroll-behavior: contain;
  background: rgba(6, 24, 42, 0.85);
  backdrop-filter: blur(6px);
}

.phd-lightbox-dialog {
  margin: auto;
  border: none;
  background: transparent;
  max-width: min(92vw, 900px);
  width: 100%;
  padding: 0;
  overflow: visible;
}

.phd-lightbox-box {
  background: #ffffff;
  border-radius: var(--phd-radius-md);
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.45);
  position: relative;
}

.phd-lightbox-img {
  width: 100%;
  max-height: 70vh;
  object-fit: contain;
  background: #06182a;
}

.phd-lightbox-caption {
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.phd-lightbox-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: none;
  background: rgba(6, 24, 42, 0.82);
  color: #ffffff;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
}

.phd-lightbox-close:hover {
  background: var(--phd-secondary);
}

/* Mobile Nav Drawer & Services Accordion */
.phd-mobile-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 310px;
  max-width: 88vw;
  height: 100%;
  background: #ffffff;
  box-shadow: -10px 0 30px rgba(0,0,0,0.15);
  z-index: 2000;
  padding: 30px 24px;
  transition: right 0.35s ease;
  overflow-y: auto;
}

.phd-mobile-drawer.open {
  right: 0;
}

.phd-drawer-close {
  background: none;
  border: none;
  font-size: 26px;
  cursor: pointer;
  float: right;
  color: var(--phd-primary);
}

.phd-mobile-nav {
  list-style: none;
  margin: 34px 0 0;
  padding: 0;
}

.phd-mobile-nav > li {
  margin-bottom: 14px;
  border-bottom: 1px solid var(--phd-border-light);
  padding-bottom: 12px;
}

.phd-mobile-nav a {
  font-size: 16.5px;
  font-weight: 700;
  color: var(--phd-primary);
  display: block;
}

.phd-mobile-services-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.phd-mobile-accordion-btn {
  background: #F0F9FF;
  border: 1px solid #BAE6FD;
  color: var(--phd-secondary);
  width: 30px;
  height: 30px;
  border-radius: 8px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.phd-mobile-subnav {
  list-style: none;
  margin: 10px 0 0 8px;
  padding: 0 0 0 12px;
  border-left: 2px solid #BAE6FD;
  display: none;
}

.phd-mobile-subnav.open {
  display: block;
}

.phd-mobile-subnav li {
  margin-bottom: 8px;
}

.phd-mobile-subnav a {
  font-size: 14px;
  font-weight: 600;
  color: #334155;
}

.phd-mobile-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.4);
  z-index: 1999;
  display: none;
}

.phd-mobile-backdrop.open {
  display: block;
}

/* Responsive Media Queries */
@media (max-width: 1480px) and (min-width: 769px) {
  .phd-hero-slider .phd-slide .container {
    padding-inline: 82px;
  }
}

@media (max-width: 1080px) {
  .phd-logo {
    flex: 1;
    flex-shrink: 1;
  }
  .phd-nav {
    display: none;
  }
  .phd-mobile-toggle {
    display: block;
  }
  .phd-slide-grid {
    gap: 28px;
  }
  .phd-specialties-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .phd-packages-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .phd-packages-grid-row2 {
    grid-template-columns: 1fr;
  }
  .phd-quick-strip .container {
    grid-template-columns: repeat(2, 1fr);
  }
  .phd-about-home-grid {
    grid-template-columns: 1fr;
  }
  .phd-service-hero-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .phd-service-detail-grid {
    grid-template-columns: 1fr;
  }
  .phd-service-sidebar {
    position: static;
  }
  .phd-contact-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .phd-footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 960px) {
  .phd-slide {
    min-height: 0;
    padding: 36px 0 64px;
    align-items: flex-start;
  }
  .phd-slide-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .phd-slide-media {
    order: -1;
    aspect-ratio: 16 / 9;
    max-height: 320px;
    border-radius: 16px;
  }
  .phd-slide-content {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 18px;
  }
  .phd-header .container {
    height: 76px;
  }
  .phd-logo-img {
    height: 46px;
  }
  .phd-logo-title {
    font-size: 17px;
  }
  .phd-header-actions .btn {
    padding: 9px 14px;
    font-size: 13px;
  }
  .phd-hero-slider .phd-slide .container {
    padding-inline: 18px;
  }
  .phd-slide {
    padding: 26px 0 60px;
  }
  .phd-slide-media {
    max-height: 230px;
  }
  .phd-slide-badge {
    font-size: 11px;
    letter-spacing: 0.7px;
    padding: 5px 12px;
    margin-bottom: 12px;
  }
  .phd-slide h1 {
    font-size: 27px;
    margin-bottom: 12px;
  }
  .phd-slide-lead {
    font-size: 14.5px;
    line-height: 1.55;
    margin-bottom: 20px;
  }
  .phd-service-hero h1 {
    font-size: 30px;
  }
  .phd-section-title {
    font-size: 28px;
  }
  .phd-specialties-grid,
  .phd-packages-grid,
  .phd-gallery-grid,
  .phd-grid-2,
  .phd-highlights-grid,
  .phd-form-grid-2,
  .phd-radio-cards,
  .phd-equip-grid,
  .phd-service-tests-grid {
    grid-template-columns: 1fr;
  }
  .phd-highlights-span-2 {
    grid-column: span 1;
  }
  .phd-quick-strip .container {
    grid-template-columns: 1fr;
  }
  .phd-footer-grid {
    grid-template-columns: 1fr;
  }
  .phd-slider-btn {
    display: none;
  }
  .phd-topbar-actions {
    display: none;
  }
  .phd-form-container {
    padding: 24px 18px !important;
  }
  .phd-service-card-panel {
    padding: 22px 18px;
  }
  .phd-step-title {
    display: none;
  }
  .phd-step-line {
    margin-bottom: 0;
  }
  .phd-summary-row {
    flex-direction: column;
    gap: 4px;
  }
  .phd-summary-val {
    text-align: left;
  }
}

@media (max-width: 640px) {
  .phd-topbar {
    padding: 7px 0;
    font-size: 12.5px;
  }
  .phd-topbar-info {
    gap: 6px 16px;
  }
  .phd-header .container {
    height: 70px;
  }
  .phd-header-actions .btn {
    display: none;
  }
  .phd-logo-title {
    font-size: 16px;
  }
  .phd-logo-subtitle {
    font-size: 10px;
    letter-spacing: 1px;
  }
  .btn {
    white-space: normal;
    max-width: 100%;
    line-height: 1.35;
    padding: 11px 20px;
  }
  .btn-lg {
    padding: 13px 22px;
    font-size: 15px;
  }
  .phd-slide-media {
    max-height: 230px;
  }
  .phd-slide-caption {
    display: block;
    padding: 20px 12px 9px;
    font-size: 11px;
    line-height: 1.25;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    background: linear-gradient(180deg, transparent 0%, rgba(6, 24, 42, 0.94) 100%);
  }
  .phd-slide-caption::before {
    display: inline-block;
    width: 7px;
    height: 7px;
    vertical-align: middle;
    margin-right: 7px;
    margin-top: -2px;
  }
  .phd-slide-actions .btn {
    width: 100%;
  }
}
