#need-to {
  padding-bottom: 4rem;
  padding-top: 4rem;
  background-color: #f8f0e0e6;
  margin-block: -0.5rem !important;
}

.need-to-wrapper {
  margin: 100px 0 0;
}

.need-to-box {
  position: relative;
  width: 255px;
  height: 185px;
  font-weight: 500;
}

.need-to-box::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  width: 50%;
  height: 65px;
  border-radius: 0 20px 0 20px;
}

.need-to-dropdown {
  position: absolute;
  top: 0px;
  width: 50%;
  right: 0;
  opacity: 0;
  transition: all 0.1s;
  border-radius: 0 20px 0 20px;
}

.need-to-box:hover .need-to-dropdown {
  opacity: 1;
  animation: dropdown-on-hover 0.3s forwards;
  border: 1px;
}

@keyframes dropdown-on-hover {
  0% {
    height: 0px;
  }

  100% {
    height: 175px;
  }
}

.black-icon,
.white-icon {
  width: 90px;
  height: 80px;
  z-index: 1;
  position: relative;
  left: 160px;
  top: 15px;
}

.need-to-box-title {
  position: relative;
  bottom: 60px;
  left: 0;
  text-align: end;
  width: 160px;
  z-index: 1;
  color: var(--section-title);
}

.need-to-box-content {
  text-align: end;
  width: 200px;
  position: absolute;
  right: 0;
  top: 115px;
  color: var(--section-title);
}

.need-to-box .white-icon {
  display: none;
  position: absolute;
}

.need-to-box:hover .white-icon {
  display: inline;
}

.t1 {
  color: #3b3b3a;
  font-size: 30px;
  font-weight: bold;
}
.boxes {
  display: flex;
  justify-content: center;
}

.info-hover {
  display: none;
  width: 160px;
  text-align: center;
}
.image-hover {
  display: none;
}

.box-need {
  display: flex;
  flex-direction: column;
}

.box-need .info {
  margin-right: 0px;
}

.basic-info {
  width: 200px;
  height: 52px;
  text-align: center;
  font-weight: 700;
  color: #387065;
  font-size: 20px;
  margin-right: auto;
  margin-left: auto;
}

.box-need {
  height: 252px;
  width: 246px;
  border: 2px solid #387065;
  border-radius: 20px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  background-color: white;
}

.box-need:hover {
  background-color: white;
  color: #26408b;
  border: 2px solid #3a5c73;
  font-weight: 500;
}
.box:hover .basic-info {
  color: #26408b;
}

.more-info {
  width: 215px;
  height: 45px;
  text-align: center;
  font-size: 14px;
  font-weight: 700;
  color: #666666;
  margin-right: auto;
  margin-left: auto;
  margin-top: 10px;
}

.thelw-na-new {
  display: flex;
  flex-direction: column;
  align-content: center;
  flex-wrap: wrap;
  gap: 2.2rem 0rem;
}

@media (max-width: 1636px) {
  .boxes {
    justify-content: center !important;
  }
}

@media (max-width: 1550px) {
  .thelw-na {
    transform: scale(0.9);
  }

  #need-to {
    padding-bottom: 4rem;
    padding-top: 4rem;
  }
}

@media (max-width: 1399px) {
  #need-to .container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    flex-direction: column;
    align-items: center;
  }

  #need-to .custom-row {
    flex: 1 0 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }
}

@media (max-width: 1210px) {
  .box-need {
    gap: 0 !important;
  }
}

@media (max-width: 1000px) {
  .t1 {
    margin-bottom: 50px;
  }
}

@media (max-width: 545px) {
  .t1 {
    text-align: center;
  }
  #need-to {
    padding-bottom: 1rem;
    padding-top: 1rem;
  }
}
