/* ============================================================
   MEDISOFTS — Healthcare IT Solutions
   Stylesheet: style.css
   Theme: Premium Dark-Light Medical-Tech with Glassmorphism
   ============================================================ */

/* ---------- Google Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Outfit:wght@400;500;600;700;800&display=swap');

/* ---------- CSS Custom Properties ---------- */
:root {
  /* ============================================================
     CENTRALIZED THEME ENGINE
     Edit these master variables to change the ENTIRE website at once!
     Especially landing page, hero mesh, service-cards, buttons, etc.
     ============================================================ */
  --primary-hue:             #0f766e;            /* Core Brand Color (Nordic Medical Teal) */
  --primary-rgb:             15, 118, 110;       /* Core Brand Color (RGB Channels) */
  --primary-dark:            #115e59;            /* Dark shade for gradients/depth */
  --primary-dark-rgb:        17, 94, 89;

  --accent-hue:              #06b6d4;            /* Secondary Clinical Aqua Accent */
  --accent-rgb:              6, 182, 212;        /* Secondary Accent (RGB Channels) */
  --accent-dark:             #0891b2;
  --accent-dark-rgb:         8, 145, 178;

  --highlight-hue:           #10b981;            /* Vitality / Clinical Mint */
  --highlight-rgb:           16, 185, 129;       /* Vitality Mint (RGB Channels) */

  --dark-surface:            #0b1528;            /* Midnight Navy */
  --dark-surface-rgb:        11, 21, 40;

  /* Dynamically Derived Color Series (Auto-calculated from master RGBs) */
  --primary-50:              rgba(var(--primary-rgb), 0.04);
  --primary-100:             rgba(var(--primary-rgb), 0.08);
  --primary-200:             rgba(var(--primary-rgb), 0.16);
  --primary-300:             rgba(var(--primary-rgb), 0.32);
  --primary-400:             rgba(var(--primary-rgb), 0.65);
  --primary-500:             var(--primary-hue);
  --primary-600:             var(--primary-hue);
  --primary-700:             var(--primary-dark);
  --primary-800:             #073877;
  --primary-900:             #05234d;
  --primary-950:             #02122b;

  --accent-100:              rgba(var(--accent-rgb), 0.08);
  --accent-200:              rgba(var(--accent-rgb), 0.16);
  --accent-300:              rgba(var(--accent-rgb), 0.45);
  --accent-400:              rgba(var(--accent-rgb), 0.75);
  --accent-500:              var(--accent-hue);
  --accent-600:              var(--accent-dark);
  --accent-700:              #115e59;

  --emerald-400:             #34d399;
  --emerald-500:             var(--highlight-hue);
  --emerald-600:             #059669;

  /* Neutrals — Midnight Slate & Crisp Medical Whites */
  --gray-50:                 #f8fafd;
  --gray-100:                #f0f4f8;
  --gray-200:                #e1e8f0;
  --gray-300:                #cbd5e1;
  --gray-400:                #94a3b8;
  --gray-500:                #64748b;
  --gray-600:                #475569;
  --gray-700:                #334155;
  --gray-800:                #1e293b;
  --gray-900:                var(--dark-surface);
  --gray-950:                #050b16;

  --white:                   #ffffff;
  --surface:                 #f8fafd;
  --body-bg:                 #ffffff;

  /* Semantic */
  --success:                 var(--highlight-hue);
  --warning:                 #f59e0b;
  --danger:                  #ef4444;

  /* Typography */
  --font-heading:            'Outfit', sans-serif;
  --font-body:               'Inter', sans-serif;

  /* Sizing */
  --container-max:           1200px;
  --nav-height:              72px;
  --radius-sm:               10px;
  --radius-md:               14px;
  --radius-lg:               22px;
  --radius-xl:               30px;

  /* Centralized Shadows & Dynamic Ambient Glows */
  --shadow-sm:               0 1px 3px rgba(var(--dark-surface-rgb),.04), 0 1px 2px rgba(var(--dark-surface-rgb),.03);
  --shadow-md:               0 4px 14px -1px rgba(var(--dark-surface-rgb),.06), 0 2px 6px -2px rgba(var(--dark-surface-rgb),.04);
  --shadow-lg:               0 14px 32px -4px rgba(var(--dark-surface-rgb),.08), 0 4px 10px -4px rgba(var(--dark-surface-rgb),.03);
  --shadow-xl:               0 25px 65px -10px rgba(var(--dark-surface-rgb),.11), 0 10px 20px -6px rgba(var(--dark-surface-rgb),.04);
  --shadow-2xl:              0 35px 85px -15px rgba(5,11,22,.18);
  --shadow-card:             0 4px 24px rgba(var(--primary-rgb),.05);
  --shadow-card-hover:       0 20px 50px -10px rgba(var(--primary-rgb),.16), 0 0 0 1px rgba(var(--primary-rgb),.12);
  --shadow-glow-blue:        0 0 30px rgba(var(--primary-rgb),.18), 0 0 60px rgba(var(--primary-rgb),.06);
  --shadow-glow-teal:        0 0 30px rgba(var(--accent-rgb),.2), 0 0 60px rgba(var(--accent-rgb),.06);
  --shadow-glow-sapphire:    0 0 35px rgba(var(--primary-rgb),.2), 0 0 70px rgba(var(--primary-rgb),.06);
  --shadow-glow-cyan:        0 0 35px rgba(var(--accent-rgb),.22), 0 0 70px rgba(var(--accent-rgb),.08);
  --shadow-glow-mint:        0 0 30px rgba(var(--highlight-rgb),.2), 0 0 60px rgba(var(--highlight-rgb),.06);

  /* Glass */
  --glass-bg:                rgba(255,255,255,.78);
  --glass-border:            rgba(255,255,255,.45);
  --glass-blur:              20px;

  /* Transitions */
  --ease-out:                cubic-bezier(.22,1,.36,1);
  --ease-spring:             cubic-bezier(.34,1.56,.64,1);
  --transition-fast:         .2s var(--ease-out);
  --transition-base:         .35s var(--ease-out);
  --transition-slow:         .5s var(--ease-out);
  --transition-spring:       .5s var(--ease-spring);

  /* Centralized Gradients */
  --gradient-primary:        linear-gradient(135deg, var(--primary-hue) 0%, var(--primary-dark) 100%);
  --gradient-accent:         linear-gradient(135deg, var(--primary-hue) 0%, var(--accent-hue) 100%);
  --gradient-hero:           linear-gradient(135deg, var(--primary-hue) 0%, var(--accent-hue) 55%, var(--highlight-hue) 100%);
  --gradient-mesh: 
    radial-gradient(at 15% 15%, rgba(var(--primary-rgb),.12) 0%, transparent 50%),
    radial-gradient(at 85% 18%, rgba(var(--accent-rgb),.11) 0%, transparent 50%),
    radial-gradient(at 45% 85%, rgba(var(--highlight-rgb),.07) 0%, transparent 50%),
    radial-gradient(at 90% 75%, rgba(var(--primary-rgb),.08) 0%, transparent 50%);
}

/* ============================================================
   THEME PRESETS (Easily activated via data-theme attribute)
   ============================================================ */
/* Preset: Deep Sapphire & Bio-Cyan */
[data-theme="sapphire"] {
  --primary-hue:             #0265dc;
  --primary-rgb:             2, 101, 220;
  --primary-dark:            #014eb0;
  --primary-dark-rgb:        1, 78, 176;
  --accent-hue:              #06b6d4;
  --accent-rgb:              6, 182, 212;
  --accent-dark:             #0891b2;
  --accent-dark-rgb:         8, 145, 178;
  --highlight-hue:           #10b981;
  --highlight-rgb:           16, 185, 129;
}

/* Preset: Nordic Medical Teal */
[data-theme="teal"] {
  --primary-hue:             #0f766e;
  --primary-rgb:             15, 118, 110;
  --primary-dark:            #115e59;
  --primary-dark-rgb:        17, 94, 89;
  --accent-hue:              #06b6d4;
  --accent-rgb:              6, 182, 212;
  --accent-dark:             #0891b2;
  --accent-dark-rgb:         8, 145, 178;
  --highlight-hue:           #10b981;
  --highlight-rgb:           16, 185, 129;
}

/* Preset: High-Tech Medical Indigo */
[data-theme="indigo"] {
  --primary-hue:             #4338ca;
  --primary-rgb:             67, 56, 202;
  --primary-dark:            #3730a3;
  --primary-dark-rgb:        55, 48, 163;
  --accent-hue:              #0284c7;
  --accent-rgb:              2, 132, 199;
  --accent-dark:             #0369a1;
  --accent-dark-rgb:         3, 105, 161;
  --highlight-hue:           #06b6d4;
  --highlight-rgb:           6, 182, 212;
}

/* Preset: Diagnostics Emerald */
[data-theme="emerald"] {
  --primary-hue:             #059669;
  --primary-rgb:             5, 150, 105;
  --primary-dark:            #047857;
  --primary-dark-rgb:        4, 120, 87;
  --accent-hue:              #0d9488;
  --accent-rgb:              13, 148, 136;
  --accent-dark:             #0f766e;
  --accent-dark-rgb:         15, 118, 110;
  --highlight-hue:           #10b981;
  --highlight-rgb:           16, 185, 129;
}/* ---------- Reset & Base ---------- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  color: var(--gray-700);
  background: var(--body-bg);
  line-height: 1.7;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition-fast);
}

ul { list-style: none; }

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ============================================================
   SCROLL PROGRESS BAR
   ============================================================ */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: var(--gradient-hero);
  z-index: 10000;
  transition: none;
  box-shadow: 0 0 10px rgba(var(--primary-rgb),.5), 0 0 20px rgba(var(--primary-rgb),.2);
}

/* ---------- Utility ---------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

.section-padding {
  padding: 110px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 72px;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 18px;
  background: linear-gradient(135deg, rgba(var(--primary-rgb),.08), rgba(var(--accent-rgb),.06));
  border: 1px solid rgba(var(--primary-rgb),.15);
  border-radius: 100px;
  font-size: .78rem;
  font-weight: 600;
  color: var(--primary-600);
  letter-spacing: .05em;
  text-transform: uppercase;
  margin-bottom: 18px;
  backdrop-filter: blur(8px);
}

.section-badge i {
  font-size: .7rem;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  font-weight: 800;
  color: var(--gray-900);
  line-height: 1.15;
  margin-bottom: 18px;
  letter-spacing: -0.02em;
}

.section-title span {
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-subtitle {
  font-size: 1.08rem;
  color: var(--gray-500);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.75;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 34px;
  border: none;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: .95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

/* Button shimmer effect */
.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.2), transparent);
  transition: left .6s ease;
  z-index: -1;
}

.btn:hover::before {
  left: 100%;
}

/* Button ripple container */
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--ripple-x, 50%) var(--ripple-y, 50%), rgba(255,255,255,.3) 0%, transparent 60%);
  opacity: 0;
  transition: opacity .4s ease;
  pointer-events: none;
}

