/* ==========================================================================
   REVNEXA HEALTHCARE SOLUTIONS PVT. LTD.
   Clean, Pure Modern Enterprise CSS
   Derived strictly from the Official Company Logo:
   - Deep Corporate Sapphire Navy: #0A2E50
   - Primary Corporate Medical Blue: #005A9C
   - Vitality & Growth Leaf Green: #3EA824
   - Vibrant Apple Green: #56B928
   - Clean Crisp Medical Porcelain: #F8FAF8
   - Pure Cloud Surface: #FFFFFF
   ========================================================================== */

:root {
  --brand-navy:        #0A2E50;
  --brand-navy-dark:   #061B30;
  --brand-blue:        #005A9C;
  --brand-blue-hover:  #00457A;
  --brand-blue-light:  #EBF4FB;
  --brand-blue-border: #B8D6ED;

  --brand-green:       #3EA824;
  --brand-green-glow:  #56B928;
  --brand-green-dark:  #237613;
  --brand-green-light: #EEF9EB;
  --brand-green-border:#BCE4B0;

  --ink-primary:       #0A1E30;
  --ink-secondary:     #2D465C;
  --ink-muted:         #5F788D;
  --canvas:            #F8FAF8;
  --surface:           #FFFFFF;
  --surface-alt:       #F1F6F3;
  --border-subtle:     #E2ECE5;
  --border-medium:     #D0DFD4;

  --shadow-sm:         0 1px 3px rgba(10, 46, 80, 0.05);
  --shadow-md:         0 4px 14px -2px rgba(10, 46, 80, 0.08);
  --shadow-lg:         0 12px 28px -6px rgba(10, 46, 80, 0.12);
  --shadow-xl:         0 20px 40px -8px rgba(0, 90, 156, 0.16);

  --radius-sm:         6px;
  --radius-md:         10px;
  --radius-lg:         16px;
  --radius-full:       9999px;
  
  --transition-fast:   0.18s ease;
  --transition-normal: 0.25s ease;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: var(--canvas);
  color: var(--ink-primary);
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.6;
  overflow-x: hidden;
}

img, svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

button, input, select, textarea {
  font: inherit;
  border: none;
  outline: none;
}

