/* ==========================================================================
   GLORY RCM LLC - Master Stylesheet
   Modern, High-Performance Healthcare Website
   ========================================================================== */

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

:root {
  /* Brand Primary (Primary Blue: #0B5394) */
  --primary: #0B5394;
  --primary-dark: #083D6E;
  --primary-light: #1669B2;
  --primary-gradient: #0B5394;

  /* Teal / Highlights / Secondary / Icons (#14B8A6) */
  --secondary: #14B8A6;
  --secondary-hover: #0D9488;
  --secondary-gradient: #14B8A6;
  --accent: #14B8A6;
  --accent-light: #2DD4BF;
  --accent-dark: #0F766E;
  --accent-gradient: #14B8A6;

  /* Typography & Readability (High Contrast Crisp Black Text) */
  --text-dark: #000000;
  --text-body: #111827;
  --text-muted: #111827;
  --text-light: #1F2937;

  /* Backgrounds & Surfaces (White: #FFFFFF, Light Gray: #F3F6FA, Light Blue: #E6F4FF) */
  --bg-white: #FFFFFF;
  --bg-light: #F3F6FA;
  --bg-light-blue: #E6F4FF;
  --border-color: #E5E7EB;

  /* Clean Soft Shadows */
  --shadow-sm: 0 2px 4px rgba(11, 83, 148, 0.04);
  --shadow-md: 0 8px 20px -3px rgba(11, 83, 148, 0.08);
  --shadow-lg: 0 16px 32px -4px rgba(11, 83, 148, 0.10);

  /* Radius & Transitions */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --transition: all 0.25s ease-in-out;
  --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-alt: 'Poppins', sans-serif;
  --container-width: 1040px;
}

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

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

body {
  font-family: var(--font-main);
  color: var(--text-body);
  background-color: var(--bg-white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

p {
  color: #111827;
  line-height: 1.65;
}

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

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

button, input, select, textarea {
  font: inherit;
}

.container {
  width: 100%;
  max-width: var(--container-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.section {
  padding: 2.5rem 0;
  position: relative;
}

/* Spacing & Layout Utilities (Compact & Professional) */
.py-0 { padding-top: 0 !important; padding-bottom: 0 !important; }
.py-1 { padding-top: 0.5rem !important; padding-bottom: 0.5rem !important; }
.py-2 { padding-top: 1rem !important; padding-bottom: 1rem !important; }
.py-3 { padding-top: 1.5rem !important; padding-bottom: 1.5rem !important; }
.py-4 { padding-top: 2rem !important; padding-bottom: 2rem !important; }
.py-5 { padding-top: 2.5rem !important; padding-bottom: 2.5rem !important; }

.pt-0 { padding-top: 0 !important; }
.pt-1 { padding-top: 0.5rem !important; }
.pt-2 { padding-top: 1rem !important; }
.pt-3 { padding-top: 1.5rem !important; }
.pt-4 { padding-top: 2rem !important; }
.pt-5 { padding-top: 2.5rem !important; }

.pb-0 { padding-bottom: 0 !important; }
.pb-1 { padding-bottom: 0.5rem !important; }
.pb-2 { padding-bottom: 1rem !important; }
.pb-3 { padding-bottom: 1.5rem !important; }
.pb-4 { padding-bottom: 2rem !important; }
.pb-5 { padding-bottom: 2.5rem !important; }

.my-0 { margin-top: 0 !important; margin-bottom: 0 !important; }
.my-1 { margin-top: 0.5rem !important; margin-bottom: 0.5rem !important; }
.my-2 { margin-top: 1rem !important; margin-bottom: 1rem !important; }
.my-3 { margin-top: 1.5rem !important; margin-bottom: 1.5rem !important; }
.my-4 { margin-top: 2rem !important; margin-bottom: 2rem !important; }
.my-5 { margin-top: 2.5rem !important; margin-bottom: 2.5rem !important; }

.mt-0 { margin-top: 0 !important; }
.mt-1 { margin-top: 0.5rem !important; }
.mt-2 { margin-top: 1rem !important; }
.mt-3 { margin-top: 1.5rem !important; }
.mt-4 { margin-top: 2rem !important; }
.mt-5 { margin-top: 2.5rem !important; }

.mb-0 { margin-bottom: 0 !important; }
.mb-1 { margin-bottom: 0.5rem !important; }
.mb-2 { margin-bottom: 1rem !important; }
.mb-3 { margin-bottom: 1.5rem !important; }
.mb-4 { margin-bottom: 2rem !important; }
.mb-5 { margin-bottom: 2.5rem !important; }

.gap-1 { gap: 0.5rem !important; }
.gap-2 { gap: 0.85rem !important; }
.gap-3 { gap: 1.15rem !important; }
.gap-4 { gap: 1.5rem !important; }
.gap-5 { gap: 2rem !important; }

.section-light {
  background-color: var(--bg-light);
}

.section-dark {
  background: var(--primary-dark);
  color: #FFFFFF;
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 1.75rem auto;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--primary);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.85rem;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-radius: 9999px;
  background: var(--bg-light-blue);
  color: var(--primary);
  border: 1px solid rgba(20, 184, 166, 0.35);
  margin-bottom: 0.65rem;
}

.badge-gold {
  background: var(--bg-light-blue);
  color: var(--primary);
  border: 1px solid rgba(20, 184, 166, 0.45);
}

.section-title {
  font-size: 34px;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.25;
  margin-bottom: 0.65rem;
  letter-spacing: -0.02em;
}

.section-dark .section-title {
  color: #FFFFFF;
}

.section-desc {
  font-size: 0.98rem;
  color: #111827;
  line-height: 1.6;
  font-weight: 500;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1.85rem;
  font-family: var(--font-alt);
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius-md);
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.btn-primary {
  background: #0B5394;
  color: #FFFFFF;
  border: 2px solid #0B5394;
  box-shadow: 0 4px 14px rgba(11, 83, 148, 0.25);
}

.btn-primary:hover {
  background: #083D6E;
  border-color: #083D6E;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(11, 83, 148, 0.35);
  color: #FFFFFF;
}

.btn-gold {
  background: #14B8A6;
  color: #FFFFFF;
  font-weight: 700;
  border: 2px solid #14B8A6;
  box-shadow: 0 4px 14px rgba(20, 184, 166, 0.25);
}

.btn-gold:hover {
  background: #0D9488;
  border-color: #0D9488;
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(20, 184, 166, 0.35);
}

.btn-outline-white {
  background: transparent;
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.6);
}

.btn-outline-white:hover {
  background: #FFFFFF;
  color: var(--primary);
  border-color: #FFFFFF;
}

/* ----------------- Top Header ----------------- */
.top-header {
  background-color: #FFFFFF;
  border-bottom: 1px solid var(--border-color);
  padding: 0.65rem 0;
}

.top-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand-wrapper {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.brand-logo-img {
  height: 56px;
  width: auto;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

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

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

.brand-main-name {
  font-family: var(--font-alt);
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--primary);
  line-height: 1.1;
}

.brand-main-name span {
  color: var(--accent);
}

.brand-sub-tag {
  font-size: 0.725rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  text-transform: uppercase;
}

.top-contact-bar {
  display: flex;
  align-items: flex-start;
  gap: 1.75rem;
}

.contact-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-decoration: none;
  gap: 0.1rem;
  transition: transform 0.2s ease;
}

.contact-icon {
  background: none !important;
  width: auto !important;
  height: auto !important;
  padding: 0 !important;
  margin: 0 0 0.2rem 0 !important;
  color: #EB0046 !important; /* Vibrant magenta/rose matching reference screenshot Image 1 */
  font-size: 1.05rem !important;
  display: inline-block !important;
  transition: transform 0.2s ease, color 0.2s ease;
}

.contact-item:hover .contact-icon {
  transform: translateY(-2px);
  color: #0B5394 !important;
  background: none !important;
}

.contact-info-text {
  display: flex;
  flex-direction: column;
  gap: 0.08rem;
}

.contact-label {
  font-size: 0.85rem;
  color: #0B5394;
  font-weight: 700;
  text-transform: none; /* Mixed-case like reference image "Call or Text Us" */
  letter-spacing: normal;
  white-space: nowrap;
  line-height: 1.2;
}

.contact-value {
  font-size: 0.8rem;
  font-weight: 500;
  color: #4B5563;
  white-space: nowrap;
  line-height: 1.3;
}

.contact-item:hover .contact-label {
  color: #14B8A6;
}

/* ----------------- Header Nav (Fixed at top of page, does not follow scroll) ----------------- */
.main-nav-bar {
  background: var(--primary);
  position: relative;
  z-index: 100;
  box-shadow: 0 4px 15px rgba(11, 83, 148, 0.15);
}

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

.nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 0.35rem;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.65rem 1.1rem;
  color: #FFFFFF;
  font-family: var(--font-alt);
  font-size: 0.925rem;
  font-weight: 500;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.12);
}

.nav-link i.fa-chevron-down {
  font-size: 0.65rem;
  transition: transform 0.25s ease;
}

.nav-item:hover .nav-link i.fa-chevron-down {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 270px;
  background: #FFFFFF;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 0.6rem 0;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition);
  border: 1px solid var(--border-color);
  z-index: 1001;
}

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

.dropdown-link {
  display: block;
  padding: 0.7rem 1.25rem;
  color: var(--text-dark);
  font-size: 16px;
  font-weight: 500;
  border-left: 3px solid transparent;
}

.dropdown-link:hover {
  background: var(--bg-light-blue);
  color: var(--primary);
  border-left-color: var(--secondary);
  padding-left: 1.5rem;
}

.nav-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.4rem;
  background: #14B8A6;
  color: #FFFFFF;
  font-family: var(--font-alt);
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 12px rgba(20, 184, 166, 0.28);
}

.nav-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(20, 184, 166, 0.4);
  background: #0D9488;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: #FFFFFF;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.5rem;
}

/* ----------------- Hero Section ----------------- */
.hero-section {
  position: relative;
  background-color: var(--primary-dark);
  color: #FFFFFF;
  min-height: 420px;
  overflow: hidden;
  display: flex;
  align-items: flex-start;
}

.hero-slider-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
}

.hero-slide.active {
  opacity: 1;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, rgba(11, 83, 148, 0.96) 0%, rgba(11, 83, 148, 0.88) 55%, rgba(11, 83, 148, 0.65) 100%);
  z-index: 2;
}

.hero-content-wrapper {
  position: relative;
  z-index: 10;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 2rem;
  padding: 0.85rem 0 3.25rem 0;
}

.hero-text-block {
  max-width: 660px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(20, 184, 166, 0.18);
  color: #FFFFFF;
  border: 1px solid rgba(20, 184, 166, 0.45);
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 0.45rem;
  backdrop-filter: blur(5px);
}

.hero-headline {
  font-size: 2.45rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 0.45rem;
  color: #FFFFFF;
}

.hero-headline .highlight-gold {
  color: #2DD4BF;
}

.hero-subheadline {
  font-size: 1.1rem;
  font-weight: 600;
  color: #E6F4FF;
  margin-bottom: 0.55rem;
  line-height: 1.4;
}

.hero-description {
  font-size: 0.92rem;
  color: #F3F6FA;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.hero-bullets {
  list-style: none;
  margin-bottom: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.hero-bullets li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.925rem;
  color: #F1F5F9;
}

.hero-bullets li i {
  color: #2DD4BF;
  font-size: 1rem;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}


/* Hero Action Green Appointment Button (Matches Header CTA) */
.hero-actions a[href="#appointment"],
.hero-actions .btn-gold,
.hero-actions .btn-primary {
  background: #14B8A6 !important;
  border-color: #14B8A6 !important;
  color: #FFFFFF !important;
  font-weight: 700 !important;
  box-shadow: 0 4px 14px rgba(20, 184, 166, 0.3) !important;
}

.hero-actions a[href="#appointment"]:hover,
.hero-actions .btn-gold:hover,
.hero-actions .btn-primary:hover {
  background: #0D9488 !important;
  border-color: #0D9488 !important;
  color: #FFFFFF !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(20, 184, 166, 0.42) !important;
}

.hero-slide-content {
  display: none;
  animation: fadeInText 0.8s ease forwards;
}

.hero-slide-content.active {
  display: block;
}

@keyframes fadeInText {
  from {
    opacity: 0;
    transform: translateY(15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-image-block {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-floating-img {
  max-width: 95%;
  max-height: 380px;
  width: auto;
  object-fit: contain;
  animation: floatIllustration 5s ease-in-out infinite;
  filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.4));
}

@keyframes floatIllustration {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-16px);
  }
}

