/* Solution Detail Page Styles */

/* Our Solutions Page - Reduce spacing above solution grid by 30% */
.solutions-section .container {
  padding-top: 4.2rem; /* Reduced from 6rem (96px) to 4.2rem (67.2px) - 30% reduction */
  padding-bottom: var(--fam-spacing-xxl); /* Keep bottom padding consistent */
}

.solution-detail.page-section {
  align-items: flex-start;
  padding-top: 96px;
  padding-bottom: 96px;
  min-height: auto; /* wrap contents instead of 120vh */
}

.solution-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 96px; /* increased from 48px to 96px (2x) */
  align-items: center; /* center align both columns vertically */
}

.solution-content {
  transform: translateY(-20%); /* move content 20% higher */
}

.solution-image {
  width: 100%;
}

.solution-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 12px;
}

.solution-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.solution-detail-title {
  font-family: var(--fam-font-heading);
  font-weight: 400;
  font-style: normal;
  font-size: 36px;
  line-height: 44px;
  letter-spacing: 0;
  text-transform: uppercase;
  color: #202126;
  margin: 0;
}

.solution-description {
  font-family: var(--fam-font-body);
  font-weight: 300; /* Light */
  font-size: 16px;
  line-height: 24px;
  letter-spacing: 0.02em; /* 2% */
  color: rgba(32, 33, 38, 1);
}

.solution-description p {
  font-family: var(--fam-font-body);
  font-weight: 300; /* Light */
  font-size: 16px;
  line-height: 24px;
  letter-spacing: 0.02em; /* 2% */
  color: rgba(32, 33, 38, 1);
  margin: 0 0 16px 0;
}

.solution-description p:last-child {
  margin-bottom: 0;
}

.solution-detail .btn {
  align-self: flex-start; /* align button to left */
  margin-top: 8px;
}

/* Solutions section mobile padding */
@media (max-width: 768px) {
  .solutions-section .container {
    padding-left: 24px;
    padding-right: 24px;
  }
}

/* Responsive adjustments */
@media (max-width: 980px) {
  .solution-detail-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .solution-detail-title {
    font-size: 28px;
    line-height: 34px;
  }
}

@media (max-width: 480px) {
  .solution-detail.page-section {
    padding-top: 48px;
    padding-bottom: 48px;
  }
  
  .solution-detail-grid {
    gap: 24px;
  }
  
  .solution-detail-title {
    font-size: 24px;
    line-height: 30px;
  }
  
  .solution-content {
    gap: 16px;
  }
}
