:root {
  --primary: #0073e6;
  --primary-dark: #0056b3;
  --secondary: #2c3e50;
  --accent: #e74c3c;
  --text: #333333;
  --text-light: #666666;
  --light: #ffffff;
  --gray: #f8f9fa;
  --shadow: rgba(0, 115, 230, 0.1);
}

/* Base styles */
body {
  margin: 0;
  padding: 0;
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  line-height: 1.6;
  color: var(--text);
  background-color: var(--gray);
}

/* Navigation */
nav {
  background: var(--light);
  padding: 1rem 2rem;
  box-shadow: 0 2px 10px var(--shadow);
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--primary);
}

.logo-icon {
  width: 32px;
  height: 32px;
}

.cta-button {
  background: var(--primary);
  color: var(--light);
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}

.cta-button:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

/* Hero Section */
.hero-section {
  background: linear-gradient(
    135deg,
    var(--primary) 0%,
    var(--primary-dark) 100%
  );
  color: var(--light);
  padding: 4rem 2rem;
  text-align: center;
}

.hero-section h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 1.25rem;
  opacity: 0.9;
}

/* Content Sections */
.blog-post {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
}

.intro-section {
  margin: 3rem 0;
}

.intro-text {
  font-size: 1.2rem;
  color: var(--text-light);
}

.highlight {
  background: linear-gradient(
    120deg,
    rgba(0, 115, 230, 0.1) 0%,
    rgba(0, 86, 179, 0.1) 100%
  );
  padding: 0.2rem 0.4rem;
  border-radius: 4px;
  color: var(--primary);
}

/* Features Section */
.features-section h2,
.rcm-section h2 {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--secondary);
  margin-bottom: 2rem;
}

.section-icon {
  width: 24px;
  height: 24px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.feature-card {
  background: var(--light);
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 4px 6px var(--shadow);
  transition: transform 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
}

.feature-icon {
  width: 40px;
  height: 40px;
  margin-bottom: 1rem;
  color: var(--primary);
}

/* Benefits Section */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.benefit-card {
  background: var(--light);
  padding: 2rem;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 4px 6px var(--shadow);
  transition: all 0.3s ease;
}

.benefit-card:hover {
  transform: translateY(-5px);
}

.benefit-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 1rem;
  color: var(--primary);
}

/* CTA Section */
.cta-section {
  background: var(--gray);
  padding: 4rem 2rem;
  text-align: center;
  margin: 4rem -2rem -2rem;
}

.cta-container {
  max-width: 600px;
  margin: 0 auto;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 2rem;
}

.primary-button,
.secondary-button {
  padding: 1rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}

.primary-button {
  background: var(--primary);
  color: var(--light);
}

.secondary-button {
  background: var(--light);
  color: var(--primary);
  border: 2px solid var(--primary);
}

.primary-button:hover,
.secondary-button:hover {
  transform: translateY(-2px);
}

/* Footer */
footer {
  background: var(--secondary);
  color: var(--light);
  padding: 2rem;
  text-align: center;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-section h1 {
    font-size: 2rem;
  }

  .blog-post {
    padding: 1rem;
  }

  .cta-buttons {
    flex-direction: column;
  }

  .feature-grid,
  .benefits-grid {
    grid-template-columns: 1fr;
  }
}

/* Services Section */
.services-section {
  margin: 4rem 0;
  padding: 2rem;
  background: var(--light);
  border-radius: 12px;
  box-shadow: 0 4px 6px var(--shadow);
}

.services-section h2 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  color: var(--secondary);
  margin-bottom: 2.5rem;
  font-size: 1.8rem;
  text-align: center;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.service-card {
  background: var(--gray);
  padding: 1.5rem;
  border-radius: 8px;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 1rem;
  cursor: pointer;
  text-decoration: none;
  color: var(--text);
}

.service-card:hover {
  transform: translateY(-3px);
  background: var(--light);
  box-shadow: 0 4px 12px var(--shadow);
  color: var(--primary);
}

.service-card:hover .service-icon {
  color: var(--primary);
  transform: scale(1.1);
}

