/* ==========================================================================
   Med Advance Healthcare - Root Variables (Logo Matched)
   ========================================================================= */
:root {
  /* EXACT LOGO MATCHED COLORS */
  --logo-green: #264C38;  /* Deep Forest Green (from ED, base of A) */
  --logo-gold: #E68B25;   /* Warm Golden-Orange (from large A, Advance text) */
  
  /* SYSTEM COLORS & SHADES */
  --white: #ffffff;
  --light-green-bg: #F4F8F6; /* Subtle green-tinted off-white for background variations */
  --text-dark: var(--logo-green); /* Use the logo green for primary text */
  --text-light: rgba(38, 76, 56, 0.7); /* Lighter version of logo green */
  
  /* LAYOUT & DECORATION */
  --header-height-base: 100px;
  --header-height-scrolled: 75px;
  --shadow-sm: 0 2px 10px rgba(38, 76, 56, 0.08); /* Green tinted shadow */
  --shadow-md: 0 6px 20px rgba(38, 76, 56, 0.12); /* Green tinted shadow */
  --border-color: rgba(38, 76, 56, 0.1); /* Green tinted border */
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

/* Smooth Scroll Behavior across the entire page */
html {
  scroll-behavior: smooth;
}

/* Optional: Offset for fixed header/navigation so titles aren't hidden under the navbar */
section {
  scroll-margin-top: 80px; /* Adjust this value to match your navbar height */
}

/* ==========================================================================
   1. Reset & Base Styles
   ========================================================================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-family);
  color: var(--text-dark);
  background-color: var(--white);
  line-height: 1.6;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 30px;
}

/* ==========================================================================
   2. Main Sticky Header
   ========================================================================= */
.main-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height-base);
  background-color: var(--white);
  border-bottom: 1px solid var(--border-color);
  z-index: 1000;
  display: flex;
  align-items: center;
  transition: var(--transition);
}

/* Scrolled State */
.main-header.scrolled {
  height: var(--header-height-scrolled);
  box-shadow: var(--shadow-md);
  border-bottom: none;
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ==========================================================================
   3. Logo / Branding Block (Matches Image Style)
   ========================================================================= */
.brand-logo {
  display: block;
  text-decoration: none;
}

/* Styling for actual image file if used */
.brand-logo img {
  display: block;
  max-height: 120px; /* Example, adjust as needed */
  transition: max-height 0.3s ease;
}

.main-header.scrolled .brand-logo img {
  max-height: 70px;
}

/* Styling for fallback text, visual match to logo image */
.logo-text-wrapper {
  display: inline-block;
  line-height: 1.1;
  position: relative;
  font-family: 'Times New Roman', Times, serif; /* Serifs match logo text style */
}

.logo-M {
  font-size: 55px;
  font-weight: 800;
  color: var(--logo-gold);
  transform: skewX(-15deg); /* Emulate the skewed A shape for 'M' */
  position: absolute;
  left: -5px;
  top: -15px;
}

.logo-ED {
  font-size: 38px;
  font-weight: 800;
  color: var(--logo-green);
  padding-left: 28px;
  display: block;
}

.brand-logo .tagline {
  display: block;
  font-family: var(--font-family); /* Cleaner font for tagline */
  font-size: 11px;
  font-weight: 700;
  color: var(--logo-gold);
  letter-spacing: 0.5px;
  margin-top: -3px;
  padding-left: 1px;
}

/* Adjust logo on scroll */
.main-header.scrolled .logo-M { font-size: 42px; top: -12px; }
.main-header.scrolled .logo-ED { font-size: 30px; padding-left: 22px; }
.main-header.scrolled .tagline { font-size: 9px; }


/* ==========================================================================
   4. Desktop Navigation
   ========================================================================= */
.desktop-nav {
  display: flex;
  align-items: center;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 15px;
}

#logos{
  height: 70px;
  width: 70px

}

.nav-link {
  text-decoration: none;
  color: var(--text-dark); /* Use green as default */
  font-size: 0.95rem;
  font-weight: 600;
  padding: 10px 18px;
  border-radius: 50px;
  transition: var(--transition);
  display: flex;
  align-items: center;
}

