.problems-section {
  position: relative;
  width: 100%;
  padding: 80px 0;
  background: radial-gradient(75% 120% at 0% 100%, rgba(37, 211, 102, 0.25) 0%, rgba(255, 255, 255, 0) 60%);
  z-index: 5;
  overflow: hidden;
}

.problems-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(30px, 5vw, 60px);
}

/* Header */
.problems-header {
  margin-bottom: 90px;
}

.problems-subtitle {
  color: rgba(0, 0, 0, 0.50);
  font-family: Lexend;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
  display: block;
}

.problems-title-row {
  display: flex;
  align-items: center;
  gap: 40px;
}

.problems-main-title {
  color: #000;
  font-family: Lexend;
  font-size: 36px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  margin: 0;
  flex-shrink: 1;
  display: block;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.problems-main-title span {
  display: inline-block;
  white-space: normal;
}

.problems-title-line {
  flex: 1;
  height: 1px;
  background: transparent;
  margin-right: -9999px;
  position: relative;
}

.problems-title-line::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 90%;
  height: 2px;
  background: linear-gradient(90deg, #0000 0%, #2dcb71 1.60016%);
  opacity: 1;
  will-change: transform;
  transform: none;
}

.problems-section.animated .problems-title-line::after {
  animation: lineExpand 0.5s ease-out forwards;
  animation-delay: 0.2s;
}

.problems-title-line::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 2px;
  background: #FFFFFF;
  opacity: 1;
  z-index: 1;
}

.problems-section.animated .problems-title-line::before {
  animation: whiteOverlayFade 0.5s ease-out forwards;
  animation-delay: 0.2s;
}

@keyframes lineExpand {
  0% {
    width: 90%;
  }
  100% {
    width: 100%;
  }
}

@keyframes whiteOverlayFade {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

@keyframes slideUpFade {
  0% {
    opacity: 0;
    filter: blur(4px);
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    filter: blur(0px);
    transform: translateY(0);
  }
}

/* Grid */
.problems-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.problem-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.problem-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.problem-icon img {
  width: auto;
  height: 100%;
  object-fit: contain;
}

.problem-title {
  color: #000;
  font-family: Lexend;
  font-size: 25px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  margin: 0 0 24px 0;
  min-height: 56px;
  max-width: 273px;
  display: block;
}

.problem-line {
  width: 100%;
  height: 1px;
  background: #2ECC71;
  margin-bottom: 12px;
}

.problem-description {
  color: #000;
  font-family: Lexend;
  font-size: 16px;
  font-style: normal;
  font-weight: 300;
  line-height: 24px;
  margin: 0;
}

/* Responsive */
@media (max-width: 1024px) {
  .problems-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .problem-title {
    min-height: auto;
  }
  
  .problems-header {
    margin-bottom: 60px;
  }
  
  .problems-title-row {
    flex-direction: row;
    align-items: center;
    gap: 20px;
    width: 100%;
  }
  
  .problems-main-title {
    flex-shrink: 0;
    min-width: 0;
    width: 70%;
  }
  
  .problems-title-line {
    display: block;
    flex: 1 1 auto;
    min-width: 0;
    height: 1px;
    margin-right: calc(-1 * clamp(30px, 5vw, 60px));
    margin-top: 0;
  }
  
  .problems-title-line::after {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .problems-section {
    padding: 60px 0;
  }
  
  .problems-main-title {
    font-size: 28px;
  }
  
  .problem-title {
    font-size: 20px;
  }
  
  .problem-icon {
    width: 40px;
    height: 40px;
  }
}

