.mind-page,
.mind-page * {
  box-sizing: border-box;
}

.mind-page {
  background: #fffdf9;
  padding: 45px 5%;
  font-family: inherit;
  color: #082b17;
}

.mind-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  margin: 0 0 30px;
}

.mind-title span {
  width: 220px;
  height: 1px;
  background: #efb99f;
}

.mind-title h2 {
  margin: 0;
  font-size: 32px;
  color: #082b17;
  font-weight: 700;
  text-align: center;
}

.focus-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-bottom: 38px;
}

.focus-card {
  border: 1px solid #f1c9b5;
  border-radius: 10px;
  background: #fffaf4;
  padding: 36px 26px;
  text-align: center;
  transition: .35s ease;
}

.focus-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 35px rgba(8,43,23,.12);
  background: #fff7ef;
  border-color: #e94b12;
}

.focus-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: #fff1e8;
  border: 1px solid #f0bda8;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: .35s ease;
}

.focus-icon img {
  width: 34px;
  height: 34px;
  object-fit: contain;
  transition: .35s ease;
  filter: invert(42%) sepia(96%) saturate(2055%) hue-rotate(351deg) brightness(93%) contrast(96%);
}

.focus-card:hover .focus-icon {
  background: #e94b12;
  border-color: #e94b12;
  transform: scale(1.08) rotate(4deg);
  box-shadow: 0 12px 25px rgba(233,75,18,.22);
}

.focus-card:hover .focus-icon img {
  filter: brightness(0) invert(1);
  transform: scale(1.12);
}

.focus-card h3 {
  margin: 0 0 14px;
  font-size: 21px;
  color: #082b17;
}

.focus-card:hover h3 {
  color: #e94b12;
}

.focus-card p {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  color: #111827;
}

.impact-row {
  display: grid;
  grid-template-columns: .9fr 1.25fr;
  gap: 60px;
  align-items: center;
  margin: 20px 0 48px;
}

.impact-content span {
  color: #e94b12;
  font-size: 14px;
  font-weight: 800;
}

.impact-content h2 {
  font-size: 36px;
  line-height: 1.2;
  margin: 10px 0 14px;
}

.impact-content i {
  display: block;
  width: 70px;
  height: 3px;
  background: #e94b12;
  margin-bottom: 20px;
}

.impact-content p {
  font-size: 16px;
  line-height: 1.8;
  color: #111827;
}

.impact-image {
  overflow: hidden;
  border-radius: 14px;
}

.impact-image img {
  width: 100%;
  height: 390px;
  object-fit: cover;
  border-radius: 14px;
  display: block;
  transition: .35s ease;
}

.impact-image:hover img {
  transform: scale(1.04);
}

.program-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 28px;
}

.program-card {
  border: 1px solid #f1c9b5;
  border-radius: 10px;
  background: #fffaf4;
  overflow: hidden;
  transition: .35s ease;
}

.program-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 35px rgba(8,43,23,.12);
  border-color: #e94b12;
}

.program-card img {
  width: 100%;
  height: 170px;
  object-fit: cover;
  display: block;
  transition: .35s ease;
}

.program-card:hover img {
  transform: scale(1.06);
}

.program-card div {
  padding: 22px;
}

.program-card h3 {
  font-size: 18px;
  line-height: 1.35;
  margin: 0 0 12px;
  color: #082b17;
}

.program-card p {
  display: -webkit-box;
  min-height: 48px;
  margin: 0 0 18px;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  font-size: 14px;
  line-height: 1.7;
  color: #111827;
}

.program-card a {
  color: #e94b12 !important;
  font-weight: 700;
  text-decoration: none;
}

.body-program-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.body-program-modal.is-open {
  display: flex;
}

.body-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8,43,23,.58);
}

.body-modal-panel {
  position: relative;
  width: min(720px, 100%);
  max-height: calc(100vh - 48px);
  overflow: auto;
  border: 1px solid #f1c9b5;
  border-radius: 10px;
  background: #fffdf9;
  padding: 34px;
  box-shadow: 0 24px 55px rgba(8,43,23,.24);
}

.body-modal-panel h3 {
  margin: 0 44px 16px 0;
  color: #082b17;
  font-size: 24px;
  line-height: 1.35;
}

.body-modal-panel p {
  margin: 0 0 16px;
  color: #111827;
  font-size: 16px;
  line-height: 1.8;
}

.body-modal-panel p:last-child {
  margin-bottom: 0;
}

.body-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 1px solid #f1c9b5;
  border-radius: 50%;
  background: #fff7ef;
  color: #082b17;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.body-modal-lock {
  overflow: hidden;
}

@media(max-width:1100px) {
  .focus-grid,
  .program-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .impact-row {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

@media(max-width:767px) {
  .mind-page {
    padding: 35px 18px;
  }

  .mind-title {
    gap: 10px;
  }

  .mind-title span {
    width: 42px;
  }

  .mind-title h2 {
    font-size: 24px;
  }

  .focus-grid,
  .program-grid {
    grid-template-columns: 1fr;
  }

  .focus-card {
    padding: 30px 22px;
  }

  .focus-icon {
    width: 58px;
    height: 58px;
  }

  .focus-icon img {
    width: 30px;
    height: 30px;
  }

  .impact-content h2 {
    font-size: 30px;
  }

  .impact-image img {
    height: 260px;
  }

  .program-card img {
    height: 210px;
  }

  .body-modal-panel {
    padding: 28px 22px;
  }

  .body-modal-panel h3 {
    font-size: 21px;
  }
}