.service-icon {
  width: 32px;
  height: 32px;
  color: var(--secondary);
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.service-card h3 {
  margin: 0;
  font-size: 1.1rem;
  color: var(--text);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .services-section {
    padding: 1.5rem;
  }

  .services-grid {
    gap: 1rem;
  }

  .service-card {
    padding: 1rem;
  }
}

/* Features Section Styling */
.key-features,
.benefits-section {
  margin: 3rem 0;
}

.key-features h3,
.benefits-section h3 {
  text-align: center;
  color: var(--secondary);
  font-size: 1.6rem;
  margin-bottom: 2rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.feature-card {
  background: var(--light);
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 4px 6px var(--shadow);
  transition: transform 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
}

.feature-card h4 {
  color: var(--primary);
  margin: 1rem 0;
  font-size: 1.2rem;
}

.feature-card p {
  color: var(--text-light);
  margin: 0;
  line-height: 1.6;
}

/* Update existing benefits-grid styling */
.benefits-grid {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.benefit-card {
  padding: 1.5rem;
}

.benefit-card h4 {
  margin: 0.5rem 0 0;
  font-size: 1.1rem;
}

@media (max-width: 768px) {
  .features-grid {
    grid-template-columns: 1fr;
  }

  .benefits-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  }
}

/* Center all section headings */
.features-section h2,
.services-section h2,
.key-features h3,
.benefits-section h3 {
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}

/* Center feature cards content */
.feature-card {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.feature-card .feature-icon {
  margin: 0 auto 1rem;
}

/* Center benefits cards */
.benefit-card {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.benefit-card .benefit-icon {
  margin: 0 auto 1rem;
}

/* Center grids */
.features-grid,
.benefits-grid,
.services-grid {
  max-width: 1200px;
  margin: 0 auto;
}

/* Center sections */
.features-section,
.services-section,
.key-features,
.benefits-section {
  text-align: center;
  max-width: 1400px;
  margin: 4rem auto;
  padding: 2rem;
}

/* Center all content containers */
.blog-post {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
}

/* Center all section headings and content */
.intro-section,
.services-section,
.features-section,
.rcm-section,
.benefits-section {
  text-align: center;
  max-width: 1000px;
  margin: 4rem auto;
}

/* Center section headers */
.section-icon {
  margin: 0 auto;
}

h2,
h3,
h4 {
  text-align: center;
}

/* Center grid layouts */
.services-grid,
.features-grid,
.benefits-grid,
.procedure-grid,
.reasons-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 2rem auto;
}

/* Center cards content */
.service-card,
.feature-card,
.benefit-card,
.procedure-card,
.reason-card {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Center lists */
ul {
  list-style-position: inside;
  padding-left: 0;
}

/* Center paragraphs */
p {
  margin-left: auto;
  margin-right: auto;
  max-width: 800px;
}

/* Center CTA sections */
.cta-section,
.rcm-cta {
  text-align: center;
  margin: 4rem auto;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 2rem;
}

/* Center intro text */
.rcm-intro,
.intro-text {
  max-width: 800px;
  margin: 2rem auto;
  text-align: center;
}

/* Section Headings Styling */
.features-section h2,
.services-section h2,
.rcm-section h2 {
  font-size: 2.4rem;
  color: var(--primary);
  margin: 0;
  position: relative;
  padding-bottom: 1rem;
  text-align: center;
  font-weight: 700;
  display: inline-block;
}

.features-section h2::after,
.services-section h2::after,
.rcm-section h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--secondary);
  border-radius: 2px;
}

/* Subsection Headings */
.key-features h3,
.benefits-section h3,
.rcm-services h3 {
  font-size: 1.8rem;
  color: var(--secondary);
  margin: 3rem 0 2rem;
  text-align: center;
  font-weight: 600;
}

/* Section Icon Alignment */
.section-icon {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}

/* Section Header Container */
.section-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
  width: 100%;
  text-align: center;
}

/* RCM Section Styling */
.rcm-content {
  max-width: 1200px;
  margin: 0 auto;
}

/* RCM Intro */
.highlight-text {
  font-size: 1.8rem;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 1.5rem;
  line-height: 1.4;
}

.intro-description {
  font-size: 1.2rem;
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 3rem;
}

/* Workflow Steps */
.workflow-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
}

.workflow-step {
  background: var(--light);
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 4px 15px var(--shadow);
  position: relative;
  transition: transform 0.3s ease;
}

.workflow-step:hover {
  transform: translateY(-5px);
}

.step-number {
  position: absolute;
  top: -20px;
  left: 20px;
  background: var(--primary);
  color: var(--light);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.2rem;
}

.workflow-step h4 {
  color: var(--primary);
  margin: 1rem 0;
  font-size: 1.3rem;
}

.workflow-step ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.workflow-step li {
  padding: 0.5rem 0;
  color: var(--text-light);
  position: relative;
  padding-left: 1.5rem;
}

.workflow-step li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--primary);
}

/* RCM Features */
.rcm-feature-card {
  background: var(--light);
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 4px 15px var(--shadow);
  text-align: center;
  transition: all 0.3s ease;
}

.rcm-feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px var(--shadow);
}

/* Stats Section */
.rcm-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin: 4rem 0;
  text-align: center;
}

.stat-card {
  background: var(--primary);
  color: var(--light);
  padding: 2rem;
  border-radius: 10px;
  transition: transform 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-5px);
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 1.1rem;
  opacity: 0.9;
}

/* Benefits Section */
.benefits-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
}

.benefit-item {
  background: var(--light);
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 4px 15px var(--shadow);
}

.benefit-item h4 {
  color: var(--primary);
  margin-bottom: 1.5rem;
  font-size: 1.4rem;
}

/* CTA Section */
.rcm-cta {
  background: linear-gradient(
    135deg,
    var(--primary) 0%,
    var(--primary-dark) 100%
  );
  padding: 4rem 2rem;
  border-radius: 10px;
  text-align: center;
  color: var(--light);
  margin-top: 4rem;
}

.rcm-cta h3 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.rcm-cta p {
  font-size: 1.2rem;
  opacity: 0.9;
  margin-bottom: 2rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  .workflow-grid,
  .benefits-container {
    grid-template-columns: 1fr;
  }

  .rcm-stats {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  }

  .highlight-text {
    font-size: 1.5rem;
  }

  .stat-number {
    font-size: 2rem;
  }
}

/* Reset and fix RCM Section Header */
.rcm-section {
  padding: 0;
  margin: 4rem auto;
  width: 100%;
}

.rcm-section .section-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin: 0 0 3rem 0;
  padding: 0;
  width: 100%;
}

.rcm-section .section-header h2 {
  margin: 0;
  padding: 0 0 1rem 0;
  display: inline-block;
  text-align: center;
}

.rcm-section .section-icon {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  margin: 0;
  padding: 0;
}

/* Ensure content is centered */
.rcm-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0;
}