.hero-controls {
  position: absolute;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.hero-dots {
  display: flex;
  gap: 0.6rem;
}

.hero-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.hero-dot.active {
  width: 32px;
  border-radius: 9999px;
  background: var(--accent-light);
}

.hero-arrow {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.hero-arrow:hover {
  background: var(--accent);
  color: var(--primary-dark);
}

/* ----------------- Core Services ----------------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.15rem;
  margin-top: -2.5rem;
  position: relative;
  z-index: 30;
}

.service-card {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.1rem;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(226, 232, 240, 0.8);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--primary-gradient);
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: #14B8A6;
}

.service-card:hover::before {
  background: #14B8A6;
  height: 5px;
}

.service-icon-box {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: #E6F4FF;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.85rem;
  padding: 8px;
  transition: var(--transition);
}

.service-card:hover .service-icon-box {
  background: rgba(20, 184, 166, 0.2);
  transform: scale(1.08);
}

.service-icon-box img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.service-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.45rem;
  line-height: 1.3;
}

.service-desc {
  font-size: 0.88rem;
  color: var(--text-body);
  line-height: 1.55;
  margin-bottom: 1rem;
  flex-grow: 1;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-alt);
  font-size: 0.85rem;
  font-weight: 700;
  color: #14B8A6;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.service-link i {
  transition: transform 0.2s ease;
  color: #14B8A6;
}

.service-card:hover .service-link i {
  transform: translateX(4px);
}

/* ----------------- Payers Banner, Cards Grid & Marquee ----------------- */
.payers-section {
  padding: 0;
  background: #FFFFFF;
  border-bottom: 1px solid var(--border-color);
  overflow: hidden;
}

/* Header Blue Banner matching user screenshot reference */
.payers-banner {
  background-color: var(--primary, #0B5394);
  padding: 2.85rem 1.5rem 3rem 1.5rem;
  text-align: center;
  position: relative;
}

.payers-banner-title {
  color: #FFFFFF !important;
  font-size: clamp(1.2rem, 2vw, 1.7rem);
  font-weight: 700;
  line-height: 1.35;
  margin-top: 0.35rem;
  margin-bottom: 1.6rem;
  letter-spacing: -0.01em;
  text-align: center;
}

.payers-cards-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.65rem 0.85rem;
  max-width: 980px;
  margin: 0 auto;
}

.payer-card-box {
  background: #FFFFFF;
  color: var(--text-dark, #1F2937);
  border-radius: var(--radius-md, 8px);
  padding: 0.5rem 0.75rem;
  font-weight: 700;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease, color 0.25s ease;
  min-height: 38px;
}

.payer-card-box:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.12);
  color: var(--primary, #0B5394);
}

.payers-marquee-outer {
  background: #FFFFFF;
  padding: 1.5rem 0;
}

/* Payers Pills for secondary pages */
.payers-header {
  margin-bottom: 1.5rem;
  text-align: center;
}

.payers-header .section-title {
  color: var(--primary, #0B5394);
  font-size: 2.1rem;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 0;
  letter-spacing: -0.02em;
}

.payers-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.55rem 0.75rem;
  max-width: 980px;
  margin: 0 auto 1.75rem auto;
}

.payer-pill {
  padding: 0.45rem 1.15rem;
  background: var(--bg-light-blue, #E6F4FF);
  border: 1px solid rgba(11, 83, 148, 0.15);
  border-radius: 9999px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--primary, #0B5394);
  transition: var(--transition);
  display: inline-block;
}

.payer-pill:hover {
  background: var(--primary, #0B5394);
  color: #FFFFFF;
  border-color: var(--primary, #0B5394);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(11, 83, 148, 0.2);
}

/* ----------------- Key Features Section (Exact Reference Layout) ----------------- */
.key-features-section {
  background-color: var(--bg-light, #F3F6FA);
  padding: 2.5rem 0;
}

.key-features-header {
  margin-bottom: 1.25rem;
  text-align: left;
}

.key-features-title {
  color: #14B8A6;
  font-size: 1.75rem;
  font-weight: 700;
  text-align: left;
  letter-spacing: -0.01em;
}

.key-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem 1.15rem;
}

.key-feature-card {
  background: #FFFFFF;
  border: 1px solid rgba(20, 184, 166, 0.45);
  border-radius: 10px;
  padding: 1rem 0.95rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.key-feature-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 18px rgba(20, 184, 166, 0.15);
  border-color: #14B8A6;
}

.kf-card-img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  margin: 0 auto 0.5rem auto;
  display: block;
}

.kf-card-title {
  font-size: 0.92rem;
  font-weight: 700;
  color: #1F2937;
  margin-bottom: 0.3rem;
  line-height: 1.3;
  text-align: center;
}

.kf-card-desc {
  font-size: 0.78rem;
  color: #111827;
  line-height: 1.5;
  text-align: center;
  font-weight: 500;
}

@media (max-width: 992px) {
  .payers-cards-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }
  .key-features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

@media (max-width: 640px) {
  .payers-banner {
    padding: 3rem 1rem;
  }
  .payers-banner-title {
    font-size: 1.25rem;
    margin-bottom: 1.75rem;
  }
  .payers-cards-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }
  .payer-card-box {
    font-size: 0.92rem;
    padding: 0.85rem 0.75rem;
    min-height: 50px;
  }
  .key-features-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  .key-feature-card {
    padding: 1.75rem 1.25rem;
  }
}

.payers-marquee-wrapper {
  overflow: hidden;
  position: relative;
  width: 100%;
  padding: 1rem 0;
}

.payers-marquee-wrapper::before,
.payers-marquee-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  width: 120px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.payers-marquee-wrapper::before {
  left: 0;
  background: linear-gradient(to right, #FFFFFF, transparent);
}

.payers-marquee-wrapper::after {
  right: 0;
  background: linear-gradient(to left, #FFFFFF, transparent);
}

.payers-track {
  display: flex;
  gap: 3.5rem;
  width: max-content;
  animation: marqueeScroll 32s linear infinite;
  align-items: center;
}

.payers-track:hover {
  animation-play-state: paused;
}

@keyframes marqueeScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.payer-logo-item {
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  filter: none !important;
  opacity: 1 !important;
  transition: var(--transition);
  padding: 0 1rem;
}

.payer-logo-item:hover {
  filter: none !important;
  opacity: 1 !important;
  transform: scale(1.08);
}

.payer-logo-item img {
  max-height: 50px;
  width: auto;
  object-fit: contain;
}

/* ----------------- Key Features ----------------- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
}

.feature-box {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.25rem;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.feature-box:hover {
  transform: translateY(-4px);
  border-color: #14B8A6;
  box-shadow: var(--shadow-md);
}

.feature-icon-wrapper {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #E6F4FF;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  margin-bottom: 0.85rem;
  transition: var(--transition);
}

.feature-box:hover .feature-icon-wrapper {
  background: rgba(20, 184, 166, 0.2);
  transform: rotate(5deg) scale(1.1);
}

.feature-icon-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.feature-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.45rem;
}

.feature-desc {
  font-size: 0.88rem;
  color: var(--text-body);
  line-height: 1.55;
}

/* ----------------- Distinction / About Section (Matching Image 2 Reference) ----------------- */
.distinction-section {
  padding: 2.5rem 0;
  background-color: #EEF8F8;
}

.distinction-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 2rem;
}

.distinction-tag {
  color: #14B8A6;
  font-size: 0.9rem;
  font-weight: 600;
  display: inline-block;
  margin-bottom: 0.35rem;
  font-family: var(--font-main);
}

.distinction-title {
  font-size: 1.7rem;
  font-weight: 700;
  color: #1F2937;
  line-height: 1.3;
  margin-bottom: 0.85rem;
  letter-spacing: -0.01em;
}

.distinction-text {
  font-size: 0.885rem;
  color: #111827;
  line-height: 1.65;
  margin-bottom: 0.65rem;
  font-weight: 500;
}

.distinction-text:last-of-type {
  margin-bottom: 0;
}

.distinction-media {
  display: flex;
  justify-content: center;
  align-items: center;
}

.distinction-img {
  width: 100%;
  max-width: 380px;
  height: 310px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

@media (max-width: 992px) {
  .distinction-grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
  .distinction-img {
    height: 280px;
  }
}

/* ----------------- About / Distinction Legacy Fallback ----------------- */
.about-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 2rem;
}

.about-title {
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.2;
  margin-bottom: 0.5rem;
}

.about-subtitle {
  font-size: 1.1rem;
  font-weight: 700;
  color: #14B8A6;
  margin-bottom: 1rem;
}

.about-paragraph {
  font-size: 0.925rem;
  color: var(--text-body);
  line-height: 1.65;
  margin-bottom: 1rem;
}

.about-features-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin: 1rem 0 1.25rem 0;
  list-style: none;
}

.about-feature-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 600;
  color: var(--primary);
  font-size: 0.92rem;
}

.about-feature-item i {
  color: #14B8A6;
  font-size: 1rem;
}

.about-image-block {
  position: relative;
}

.about-img-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 4px solid #FFFFFF;
}

.about-main-img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.about-img-frame:hover .about-main-img {
  transform: scale(1.04);
}

.about-floating-badge {
  position: absolute;
  bottom: 1.25rem;
  left: -1rem;
  background: #FFFFFF;
  padding: 0.85rem 1.25rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 1rem;
  border: 1px solid var(--border-color);
  animation: floatBadge 4s ease-in-out infinite;
}

@keyframes floatBadge {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.badge-stat-number {
  font-size: 1.85rem;
  font-weight: 800;
  color: #14B8A6;
  line-height: 1;
}

.badge-stat-label {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.3;
}

/* ----------------- Stats & Counter ----------------- */
.stats-section {
  position: relative;
  background: var(--primary-dark) url('../images/piron-guillaume-y5hQCIn1c6o-unsplash.jpg') no-repeat center center / cover;
  background-attachment: fixed;
  padding: 2.5rem 0;
  color: #FFFFFF;
  overflow: hidden;
}

.stats-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(11, 83, 148, 0.92);
  z-index: 1;
}

.stats-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.15rem;
}

.stat-item {
  text-align: center;
  padding: 1.35rem 1rem;
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  transition: var(--transition);
}

.stat-item:hover {
  background: rgba(255, 255, 255, 0.14);
  transform: translateY(-4px);
  border-color: #14B8A6;
}

.stat-icon {
  font-size: 1.6rem;
  color: #2DD4BF;
  margin-bottom: 0.35rem;
}

.stat-number-wrapper {
  font-size: 2.2rem;
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.1;
  margin-bottom: 0.25rem;
  font-family: var(--font-alt);
}

.stat-number-wrapper .stat-suffix {
  color: #2DD4BF;
}

.stat-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: #E6F4FF;
}

/* ----------------- Reference-Exact FAQ Pill Accordion ----------------- */
.faq-section {
  padding: 2.5rem 0;
  background-color: #FAFCFF;
  position: relative;
}

.faq-pill-grid {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: 2.25rem;
  align-items: flex-start;
}

.faq-pill-intro {
  position: static;
}

.faq-pill-subtag {
  color: #14B8A6;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  display: inline-block;
  margin-bottom: 0.35rem;
  font-family: var(--font-main);
}

.faq-pill-maintitle {
  font-size: 1.7rem;
  font-weight: 700;
  color: #1F2937;
  line-height: 1.25;
  margin-bottom: 0.65rem;
  letter-spacing: -0.01em;
}

.faq-pill-desc {
  font-size: 0.885rem;
  color: #111827;
  line-height: 1.6;
  max-width: 420px;
  font-weight: 500;
}

/* FAQ Side Card Box (Styled Theme Box) */
.faq-side-card {
  background: linear-gradient(150deg, #0B5394 0%, #083D6E 100%);
  border-radius: 16px;
  padding: 32px 28px;
  color: #FFFFFF;
  box-shadow: 0 14px 34px rgba(11, 83, 148, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.14);
  margin-top: 12px;
}

.faq-side-card-title {
  font-family: var(--font-alt);
  font-size: 1.55rem;
  font-weight: 700;
  color: #FFFFFF !important;
  line-height: 1.25;
  margin-bottom: 14px;
  letter-spacing: -0.01em;
}

.faq-side-card-desc {
  font-size: 0.92rem;
  color: #E2E8F0 !important;
  line-height: 1.65;
  margin-bottom: 22px;
  font-weight: 400;
}

.faq-side-card-contact {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  margin-bottom: 22px;
}

.faq-side-contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-main);
  font-size: 0.92rem;
  font-weight: 500;
  color: #FFFFFF;
  text-decoration: none;
  transition: all 0.25s ease;
}

.faq-side-contact-item i {
  color: #14B8A6;
  font-size: 15px;
  width: 18px;
  text-align: center;
}

.faq-side-contact-item:hover {
  color: #2DD4BF;
  transform: translateX(4px);
}

.faq-side-card-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  width: 100%;
  background: #14B8A6;
  color: #FFFFFF !important;
  font-family: var(--font-main);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 13px 20px;
  border-radius: 10px;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(20, 184, 166, 0.35);
  transition: all 0.25s ease;
}

.faq-side-card-btn:hover {
  background: #0D9488;
  color: #FFFFFF !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(20, 184, 166, 0.5);
}

.faq-accordion-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.faq-pill-item {
  width: 100%;
}

.faq-pill-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.6rem 1.25rem;
  min-height: 42px;
  background: #FFFFFF;
  border: 1px solid #E5E7EB;
  border-radius: 9999px;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-main);
  transition: all 0.25s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

.faq-pill-btn:hover {
  border-color: #D1D5DB;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.04);
}

.faq-pill-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.faq-pill-q-icon {
  font-size: 0.95rem;
  color: #374151;
  flex-shrink: 0;
  transition: color 0.25s ease;
}

.faq-pill-title {
  font-size: 18px;
  font-weight: 500;
  color: #1F2937;
  transition: color 0.25s ease;
}

.faq-pill-toggle {
  font-size: 0.8rem;
  color: #374151;
  flex-shrink: 0;
  margin-left: 0.65rem;
  transition: color 0.25s ease;
}

/* Active Pill State */
.faq-pill-item.active .faq-pill-btn {
  background: #14B8A6;
  border-color: #14B8A6;
  box-shadow: 0 4px 14px rgba(20, 184, 166, 0.25);
}

.faq-pill-item.active .faq-pill-q-icon,
.faq-pill-item.active .faq-pill-title,
.faq-pill-item.active .faq-pill-toggle {
  color: #FFFFFF !important;
}

/* Answer Panel below active pill */
.faq-pill-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-pill-panel-content {
  margin-top: 0.5rem;
  margin-bottom: 0.25rem;
  background: #FFFFFF;
  border: 1px solid #E5E7EB;
  border-radius: 12px;
  padding: 0.95rem 1.25rem;
  font-size: 16px;
  color: #111827;
  line-height: 1.6;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
  font-weight: 450;
}

@media (max-width: 992px) {
  .faq-pill-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .faq-pill-intro {
    position: static;
  }
}

.faq-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 2rem;
  align-items: flex-start;
}

.faq-sidebar {
  position: relative;
}

@media (min-width: 992px) {
  .faq-sidebar {
    position: sticky;
    top: 90px;
  }
}

.faq-help-card {
  margin-top: 1.25rem;
  background: #FFFFFF;
  border-radius: var(--radius-md);
  padding: 1.35rem;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

.faq-help-card h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.35rem;
}

.faq-help-card p {
  font-size: 0.88rem;
  color: var(--text-body);
  margin-bottom: 1rem;
}

.faq-accordion-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.accordion-item {
  background: #FFFFFF;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  overflow: hidden;
  transition: var(--transition);
}

