* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

.container {
  width: 96%;
  max-width: 1400px;
  margin: auto;
}

/* SOLUTION HERO */

.solution-hero {
  position: relative;
  height: 400px;

  background: url("../assets/Solutions.png") center/cover no-repeat;

  display: flex;
  align-items: flex-end;
}

/* PURPLE OVERLAY */

.solution-overlay {
  position: absolute;
  inset: 0;

  background: #320242c4;
}

/* TEXT */

.solution-content {
  position: relative;
  padding: 40px 5%;
}

.solution-content h1 {
  color: #ffc107;
  font-size: 42px;
  font-weight: 700;
}

/* SECTION */

.solution-section {
  background: #fff;
  padding: 80px 0;
}

/* TITLE */

.solution-title {
  font-size: 34px;
  font-weight: 700;
  margin-bottom: 40px;
}

.solution-title span {
  color: #e3a200;
}

/* spacing between sections */

.solution-title.second {
  margin-top: 80px;
}

/* ROW */

.solution-row {
  display: flex;
  align-items: center;
  gap: 60px;
}

/* IMAGE */

.solution-image {
  width: 50%;
}

.solution-image img {
  width: 90%;
  height: 480px;
  object-fit: cover;
  border-radius: 18px;
}

/* TEXT */

.solution-text {
  width: 50%;
}

.solution-text p {
  font-size: 15px;
  line-height: 1.7;
  color: #333;
  margin-bottom: 22px;
}

.solution-text strong {
  font-weight: 700;
}

.outcome {
  background: #f5f0fa;
  border-left: 4px solid #4a0057;
  padding: 14px 18px;
  border-radius: 6px;
  color: #2b0033;
  font-size: 15px;
  line-height: 1.7;
}
/* CTA */
.cta {
  background: linear-gradient(135deg, #4B0A4E, #1E3A8A);
  color: white;
  text-align: center;
  padding: 70px 20px;
}

.cta h2 {
  font-size: 28px;
  margin-bottom: 10px;
}

.cta p {
  opacity: 0.8;
  margin-bottom: 25px;
}

.cta-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-white {
  background: white;
  color: #0f2c6e;
  padding: 12px 20px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
}

.btn-outline {
  border: 1px solid white;
  padding: 12px 20px;
  border-radius: 6px;
  text-decoration: none;
  color: white;
}

.btn-outline {
  display: flex;
  align-items: center;
  gap: 8px;

  border: 1px solid white;
  padding: 12px 22px;
  border-radius: 6px;
  text-decoration: none;
  color: white;
}

/* icon style */

.download-icon svg {
  width: 16px;
  height: 16px;
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* RESPONSIVE DESIGN */

/* Tablet (1024px) */
/* Tablet (1024px) */

@media (max-width: 1024px) {
  .solution-hero {
    height: 350px;
  }

  .solution-content h1 {
    font-size: 38px;
  }

  .solution-row {
    gap: 40px;
  }

  .solution-image img {
    height: 320px;
  }

  .solution-title {
    font-size: 30px;
  }
}

/* Mobile (767px) */

@media (max-width: 767px) {
  .solution-hero {
    height: 300px;
    justify-content: center;
  }

  .solution-content {
    padding: 30px 20px;
    text-align: center;
  }

  .solution-content h1 {
    font-size: 32px;
  }

  .solution-row {
    flex-direction: column;
    align-items: center; /* ⭐ important */
    gap: 30px;
  }

  .solution-image,
  .solution-text {
    width: 100%;
  }

  .solution-image {
    display: flex; /* ⭐ center image */
    justify-content: center;
  }

  .solution-image img {
    width: 100%;
    max-width: 420px; /* ⭐ keeps it centered and not full stretch */
  }

  .solution-title {
    text-align: center;
    font-size: 26px;
  }

  .solution-text {
    text-align: left;
  }
}

/* Small Mobile (480px) */

@media (max-width: 480px) {
  .solution-content h1 {
    font-size: 28px;
  }

  .solution-title {
    font-size: 22px;
  }

  .solution-image {
    display: flex;
    justify-content: center;
  }

  .solution-image img {
    max-width: 100%;
    max-height: 250px;
  }

  .solution-text p {
    font-size: 14px;
    line-height: 1.6;
  }
}

