/* ================= REVENUE CYCLE MANAGEMENT PAGE STYLES ================= */

/* ============================================
   RCM HERO SECTION
   ============================================ */
.rcm-hero {
  padding: 50px 0;
  color: #ffffff;
}

.rcm-hero-grid {
  display: grid;
  grid-template-columns: 1fr 450px;
  gap: 40px;
  align-items: center;
}

.rcm-hero-content h1 {
  color: #ffffff;
  font-size: 38px;
  line-height: 1.3;
  margin-bottom: 18px;
  font-weight: 700;
}

.rcm-hero-content p {
  color: #ffffff;
  opacity: 0.9;
  margin-bottom: 15px;
  font-size: 16px;
  line-height: 1.7;
}

/* ============================================
   RCM HERO FORM
   ============================================ */
.rcm-hero-form-box {
  background: #ffffff;
  padding: 22px 24px;
  border-radius: 10px;
  color: #1c1c2b;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.rcm-hero-form-box h3 {
  margin-bottom: 14px;
  font-size: 19px;
  font-weight: 600;
  text-align: center;
  color: #101f4b;
}

.rcm-hero-form-box form {
  display: flex;
  flex-direction: column;
}

.rcm-form-row {
  margin-bottom: 10px;
  width: 100%;
}

.rcm-form-row-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.rcm-hero-form-box input,
.rcm-hero-form-box select,
.rcm-hero-form-box textarea {
  width: 100%;
  padding: 9px 13px;
  margin-bottom: 0;
  border: 1px solid #cbd5e1;
  border-radius: 5px;
  font-family: inherit;
  font-size: 13.5px;
  background-color: #ffffff;
  color: #1c1c2b;
  box-sizing: border-box;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.rcm-hero-form-box select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg fill='%2364748b' height='20' viewBox='0 0 24 24' width='20' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>");
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 16px;
  cursor: pointer;
}

.rcm-hero-form-box select:invalid {
  color: #000000;
}

.rcm-hero-form-box textarea {
  resize: vertical;
  min-height: 60px;
}

.rcm-hero-form-box input:focus,
.rcm-hero-form-box select:focus,
.rcm-hero-form-box textarea:focus {
  outline: none;
  border-color: #2952e3;
  box-shadow: 0 0 0 3px rgba(16, 31, 75, 0.08);
}

.rcm-hero-form-box .rcm-btn-full-width {
  width: 100%;
  padding: 11px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 5px;
  margin-top: 4px;
  cursor: pointer;
}

/* Form Alerts */
.rcm-form-alert {
  padding: 12px 14px;
  border-radius: 6px;
  margin-bottom: 16px;
  font-size: 14px;
}

.rcm-form-alert.rcm-success {
  background: #d1fae5;
  color: #065f46;
}

.rcm-form-alert.rcm-error {
  background: #fee2e2;
  color: #991b1b;
}

/* ============================================
   RCM SPLIT SECTIONS (Zig-Zag)
   ============================================ */
.rcm-split-section {
  padding: 80px 0;
}

.rcm-split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.rcm-split-grid img {
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(16, 31, 75, 0.08);
  width: 100%;
  height: auto;
}

.rcm-split-grid h2 {
  font-size: 28px;
  margin-bottom: 20px;
  color: #1c1c2b;
  font-weight: 700;
  line-height: 1.3;
}

.rcm-split-grid h2 span {
  color: #2952e3;
}

.rcm-split-grid p {
  color: #6b7280;
  margin-bottom: 15px;
  font-size: 15px;
  line-height: 1.7;
}

/* ============================================
   RCM FEATURES GRID (9 Cards)
   ============================================ */
.rcm-features-section {
  padding: 80px 0;
  background: #f8fbff;
}

.rcm-features-header {
  text-align: center;
  max-width: 900px;
  margin: 0 auto 50px;
}

.rcm-features-header h2 {
  color: #101f4b;
  font-size: 32px;
  margin-bottom: 15px;
  font-weight: 700;
}

.rcm-features-header p {
  color: #6b7280;
  font-size: 16px;
  line-height: 1.6;
}

.rcm-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.rcm-feature-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 30px 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
  transition: all 0.3s ease;
}

.rcm-feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
  border-color: #4fa3e3;
}

.rcm-feature-card h4 {
  font-size: 18px;
  color: #101f4b;
  margin-bottom: 18px;
  font-weight: 600;
}

/* RCM List Styling */
.rcm-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.rcm-list li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 12px;
  font-size: 13.5px;
  color: #6b7280;
  line-height: 1.6;
}

.rcm-list li::before {
  content: "•";
  color: #2952e3;
  position: absolute;
  left: 0;
  font-size: 22px;
  line-height: 1;
  top: -2px;
}

