/* ========================================
   HOME PROBLEM SECTION - SITE 2
   Split image gallery with content
   ======================================== */

.home-problem-2 {
  background: linear-gradient(180deg, #ffffff 0%, #f5f5f5 100%);
  padding: 80px 0;
}

.home-problem-2 .problem-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.home-problem-2 .problem-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

/* ========================================
   LEFT: SPLIT IMAGE GALLERY
   ======================================== */

.home-problem-2 .problem-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.home-problem-2 .split-image-left,
.home-problem-2 .split-image-right {
  overflow: hidden;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.home-problem-2 .split-image-left img,
.home-problem-2 .split-image-right img {
  width: 100%;
  height: 100%;
  min-height: 500px;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

/* Split effect: Show left half of image in left container */
.home-problem-2 .split-image-left img {
  object-position: left center;
  transform: scale(2) translateX(-25%);
}

/* Split effect: Show right half of image in right container */
.home-problem-2 .split-image-right img {
  object-position: right center;
  transform: scale(2) translateX(25%);
}

.home-problem-2 .split-image-left:hover img {
  transform: scale(2.05) translateX(-25%);
}

.home-problem-2 .split-image-right:hover img {
  transform: scale(2.05) translateX(25%);
}

/* ========================================
   RIGHT: CONTENT
   ======================================== */

.home-problem-2 .problem-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.home-problem-2 .problem-eyebrow {
  color: rgb(120, 104, 230);
  font-size: var(--section-eyebrow-size);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 0;
  font-family: 'Mulish', sans-serif;
}

.home-problem-2 .problem-heading {
  font-size: var(--section-heading-size);
  font-weight: 800;
  color: #232325;
  line-height: 1.2;
  margin: 0;
  font-family: 'Mulish', sans-serif;
}

.home-problem-2 .problem-description {
  font-size: var(--section-body-size);
  font-weight: 400;
  color: #5a5a5a;
  line-height: var(--section-body-line-height);
  margin: 0;
  font-family: 'Mulish', sans-serif;
}

/* ========================================
   CTA BUTTON
   ======================================== */

.home-problem-2 .problem-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(135deg, rgb(120, 104, 230) 0%, rgb(100, 84, 210) 100%);
  color: #ffffff;
  padding: 15px 40px;
  border-radius: 50px;
  text-decoration: none;
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  font-weight: 600;
  transition: all 0.3s ease;
  align-self: flex-start;
  box-shadow: 0 4px 15px rgba(120, 104, 230, 0.3);
}

.home-problem-2 .problem-cta:hover {
  background: linear-gradient(135deg, rgb(100, 84, 210) 0%, rgb(80, 64, 190) 100%);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(120, 104, 230, 0.4);
}

.home-problem-2 .cta-icon-bg {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
}

.home-problem-2 .cta-icon {
  font-size: 12px;
  color: #ffffff;
}

.home-problem-2 .cta-icon.icon-star::before {
  content: "★";
}

/* ========================================
   RESPONSIVE - TABLET
   ======================================== */

@media (max-width: 1024px) {
  .home-problem-2 {
    padding: 60px 0;
  }

  .home-problem-2 .problem-grid {
    gap: 40px;
  }

  .home-problem-2 .problem-heading {
    font-size: var(--section-heading-size-tablet);
  }

  .home-problem-2 .problem-description {
    font-size: 16px;
  }
}

/* ========================================
   RESPONSIVE - MOBILE
   ======================================== */

@media (max-width: 768px) {
  .home-problem-2 {
    padding: 50px 0;
  }

  .home-problem-2 .problem-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .home-problem-2 .problem-images {
    gap: 15px;
  }

  .home-problem-2 .problem-eyebrow {
    font-size: 11px;
    text-align: center;
  }

  .home-problem-2 .problem-heading {
    font-size: var(--section-heading-size-mobile);
    text-align: center;
  }

  .home-problem-2 .problem-description {
    font-size: 16px;
    text-align: center;
  }

  .home-problem-2 .problem-cta {
    align-self: center;
    width: 100%;
    max-width: 300px;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .home-problem-2 .problem-heading {
    font-size: 28px;
  }

  .home-problem-2 .problem-description {
    font-size: 15px;
  }

  .home-problem-2 .problem-cta {
    font-size: 14px;
    padding: 12px 30px;
  }
}