/* Master Centered Container */
.site-container {
  width: 100%;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

@media (min-width: 640px) {
  .site-container {
    padding-left: 1.75rem;
    padding-right: 1.75rem;
  }
}

@media (min-width: 1024px) {
  .site-container {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

/* Section Padding */
.section-pad {
  padding-top: 4.5rem;
  padding-bottom: 4.5rem;
}

@media (min-width: 1024px) {
  .section-pad {
    padding-top: 5.5rem;
    padding-bottom: 5.5rem;
  }
}

/* Background Patterns */
.bg-grid-tech {
  background-image: 
    linear-gradient(to right, rgba(0, 90, 156, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0, 90, 156, 0.04) 1px, transparent 1px);
  background-size: 32px 32px;
}

/* Typography Hierarchy */
.t-display {
  font-size: clamp(2.3rem, 4.8vw, 4.2rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.1;
  color: var(--brand-navy);
}

.t-headline {
  font-size: clamp(1.75rem, 3.2vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.2;
  color: var(--brand-navy);
}

.t-subheadline {
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.35;
  color: var(--brand-navy);
}

.t-label {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-green-dark);
}

.t-body {
  font-size: 0.985rem;
  font-weight: 400;
  line-height: 1.75;
  color: var(--ink-secondary);
}

.text-gradient-brand {
  background: linear-gradient(135deg, #0A2E50 0%, #005A9C 50%, #3EA824 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Eyebrow Badge */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.85rem;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--brand-green-border);
  border-radius: var(--radius-full);
  box-shadow: 0 1px 3px rgba(62, 168, 36, 0.08);
  margin-bottom: 0.85rem;
}

.eyebrow-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background-color: var(--brand-green);
  flex-shrink: 0;
}

.eyebrow-blue {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.85rem;
  background: rgba(235, 244, 251, 0.9);
  border: 1px solid var(--brand-blue-border);
  border-radius: var(--radius-full);
  box-shadow: 0 1px 3px rgba(0, 90, 156, 0.08);
  margin-bottom: 0.85rem;
}

.eyebrow-blue .eyebrow-dot {
  background-color: var(--brand-blue);
}

/* High-End Enterprise Button Styles */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.82rem 1.85rem;
  background: linear-gradient(135deg, #005A9C 0%, #004B82 100%);
  color: #ffffff;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.015em;
  border-radius: var(--radius-md);
  border: 1px solid #005A9C;
  cursor: pointer;
  transition: all var(--transition-normal);
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(0, 90, 156, 0.28), inset 0 1px 1px rgba(255, 255, 255, 0.25);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #004B82 0%, #003B66 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(0, 90, 156, 0.38);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-growth {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.82rem 1.85rem;
  background: linear-gradient(135deg, #3EA824 0%, #2F881A 100%);
  color: #ffffff;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.015em;
  border-radius: var(--radius-md);
  border: 1px solid #3EA824;
  cursor: pointer;
  transition: all var(--transition-normal);
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(62, 168, 36, 0.28), inset 0 1px 1px rgba(255, 255, 255, 0.3);
}

.btn-growth:hover {
  background: linear-gradient(135deg, #2F881A 0%, #236C12 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(62, 168, 36, 0.4);
}

.btn-growth:active {
  transform: translateY(0);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.82rem 1.85rem;
  background: #ffffff;
  color: var(--brand-navy);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.015em;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--brand-blue-border);
  cursor: pointer;
  transition: all var(--transition-normal);
  text-decoration: none;
  box-shadow: 0 2px 6px rgba(10, 46, 80, 0.04);
}

.btn-outline:hover {
  background: var(--brand-blue-light);
  border-color: var(--brand-blue);
  color: var(--brand-blue);
  transform: translateY(-1px);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.72rem 1.35rem;
  background: rgba(255, 255, 255, 0.8);
  color: var(--brand-navy);
  font-size: 0.84rem;
  font-weight: 700;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-medium);
  cursor: pointer;
  transition: all var(--transition-fast);
  text-decoration: none;
}

.btn-ghost:hover {
  border-color: var(--brand-blue);
  color: var(--brand-blue);
  background: #ffffff;
}

.btn-sm {
  padding: 0.5rem 1.1rem;
  font-size: 0.78rem;
}

/* Bento Card Style */
.bento-card {
  position: relative;
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-medium);
  box-shadow: 0 4px 18px -4px rgba(10, 46, 80, 0.04);
  transition: all var(--transition-normal);
  overflow: hidden;
}

.bento-card:hover {
  border-color: var(--brand-blue);
  box-shadow: 0 16px 36px -8px rgba(0, 90, 156, 0.14);
  transform: translateY(-2px);
}

/* Header & Navigation Bar */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  width: 100%;
  transition: all 0.3s ease;
}

.top-bar {
  background-color: var(--brand-navy);
  color: #ffffff;
  font-size: 11px;
  padding: 0.4rem 0;
  border-bottom: 1px solid rgba(6, 27, 48, 0.6);
  position: relative;
  z-index: 20;
}

.top-bar-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
}

.top-bar-left, .top-bar-right {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.live-beacon {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.15rem 0.6rem;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.1);
  color: var(--brand-green-glow);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.beacon-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--brand-green-glow);
  box-shadow: 0 0 0 3px rgba(86, 185, 40, 0.3);
  animation: pulse-beacon 2s infinite;
}

@keyframes pulse-beacon {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(86, 185, 40, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(86, 185, 40, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(86, 185, 40, 0); }
}

.nav-bar {
  background-color: #ffffff;
  border-bottom: 1px solid var(--border-subtle);
  padding: 0.85rem 0;
  transition: all 0.3s ease;
  box-shadow: 0 1px 4px rgba(10, 46, 80, 0.03);
}

.site-header.scrolled .nav-bar {
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 0.6rem 0;
  box-shadow: 0 8px 25px -6px rgba(10, 46, 80, 0.08);
  border-bottom-color: var(--border-medium);
}

.nav-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.nav-logo img {
  height: 48px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  transition: transform var(--transition-fast);
}

@media (max-width: 640px) {
  .nav-logo img {
    height: 40px;
    max-width: 150px;
  }
}

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

.nav-links {
  display: none;
  align-items: center;
  gap: 0.35rem;
}

@media (min-width: 1024px) {
  .nav-links {
    display: flex;
  }
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-secondary);
  transition: all var(--transition-fast);
}