.accordion-item.active {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}

.accordion-header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
  gap: 1rem;
  transition: var(--transition);
}

.accordion-title-wrap {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.accordion-icon-badge {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #E6F4FF;
  color: #0B5394;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  flex-shrink: 0;
  transition: var(--transition);
}

.accordion-item.active .accordion-icon-badge {
  background: var(--primary);
  color: #FFFFFF;
}

.accordion-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary);
}

.accordion-toggle-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  color: var(--text-muted);
  background: var(--bg-light);
  flex-shrink: 0;
  transition: var(--transition);
}

.accordion-item.active .accordion-toggle-icon {
  background: #14B8A6;
  color: #FFFFFF;
  transform: rotate(45deg);
}

.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.accordion-content {
  padding: 0 1.5rem 1.5rem 3.8rem;
  font-size: 0.95rem;
  color: var(--text-body);
  line-height: 1.7;
}

/* ----------------- Appointment / Contact Form (Full HD & High Contrast) ----------------- */
.contact-section-inner {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  align-items: center;
  gap: 2.25rem;
}

.contact-illustration-block {
  text-align: center;
  position: relative;
}

.contact-hd-showcase {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem 0.5rem;
  min-height: 480px;
}

.contact-hd-backdrop {
  position: absolute;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(11, 83, 148, 0.12) 0%, rgba(20, 184, 166, 0.08) 60%, transparent 72%);
  z-index: 1;
}

.contact-hd-doctor {
  position: relative;
  z-index: 2;
  max-height: 440px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 15px 30px rgba(11, 83, 148, 0.16));
  image-rendering: -webkit-optimize-contrast;
  display: block;
  margin: 0 auto;
}

.contact-trust-pill {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: #FFFFFF;
  padding: 0.65rem 1.15rem;
  border-radius: 50px;
  box-shadow: 0 10px 25px rgba(11, 83, 148, 0.15), 0 2px 6px rgba(0,0,0,0.04);
  border: 1px solid rgba(11, 83, 148, 0.12);
  white-space: nowrap;
}

.contact-trust-pill.pill-top {
  top: 15%;
  left: 0;
}

.contact-trust-pill.pill-bottom {
  bottom: 12%;
  right: 0;
}

.trust-pill-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #E6F4FF;
  color: #0B5394;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.contact-trust-pill.pill-bottom .trust-pill-icon {
  background: #E6FFFA;
  color: #14B8A6;
}

.trust-pill-content {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.trust-pill-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: #000000;
  line-height: 1.25;
}

.trust-pill-sub {
  font-size: 0.725rem;
  font-weight: 500;
  color: #111827;
}

.contact-form-card {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 2rem 2.25rem;
  box-shadow: 0 10px 30px rgba(11, 83, 148, 0.08);
  border: 1.5px solid #E2E8F0;
}

.form-header {
  margin-bottom: 1.25rem;
}

.form-header h3 {
  font-size: 1.7rem;
  font-weight: 800;
  color: #0B5394;
  margin-bottom: 0.25rem;
}

.form-header p {
  color: #14B8A6;
  font-weight: 700;
  font-size: 1rem;
}

.form-header p a {
  color: inherit;
  text-decoration: none;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.form-label {
  font-size: 0.875rem;
  font-weight: 700;
  color: #000000;
  margin-bottom: 0.15rem;
}

.form-control {
  width: 100%;
  padding: 0.72rem 0.95rem;
  border: 1.5px solid #CBD5E1;
  border-radius: var(--radius-md);
  background: #FFFFFF;
  color: #000000;
  font-size: 0.925rem;
  font-weight: 500;
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: #0B5394;
  background: #FFFFFF;
  box-shadow: 0 0 0 3px rgba(11, 83, 148, 0.15);
}

.form-control::placeholder {
  color: #64748B;
  opacity: 1;
}

select.form-control {
  cursor: pointer;
}

select.form-control optgroup {
  font-weight: 700;
  color: #0B5394;
  background: #F8FAFC;
  padding: 4px;
}

select.form-control option {
  font-weight: 500;
  color: #111827;
  background: #FFFFFF;
  padding: 6px 10px;
}

textarea.form-control {
  resize: vertical;
  min-height: 80px;
}

.form-checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.82rem;
  color: #111827;
  line-height: 1.5;
  font-weight: 500;
}

.form-checkbox-group input[type="checkbox"] {
  margin-top: 0.2rem;
  accent-color: #0B5394;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.form-checkbox-group a {
  color: #0B5394;
  font-weight: 600;
  text-decoration: underline;
}

.form-radio-group {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 0.2rem 0;
  font-size: 0.88rem;
  font-weight: 600;
  color: #000000;
}

.radio-option {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  cursor: pointer;
}

.radio-option input[type="radio"] {
  accent-color: #0B5394;
  width: 16px;
  height: 16px;
}

/* ----------------- Newsletter Card ----------------- */
/* ----------------- Stay Informed / Newsletter Section (Matching Reference Image 1) ----------------- */
.newsletter-cta-section {
  position: relative;
  background-color: #083D6E;
  background-image: url('../images/piron-guillaume-y5hQCIn1c6o-unsplash.jpg');
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
  padding: 4.25rem 0;
  overflow: hidden;
  color: #FFFFFF;
  text-align: center;
}

.newsletter-cta-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(8, 61, 110, 0.88) 0%, rgba(20, 184, 166, 0.84) 100%);
  z-index: 1;
}

.newsletter-cta-container {
  position: relative;
  z-index: 2;
  max-width: 760px;
  margin: 0 auto;
}

.newsletter-cta-title {
  font-size: 2.1rem;
  font-weight: 800;
  color: #FFFFFF !important;
  line-height: 1.25;
  margin-bottom: 0.85rem;
  letter-spacing: -0.02em;
}

.newsletter-cta-desc {
  font-size: 0.95rem;
  color: #E6F4FF !important;
  line-height: 1.65;
  margin: 0 auto 1.75rem auto;
  max-width: 660px;
  opacity: 0.95;
}

.newsletter-cta-form {
  display: flex;
  align-items: stretch;
  max-width: 560px;
  margin: 0 auto;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
  border-radius: 8px;
  overflow: hidden;
  background: #FFFFFF;
}

.newsletter-cta-input {
  flex: 1;
  border: none;
  outline: none;
  padding: 0.9rem 1.25rem;
  font-size: 0.95rem;
  font-family: var(--font-main);
  color: #1F2937;
  background: #FFFFFF;
}

.newsletter-cta-input::placeholder {
  color: #9CA3AF;
}

.newsletter-cta-btn {
  background: linear-gradient(135deg, #14B8A6 0%, #0D9488 100%);
  color: #FFFFFF;
  border: none;
  outline: none;
  padding: 0 2rem;
  font-family: var(--font-alt, 'Poppins', sans-serif);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: all 0.25s ease;
  white-space: nowrap;
}

.newsletter-cta-btn:hover {
  background: linear-gradient(135deg, #0D9488 0%, #0B5394 100%);
  color: #FFFFFF;
}

@media (max-width: 640px) {
  .newsletter-cta-section {
    padding: 3rem 1.25rem;
    background-attachment: scroll;
  }
  .newsletter-cta-title {
    font-size: 1.5rem;
  }
  .newsletter-cta-form {
    flex-direction: column;
    gap: 0.5rem;
    background: transparent;
    box-shadow: none;
    border-radius: 0;
  }
  .newsletter-cta-input {
    border-radius: 6px;
    padding: 0.75rem 1rem;
    width: 100%;
  }
  .newsletter-cta-btn {
    border-radius: 6px;
    padding: 0.75rem;
    width: 100%;
  }
}

/* Backward compatibility */
.newsletter-card {
  background: var(--primary-gradient);
  border-radius: var(--radius-lg);
  padding: 2.25rem 2rem;
  color: #FFFFFF;
  text-align: center;
  margin-bottom: 0;
  position: relative;
  z-index: 10;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.newsletter-card h3 {
  font-size: 1.75rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.newsletter-card p {
  color: #CBD5E1;
  max-width: 650px;
  margin: 0 auto 1.25rem auto;
  font-size: 0.925rem;
}

.newsletter-form {
  display: flex;
  max-width: 520px;
  margin: 0 auto;
  background: #FFFFFF;
  padding: 0.3rem;
  border-radius: var(--radius-md);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.newsletter-input {
  flex-grow: 1;
  border: none;
  padding: 0.65rem 1.15rem;
  font-size: 0.9rem;
  outline: none;
  border-radius: var(--radius-md) 0 0 var(--radius-md);
}

.newsletter-btn {
  background: var(--secondary-gradient);
  color: #FFFFFF;
  border: none;
  padding: 0.65rem 1.5rem;
  font-family: var(--font-alt);
  font-weight: 700;
  font-size: 0.875rem;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.newsletter-btn:hover {
  background: var(--secondary-hover);
}

/* ----------------- Footer ----------------- */
.site-footer {
  background: #FFFFFF !important;
  color: #1F2937 !important;
  padding-top: 2.75rem;
  padding-bottom: 1.75rem;
  border-top: 1px solid #E5E7EB !important;
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-brand-block p {
  margin: 0.75rem 0 1rem 0;
  font-size: 0.88rem;
  line-height: 1.6;
}

.footer-social-links {
  display: flex;
  gap: 0.65rem;
}

.social-link {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.social-link:hover {
  background: var(--accent);
  color: var(--primary-dark);
  transform: translateY(-2px);
}

.footer-col-title {
  color: #FFFFFF;
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 1rem;
  position: relative;
  padding-bottom: 0.4rem;
}

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

.footer-links-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-links-list a {
  color: #94A3B8;
  font-size: 0.88rem;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.footer-links-list a:hover {
  color: #FFFFFF;
  transform: translateX(3px);
}

.footer-contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.88rem;
}

.footer-contact-item i {
  color: var(--accent-light);
  margin-top: 0.2rem;
  font-size: 0.9rem;
}

.footer-bottom-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
}

/* ----------------- Floating Buttons ----------------- */
.floating-call-btn {
  display: none !important;
}

.floating-call-btn:hover {
  transform: scale(1.06) translateY(-2px);
  background: var(--secondary-hover);
  color: #FFFFFF;
}

.back-to-top-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--primary);
  color: #FFFFFF;
  border: 2px solid var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  cursor: pointer;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  box-shadow: var(--shadow-md);
}

.back-to-top-btn.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top-btn:hover {
  background: var(--accent);
  color: var(--primary-dark);
  transform: translateY(-4px);
}

/* ----------------- Toast ----------------- */
.toast-msg {
  position: fixed;
  top: 25px;
  right: 25px;
  background: #FFFFFF;
  color: var(--text-dark);
  padding: 1rem 1.5rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border-left: 5px solid #10B981;
  z-index: 9999;
  transform: translateX(120%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 600;
  font-size: 0.95rem;
}

.toast-msg.show {
  transform: translateX(0);
}

.toast-msg i {
  color: #10B981;
  font-size: 1.25rem;
}

/* ----------------- Modal ----------------- */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(6, 23, 41, 0.8);
  backdrop-filter: blur(5px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  padding: 1.5rem;
}

.modal-overlay.open {
  opacity: 1;
  visibility: visible;
}

.modal-box {
  background: #FFFFFF;
  border-radius: var(--radius-xl);
  max-width: 620px;
  width: 100%;
  padding: 2.5rem;
  position: relative;
  box-shadow: var(--shadow-lg);
  transform: translateY(20px);
  transition: var(--transition);
  max-height: 90vh;
  overflow-y: auto;
}

.modal-overlay.open .modal-box {
  transform: translateY(0);
}

.modal-close-btn {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: var(--bg-light);
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 1rem;
  transition: var(--transition);
}

.modal-close-btn:hover {
  background: var(--secondary);
  color: #FFFFFF;
}

.modal-header h3 {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.modal-body {
  margin: 1.5rem 0;
  font-size: 0.95rem;
  color: var(--text-body);
  line-height: 1.7;
}

/* ----------------- Responsive ----------------- */
@media (max-width: 900px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    margin-top: 0;
    padding-top: 3rem;
  }
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-top-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero-headline {
    font-size: 2.4rem;
  }
}

@media (max-width: 900px) {
  .top-header {
    display: none;
  }
  .mobile-toggle {
    display: block;
  }
  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--primary);
    flex-direction: column;
    padding: 1.5rem;
    gap: 0.5rem;
    display: none;
    box-shadow: var(--shadow-lg);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }
  .nav-menu.open {
    display: flex;
  }
  .nav-item {
    width: 100%;
  }
  .nav-link {
    width: 100%;
    justify-content: space-between;
  }
  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    background: rgba(255, 255, 255, 0.05);
    border: none;
    margin-top: 0.5rem;
    display: none;
  }
  .dropdown-menu.open {
    display: block;
  }
  .dropdown-link {
    color: #E2E8F0;
  }
  .hero-content-wrapper {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 3.5rem 0;
  }
  .hero-text-block {
    margin: 0 auto;
  }
  .hero-bullets {
    align-items: center;
  }
  .hero-actions {
    justify-content: center;
  }
  .hero-image-block {
    display: none;
  }
  .about-grid,
  .faq-grid,
  .contact-section-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .faq-sidebar {
    position: static !important;
    top: auto !important;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .about-floating-badge {
    left: 1rem;
    bottom: 1rem;
  }
}

@media (max-width: 600px) {
  .faq-sidebar {
    position: static !important;
    top: auto !important;
    margin-bottom: 1.5rem;
  }
  .faq-help-card {
    padding: 1.5rem 1.25rem;
    margin-top: 1.5rem;
  }
  .accordion-header {
    padding: 1rem 1.15rem;
    gap: 0.65rem;
  }
  .accordion-title {
    font-size: 0.95rem;
    line-height: 1.4;
  }
  .accordion-icon-badge {
    width: 26px;
    height: 26px;
    font-size: 0.75rem;
  }
  .accordion-toggle-icon {
    width: 28px;
    height: 28px;
    font-size: 0.75rem;
  }
  .accordion-content {
    padding: 0 1.15rem 1.15rem 1.15rem;
    font-size: 0.9rem;
    line-height: 1.6;
  }
  .footer-bottom-bar {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }
  .bimm-credit {
    justify-content: center;
  }
  .hero-headline {
    font-size: 1.95rem;
  }
  .services-grid,
  .features-grid,
  .stats-grid,
  .footer-top-grid,
  .form-row,
  .about-features-list {
    grid-template-columns: 1fr;
  }
  .contact-form-card {
    padding: 1.75rem;
  }
  .newsletter-card {
    padding: 2rem 1.25rem;
  }
  .newsletter-form {
    flex-direction: column;
    gap: 0.5rem;
    background: transparent;
    box-shadow: none;
  }
  .newsletter-input {
    border-radius: var(--radius-md);
  }
  .newsletter-btn {
    border-radius: var(--radius-md);
    width: 100%;
  }
  .floating-call-btn span {
    display: none;
  }
  .floating-call-btn {
    padding: 0.85rem;
    border-radius: 50%;
  }
}


/* BIMM Global Services Credit */
.bimm-credit {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.85rem;
  color: #CBD5E1;
}

.bimm-credit span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.bimm-credit strong {
  color: #FFFFFF;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.bimm-logo-img {
  height: 28px;
  width: 28px;
  object-fit: contain;
  border-radius: 4px;
  background: #FFFFFF;
  padding: 2px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
  transition: transform 0.2s ease;
  vertical-align: middle;
}

.bimm-logo-img:hover {
  transform: scale(1.15);
}


/* ==========================================================================
   INSURANCE CREDENTIALING SUBPAGE STYLES
   ========================================================================== */

.page-hero {
  background: var(--primary-gradient);
  padding: 2.75rem 0 2.25rem;
  position: relative;
  overflow: hidden;
  color: #FFFFFF;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(20, 184, 166, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.page-hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.breadcrumb-nav {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 0.85rem;
}

.breadcrumb-nav a {
  color: #FFFFFF;
  transition: var(--transition);
}

.breadcrumb-nav a:hover {
  color: var(--accent);
}

.breadcrumb-nav i {
  font-size: 0.7rem;
  color: var(--accent);
}

.page-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(20, 184, 166, 0.18);
  border: 1px solid rgba(20, 184, 166, 0.4);
  color: var(--accent-light);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.35rem 0.85rem;
  border-radius: 50px;
  margin-bottom: 0.75rem;
}

.page-hero-title {
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1.3;
  color: #FFFFFF;
  margin-bottom: 0.75rem;
  font-family: var(--font-alt);
}

.page-hero-desc {
  font-size: 0.9rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 1.25rem;
}

.page-hero-actions {
  display: flex;
  gap: 0.85rem;
  flex-wrap: wrap;
}

.page-hero-img-wrapper {
  position: relative;
  text-align: center;
}

.page-hero-img-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 380px;
}

.page-hero-img {
  width: 100%;
  max-width: 440px;
  max-height: 440px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 20px 35px rgba(0, 0, 0, 0.28));
  animation: heroFloat 5s ease-in-out infinite alternate;
}

.floating-pill {
  position: absolute;
  bottom: 1rem;
  left: 0;
  background: #FFFFFF;
  color: var(--primary);
  padding: 0.65rem 1rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 700;
  font-size: 0.85rem;
  border-left: 4px solid var(--accent);
  z-index: 3;
}

.floating-pill i {
  color: #10B981;
  font-size: 1.2rem;
}

/* Fields of Expertise Grid */
.cred-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
  margin-top: 1.75rem;
}