.btn:active::after {
  opacity: 1;
  transition: opacity 0s;
}

.btn-primary {
  background: var(--gradient-primary);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(var(--primary-rgb),.3), 0 0 0 0 rgba(var(--primary-rgb),0);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(var(--primary-rgb),.35), 0 0 0 0 rgba(var(--primary-rgb),0);
}

.btn-primary:active {
  transform: translateY(-1px);
}

.btn-secondary {
  background: var(--white);
  color: var(--primary-700);
  border: 2px solid var(--primary-200);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  border-color: var(--primary-400);
  background: var(--primary-50);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.btn-sm {
  padding: 10px 22px;
  font-size: .875rem;
}

/* ============================================================
   NAVIGATION — Frosted Glass Premium
   ============================================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  background: rgba(255,255,255,.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid transparent;
  transition: all var(--transition-base);
}

.navbar.scrolled {
  background: rgba(255,255,255,.94);
  border-bottom: 1px solid rgba(var(--primary-rgb),.12);
  box-shadow: 0 4px 30px rgba(11,21,40,.07), 0 1px 3px rgba(11,21,40,.04);
  box-shadow: 0 4px 30px rgba(0,0,0,.06), 0 1px 3px rgba(0,0,0,.04);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Outfit', 'Inter', var(--font-heading), sans-serif;
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--gray-900);
  text-decoration: none;
  line-height: 1;
}

.nav-logo .logo-icon {
  width: 40px;
  height: 46px;
  background: transparent url('images/logo-icon-3d.png') no-repeat center / contain;
  border-radius: 0;
  display: inline-block;
  color: transparent;
  font-size: 0;
  box-shadow: none;
  filter: drop-shadow(0 3px 6px rgba(16, 75, 117, 0.28));
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.25s ease;
  flex-shrink: 0;
}

.nav-logo:hover .logo-icon {
  transform: translateY(-2px) scale(1.06);
  filter: drop-shadow(0 6px 14px rgba(16, 75, 117, 0.38));
}

.nav-logo .logo-icon i {
  display: none !important;
}

.nav-logo .logo-text {
  font-family: 'Outfit', 'Inter', var(--font-heading), sans-serif;
  font-size: 1.55rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--gray-900);
}

.nav-logo .logo-text-accent {
  font-size: 1.45rem;
  font-weight: 700;
  color: #1e73be;
  background: none;
  -webkit-text-fill-color: #1e73be;
  background-clip: initial;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-links a {
  padding: 8px 16px;
  font-size: .88rem;
  font-weight: 500;
  color: var(--gray-600);
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  position: relative;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary-600);
  background: rgba(var(--primary-rgb),.06);
}

.nav-cta {
  margin-left: 12px;
}

a.btn-header {
  background: var(--gradient-primary);
  color: #ffffff;
  border-radius: 100px;
  padding: 10px 26px;
  font-weight: 700;
  box-shadow: 0 4px 16px rgba(var(--primary-rgb),.3);
  border: none;
  letter-spacing: 0.02em;
  transition: all var(--transition-base);
}

a.btn-header:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(var(--primary-rgb),.4);
  color: #ffffff;
}

/* Nav Dropdowns */
.nav-item-dropdown {
  position: relative;
  display: inline-block;
}

.nav-dropdown-toggle {
  display: flex !important;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  padding: 8px 14px !important;
}

.nav-dropdown-toggle i.fa-chevron-down {
  font-size: 0.65rem;
  transition: transform var(--transition-fast);
  opacity: .6;
}

.nav-item-dropdown:hover .nav-dropdown-toggle i.fa-chevron-down,
.nav-item-dropdown.open .nav-dropdown-toggle i.fa-chevron-down {
  transform: rotate(180deg);
  opacity: 1;
}

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 280px;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: var(--radius-md);
  box-shadow: 0 20px 50px -5px rgba(15, 23, 42, 0.12), 0 0 0 1px rgba(15, 23, 42, 0.06);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px) scale(.98);
  transition: all .25s var(--ease-out);
  z-index: 1050;
  list-style: none;
}

.nav-item-dropdown:hover .nav-dropdown-menu,
.nav-item-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(4px) scale(1);
}

.nav-dropdown-menu li {
  margin: 0;
  padding: 0;
}

.nav-dropdown-menu a {
  display: flex !important;
  align-items: center;
  gap: 12px;
  padding: 10px 14px !important;
  color: var(--gray-700) !important;
  font-size: 0.875rem !important;
  font-weight: 500 !important;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast) !important;
  background: transparent !important;
}

.nav-dropdown-menu a:hover {
  background: rgba(var(--primary-rgb),.06) !important;
  color: var(--primary-700) !important;
  transform: translateX(4px);
}

.nav-dropdown-menu a i {
  color: var(--primary-600);
  font-size: 0.95rem;
  width: 20px;
  text-align: center;
  transition: transform var(--transition-fast);
}

.nav-dropdown-menu a:hover i {
  transform: scale(1.15);
}

/* Mobile menu toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--gray-700);
  border-radius: 4px;
  transition: all var(--transition-base);
}

.nav-toggle.active span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

/* ============================================================
   HERO SECTION — Animated Gradient Mesh + Premium Glass
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--nav-height);
  background: 
    var(--gradient-mesh),
    linear-gradient(165deg, var(--white) 0%, rgba(var(--primary-rgb),.05) 40%, rgba(var(--accent-rgb),.04) 70%, var(--gray-50) 100%);
  overflow: hidden;
}

.hero-bg-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100'%3E%3Cpath d='M50 0L93.3 25v50L50 100 6.7 75V25z' fill='none' stroke='%230265dc' stroke-opacity='0.04' stroke-width='0.5'/%3E%3C/svg%3E") repeat;
  opacity: .5;
}

/* Animated gradient mesh overlay */
.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: 
    radial-gradient(ellipse at 20% 50%, rgba(var(--primary-rgb),.08) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(var(--accent-rgb),.06) 0%, transparent 50%),
    radial-gradient(ellipse at 60% 80%, rgba(var(--highlight-rgb),.05) 0%, transparent 50%);
  animation: meshDrift 20s ease-in-out infinite alternate;
  pointer-events: none;
  z-index: 0;
}

@keyframes meshDrift {
  0%   { transform: translate(0, 0) rotate(0deg); }
  33%  { transform: translate(2%, -1%) rotate(1deg); }
  66%  { transform: translate(-1%, 2%) rotate(-1deg); }
  100% { transform: translate(1%, -2%) rotate(0.5deg); }
}

/* Animated floating orbs */
.hero-orbs {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: .35;
  animation: floatOrb 12s ease-in-out infinite;
}

.hero-orb--1 {
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(var(--primary-rgb), 0.45) 0%, rgba(var(--primary-rgb), 0.1) 70%);
  top: 5%;
  right: -8%;
  animation-delay: 0s;
  animation-duration: 14s;
}

.hero-orb--2 {
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(var(--accent-rgb), 0.45) 0%, rgba(var(--accent-rgb), 0.1) 70%);
  bottom: 8%;
  left: -5%;
  animation-delay: -4s;
  opacity: .3;
  animation-duration: 16s;
}

.hero-orb--3 {
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(var(--highlight-rgb), 0.35) 0%, rgba(var(--primary-rgb), 0.1) 70%);
  top: 45%;
  left: 35%;
  animation-delay: -7s;
  opacity: .25;
  animation-duration: 18s;
}

@keyframes floatOrb {
  0%, 100% { transform: translateY(0) translateX(0) scale(1); }
  25%      { transform: translateY(-25px) translateX(10px) scale(1.03); }
  50%      { transform: translateY(-40px) translateX(-5px) scale(1.06); }
  75%      { transform: translateY(-15px) translateX(15px) scale(1.02); }
}

/* Dot grid pattern overlay */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(var(--primary-rgb),.06) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
  z-index: 0;
}

.hero .container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-content {
  max-width: 600px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: rgba(255,255,255,.8);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(var(--primary-rgb),.12);
  border-radius: 100px;
  font-size: .8rem;
  font-weight: 600;
  color: var(--primary-600);
  margin-bottom: 24px;
  box-shadow: 0 2px 12px rgba(var(--primary-rgb),.06);
}

.hero-badge .pulse-dot {
  width: 8px;
  height: 8px;
  background: var(--success);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
  box-shadow: 0 0 8px rgba(34,197,94,.4);
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); box-shadow: 0 0 8px rgba(34,197,94,.4); }
  50%      { opacity: .5; transform: scale(1.4); box-shadow: 0 0 16px rgba(34,197,94,.6); }
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 900;
  line-height: 1.1;
  color: var(--gray-900);
  margin-bottom: 22px;
  letter-spacing: -0.03em;
}

.hero-title .gradient-text {
  background: var(--gradient-hero);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShift 6s ease infinite;
}

@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50%      { background-position: 100% 50%; }
}

/* Typed cursor */
.typed-cursor {
  display: inline-block;
  width: 3px;
  height: 1em;
  background: var(--primary-600);
  margin-left: 2px;
  animation: blink 1s step-end infinite;
  vertical-align: text-bottom;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--gray-500);
  line-height: 1.8;
  margin-bottom: 36px;
  max-width: 520px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero-stats {
  display: flex;
  gap: 40px;
}

.hero-stat {
  text-align: left;
}

.hero-stat-number {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--gray-900);
}

.hero-stat-number span {
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-stat-label {
  font-size: .82rem;
  color: var(--gray-400);
  font-weight: 500;
  margin-top: 2px;
}

/* Hero Visual / Illustration — Glassmorphism */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-card {
  position: relative;
  background: rgba(255,255,255,.6);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255,255,255,.5);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: 
    0 24px 60px -10px rgba(var(--primary-rgb),.1),
    0 12px 24px -8px rgba(0,0,0,.06),
    inset 0 1px 0 rgba(255,255,255,.6);
  width: 100%;
  max-width: 480px;
  transition: all var(--transition-base);
}

.hero-card:hover {
  transform: translateY(-4px);
  box-shadow: 
    0 32px 70px -10px rgba(var(--primary-rgb),.14),
    0 16px 32px -8px rgba(0,0,0,.08),
    inset 0 1px 0 rgba(255,255,255,.6);
}

.hero-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.hero-card-icon {
  width: 50px;
  height: 50px;
  background: var(--gradient-primary);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.3rem;
  box-shadow: 0 4px 14px rgba(var(--primary-rgb),.3);
}

.hero-card-header h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--gray-900);
  font-size: 1.1rem;
}

.hero-card-header p {
  font-size: .82rem;
  color: var(--gray-400);
}

