/* ============================================
   IMPACT SECTION
   Brain & Mind Foundation WordPress Theme
   ============================================
   Two-column card grid on cream background,
   white cards with coral left border animation,
   hover lift, and responsive single-column.
   ============================================ */

.impact {
  padding: 120px 0;
  background: var(--cream);
  position: relative;
}

/* Subtle divider line at top */
.impact::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--cream-dark), transparent);
}

/* ============================================
   IMPACT GRID (2 columns)
   ============================================ */
.impact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

/* ============================================
   IMPACT CARD
   ============================================ */
.impact-card {
  background: var(--white);
  border-radius: 20px;
  padding: 44px 36px;
  border: 1px solid rgba(0,0,0,0.05);
  transition: all 0.5s var(--ease-out-expo);
  position: relative;
  overflow: hidden;
}

/* Coral left border — grows to full height on hover */
.impact-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 0;
  background: var(--coral);
  border-radius: 0 4px 4px 0;
  transition: height 0.6s var(--ease-out-expo);
}

.impact-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.06);
}
.impact-card:hover::before {
  height: 100%;
}

/* ============================================
   IMPACT CARD CONTENT
   ============================================ */
.impact-number {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--coral);
  margin-bottom: 16px;
  letter-spacing: 0.02em;
}

.impact-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 12px;
  line-height: 1.3;
}

.impact-desc {
  font-size: 0.95rem;
  color: var(--text-body);
  line-height: 1.8;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 700px) {
  .impact {
    padding: 80px 0;
  }
  .impact-grid {
    grid-template-columns: 1fr;
  }
}
