/* ==========================================================================
   Solution Hub (.p-solution)
   ========================================================================== */

/* --- Lead Section --- */
.p-solution-lead {
  padding: 80px 0;
  text-align: center;
}

.p-solution-lead__title {
  font-size: 36px;
  font-weight: bold;
  color: var(--color-primary);
  margin-bottom: 40px;
}

.p-solution-lead__desc {
  font-size: 16px;
  line-height: 2;
  margin-bottom: 40px;
}

.p-solution-lead__links {
  display: grid;
  grid-template-columns: repeat(3, auto);
  justify-content: center;
  gap: 20px 40px;
  max-width: 800px;
  margin: 0 auto;
}

.p-solution-lead__link {
  color: var(--color-primary);
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  transition: opacity 0.3s ease;
}

.p-solution-lead__link:hover {
  opacity: 0.7;
}

/* --- Cards Section (3 columns) --- */
.p-solution-cards {
  padding: 0 0 80px;
}

.p-solution-cards__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.p-solution-card {
  background-color: #FFFFFF;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  color: var(--color-text-main);
  transition: transform 0.3s ease;
}

.p-solution-card:hover {
  transform: translateY(-4px);
}

.p-solution-card__thumb {
  width: 100%;
  height: 200px;
  background-color: #D9D9D9; /* Placeholder grey */
  overflow: hidden;
}

.p-solution-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.p-solution-card:hover .p-solution-card__thumb img {
  transform: scale(1.05);
}

.p-solution-card__body {
  padding: 24px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.p-solution-card__title {
  font-size: 18px;
  font-weight: bold;
  color: var(--color-primary);
  margin-bottom: 16px;
}

.p-solution-card__text {
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 24px;
  flex-grow: 1;
}

.p-solution-card__icon {
  align-self: flex-end;
  width: 24px;
  height: 24px;
  color: var(--color-primary);
}

/* --- Approaches Section --- */
.p-solution-approaches {
  background-color: transparent;
  padding: 80px 0;
  text-align: center;
}

.p-solution-approaches .p-strength-services__intro p {
  color: var(--color-text-main, #2D3748);
}

/* --- Trainers Section --- */
.p-solution-trainers {
  padding: 80px 0;
  text-align: center;
}

.p-solution-trainers__title {
  font-size: 28px;
  font-weight: bold;
  margin-bottom: 48px;
}

.p-solution-trainers__grid {
  display: flex;
  justify-content: center;
  gap: 32px;
}

.p-solution-trainer {
  width: 100%;
  max-width: 360px;
  margin: 0 auto;
  text-align: center;
  text-decoration: none;
  color: var(--color-text-main, #333333);
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s ease;
}

.p-solution-trainer:hover {
  transform: translateY(-3px);
}

.p-solution-trainer__thumb {
  width: 100%;
  max-width: 320px;
  border-radius: 8px;
  margin: 0 auto 16px;
  overflow: hidden;
}

.p-solution-trainer__thumb img {
  width: 100%;
  height: auto;
  display: block;
}

.p-solution-trainer__role {
  font-size: 13px;
  color: var(--color-primary, #5C9EAD);
  margin-bottom: 8px;
  text-align: center;
}

.p-solution-trainer__message {
  font-size: 16px;
  font-weight: bold;
  line-height: 1.6;
  text-align: center;
}

.p-solution-trainer__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 16px auto 0;
  padding: 12px 28px;
  background-color: var(--color-primary, #5C9EAD);
  color: #FFFFFF;
  font-size: 14px;
  font-weight: bold;
  border-radius: 24px;
  transition: background-color 0.3s ease;
}

.p-solution-trainer:hover .p-solution-trainer__btn {
  background-color: var(--color-primary-dark, #4A8896);
}

/* --- Links Section --- */
.p-solution-links {
  padding: 0 0 80px;
}

.p-solution-links__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.p-solution-link-btn {
  display: flex;
  align-items: center;
  background-color: #FFFFFF;
  border-radius: 8px;
  border: 1px solid #E0E0E0;
  overflow: hidden;
  text-decoration: none;
  color: var(--color-text-main);
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  transition: transform 0.3s ease;
}

.p-solution-link-btn:hover {
  transform: translateY(-2px);
}

.p-solution-link-btn__thumb {
  width: 72px;
  height: 72px;
  background-color: rgba(92, 158, 173, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.p-solution-link-btn__thumb img {
  width: 38px;
  height: 38px;
  object-fit: contain;
  display: block;
}

.p-solution-link-btn__text {
  flex-grow: 1;
  text-align: center;
  font-size: 16px;
  font-weight: bold;
}

.p-solution-link-btn__icon {
  width: 24px;
  height: 24px;
  color: var(--color-primary);
  margin-right: 16px;
}

/* --- Responsive --- */
@media screen and (max-width: 767px) {
  .p-solution-lead__title {
    font-size: 28px;
  }
  
  .p-solution-lead__links {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .p-solution-cards__grid,
  .p-solution-approaches__grid,
  .p-solution-trainers__grid,
  .p-solution-links__grid {
    grid-template-columns: 1fr;
  }
  
  .p-solution-approaches__message {
    font-size: 18px;
  }
}

/* --- Others Section (4 items grid) --- */
.p-solution-others {
  padding-top: 60px;
  padding-bottom: 0;
}

.p-solution-others__title {
  font-size: 32px;
  font-weight: bold;
  color: var(--color-text-main);
  margin-bottom: 16px;
}

.p-solution-others__lead {
  font-size: 16px;
  color: var(--color-text-main);
  margin-bottom: 40px;
}

.p-solution-others__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.p-solution-others-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--color-text-main);
  transition: opacity 0.3s ease;
}

.p-solution-others-card:hover {
  opacity: 0.8;
}

.p-solution-others-card__thumb {
  width: 100%;
  aspect-ratio: 4 / 3;
  background-color: #D9D9D9; /* Placeholder Gray */
  border-radius: 8px;
  margin-bottom: 16px;
}

.p-solution-others-card__text {
  font-size: 16px;
  font-weight: bold;
  text-align: center;
  line-height: 1.6;
}

.p-solution-others__separator {
  margin-top: 60px;
  border-bottom: 2px solid #8FBE9F;
}

@media screen and (max-width: 767px) {
  .p-solution-others {
    padding-top: 40px;
  }
  .p-solution-others__title {
    font-size: 24px;
  }
  .p-solution-others__grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .p-solution-others__separator {
    margin-top: 40px;
  }
}

