/* ========================================
   REHABME - COMPONENTS.CSS
   Reusable UI Components
   ======================================== */

/* ========= SECTION BASE ========= */

.section {
  margin-bottom: var(--space-7);
}

.section-title {
  margin-bottom: var(--space-3);
}

.section-subtitle {
  margin-bottom: var(--space-4);
  color: var(--color-text-secondary);
  font-size: var(--font-size-body);
}

/* ========= CARD BASE ========= */

.card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-2px);
}

/* Card variants */

.card-soft {
  background: var(--color-card);
  box-shadow: none;
}

.card-center {
  text-align: center;
}

/* ========= SERVICE LIST ITEM ========= */

.service-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-3);
  background: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  margin-bottom: var(--space-3);
  transition: transform 0.2s ease;
}

.service-item:hover {
  transform: translateY(-2px);
}

.service-info {
  display: flex;
  flex-direction: column;
}

.service-title {
  font-weight: 600;
  color: var(--color-text);
}

.service-subtext {
  font-size: var(--font-size-small);
  color: var(--color-text-secondary);
}

/* ========= BUTTON GROUP ========= */

.button-group {
  display: flex;
  gap: var(--space-2);
  flex-wrap: wrap;
}

/* ========= BADGE / PILL ========= */

.pill {
  display: inline-block;
  padding: 6px 14px;
  background: rgba(39, 175, 201, 0.1);
  color: var(--color-primary);
  border-radius: 999px;
  font-size: var(--font-size-small);
  font-weight: 500;
}

/* ========= GRID UTILITIES ========= */

.grid-2 {
  display: grid;
  gap: var(--space-4);
}

@media (min-width: 1024px) {
  .grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

.grid-3 {
  display: grid;
  gap: var(--space-4);
}

@media (min-width: 1024px) {
  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ========= DIVIDER ========= */

.divider {
  height: 1px;
  background: var(--color-card);
  margin: var(--space-5) 0;
}