/* ============================================
   RCM CTA BANNER
   ============================================ */
.rcm-cta-banner {
  background: linear-gradient(rgba(16, 31, 75, 0.92), rgba(16, 31, 75, 0.92)), 
              url('../assets/images/hero.png') center/cover no-repeat;
  padding: 80px 0;
  text-align: center;
}

.rcm-cta-banner h2 {
  color: #ffffff;
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 20px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.rcm-cta-banner p {
  color: #cfd8f5;
  max-width: 800px;
  margin: 0 auto 30px;
  font-size: 16px;
  line-height: 1.7;
}

/* ============================================
   BUTTONS
   ============================================ */
.rcm-btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.3s ease;
  text-align: center;
  font-family: inherit;
  font-size: 14px;
  text-decoration: none;
}

.rcm-btn-primary {
  background: #2952e3;
  color: #ffffff;
}

.rcm-btn-primary:hover {
  background: #4fa3e3;
  color: #ffffff;
}

/* ============================================
   CONTAINER
   ============================================ */
.rcm-container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ============================================
   TEXT UTILITIES
   ============================================ */
.rcm-text-center {
  text-align: center;
}

/* ============================================
   SPINNER ANIMATION
   ============================================ */
.rcm-btn-spinner {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: #fff;
  animation: rcm-spin 0.8s linear infinite;
  margin-right: 8px;
  vertical-align: middle;
}

@keyframes rcm-spin {
  to { transform: rotate(360deg); }
}

.rcm-btn:disabled {
  cursor: not-allowed;
  opacity: 0.75;
}

/* ============================================
   RESPONSIVE BREAKPOINTS
   ============================================ */

/* Tablets */
@media (max-width: 991px) {
  .rcm-hero-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .rcm-split-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .rcm-features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .rcm-hero {
    padding: 40px 0;
  }

  .rcm-hero-content h1 {
    font-size: 32px;
  }

  .rcm-split-section {
    padding: 60px 0;
  }

  .rcm-features-section {
    padding: 60px 0;
  }

  .rcm-features-header h2 {
    font-size: 28px;
  }

  .rcm-cta-banner {
    padding: 60px 0;
  }

  .rcm-cta-banner h2 {
    font-size: 30px;
  }

  .rcm-split-section.rcm-no-top-padding {
    padding-top: 0;
  }
}

/* Mobile Phones */
@media (max-width: 768px) {
  .rcm-hero {
    padding: 35px 0;
  }

  .rcm-hero-form-box {
    padding: 18px 15px;
  }

  .rcm-hero-form-box .rcm-form-row-two-col {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .rcm-hero-content h1 {
    font-size: 28px;
  }

  .rcm-hero-content p {
    font-size: 14px;
  }

  .rcm-split-grid h2 {
    font-size: 24px;
  }

  .rcm-split-grid p {
    font-size: 14px;
  }

  .rcm-split-section {
    padding: 50px 0;
  }

  .rcm-split-section.rcm-no-top-padding {
    padding-top: 0;
  }

  .rcm-features-grid {
    grid-template-columns: 1fr;
  }

  .rcm-feature-card {
    padding: 25px 20px;
  }

  .rcm-features-header h2 {
    font-size: 24px;
  }

  .rcm-features-header p {
    font-size: 14px;
  }

  .rcm-cta-banner {
    padding: 50px 0;
  }

  .rcm-cta-banner h2 {
    font-size: 26px;
  }

  .rcm-cta-banner p {
    font-size: 14px;
    padding: 0 15px;
  }

  .rcm-btn {
    padding: 12px 28px;
    font-size: 13px;
  }

  .rcm-container {
    padding: 0 15px;
  }
}

/* Small Mobile Phones */
@media (max-width: 480px) {
  .rcm-hero {
    padding: 30px 0;
  }

  .rcm-hero-content h1 {
    font-size: 24px;
  }

  .rcm-hero-form-box h3 {
    font-size: 17px;
  }

  .rcm-hero-form-box input,
  .rcm-hero-form-box select,
  .rcm-hero-form-box textarea {
    font-size: 13px;
    padding: 8px 11px;
  }

  .rcm-split-grid h2 {
    font-size: 22px;
  }

  .rcm-features-header h2 {
    font-size: 22px;
  }

  .rcm-feature-card h4 {
    font-size: 16px;
  }

  .rcm-list li {
    font-size: 13px;
  }

  .rcm-cta-banner h2 {
    font-size: 22px;
  }

  .rcm-cta-banner {
    padding: 40px 0;
  }

  .rcm-container {
    padding: 0 12px;
  }

  .rcm-btn {
    padding: 10px 24px;
    font-size: 13px;
    width: 100%;
  }
}