.nav-link:hover {
  color: var(--brand-blue);
  background-color: var(--surface-alt);
}

.nav-link.active {
  color: var(--brand-blue);
  background-color: var(--brand-blue-light);
}


.nav-actions {
  display: none;
  align-items: center;
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .nav-actions {
    display: flex;
  }
}

.mobile-menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: transparent;
  color: var(--brand-navy);
  border-radius: var(--radius-sm);
  cursor: pointer;
}

@media (min-width: 1024px) {
  .mobile-menu-toggle {
    display: none;
  }
}

/* Mobile Drawer */
.mobile-drawer {
  display: none;
  background: #ffffff;
  border-top: 1px solid var(--border-medium);
  padding: 1.25rem 1rem 2rem;
}

.mobile-drawer.open {
  display: block;
  animation: slideDown 0.25s ease;
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

.mobile-nav-link {
  display: block;
  padding: 0.75rem 1rem;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink-secondary);
  border-radius: var(--radius-md);
  margin-bottom: 0.25rem;
}

.mobile-nav-link:hover, .mobile-nav-link.active {
  background: var(--brand-blue-light);
  color: var(--brand-blue);
}

/* Modern Input Controls */
.input-field {
  width: 100%;
  padding: 0.75rem 1rem;
  background: #ffffff;
  border: 1.5px solid var(--border-medium);
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  color: var(--ink-primary);
  transition: all var(--transition-fast);
}

.input-field:focus {
  border-color: var(--brand-blue);
  box-shadow: 0 0 0 4px rgba(0, 90, 156, 0.12);
}

/* Custom Sleek Slider */
input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  height: 6px;
  border-radius: 4px;
  background: #E2ECE5;
  outline: none;
  cursor: pointer;
  width: 100%;
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--brand-blue);
  border: 3px solid #ffffff;
  box-shadow: 0 2px 8px rgba(0, 90, 156, 0.35), 0 0 0 1px var(--brand-green);
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s;
}

input[type="range"]::-webkit-slider-thumb:hover {
  transform: scale(1.2);
  box-shadow: 0 4px 12px rgba(0, 90, 156, 0.45), 0 0 0 2px var(--brand-green);
}

/* Modals */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(10, 30, 48, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.modal-overlay.open {
  display: flex;
}

.modal-content {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 2px solid var(--border-medium);
  box-shadow: 0 25px 60px -15px rgba(10, 46, 80, 0.3);
  width: 100%;
  max-width: 600px;
  max-height: 92vh;
  overflow-y: auto;
  position: relative;
  animation: modalZoom 0.2s ease;
}

@keyframes modalZoom {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

.modal-header {
  background: var(--brand-navy);
  color: #ffffff;
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-body {
  padding: 1.5rem;
}

.modal-close-btn {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background var(--transition-fast);
}

.modal-close-btn:hover {
  background: rgba(255, 255, 255, 0.3);
}

/* Footer */
.site-footer {
  background: var(--brand-navy);
  color: #cbd5e1;
  border-top: 1px solid var(--brand-navy-dark);
}

.footer-action-strip {
  background: #072440;
  border-bottom: 1px solid #0D3860;
  padding: 2.5rem 0;
}

.footer-action-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .footer-action-inner {
    flex-direction: row;
    text-align: left;
  }
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  padding: 4rem 0;
}

@media (min-width: 640px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: 4fr 2fr 3fr 3fr;
  }
}

.footer-title {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #ffffff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  padding-bottom: 0.5rem;
  margin-bottom: 1rem;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.5rem;
  font-size: 13px;
}

.footer-links a {
  color: #cbd5e1;
}

.footer-links a:hover {
  color: var(--brand-green-glow);
}

.footer-bottom-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding: 1.5rem 0;
  font-size: 12px;
  color: #94a3b8;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

@media (min-width: 640px) {
  .footer-bottom-bar {
    flex-direction: row;
  }
}

/* Custom Scrollbars */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: #F1F6F3;
}

::-webkit-scrollbar-thumb {
  background: #C2D5C7;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #005A9C;
}