.hero-card-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hero-card-feature {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: rgba(248,250,252,.8);
  border: 1px solid rgba(226,232,240,.5);
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

.hero-card-feature:hover {
  background: rgba(var(--primary-rgb),.04);
  border-color: rgba(var(--primary-rgb),.15);
  transform: translateX(6px);
}

.hero-card-feature i {
  color: var(--primary-500);
  font-size: .9rem;
  width: 20px;
  text-align: center;
  transition: transform var(--transition-fast);
}

.hero-card-feature:hover i {
  transform: scale(1.2);
}

.hero-card-feature span {
  font-size: .9rem;
  font-weight: 500;
  color: var(--gray-700);
}

/* Floating badges — glassmorphism */
.floating-badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: rgba(255,255,255,.85);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.5);
  border-radius: var(--radius-sm);
  box-shadow: 0 8px 24px rgba(0,0,0,.06), 0 0 0 1px rgba(255,255,255,.4);
  font-size: .82rem;
  font-weight: 600;
  color: var(--gray-700);
  animation: floatBadge 6s ease-in-out infinite;
  z-index: 3;
}

@keyframes floatBadge {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-12px); }
}

.floating-badge i {
  font-size: 1rem;
}

.floating-badge--hipaa {
  top: -12px;
  right: -24px;
  animation-delay: -1s;
}

.floating-badge--hipaa i { color: var(--success); }

.floating-badge--uptime {
  bottom: 40px;
  left: -32px;
  animation-delay: -3s;
}

.floating-badge--uptime i { color: var(--primary-500); }

.floating-badge--fhir {
  bottom: -16px;
  right: 40px;
  animation-delay: -5s;
}

.floating-badge--fhir i { color: var(--accent-500); }

.floating-badge--iso {
  top: 50px;
  left: -20px;
  animation-delay: -7s;
}

.floating-badge--iso i { color: var(--primary-600); }

/* ============================================================
   TRUSTED BY / LOGO TICKER
   ============================================================ */
.trusted-by {
  padding: 48px 0;
  background: var(--white);
  border-bottom: 1px solid var(--gray-100);
  overflow: hidden;
}

.trusted-by-label {
  text-align: center;
  font-size: .78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--gray-400);
  margin-bottom: 28px;
}

.ticker-wrap {
  position: relative;
  width: 100%;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
}

.ticker-track {
  display: flex;
  gap: 48px;
  align-items: center;
  animation: ticker 30s linear infinite;
  width: max-content;
}

.ticker-track:hover {
  animation-play-state: paused;
}

@keyframes ticker {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.ticker-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 24px;
  background: var(--gray-50);
  border: 1px solid var(--gray-100);
  border-radius: 100px;
  font-size: .82rem;
  font-weight: 600;
  color: var(--gray-500);
  white-space: nowrap;
  transition: all var(--transition-fast);
  flex-shrink: 0;
}

.ticker-item:hover {
  background: rgba(var(--primary-rgb),.05);
  border-color: rgba(var(--primary-rgb),.15);
  color: var(--primary-600);
}

.ticker-item i {
  font-size: 1.1rem;
  color: var(--primary-500);
}

/* ============================================================
   SERVICES SECTION
   ============================================================ */
.services {
  background: var(--gray-50);
  position: relative;
}

.services::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--primary-200), transparent);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  position: relative;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 36px 28px;
  border: 1px solid var(--gray-200);
  transition: all var(--transition-base);
  overflow: hidden;
}

/* Animated gradient top bar */
.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-hero);
  background-size: 200% 100%;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-base);
}

/* Ambient glow on hover */
.service-card::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at center, rgba(var(--primary-rgb),.03), transparent 60%);
  opacity: 0;
  transition: opacity var(--transition-base);
  pointer-events: none;
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: rgba(var(--primary-rgb),.15);
  box-shadow: var(--shadow-card-hover);
}

.service-card:hover::before {
  transform: scaleX(1);
  animation: gradientSlide 3s linear infinite;
}

@keyframes gradientSlide {
  0%   { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}

.service-card:hover::after {
  opacity: 1;
}

.service-icon {
  width: 58px;
  height: 58px;
  background: linear-gradient(135deg, rgba(var(--primary-rgb),.08), rgba(var(--accent-rgb),.06));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--primary-600);
  margin-bottom: 20px;
  transition: all var(--transition-spring);
}

.service-card:hover .service-icon {
  background: var(--gradient-primary);
  color: var(--white);
  transform: scale(1.08) rotate(-3deg);
  box-shadow: 0 6px 18px rgba(var(--primary-rgb),.25);
}

.service-card h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 10px;
}

.service-card p {
  font-size: .9rem;
  color: var(--gray-500);
  line-height: 1.7;
  margin-bottom: 18px;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .875rem;
  font-weight: 600;
  color: var(--primary-600);
  transition: all var(--transition-fast);
  position: relative;
}

.service-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-accent);
  transition: width var(--transition-fast);
  border-radius: 2px;
}

.service-link:hover {
  gap: 10px;
  color: var(--primary-700);
}

.service-link:hover::after {
  width: 100%;
}

/* ============================================================
   WHY CHOOSE US SECTION
   ============================================================ */
.why-us {
  background: var(--white);
}

.why-us-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.why-card {
  text-align: center;
  padding: 44px 24px;
  border-radius: var(--radius-md);
  background: var(--gray-50);
  border: 1px solid var(--gray-100);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

/* Subtle shimmer overlay */
.why-card::before {
  content: '';
  position: absolute;
  top: -100%;
  left: -100%;
  width: 300%;
  height: 300%;
  background: linear-gradient(135deg, transparent 30%, rgba(255,255,255,.4) 50%, transparent 70%);
  transition: all .8s ease;
  pointer-events: none;
}

.why-card:hover::before {
  top: -50%;
  left: -50%;
}

.why-card:hover {
  transform: translateY(-6px);
  background: var(--white);
  border-color: rgba(var(--primary-rgb),.15);
  box-shadow: var(--shadow-card-hover);
}

.why-icon {
  width: 68px;
  height: 68px;
  margin: 0 auto 22px;
  background: linear-gradient(135deg, rgba(var(--primary-rgb),.08), rgba(var(--accent-rgb),.06));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--primary-600);
  transition: all var(--transition-spring);
  position: relative;
}

/* Animated ring on hover */
.why-icon::after {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid transparent;
  transition: all var(--transition-base);
}

.why-card:hover .why-icon {
  background: var(--gradient-accent);
  color: var(--white);
  transform: scale(1.1);
  box-shadow: 0 8px 24px rgba(var(--primary-rgb),.2);
}

.why-card:hover .why-icon::after {
  border-color: rgba(var(--primary-rgb),.2);
  animation: ringPulse 1.5s ease-out infinite;
}

@keyframes ringPulse {
  0% { inset: -6px; opacity: 1; }
  100% { inset: -20px; opacity: 0; }
}

.why-card h3 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 10px;
}

.why-card p {
  font-size: .875rem;
  color: var(--gray-500);
  line-height: 1.7;
}

/* ============================================================
   INDUSTRIES SECTION
   ============================================================ */
.industries {
  background: linear-gradient(165deg, rgba(var(--primary-rgb),.03) 0%, var(--white) 100%);
}

.industries-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.industry-card {
  text-align: center;
  padding: 36px 20px;
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--gray-200);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

/* Gradient border glow on hover */
.industry-card::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: var(--radius-md);
  background: var(--gradient-accent);
  opacity: 0;
  transition: opacity var(--transition-base);
  z-index: -1;
}

.industry-card:hover {
  transform: translateY(-6px);
  border-color: transparent;
  box-shadow: var(--shadow-card-hover);
}

.industry-card:hover::before {
  opacity: 1;
}

/* Inner background to create border effect */
.industry-card > * {
  position: relative;
  z-index: 1;
}

.industry-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 16px;
  background: linear-gradient(135deg, rgba(var(--primary-rgb),.08), rgba(var(--accent-rgb),.06));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--primary-600);
  transition: all var(--transition-spring);
}

.industry-card:hover .industry-icon {
  background: var(--gradient-accent);
  color: var(--white);
  transform: scale(1.05) rotate(-3deg);
  box-shadow: 0 8px 20px rgba(var(--primary-rgb),.2);
}

.industry-card h3 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--gray-800);
  margin-bottom: 6px;
}

.industry-card p {
  font-size: .82rem;
  color: var(--gray-400);
}

/* ============================================================
   STATS COUNTER BAR — Glowing Premium
   ============================================================ */
.stats-bar {
  background: linear-gradient(135deg, var(--gray-900) 0%, rgba(var(--primary-rgb),.15) 40%, var(--primary-950) 100%);
  padding: 72px 0;
  position: relative;
  overflow: hidden;
}

.stats-bar::before {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(ellipse at 20% 50%, rgba(var(--primary-rgb),.15) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 50%, rgba(var(--accent-rgb),.1) 0%, transparent 50%);
  animation: statsGlow 8s ease-in-out infinite alternate;
}

@keyframes statsGlow {
  0%   { opacity: .6; }
  100% { opacity: 1; }
}

.stats-bar::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 24px 24px;
}

.stats-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}

.stat-item {
  color: var(--white);
  padding: 16px;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 8px;
  background: linear-gradient(135deg, #ffffff, rgba(255,255,255,.8));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-number .counter-suffix {
  font-size: 2rem;
}

.stat-label {
  font-size: .9rem;
  color: rgba(255,255,255,.6);
  font-weight: 500;
}

/* Divider lines between stats */
.stat-item + .stat-item {
  border-left: 1px solid rgba(255,255,255,.08);
}

/* ============================================================
   ABOUT SECTION
   ============================================================ */
.about {
  background: var(--white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-image-wrap {
  position: relative;
}

.about-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.about-image img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  background: linear-gradient(135deg, var(--primary-100), var(--primary-50), var(--accent-400));
}

.about-image-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 14px;
}

.about-image-badge .badge-icon {
  width: 48px;
  height: 48px;
  background: var(--gradient-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.2rem;
}

.about-image-badge .badge-text strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--gray-900);
}

.about-image-badge .badge-text span {
  font-size: .82rem;
  color: var(--gray-500);
}

.about-content h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--gray-900);
  line-height: 1.2;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.about-content h2 span {
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.about-content > p {
  color: var(--gray-500);
  margin-bottom: 32px;
  line-height: 1.8;
}

.about-features {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 36px;
}

.about-feature {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.about-feature-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  background: linear-gradient(135deg, rgba(var(--primary-rgb),.08), rgba(var(--accent-rgb),.06));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-600);
  font-size: 1rem;
  transition: all var(--transition-base);
}

.about-feature:hover .about-feature-icon {
  background: var(--gradient-primary);
  color: var(--white);
  transform: scale(1.05);
}

.about-feature h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--gray-800);
  margin-bottom: 4px;
  font-size: .95rem;
}

.about-feature p {
  font-size: .85rem;
  color: var(--gray-500);
  line-height: 1.6;
}

/* ============================================================
   TESTIMONIALS SECTION
   ============================================================ */
.testimonials {
  background: var(--gray-50);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 32px;
  border: 1px solid var(--gray-200);
  transition: all var(--transition-base);
  position: relative;
}

