/* ================= MEDICAL BILLING PAGE STYLES ================= */

/* ============================================
   MB HERO SECTION
   ============================================ */
.mb-hero {
  padding: 50px 0;
  color: #ffffff;
}

.mb-hero-grid {
  display: grid;
  grid-template-columns: 1fr 450px;
  gap: 40px;
  align-items: center;
}

.mb-hero-content h1 {
  color: #ffffff;
  font-size: 38px;
  line-height: 1.3;
  margin-bottom: 18px;
  font-weight: 700;
}

.mb-hero-content p {
  color: #ffffff;
  opacity: 0.9;
  margin-bottom: 15px;
  font-size: 16px;
  line-height: 1.7;
}

/* ============================================
   MB HERO FORM
   ============================================ */
.mb-hero-form-box {
  background: #ffffff;
  padding: 22px 24px;
  border-radius: 10px;
  color: #1c1c2b;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.mb-hero-form-box h3 {
  margin-bottom: 14px;
  font-size: 19px;
  font-weight: 600;
  text-align: center;
  color: #101f4b;
}

.mb-hero-form-box form {
  display: flex;
  flex-direction: column;
}

.mb-form-row {
  margin-bottom: 10px;
  width: 100%;
}

.mb-form-row-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.mb-hero-form-box input,
.mb-hero-form-box select,
.mb-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;
}

.mb-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;
}

.mb-hero-form-box select:invalid {
  color: #000000;
}

.mb-hero-form-box textarea {
  resize: vertical;
  min-height: 60px;
}

.mb-hero-form-box input:focus,
.mb-hero-form-box select:focus,
.mb-hero-form-box textarea:focus {
  outline: none;
  border-color: #2952e3;
  box-shadow: 0 0 0 3px rgba(16, 31, 75, 0.08);
}

.mb-hero-form-box .mb-btn-full-width {
  width: 100%;
  padding: 11px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 5px;
  margin-top: 4px;
  cursor: pointer;
}

/* Form Alerts */
.mb-form-alert {
  padding: 12px 14px;
  border-radius: 6px;
  margin-bottom: 16px;
  font-size: 14px;
}

.mb-form-alert.mb-success {
  background: #d1fae5;
  color: #065f46;
}

.mb-form-alert.mb-error {
  background: #fee2e2;
  color: #991b1b;
}

/* ============================================
   MB HIGHLIGHT CARDS (3 Cards)
   ============================================ */
.mb-highlight-section {
  padding: 80px 0 40px 0;
}

.mb-highlight-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.mb-high-card {
  background: #ffffff;
  padding: 30px 20px;
  text-align: center;
  border: 1px solid #eaeaea;
  border-radius: 8px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.04);
  transition: all 0.3s ease;
}

.mb-high-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(16, 31, 75, 0.08);
  border-color: #4fa3e3;
}

.mb-high-card .mb-icon {
  font-size: 35px;
  color: #101f4b;
  margin-bottom: 15px;
}

.mb-high-card h4 {
  font-size: 18px;
  font-weight: 700;
  color: #1c1c2b;
  margin-bottom: 10px;
}

.mb-high-card p {
  font-size: 14px;
  color: #6b7280;
  line-height: 1.6;
  margin: 0;
}

/* ============================================
   MB SPLIT SECTION
   ============================================ */
.mb-split-section {
  padding: 80px 0;
}

.mb-split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.mb-split-grid img {
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(16, 31, 75, 0.08);
  width: 100%;
  height: auto;
}

.mb-split-grid h2 {
  font-size: 28px;
  margin-bottom: 20px;
  color: #1c1c2b;
  font-weight: 700;
  line-height: 1.3;
}

.mb-split-grid h2 span {
  color: #2952e3;
}

.mb-split-grid h4 {
  margin: 20px 0 15px;
  color: #1c1c2b;
  font-weight: 600;
}

.mb-split-grid p {
  color: #6b7280;
  margin-bottom: 15px;
  font-size: 15px;
  line-height: 1.7;
}

/* Check List */
.mb-check-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mb-check-list li {
  margin-bottom: 12px;
  color: #6b7280;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  line-height: 1.6;
}

.mb-check-list li::before {
  content: "✓";
  color: #2952e3;
  font-weight: 700;
  font-size: 16px;
}

/* ============================================
   MB PROCESS SECTION (Diamonds)
   ============================================ */
.mb-process-section {
  padding: 80px 0;
  background: #f8fbff;
}

.mb-process-header {
  text-align: center;
  margin-bottom: 50px;
}

.mb-process-header h2 {
  font-size: 32px;
  font-weight: 700;
  color: #1c1c2b;
}

.mb-process-header h2 span {
  color: #2952e3;
}

.mb-process-wrapper {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
  margin-top: 40px;
}

.mb-process-step {
  width: 180px;
  text-align: center;
}