/* ==========================================================================
   Responsive Hero Grid & Utility Classes
   ========================================================================== */
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: 7fr 5fr;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 700;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-fast);
  text-decoration: none;
}

/* Header & Announcement Aliases */
.top-announcement-bar {
  background: var(--brand-navy-dark);
  color: #cbd5e1;
  font-size: 11px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.announcement-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.45rem;
  padding-bottom: 0.45rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.announcement-left, .announcement-right {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 600;
}

.status-indicator {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brand-green-glow);
  box-shadow: 0 0 8px var(--brand-green-glow);
  animation: pulseBeacon 2s infinite;
}

.nav-container {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-medium);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand-logo-img {
  height: 42px;
  width: auto;
  object-fit: contain;
}

.brand-text-block {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-size: 16px;
  font-weight: 900;
  color: var(--brand-navy);
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.brand-subtitle {
  font-size: 9px;
  font-weight: 800;
  color: var(--brand-blue);
  letter-spacing: 0.08em;
}

/* Modal Backing Aliases */
.modal-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(10, 30, 48, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.modal-backdrop.open {
  display: flex;
}

.modal-box {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 2px solid var(--border-medium);
  box-shadow: 0 25px 60px -15px rgba(10, 46, 80, 0.3);
  width: 100%;
  max-width: 600px;
  max-height: 92vh;
  overflow-y: auto;
  position: relative;
  animation: modalZoom 0.2s ease;
}

/* FAQ Accordion Component */
.faq-item {
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  background: #ffffff;
  overflow: hidden;
  transition: all var(--transition-fast);
}

.faq-item:hover {
  border-color: var(--brand-blue-border);
  box-shadow: var(--shadow-sm);
}

.faq-item.open {
  border-color: var(--brand-blue);
}

.faq-trigger {
  width: 100%;
  padding: 18px 24px;
  text-align: left;
  background: transparent;
  font-size: 15px;
  font-weight: 800;
  color: var(--brand-navy);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  border: none;
  transition: color var(--transition-fast);
}

.faq-trigger:hover {
  color: var(--brand-blue);
}

.faq-icon {
  width: 18px;
  height: 18px;
  color: var(--ink-muted);
  transition: transform 0.25s ease, color 0.25s ease;
  flex-shrink: 0;
}

.faq-item.open .faq-icon {
  transform: rotate(180deg);
  color: var(--brand-blue);
}

.faq-answer {
  display: none;
  padding: 0 24px 20px;
  font-size: 13.5px;
  color: var(--ink-secondary);
  line-height: 1.7;
  border-top: 1px solid var(--border-subtle);
  background: #ffffff;
}

.faq-item.open .faq-answer {
  display: block;
}

/* =========================================================================
   Single-Page Services Showcase Styles
========================================================================= */
html {
  scroll-behavior: smooth;
}

.service-card-deep {
  background: #ffffff;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 4px 20px -2px rgba(10, 46, 80, 0.05);
  transition: all 0.3s ease;
  scroll-margin-top: 140px;
  position: relative;
}

.service-card-deep:hover {
  border-color: var(--brand-blue-border);
  box-shadow: 0 12px 32px -4px rgba(10, 46, 80, 0.1);
}

.service-card-deep.service-target-highlight {
  animation: pulseTargetHighlight 2.5s ease;
  border-color: var(--brand-blue);
}

@keyframes pulseTargetHighlight {
  0% { box-shadow: 0 0 0 0 rgba(0, 90, 156, 0.5); }
  25% { box-shadow: 0 0 0 10px rgba(0, 90, 156, 0.25); }
  60% { box-shadow: 0 0 0 16px rgba(0, 90, 156, 0.08); }
  100% { box-shadow: 0 4px 20px -2px rgba(10, 46, 80, 0.05); }
}

.service-nav-bar {
  position: sticky;
  top: 52px;
  z-index: 40;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-medium);
  box-shadow: 0 4px 20px rgba(10, 46, 80, 0.05);
  padding: 14px 0 12px;
  transition: all 0.25s ease;
}

.service-nav-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.service-search-wrap {
  position: relative;
  flex: 1 1 380px;
  min-width: 260px;
}

.service-search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  color: #94a3b8;
  pointer-events: none;
}