/* Gold active / hover states */
.nav-link:hover,
.nav-link.active {
  color: var(--logo-gold);
  background-color: var(--light-green-bg); /* Use light green for subtle contrast */
}

/* Dropdown Menu styling */
.dropdown {
  position: relative;
}

.arrow-down {
  display: inline-block;
  width: 0; height: 0;
  margin-left: 8px;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 5px solid var(--text-dark); /* Match green */
  transition: transform 0.3s ease;
}

.nav-link:hover .arrow-down,
.nav-link.active .arrow-down {
  border-top-color: var(--logo-gold);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(15px);
  width: 240px;
  background-color: var(--white);
  border-radius: 12px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
  padding: 12px;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  margin-top: 10px;
}

/* Show dropdown on hover */
.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.dropdown-menu a {
  display: block;
  padding: 12px 18px;
  text-decoration: none;
  color: var(--text-dark);
  font-size: 0.9rem;
  font-weight: 500;
  border-radius: 8px;
  transition: var(--transition);
}

.dropdown-menu a:hover {
  background-color: var(--light-green-bg);
  color: var(--logo-gold);
}

/* ==========================================================================
   5. Call to Action Buttons
   ========================================================================= */
.header-actions {
  display: flex;
  align-items: center;
  gap: 15px;
}

.btn {
  display: inline-block;
  padding: 14px 28px;
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
  border-radius: 50px;
  transition: var(--transition);
  border: 2px solid transparent;
  cursor: pointer;
}

.btn-primary {
  background-color: var(--logo-gold); /* Gold primary color for CTA */
  color: var(--white);
  box-shadow: 0 4px 12px rgba(230, 139, 37, 0.25); /* Gold shadow */
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(230, 139, 37, 0.4);
}

/* Utility for mobile drawer buttons */
.w-100 { width: 100%; text-align: center; }

/* ==========================================================================
   6. Mobile Menu UI (Toggle & Drawer)
   ========================================================================= */
.mobile-toggle {
  display: none; /* Hidden on desktop */
  flex-direction: column;
  justify-content: space-between;
  width: 32px;
  height: 22px;
  background: transparent;
  border: none;
  cursor: pointer;
}

.mobile-toggle .bar {
  display: block;
  width: 100%;
  height: 3px;
  background-color: var(--logo-green); /* Use logo green for the burger */
  border-radius: 3px;
  transition: var(--transition);
}

/* Mobile Drawer */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: -340px; /* Initially hidden */
  width: 340px;
  height: 100vh;
  background-color: var(--white);
  z-index: 2000;
  box-shadow: var(--shadow-md);
  transition: transform 0.4s cubic-bezier(0.77, 0, 0.175, 1);
  display: flex;
  flex-direction: column;
}

.mobile-drawer.open {
  transform: translateX(-340px);
}

.drawer-header {
  padding: 30px;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.drawer-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--logo-green);
}

.drawer-close {
  background: transparent;
  border: none;
  font-size: 2.2rem;
  line-height: 1;
  color: var(--text-light); /* Green-tinted */
  cursor: pointer;
}

.drawer-content {
  padding: 40px 30px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  justify-content: space-between;
}

.mobile-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.mobile-link {
  display: block;
  padding: 18px 25px;
  text-decoration: none;
  color: var(--logo-green); /* Green */
  font-weight: 600;
  font-size: 1.1rem;
  border-radius: 12px;
  transition: var(--transition);
}

.mobile-link.active,
.mobile-link:hover {
  background-color: var(--light-green-bg);
  color: var(--logo-gold);
}

/* Mobile Overlay background */
.drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(38, 76, 56, 0.3); /* Transparent Green overlay */
  z-index: 1500;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.drawer-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* ==========================================================================
   7. Responsive Media Queries
   ========================================================================= */
/* Table/Large Mobile Breakpoint */
@media (max-width: 1024px) {
  :root {
    --header-height-base: 85px;
  }
  
  .desktop-nav {
    display: none; /* Hide desktop nav */
  }
  
  .mobile-toggle {
    display: flex; /* Show hamburger */
  }
}