.cred-card {
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.35rem 1.15rem;
  transition: var(--transition);
  position: relative;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.cred-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent);
}

.cred-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: #E6F4FF;
  color: #14B8A6;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-bottom: 0.85rem;
  transition: var(--transition);
}

.cred-card:hover .cred-card-icon {
  background: #14B8A6;
  color: #FFFFFF;
}

.cred-card-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.5rem;
  font-family: var(--font-alt);
}

.cred-card-text {
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--text-body);
  flex-grow: 1;
}

/* Mid-Page CTA Banner */
.cred-cta-banner {
  background: var(--primary-gradient);
  border-radius: var(--radius-lg);
  padding: 2rem 2rem;
  color: #FFFFFF;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1.5rem;
  align-items: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.cred-cta-banner::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: radial-gradient(circle at top right, rgba(20, 184, 166, 0.15), transparent 60%);
  pointer-events: none;
}

.cred-cta-content {
  position: relative;
  z-index: 2;
}

.cred-cta-heading {
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.5;
  margin-bottom: 1.25rem;
  color: #FFFFFF;
  font-family: var(--font-alt);
}

.cred-cta-img-wrap {
  position: relative;
  z-index: 2;
  text-align: center;
}

.cred-cta-img {
  max-width: 100%;
  max-height: 240px;
  object-fit: contain;
  filter: drop-shadow(0 15px 25px rgba(0,0,0,0.3));
}

/* Step-by-Step Process */
.step-by-step-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2rem;
  align-items: center;
  margin-top: 1.5rem;
}

.steps-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.step-card-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 0.85rem 1.15rem;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.step-card-item:hover {
  transform: translateX(4px);
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
}

.step-badge-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--primary);
  color: #FFFFFF;
  font-weight: 800;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 2px solid var(--accent);
}

.step-card-text {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-dark);
  line-height: 1.45;
  padding-top: 0.2rem;
}

.cred-trust-callout {
  margin-top: 1.25rem;
  background: rgba(20, 184, 166, 0.1);
  border-left: 4px solid var(--accent);
  padding: 1rem 1.25rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: var(--primary-dark);
  font-weight: 600;
  font-size: 0.9rem;
  line-height: 1.55;
}

.process-diagram-wrap {
  text-align: center;
  background: #FFFFFF;
  padding: 1.5rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-md);
}

.process-diagram-wrap img {
  border-radius: var(--radius-sm);
  max-width: 100%;
}

/* Responsive adjustments */
@media (max-width: 991px) {
  .page-hero-grid,
  .cred-cta-banner,
  .step-by-step-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .page-hero-title {
    font-size: 1.85rem;
  }
  .cred-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .cred-cta-banner {
    padding: 2.5rem 1.75rem;
  }
  .cred-cta-heading {
    font-size: 1.35rem;
  }
  .floating-pill {
    position: static;
    margin-top: 1rem;
    display: inline-flex;
  }
}

@media (max-width: 640px) {
  .cred-cards-grid {
    grid-template-columns: 1fr;
  }
  .page-hero {
    padding: 3.5rem 0 3rem;
  }
  .page-hero-title {
    font-size: 1.5rem;
  }
  .step-card-item {
    padding: 1rem;
  }
  .step-badge-num {
    width: 36px;
    height: 36px;
    font-size: 0.95rem;
  }
  .step-card-text {
    font-size: 0.92rem;
  }
}


/* ==========================================================================
   PARTICLE CANVAS & ENTRANCE ANIMATIONS (Coding Ke Mutabiq)
   ========================================================================== */

.hero-particles-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.animate-float-y {
  animation: floatYAnimation 4.5s ease-in-out infinite alternate;
}

@keyframes floatYAnimation {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-16px);
  }
  100% {
    transform: translateY(0px);
  }
}

.animated-slow {
  animation-duration: 1.2s;
  animation-fill-mode: both;
}

.fadeInLeft {
  animation-name: fadeInLeftKeyframe;
}

.fadeInRight {
  animation-name: fadeInRightKeyframe;
}

.fadeInUp {
  animation-name: fadeInUpKeyframe;
}

@keyframes fadeInLeftKeyframe {
  from {
    opacity: 0;
    transform: translate3d(-35px, 0, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes fadeInRightKeyframe {
  from {
    opacity: 0;
    transform: translate3d(35px, 0, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes fadeInUpKeyframe {
  from {
    opacity: 0;
    transform: translate3d(0, 30px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

/* Hero Check List (Medical Billing) */
.hero-check-list {
  list-style: none;
  margin: 0.85rem 0 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.hero-check-list li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: #FFFFFF;
}

.hero-check-list li i {
  color: var(--accent);
  font-size: 1.1rem;
  flex-shrink: 0;
}

/* Medical Billing 2-Column Cards Grid */
.billing-grid-2col {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.15rem;
  margin-top: 1.5rem;
}

.billing-item-card {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.15rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.billing-item-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: var(--shadow-lg);
}

.billing-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(20, 184, 166, 0.12);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
  transition: var(--transition);
}

.billing-item-card:hover .billing-card-icon {
  background: var(--accent);
  color: #FFFFFF;
}

.billing-card-body h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.35rem;
  font-family: var(--font-alt);
}

.billing-card-body p {
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--text-body);
}

.billing-summary-box {
  margin-top: 1.75rem;
  background: #FFFFFF;
  border-left: 4px solid var(--accent);
  border-radius: var(--radius-sm);
  padding: 1.25rem 1.5rem;
  box-shadow: var(--shadow-md);
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--text-dark);
}

@media (max-width: 991px) {
  .billing-grid-2col {
    grid-template-columns: 1fr;
  }
}


/* ==========================================================================
   MEDICAL TRANSCRIPTION SUBPAGE STYLES
   ========================================================================== */

.two-col-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}

.two-col-showcase.reverse {
  direction: rtl;
}

.two-col-showcase.reverse > * {
  direction: ltr;
}

.showcase-content h2 {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 0.75rem;
  line-height: 1.3;
  font-family: var(--font-alt);
}

.showcase-content p {
  font-size: 0.925rem;
  line-height: 1.65;
  color: var(--text-body);
  margin-bottom: 0.85rem;
}

.showcase-img-wrap {
  text-align: center;
}

.showcase-img-wrap img {
  max-width: 100%;
  max-height: 320px;
  object-fit: contain;
  margin: 0 auto;
}

/* Why Choose Transcription Grid (5 Cards) */
.transcription-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
  margin-top: 1.75rem;
}

.transcription-card {
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.15rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.transcription-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: var(--shadow-lg);
}

.transcription-card-icon {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  background: rgba(11, 83, 148, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.85rem;
  transition: var(--transition);
}

.transcription-card-icon img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.transcription-card:hover .transcription-card-icon {
  background: var(--accent);
}

.transcription-card-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
  font-family: var(--font-alt);
}

.transcription-card-desc {
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--text-body);
  flex-grow: 1;
}

@media (max-width: 991px) {
  .two-col-showcase {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .two-col-showcase.reverse {
    direction: ltr;
  }
  .transcription-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .transcription-grid {
    grid-template-columns: 1fr;
  }
}

/* ========================================================
   SPECIALTIES WE COVER SECTION & SPECIALTIES PAGE
   ======================================================== */
.specialties-cover-section {
  padding: 2.5rem 0;
  background-color: #f8fafc;
}

.specialties-cover-header {
  text-align: center;
  margin-bottom: 1.5rem;
}

.specialties-cover-header .section-title {
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--primary);
  margin-top: 0.35rem;
  letter-spacing: -0.02em;
}

.specialties-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.75rem 0.65rem;
}

.speciality-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 12px 8px;
  background: transparent;
  border-radius: 12px;
  transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
  position: relative;
  cursor: pointer;
  border: 1px solid transparent;
  min-height: auto;
}

.speciality-box:hover {
  background: #ffffff;
  box-shadow: 0 8px 24px rgba(11, 83, 148, 0.1), 0 2px 6px rgba(0, 0, 0, 0.04);
  transform: translateY(-3px);
  border-color: rgba(20, 184, 166, 0.2);
  z-index: 5;
}

.speciality-img-wrap {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 6px;
  transition: transform 0.3s ease;
}

.speciality-img-wrap img {
  max-width: 40px;
  max-height: 40px;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.06));
  transition: transform 0.3s ease;
}

.speciality-box:hover .speciality-img-wrap img {
  transform: scale(1.1);
}

.speciality-box-title {
  font-size: 0.88rem;
  font-weight: 600;
  color: #1e293b;
  line-height: 1.35;
  margin: 0;
  transition: color 0.3s ease;
}

.speciality-box:hover .speciality-box-title {
  color: var(--primary);
}

/* Used By Section (Specialties Page) */
.used-by-section {
  padding: 2.5rem 0;
  background: #ffffff;
}

.used-by-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem 1.5rem;
  margin-top: 1.5rem;
}

.used-by-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.75rem 1rem;
  background: #f8fafc;
  border-radius: 10px;
  border-left: 4px solid var(--accent);
  transition: var(--transition);
}

.used-by-item:hover {
  background: #ffffff;
  box-shadow: 0 6px 18px rgba(11, 83, 148, 0.08);
  transform: translateX(4px);
}

.used-by-item i {
  color: var(--accent);
  font-size: 1.15rem;
  flex-shrink: 0;
}

.used-by-item span {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--primary);
}

/* Don't See Your Specialty Banner */
.specialty-cta-banner {
  margin-top: 2.5rem;
  background: #0B5394;
  border-radius: 16px;
  padding: 2rem 1.75rem;
  text-align: center;
  color: #ffffff;
  box-shadow: 0 16px 36px rgba(11, 83, 148, 0.2);
  position: relative;
  overflow: hidden;
}

.specialty-cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(20, 184, 166, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.specialty-cta-banner h3 {
  font-size: 1.75rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.specialty-cta-banner p {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.88);
  max-width: 680px;
  margin: 0 auto 1.25rem;
  line-height: 1.55;
}

@media (max-width: 900px) {
  .specialties-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 820px) {
  .specialties-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.2rem;
  }
  .used-by-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 580px) {
  .specialties-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.85rem;
  }
  .speciality-box {
    padding: 1.25rem 0.6rem;
  }
  .speciality-img-wrap {
    width: 44px;
    height: 44px;
    margin-bottom: 0.65rem;
  }
  .speciality-img-wrap img {
    max-width: 38px;
    max-height: 38px;
  }
  .speciality-box-title {
    font-size: 0.88rem;
  }
  .specialty-cta-banner {
    padding: 2.5rem 1.5rem;
  }
  .specialty-cta-banner h3 {
    font-size: 1.6rem;
  }
}