/* Quote mark decoration */
.testimonial-card::before {
  content: '\201C';
  position: absolute;
  top: 16px;
  right: 24px;
  font-size: 4rem;
  font-family: Georgia, serif;
  color: rgba(var(--primary-rgb),.06);
  line-height: 1;
  pointer-events: none;
}

.testimonial-card:hover {
  transform: translateY(-6px);
  border-color: rgba(var(--primary-rgb),.15);
  box-shadow: var(--shadow-card-hover);
}

.testimonial-stars {
  display: flex;
  gap: 3px;
  margin-bottom: 16px;
}

.testimonial-stars i {
  color: #fbbf24;
  font-size: .9rem;
}

.testimonial-card blockquote {
  font-size: .95rem;
  color: var(--gray-600);
  line-height: 1.8;
  margin-bottom: 24px;
  font-style: italic;
  position: relative;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--gradient-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--white);
  font-size: .95rem;
  box-shadow: 0 4px 10px rgba(var(--primary-rgb),.2);
}

.testimonial-author-info strong {
  display: block;
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--gray-800);
  font-size: .9rem;
}

.testimonial-author-info span {
  font-size: .8rem;
  color: var(--gray-400);
}

/* ============================================================
   CONTACT SECTION
   ============================================================ */
.contact {
  background: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  align-items: start;
}

.contact-info h3 {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 12px;
}

.contact-info > p {
  color: var(--gray-500);
  margin-bottom: 32px;
  line-height: 1.7;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 32px;
}

.contact-detail {
  display: flex;
  align-items: center;
  gap: 14px;
}

.contact-detail-icon {
  width: 46px;
  height: 46px;
  background: linear-gradient(135deg, rgba(var(--primary-rgb),.08), rgba(var(--accent-rgb),.06));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-600);
  font-size: 1rem;
  flex-shrink: 0;
  transition: all var(--transition-base);
}

.contact-detail:hover .contact-detail-icon {
  background: var(--gradient-primary);
  color: var(--white);
  transform: scale(1.05);
}

.contact-detail-text strong {
  display: block;
  font-size: .85rem;
  font-weight: 600;
  color: var(--gray-800);
}

.contact-detail-text span {
  font-size: .875rem;
  color: var(--gray-500);
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-link {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-500);
  font-size: 1rem;
  transition: all var(--transition-base);
}

.social-link:hover {
  background: var(--gradient-primary);
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(var(--primary-rgb),.25);
}

/* Contact Form */
.contact-form-card {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 40px;
  position: relative;
  overflow: hidden;
}

/* Subtle gradient accent on form card */
.contact-form-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-hero);
  background-size: 200% 100%;
  animation: gradientSlide 4s linear infinite;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: .85rem;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 8px;
}

.form-group label .required {
  color: var(--danger);
}

.form-control {
  width: 100%;
  padding: 13px 16px;
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: .9rem;
  color: var(--gray-800);
  transition: all var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-500);
  box-shadow: 0 0 0 4px rgba(var(--primary-rgb),.1);
}

.form-control::placeholder {
  color: var(--gray-400);
}

.form-control.error {
  border-color: var(--danger);
  box-shadow: 0 0 0 4px rgba(239,68,68,.08);
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

.error-message {
  display: none;
  font-size: .78rem;
  color: var(--danger);
  margin-top: 6px;
  font-weight: 500;
}

.form-control.error + .error-message {
  display: block;
}

.form-submit-btn {
  width: 100%;
  padding: 16px;
  font-size: 1rem;
}

.form-submit-btn .spinner {
  display: none;
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255,255,255,.3);
  border-top-color: var(--white);
  border-radius: 50%;
  animation: spin .6s linear infinite;
}

.form-submit-btn.loading .btn-text { display: none; }
.form-submit-btn.loading .spinner { display: inline-block; }

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Success message */
.form-success {
  display: none;
  text-align: center;
  padding: 40px 20px;
}

.form-success-icon {
  width: 68px;
  height: 68px;
  margin: 0 auto 16px;
  background: linear-gradient(135deg, var(--success), #16a34a);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.8rem;
  box-shadow: 0 8px 20px rgba(34,197,94,.25);
  animation: successPop .5s var(--ease-spring);
}

@keyframes successPop {
  0% { transform: scale(0); }
  100% { transform: scale(1); }
}

.form-success h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 8px;
}

.form-success p {
  color: var(--gray-500);
  font-size: .9rem;
}

/* ============================================================
   CTA SECTION — Animated Premium
   ============================================================ */
.cta-section {
  background: linear-gradient(135deg, var(--primary-700) 0%, var(--primary-900) 50%, var(--primary-950) 100%);
  padding: 90px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Animated gradient orbs */
.cta-section::before {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(var(--accent-rgb),.15) 0%, transparent 70%);
  top: -200px;
  right: -100px;
  border-radius: 50%;
  animation: ctaOrb1 10s ease-in-out infinite alternate;
}

.cta-section::after {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(var(--highlight-rgb),.12) 0%, transparent 70%);
  bottom: -150px;
  left: -50px;
  border-radius: 50%;
  animation: ctaOrb2 12s ease-in-out infinite alternate;
}

@keyframes ctaOrb1 {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(-30px, 30px) scale(1.1); }
}

@keyframes ctaOrb2 {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(20px, -20px) scale(1.15); }
}

.cta-section .container {
  position: relative;
  z-index: 2;
}

.cta-section h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 3vw, 2.5rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.cta-section p {
  color: rgba(255,255,255,.65);
  font-size: 1.08rem;
  max-width: 560px;
  margin: 0 auto 36px;
  line-height: 1.7;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.cta-buttons .btn-primary {
  background: var(--white);
  color: var(--primary-700);
  box-shadow: 0 4px 16px rgba(0,0,0,.12);
}

.cta-buttons .btn-primary:hover {
  box-shadow: 0 10px 30px rgba(0,0,0,.2);
  transform: translateY(-3px);
}

.cta-buttons .btn-secondary {
  border-color: rgba(255,255,255,.25);
  color: var(--white);
  background: rgba(255,255,255,.06);
  backdrop-filter: blur(8px);
}

.cta-buttons .btn-secondary:hover {
  background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.4);
  transform: translateY(-3px);
}

/* ============================================================
   FOOTER — Premium Dark with Gradient Border
   ============================================================ */
.footer {
  background: var(--gray-950);
  color: rgba(255,255,255,.6);
  padding: 72px 0 0;
  position: relative;
}

/* Gradient top border */
.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient-hero);
  background-size: 200% 100%;
  animation: gradientSlide 6s linear infinite;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer-brand .nav-logo {
  margin-bottom: 16px;
}

.footer-brand .nav-logo .logo-icon {
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.55));
}

.footer-brand .nav-logo .logo-text {
  color: var(--white);
}

.footer-brand .nav-logo .logo-text-accent {
  color: #38bdf8;
  -webkit-text-fill-color: #38bdf8;
}

.footer-brand p {
  font-size: .875rem;
  line-height: 1.7;
  margin-bottom: 20px;
  max-width: 280px;
}

.footer h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 20px;
  font-size: .95rem;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  font-size: .875rem;
  color: rgba(255,255,255,.45);
  transition: all var(--transition-fast);
  position: relative;
  display: inline-block;
}

.footer-links a::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--primary-400);
  transition: width var(--transition-fast);
}

.footer-links a:hover {
  color: var(--primary-400);
  padding-left: 4px;
}

.footer-links a:hover::after {
  width: 100%;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.06);
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  font-size: .82rem;
}



.footer-bottom-links {
  display: flex;
  gap: 24px;
}

.footer-bottom-links a {
  font-size: .82rem;
  color: rgba(255,255,255,.35);
  transition: color var(--transition-fast);
}

.footer-bottom-links a:hover {
  color: var(--primary-400);
}

/* ============================================================
   SCROLL ANIMATIONS — Enhanced
   ============================================================ */
.fade-in {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity .8s var(--ease-out), transform .8s var(--ease-out);
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity .8s var(--ease-out), transform .8s var(--ease-out);
}

.fade-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.fade-in-right {
  opacity: 0;
  transform: translateX(50px);
  transition: opacity .8s var(--ease-out), transform .8s var(--ease-out);
}

.fade-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Scale-in variant */
.scale-in {
  opacity: 0;
  transform: scale(.9);
  transition: opacity .7s var(--ease-out), transform .7s var(--ease-spring);
}

.scale-in.visible {
  opacity: 1;
  transform: scale(1);
}

/* Stagger delay helpers */
.delay-1 { transition-delay: .1s !important; }
.delay-2 { transition-delay: .2s !important; }
.delay-3 { transition-delay: .3s !important; }
.delay-4 { transition-delay: .4s !important; }
.delay-5 { transition-delay: .5s !important; }
.delay-6 { transition-delay: .6s !important; }
.delay-7 { transition-delay: .7s !important; }
.delay-8 { transition-delay: .8s !important; }

/* ============================================================
   BACK TO TOP — With Scroll Progress Ring
   ============================================================ */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 28px;
  width: 46px;
  height: 46px;
  background: var(--gradient-primary);
  color: var(--white);
  border: none;
  border-radius: 50%;
  font-size: 1rem;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(var(--primary-rgb),.3);
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: all var(--transition-base);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Stack safely above floating action widget so buttons never overlap */
body:has(.floating-action-widget) .back-to-top,
.floating-action-widget ~ .back-to-top {
  bottom: 96px;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(var(--primary-rgb),.4);
}

/* ============================================================
   RESPONSIVE BREAKPOINTS
   ============================================================ */