/* Smaller Mobile Breakpoint */
@media (max-width: 640px) {
  .header-actions .btn {
    display: none; /* Hide primary CTA in very narrow mobile, show in drawer */
  }
  
  .logo-text-wrapper .logo-M { font-size: 45px; top: -13px; }
  .logo-text-wrapper .logo-ED { font-size: 32px; padding-left: 24px; }
  
  .mobile-drawer {
    width: 290px;
    right: -290px;
  }
  .mobile-drawer.open {
    transform: translateX(-290px);
  }
}


/* ==========================================================================
   Hero Section Styles (Matching Med Advance Logo Palette)
   ========================================================================== */
.hero-section {
  position: relative;
  padding: calc(var(--header-height-base) + 40px) 0 80px 0;
  background: linear-gradient(135deg, #ffffff 0%, var(--light-green-bg) 100%);
  overflow: hidden;
}

.hero-bg-pattern {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(var(--logo-green) 0.5px, transparent 0.5px);
  background-size: 24px 24px;
  opacity: 0.05;
  pointer-events: none;
}

.hero-container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
  position: relative;
  z-index: 2;
}

/* Badge */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background-color: var(--light-green-bg);
  border: 1px solid rgba(38, 76, 56, 0.15);
  border-radius: 50px;
  color: var(--logo-green);
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.hero-badge i {
  color: var(--logo-gold);
}

/* Titles & Text */
.hero-title {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--logo-green);
  line-height: 1.25;
  margin-bottom: 20px;
}

.text-gold {
  color: var(--logo-gold);
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--text-dark);
  opacity: 0.9;
  line-height: 1.7;
  margin-bottom: 25px;
}

/* Feature Checkmarks */
.hero-features {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 35px;
}

.hero-features li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--logo-green);
}

.hero-features i {
  color: var(--logo-gold);
}

/* CTA Group */
.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 45px;
}

.btn-lg {
  padding: 16px 32px;
  font-size: 1rem;
}

.btn-gold {
  background-color: var(--logo-gold);
  color: var(--white);
  box-shadow: 0 6px 18px rgba(230, 139, 37, 0.3);
}

.btn-gold:hover {
  background-color: #d17a1d;
  color: var(--white);
  transform: translateY(-2px);
}

.btn-outline-green {
  background-color: transparent;
  color: var(--logo-green);
  border: 2px solid var(--logo-green);
}

.btn-outline-green:hover {
  background-color: var(--logo-green);
  color: var(--white);
}

/* Counter / Stats Grid */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding-top: 25px;
  border-top: 1px solid var(--border-color);
}

.stat-card {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
}

.stat-number {
  font-size: 2rem;
  font-weight: 800;
  color: var(--logo-green);
  line-height: 1;
}

.stat-unit {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--logo-gold);
}

.stat-label {
  width: 100%;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-light);
  margin-top: 4px;
}

/* ==========================================================================
   Hero Visual / Interactive RCM Card
   ========================================================================== */
.hero-visual {
  position: relative;
}

.rcm-card {
  background: var(--white);
  border-radius: 20px;
  padding: 30px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
}

.rcm-card-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 25px;
}

.card-icon {
  width: 50px;
  height: 50px;
  background-color: var(--light-green-bg);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--logo-green);
  font-size: 1.4rem;
}

.rcm-card-header h4 {
  color: var(--logo-green);
  font-size: 1.1rem;
  font-weight: 700;
}

.rcm-card-header p {
  color: var(--text-light);
  font-size: 0.82rem;
}

/* Metric Bars */
.metric-row {
  margin-bottom: 18px;
}

.metric-row span {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--logo-green);
}

.progress-bar-wrap {
  height: 8px;
  background-color: #e2e8f0;
  border-radius: 10px;
  overflow: hidden;
  margin: 6px 0;
}

.progress-bar {
  height: 100%;
  background-color: var(--logo-green);
  border-radius: 10px;
}

.progress-bar.progress-gold {
  background-color: var(--logo-gold);
}

.metric-value {
  font-size: 0.8rem !important;
  color: var(--logo-gold) !important;
  font-weight: 700 !important;
}

