/* Problem Section */
.cf-problem {
  padding: var(--spacing-4xl) 0;
  background-color: transparent;
}

.cf-problem__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--spacing-xl);
  max-width: 1120px;
  margin: 0 auto;
}

/* Heading */
.cf-problem__heading {
  text-align: center;
}

.cf-problem__title {
  font-family: var(--font-family-main);
  font-size: var(--font-size-4);
  font-weight: 500;
  line-height: 1.5;
  color: var(--color-text-primary);
  letter-spacing: 3.2px;
  margin: 0;
}

/* Problem List */
.cf-problem__list {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--spacing-1xl);
  width: 100%;
}

/* Problem Item */
.cf-problem__item {
  display: flex;
  align-items: flex-start;
  gap: var(--spacing-md);
  width: 100%;
  max-width: 1000px;
}

.cf-problem__item--reverse {
  flex-direction: row-reverse;
}

/* Icon */
.cf-problem__icon {
  flex-shrink: 0;
  width: 96px;
  height: 96px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cf-problem__icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Card */
.cf-problem__card {
  position: relative;
  flex: 1;
  max-width: 600px;
}
.cf-problem__card:before {
  background-image: url('data:image/svg+xml;charset=utf8,%3Csvg%20width%3D%2217%22%20height%3D%2217%22%20viewBox%3D%220%200%2017%2017%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M0%208.50001L16.5%200.272766V16.7272L0%208.50001Z%22%20fill%3D%22%23FEFEFE%22%2F%3E%3C%2Fsvg%3E');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  width: 17px;
  height: 17px;
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translate(-100%, -50%);
}

.cf-problem__card-content {
  background-color: rgba(255, 255, 255, 0.95);
  border-radius: 5px;
  padding: var(--spacing-md);
  position: relative;
  z-index: 2;
}

.cf-problem__card-text {
  font-family: var(--font-family-main);
  font-size: var(--font-size-5);
  font-weight: 500;
  line-height: 1.5;
  color: var(--color-text-primary);
  letter-spacing: 0.72px;
  margin: 0;
}


.cf-problem__item--reverse .cf-problem__card:before {
  left: auto;
  right: 0;
  transform: translate(100%, -50%) scaleX(-1);
}

.cf-problem__arrow img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Responsive Design */
@media screen and (max-width: 960px) {
  .cf-problem {
    padding: var(--spacing-2xl) 0;
  }
  
  .cf-problem__content {
    gap: var(--spacing-2xl);
  }
  
  .cf-problem__title {
    font-size: var(--font-size-5);
    letter-spacing: 2px;
  }
  
  .cf-problem__list {
    gap: var(--spacing-2xl);
  }
  
  .cf-problem__item {
    gap: var(--spacing-sm);
  }
  
  
  .cf-problem__icon {
    width: 80px;
    height: 80px;
  }
  
  .cf-problem__card {
    display: flex;
    padding:0;
    max-width: 100%;
  }
  .cf-problem__item--reverse .cf-problem__card {
    justify-content: flex-end;
  }
  
  .cf-problem__card-text {
    font-size: var(--font-size-6);
    letter-spacing: 0.5px;
  }
  
  .cf-problem__arrow {
    display: none;
  }
}

@media screen and (max-width: 767px) {
  .cf-problem {
    padding: var(--spacing-xl) 0;
  }
  
  .cf-problem__content {
    gap: var(--spacing-xl);
  }
  
  .cf-problem__title {
    font-size: var(--font-size-6);
    letter-spacing: 1px;
  }
  
  .cf-problem__list {
    gap: var(--spacing-md);
  }
  
  .cf-problem__icon {
    width: 64px;
    height: 64px;
  }
  
  .cf-problem__card-content {
    padding: var(--spacing-sm);
  }
  
  .cf-problem__card-text {
    font-size: var(--font-size-9);
    letter-spacing: 0.3px;
  }
}
