/*--------------------------------------------------------------
# Services Section - Premium Professional Design
--------------------------------------------------------------*/

.services {
  padding: 100px 0;
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  position: relative;
  overflow: hidden;
}

.services::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(71, 178, 228, 0.04) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(55, 81, 126, 0.03) 0%, transparent 50%);
  pointer-events: none;
}

/* Service Icon Box */
.services .icon-box {
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.05);
  padding: 50px 35px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(0, 0, 0, 0.04);
  position: relative;
  overflow: hidden;
  height: 100%;
  text-align: center;
}

.services .icon-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #47b2e4, #73c5eb);
  transition: left 0.5s ease;
}

.services .icon-box::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(ellipse at center, rgba(71, 178, 228, 0.08) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.services .icon-box:hover::before {
  left: 0;
}

.services .icon-box:hover::after {
  opacity: 1;
}

.services .icon-box:hover {
  transform: translateY(-15px);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.1);
}

/* Service Icon */
.services .icon-box .icon {
  width: 90px;
  height: 90px;
  background: linear-gradient(135deg, #47b2e4, #73c5eb);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 30px;
  box-shadow: 0 15px 40px rgba(71, 178, 228, 0.3);
  transition: all 0.4s ease;
  position: relative;
  z-index: 1;
}

.services .icon-box:hover .icon {
  transform: translateY(-10px) scale(1.05) rotate(5deg);
  box-shadow: 0 20px 50px rgba(71, 178, 228, 0.4);
}

.services .icon-box .icon i {
  color: #fff;
  font-size: 38px;
}

/* Service Title */
.services .icon-box h4 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 18px;
  letter-spacing: -0.3px;
}

.services .icon-box h4 a {
  color: #37517e;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
}

.services .icon-box:hover h4 a {
  background: linear-gradient(135deg, #47b2e4, #73c5eb);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Service Description */
.services .icon-box p {
  color: #6c757d;
  font-size: 15px;
  line-height: 1.7;
  margin: 0;
}

/* Responsive Design */
@media (max-width: 991px) {
  .services {
    padding: 80px 0;
  }

  .services .icon-box {
    padding: 40px 30px;
  }

  .services .icon-box .icon {
    width: 80px;
    height: 80px;
  }

  .services .icon-box .icon i {
    font-size: 34px;
  }
}

@media (max-width: 768px) {
  .services {
    padding: 60px 0;
  }

  .services .icon-box {
    padding: 35px 25px;
    margin-bottom: 20px;
  }

  .services .icon-box h4 {
    font-size: 20px;
  }

  .services .icon-box:hover {
    transform: translateY(-10px);
  }
}

@media (max-width: 576px) {
  .services .icon-box {
    padding: 30px 20px;
  }

  .services .icon-box .icon {
    width: 70px;
    height: 70px;
  }

  .services .icon-box .icon i {
    font-size: 30px;
  }

  .services .icon-box h4 {
    font-size: 18px;
  }

  .services .icon-box p {
    font-size: 14px;
  }
}