.service-search-input {
  width: 100%;
  padding: 10px 38px 10px 40px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink-primary);
  background: #F8FAF8;
  border: 1.5px solid var(--border-medium);
  border-radius: var(--radius-full);
  outline: none;
  transition: all var(--transition-fast);
}

.service-search-input:focus {
  background: #ffffff;
  border-color: var(--brand-blue);
  box-shadow: 0 0 0 3.5px rgba(0, 90, 156, 0.12);
}

.service-search-clear {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: #E2ECE5;
  color: #5F788D;
  border: none;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.service-search-clear:hover {
  background: #005A9C;
  color: #ffffff;
}

.service-jump-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
  background: #F8FAF8;
  border: 1.5px solid var(--border-medium);
  padding: 4px 12px 4px 10px;
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
}

.service-jump-wrap:focus-within {
  background: #ffffff;
  border-color: var(--brand-blue);
  box-shadow: 0 0 0 3.5px rgba(0, 90, 156, 0.12);
}

.service-jump-icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-blue);
}

.service-jump-label {
  font-size: 12px;
  font-weight: 800;
  color: var(--brand-navy);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.service-jump-select {
  padding: 6px 4px;
  font-size: 13px;
  font-weight: 700;
  color: var(--brand-navy);
  background: transparent;
  border: none;
  outline: none;
  cursor: pointer;
  max-width: 250px;
}

.service-jump-select optgroup {
  font-weight: 800;
  color: var(--brand-navy);
  background: #ffffff;
}

.service-jump-select option {
  font-weight: 500;
  color: var(--ink-secondary);
  background: #ffffff;
  padding: 4px;
}

.service-nav-bottom-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  border-top: 1px solid var(--border-subtle);
  padding-top: 10px;
}

.service-filter-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 800;
  color: var(--brand-navy);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  flex-shrink: 0;
}

.service-pills-scroll {
  display: flex;
  align-items: center;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-bottom: 2px;
  flex-wrap: wrap;
}

.service-pills-scroll::-webkit-scrollbar {
  display: none;
}

.service-pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 13px;
  font-size: 12px;
  font-weight: 700;
  border-radius: var(--radius-full);
  background: #F8FAF8;
  color: var(--ink-secondary);
  border: 1px solid var(--border-medium);
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.service-pill-btn .pill-count {
  font-size: 10.5px;
  font-weight: 800;
  background: rgba(0, 0, 0, 0.06);
  color: var(--ink-secondary);
  padding: 1px 6px;
  border-radius: 9999px;
  line-height: 1.2;
}

.service-pill-btn:hover {
  background: #EBF4FB;
  border-color: var(--brand-blue-border);
  color: var(--brand-blue);
}

.service-pill-btn.active {
  background: linear-gradient(135deg, #005A9C 0%, #00457A 100%);
  color: #ffffff;
  border-color: #005A9C;
  box-shadow: 0 2px 8px rgba(0, 90, 156, 0.25);
}

.service-pill-btn.active .pill-count {
  background: rgba(255, 255, 255, 0.22);
  color: #ffffff;
}

.service-status-count {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--ink-muted);
  white-space: nowrap;
  margin-left: auto;
}

@media (max-width: 900px) {
  .service-nav-top-row {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  .service-jump-wrap {
    justify-content: space-between;
  }
  .service-jump-select {
    max-width: 100%;
    flex: 1;
  }
  .service-pills-scroll {
    flex-wrap: nowrap;
  }
  .service-status-count {
    display: none;
  }
}

.service-meta-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  border-radius: 9999px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

/* Lifecycle Phase Section Headers & Stage Cards */
.phase-overview-card {
  background: #F8FAF8;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all var(--transition-normal);
  text-decoration: none;
}

.phase-overview-card:hover {
  background: #ffffff;
  border-color: var(--brand-blue-border);
  box-shadow: 0 8px 24px -4px rgba(0, 90, 156, 0.12);
  transform: translateY(-2px);
}

.lifecycle-phase-header {
  background: #ffffff;
  border: 1px solid var(--border-medium);
  border-left: 5px solid var(--brand-blue);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  margin-top: 16px;
  margin-bottom: 8px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  box-shadow: var(--shadow-sm);
  scroll-margin-top: 100px;
}

.lifecycle-phase-header.phase-green {
  border-left-color: var(--brand-green);
}

.lifecycle-phase-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand-blue);
}

