.whyus-section {
  padding: 0 0 80px 0;
  background: #fff;
}

.whyus-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.whyus-mobile {
  position: relative;
  width: 360px;
  min-height: 640px;
}

.mobile-frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: auto;
  z-index: 1;
}

.whyus-features {
  position: relative;
  z-index: 2;
  margin: 55px 30px;
  list-style: none;
}

.whyus-features li {
  display: flex;
  align-items: flex-start;
  gap: 17px;
  padding: 20px 0;
}

.whyus-features li img {
  width: 28px;
  height: 30px;
  margin-top: 2px;
  object-fit: contain;
}

.whyus-features li div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.whyus-features li:last-child {
  border-bottom: none;
}

.whyus-features b {
  font-size: 15px;
  color: #550216;
}

.whyus-features span {
  font-size: 12px;
  color: #8E0E2D;
}

.whyus-content {
  flex: 1;
  position: relative;
  padding: 50px;
  border-radius: 0 0 20px 20px;
  overflow: hidden;
  color: #8E0E2D;
}

.whyus-content::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../images/whyus/whyus.jpeg");
  background-size: cover;
  background-position: center;
  opacity: 0.15;
  z-index: 1;
}

.whyus-content h2{
  font-size: 32px;
  margin-bottom: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #550216;
}

.whyus-content p {
  position: relative;
  z-index: 2;
  color: #8E0E2D;
  font-size: 15px;
}

.whyus-mobile img {
    margin-left: -30px;
    width: 300px;
    z-index: 2;
}

.whyus-features li {
  opacity: 0;
  transform: translateX(60px);
}

.whyus-features.animate li {
  animation: slideFromRight 0.8s ease forwards;
}

.whyus-features.animate li:nth-child(1) { animation-delay: 0.2s; }
.whyus-features.animate li:nth-child(2) { animation-delay: 0.35s; }
.whyus-features.animate li:nth-child(3) { animation-delay: 0.5s; }
.whyus-features.animate li:nth-child(4) { animation-delay: 0.65s; }
.whyus-features.animate li:nth-child(5) { animation-delay: 0.8s; }
.whyus-features.animate li:nth-child(6) { animation-delay: 0.95s; }

@keyframes slideFromRight {
  0% {
    opacity: 0;
    transform: translateX(60px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

@media (max-width: 1024px) {

  .whyus-container{
    padding: 0 50px;
  }

  .whyus-mobile img{
    margin-left: -10px;
  }

  .whyus-content {
    padding: 25px;
  }
}
@media (max-width: 768px) {

  .whyus-section {
    padding: 0px 15px 60px;
  }

  .whyus-container {
    flex-direction: column;
    align-items: center;
    padding: 0 15px;
    gap: 35px;
  }

  .whyus-content {
    width: 100%;
    max-width: 360px;
    padding: 28px 22px;
    border-radius: 22px;
    text-align: left;
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
  }

  .whyus-content h2 {
    font-size: 26px;
    margin-bottom: 22px;
    text-align: center;
  }

  .whyus-content p {
    font-size: 14px;
    line-height: 1.6;
  }

  .whyus-mobile {
    width: 300px;
    min-height: 560px;
    max-height: 600px;
    position: relative;
    display: flex;
    justify-content: center;
  }

  .mobile-frame {
    position: relative;
    width: 100%;
    height: auto;
    z-index: 1;
  }

  .whyus-mobile img {
    margin-left: 0;
    width: 250px;
  }

  .whyus-features {
    position: absolute;
    top: 55px;
    left: 45px;
    z-index: 2;
    margin: 0;
  }

  .whyus-features li {
    gap: 15px;
    padding: 14px 0;
  }

  .whyus-features li img {
    width: 24px;
    height: 24px;
  }

  .whyus-features b {
    font-size: 14px;
  }

  .whyus-features span {
    font-size: 12px;
  }
}

