/* ===========================================================
   CHICAIM SERVICES - PROFESSIONAL SERVICE PAGE DESIGN
   =========================================================== */

/* ---------- Main Section ---------- */
.chicaim-services {
  background: #f7fbff;
  padding: 110px 0;
  position: relative;
  overflow: hidden;
  width: 100%;
}

.chicaim-services::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 25% 40%, rgba(0, 150, 255, 0.06) 0%, transparent 60%);
  animation: glowingBackground 8s ease-in-out infinite alternate;
  z-index: 0;
}

/* ---------- Section Header ---------- */
.services-header {
  text-align: center;
  margin-bottom: 80px;
  position: relative;
  z-index: 2;
}

.services-main-title {
  font-size: 3.2rem;
  font-weight: 700;
  background: linear-gradient(90deg, #0088ff 0%, #0056ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.2;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
  text-shadow: 0 3px 20px rgba(0, 136, 255, 0.25);
}

.services-intro {
  max-width: 760px;
  margin: 0 auto 40px;
  font-size: 1.1rem;
  color: #555;
  line-height: 1.8;
  transition: all 0.4s ease-in-out;
}

.services-intro:hover {
  transform: translateY(-3px);
  color: #007add;
}

/* ---------- Decorative Line ---------- */
.header-decoration {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.decor-line {
  width: 70px;
  height: 2px;
  background: linear-gradient(90deg, transparent, #00aaff, transparent);
}

.decor-dot {
  width: 10px;
  height: 10px;
  background: #00aaff;
  border-radius: 50%;
}

/* ---------- Service Grid ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  z-index: 1;
  position: relative;
}

/* ---------- Service Card ---------- */
.service-card {
  background: #fff;
  border-radius: 16px;
  border: 1px solid rgba(0, 150, 255, 0.1);
  box-shadow: 0 5px 25px rgba(0, 100, 255, 0.05);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 40px rgba(0, 136, 255, 0.2);
  border-color: rgba(0, 136, 255, 0.2);
}

/* ---------- Icon Section ---------- */
.card-icon {
  position: relative;
  height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-icon i {
  font-size: 2.8rem;
  color: #0096ff;
  transition: all 0.4s ease;
  z-index: 2;
}

.icon-bg {
  position: absolute;
  width: 80px;
  height: 80px;
  background: rgba(0, 150, 255, 0.08);
  border-radius: 50%;
  transition: all 0.4s ease;
}

.service-card:hover .icon-bg {
  transform: scale(1.25);
  background: rgba(0, 150, 255, 0.15);
}

.service-card:hover .card-icon i {
  transform: scale(1.15) rotate(5deg);
  color: #0073cc;
}

/* ---------- Card Title ---------- */
.card-title {
  font-size: 1.45rem;
  font-weight: 600;
  color: #006bb3;
  text-align: center;
  margin: 0 25px 15px;
  padding-bottom: 15px;
  border-bottom: 1px solid rgba(0, 150, 255, 0.15);
  transition: color 0.3s ease;
}

.service-card:hover .card-title {
  color: #004b8f;
  border-color: rgba(0, 150, 255, 0.3);
}

/* ---------- Card Body ---------- */
.card-content {
  padding: 0 25px 30px;
}

/* ---------- Features List ---------- */
.service-features {
  list-style: none;
  margin: 0 0 30px;
  padding: 0;
}

.service-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #444;
  font-size: 0.98rem;
  line-height: 1.6;
  margin-bottom: 10px;
  transition: color 0.3s ease;
}

.service-features li i {
  color: #00aaff;
  font-size: 0.9rem;
  margin-top: 3px;
  transition: transform 0.3s ease, color 0.3s ease;
}

.service-card:hover .service-features li i {
  transform: scale(1.1);
  color: #0080cc;
}

/* ---------- Footer Button ---------- */
.card-footer {
  text-align: center;
}

.service-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  background: linear-gradient(90deg, #00aaff, #0077cc);
  color: #fff;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.service-link i {
  margin-left: 8px;
  font-size: 0.9rem;
  transition: transform 0.3s ease;
}

.service-link:hover {
  box-shadow: 0 6px 20px rgba(0, 136, 255, 0.25);
  transform: translateY(-3px);
}

.service-link:hover i {
  transform: translateX(4px);
}

/* ---------- Animation ---------- */
@keyframes glowingBackground {
  0%, 100% {
    background: radial-gradient(circle at 25% 40%, rgba(0, 150, 255, 0.06) 0%, transparent 60%);
  }
  50% {
    background: radial-gradient(circle at 25% 40%, rgba(0, 150, 255, 0.15) 0%, transparent 60%);
  }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .services-main-title {
    font-size: 2.5rem;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .chicaim-services {
    padding: 70px 0;
  }

  .services-main-title {
    font-size: 2rem;
  }

  .services-intro {
    font-size: 1rem;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }
}
