/*========================
Why Choose SoftX Section
========================*/
.sx-why-choose {
  padding: 100px 0;
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  position: relative;
  overflow: hidden;
  font-family: "Inter", system-ui, -apple-system, sans-serif;
}

.sx-why-choose::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
      circle at 20% 30%,
      rgba(47, 84, 163, 0.05) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 70%,
      rgba(5, 150, 105, 0.05) 0%,
      transparent 50%
    );
  z-index: 0;
}

.sx-why-choose-us-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 2;
}

.sx-why-choose-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.sx-why-choose-text {
  padding-left: 20px;
}

.sx-why-choose-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: #222;
  margin: 0 0 40px 0;
  position: relative;
  display: inline-block;
}

.sx-why-choose-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 60px;
  height: 4px;
  background: #2f54a3;
  border-radius: 2px;
}

.sx-benefit {
  display: flex;
  margin-bottom: 30px;
  opacity: 0;
  transform: translateX(30px);
  animation: fadeInRight 0.8s ease forwards;
}

.sx-benefit:nth-child(1) {
  animation-delay: 0.2s;
}
.sx-benefit:nth-child(2) {
  animation-delay: 0.4s;
}
.sx-benefit:nth-child(3) {
  animation-delay: 0.6s;
}
.sx-benefit:nth-child(4) {
  animation-delay: 0.8s;
}
.sx-benefit:nth-child(5) {
  animation-delay: 1s;
}
.sx-benefit:nth-child(6) {
  animation-delay: 1.2s;
}

.sx-benefit-icon {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  background: linear-gradient(135deg, #2f54a3 0%, #1e3a8a 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 20px;
  flex-shrink: 0;
  color: white;
  font-size: 24px;
  box-shadow: 0 8px 16px rgba(47, 84, 163, 0.2);
}

.sx-benefit-content {
  flex-grow: 1;
}

.sx-benefit-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: #222;
  margin: 0 0 10px 0;
}

.sx-benefit-description {
  color: #64748b;
  line-height: 1.6;
  margin: 0;
}

/* Animations */
@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/*========================
  Atom-style Logo Animation
  ========================*/
.sx-atom-container {
  position: relative;
  width: 300px;
  height: 300px;
  display: flex;
  justify-content: center;
  align-items: center;
  perspective: 1000px;
}

.sx-atom-center-logo {
  width: 220px;
  height: 120px;
  z-index: 10;
  animation: sx-atom-logoFloat 6s ease-in-out infinite;
}

.sx-atom-glow {
  position: absolute;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(47, 84, 163, 0.4) 0%,
    transparent 70%
  );
  filter: blur(20px);
  z-index: 1;
  animation: sx-atom-glowPulse 4s ease-in-out infinite;
}

.sx-atom-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  border: 1px solid rgba(47, 84, 163, 0.3);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.sx-atom-ring.ring-1 {
  width: 180px;
  height: 180px;
  animation: sx-atom-rotateRing 8s linear infinite;
}
.sx-atom-ring.ring-2 {
  width: 220px;
  height: 220px;
  animation: sx-atom-rotateRingReverse 12s linear infinite;
}
.sx-atom-ring.ring-3 {
  width: 150px;
  height: 150px;
  animation: sx-atom-rotateRing 10s linear infinite;
}
.sx-atom-ring.ring-4 {
  width: 250px;
  height: 250px;
  animation: sx-atom-rotateRingReverse 15s linear infinite;
}

.sx-atom-electron {
  position: absolute;
  width: 12px;
  height: 12px;
  background: #2f54a3;
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) translateX(90px);
  animation: sx-atom-electronOrbit 1s linear infinite;
}

/* Keyframes for Atom Animation */
@keyframes sx-atom-electronOrbit {
  0% {
    transform: translate(-50%, -50%) rotate(0deg) translateX(90px) rotate(0deg);
  }
  100% {
    transform: translate(-50%, -50%) rotate(360deg) translateX(90px)
      rotate(-360deg);
  }
}

@keyframes sx-atom-rotateRing {
  0% {
    transform: translate(-50%, -50%) rotateX(0deg) rotateY(0deg);
  }
  100% {
    transform: translate(-50%, -50%) rotateX(360deg) rotateY(360deg);
  }
}

@keyframes sx-atom-rotateRingReverse {
  0% {
    transform: translate(-50%, -50%) rotateX(360deg) rotateY(360deg);
  }
  100% {
    transform: translate(-50%, -50%) rotateX(0deg) rotateY(0deg);
  }
}

@keyframes sx-atom-logoFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

@keyframes sx-atom-glowPulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.7;
  }
  50% {
    transform: scale(1.1);
    opacity: 1;
  }
}

/*========================
  Responsive Design
  ========================*/
@media (max-width: 992px) {
  .sx-why-choose-content {
    grid-template-columns: 1fr;
    gap: 60px;
  }
  .sx-why-choose-text {
    padding-left: 0;
    order: 2;
  }
  .sx-atom-container {
    width: 250px;
    height: 250px;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .sx-why-choose {
    padding: 60px 0;
  }
  .sx-why-choose-title {
    font-size: 2rem;
  }
  .sx-benefit {
    flex-direction: column;
    text-align: center;
    margin-bottom: 40px;
  }
  .sx-benefit-icon {
    margin: 0 auto 20px;
  }
}

@media (max-width: 480px) {
  .sx-why-choose-title {
    font-size: 1.8rem;
  }
  .sx-atom-container {
    width: 200px;
    height: 200px;
  }
  .sx-atom-center-logo {
    width: 100px;
    height: 100px;
  }
}