/* ========================================================
   ABOUT US PAGE STYLES
   ======================================================== */
.about-arrow-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem 1.5rem;
  margin: 1.5rem 0 2rem;
  list-style: none;
  padding: 0;
}

.about-arrow-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--primary);
}

.about-arrow-list li i {
  color: var(--accent);
  font-size: 1.15rem;
  flex-shrink: 0;
}

.about-check-list {
  list-style: none;
  padding: 0;
  margin: 1.25rem 0 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.about-check-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-dark);
}

.about-check-list li i {
  color: var(--accent);
  font-size: 1.15rem;
  flex-shrink: 0;
}

/* Progress Bars */
.about-progress-wrap {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 2rem;
}

.about-progress-item {
  width: 100%;
}

.about-progress-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--primary);
}

.about-progress-header span.pct {
  color: var(--accent);
  font-weight: 800;
}

.about-progress-track {
  width: 100%;
  height: 10px;
  background: #E2E8F0;
  border-radius: 999px;
  overflow: hidden;
  position: relative;
}

.about-progress-fill {
  height: 100%;
  border-radius: 999px;
  background: #14B8A6;
  transition: width 1.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* Promo Boxes / More Services */
.promo-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.promo-card {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.75rem 1.5rem;
  box-shadow: 0 10px 25px rgba(11, 83, 148, 0.1);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.promo-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 36px rgba(11, 83, 148, 0.16);
}

.promo-card-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transition: transform 0.7s ease;
  z-index: 1;
}

.promo-card:hover .promo-card-bg {
  transform: scale(1.06);
}

.promo-card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(11, 83, 148, 0.4) 0%, rgba(11, 83, 148, 0.95) 80%);
  z-index: 2;
  transition: background 0.4s ease;
}

.promo-card:hover .promo-card-overlay {
  background: linear-gradient(180deg, rgba(11, 83, 148, 0.4) 0%, rgba(11, 83, 148, 0.95) 80%);
}

.promo-card-content {
  position: relative;
  z-index: 3;
  color: #ffffff;
}

.promo-card-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.45rem;
  font-family: var(--font-alt);
}

.promo-card-desc {
  font-size: 0.88rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 1rem;
}

@media (max-width: 820px) {
  .promo-cards-grid {
    grid-template-columns: 1fr;
  }
  .about-arrow-list {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   CONTACT US PAGE STYLES
   ========================================================================== */
.contact-hero-image-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
}

.contact-hero-image-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 380px;
}

.contact-hero-img {
  width: 100%;
  max-width: 440px;
  max-height: 440px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 20px 35px rgba(0, 0, 0, 0.25));
  animation: heroFloat 5s ease-in-out infinite alternate;
}

.contact-main-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 1.75rem;
  align-items: start;
}

.contact-info-panel {
  background: #ffffff;
  border-radius: 14px;
  padding: 1.75rem 1.5rem;
  box-shadow: 0 10px 30px rgba(11, 83, 148, 0.08);
  border: 1px solid rgba(11, 83, 148, 0.08);
}

.contact-info-panel .section-title {
  margin-bottom: 0.75rem;
  font-size: 1.85rem;
}

.contact-info-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.contact-direct-items {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.contact-direct-card {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.75rem 1rem;
  border-radius: 10px;
  background: var(--bg-light);
  border: 1px solid rgba(11, 83, 148, 0.06);
  transition: all 0.3s ease;
  text-decoration: none;
  color: inherit;
}

.contact-direct-card:hover {
  background: #ffffff;
  border-color: var(--accent);
  box-shadow: 0 6px 18px rgba(20, 184, 166, 0.15);
  transform: translateX(4px);
}

.contact-direct-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: #0B5394;
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.contact-direct-card:hover .contact-direct-icon {
  transform: scale(1.08);
  background: var(--accent);
  color: var(--primary-dark);
}

.contact-direct-text .contact-direct-label {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  font-weight: 700;
  color: var(--accent-dark);
  margin-bottom: 0.15rem;
}

.contact-direct-text .contact-direct-val {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--primary);
  margin: 0;
}

.contact-map-wrapper {
  margin-top: 1.25rem;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(11, 83, 148, 0.08);
  border: 1px solid rgba(11, 83, 148, 0.1);
}

.contact-map-wrapper iframe {
  width: 100%;
  height: 200px;
  display: block;
  border: 0;
}

/* Contact Form Card */
.contact-form-card {
  background: #ffffff;
  border-radius: 14px;
  padding: 1.75rem 1.75rem;
  box-shadow: 0 10px 30px rgba(11, 83, 148, 0.08);
  border: 1px solid rgba(11, 83, 148, 0.08);
  position: relative;
}

.contact-form-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: #14B8A6;
  border-radius: 14px 14px 0 0;
}

.contact-form-header {
  margin-bottom: 1.15rem;
}

.contact-form-header .sub-badge {
  margin-bottom: 0.35rem;
}

.contact-form-title {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 0.25rem;
  font-family: var(--font-alt);
}

.contact-form-subtitle {
  font-size: 0.95rem;
  color: var(--accent-dark);
  font-weight: 600;
}

.contact-form-group {
  margin-bottom: 0.85rem;
}

.contact-form-label {
  display: block;
  font-size: 0.825rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 0.35rem;
}

.contact-form-input,
.contact-form-textarea {
  width: 100%;
  padding: 0.65rem 0.95rem;
  border: 1.5px solid #d9e2ec;
  border-radius: 8px;
  font-size: 0.9rem;
  font-family: var(--font-base);
  color: var(--text-dark);
  background: #f8fafc;
  transition: all 0.25s ease;
}

.contact-form-input:focus,
.contact-form-textarea:focus {
  outline: none;
  background: #ffffff;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(11, 83, 148, 0.1);
}

.contact-form-textarea {
  resize: vertical;
  min-height: 80px;
}

/* Compliance Checkboxes */
.contact-check-group {
  margin-bottom: 0.85rem;
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
}

.contact-check-group input[type="checkbox"] {
  width: 16px;
  height: 16px;
  margin-top: 2px;
  accent-color: var(--primary);
  cursor: pointer;
  flex-shrink: 0;
}

.contact-check-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.45;
  cursor: pointer;
}

.contact-sms-consent {
  background: #f8fafc;
  border-left: 3px solid var(--accent);
  padding: 0.65rem 0.85rem;
  border-radius: 0 8px 8px 0;
  margin-bottom: 0.85rem;
}

.contact-sms-consent .contact-check-label {
  font-size: 0.75rem;
  color: #627d98;
}

/* Radio Group */
.contact-radio-group {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  margin-bottom: 1.15rem;
  padding: 0.5rem 0.85rem;
  background: var(--bg-light);
  border-radius: 8px;
}

.contact-radio-label {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary);
  cursor: pointer;
}

.contact-radio-label input[type="radio"] {
  accent-color: var(--accent);
  width: 15px;
  height: 15px;
  cursor: pointer;
}

.contact-submit-btn {
  width: 100%;
  padding: 0.8rem 1.5rem;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: 8px;
  background: #0B5394;
  color: #ffffff;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  box-shadow: 0 4px 14px rgba(11, 83, 148, 0.25);
}

.contact-submit-btn:hover {
  background: var(--accent);
  color: var(--primary-dark);
  box-shadow: 0 8px 20px rgba(20, 184, 166, 0.35);
  transform: translateY(-2px);
}

/* 3-Column Details Section */
.contact-details-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
  margin-top: 1.75rem;
}

.contact-detail-card {
  background: #ffffff;
  border-radius: 14px;
  padding: 1.2rem 1.1rem;
  text-align: center;
  box-shadow: 0 8px 24px rgba(11, 83, 148, 0.06);
  border: 1px solid rgba(11, 83, 148, 0.08);
  transition: all 0.35s ease;
  position: relative;
  overflow: hidden;
}

.contact-detail-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--accent);
  transition: height 0.3s ease;
}

.contact-detail-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(11, 83, 148, 0.12);
  border-color: var(--accent);
}

.contact-detail-card:hover::before {
  height: 5px;
}

.contact-detail-icon-wrap {
  width: 54px;
  height: 54px;
  margin: 0 auto 1rem auto;
  border-radius: 50%;
  background: #E6F4FF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  color: var(--accent-dark);
  transition: all 0.35s ease;
}

.contact-detail-card:hover .contact-detail-icon-wrap {
  background: var(--primary);
  color: var(--accent);
  transform: scale(1.1) rotate(5deg);
}

.contact-detail-card h3 {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.65rem;
  font-family: var(--font-alt);
}

.contact-detail-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.contact-detail-card .contact-detail-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--primary);
  text-decoration: none;
  padding: 0.65rem 1.35rem;
  border-radius: 8px;
  background: var(--bg-light);
  border: 1px solid rgba(11, 83, 148, 0.1);
  transition: all 0.25s ease;
}

.contact-detail-card .contact-detail-cta:hover {
  background: var(--primary);
  color: var(--accent);
  border-color: var(--primary);
}

@media (max-width: 900px) {
  .contact-main-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .contact-details-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .contact-form-card {
    padding: 2rem 1.5rem;
  }
  .contact-info-panel {
    padding: 2rem 1.5rem;
  }
}

/* ==========================================================================
   SPECIALTIES PAGE STYLES (MATCHING REFERENCE EXACTLY)
   ========================================================================== */
.spec-hero-img-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
}

.spec-hero-img {
  max-width: 100%;
  max-height: 320px;
  border-radius: 14px;
  box-shadow: 0 12px 30px rgba(11, 83, 148, 0.16);
  object-fit: cover;
}

/* Used By Section */
.spec-used-by-section {
  padding: 2.5rem 0 2rem 0;
  background: #f8fafc;
  border-bottom: 1px solid rgba(11, 83, 148, 0.06);
}

.spec-used-by-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem 1.5rem;
  max-width: 960px;
  margin: 1.5rem auto 0 auto;
}

.spec-used-by-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.75rem 1.15rem;
  background: #ffffff;
  border-radius: 10px;
  border: 1px solid rgba(11, 83, 148, 0.08);
  box-shadow: 0 4px 15px rgba(11, 83, 148, 0.04);
  transition: all 0.3s ease;
}

.spec-used-by-item:hover {
  transform: translateY(-2px);
  border-color: var(--accent);
  box-shadow: 0 6px 18px rgba(20, 184, 166, 0.15);
}

.spec-used-by-item i {
  color: #10B981;
  font-size: 1.15rem;
  flex-shrink: 0;
}

.spec-used-by-item span {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--primary);
}

/* Specialties We Cover Section */
.specialties-cover-section {
  padding: 2.5rem 0;
  background: #ffffff;
}

.specialties-header {
  margin-bottom: 1.5rem;
  text-align: left;
}

.specialties-header .section-title {
  font-size: 2.1rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 0.35rem;
  letter-spacing: -0.5px;
}

/* 5 Column Grid Matching Reference Screenshot Exactly */
.specialties-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.75rem 0.65rem;
}

.speciality-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  padding: 12px 8px;
  border-radius: 12px;
  background: transparent;
  border: 1px solid transparent;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  position: relative;
  min-height: auto;
}

.speciality-box:hover {
  background: #ffffff;
  box-shadow: 0 8px 24px rgba(11, 83, 148, 0.1);
  transform: translateY(-3px);
  border-color: rgba(20, 184, 166, 0.2);
}

.speciality-img {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 6px;
  transition: transform 0.3s ease;
}

.speciality-img img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.speciality-box:hover .speciality-img img {
  transform: scale(1.1);
}

.speciality-box-title {
  font-size: 0.88rem;
  font-weight: 500;
  color: #222222;
  line-height: 1.35;
  margin: 0;
  font-family: var(--font-base);
  transition: color 0.25s ease;
}

.speciality-box:hover .speciality-box-title {
  color: var(--primary);
  font-weight: 600;
}

/* Don't See Your Specialty Section */
.dont-see-spec-section {
  padding: 2.5rem 0;
  background: var(--bg-light);
  border-top: 1px solid rgba(11, 83, 148, 0.06);
}

.dont-see-card {
  max-width: 820px;
  margin: 0 auto;
  background: #ffffff;
  border-radius: 16px;
  padding: 2rem 2rem;
  box-shadow: 0 10px 30px rgba(11, 83, 148, 0.08);
  border: 1px solid rgba(11, 83, 148, 0.08);
  position: relative;
}

.dont-see-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: #14B8A6;
  border-radius: 16px 16px 0 0;
}

.dont-see-header {
  text-align: center;
  margin-bottom: 1.5rem;
}

.dont-see-title {
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 0.45rem;
  font-family: var(--font-alt);
}

.dont-see-subtitle {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.dont-see-form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem;
  margin-bottom: 1rem;
}

.dont-see-form-group {
  margin-bottom: 0;
}

.dont-see-input {
  width: 100%;
  padding: 0.65rem 1rem;
  border: 1.5px solid #E5E7EB;
  border-radius: 8px;
  font-size: 0.9rem;
  font-family: var(--font-base);
  color: var(--text-dark);
  background: #FFFFFF;
  transition: all 0.25s ease;
}

.dont-see-input:focus {
  outline: none;
  background: #FFFFFF;
  border-color: #0B5394;
  box-shadow: 0 0 0 3px rgba(11, 83, 148, 0.15);
}

.dont-see-submit-btn {
  width: 100%;
  padding: 0.8rem 1.5rem;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: 8px;
  background: #0B5394;
  color: #FFFFFF;
  border: 2px solid #0B5394;
  cursor: pointer;
  transition: all 0.25s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  box-shadow: 0 4px 14px rgba(11, 83, 148, 0.25);
}

.dont-see-submit-btn:hover {
  background: #083D6E;
  border-color: #083D6E;
  color: #FFFFFF;
  box-shadow: 0 8px 22px rgba(11, 83, 148, 0.35);
  transform: translateY(-2px);
}

/* Responsive Media Queries */
@media (max-width: 900px) {
  .specialties-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 860px) {
  .specialties-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .spec-used-by-grid {
    grid-template-columns: 1fr;
  }
  .dont-see-form-grid {
    grid-template-columns: 1fr;
  }
  .dont-see-card {
    padding: 2.5rem 1.75rem;
  }
}

