:root {
  --card-radius: 24px;
  --card-blur: 32px;
  --card-bg: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.044) 0%,
    rgba(255, 255, 255, 0.0308) 100%
  );
  --text-desc: #b4bcd0;
}

.problem {
  min-height: 1200px;
  position: relative;
  margin-top: -1px;
  padding: 96px 0 128px 0;
  background: linear-gradient(160.92deg, #000a19 44.03%, #00c6ef 121.79%);
}

.star-problem {
  position: absolute;
  top: 8%;
  left: 50%;
  width: 50%;
  height: 32%;
  background: url(../img/problem/star-bg.png) center/cover no-repeat;
  opacity: 0.5;
  pointer-events: none;
}

.problem-container {
  position: relative;
  z-index: 1;
  gap: 48px;
  padding: 8px 0px;
}

.problem-info {
  gap: 8px;
  padding: 0 12rem;
}

.problem-description {
  padding: 0 9rem;
}

.problem-content,
.problem-row {
  align-items: flex-start;
  gap: 16px;
}

.problem-content {
  padding: 0 55px;
}

.problem-row {
  align-self: stretch;
}

.problem-data,
.problem-env,
.problem-hard {
  background: var(--card-bg);
  backdrop-filter: blur(var(--card-blur));
  border-radius: var(--card-radius);
}

.problem-data,
.problem-env,
.problem-currency,
.problem-hard {
  box-sizing: border-box;
}

.problem-data,
.problem-hard {
  flex: 0 0 71%;
  max-width: 70%;
}

.problem-env,
.problem-currency {
  flex: 0 0 29%;
  max-width: 30%;
}

.problem-data {
  padding: 66px 0 60px 0;
  align-self: stretch;
  justify-content: space-between;
}

.problem-env,
.problem-currency,
.problem-hard {
  position: relative;
}
.problem-env:hover,
.problem-currency:hover,
.problem-hard:hover,
.problem-env:hover {
  backdrop-filter: blur(16px);
}

.problem-env {
  padding: 0;
}

.problem-currency {
  min-height: 480px;
  justify-content: flex-end;
  border-radius: 24px;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.1) 100%
  );
}

.problem-hard {
  padding: 55px 24px;
  min-height: 480px;
  gap: 30px;
  flex: 1 0 0;
  position: relative;
}

.problem-text-1,
.problem-text {
  gap: 12px;
}
.problem-text-1 {
  width: 420px;
}
.problem-text h3,
.problem-text-1 h3 {
  color: #fff;
  font-size: 20px;
  font-weight: 500;
  text-align: center;
}
.problem-text-1 p,
.problem-text p {
  margin: 0 auto;
  color: #b4bcd0;
  text-align: center;
  font-size: 14px;
  font-weight: 500;
  line-height: 20.8px;
  padding: 0 14px;
}
.problem-env .problem-text p {
  padding: 0;
}

.problem-env .problem-text {
  position: absolute;
  left: 50%;
  bottom: 32px;
  width: 100%;
  min-height: 92px;
  padding: 0 18px;
  justify-content: flex-start;
  transform: translateX(-50%);
}

.problem-data .problem-text {
  width: 420px;
  gap: 12px;
}

.problem-img-1 {
  width: 896px;
  aspect-ratio: 128/35;
}

.problem-img-3,
.problem-img-2 {
  width: 100%;
  height: 480px;
}

.problem-env .problem-text {
  gap: 12px;
  align-self: stretch;
  padding: 0 40px;
}

.problem-currency .problem-text-1 {
  position: absolute;
  left: 50%;
  bottom: 56px;
  justify-content: flex-start;
  transform: translateX(-50%);
  padding: 0 60px;
}

.problem-img-container {
  position: relative;
}

.problem-text-1 h3 {
  padding: 16.5px 0;
  margin: 0;
}

.problem-img-4,
.problem-img-5 {
  position: absolute;
}

.problem-img-4 {
  width: 600.696px;
  height: 319.073px;
  aspect-ratio: 369/196;
  left: 40px;
  bottom: -28px;
}

.problem-img-5 {
  width: 318px;
  width: 317.795px;
  height: 169.359px;
  aspect-ratio: 152/81;
  box-shadow: 0 -4.078px 12.233px 12.233px rgba(10, 106, 131, 0.3);
  right: 38px;
  bottom: -3px;
}

