/* Why BG Infotechs Section - Premium Styling */
.whybgclass {
  padding: 80px 0;
  background: linear-gradient(145deg, #ffffff 0%, #f8fbff 100%);
  position: relative;
  overflow: hidden;
}

.whybgclass::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 200" opacity="0.03"><path d="M100 0L200 100L100 200L0 100Z" fill="none" stroke="%233a86ff" stroke-width="2"/><circle cx="100" cy="100" r="50" fill="none" stroke="%238338ec" stroke-width="2"/></svg>')
    repeat;
  pointer-events: none;
}

/* Section Header */
.section-header {
  margin-bottom: 3rem;
}

.section-badge {
  display: inline-block;
  background: linear-gradient(
    135deg,
    rgba(58, 134, 255, 0.1),
    rgba(131, 56, 236, 0.1)
  );
  color: var(--primary-color, #355487);
  font-size: 0.85rem;
  font-weight: 700;
  padding: 6px 18px;
  border-radius: 50px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 1rem;
  backdrop-filter: blur(4px);
}

.section-main-title {
  font-size: 2.6rem;
  font-weight: 800;
  color: var(--ink-color, #23273a);
  margin-bottom: 1rem;
}

.gradient-text1 {
  background: linear-gradient(90deg, #a02020, #951b1b);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-subtitle {
  font-size: 1.1rem;
  color: #6c757d;
  max-width: 650px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Why Cards */
.why-card {
  background: white;
  border-radius: 24px;
  padding: 2rem 1.8rem;
  position: relative;
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  height: 100%;
  border: 1px solid rgba(58, 134, 255, 0.08);
  overflow: hidden;
  z-index: 1;
}

.why-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    145deg,
    rgba(58, 134, 255, 0.03),
    rgba(131, 56, 236, 0.03)
  );
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: -1;
}

.why-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 45px rgba(58, 134, 255, 0.15);
  border-color: rgba(58, 134, 255, 0.2);
}

.why-card:hover::before {
  opacity: 1;
}

.card-icon-wrapper {
  margin-bottom: 1.5rem;
}

.card-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, #3a86ff, #8338ec);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 2rem;
  transition: all 0.3s ease;
  box-shadow: 0 10px 20px rgba(58, 134, 255, 0.3);
}

.why-card:hover .card-icon {
  transform: scale(1.05) rotate(2deg);
  box-shadow: 0 15px 30px rgba(58, 134, 255, 0.4);
}

.why-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--ink-color, #23273a);
}

.why-card p {
  color: #6c757d;
  line-height: 1.6;
  margin-bottom: 0;
}

.card-hover-line {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 4px;
  background: linear-gradient(90deg, #3a86ff, #8338ec);
  transition: width 0.4s ease;
  border-radius: 0 10px 0 0;
}

.why-card:hover .card-hover-line {
  width: 100%;
}

/* Stats Extra */
.stats-extra {
  position: relative;
}

.stat-bubble {
  background: white;
  border-radius: 30px;
  padding: 1.5rem 1rem;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  border: 1px solid rgba(58, 134, 255, 0.1);
}

.stat-bubble:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(58, 134, 255, 0.12);
}

.stat-number {
  font-size: 2.2rem;
  font-weight: 800;
  background: linear-gradient(135deg, #3a86ff, #8338ec);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.5rem;
}

.stat-text {
  font-size: 0.95rem;
  font-weight: 500;
  color: #6c757d;
}

/* CTA Button */
.why-cta {
  position: relative;
}

.cta-glow-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #3a86ff, #8338ec);
  color: white;
  font-weight: 700;
  padding: 1rem 2.5rem;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 8px 25px rgba(58, 134, 255, 0.4);
  font-size: 1.1rem;
  border: none;
  cursor: pointer;
}

.cta-glow-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(58, 134, 255, 0.6);
  color: white;
  background: linear-gradient(135deg, #2e74e8, #6f2cd4);
}

.small-text {
  font-size: 0.85rem;
  color: #adb5bd;
}

/* Responsive */
@media (max-width: 992px) {
  .whybgclass {
    padding: 60px 0;
  }
  .section-main-title {
    font-size: 2rem;
  }
  .why-card {
    padding: 1.5rem;
  }
  .card-icon {
    width: 60px;
    height: 60px;
    font-size: 1.6rem;
  }
  .stat-number {
    font-size: 1.8rem;
  }
}

@media (max-width: 768px) {
  .whybgclass {
    padding: 50px 0;
  }
  .section-main-title {
    font-size: 1.8rem;
  }
  .why-card h3 {
    font-size: 1.3rem;
  }
  .cta-glow-btn {
    padding: 0.8rem 2rem;
    font-size: 1rem;
  }
}

@media (max-width: 576px) {
  .section-main-title {
    font-size: 1.5rem;
  }
  .stat-number {
    font-size: 1.5rem;
  }
  .stat-bubble {
    padding: 1rem 0.5rem;
  }
}