/* Tablet Landscape */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .why-us-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .industries-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }

  .stat-item + .stat-item {
    border-left: none;
  }

  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .testimonials-grid .testimonial-card:last-child {
    grid-column: span 2;
    max-width: 50%;
    justify-self: center;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Tablet Portrait */
@media (max-width: 768px) {
  .section-padding {
    padding: 80px 0;
  }

  /* Navigation */
  .nav-links {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: rgba(255,255,255,.97);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 20px 24px;
    border-bottom: 1px solid var(--gray-200);
    box-shadow: 0 16px 40px rgba(0,0,0,.08);
    transform: translateY(-110%);
    opacity: 0;
    transition: all var(--transition-base);
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
  }

  .nav-links a {
    width: 100%;
    padding: 12px 16px;
  }

  .nav-cta {
    margin-left: 0;
    width: 100%;
  }

  .nav-cta .btn {
    width: 100%;
  }

  .nav-toggle {
    display: flex;
  }

  /* Hero */
  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-stats {
    justify-content: center;
  }

  .hero-visual {
    display: none;
  }

  /* About */
  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-image-badge {
    right: 16px;
    bottom: -16px;
  }

  /* Contact */
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  /* Footer */
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  /* Trusted By */
  .trusted-by {
    padding: 36px 0;
  }
}

/* Mobile */
@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .section-padding {
    padding: 60px 0;
  }

  .hero-title {
    font-size: 1.9rem;
  }

  .hero-stats {
    flex-direction: column;
    gap: 16px;
  }

  .services-grid,
  .why-us-grid,
  .industries-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .testimonials-grid .testimonial-card:last-child {
    grid-column: span 1;
    max-width: 100%;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .contact-form-card {
    padding: 24px;
  }

  .floating-badge {
    display: none;
  }

  .stat-item + .stat-item {
    border-left: none;
    border-top: 1px solid rgba(255,255,255,.06);
    padding-top: 24px;
  }
}

/* ============================================================
   RESPONSIVE MOBILE DROPDOWNS
   ============================================================ */
@media (max-width: 991px) {
  .nav-item-dropdown {
    width: 100%;
  }
  .nav-dropdown-toggle {
    justify-content: space-between;
    width: 100%;
  }
  .nav-dropdown-menu {
    position: static;
    box-shadow: none;
    border: 1px solid var(--gray-200);
    background: var(--gray-50);
    padding: 6px 8px;
    border-radius: var(--radius-sm);
    margin: 4px 0 10px 10px;
    display: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    backdrop-filter: none;
  }
  .nav-item-dropdown.open .nav-dropdown-menu {
    display: block;
  }
}

/* ============================================================
   BREADCRUMB COMPONENT
   ============================================================ */
.breadcrumb-wrap {
  padding: 14px 0;
  background: var(--gray-50);
  border-bottom: 1px solid var(--gray-200);
  margin-top: var(--nav-height);
}

.breadcrumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--gray-500);
}

.breadcrumbs a {
  color: var(--primary-600);
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
}

.breadcrumbs a:hover {
  text-decoration: underline;
}

.breadcrumbs .sep {
  color: var(--gray-400);
  font-size: 0.75rem;
}

.breadcrumbs .current {
  color: var(--gray-800);
  font-weight: 600;
}

/* ============================================================
   PAGE HERO FOR INNER TEMPLATES
   ============================================================ */
.page-hero {
  padding: 85px 0 65px;
  background: 
    var(--gradient-mesh),
    linear-gradient(155deg, var(--white) 0%, rgba(var(--primary-rgb),.05) 45%, rgba(var(--accent-rgb),.04) 85%, var(--gray-50) 100%);
  border-bottom: 1px solid var(--gray-200);
  position: relative;
  overflow: hidden;
}

/* Ambient bio-glow on page hero */
.page-hero::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 450px;
  height: 450px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--accent-rgb),.14) 0%, rgba(var(--primary-rgb),.05) 55%, transparent 75%);
  filter: blur(50px);
  pointer-events: none;
  animation: floatOrb 14s ease-in-out infinite alternate;
}

/* Dot grid on page hero */
.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(var(--primary-rgb),.04) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}

.page-hero > * {
  position: relative;
  z-index: 1;
}

.page-hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
}

@media (max-width: 991px) {
  .page-hero-grid {
    grid-template-columns: 1fr;
  }
}

.page-hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.1rem, 4vw, 3.2rem);
  font-weight: 800;
  color: var(--gray-900);
  line-height: 1.18;
  margin-bottom: 18px;
  letter-spacing: -0.02em;
}

.page-hero p.lead {
  font-size: 1.125rem;
  color: var(--gray-600);
  line-height: 1.75;
  margin-bottom: 28px;
}

.page-hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 24px;
}

.badges-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
}

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,.8);
  backdrop-filter: blur(8px);
  border: 1px solid var(--gray-200);
  border-radius: 100px;
  padding: 6px 14px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gray-700);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
}

.badge-pill:hover {
  border-color: rgba(var(--primary-rgb),.2);
  background: rgba(var(--primary-rgb),.04);
}

.badge-pill i {
  color: var(--primary-600);
}

/* ============================================================
   10-STEP DEVELOPMENT PROCESS — Connected Timeline
   ============================================================ */
.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.process-card {
  background: #ffffff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 28px 22px;
  position: relative;
  transition: all var(--transition-base);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

/* Animated left accent bar */
.process-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 0;
  background: var(--gradient-accent);
  transition: height .6s var(--ease-out);
}

.process-card:hover::before {
  height: 100%;
}

.process-card:hover {
  transform: translateY(-6px);
  border-color: rgba(var(--primary-rgb),.15);
  box-shadow: var(--shadow-card-hover);
}

.process-num {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 800;
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 14px;
}

.process-card h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 8px;
}

.process-card p {
  font-size: 0.875rem;
  color: var(--gray-600);
  line-height: 1.6;
}

/* ============================================================
   FAQ EXPLORER — SIDEBAR LIST GROUP & KNOWLEDGE BASE
   ============================================================ */
.faq-explorer-section {
  padding: 40px 0 80px;
  background: #f8fafc;
}

.faq-layout-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 36px;
  align-items: start;
}

/* Sidebar Styling */
.faq-sidebar {
  position: sticky;
  top: 96px;
  z-index: 20;
}

.faq-sidebar-sticky {
  background: #ffffff;
  border: 1px solid var(--gray-200);
  border-radius: 14px;
  padding: 18px 14px;
  box-shadow: 0 2px 14px rgba(15, 23, 42, 0.04);
}

.faq-sidebar-header {
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--gray-100);
}

.faq-sidebar-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--primary-700);
  background: rgba(30, 115, 190, 0.08);
  padding: 3px 10px;
  border-radius: 50px;
  margin-bottom: 8px;
}

.faq-sidebar-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 3px;
}

.faq-sidebar-desc {
  font-size: 0.78rem;
  color: var(--gray-500);
  line-height: 1.4;
  margin: 0;
}