@media (max-width: 768px) {
  .problem {
    min-height: auto;
    padding: 48px 0;
	background: linear-gradient(158deg, #000A19 61.13%, #00C6EF 111.64%);
  }
  .star-problem {
    width: 90%;
    height: 20%;
  }
  .problem-container {
    gap: 32px;
  }
  /* Bỏ padding ngang lớn của tiêu đề */
  .problem-info {
    padding: 0;
  }
  .problem-description {
    padding: 0;
  }
  .problem-content {
    padding: 0;
  }
  .problem-content .problem-row:last-child {
    flex-direction: column-reverse;
  }

  /* Xếp các card thành 1 cột */
  .problem-row {
    flex-direction: column;
    gap: 16px;
  }
  .problem-data,
  .problem-env,
  .problem-currency,
  .problem-hard {
    flex: unset !important;
    max-width: 100% !important;
    width: 100%;
    height: 410px;
  }

  /* Card 1: Dữ liệu bị phân mảnh */
  .problem-data {
    padding: 32px 0;
    min-height: 364px;
    /* 	height: 420px; */
  }
  .problem-img-1 {
    width: 604px;
    height: 165px;
    aspect-ratio: 604/165;
  }
  .problem-data .problem-text {
    width: 100%;
  }
  .problem-data .problem-text p {
    width: 276.6px;
  }

  .problem-text-1 {
    width: 100%;
  }

  /* Card 2: Rủi ro từ môi trường */
  .problem-img-2,
  .problem-img-3 {
    height: 440px;
  }
  .problem-env .problem-text {
    bottom: 24px;
    padding: 0 20px;
  }
  .problem-env .problem-text p {
    width: 277.1px;
  }

  /* Card 3: Chi phí vận hành cao */
  .problem-currency {
    min-height: auto;
  }
  .problem-currency .problem-text-1 {
    bottom: 28px;
    padding: 0 20px;
  }
  .problem-currency .problem-text-1 p {
    width: 295px;
  }

  /* Card 4: Khó khăn trong việc quản lý */
  .problem-hard {
    min-height: auto;
    padding: 32px 16px 0 16px;
    gap: 20px;
    overflow: hidden;
  }
  .problem-hard .problem-text-1 p {
    width: 279px;
  }

  .problem-img-4 {
    position: relative;
    width: 340.756px;
    height: 181px;
    aspect-ratio: 340.76 / 181;
    left: -30px;
    bottom: -90px;
  }
  .problem-img-5 {
    width: 180.275px;
    height: 96.072px;
    aspect-ratio: 152 / 81;
    right: -9.222px;
    bottom: -8.2px;
  }
}

@media (max-width: 390px) {
  .problem-img-4 {
    left: -20px;
    bottom: -70px;
  }
  .problem-img-5 {
    right: -34.222px;
    bottom: -10.2px;
  }
}

@media (max-width: 414px) {
  .problem-img-4 {
    left: -30px;
    bottom: -70px;
  }
  .problem-img-5 {
    right: - 8px;
    bottom: -10.2px;
  }
}

@media (max-width: 376px) {
  
  .problem-img-2 {
    height: 400px;
  }
	.problem-img-3{
		height: 370px;
	}
  .problem-data {
    height: 364px;
    min-height: 364px;
  }
  .problem-data .problem-text {
    padding: 0 12px;
  }

  .problem-data,
  .problem-env,
  .problem-currency,
  .problem-hard {
    flex: unset !important;
    max-width: 100% !important;
    width: 100%;
    height: 364px;
  }
  .problem-img-4 {
    width: 300.756px;
    height: 160px;
    left: -20px;
    bottom: -42px;
    aspect-ratio: auto;
  }
  .problem-img-5 {
    width: 170.275px;
    height: 93.072px;
    right: -25.222px;
    aspect-ratio: auto;
    bottom: -9.2px;
  }
}
@media (min-width: 769px) and (max-width: 1024px) {
  .problem {
    min-height: auto;
    padding: 80px 0;
  }
  /* Tiêu đề & mô tả: dùng padding vừa phải thay cho 12rem/9rem của desktop */
  .problem-info {
    padding: 0 2.5rem;
  }
  .problem-description {
    padding: 0 1rem;
  }
  .problem-content {
    padding: 0;
  }
}
