/* Enhanced Feature Icons for Why Choose KLWIN Section */

/* Enhanced section heading */
.why-choose h2 {
  font-size: 2.8rem;
  margin-bottom: 0.8rem;
  text-align: center;
  color: var(--text-dark);
  position: relative;
  display: inline-block;
  left: 50%;
  transform: translateX(-50%);
}

.section-subtitle {
  text-align: center;
  color: #666;
  font-size: 1.2rem;
  margin-bottom: 3.5rem;
  font-style: italic;
}

.why-choose h2::before {
  content: '';
  position: absolute;
  width: 60px;
  height: 4px;
  background: var(--primary-gradient);
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 2px;
}

.why-choose h2::after {
  content: '✦';
  position: absolute;
  bottom: -28px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 1.2rem;
  color: var(--primary-color);
  background-color: #fff;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.feature-icon {
  width: 90px;
  height: 90px;
  margin: 0 auto 1.8rem;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(248, 183, 0, 0.1) 0%, rgba(255, 140, 0, 0.2) 100%);
  position: relative;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(248, 183, 0, 0.2);
}

.feature:hover .feature-icon {
  transform: scale(1.1);
  background: linear-gradient(135deg, rgba(248, 183, 0, 0.2) 0%, rgba(255, 140, 0, 0.3) 100%);
}

.feature-icon svg {
  width: 45px;
  height: 45px;
  fill: var(--primary-color);
  transition: all 0.3s ease;
  filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.2));
}

.feature:hover .feature-icon svg {
  transform: scale(1.1);
  fill: #ff8c00;
}

/* Animated circle around icons */
.feature-icon::after {
  content: '';
  position: absolute;
  top: -5px;
  left: -5px;
  right: -5px;
  bottom: -5px;
  border-radius: 50%;
  border: 2px solid transparent;
  border-top-color: var(--primary-color);
  border-bottom-color: var(--primary-color);
  opacity: 0;
  transition: all 0.5s ease;
  animation: spin 8s linear infinite;
}

.feature:hover .feature-icon::after {
  opacity: 1;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Pulse effect */
@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(248, 183, 0, 0.4);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(248, 183, 0, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(248, 183, 0, 0);
  }
}

.feature:hover .feature-icon {
  animation: pulse 2s infinite;
}

/* Enhanced feature cards */
.feature {
  position: relative;
  overflow: hidden;
  z-index: 1;
  transition: all 0.4s ease;
  border-top: 4px solid transparent;
  padding: 2.5rem 1.8rem;
  background-color: white;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.feature:hover {
  border-top-color: var(--primary-color);
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.feature::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(248, 183, 0, 0.05) 0%, rgba(255, 140, 0, 0.1) 100%);
  z-index: -1;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.feature:hover::before {
  opacity: 1;
}

.feature h3 {
  position: relative;
  padding-bottom: 12px;
  margin-bottom: 15px;
  font-size: 1.5rem;
  color: var(--text-dark);
}

.feature h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 3px;
  background: var(--primary-gradient);
  transition: width 0.4s ease;
}

.feature:hover h3::after {
  width: 50px;
}

.feature p {
  color: #666;
  line-height: 1.6;
  font-size: 1rem;
}