.lifecycle-phase-badge.badge-green {
  color: var(--brand-green-dark);
}

.lifecycle-phase-title {
  font-size: 22px;
  font-weight: 900;
  color: var(--brand-navy);
  line-height: 1.25;
}

.lifecycle-phase-desc {
  font-size: 13.5px;
  color: var(--ink-secondary);
  line-height: 1.6;
}


.service-card-grid {
  display: grid;
  grid-template-columns: 1.18fr 0.82fr;
  gap: 0;
  align-items: stretch;
}

@media (max-width: 1024px) {
  .service-card-grid {
    grid-template-columns: 1.1fr 0.9fr;
  }
}

@media (max-width: 860px) {
  .service-card-grid {
    grid-template-columns: 1fr;
  }
}

.service-card-content {
  padding: 30px 34px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
}

@media (max-width: 640px) {
  .service-card-content {
    padding: 22px 20px;
  }
}

/* Service Card Header Cluster */
.service-header-cluster {
  margin-bottom: 14px;
}

.service-meta-badges {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.service-number-badge {
  font-size: 11px;
  font-weight: 900;
  background: var(--brand-blue);
  color: #ffffff;
  padding: 4px 9px;
  border-radius: 5px;
  letter-spacing: 0.04em;
  display: inline-flex;
  align-items: center;
  box-shadow: 0 1px 3px rgba(0, 90, 156, 0.2);
}

.service-category-badge {
  font-size: 11px;
  font-weight: 800;
  background: #EBF4FB;
  color: #005A9C;
  padding: 4px 10px;
  border-radius: 5px;
  border: 1px solid #CFE2F2;
  display: inline-flex;
  align-items: center;
}

.service-tagline-badge {
  font-size: 11px;
  font-weight: 800;
  background: #EEF9EB;
  color: #237613;
  padding: 4px 10px;
  border-radius: 5px;
  border: 1px solid #BCE4B0;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.service-title-text {
  font-size: 24px;
  font-weight: 900;
  color: var(--brand-navy);
  margin: 0;
  line-height: 1.25;
}

@media (max-width: 640px) {
  .service-title-text {
    font-size: 20px;
  }
}


.service-features-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 10px 16px;
  margin: 0;
}

.service-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13px;
  color: var(--ink-secondary);
  line-height: 1.5;
}

.service-feature-item i {
  color: var(--brand-green);
  flex-shrink: 0;
  margin-top: 2px;
}

/* Service Deep-Card Visual Image & Metrics Panel - ZERO BLANK SPACE */
.service-visual-panel {
  display: flex;
  flex-direction: column;
  background: #0A2E50;
  color: #ffffff;
  position: relative;
  overflow: hidden;
  border-left: 1px solid var(--border-subtle);
  height: 100%;
}

@media (max-width: 860px) {
  .service-visual-panel {
    border-left: none;
    border-top: 1px solid var(--border-subtle);
  }
}

.service-img-wrapper {
  position: relative;
  width: 100%;
  flex: 1 1 0px;
  min-height: 200px;
  overflow: hidden;
}

.service-img-wrapper img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

@media (max-width: 860px) {
  .service-img-wrapper {
    height: 240px;
    flex: none;
  }
}

.service-card-deep:hover .service-img-wrapper img {
  transform: scale(1.04);
}

.service-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 46, 80, 0.05) 0%, rgba(10, 46, 80, 0.25) 50%, rgba(10, 46, 80, 0.75) 100%);
  pointer-events: none;
}

.service-img-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(10, 46, 80, 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  z-index: 2;
}

.service-metrics-box {
  padding: 18px 22px;
  background: linear-gradient(180deg, #0A2E50 0%, #071E33 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 2;
}

.service-metric-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 6px;
  margin-bottom: 6px;
}

.service-metric-tile {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-md);
  padding: 8px 10px;
  transition: all 0.2s ease;
  text-align: center;
}

.service-metric-tile:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(86, 185, 40, 0.5);
}

.service-metric-val {
  font-size: 16px;
  font-weight: 900;
  color: #56B928;
  line-height: 1.15;
  margin-bottom: 2px;
}

.service-metric-lbl {
  font-size: 9.5px;
  color: #D8E5F0;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  line-height: 1.25;
}