@media (max-width: 580px) {
  .specialties-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem 0.75rem;
  }
  .speciality-box {
    padding: 16px 10px;
  }
  .speciality-img {
    width: 44px;
    height: 44px;
  }
  .speciality-img img {
    width: 42px;
    height: 42px;
  }
  .speciality-box-title {
    font-size: 0.85rem;
  }
}

/* ==========================================================================
   ABOUT US PAGE ENHANCEMENTS (MATCHING REFERENCE EXACTLY)
   ========================================================================== */
.page-hero .about-arrow-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem 1.75rem;
  margin: 1.5rem 0 2rem;
  list-style: none;
  padding: 0;
}

.page-hero .about-arrow-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.98rem;
  font-weight: 600;
  color: #FFFFFF;
}

.page-hero .about-arrow-list li i {
  color: var(--accent);
  font-size: 1.15rem;
  flex-shrink: 0;
}

.about-page .showcase-img-wrap {
  text-align: center;
  position: relative;
}

.about-page .showcase-img-wrap img {
  max-width: 100%;
  max-height: 320px;
  border-radius: 14px;
  box-shadow: 0 12px 30px rgba(11, 83, 148, 0.14);
  object-fit: cover;
  transition: all 0.4s ease;
}

.about-page .showcase-img-wrap:hover img {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 25px 45px rgba(11, 83, 148, 0.22);
}

.about-offerings-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
  margin-top: 1.75rem;
  margin-bottom: 0.5rem;
}

@media (max-width: 768px) {
  .page-hero .about-arrow-list {
    grid-template-columns: 1fr;
    gap: 0.65rem;
  }
}


/* ==========================================================================
   SCROLL REVEAL ANIMATION ENGINE (CUSTOM DIRECTIONAL SYSTEM)
   ========================================================================== */
.reveal-init {
  opacity: 0 !important;
  transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.85s cubic-bezier(0.16, 1, 0.3, 1) !important;
  will-change: opacity, transform;
}

/* Direction 1: Pop up from Bottom (Large sections, banners, pills, payers) */
.reveal-up {
  transform: translate3d(0, 50px, 0);
}

/* Direction 2: Animate from Top (Middle box in first line of 3-column / 4-column grids) */
.reveal-down {
  transform: translate3d(0, -50px, 0);
}

/* Direction 3: Animate from Left (Left boxes, left lines, left images) */
.reveal-left {
  transform: translate3d(-60px, 0, 0);
}

/* Direction 4: Animate from Right (Right boxes, right lines, right details) */
.reveal-right {
  transform: translate3d(60px, 0, 0);
}

/* Active / Revealed State: Triggered when scrolled into view */
.reveal-init.revealed {
  opacity: 1 !important;
  transform: translate3d(0, 0, 0) scale(1) !important;
}

/* Progressive Stagger Delays */
.reveal-delay-1 { transition-delay: 0.08s !important; }
.reveal-delay-2 { transition-delay: 0.16s !important; }
.reveal-delay-3 { transition-delay: 0.24s !important; }
.reveal-delay-4 { transition-delay: 0.32s !important; }
.reveal-delay-5 { transition-delay: 0.40s !important; }
.reveal-delay-6 { transition-delay: 0.48s !important; }

/* Accessibility fallback */
@media (prefers-reduced-motion: reduce) {
  .reveal-init {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}


/* Hide 'Specialties we cover:' section on mobile view only */
@media (max-width: 768px) {
  #specialties.specialties-cover-section {
    display: none !important;
  }
}


/* ==========================================================================
   MOBILE HEADER LOGO & SLIDE-DOWN ANIMATIONS
   ========================================================================== */
.mobile-nav-brand {
  display: none;
}

@keyframes slideDownMobileNav {
  0% {
    opacity: 0;
    transform: translate3d(0, -22px, 0);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes slideDownServicesDropdown {
  0% {
    opacity: 0;
    transform: translate3d(0, -14px, 0);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@media (max-width: 900px) {
  .mobile-nav-brand {
    display: flex !important;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: #FFFFFF;
  }
  .mobile-nav-logo-img {
    height: 38px;
    width: auto;
    border-radius: 6px;
    object-fit: contain;
    background: #FFFFFF;
    padding: 2px;
    border: 1px solid rgba(255, 255, 255, 0.2);
  }
  .mobile-nav-logo-text {
    font-family: var(--font-alt);
    font-size: 1.05rem;
    font-weight: 800;
    color: #FFFFFF;
    letter-spacing: 0.5px;
    line-height: 1.1;
  }
  .mobile-nav-logo-text span {
    color: var(--accent);
  }
  .main-nav-inner {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    min-height: 58px;
    padding: 0.35rem 0;
    gap: 0.5rem;
  }
  .nav-cta-btn {
    font-size: 0.78rem !important;
    padding: 0.45rem 0.75rem !important;
    white-space: nowrap;
  }
  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--primary) !important;
    flex-direction: column;
    padding: 1.25rem 1.5rem;
    gap: 0.5rem;
    display: none;
    box-shadow: 0 15px 35px rgba(11, 83, 148, 0.35) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
    z-index: 1001;
  }
  .nav-menu.open {
    display: flex !important;
    animation: slideDownMobileNav 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards !important;
  }
  .dropdown-menu {
    display: none;
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.06) !important;
    border-radius: var(--radius-sm);
    margin-top: 0.4rem;
    padding: 0.4rem 0.8rem;
  }
  .dropdown-menu.open {
    display: block !important;
    animation: slideDownServicesDropdown 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards !important;
  }
}

@media (max-width: 400px) {
  .mobile-nav-logo-text {
    font-size: 0.92rem;
  }
  .mobile-nav-logo-img {
    height: 32px;
  }
  .nav-cta-btn {
    font-size: 0.72rem !important;
    padding: 0.4rem 0.55rem !important;
  }
}

/* ==========================================================================
   RESPONSIVE COMPACT HEADING FOR PAYERS SECTION (MOBILE VIEW ONLY)
   ========================================================================== */
@media (max-width: 768px) {
  .payers-section {
    padding: 2.25rem 0 !important;
  }
  .payers-section .section-header {
    margin-bottom: 1.25rem !important;
    padding: 0 0.5rem;
  }
  .payers-section .badge {
    margin-bottom: 0.5rem !important;
    font-size: 0.72rem !important;
    padding: 0.28rem 0.75rem !important;
  }
  .payers-section .section-title {
    font-size: 1.26rem !important;
    line-height: 1.38 !important;
    margin-bottom: 0.75rem !important;
    letter-spacing: -0.01em !important;
    word-break: normal !important;
  }
  .payers-pills {
    gap: 0.45rem !important;
    margin-bottom: 1.25rem !important;
    padding: 0 0.25rem;
  }
  .payer-pill {
    padding: 0.35rem 0.8rem !important;
    font-size: 0.78rem !important;
  }
  .payers-marquee-wrapper {
    padding: 0.5rem 0 !important;
  }
}

@media (max-width: 480px) {
  .payers-section .section-title {
    font-size: 1.18rem !important;
    line-height: 1.35 !important;
  }
}

/* ==========================================================================
   MASTER SITE FOOTER - CLEAN LIGHT / WHITE THEME (DESKTOP & MOBILE)
   ========================================================================== */
.site-footer {
  background: #FFFFFF !important;
  color: #1F2937 !important;
  padding-top: 2.75rem;
  padding-bottom: 1.75rem;
  border-top: 1px solid #E5E7EB !important;
  box-shadow: 0 -4px 25px rgba(11, 83, 148, 0.05) !important;
}

.site-footer .brand-main-name {
  color: var(--primary) !important;
}

.site-footer .brand-sub-tag {
  color: var(--text-muted) !important;
}

.site-footer .footer-brand-block p {
  color: #1F2937 !important;
}

.site-footer .footer-col-title {
  color: var(--primary) !important;
  font-weight: 800 !important;
}

.site-footer .footer-col-title::after {
  background: var(--accent) !important;
}

.site-footer .footer-links-list a {
  color: #111827 !important;
  font-weight: 500;
}

.site-footer .footer-links-list a:hover {
  color: var(--primary) !important;
  transform: translateX(4px);
}

.site-footer .footer-links-list a i {
  color: var(--accent) !important;
}

.site-footer .footer-contact-item {
  color: #1F2937 !important;
}

.site-footer .footer-contact-item i {
  color: var(--accent) !important;
}

.site-footer .footer-contact-item a {
  color: #1F2937 !important;
}

.site-footer .footer-contact-item a:hover {
  color: var(--primary) !important;
}

.site-footer .social-link {
  background: #F3F6FA !important;
  color: var(--primary) !important;
  border: 1px solid #E5E7EB !important;
}

.site-footer .social-link:hover {
  background: var(--accent) !important;
  color: #FFFFFF !important;
  border-color: var(--accent) !important;
  transform: translateY(-3px);
}

.site-footer .footer-bottom-bar {
  border-top: 1px solid #E5E7EB !important;
  color: #111827 !important;
  padding-top: 1.75rem;
  font-weight: 500;
}

.site-footer .footer-bottom-bar p {
  color: #111827 !important;
  font-weight: 500;
}

.site-footer .bimm-credit {
  color: #111827 !important;
  font-weight: 500;
}

.site-footer .bimm-credit strong {
  color: var(--primary) !important;
}

.site-footer .bimm-logo-img {
  border: 1px solid #E5E7EB !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}


/* ==========================================================================
   MOBILE LOGO HEADER (WHITE TOP-HEADER ON MOBILE AS IN REFERENCE)
   ========================================================================== */
@media (max-width: 900px) {
  .top-header {
    display: block !important;
    background: #FFFFFF !important;
    padding: 0.65rem 0 !important;
    border-bottom: 1px solid #E2E8F0 !important;
    position: relative;
    z-index: 999;
  }
  .top-header-inner {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 1rem !important;
  }
  .top-header .brand-wrapper {
    display: flex !important;
    align-items: center !important;
    gap: 0.75rem !important;
    text-decoration: none !important;
  }
  .top-header .brand-logo-img {
    height: 44px !important;
    width: auto !important;
    border-radius: 6px !important;
  }
  .top-header .brand-main-name {
    font-size: 1.25rem !important;
    font-weight: 800 !important;
    color: var(--primary) !important;
    line-height: 1.15 !important;
  }
  .top-header .brand-main-name span {
    color: var(--accent) !important;
  }
  .top-header .brand-sub-tag {
    font-size: 0.72rem !important;
    color: var(--text-muted) !important;
    letter-spacing: 0.4px !important;
  }
  .top-contact-bar {
    display: none !important;
  }

  /* Main Nav Bar in Mobile */
  .mobile-nav-brand {
    display: none !important;
  }
  .main-nav-inner {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    min-height: 52px !important;
    padding: 0.35rem 0 !important;
  }
  .mobile-toggle {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: none !important;
    border: none !important;
    color: #FFFFFF !important;
    font-size: 1.45rem !important;
    cursor: pointer !important;
    padding: 0.4rem 0.6rem !important;
  }
  .nav-cta-btn {
    font-size: 0.8rem !important;
    padding: 0.45rem 0.85rem !important;
    white-space: nowrap !important;
  }
}

/* ==========================================================================
   MOBILE VIEW FOOTER: KEEP ORIGINAL DARK THEME (USER INSTRUCTION)
   ========================================================================== */
@media (max-width: 900px) {
  .site-footer {
    background: var(--primary-dark) !important;
    color: #94A3B8 !important;
    padding-top: 2.25rem !important;
    padding-bottom: 1.5rem !important;
    border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
    box-shadow: none !important;
  }
  .site-footer .brand-main-name {
    color: #FFFFFF !important;
  }
  .site-footer .brand-sub-tag {
    color: var(--text-light) !important;
  }
  .site-footer .footer-brand-block p {
    color: #94A3B8 !important;
  }
  .site-footer .footer-col-title {
    color: #FFFFFF !important;
  }
  .site-footer .footer-col-title::after {
    background: var(--accent) !important;
  }
  .site-footer .footer-links-list a {
    color: #94A3B8 !important;
  }
  .site-footer .footer-links-list a:hover {
    color: #FFFFFF !important;
  }
  .site-footer .footer-contact-item {
    color: #94A3B8 !important;
  }
  .site-footer .footer-contact-item i {
    color: var(--accent-light) !important;
  }
  .site-footer .footer-contact-item a {
    color: #94A3B8 !important;
  }
  .site-footer .footer-contact-item a:hover {
    color: #FFFFFF !important;
  }
  .site-footer .social-link {
    background: rgba(255, 255, 255, 0.08) !important;
    color: #FFFFFF !important;
    border: none !important;
  }
  .site-footer .social-link:hover {
    background: var(--accent) !important;
    color: var(--primary-dark) !important;
  }
  .site-footer .footer-bottom-bar {
    border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
    color: #94A3B8 !important;
    padding-top: 1.5rem !important;
  }
  .site-footer .footer-bottom-bar p {
    color: #94A3B8 !important;
  }
  .site-footer .bimm-credit {
    color: #cbd5e1 !important;
  }
  .site-footer .bimm-credit strong {
    color: #FFFFFF !important;
  }
  .site-footer .bimm-logo-img {
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
  }
}

/* ==========================================================================
   Our Proven Process / Comprehensive RCM Solutions Section
   ========================================================================== */
.section-process {
  background: linear-gradient(180deg, #06223F 0%, #083D6E 100%);
  padding: 2.75rem 0 3rem 0;
  position: relative;
  overflow: hidden;
  color: #FFFFFF;
}

.process-header {
  margin-bottom: 1.75rem;
  text-align: center;
}

.process-kicker {
  display: inline-block;
  color: var(--secondary, #14B8A6);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 0.65rem;
}

.process-header .section-title {
  color: #FFFFFF !important;
  font-size: 2.1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin-bottom: 0;
}

.process-timeline-wrap {
  position: relative;
  width: 100%;
}

/* Connecting track line across desktop (centered behind 60px circles) */
.process-track-line {
  position: absolute;
  top: 30px;
  left: calc(100% / 12);
  right: calc(100% / 12);
  height: 2px;
  background: rgba(20, 184, 166, 0.45);
  z-index: 1;
}

.process-steps-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1rem;
  position: relative;
  z-index: 2;
}

.process-step-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.process-step-item:hover {
  transform: translateY(-4px);
}

.process-node-wrapper {
  margin-bottom: 0.85rem;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.process-circle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--secondary, #14B8A6);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 24px 6px rgba(20, 184, 166, 0.4), 0 0 10px rgba(20, 184, 166, 0.5);
  transition: all 0.3s ease;
  position: relative;
  z-index: 3;
}

.process-step-item:hover .process-circle {
  background: #2DD4BF;
  box-shadow: 0 0 30px 8px rgba(45, 212, 191, 0.5), 0 0 14px rgba(45, 212, 191, 0.7);
  transform: scale(1.05);
}

.process-num {
  font-family: var(--font-alt, 'Poppins', sans-serif);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #FFFFFF;
}

.process-step-body {
  padding: 0 0.15rem;
}

.process-step-title {
  font-size: 1rem;
  font-weight: 700;
  color: #FFFFFF !important;
  line-height: 1.3;
  margin-bottom: 0.35rem;
  font-family: var(--font-main, sans-serif);
}

.process-step-desc {
  font-size: 0.85rem;
  color: #CBD5E1 !important;
  line-height: 1.45;
  margin: 0;
  opacity: 0.9;
}

/* Tablet Layout (<= 900px) */
@media (max-width: 900px) {
  .process-track-line {
    display: none;
  }
  .process-steps-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem 1.5rem;
  }
}

/* Mobile Layout (<= 768px) */
@media (max-width: 768px) {
  .section-process {
    padding: 3.5rem 0 4rem 0;
  }
  .process-header {
    margin-bottom: 2.5rem;
  }
  .process-header .section-title {
    font-size: 2rem;
  }
  .process-track-line {
    display: none;
  }
  .process-steps-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    max-width: 500px;
    margin: 0 auto;
  }
  .process-step-item {
    flex-direction: row;
    align-items: center;
    text-align: left;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-lg, 16px);
    padding: 1.15rem 1.25rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    gap: 1.25rem;
  }
  .process-step-item:hover {
    transform: translateY(-2px);
    border-color: rgba(20, 184, 166, 0.5);
    background: rgba(255, 255, 255, 0.08);
  }
  .process-node-wrapper {
    margin-bottom: 0;
    flex-shrink: 0;
  }
  .process-circle {
    width: 56px;
    height: 56px;
    box-shadow: 0 0 20px 4px rgba(20, 184, 166, 0.4);
  }
  .process-num {
    font-size: 1.15rem;
  }
  .process-step-body {
    padding: 0;
  }
  .process-step-title {
    font-size: 1.05rem;
    margin-bottom: 0.35rem;
  }
  .process-step-desc {
    font-size: 0.88rem;
    line-height: 1.45;
  }
}