.mb-process-step .mb-diamond {
  width: 100px;
  height: 100px;
  margin: 0 auto 25px;
  background: #ffffff;
  border: 2px solid #4fa3e3;
  transform: rotate(45deg);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.mb-process-step .mb-diamond i {
  transform: rotate(-45deg);
  font-size: 30px;
  color: #101f4b;
  transition: all 0.3s ease;
}

.mb-process-step .mb-diamond span {
  position: absolute;
  top: 5px;
  left: 5px;
  transform: rotate(-45deg);
  background: #101f4b;
  color: #ffffff;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: bold;
}

.mb-process-step h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
  color: #1c1c2b;
}

.mb-process-step p {
  font-size: 13px;
  color: #6b7280;
  margin: 0;
}

.mb-process-step:hover .mb-diamond {
  background: #2952e3;
  border-color: #2952e3;
}

.mb-process-step:hover .mb-diamond i {
  color: #ffffff;
}

/* ============================================
   MB SERVICES OFFER SECTION (6 Cards)
   ============================================ */
.mb-services-offer-section {
  padding: 80px 0;
  background: #f8fafc;
}

.mb-services-offer-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 50px;
}

.mb-services-offer-header .mb-subtitle-tag {
  color: #2952e3;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-size: 13px;
  margin-bottom: 8px;
}

.mb-services-offer-header h2 {
  font-size: 32px;
  color: #101f4b;
  font-weight: 700;
  max-width: 780px;
  margin: 0 auto;
  line-height: 1.35;
}

.mb-services-offer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 50px;
}

.mb-offer-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 35px 30px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.03);
  display: flex;
  flex-direction: column;
}

.mb-offer-card:hover {
  transform: translateY(-6px);
  border-color: #2952e3;
  box-shadow: 0 15px 30px -5px rgba(41, 82, 227, 0.12);
}

.mb-offer-card .mb-offer-icon {
  width: 55px;
  height: 55px;
  background-color: #eff6ff;
  color: #2952e3;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 22px;
  transition: all 0.3s ease;
}

.mb-offer-card:hover .mb-offer-icon {
  background-color: #2952e3;
  color: #ffffff;
}

.mb-offer-card h3 {
  font-size: 19px;
  font-weight: 700;
  color: #101f4b;
  margin-bottom: 16px;
  line-height: 1.4;
}

.mb-offer-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mb-offer-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: #64748b;
  line-height: 1.5;
}

.mb-offer-list li i {
  color: #2952e3;
  font-size: 15px;
  margin-top: 3px;
  flex-shrink: 0;
}

.mb-offer-list li strong {
  color: #1e293b;
}

/* ============================================
   MB WHY CHOOSE GRID (6 Cards)
   ============================================ */
.mb-why-choose-section {
  padding: 80px 0;
}

.mb-why-choose-header {
  text-align: center;
  margin-bottom: 50px;
}

.mb-why-choose-header h2 {
  font-size: 32px;
  font-weight: 700;
  color: #1c1c2b;
}

.mb-why-choose-header h2 span {
  color: #2952e3;
}

.mb-why-choose-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.mb-why-card {
  background: #ffffff;
  border: 1px solid #eaeaea;
  padding: 30px 20px;
  border-radius: 8px;
  text-align: left;
  transition: all 0.3s ease;
}

.mb-why-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(16, 31, 75, 0.08);
  border-color: #4fa3e3;
}

.mb-why-card i {
  background: #101f4b;
  color: #ffffff;
  width: 45px;
  height: 45px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 18px;
  margin-bottom: 15px;
}

.mb-why-card h4 {
  font-size: 17px;
  font-weight: 700;
  color: #1c1c2b;
  margin-bottom: 10px;
}

.mb-why-card p {
  font-size: 14px;
  color: #6b7280;
  margin: 0;
  line-height: 1.6;
}

/* ============================================
   MB BOTTOM CTA
   ============================================ */
.mb-bottom-cta {
  background: linear-gradient(rgba(16, 31, 75, 0.95), rgba(16, 31, 75, 0.95)), 
              url('../images/hero.png') center/cover no-repeat;
  color: #ffffff;
  padding: 90px 0;
  text-align: center;
}

.mb-bottom-cta h2 {
  font-size: 36px;
  margin-bottom: 20px;
  font-weight: 700;
  color: #ffffff;
}

.mb-bottom-cta p {
  color: #cfd8f5;
  max-width: 900px;
  margin: 0 auto 30px;
  font-size: 15px;
  line-height: 1.8;
}

/* ============================================
   BUTTONS
   ============================================ */
.mb-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;
}

.mb-btn-primary {
  background: #2952e3;
  color: #ffffff;
}

.mb-btn-primary:hover {
  background: #4fa3e3;
  color: #ffffff;
}

/* ============================================
   CONTAINER
   ============================================ */
.mb-container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ============================================
   TEXT UTILITIES
   ============================================ */
.mb-text-center {
  text-align: center;
}

/* ============================================
   SPINNER ANIMATION
   ============================================ */
.mb-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: mb-spin 0.8s linear infinite;
  margin-right: 8px;
  vertical-align: middle;
}

@keyframes mb-spin {
  to { transform: rotate(360deg); }
}

.mb-btn:disabled {
  cursor: not-allowed;
  opacity: 0.75;
}

/* ============================================
   RESPONSIVE BREAKPOINTS
   ============================================ */