/* List Group Navigation */
.faq-list-group {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.faq-list-group-item {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 9px;
  border: 1px solid transparent;
  background: transparent;
  text-align: left;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  font-family: inherit;
  position: relative;
}

.faq-list-group-item:hover {
  background: #f1f5f9;
  border-color: #e2e8f0;
}

.faq-list-group-item.active {
  background: rgba(30, 115, 190, 0.08);
  border-color: rgba(30, 115, 190, 0.22);
  box-shadow: 0 2px 8px rgba(30, 115, 190, 0.05);
}

.faq-list-group-item.active::before {
  content: '';
  position: absolute;
  left: 0;
  top: 15%;
  height: 70%;
  width: 3.5px;
  background: var(--primary-600);
  border-radius: 0 4px 4px 0;
}

/* Icon Box */
.faq-item-icon-wrap {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.88rem;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.faq-list-group-item:hover .faq-item-icon-wrap {
  transform: scale(1.05);
}

.icon-all { background: #eff6ff; color: #2563eb; }
.icon-pricing { background: #ecfdf5; color: #059669; }
.icon-emr { background: #f0fdf4; color: #16a34a; }
.icon-lims { background: #f5f3ff; color: #7c3aed; }
.icon-interop { background: #fff7ed; color: #ea580c; }
.icon-security { background: #fef2f2; color: #dc2626; }
.icon-ai { background: #e0f2fe; color: #0284c7; }
.icon-support { background: #f8fafc; color: #475569; }

.faq-item-title {
  display: block;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--gray-700);
  line-height: 1.3;
  flex: 1;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.faq-list-group-item.active .faq-item-title {
  color: var(--primary-700);
  font-weight: 700;
}

/* Badge Count */
.faq-item-count {
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 11px;
  background: #f1f5f9;
  color: var(--gray-600);
  font-size: 0.72rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.faq-list-group-item.active .faq-item-count {
  background: var(--primary-600);
  color: #ffffff;
}

/* Sidebar Discovery CTA Card */
.faq-sidebar-cta {
  margin-top: 20px;
  padding: 16px;
  background: linear-gradient(135deg, #0b1f33 0%, #15395b 100%);
  border-radius: 12px;
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.faq-sidebar-cta::after {
  content: '';
  position: absolute;
  right: -15px;
  bottom: -15px;
  width: 70px;
  height: 70px;
  background: radial-gradient(circle, rgba(52, 142, 201, 0.25) 0%, transparent 70%);
  pointer-events: none;
}

.faq-cta-tag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #38bdf8;
  margin-bottom: 6px;
}

.faq-sidebar-cta h4 {
  font-size: 0.92rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 6px;
  line-height: 1.35;
}

.faq-sidebar-cta p {
  font-size: 0.76rem;
  color: #cbd5e1;
  line-height: 1.45;
  margin-bottom: 12px;
}

.faq-sidebar-cta .btn {
  width: 100%;
  font-size: 0.78rem;
  padding: 8px 12px;
  text-align: center;
  display: block;
}

/* Main Content Area */
.faq-main-content {
  min-width: 0;
}

/* Controls Bar */
.faq-controls-bar {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.faq-search-box {
  flex: 1;
  min-width: 260px;
  position: relative;
}

.faq-search-box .search-icon {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gray-400);
  font-size: 0.9rem;
  pointer-events: none;
}

.faq-search-input {
  width: 100%;
  padding: 12px 38px 12px 42px;
  border: 1px solid var(--gray-200);
  border-radius: 10px;
  background: #ffffff;
  font-size: 0.88rem;
  color: var(--gray-800);
  transition: all 0.2s ease;
  box-shadow: 0 1px 4px rgba(15, 23, 42, 0.03);
}

.faq-search-input:focus {
  outline: none;
  border-color: var(--primary-500);
  box-shadow: 0 0 0 3px rgba(30, 115, 190, 0.12);
}

.faq-search-clear {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--gray-400);
  font-size: 0.9rem;
  cursor: pointer;
  padding: 4px;
}

.faq-search-clear:hover {
  color: var(--gray-700);
}

.faq-action-btns {
  display: flex;
  gap: 8px;
}

.faq-btn-action {
  background: #ffffff;
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  padding: 9px 14px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gray-700);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.02);
}

.faq-btn-action:hover {
  background: #f8fafc;
  border-color: var(--primary-300);
  color: var(--primary-700);
}

/* Search Feedback Strip */
.faq-search-feedback {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: 9px;
  padding: 9px 16px;
  margin-bottom: 20px;
  font-size: 0.85rem;
  color: var(--primary-900);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Category Sections */
.faq-group-section {
  margin-bottom: 36px;
}

.faq-category-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 12px;
  margin-bottom: 14px;
  border-bottom: 2px solid var(--gray-200);
  gap: 12px;
}

.faq-category-title {
  font-family: var(--font-heading);
  font-size: 1.22rem;
  font-weight: 700;
  color: var(--gray-900);
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
}

.faq-category-icon {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(30, 115, 190, 0.1);
  color: var(--primary-600);
  font-size: 0.9rem;
}

.faq-category-badge {
  font-size: 0.78rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 50px;
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
  flex-shrink: 0;
}

/* Explanation box on top of each group */
.faq-group-explanation {
  background: #f8fafc;
  border: 1px solid var(--gray-200);
  border-left: 4px solid var(--primary-600);
  border-radius: 10px;
  padding: 13px 18px;
  margin-bottom: 18px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.86rem;
  color: #334155;
  line-height: 1.6;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.02);
}

.faq-group-explanation i {
  color: var(--primary-600);
  font-size: 1rem;
  margin-top: 3px;
  flex-shrink: 0;
}

/* Accordion Item Styling */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: #ffffff;
  border: 1px solid var(--gray-200);
  border-radius: 11px;
  margin-bottom: 12px;
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  position: relative;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.02);
}

.faq-item:hover {
  border-color: rgba(30, 115, 190, 0.35);
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.05);
}

.faq-item.active {
  border-color: var(--primary-500);
  box-shadow: 0 4px 20px rgba(30, 115, 190, 0.08);
}

.faq-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 4px;
  background: var(--gradient-accent);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.faq-item.active::before {
  opacity: 1;
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 20px;
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  gap: 14px;
  font-family: inherit;
  transition: background-color 0.2s ease;
}

.faq-question:hover {
  background: rgba(248, 250, 252, 0.85);
}

.faq-question-content {
  display: flex;
  flex-direction: column;
  gap: 3px;
  flex: 1;
}

.faq-tag {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--primary-600);
}

.faq-question-text {
  font-family: var(--font-heading);
  font-size: 0.96rem;
  font-weight: 600;
  color: var(--gray-900);
  line-height: 1.4;
  transition: color 0.2s ease;
}

.faq-item.active .faq-question-text {
  color: var(--primary-700);
}

.faq-question .faq-chevron {
  color: var(--primary-600);
  font-size: 0.82rem;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f1f5f9;
}

.faq-item.active .faq-chevron {
  transform: rotate(180deg);
  background: rgba(30, 115, 190, 0.12);
  color: var(--primary-700);
}

/* Accordion Answer Styling — Smooth Height Expansion */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.25s ease, padding 0.3s ease, visibility 0.35s ease;
  padding: 0 20px;
  font-size: 0.88rem;
  color: var(--gray-600);
  line-height: 1.66;
}

.faq-item.active .faq-answer {
  opacity: 1;
  visibility: visible;
  padding: 0 20px 20px;
}

.faq-answer p {
  margin-bottom: 10px;
  font-size: 0.88rem;
}

.faq-answer ul {
  margin: 8px 0 12px 20px;
}

.faq-answer li {
  margin-bottom: 6px;
  font-size: 0.86rem;
  line-height: 1.58;
}

.faq-price-highlight {
  background: #ecfdf5;
  color: #065f46;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 4px;
  border: 1px solid #a7f3d0;
  display: inline-block;
  font-size: 0.85rem;
}

/* Empty State */
.faq-empty-state {
  text-align: center;
  padding: 48px 24px;
  background: #ffffff;
  border: 1px dashed var(--gray-300);
  border-radius: 12px;
  margin-top: 16px;
}

.faq-empty-state i {
  font-size: 2.2rem;
  color: var(--gray-400);
  margin-bottom: 12px;
}

.faq-empty-state h4 {
  font-size: 1.05rem;
  color: var(--gray-800);
  margin-bottom: 4px;
}

.faq-empty-state p {
  font-size: 0.82rem;
  color: var(--gray-500);
  margin-bottom: 14px;
}

/* Responsive Media Queries */
@media (max-width: 991px) {
  .faq-layout-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .faq-sidebar {
    position: relative;
    top: 0;
  }

  .faq-list-group {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 6px;
  }

  .faq-sidebar-cta {
    display: none;
  }
}

@media (max-width: 640px) {
  .faq-list-group {
    grid-template-columns: 1fr;
  }

  .faq-controls-bar {
    flex-direction: column;
    align-items: stretch;
  }

  .faq-action-btns {
    justify-content: flex-end;
  }

  .faq-question-text {
    font-size: 0.88rem;
  }
}

/* ============================================================
   PHI ALERT & ENTERPRISE LEAD FORM (Sections 860-865)
   ============================================================ */
.phi-alert {
  background: #fffbeb;
  border: 1px solid #fef3c7;
  border-left: 4px solid #f59e0b;
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.875rem;
  color: #92400e;
  margin-bottom: 24px;
  line-height: 1.55;
}

.phi-alert i {
  font-size: 1.1rem;
  color: #d97706;
  margin-top: 2px;
  flex-shrink: 0;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

@media (max-width: 640px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gray-800);
  margin-bottom: 5px;
  letter-spacing: 0.01em;
}

.form-group .form-control {
  width: 100%;
  padding: 8px 12px;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.82rem;
  color: var(--gray-800);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  background: #ffffff;
}

.form-group input.form-control,
.form-group select.form-control {
  height: 38px;
  font-size: 0.82rem;
}

.form-group select.form-control option {
  font-size: 0.82rem;
  padding: 2px 6px;
  margin: 1px 0;
}

.form-group .form-control:focus {
  outline: none;
  border-color: var(--primary-600);
  box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.12);
}

.form-group textarea.form-control {
  resize: vertical;
  min-height: 95px;
  font-size: 0.82rem;
  line-height: 1.5;
  padding: 10px 12px;
}

/* Contact Form Specific Sleek Scaling (90% Zoom) */
.contact-form-card {
  zoom: 0.9;
  position: relative;
  padding: 32px;
  overflow: hidden;
}

@supports not (zoom: 0.9) {
  .contact-form-card {
    transform: scale(0.9);
    transform-origin: top center;
  }
}

.contact-form-card .form-group {
  margin-bottom: 14px;
}

.contact-form-card .form-group label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 4px;
}

.contact-form-card .form-control {
  font-size: 0.82rem;
  padding: 8px 12px;
}

.contact-form-card input.form-control,
.contact-form-card select.form-control {
  height: 38px;
  font-size: 0.82rem;
}

.contact-form-card select.form-control option {
  font-size: 0.82rem;
  padding: 2px 6px;
  margin: 1px 0;
}

.contact-form-card textarea.form-control {
  font-size: 0.82rem;
}

.contact-form-card .error-message {
  font-size: 0.72rem;
  margin-top: 4px;
}

.contact-form-card .form-submit-btn {
  padding: 12px 20px;
  font-size: 0.9rem;
}

/* ============================================================
   RELEVANT UI LOADING OVERLAY & ALERTS
   ============================================================ */
.form-loading-overlay {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: var(--radius-lg);
  z-index: 50;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 36px 24px;
  text-align: center;
  animation: fadeInOverlay 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes fadeInOverlay {
  from { opacity: 0; transform: scale(0.98); }
  to { opacity: 1; transform: scale(1); }
}

.loading-pulse-ring {
  position: relative;
  width: 76px;
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
}

.pulse-ring-outer {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 3px solid rgba(var(--primary-rgb), 0.15);
  border-top-color: var(--primary-600);
  animation: spinRing 1.1s linear infinite;
}

.pulse-ring-inner {
  position: absolute;
  inset: 9px;
  border-radius: 50%;
  border: 2px dashed rgba(var(--accent-rgb, 6, 182, 212), 0.35);
  border-bottom-color: var(--primary-500);
  animation: spinRingReverse 2.2s linear infinite;
}

.loading-icon {
  font-size: 1.7rem;
  color: var(--primary-600);
  animation: iconPulse 1.6s ease-in-out infinite;
}

@keyframes spinRing {
  to { transform: rotate(360deg); }
}

@keyframes spinRingReverse {
  to { transform: rotate(-360deg); }
}

@keyframes iconPulse {
  0%, 100% { transform: scale(1); opacity: 0.9; }
  50% { transform: scale(1.18); opacity: 1; color: var(--primary-500); }
}

.loading-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 8px;
}

.loading-subtitle {
  font-size: 0.85rem;
  color: var(--gray-600);
  max-width: 420px;
  line-height: 1.55;
  margin-bottom: 22px;
}

.loading-progress-track {
  width: 240px;
  height: 5px;
  background: var(--gray-200);
  border-radius: 99px;
  overflow: hidden;
  position: relative;
  margin-bottom: 18px;
}

.loading-progress-bar {
  position: absolute;
  height: 100%;
  width: 45%;
  background: linear-gradient(90deg, var(--primary-600), var(--primary-400));
  border-radius: 99px;
  animation: shimmerProgress 1.4s ease-in-out infinite;
}

@keyframes shimmerProgress {
  0% { left: -45%; }
  100% { left: 100%; }
}

.loading-meta-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--primary-700);
  background: rgba(var(--primary-rgb), 0.08);
  padding: 6px 14px;
  border-radius: 99px;
  border: 1px solid rgba(var(--primary-rgb), 0.18);
}

.form-error-alert {
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-left: 4px solid var(--danger);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.84rem;
  color: #991b1b;
  margin-bottom: 20px;
  line-height: 1.5;
  animation: fadeInOverlay 0.25s ease-out forwards;
}

.form-error-alert i {
  font-size: 1.1rem;
  color: var(--danger);
  margin-top: 2px;
  flex-shrink: 0;
}

.form-error-alert .error-alert-content {
  flex: 1;
  font-size: 0.84rem;
  line-height: 1.5;
  color: #991b1b;
}

.form-error-alert .error-alert-content strong {
  color: #7f1d1d;
  font-weight: 700;
  margin-right: 4px;
}

/* ============================================================
   ADMIN MINI-CRM STYLES (/admin)
   ============================================================ */
.admin-body {
  background: #f8fafc;
  min-height: 100vh;
}

.admin-header {
  background: var(--gray-950);
  color: #ffffff;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255,255,255,.06);
}

.admin-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.admin-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 800;
}

.admin-logo span.crm-tag {
  background: var(--primary-600);
  color: #ffffff;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.admin-kpis {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 18px;
  margin: 32px 0 24px;
}

.admin-kpi-card {
  background: #ffffff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 20px;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
}

.admin-kpi-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.kpi-title {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--gray-500);
  letter-spacing: 0.04em;
  margin-bottom: 6px;
}

.kpi-num {
  font-family: var(--font-heading);
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--gray-900);
}

.admin-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 20px;
}

.status-tabs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.status-tab-btn {
  padding: 8px 16px;
  background: #ffffff;
  border: 1px solid var(--gray-200);
  border-radius: 100px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--gray-600);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.status-tab-btn:hover,
.status-tab-btn.active {
  background: var(--primary-600);
  color: #ffffff;
  border-color: var(--primary-600);
}

.admin-table-box {
  background: #ffffff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.admin-table-box table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.admin-table-box th {
  background: var(--gray-50);
  padding: 14px 18px;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--gray-600);
  border-bottom: 1px solid var(--gray-200);
}

.admin-table-box td {
  padding: 14px 18px;
  font-size: 0.88rem;
  border-bottom: 1px solid var(--gray-200);
  color: var(--gray-800);
}

.admin-table-box tr:hover td {
  background: #f8fafc;
}