/* Highlight Box */
.rcm-highlight-box {
  margin-top: 25px;
  background: linear-gradient(135deg, var(--logo-green) 0%, #1a3627 100%);
  padding: 20px;
  border-radius: 14px;
  color: var(--white);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.highlight-title {
  display: block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  opacity: 0.85;
}

.highlight-amount {
  display: block;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--logo-gold);
}

.highlight-amount small {
  font-size: 0.8rem;
  color: var(--white);
  font-weight: 400;
}

.highlight-icon {
  font-size: 2rem;
  color: rgba(255, 255, 255, 0.2);
}

.rcm-card-footer {
  margin-top: 20px;
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-light);
  font-weight: 600;
}

.rcm-card-footer i {
  color: var(--logo-green);
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-badge, .hero-features {
    justify-content: center;
  }

  .hero-cta-group {
    justify-content: center;
  }

  .hero-title {
    font-size: 2.2rem;
  }
}

@media (max-width: 576px) {
  .hero-cta-group {
    flex-direction: column;
  }

  .btn-lg {
    width: 100%;
    justify-content: center;
  }

  .hero-stats {
    grid-template-columns: 1fr;
    gap: 15px;
  }
}

/* ==========================================================================
   Services Section Styles (Matching Med Advance Branding)
   ========================================================================== */
.services-section {
  padding: 100px 0;
  background-color: #ffffff;
}

/* Section Heading */
.text-center {
  text-align: center;
}

.section-header {
  max-width: 750px;
  margin: 0 auto 60px auto;
}

.sub-heading {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--logo-gold);
  text-transform: uppercase;
  letter-spacing: 1px;
  background-color: var(--light-green-bg);
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 15px;
}

.section-title {
  font-size: 2.3rem;
  font-weight: 800;
  color: var(--logo-green);
  line-height: 1.3;
  margin-bottom: 15px;
}

.section-description {
  font-size: 1.05rem;
  color: var(--text-light);
  line-height: 1.6;
}

/* Services Grid Layout */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

/* Service Card Component */
.service-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 35px 30px;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
  border-color: rgba(38, 76, 56, 0.2);
}

/* Highlighted Main Card */
.service-card.highlight-card {
  border-color: var(--logo-gold);
  background: linear-gradient(180deg, #ffffff 0%, var(--light-green-bg) 100%);
  box-shadow: var(--shadow-sm);
}

.card-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background-color: var(--logo-gold);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Icon Box */
.service-icon {
  width: 60px;
  height: 60px;
  background-color: var(--light-green-bg);
  color: var(--logo-green);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 24px;
  transition: var(--transition);
}

.service-card:hover .service-icon {
  background-color: var(--logo-green);
  color: var(--white);
}

.service-icon.gold-icon {
  background-color: rgba(230, 139, 37, 0.12);
  color: var(--logo-gold);
}

.service-card:hover .service-icon.gold-icon {
  background-color: var(--logo-gold);
  color: var(--white);
}

/* Card Content */
.service-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--logo-green);
  margin-bottom: 12px;
}

.service-text {
  font-size: 0.92rem;
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

/* List inside Cards */
.service-list {
  list-style: none;
  margin-bottom: 25px;
  border-top: 1px dashed var(--border-color);
  padding-top: 15px;
}

.service-list li {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--logo-green);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.service-list i {
  color: var(--logo-gold);
  font-size: 0.8rem;
}

/* Service Card Links */
.service-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--logo-green);
  text-decoration: none;
  transition: var(--transition);
  margin-top: auto;
}

.service-link:hover {
  color: var(--logo-gold);
  gap: 12px;
}

.service-link.gold-link {
  color: var(--logo-gold);
}

.service-link.gold-link:hover {
  color: var(--logo-green);
}

/* Responsive Grid Adjustments */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .services-grid {
    grid-template-columns: 1fr;
  }

  .section-title {
    font-size: 1.8rem;
  }
}

/* ==========================================================================
   Why Choose Us / Workflow Process Section
   ========================================================================== */
.process-section {
  padding: 100px 0;
  background-color: var(--light-green-bg);
  position: relative;
}

/* Process Grid */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 60px;
}

