/* =========================================
   Services Page
========================================= */

.services-page {
  padding: 100px 0;
  background: #ffffff;
}

.services-page .container {
  display: grid;
  gap: 65px;
}


/* =========================================
   Service Item
========================================= */

.services-page-item {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 70px;
  align-items: center;
  min-height: 430px;
  padding: 55px 60px;
  border: 1px solid #dceaf5;
  border-radius: 34px;
  background:
    radial-gradient(
      circle at left top,
      rgba(6, 148, 197, 0.1),
      transparent 35%
    ),
    #ffffff;
  box-shadow: 0 18px 50px rgba(24, 48, 84, 0.07);
  overflow: hidden;
}

.services-page-item-alt {
  grid-template-columns: 0.95fr 1.05fr;
  background:
    radial-gradient(
      circle at right bottom,
      rgba(6, 148, 197, 0.1),
      transparent 35%
    ),
    #f8fcff;
}

.services-page-item-alt .services-page-content {
  order: 2;
}

.services-page-item-alt .services-page-visual {
  order: 1;
}


/* =========================================
   Service Content
========================================= */

.services-page-content {
  position: relative;
  z-index: 2;
}

.services-page-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  height: 30px;
  padding: 0 12px;
  margin-bottom: 18px;
  border-radius: 999px;
  background: #e7f5ff;
  color: #0694c5;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 1px;
}

.services-page-content h2 {
  margin: 0 0 17px;
  color: #183054;
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  line-height: 1.4;
}

.services-page-content > p {
  max-width: 600px;
  margin: 0;
  color: #64748b;
  font-size: 1rem;
  line-height: 1.95;
}


/* =========================================
   Service List
========================================= */

.services-page-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 22px;
  padding: 0;
  margin: 28px 0 0;
  list-style: none;
}

.services-page-list li {
  position: relative;
  padding-right: 27px;
  color: #183054;
  font-size: 0.93rem;
  font-weight: 700;
  line-height: 1.7;
}

.services-page-list li::before {
  content: "\f00c";
  position: absolute;
  top: 2px;
  right: 0;
  width: 19px;
  height: 19px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #e7f5ff;
  color: #0694c5;
  font-family: "Font Awesome 6 Free";
  font-size: 0.65rem;
  font-weight: 900;
}


/* =========================================
   Service Link
========================================= */

.services-page-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 30px;
  color: #0694c5;
  font-size: 0.93rem;
  font-weight: 800;
  text-decoration: none;
  transition:
    gap 0.3s ease,
    color 0.3s ease;
}

.services-page-link:hover {
  gap: 15px;
  color: #183054;
}


/* =========================================
   Service Visual
========================================= */

.services-page-visual {
  position: relative;
  min-height: 310px;
  display: grid;
  place-items: center;
  border-radius: 28px;
  background: #e7f5ff;
  overflow: hidden;
}

.services-page-visual::before {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  border: 35px solid rgba(6, 148, 197, 0.08);
  border-radius: 50%;
  left: -70px;
  top: -80px;
  display: none;
}

.services-page-visual::after {
  content: "";
  position: absolute;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: rgba(24, 48, 84, 0.06);
  right: -35px;
  bottom: -45px;
  display: none;
}

.services-page-visual img {
  position: relative;
  z-index: 2;
  display: block;
  width: 58%;
  max-width: 240px;
  max-height: 230px;
  object-fit: contain;
  transition: transform 0.35s ease;
}

.services-page-item:hover .services-page-visual img {
  transform: translateY(-6px) scale(1.03);
}


/* =========================================
   Tablet
========================================= */

@media (max-width: 950px) {

  .services-page {
    padding: 80px 0;
  }

  .services-page .container {
    gap: 45px;
  }

  .services-page-item,
  .services-page-item-alt {
    grid-template-columns: 1fr;
    gap: 40px;
    min-height: auto;
    padding: 45px;
  }

  .services-page-item-alt .services-page-content,
  .services-page-item-alt .services-page-visual {
    order: initial;
  }

  .services-page-visual {
    min-height: 280px;
  }

}


/* =========================================
   Mobile
========================================= */

@media (max-width: 600px) {

  .services-page {
    padding: 60px 0;
  }

  .services-page .container {
    gap: 30px;
  }

  .services-page-item,
  .services-page-item-alt {
    gap: 30px;
    padding: 30px 22px;
    border-radius: 25px;
  }

  .services-page-content h2 {
    font-size: 1.65rem;
  }

  .services-page-content > p {
    font-size: 0.95rem;
  }

  .services-page-list {
    grid-template-columns: 1fr;
    gap: 11px;
  }

  .services-page-visual {
    min-height: 230px;
    border-radius: 22px;
  }

  .services-page-visual img {
    width: 52%;
    max-width: 180px;
    max-height: 175px;
  }

}
.service-card::before,
.service-card::after {
    display: none;
}