/* Solutions Section */
.solutions-section {
  position: relative;
  width: 100%;
  background-color: white;
  overflow: visible;
  min-height: 1000px;
  font-family: "Neutraface", "Neutraface Text", sans-serif;
}

/* Background SVG Layer */
.background-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 685px;
  overflow: hidden;
  z-index: 0;
}

.background-svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* Main Container */
.solutions-container {
  position: relative;
  z-index: 10;
  max-width: 1440px;
  margin: 0 auto;
  padding: 175px 32px 0;
  width: 100%;
}

/* Heading */
.solutions-heading {
  display: flex;
  justify-content: center;
  margin-bottom: 100px;
}

.solutions-heading h2 {
  color: #b69b6a;
  font-weight: 500;
  text-align: center;
	font-family: "Neutraface Text", sans-serif;
}

/* Grid Layout */
.solutions-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: start;
}

/* Card Container */
.solution-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  max-width: 280px;
  margin: 0 auto;
  cursor: pointer;
}

a.solution-card {
  text-decoration: none;
  color: inherit;
}

/* Image Container */
.card-image-container {
  position: relative;
  width: 100%;
  aspect-ratio: 228 / 372;
  margin-bottom: 32px;
  transition: transform 0.3s ease-out;
}

.solution-card:hover .card-image-container,
.solution-card:active .card-image-container {
  transform: translateY(-15px);
}

.card-image-svg {
  width: 100%;
  height: 100%;
}

/* Gradient Overlay */
.gradient-overlay {
  opacity: 0;
  transition: opacity 0.3s ease;
  mix-blend-mode: multiply;
}

.solution-card:hover .gradient-overlay,
.solution-card:active .gradient-overlay {
  opacity: 1;
}

/* Arrow CTA */
.arrow-cta {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.solution-card:hover .arrow-cta,
.solution-card:active .arrow-cta {
  opacity: 1;
}

/* Arrow Icon SVG */
.arrow-icon {
  width: 32px;
  height: 32px;
  color: white;
  stroke: currentColor;
  fill: none;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Card Title */
.card-title {
  color: #0d2043;
  font-size: 30px;
  font-weight: bold;
  line-height: 1.2;
  width: 100%;
  text-align: center;
  transition: color 0.3s ease;
}

.solution-card:hover .card-title,
.solution-card:active .card-title {
  color: #B69B6A;
}

/* Responsive Breakpoints */

/* Small screens (sm: 640px) */
@media (min-width: 640px) {
  .solutions-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Medium screens (md: 768px) */
@media (min-width: 768px) {
  .card-title {
    font-size: 30px;
  }
}

/* Large screens (lg: 1024px) */
@media (min-width: 1024px) {
  .solutions-grid {
    grid-template-columns: repeat(5, 1fr);
  }
  
  .solution-card {
    max-width: none;
  }
}
/* Background size */
@media (max-width: 1300px) {
	.background-layer {
	  height: 585px;
	}
}

/* Tablet adjustments */
@media (max-width: 767px) {
  .solutions-heading h2 {
    font-size: 40px;
  }
  
  .card-title {
    font-size: 24px;
  }
}