/* Tablets */
@media (max-width: 991px) {
  .mb-hero-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .mb-split-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .mb-highlight-grid {
    grid-template-columns: 1fr 1fr;
  }

  .mb-services-offer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .mb-why-choose-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .mb-hero {
    padding: 40px 0;
  }

  .mb-hero-content h1 {
    font-size: 32px;
  }

  .mb-highlight-section {
    padding: 60px 0 30px 0;
  }

  .mb-split-section {
    padding: 60px 0;
  }

  .mb-process-section {
    padding: 60px 0;
  }

  .mb-services-offer-section {
    padding: 60px 0;
  }

  .mb-why-choose-section {
    padding: 60px 0;
  }

  .mb-bottom-cta {
    padding: 70px 0;
  }

  .mb-bottom-cta h2 {
    font-size: 30px;
  }

  .mb-services-offer-header h2 {
    font-size: 28px;
  }

  .mb-process-header h2 {
    font-size: 28px;
  }

  .mb-why-choose-header h2 {
    font-size: 28px;
  }
}

/* Mobile Phones */
@media (max-width: 768px) {
  .mb-hero {
    padding: 35px 0;
  }

  .mb-hero-form-box {
    padding: 18px 15px;
  }

  .mb-hero-form-box .mb-form-row-two-col {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .mb-hero-content h1 {
    font-size: 28px;
  }

  .mb-hero-content p {
    font-size: 14px;
  }

  .mb-highlight-grid {
    grid-template-columns: 1fr;
  }

  .mb-high-card {
    padding: 25px 18px;
  }

  .mb-split-grid h2 {
    font-size: 24px;
  }

  .mb-split-grid p {
    font-size: 14px;
  }

  .mb-split-section {
    padding: 50px 0;
  }

  .mb-process-wrapper {
    gap: 20px;
  }

  .mb-process-step {
    width: 150px;
  }

  .mb-process-step .mb-diamond {
    width: 80px;
    height: 80px;
  }

  .mb-process-step .mb-diamond i {
    font-size: 24px;
  }

  .mb-services-offer-grid {
    grid-template-columns: 1fr;
  }

  .mb-offer-card {
    padding: 25px 20px;
  }

  .mb-services-offer-header h2 {
    font-size: 24px;
  }

  .mb-why-choose-grid {
    grid-template-columns: 1fr 1fr;
  }

  .mb-why-card {
    padding: 25px 18px;
  }

  .mb-why-choose-header h2 {
    font-size: 24px;
  }

  .mb-bottom-cta {
    padding: 50px 0;
  }

  .mb-bottom-cta h2 {
    font-size: 26px;
  }

  .mb-bottom-cta p {
    font-size: 14px;
    padding: 0 15px;
  }

  .mb-btn {
    padding: 12px 28px;
    font-size: 13px;
  }

  .mb-container {
    padding: 0 15px;
  }

  .mb-process-header h2 {
    font-size: 24px;
  }

  .mb-highlight-section {
    padding: 50px 0 20px 0;
  }

  .mb-process-section {
    padding: 50px 0;
  }

  .mb-services-offer-section {
    padding: 50px 0;
  }

  .mb-why-choose-section {
    padding: 50px 0;
  }
}

/* Small Mobile Phones */
@media (max-width: 480px) {
  .mb-hero {
    padding: 30px 0;
  }

  .mb-hero-content h1 {
    font-size: 24px;
  }

  .mb-hero-form-box h3 {
    font-size: 17px;
  }

  .mb-hero-form-box input,
  .mb-hero-form-box select,
  .mb-hero-form-box textarea {
    font-size: 13px;
    padding: 8px 11px;
  }

  .mb-split-grid h2 {
    font-size: 22px;
  }

  .mb-why-choose-grid {
    grid-template-columns: 1fr;
  }

  .mb-process-step {
    width: 130px;
  }

  .mb-process-step .mb-diamond {
    width: 70px;
    height: 70px;
  }

  .mb-process-step .mb-diamond i {
    font-size: 20px;
  }

  .mb-process-step .mb-diamond span {
    width: 20px;
    height: 20px;
    font-size: 10px;
  }

  .mb-process-step h4 {
    font-size: 14px;
  }

  .mb-process-step p {
    font-size: 12px;
  }

  .mb-services-offer-header h2 {
    font-size: 22px;
  }

  .mb-services-offer-header .mb-subtitle-tag {
    font-size: 12px;
  }

  .mb-offer-card h3 {
    font-size: 17px;
  }

  .mb-offer-list li {
    font-size: 13px;
  }

  .mb-bottom-cta h2 {
    font-size: 22px;
  }

  .mb-bottom-cta {
    padding: 40px 0;
  }

  .mb-container {
    padding: 0 12px;
  }

  .mb-btn {
    padding: 10px 24px;
    font-size: 13px;
    width: 100%;
  }

  .mb-high-card .mb-icon {
    font-size: 28px;
  }

  .mb-high-card h4 {
    font-size: 16px;
  }

  .mb-high-card p {
    font-size: 13px;
  }

  .mb-why-card h4 {
    font-size: 15px;
  }

  .mb-why-card p {
    font-size: 13px;
  }
}