.features-section {
  background-color: #e4f1f3;
  width: 100%;
  padding: 4rem 0;
}

.features-section-content {
  width: 100%;
  max-width: 1300px;
  margin: auto;
  padding: 0 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  gap: 4rem;
}

.features-section-image {
  position: relative;
  width: 50%;
  min-width: 300px;
  height: 500px;
}

.floating-phone {
  position: absolute;
  width: 200px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  animation: float 6s ease-in-out infinite;
}

.phone-1 {
  top: 0;
  left: 120px;
  animation-delay: 0s;
  z-index: 3;
}

.phone-2 {
  top: 50px;
  left: 180px;
  animation-delay: 1.5s;
  z-index: 2;
}

.phone-3 {
  top: -30px;
  left: 60px;
  animation-delay: 3s;
  z-index: 1;
}


.features-heading-mobile {
  display: none;
  font-size: 1.7rem;
  line-height: 1;
  font-weight: 700;
  margin-bottom: 20px;
  animation: subtle-glow 4s ease-in-out infinite alternate;
}

.features-text {
  width: 50%;
  min-width: 300px;
  padding: 0 1rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.features-text h1 {
  font-size: 2rem;
  line-height: 1.2;
  font-weight: 700;
  margin-bottom: 30px;
  animation: subtle-glow 4s ease-in-out infinite alternate;
}

.feature-list {
  list-style: none;
  line-height: 1.6;
  font-size: 1rem;
  padding: 0;
  margin: 0;
}

.feature-list li {
  padding: 8px 0;
  transition: transform 0.2s ease-in-out, color 0.4s ease-in-out,
    box-shadow 0.4s ease-in-out;
}

.feature-list li::before {
  content: "• ";
  color: #277f89;
  font-size: 1.2em;
}

.feature-list li:nth-child(1) {
  animation: highlight 30s infinite;
}
.feature-list li:nth-child(2) {
  animation: highlight 30s infinite 6s;
}
.feature-list li:nth-child(3) {
  animation: highlight 30s infinite 12s;
}
.feature-list li:nth-child(4) {
  animation: highlight 30s infinite 18s;
}
.feature-list li:nth-child(5) {
  animation: highlight 30s infinite 24s;
}


@media (max-width: 1024px) {
  .features-section-content {
    gap: 2rem;
  }

  .features-section-image,
  .features-text {
    width: 50%;
  }
}

@media (max-width: 900px) {
  .features-heading-mobile {
    display: block;
  }
  .features-text h1 {
    display: none;
  }

  .features-section-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .features-section-image {
    width: 100%;
    max-width: 600px;
    height: 420px;
    margin-bottom: 2rem;
  }

  .features-text {
    width: 100%;
    padding: 8px;
    min-width: 200px;
  }

  .feature-list {
    text-align: left;
    max-width: 420px;
    margin: 10px auto;
  }

  .phone-1 {
    left: calc(50% - 100px);
    transform: translateX(-40%);
  }

  .phone-2 {
    top: 15px;
    left: 0;
    transform: translateX(-50%);
  }

  .phone-3 {
    top: 25px;
    left: calc(100% - 200px);
    transform: translateX(-60%);
  }
}

@media (max-width: 600px) {
  .features-section {
    padding: 3rem 0;
  }

  .features-section-image {
    height: 360px;
  }

  .feature-list li {
    font-size: 0.95rem;
    padding: 6px 0;
  }
}

@media (max-width: 420px) {
  .features-section-image {
    height: 300px;
  }

  .floating-phone {
    width: 160px;
    animation-duration: 8s;
  }

  .phone-1 {
    left: calc(50% - 80px);
  }

  .phone-2 {
    left: 0;
  }

  .phone-3 {
    left: calc(100% - 160px);
  }
}