.process-card {
  position: relative;
  background: var(--white);
  border-radius: 16px;
  padding: 35px 25px 30px 25px;
  border: 1px solid var(--border-color);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.process-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
  border-color: var(--logo-gold);
}

/* Step Badge Number */
.step-number {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--logo-gold);
  opacity: 0.3;
  line-height: 1;
}

.process-card:hover .step-number {
  opacity: 1;
}

/* Process Icon */
.process-icon {
  width: 54px;
  height: 54px;
  background-color: var(--light-green-bg);
  color: var(--logo-green);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: var(--transition);
}

.process-card:hover .process-icon {
  background-color: var(--logo-green);
  color: var(--white);
}

.process-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--logo-green);
  margin-bottom: 12px;
  line-height: 1.3;
}

.process-text {
  font-size: 0.88rem;
  color: var(--text-light);
  line-height: 1.6;
}

/* Bottom Banner */
.process-banner {
  background: linear-gradient(135deg, var(--logo-green) 0%, #173325 100%);
  border-radius: 20px;
  padding: 40px 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  color: var(--white);
  box-shadow: var(--shadow-md);
}

.banner-content h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--white);
}

.banner-content p {
  font-size: 0.95rem;
  opacity: 0.9;
}

/* Responsive Grid Adjustments */
@media (max-width: 1024px) {
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .process-banner {
    flex-direction: column;
    text-align: center;
    padding: 30px 25px;
  }
}

@media (max-width: 576px) {
  .process-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Contact & Interactive RCM Audit Request Section
   ========================================================================== */
.audit-contact-section {
  padding: 100px 0;
  background-color: #ffffff;
}

.audit-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 50px;
  align-items: start;
}

/* Left Column Styling */
.audit-info-box .section-title {
  margin-bottom: 15px;
}

.audit-info-box .section-description {
  margin-bottom: 30px;
}

/* Calculator Card */
.calculator-card {
  background-color: var(--light-green-bg);
  border: 1px solid rgba(38, 76, 56, 0.15);
  border-radius: 16px;
  padding: 28px;
  margin-bottom: 30px;
}

.calc-header h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--logo-green);
  margin-bottom: 20px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 10px;
}

.calc-group {
  margin-bottom: 20px;
}

.calc-label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.calc-label-row label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--logo-green);
}

.calc-val-badge {
  background-color: var(--logo-green);
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 50px;
}

.calc-group input[type="range"] {
  width: 100%;
  accent-color: var(--logo-gold);
  cursor: pointer;
}

.calc-result-box {
  background-color: var(--white);
  border-radius: 12px;
  padding: 18px;
  text-align: center;
  border: 1px dashed var(--logo-gold);
  margin-top: 10px;
}

.result-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.result-amount {
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--logo-gold);
  margin: 4px 0;
}

.result-subtext {
  font-size: 0.75rem;
  color: var(--text-light);
  font-style: italic;
}

/* Direct Contact Items */
.contact-details-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.detail-item {
  display: flex;
  align-items: center;
  gap: 14px;
}

.detail-icon {
  width: 42px;
  height: 42px;
  background-color: rgba(230, 139, 37, 0.12);
  color: var(--logo-gold);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.detail-label {
  font-size: 0.78rem;
  color: var(--text-light);
  display: block;
}

.detail-val {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--logo-green);
  margin: 0;
}

/* Right Column Form Styling */
.audit-form-card {
  background-color: var(--white);
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  border: 1px solid var(--border-color);
}

.form-title {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--logo-green);
  margin-bottom: 6px;
}

.form-subtitle {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 25px;
}

.audit-form .form-group {
  margin-bottom: 18px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.audit-form label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--logo-green);
  margin-bottom: 6px;
}

.audit-form input,
.audit-form select,
.audit-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 0.92rem;
  color: #1f2937;
  background-color: #f9fafb;
  transition: var(--transition);
}

.audit-form input:focus,
.audit-form select:focus,
.audit-form textarea:focus {
  outline: none;
  border-color: var(--logo-green);
  background-color: var(--white);
  box-shadow: 0 0 0 3px rgba(38, 76, 56, 0.1);
}

.btn-full {
  width: 100%;
  justify-content: center;
  margin-top: 10px;
  padding: 14px 20px;
}