.status-badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.status-badge.new { background: #dbeafe; color: #1e40af; }
.status-badge.contacted { background: #fef3c7; color: #92400e; }
.status-badge.qualified { background: #e0e7ff; color: #3730a3; }
.status-badge.proposal { background: #f3e8ff; color: #6b21a8; }
.status-badge.won { background: #dcfce7; color: #166534; }
.status-badge.lost { background: #fee2e2; color: #991b1b; }
.status-badge.spam { background: #f1f5f9; color: #64748b; }

.attribution-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 8px;
  background: #f1f5f9;
  border-radius: 4px;
  font-size: 0.75rem;
  color: var(--gray-600);
}

/* Modal Drawer */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(2, 6, 23, 0.65);
  backdrop-filter: blur(6px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-overlay.open {
  display: flex;
}

.modal-content {
  background: #ffffff;
  width: 100%;
  max-width: 680px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-2xl);
  max-height: 90vh;
  overflow-y: auto;
  padding: 32px;
  position: relative;
  animation: modalIn .3s var(--ease-spring);
}

@keyframes modalIn {
  0% { transform: scale(.95) translateY(20px); opacity: 0; }
  100% { transform: scale(1) translateY(0); opacity: 1; }
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  font-size: 1.25rem;
  color: var(--gray-400);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.modal-close:hover {
  color: var(--gray-700);
  transform: rotate(90deg);
}

/* ============================================================
   SELECTION & FOCUS STYLES
   ============================================================ */
::selection {
  background: rgba(var(--primary-rgb),.15);
  color: var(--gray-900);
}

:focus-visible {
  outline: 2px solid var(--primary-500);
  outline-offset: 2px;
}


/* ============================================================
   ADVANCED UI COMPONENTS & SERVICES HUB ENHANCEMENTS
   ============================================================ */

/* ---------- Interactive Catalog Filters ---------- */
.catalog-filters {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 48px;
}

.filter-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 100px;
  font-family: var(--font-body);
  font-size: .875rem;
  font-weight: 600;
  color: var(--gray-600);
  cursor: pointer;
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-sm);
}

.filter-tab-btn:hover {
  border-color: var(--primary-400);
  color: var(--primary-700);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.filter-tab-btn.active {
  background: var(--gradient-primary);
  color: var(--white);
  border-color: transparent;
  box-shadow: 0 4px 18px rgba(var(--primary-rgb), .28);
}

.filter-tab-btn .tab-count {
  padding: 2px 7px;
  border-radius: 100px;
  font-size: .75rem;
  font-weight: 700;
  background: rgba(0,0,0,.06);
  transition: all var(--transition-fast);
}

.filter-tab-btn.active .tab-count {
  background: rgba(255,255,255,.25);
  color: var(--white);
}

/* ---------- Service Card Enhancements: Chips & Category Tags ---------- */
.card-category-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--accent-600);
  background: rgba(var(--accent-rgb), .08);
  border: 1px solid rgba(var(--accent-rgb), .2);
  padding: 4px 10px;
  border-radius: 100px;
  margin-bottom: 14px;
}

.card-category-tag i {
  font-size: .68rem;
}

.card-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 16px 0 20px;
}

.tech-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: .75rem;
  font-weight: 500;
  color: var(--gray-600);
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  padding: 3px 9px;
  border-radius: 6px;
  transition: all var(--transition-fast);
}

.service-card:hover .tech-chip {
  background: var(--primary-50);
  border-color: var(--primary-200);
  color: var(--primary-700);
}

/* Service Card Transitions during Filtering */
.service-card {
  transition: opacity .35s var(--ease-out), transform .35s var(--ease-out), box-shadow .35s var(--ease-out), border-color .35s var(--ease-out);
}

.service-card.filter-hidden {
  display: none !important;
  opacity: 0;
  transform: scale(0.95);
}

/* ---------- HealthTech Architecture Console Widget ---------- */
.console-widget {
  background: linear-gradient(145deg, #0b1528 0%, #050b16 100%);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-md);
  padding: 24px;
  color: var(--white);
  box-shadow: 0 25px 60px -10px rgba(5, 11, 22, .4), 0 0 0 1px rgba(var(--accent-rgb), .2);
  position: relative;
  overflow: hidden;
}

.console-widget::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-hero);
}

.console-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255,255,255,.08);
  padding-bottom: 14px;
  margin-bottom: 18px;
}

.console-dots {
  display: flex;
  gap: 6px;
}

.console-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,.2);
}

.console-dots span:nth-child(1) { background: #ef4444; }
.console-dots span:nth-child(2) { background: #f59e0b; }
.console-dots span:nth-child(3) { background: #10b981; }

.console-title {
  font-size: .8rem;
  font-family: monospace;
  color: var(--accent-300);
  font-weight: 600;
  letter-spacing: .05em;
  display: flex;
  align-items: center;
  gap: 6px;
}

.console-title i {
  color: var(--accent-400);
}

.console-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 18px;
}

.console-stat-box {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 8px;
  padding: 12px;
  transition: all var(--transition-fast);
}

.console-stat-box:hover {
  background: rgba(255,255,255,.07);
  border-color: rgba(var(--accent-rgb), .3);
}

.console-stat-label {
  font-size: .72rem;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: .05em;
  margin-bottom: 4px;
}

.console-stat-val {
  font-size: 1.1rem;
  font-weight: 700;
  font-family: var(--font-heading);
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 6px;
}

.console-stat-val.live {
  color: var(--accent-400);
}

.console-stat-val .live-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
  animation: pulse 2s infinite;
}

.console-feed {
  background: rgba(0,0,0,.45);
  border-radius: 6px;
  padding: 12px 14px;
  font-family: 'SF Mono', Monaco, Consolas, monospace;
  font-size: .76rem;
  color: #a5f3fc;
  line-height: 1.6;
  border: 1px solid rgba(255,255,255,.05);
}

.console-feed-item {
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 4px;
}

.console-feed-item:last-child {
  margin-bottom: 0;
}

.console-feed-item i {
  color: #10b981;
  font-size: .75rem;
}

/* ---------- Trust Grid ---------- */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 48px;
}

@media (max-width: 991px) {
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .trust-grid { grid-template-columns: 1fr; }
}

.trust-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 32px 24px;
  position: relative;
  overflow: hidden;
  transition: all var(--transition-base);
}

.trust-card:hover {
  transform: translateY(-6px);
  border-color: rgba(var(--primary-rgb),.2);
  box-shadow: var(--shadow-card-hover);
}

.trust-card-icon {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, rgba(var(--primary-rgb),.08), rgba(var(--accent-rgb),.08));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  color: var(--primary-600);
  margin-bottom: 18px;
  transition: all var(--transition-spring);
}

.trust-card:hover .trust-card-icon {
  background: var(--gradient-primary);
  color: var(--white);
  transform: scale(1.1) rotate(-3deg);
  box-shadow: 0 6px 18px rgba(var(--primary-rgb),.25);
}

.trust-card h4 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 8px;
}

.trust-card p {
  font-size: .875rem;
  color: var(--gray-600);
  line-height: 1.65;
}

/* ---------- Project Scope Discovery Estimator ---------- */
.estimator-card {
  background: linear-gradient(145deg, #f8fafd 0%, #ffffff 100%);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  box-shadow: var(--shadow-lg);
  margin-top: 60px;
  position: relative;
  overflow: hidden;
}

.estimator-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-hero);
}

@media (max-width: 768px) {
  .estimator-card { padding: 28px 20px; }
}

.estimator-title {
  font-family: var(--font-heading);
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--gray-900);
  text-align: center;
  margin-bottom: 10px;
}

.estimator-subtitle {
  text-align: center;
  color: var(--gray-500);
  font-size: .95rem;
  margin-bottom: 32px;
}

.estimator-steps-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 24px;
  margin-bottom: 32px;
}

@media (max-width: 991px) {
  .estimator-steps-grid { grid-template-columns: 1fr; }
}

.estimator-field label {
  display: block;
  font-size: .85rem;
  font-weight: 700;
  color: var(--gray-700);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.estimator-select {
  width: 100%;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--gray-300);
  font-family: var(--font-body);
  font-size: .92rem;
  background: var(--white);
  color: var(--gray-800);
  transition: all var(--transition-fast);
}

.estimator-select:focus {
  outline: none;
  border-color: var(--primary-600);
  box-shadow: 0 0 0 3px rgba(var(--primary-rgb),.12);
}

.estimator-result-box {
  background: linear-gradient(135deg, #0b1528 0%, #050b16 100%);
  border-radius: var(--radius-md);
  padding: 24px 28px;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  border: 1px solid rgba(var(--accent-rgb),.3);
}

.estimator-result-data h5 {
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--accent-300);
  margin-bottom: 4px;
}

.estimator-result-val {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white);
}

/* ---------- Floating Technical Discovery Action Widget ---------- */
.floating-action-widget {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(11, 21, 40, .9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,.15);
  padding: 10px 18px 10px 14px;
  border-radius: 100px;
  color: var(--white);
  box-shadow: 0 16px 36px rgba(5,11,22,.25), 0 0 0 1px rgba(var(--accent-rgb),.3);
  transition: all var(--transition-base);
  text-decoration: none;
}

.floating-action-widget:hover {
  transform: translateY(-4px) scale(1.02);
  border-color: var(--accent-400);
  box-shadow: 0 20px 48px rgba(var(--primary-rgb),.3), 0 0 24px rgba(var(--accent-rgb),.4);
  color: var(--white);
}

.floating-action-widget.hidden-fab {
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px);
}

.fab-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--gradient-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--white);
  position: relative;
  flex-shrink: 0;
}

.fab-status-dot {
  position: absolute;
  top: 0;
  right: 0;
  width: 10px;
  height: 10px;
  background: #10b981;
  border: 2px solid #0b1528;
  border-radius: 50%;
  animation: pulse 2s infinite;
}

.fab-text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.fab-label {
  font-size: .84rem;
  font-weight: 700;
  font-family: var(--font-heading);
  color: var(--white);
}

.fab-sub {
  font-size: .72rem;
  color: var(--accent-300);
}

@media (max-width: 640px) {
  .floating-action-widget {
    bottom: 20px;
    right: 20px;
    padding: 8px 14px 8px 10px;
  }
  .fab-sub { display: none; }

  .back-to-top {
    right: 20px;
    bottom: 20px;
    width: 42px;
    height: 42px;
    font-size: 0.9rem;
  }

  body:has(.floating-action-widget) .back-to-top,
  .floating-action-widget ~ .back-to-top {
    bottom: 84px;
    right: 20px;
  }
}

/* ============================================================
   INTERNATIONAL & US PHONE INPUT (Seamless Single-Widget Design)
   Matches exact form-control height (38px) and typography
   ============================================================ */