/* ==========================================================================
   Specialties Ticker Marquee (Directly Below Hero Section)
   ========================================================================== */
.specialties-ticker-marquee {
  width: 100%;
  overflow: hidden;
  background: #FFFFFF;
  border-top: 1px solid #E5E7EB;
  border-bottom: 1px solid #E5E7EB;
  padding: 18px 0;
  white-space: nowrap;
  position: relative;
  z-index: 10;
}

.specialties-ticker-track {
  display: flex;
  width: max-content;
  animation: scrollSpecialtiesMarquee 70s linear infinite;
}

.specialties-ticker-marquee:hover .specialties-ticker-track {
  animation-play-state: paused;
}

.specialties-ticker-track span {
  color: var(--secondary, #14B8A6);
  font-size: 1.18rem;
  font-weight: 600;
  font-family: var(--font-main, 'Plus Jakarta Sans', sans-serif);
  padding: 0 35px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  letter-spacing: -0.01em;
  transition: color 0.2s ease, transform 0.2s ease;
}

.specialties-ticker-track span:hover {
  color: var(--primary, #0B5394);
  transform: translateY(-1px);
}

@keyframes scrollSpecialtiesMarquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Tablet */
@media (max-width: 768px) {
  .specialties-ticker-marquee {
    padding: 14px 0;
  }
  .specialties-ticker-track span {
    font-size: 1.05rem;
    padding: 0 24px;
  }
}

/* Mobile */
@media (max-width: 480px) {
  .specialties-ticker-marquee {
    padding: 12px 0;
  }
  .specialties-ticker-track span {
    font-size: 0.95rem;
    padding: 0 18px;
  }
}

/* ==========================================================================
   Terms and Conditions Modal & Footer Button
   ========================================================================== */
.footer-terms-btn {
  color: #94A3B8;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: var(--transition);
  cursor: pointer;
  background: none;
  border: none;
  font-size: inherit;
  padding: 0;
}

.footer-terms-btn:hover {
  color: var(--secondary, #14B8A6) !important;
}

.terms-modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(4px);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.terms-modal-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.terms-modal-card {
  background: #FFFFFF;
  border-radius: var(--radius-xl, 24px);
  max-width: 680px;
  width: 100%;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  transform: translateY(20px) scale(0.97);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

.terms-modal-backdrop.active .terms-modal-card {
  transform: translateY(0) scale(1);
}

.terms-modal-header {
  padding: 1.25rem 1.75rem;
  background: var(--primary, #0B5394);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.terms-modal-header h3 {
  color: #FFFFFF;
  font-size: 1.35rem;
  font-weight: 700;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.terms-modal-close {
  background: rgba(255, 255, 255, 0.15);
  border: none;
  color: #FFFFFF;
  font-size: 1.5rem;
  line-height: 1;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}

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

.terms-modal-body {
  padding: 1.75rem;
  overflow-y: auto;
  color: var(--text-dark, #1F2937);
  font-size: 0.95rem;
  line-height: 1.65;
}

.terms-modal-body h4 {
  color: var(--primary, #0B5394);
  font-size: 1.05rem;
  font-weight: 700;
  margin: 1.25rem 0 0.4rem 0;
}

.terms-modal-body h4:first-child {
  margin-top: 0;
}

.terms-modal-body p {
  margin-bottom: 0.85rem;
  color: #374151;
}

.terms-modal-footer {
  padding: 1rem 1.75rem;
  border-top: 1px solid var(--border-color, #E5E7EB);
  background: #F9FAFB;
  display: flex;
  justify-content: flex-end;
}


/* ==========================================================================
   Circular Featured Specialties Section (Home Page)
   ========================================================================== */
.specialties-cover-section {
  padding: 3rem 0 3.25rem;
  background: #FFFFFF;
}

.specialties-cover-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 2.25rem;
}

.specialties-cover-header .section-title {
  font-size: 2.25rem;
  font-weight: 800;
  color: #000000;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}

.specialties-cover-header .section-desc {
  font-size: 1.025rem;
  font-weight: 500;
  color: #111827;
  line-height: 1.55;
  margin: 0 auto;
}

.specialties-circle-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2rem 1.25rem;
  justify-content: center;
  align-items: start;
}

.specialty-circle-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  background: transparent;
  border: none;
  padding: 0;
  transition: transform 0.3s ease;
}

.specialty-circle-wrapper {
  position: relative;
  width: 134px;
  height: 134px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 3.5px solid #0B5394;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(11, 83, 148, 0.08);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.35s ease, border-color 0.35s ease;
  margin: 0 auto;
}

/* Inner concentric ring with vibrant teal/green accent curve */
.specialty-circle-wrapper::before {
  content: '';
  position: absolute;
  inset: 5px;
  border-radius: 50%;
  border: 2px solid rgba(11, 83, 148, 0.14);
  border-top-color: #14B8A6;
  border-left-color: #14B8A6;
  transform: rotate(-25deg);
  pointer-events: none;
  transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1), border-color 0.35s ease;
}

.specialty-icon-img {
  position: relative;
  z-index: 2;
  width: 62px;
  height: 62px;
  max-width: 62px;
  max-height: 62px;
  object-fit: contain;
  display: block;
  transform-origin: center center;
  will-change: transform;
}

.specialty-circle-name {
  display: block;
  font-family: var(--font-main);
  font-size: 0.92rem;
  font-weight: 500;
  color: #1E293B;
  margin-top: 11px;
  line-height: 1.35;
  letter-spacing: -0.01em;
  transition: color 0.25s ease;
}

/* Hover interactions */
.specialty-circle-card:hover .specialty-circle-wrapper {
  transform: translateY(-5px);
  box-shadow: 0 12px 28px rgba(11, 83, 148, 0.18);
  border-color: #0B5394;
}

.specialty-circle-card:hover .specialty-circle-wrapper::before {
  transform: rotate(335deg);
  border-top-color: #14B8A6;
  border-left-color: #14B8A6;
}

.specialty-circle-card:hover .specialty-icon-img {
  animation: iconClockwiseSpin 0.75s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

.specialty-circle-card:hover .specialty-circle-name {
  color: #0B5394;
}

@keyframes iconClockwiseSpin {
  0% {
    transform: rotate(0deg) scale(1);
  }
  45% {
    transform: rotate(205deg) scale(1.12);
  }
  80% {
    transform: rotate(375deg) scale(1.04);
  }
  100% {
    transform: rotate(360deg) scale(1);
  }
}

/* View All button row */
.specialties-action-row {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 2.5rem;
}

.btn-view-all-specialties {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #0B5394;
  color: #FFFFFF !important;
  font-family: var(--font-main);
  font-size: 1.025rem;
  font-weight: 700;
  padding: 0.75rem 2.85rem;
  border-radius: 50px;
  border: 2px solid #0B5394;
  box-shadow: 0 4px 15px rgba(11, 83, 148, 0.22);
  transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
  cursor: pointer;
  text-decoration: none;
}

.btn-view-all-specialties:hover {
  background: #14B8A6;
  border-color: #14B8A6;
  color: #FFFFFF !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(20, 184, 166, 0.32);
}

@media (max-width: 1024px) {
  .specialties-circle-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.75rem 1rem;
  }
}

@media (max-width: 768px) {
  .specialties-circle-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem 0.85rem;
  }
  .specialty-circle-wrapper {
    width: 118px;
    height: 118px;
  }
  .specialty-icon-img {
    width: 52px;
    height: 52px;
  }
  .specialty-circle-name {
    font-size: 0.86rem;
    margin-top: 9px;
  }
}

@media (max-width: 480px) {
  .specialties-circle-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem 0.65rem;
  }
  .specialty-circle-wrapper {
    width: 105px;
    height: 105px;
  }
  .specialty-icon-img {
    width: 46px;
    height: 46px;
  }
  .specialty-circle-name {
    font-size: 0.80rem;
    margin-top: 8px;
  }
}


/* ==========================================================================
   HD Contrast & Full Clarity Enhancements
   ========================================================================== */
.hero-headline {
  font-size: 2.5rem;
  font-weight: 800;
  color: #FFFFFF !important;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.45);
}

.hero-subheadline {
  color: #FFFFFF !important;
  font-weight: 700 !important;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.35);
}

.hero-description {
  color: #F8FAFC !important;
  font-weight: 500 !important;
  line-height: 1.65;
}

.hero-bullets li {
  color: #FFFFFF !important;
  font-weight: 600 !important;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.hero-floating-img {
  filter: drop-shadow(0 18px 32px rgba(0, 0, 0, 0.42));
}

/* Service Cards Below Hero - Crisp High Definition */
.service-card {
  background: #FFFFFF !important;
  border: 1px solid #D1D5DB !important;
  box-shadow: 0 10px 25px -5px rgba(11, 83, 148, 0.12), 0 4px 6px -2px rgba(0, 0, 0, 0.05) !important;
  border-radius: var(--radius-lg);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 30px -8px rgba(11, 83, 148, 0.22), 0 8px 10px -3px rgba(0, 0, 0, 0.08) !important;
  border-color: #14B8A6 !important;
}

.service-title {
  color: #0B5394 !important;
  font-weight: 800 !important;
}

.service-desc {
  color: #000000 !important;
  font-weight: 500 !important;
  font-size: 0.92rem !important;
  line-height: 1.55;
}

.service-icon-box {
  background: #EBF5FF !important;
  border: 1px solid #BAE6FD !important;
  box-shadow: 0 2px 8px rgba(11, 83, 148, 0.08);
}

/* Key Features Directional Scroll Animations */
.key-feature-card {
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.75s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.3s ease,
              border-color 0.3s ease !important;
  will-change: opacity, transform;
}

.kf-from-left {
  opacity: 0;
  transform: translateX(-75px);
}

.kf-from-right {
  opacity: 0;
  transform: translateX(75px);
}

.kf-from-top {
  opacity: 0;
  transform: translateY(-75px);
}

.kf-from-bottom {
  opacity: 0;
  transform: translateY(75px);
}

.key-feature-card.kf-visible {
  opacity: 1 !important;
  transform: translate(0, 0) !important;
}

/* ==========================================================================
   Website & Software Development Page Styles
   ========================================================================== */
.software-hero-section {
  position: relative;
  background: linear-gradient(135deg, #083D6E 0%, #0B5394 60%, #0F766E 100%);
  color: #FFFFFF;
  padding: 5rem 0 4rem 0;
  overflow: hidden;
  text-align: center;
}

.software-hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 50% 30%, rgba(20, 184, 166, 0.18) 0%, transparent 70%);
  pointer-events: none;
}

.software-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(20, 184, 166, 0.22);
  border: 1px solid rgba(45, 212, 191, 0.6);
  color: #FFFFFF;
  padding: 0.45rem 1.25rem;
  border-radius: 9999px;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
  backdrop-filter: blur(8px);
}

.software-title {
  font-size: 2.85rem;
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.25;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.software-typing-wrap {
  display: inline-block;
  color: #2DD4BF;
  border-bottom: 3px solid #2DD4BF;
  padding-bottom: 2px;
  min-width: 280px;
}

.software-cursor {
  display: inline-block;
  color: #FFFFFF;
  font-weight: 300;
  animation: blinkCursor 0.8s infinite;
}

@keyframes blinkCursor {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

.software-desc {
  max-width: 720px;
  margin: 0 auto 2rem auto;
  font-size: 1.05rem;
  color: #F1F5F9;
  line-height: 1.7;
  font-weight: 400;
}

/* Counters Row */
.software-counters-section {
  background: #F8FAFC;
  padding: 2.5rem 0;
  border-bottom: 1px solid #E2E8F0;
}

.software-counters-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.software-counter-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: 0 4px 15px rgba(11, 83, 148, 0.06);
  transition: var(--transition);
}

.software-counter-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(11, 83, 148, 0.12);
  border-color: #14B8A6;
}

.software-counter-number {
  font-size: 3rem;
  font-weight: 800;
  color: #0B5394;
  line-height: 1;
  margin-bottom: 0.5rem;
  font-family: var(--font-alt);
}

.software-counter-number span {
  color: #14B8A6;
}

.software-counter-label {
  font-size: 1.05rem;
  font-weight: 700;
  color: #000000;
}

/* Software 3 Services Grid */
.software-services-section {
  padding: 4.5rem 0;
  background: #FFFFFF;
}

.software-services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.software-service-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: var(--radius-xl);
  padding: 2.5rem 2rem;
  text-align: center;
  box-shadow: 0 8px 24px rgba(11, 83, 148, 0.07);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.software-service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, #0B5394, #14B8A6);
  transition: height 0.3s ease;
}

.software-service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 36px rgba(11, 83, 148, 0.16);
  border-color: #14B8A6;
}