.privacy-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 0.78rem;
  color: var(--text-light);
  margin-top: 14px;
  text-align: center;
}

/* Success Message Styling */
.success-message {
  text-align: center;
  padding: 30px 20px;
}

.success-icon {
  width: 60px;
  height: 60px;
  background-color: var(--logo-green);
  color: var(--white);
  font-size: 1.8rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px auto;
}

.success-message h4 {
  font-size: 1.4rem;
  color: var(--logo-green);
  margin-bottom: 8px;
}

.success-message p {
  color: var(--text-light);
  font-size: 0.95rem;
}

/* Responsive Form Adjustments */
@media (max-width: 992px) {
  .audit-contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 576px) {
  .form-row {
    grid-template-columns: 1fr;
  }

  .audit-form-card {
    padding: 25px;
  }
}

/* ==========================================================================
   Testimonials Section
   ========================================================================== */
.testimonials-section {
  padding: 100px 0;
  background-color: var(--light-green-bg);
  position: relative;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.testimonial-card {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 35px 30px;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.testimonial-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
  border-color: rgba(38, 76, 56, 0.2);
}

/* Highlight Middle Card */
.testimonial-card.highlight-card {
  border-color: var(--logo-gold);
  background: linear-gradient(180deg, #ffffff 0%, #fef8f2 100%);
  box-shadow: var(--shadow-sm);
}

.quote-icon {
  color: var(--logo-green);
  opacity: 0.15;
  margin-bottom: 10px;
}

.quote-icon.gold-quote {
  color: var(--logo-gold);
  opacity: 0.25;
}

.star-rating {
  color: var(--logo-gold);
  font-size: 1.1rem;
  letter-spacing: 2px;
  margin-bottom: 15px;
}

.testimonial-text {
  font-size: 0.98rem;
  color: var(--logo-green);
  line-height: 1.65;
  font-style: italic;
  margin-bottom: 25px;
  flex-grow: 1;
}

.author-info {
  border-top: 1px dashed var(--border-color);
  padding-top: 15px;
}

.author-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--logo-green);
  margin-bottom: 2px;
}

.author-role {
  font-size: 0.85rem;
  color: var(--logo-gold);
  font-weight: 600;
  display: block;
}

/* Responsive Layout */
@media (max-width: 992px) {
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Footer Section
   ========================================================================== */
.site-footer {
  background-color: #173325;
  color: #e2e8f0;
  padding: 80px 0 30px 0;
  border-top: 3px solid var(--logo-gold);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.2fr 1.2fr;
  gap: 40px;
  margin-bottom: 60px;
}

/* Brand Column */
.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.footer-logo .logo-symbol {
  width: 40px;
  height: 40px;
  background-color: var(--logo-gold);
  color: var(--white);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-logo .brand-med {
  display: block;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: 0.5px;
}

.footer-logo .brand-sub {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--logo-gold);
  letter-spacing: 2px;
}

.footer-about {
  font-size: 0.88rem;
  color: #94a3b8;
  line-height: 1.6;
  margin-bottom: 20px;
}

.hipaa-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(230, 139, 37, 0.4);
  color: var(--logo-gold);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 50px;
}

/* Footer Headings & Links */
.footer-heading {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 20px;
  position: relative;
}

.footer-heading::after {
  content: '';
  display: block;
  width: 25px;
  height: 2px;
  background-color: var(--logo-gold);
  margin-top: 8px;
}

.footer-links, .footer-contact {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: #cbd5e1;
  text-decoration: none;
  font-size: 0.88rem;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--logo-gold);
  padding-left: 5px;
}

/* Footer Contact Info */
.footer-contact li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #cbd5e1;
  font-size: 0.88rem;
  margin-bottom: 14px;
}

.footer-contact svg {
  color: var(--logo-gold);
  flex-shrink: 0;
}

/* Bottom Bar */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  color: #94a3b8;
}

.legal-links {
  display: flex;
  gap: 20px;
}

.legal-links a {
  color: #94a3b8;
  text-decoration: none;
  transition: var(--transition);
}

.legal-links a:hover {
  color: var(--white);
}

/* Responsive Footer */
@media (max-width: 992px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }
}