.phone-input-wrapper {
  position: relative;
  display: flex;
  align-items: stretch;
  width: 100%;
  height: 38px;
  min-height: 38px;
  max-height: 38px;
  background: var(--white);
  border: 1px solid var(--gray-300, #cbd5e1);
  border-radius: var(--radius-sm, 6px);
  box-sizing: border-box;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  overflow: visible;
}

.phone-input-wrapper.is-open {
  z-index: 1050;
  border-color: var(--primary-600, #0f766e) !important;
  box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.12) !important;
}

.country-code-select-container {
  position: relative;
  display: flex;
  align-items: stretch;
  flex-shrink: 0;
  width: 80px;
  min-width: 80px;
  max-width: 80px;
  height: 100%;
  background: var(--gray-100, #f8fafc);
  border-right: 1px solid var(--gray-300, #cbd5e1);
  border-top-left-radius: 5px;
  border-bottom-left-radius: 5px;
  box-sizing: border-box;
  cursor: pointer;
  user-select: none;
  transition: background var(--transition-fast);
}

.country-code-select-container:hover,
.country-code-select-container.is-open {
  background: var(--gray-200, #e2e8f0);
}

.country-code-select-container:focus-visible {
  outline: 2px solid var(--primary-600);
  outline-offset: -2px;
}

.country-code-display {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 0 6px;
  box-sizing: border-box;
  pointer-events: none;
  z-index: 1;
  border: none;
  background: transparent;
}

.country-flag-icon {
  width: 18px;
  height: 12px;
  border-radius: 2px;
  object-fit: cover;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
  flex-shrink: 0;
  display: inline-block;
}

.country-flag-emoji {
  font-size: 0.95rem;
  line-height: 1;
  display: none;
}

.country-dial-code {
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--gray-800, #1e293b);
  letter-spacing: -0.2px;
  white-space: nowrap;
}

.country-chevron {
  font-size: 0.55rem;
  color: var(--gray-500, #64748b);
  margin-left: 1px;
  transition: transform var(--transition-fast);
}

.country-code-select-container.is-open .country-chevron {
  transform: rotate(180deg);
}

/* Visually hide native select while keeping in DOM for forms */
.country-code-select {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
  opacity: 0;
  pointer-events: none;
}

select option {
  padding: 2px 6px;
  margin: 1px 0;
}

.country-code-select option {
  padding: 2px 6px;
  margin: 1px 0;
  font-size: 0.84rem;
  color: var(--gray-800, #1e293b);
  background-color: #ffffff;
}

/* ============================================================
   FLOATING SEARCHABLE COUNTRY DROPDOWN MENU
   ============================================================ */
.country-dropdown-menu {
  position: absolute;
  top: calc(100% + 5px);
  left: 0;
  width: 320px;
  max-width: min(340px, calc(100vw - 32px));
  background: #ffffff;
  border: 1px solid var(--gray-200, #e2e8f0);
  border-radius: 8px;
  box-shadow: 0 10px 25px -3px rgba(15, 23, 42, 0.16), 0 4px 6px -4px rgba(15, 23, 42, 0.08);
  z-index: 1100;
  display: none;
  flex-direction: column;
  overflow: hidden;
  animation: countryDropdownFadeIn 0.16s cubic-bezier(0.16, 1, 0.3, 1);
}

.country-dropdown-menu.is-open {
  display: flex;
}

@keyframes countryDropdownFadeIn {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.country-dropdown-search-wrapper {
  position: relative;
  padding: 8px 10px;
  background: var(--gray-50, #f8fafc);
  border-bottom: 1px solid var(--gray-200, #e2e8f0);
}

.country-dropdown-search-wrapper i.search-icon {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.75rem;
  color: var(--gray-400, #94a3b8);
  pointer-events: none;
}

.country-dropdown-search {
  width: 100%;
  height: 32px;
  padding: 4px 10px 4px 28px;
  background: #ffffff;
  border: 1px solid var(--gray-300, #cbd5e1);
  border-radius: 6px;
  font-family: var(--font-body);
  font-size: 0.8rem;
  color: var(--gray-800, #1e293b);
  box-sizing: border-box;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.country-dropdown-search:focus {
  outline: none;
  border-color: var(--primary-600, #0f766e);
  box-shadow: 0 0 0 2px rgba(var(--primary-rgb), 0.12);
}

.country-dropdown-search::placeholder {
  color: var(--gray-400, #94a3b8);
  font-size: 0.78rem;
}

.country-dropdown-list {
  max-height: 240px;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 4px 0;
  margin: 0;
  list-style: none;
}

.country-dropdown-list::-webkit-scrollbar {
  width: 5px;
}

.country-dropdown-list::-webkit-scrollbar-track {
  background: #f8fafc;
}

.country-dropdown-list::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}

.country-dropdown-list::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

.country-dropdown-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 0.82rem;
  color: var(--gray-700, #334155);
  transition: background 0.12s ease, color 0.12s ease;
  user-select: none;
}

.country-dropdown-item:hover,
.country-dropdown-item.is-highlighted {
  background: rgba(15, 118, 110, 0.08);
  color: var(--primary-700, #0f766e);
}

.country-dropdown-item.is-selected {
  background: rgba(15, 118, 110, 0.12);
  color: var(--primary-700, #0f766e);
  font-weight: 600;
}

.country-dropdown-item .dropdown-item-flag {
  width: 18px;
  height: 12px;
  border-radius: 2px;
  object-fit: cover;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.12);
  flex-shrink: 0;
}

.country-dropdown-item .dropdown-item-name {
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.country-dropdown-item .dropdown-item-code {
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--gray-500, #64748b);
  background: var(--gray-100, #f1f5f9);
  padding: 2px 6px;
  border-radius: 4px;
  white-space: nowrap;
}

.country-dropdown-item.is-selected .dropdown-item-code {
  color: var(--primary-700, #0f766e);
  background: rgba(15, 118, 110, 0.15);
}

.country-dropdown-item .dropdown-item-check {
  font-size: 0.7rem;
  color: var(--primary-600, #0f766e);
  opacity: 0;
  transition: opacity 0.15s ease;
}

.country-dropdown-item.is-selected .dropdown-item-check {
  opacity: 1;
}

.country-dropdown-empty {
  padding: 16px 12px;
  text-align: center;
  font-size: 0.8rem;
  color: var(--gray-400, #94a3b8);
  display: none;
}

/* Remove all individual borders, shadows, and margins from the inner text input */
.phone-input-wrapper input.phone-input-field {
  flex: 1;
  min-width: 0;
  height: 100% !important;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  background: transparent !important;
  padding: 0 12px !important;
  margin: 0 !important;
  border-radius: 0 !important;
  font-family: var(--font-body);
  font-size: 0.82rem !important;
  color: var(--gray-800, #1e293b);
  letter-spacing: 0.4px;
  font-weight: 500;
}

.phone-input-wrapper input.phone-input-field:focus {
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
}

.phone-input-wrapper input.phone-input-field::placeholder {
  color: var(--gray-400, #94a3b8);
  font-size: 0.82rem;
  letter-spacing: normal;
  font-weight: 400;
}

/* Single unified focus ring matching .form-group .form-control:focus */
.phone-input-wrapper:focus-within {
  border-color: var(--primary-600, #0f766e) !important;
  box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.12) !important;
}

/* Unified error border on the entire outer wrapper */
.phone-input-wrapper.error {
  border-color: var(--danger, #ef4444) !important;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1) !important;
}

.phone-format-hint {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.76rem;
  color: var(--gray-500, #64748b);
  margin-top: 5px;
  font-weight: 500;
}

.phone-format-hint i {
  color: var(--primary-600, #0f766e);
  font-size: 0.75rem;
}

/* ============================================================
   INTERACTIVE FAQ EXPLORER & CATEGORY GROUPING
   ============================================================ */
.faq-explorer {
  margin-bottom: 36px;
}

.faq-search-wrapper {
  position: relative;
  max-width: 680px;
  margin: 0 auto 28px;
}

.faq-search-input {
  width: 100%;
  padding: 16px 20px 16px 52px;
  font-size: 1.02rem;
  font-family: var(--font-sans);
  color: var(--gray-900);
  background: #ffffff;
  border: 2px solid var(--gray-200);
  border-radius: 50px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
  transition: all var(--transition-base);
  outline: none;
}

.faq-search-input:focus {
  border-color: var(--primary-600);
  box-shadow: 0 10px 30px rgba(var(--primary-rgb), 0.15);
}

.faq-search-icon {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--primary-600);
  font-size: 1.15rem;
  pointer-events: none;
}

.faq-search-clear {
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--gray-100);
  border: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-content: center;
  color: var(--gray-500);
  cursor: pointer;
  font-size: 0.8rem;
  transition: all var(--transition-fast);
}

.faq-search-clear:hover {
  background: var(--gray-200);
  color: var(--gray-800);
}

/* Category Filter Tabs */
.faq-nav-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 36px;
}

.faq-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: #ffffff;
  border: 1px solid var(--gray-200);
  border-radius: 50px;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--gray-700);
  cursor: pointer;
  transition: all var(--transition-base);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.faq-tab-btn:hover {
  border-color: var(--primary-400);
  color: var(--primary-700);
  transform: translateY(-1px);
}

.faq-tab-btn.active {
  background: var(--primary-700);
  border-color: var(--primary-700);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(var(--primary-rgb), 0.25);
}

.faq-tab-btn.active .pill-count {
  background: rgba(255, 255, 255, 0.25);
  color: #ffffff;
}

.pill-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  background: var(--gray-100);
  border-radius: 10px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--gray-600);
  transition: all var(--transition-fast);
}

/* Category Group Header */
.faq-category-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 40px 0 18px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--gray-100);
}

.faq-category-header:first-of-type {
  margin-top: 0;
}

.faq-category-title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--gray-900);
  margin: 0;
}

.faq-category-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(var(--primary-rgb), 0.1);
  color: var(--primary-700);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.faq-category-badge {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--primary-700);
  background: rgba(var(--primary-rgb), 0.08);
  padding: 4px 10px;
  border-radius: 20px;
}

/* Individual Question Item */
.faq-item {
  margin-bottom: 14px;
}

.faq-item.active .faq-answer {
  max-height: 1000px !important;
  padding: 0 24px 24px;
}

.faq-question-content {
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: left;
}

.faq-question-text {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--gray-900);
  line-height: 1.4;
}

.faq-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--primary-600);
}

.faq-answer ul {
  margin: 10px 0;
  padding-left: 20px;
}

.faq-answer li {
  margin-bottom: 6px;
}

.faq-price-highlight {
  display: inline-block;
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 700;
}

/* Empty State */
.faq-empty-state {
  text-align: center;
  padding: 60px 20px;
  background: #ffffff;
  border: 1px dashed var(--gray-300);
  border-radius: var(--radius-lg);
  display: none;
}

.faq-empty-state i {
  font-size: 2.5rem;
  color: var(--gray-400);
  margin-bottom: 14px;
}

/* Results Counter */
.faq-results-counter {
  text-align: center;
  margin-bottom: 24px;
  font-size: 0.92rem;
  color: var(--gray-500);
  font-weight: 500;
}

.faq-results-counter strong {
  color: var(--gray-800);
}