.software-service-card:hover::before {
  height: 7px;
}

.software-service-icon-box {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: #EBF5FF;
  border: 2px solid #BAE6FD;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  padding: 18px;
  transition: all 0.3s ease;
}

.software-service-card:hover .software-service-icon-box {
  background: #14B8A6;
  border-color: #14B8A6;
  transform: scale(1.08) rotate(5deg);
}

.software-service-card:hover .software-service-icon-box img {
  filter: brightness(0) invert(1);
}

.software-service-icon-box img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: filter 0.3s ease;
}

.software-service-title {
  font-size: 1.4rem;
  font-weight: 800;
  color: #0B5394;
  margin-bottom: 0.85rem;
}

.software-service-desc {
  font-size: 0.95rem;
  color: #000000;
  line-height: 1.6;
  font-weight: 500;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.software-service-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #14B8A6;
  font-weight: 700;
  font-size: 0.92rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.software-service-link:hover {
  color: #0B5394;
}

@media (max-width: 991px) {
  .software-counters-grid,
  .software-services-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .software-title {
    font-size: 2.15rem;
  }
}


/* ==========================================================================
   Privacy Policy & Terms Page Styles
   ========================================================================== */
.legal-hero {
  background: linear-gradient(135deg, #083D6E 0%, #0B5394 65%, #0F766E 100%);
  color: #FFFFFF;
  padding: 4.5rem 0 3.5rem 0;
  text-align: center;
}

.legal-hero-title {
  font-size: 2.65rem;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 0.75rem;
}

.legal-hero-desc {
  font-size: 1.05rem;
  color: #E2E8F0;
  max-width: 720px;
  margin: 0 auto 1rem auto;
}

.legal-hero-date {
  font-size: 0.85rem;
  color: #2DD4BF;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.legal-content-section {
  padding: 3.5rem 0;
  background: #FFFFFF;
}

.legal-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 3rem;
  align-items: start;
}

.legal-sidebar {
  position: sticky;
  top: 90px;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: var(--radius-lg);
  padding: 1.5rem;
}

.legal-sidebar-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: #0B5394;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #E2E8F0;
}

.legal-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.legal-nav-link {
  font-size: 0.88rem;
  color: #334155;
  font-weight: 600;
  padding: 0.45rem 0.65rem;
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.2s ease;
}

.legal-nav-link:hover, .legal-nav-link.active {
  background: #0B5394;
  color: #FFFFFF;
}

.legal-article {
  color: #1E293B;
  line-height: 1.75;
}

.legal-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: var(--radius-lg);
  padding: 2.25rem 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.legal-card-title {
  font-size: 1.45rem;
  font-weight: 800;
  color: #0B5394;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  border-bottom: 2px solid #F1F5F9;
  padding-bottom: 0.75rem;
}

.legal-card-title i {
  color: #14B8A6;
  font-size: 1.25rem;
}

.legal-card p {
  color: #1E293B;
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.legal-card ul {
  margin: 0.75rem 0 1.25rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.legal-card li {
  color: #334155;
  font-size: 0.92rem;
}

.legal-card strong {
  color: #0F172A;
}

.legal-highlight-box {
  background: #EBF5FF;
  border-left: 4px solid #0B5394;
  padding: 1rem 1.25rem;
  border-radius: 0 8px 8px 0;
  margin: 1.25rem 0;
  font-size: 0.92rem;
  color: #0B5394;
}

.footer-legal-links {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer-legal-links a {
  color: #CBD5E1;
  font-size: 0.85rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

.footer-legal-links a:hover {
  color: #2DD4BF;
  text-decoration: underline;
}

.legal-separator {
  color: #64748B;
  font-size: 0.8rem;
}

@media (max-width: 900px) {
  .legal-layout {
    grid-template-columns: 1fr;
  }
  .legal-sidebar {
    position: static;
  }
}


/* ==========================================================================
   REFINED COMPACT TYPOGRAPHY SCALE (Slightly Smaller & Balanced)
   ========================================================================== */
/* Main Headings */
h1, .hero-headline {
  font-size: 2.15rem !important; /* ~34px-35px (Clean, compact main heading) */
  line-height: 1.22 !important;
  font-weight: 800;
}

/* Section Titles */
h2, .section-title {
  font-size: 1.7rem !important; /* ~27px (Slightly smaller, sleek section title) */
  line-height: 1.25 !important;
  font-weight: 700;
}

.payers-banner-title {
  font-size: 1.35rem !important; /* ~21px */
  line-height: 1.35 !important;
  font-weight: 700;
}

/* Subheadings / Card Titles */
h3, .subheading, .cred-card-title, .service-card-title {
  font-size: 1.08rem !important; /* ~17px (Proportionate inside cards) */
  line-height: 1.35 !important;
  font-weight: 700;
}

/* Paragraphs & Text Descriptions */
p, .section-desc, .hero-description {
  font-size: 0.92rem !important; /* ~14.7px (Readable, slightly compact text) */
  line-height: 1.6 !important;
}

/* Navigation Links */
.nav-link, .nav-item a {
  font-size: 0.88rem !important; /* ~14px (Comfortable nav spacing) */
  font-weight: 600;
}

/* Buttons & CTA */
.btn, .nav-cta-btn {
  font-size: 0.86rem !important; /* ~13.8px */
  letter-spacing: 0.03em;
}

/* FAQ Questions & Answers */
.faq-pill-title {
  font-size: 0.92rem !important; /* ~14.7px (Balanced FAQ question) */
  font-weight: 500;
}

.faq-pill-panel-content {
  font-size: 0.875rem !important; /* ~14px */
  line-height: 1.55 !important;
}

/* Subpage Hero Titles & Descriptions */
.page-hero-title {
  font-size: 1.65rem !important; /* ~26px (Fits cleanly in 2-3 lines) */
  line-height: 1.28 !important;
  font-weight: 700;
}

.page-hero-desc {
  font-size: 0.88rem !important; /* ~14px */
  line-height: 1.6 !important;
}

/* Credentialing CTA Banner Heading */
.cred-cta-heading {
  font-size: 1.05rem !important; /* ~16.8px (Balanced inside banner) */
  line-height: 1.5 !important;
  font-weight: 600;
}

/* Key Features 9 Boxes Typography */
.kf-card-title {
  font-size: 0.9rem !important; /* ~14.4px */
  font-weight: 700;
}

.kf-card-desc {
  font-size: 0.77rem !important; /* ~12.3px */
  line-height: 1.5 !important;
}

/* Mobile Responsive Adjustments */
@media (max-width: 900px) {
  h1, .hero-headline {
    font-size: 1.85rem !important; /* ~29px */
  }
  h2, .section-title {
    font-size: 1.45rem !important; /* ~23px */
  }
  .payers-banner-title {
    font-size: 1.2rem !important;
  }
  h3, .subheading {
    font-size: 1rem !important; /* ~16px */
  }
  p, .section-desc, .hero-description, .faq-pill-panel-content {
    font-size: 0.88rem !important; /* ~14px */
  }
  .faq-pill-title {
    font-size: 0.88rem !important;
  }
  .nav-link, .nav-item a {
    font-size: 0.9rem !important;
  }
  .btn, .nav-cta-btn {
    font-size: 0.84rem !important;
  }
  .page-hero-title {
    font-size: 1.35rem !important;
  }
}


/* ==========================================================================
   REFINED COMPACT TYPOGRAPHY SCALE (Slightly Smaller & Balanced)
   ========================================================================== */
/* Main Headings */
h1, .hero-headline {
  font-size: 2.15rem !important; /* ~34px-35px */
  line-height: 1.22 !important;
  font-weight: 800;
}

/* Section Titles */
h2, .section-title {
  font-size: 1.7rem !important; /* ~27px */
  line-height: 1.25 !important;
  font-weight: 700;
}

.payers-banner-title {
  font-size: 1.35rem !important; /* ~21px */
  line-height: 1.35 !important;
  font-weight: 700;
}

/* Subheadings / Card Titles */
h3, .subheading, .cred-card-title, .service-card-title {
  font-size: 1.08rem !important; /* ~17px */
  line-height: 1.35 !important;
  font-weight: 700;
}

/* Paragraphs & Text Descriptions */
p, .section-desc, .hero-description {
  font-size: 0.92rem !important; /* ~14.7px */
  line-height: 1.6 !important;
}

/* Navigation Links */
.nav-link, .nav-item a {
  font-size: 0.88rem !important; /* ~14px */
  font-weight: 600;
}

/* Buttons & CTA */
.btn, .nav-cta-btn {
  font-size: 0.86rem !important; /* ~13.8px */
  letter-spacing: 0.03em;
}

/* FAQ Questions & Answers */
.faq-pill-title {
  font-size: 0.92rem !important; /* ~14.7px */
  font-weight: 500;
}

.faq-pill-panel-content {
  font-size: 0.875rem !important; /* ~14px */
  line-height: 1.55 !important;
}

/* Subpage Hero Titles & Descriptions */
.page-hero-title {
  font-size: 1.65rem !important; /* ~26px */
  line-height: 1.28 !important;
  font-weight: 700;
}

.page-hero-desc {
  font-size: 0.88rem !important; /* ~14px */
  line-height: 1.6 !important;
}

/* Credentialing CTA Banner Heading */
.cred-cta-heading {
  font-size: 1.05rem !important; /* ~16.8px */
  line-height: 1.5 !important;
  font-weight: 600;
}

/* Key Features 9 Boxes Typography (3 columns x 3 rows) */
.kf-card-title {
  font-size: 0.9rem !important; /* ~14.4px */
  font-weight: 700;
}

.kf-card-desc {
  font-size: 0.77rem !important; /* ~12.3px */
  line-height: 1.5 !important;
}

/* Mobile Responsive Adjustments */
@media (max-width: 900px) {
  h1, .hero-headline {
    font-size: 1.85rem !important; /* ~29px */
  }
  h2, .section-title {
    font-size: 1.45rem !important; /* ~23px */
  }
  .payers-banner-title {
    font-size: 1.2rem !important;
  }
  h3, .subheading {
    font-size: 1rem !important; /* ~16px */
  }
  p, .section-desc, .hero-description, .faq-pill-panel-content {
    font-size: 0.88rem !important; /* ~14px */
  }
  .faq-pill-title {
    font-size: 0.88rem !important;
  }
  .nav-link, .nav-item a {
    font-size: 0.9rem !important;
  }
  .btn, .nav-cta-btn {
    font-size: 0.84rem !important;
  }
  .page-hero-title {
    font-size: 1.35rem !important;
  }
}


/* Large Subpage Hero Image Scale */
@media (max-width: 768px) {
  .page-hero-img,
  .contact-hero-img {
    max-width: 320px;
    max-height: 300px;
  }
  .page-hero-img-wrapper,
  .contact-hero-image-wrapper {
    min-height: auto;
  }
}

/* ==========================================================================
   EHR / PM SYSTEMS ENDLESS MARQUEE (BILLING SECTION)
   ========================================================================== */
.systems-marquee-section {
  padding: 44px 0;
  background: #F8FAFC;
  border-top: 1px solid rgba(11, 83, 148, 0.08);
  border-bottom: 1px solid rgba(11, 83, 148, 0.08);
  overflow: hidden;
  position: relative;
}

.systems-marquee-label {
  text-align: center;
  font-family: var(--font-alt);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #64748B;
  margin-bottom: 24px;
}

.systems-marquee {
  width: 100%;
  overflow: hidden;
  position: relative;
  mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
}

.systems-marquee-track {
  display: flex;
  gap: 16px;
  width: max-content;
  animation: systemsMarqueeScroll 35s linear infinite;
  will-change: transform;
}

.systems-marquee:hover .systems-marquee-track {
  animation-play-state: paused;
}

@keyframes systemsMarqueeScroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.systems-chip {
  flex: none;
  font-family: var(--font-main);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #0B5394;
  background: #FFFFFF;
  border: 1px solid rgba(11, 83, 148, 0.14);
  padding: 12px 22px;
  border-radius: 10px;
  white-space: nowrap;
  box-shadow: 0 2px 6px rgba(11, 83, 148, 0.04);
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.systems-chip i {
  color: #14B8A6;
  font-size: 12px;
}

.systems-chip:hover {
  border-color: #14B8A6;
  color: #0B5394;
  background: #F0FDFA;
  transform: translateY(-2px);
  box-shadow: 0 8px 18px -6px rgba(20, 184, 166, 0.25);
}

@media (max-width: 768px) {
  .systems-marquee-section {
    padding: 34px 0;
  }
  .systems-chip {
    font-size: 12.5px;
    padding: 10px 18px;
  }
}