/* ==========================================================================
   About Us Section Styling
   ========================================================================== */
.about-section {
  padding: 100px 0;
  background-color: var(--white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 50px;
  align-items: center;
}

.about-card-hero {
  background: linear-gradient(135deg, var(--logo-green) 0%, #173325 100%);
  border-radius: 20px;
  padding: 40px;
  color: var(--white);
  position: relative;
  box-shadow: var(--shadow-md);
  border-bottom: 4px solid var(--logo-gold);
}

.badge-gold {
  display: inline-block;
  background-color: var(--logo-gold);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 20px;
}

.about-card-hero h3 {
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 15px;
  color: var(--white);
}

.about-card-hero p {
  font-size: 0.95rem;
  opacity: 0.9;
  line-height: 1.6;
  margin-bottom: 30px;
}

.about-stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.stat-box {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 16px;
  border-radius: 12px;
  text-align: center;
}

.stat-num {
  display: block;
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--logo-gold);
}

.stat-lbl {
  font-size: 0.75rem;
  opacity: 0.85;
}

/* About Feature Bullet Points */
.about-features-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 25px;
}

.about-feature {
  display: flex;
  gap: 15px;
}

.feature-icon {
  width: 28px;
  height: 28px;
  background-color: rgba(230, 139, 37, 0.15);
  color: var(--logo-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  flex-shrink: 0;
}

.about-feature h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--logo-green);
  margin-bottom: 4px;
}

.about-feature p {
  font-size: 0.88rem;
  color: var(--text-light);
  line-height: 1.5;
  margin: 0;
}

@media (max-width: 992px) {
  .about-grid {
    grid-template-columns: 1fr;
  }
}



/* ==========================================================================
   Header & Mobile Navigation Drawer Fix
   ========================================================================== */

/* Desktop view: Hide mobile drawer and toggle button by default */
.mobile-toggle,
.mobile-nav-drawer {
  display: none !important;
}

/* Header basic setup */
.main-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: var(--white, #ffffff);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 0;
}

.brand-logo img {
  max-height: 45px;
  width: auto;
  display: block;
}

/* Desktop navigation links layout */
.desktop-nav .nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 15px;
}

/* --------------------------------------------------------------------------
   Mobile View Styles (Applies ONLY on screens 992px wide or smaller)
   -------------------------------------------------------------------------- */
@media screen and (max-width: 992px) {

  /* Hide desktop navigation on mobile */
  .desktop-nav {
    display: none !important;
  }

  /* Show the 3-line hamburger button on mobile */
  .mobile-toggle {
    display: flex !important;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
  }

  .mobile-toggle .bar {
    width: 100%;
    height: 3px;
    background-color: #173325; /* Forest Green */
    border-radius: 3px;
    transition: all 0.3s ease;
  }

  /* Slide-over Mobile Navigation Drawer */
  .mobile-nav-drawer {
    display: flex !important;
    position: fixed;
    top: 0;
    right: -100%; /* Hidden off-screen to the right by default */
    width: 280px;
    height: 100vh;
    background-color: #ffffff;
    box-shadow: -5px 0 25px rgba(0, 0, 0, 0.15);
    z-index: 1002;
    padding: 25px 20px;
    transition: right 0.3s ease-in-out;
    flex-direction: column;
  }

  /* Class applied by JavaScript when clicking hamburger button */
  .mobile-nav-drawer.open {
    right: 0;
  }

  .drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 15px;
    border-bottom: 1px solid #e2e8f0;
    margin-bottom: 20px;
  }

  .drawer-title {
    font-weight: 800;
    font-size: 1.1rem;
    color: #173325;
  }

  .drawer-close {
    background: transparent;
    border: none;
    font-size: 2rem;
    color: #173325;
    cursor: pointer;
    line-height: 1;
  }

  .mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }

  .mobile-link {
    font-size: 1rem;
    font-weight: 600;
    color: #173325;
    text-decoration: none;
  }

  .mobile-link.active {
    color: #e68b25; /* Gold brand accent */
  }

  .drawer-btn {
    margin-top: 10px;
    text-align: center;
    width: 100%;
  }
}