/* =========================================================
   SERVIZUP SERVICES SECTION
   ========================================================= */

.services-section {
  position: relative;
  overflow: hidden;
  padding: 110px 0 100px;

  background:
    radial-gradient(
      circle at 5% 10%,
      rgba(47, 127, 224, 0.13),
      transparent 28%
    ),
    radial-gradient(
      circle at 95% 85%,
      rgba(99, 102, 241, 0.10),
      transparent 30%
    ),
    linear-gradient(
      135deg,
      #f4f8ff 0%,
      #ffffff 48%,
      #f5f8ff 100%
    );
}


/* =========================================================
   DECORATIVE BACKGROUND
   ========================================================= */

.services-bg-shape {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(2px);
}

.services-bg-shape--one {
  width: 280px;
  height: 280px;
  top: 80px;
  left: -150px;

  background: rgba(47, 127, 224, 0.08);
}

.services-bg-shape--two {
  width: 350px;
  height: 350px;
  right: -190px;
  bottom: 60px;

  background: rgba(129, 140, 248, 0.08);
}


/* =========================================================
   CONTAINER
   ========================================================= */

.services-container {
  position: relative;
  z-index: 2;

  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}


/* =========================================================
   HEADING
   ========================================================= */

.services-heading {
  max-width: 700px;
  margin: 0 auto 55px;
  text-align: center;
}

.services-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;

  padding: 8px 15px;
  margin-bottom: 18px;

  border: 1px solid rgba(47, 127, 224, 0.15);
  border-radius: 50px;

  background: rgba(255, 255, 255, 0.75);

  color: #2f7fe0;
  font-size: 13px;
  font-weight: 700;

  box-shadow: 0 6px 20px rgba(47, 127, 224, 0.07);
}

.services-badge-dot {
  width: 7px;
  height: 7px;

  border-radius: 50%;
  background: #2f7fe0;

  box-shadow: 0 0 0 5px rgba(47, 127, 224, 0.10);
}

.services-heading h2 {
  margin: 0;

  color: #172033;

  font-size: 42px;
  line-height: 1.25;
  font-weight: 850;
  letter-spacing: -0.8px;
}

.services-heading h2 span {
  display: block;
  margin-top: 4px;

  color: #2f7fe0;
}

.services-heading p {
  max-width: 600px;
  margin: 18px auto 0;

  color: #667085;
  font-size: 16px;
  line-height: 1.85;
}


/* =========================================================
   CATEGORY GRID
   ========================================================= */

.category-grid {
  display: grid;

  grid-template-columns: repeat(4, 1fr);

  gap: 20px;
}


/* =========================================================
   CATEGORY CARD
   ========================================================= */

.category-card {
  position: relative;

  display: flex;
  flex-direction: column;

  min-height: 220px;

  padding: 12px;

  overflow: hidden;

  border: 1px solid rgba(255, 255, 255, 0.95);
  border-radius: 24px;

  background: rgba(255, 255, 255, 0.82);

  text-decoration: none;

  box-shadow:
    0 10px 30px rgba(31, 64, 104, 0.07),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);

  backdrop-filter: blur(10px);

  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    border-color 0.3s ease;
}

.category-card::before {
  content: "";

  position: absolute;

  width: 100px;
  height: 100px;

  top: -45px;
  right: -45px;

  border-radius: 50%;

  background: rgba(47, 127, 224, 0.08);

  transition: transform 0.4s ease;
}

.category-card:hover {
  transform: translateY(-7px);

  border-color: rgba(47, 127, 224, 0.18);

  box-shadow:
    0 20px 45px rgba(31, 64, 104, 0.13),
    0 5px 15px rgba(47, 127, 224, 0.06);
}

.category-card:hover::before {
  transform: scale(2.3);
}


/* =========================================================
   IMAGE
   ========================================================= */

.category-card-image {
  position: relative;

  display: flex;
  align-items: center;
  justify-content: center;

  height: 140px;

  overflow: hidden;

  border-radius: 18px;

  background:
    linear-gradient(
      145deg,
      #f0f6ff 0%,
      #f8fbff 100%
    );
}

.category-card-image::after {
  content: "";

  position: absolute;
  inset: 0;

  background:
    linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.35),
      transparent 55%
    );

  pointer-events: none;
}

.category-card-image img {
  width: 105px;
  height: 105px;

  object-fit: contain;

  transition:
    transform 0.35s ease,
    filter 0.35s ease;
}

.category-card:hover .category-card-image img {
  transform: scale(1.08) translateY(-3px);
}


/* =========================================================
   CARD CONTENT
   ========================================================= */

.category-card-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;

  padding: 17px 7px 8px;
}

.category-card-content strong {
  color: #172033;

  font-size: 15px;
  line-height: 1.45;
  font-weight: 800;

  transition: color 0.25s ease;
}

.category-card:hover .category-card-content strong {
  color: #2f7fe0;
}

.category-card-content span {
  flex-shrink: 0;

  color: #98a2b3;

  font-size: 11px;
  font-weight: 700;

  transition:
    color 0.25s ease,
    transform 0.25s ease;
}

.category-card-content span b {
  font-size: 14px;
  font-weight: 700;
}

.category-card:hover .category-card-content span {
  color: #2f7fe0;
  transform: translateX(2px);
}


/* =========================================================
   BOTTOM CTA
   ========================================================= */

.services-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;

  margin-top: 55px;
  padding: 25px 28px;

  border: 1px solid rgba(47, 127, 224, 0.14);
  border-radius: 24px;

  background:
    linear-gradient(
      110deg,
      rgba(47, 127, 224, 0.08),
      rgba(255, 255, 255, 0.92)
    );

  box-shadow: 0 15px 40px rgba(31, 64, 104, 0.07);
}

.services-cta-content {
  display: flex;
  align-items: center;
  gap: 15px;
}

.services-cta-icon {
  display: flex;
  align-items: center;
  justify-content: center;

  flex-shrink: 0;

  width: 46px;
  height: 46px;

  border-radius: 14px;

  background: #2f7fe0;

  color: #ffffff;

  font-size: 21px;
  font-weight: 800;

  box-shadow: 0 8px 20px rgba(47, 127, 224, 0.22);
}

.services-cta-content h3 {
  margin: 0 0 4px;

  color: #172033;

  font-size: 17px;
  font-weight: 800;
}

.services-cta-content p {
  margin: 0;

  color: #667085;

  font-size: 13px;
  line-height: 1.6;
}


/* =========================================================
   DOWNLOAD BUTTON
   ========================================================= */

.services-download-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;

  flex-shrink: 0;

  min-height: 52px;

  padding: 0 22px;

  border-radius: 14px;

  background: #2f7fe0;

  color: #ffffff;

  font-size: 14px;
  font-weight: 750;

  text-decoration: none;

  box-shadow: 0 10px 24px rgba(47, 127, 224, 0.22);

  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    background 0.25s ease;
}

.services-download-button b {
  font-size: 20px;
  line-height: 1;

  transition: transform 0.25s ease;
}

.services-download-button:hover {
  background: #256fc9;

  transform: translateY(-2px);

  box-shadow: 0 15px 30px rgba(47, 127, 224, 0.28);
}

.services-download-button:hover b {
  transform: translateX(4px);
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1050px) {

  .category-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .services-heading h2 {
    font-size: 38px;
  }

}


/* =========================================================
   SMALL TABLET
   ========================================================= */

@media (max-width: 800px) {

  .services-section {
    padding: 85px 0;
  }

  .category-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .category-card {
    min-height: 215px;
  }

  .services-cta {
    flex-direction: column;
    align-items: stretch;
  }

  .services-download-button {
    width: 100%;
  }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 600px) {

  .services-section {
    padding: 70px 0;
  }

  .services-container {
    padding: 0 16px;
  }

  .services-heading {
    margin-bottom: 38px;
  }

  .services-heading h2 {
    font-size: 31px;
    line-height: 1.3;
    letter-spacing: -0.4px;
  }

  .services-heading p {
    margin-top: 14px;

    font-size: 14px;
    line-height: 1.8;
  }

  .services-badge {
    font-size: 12px;
  }

  .category-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .category-card {
    min-height: 190px;
    padding: 8px;

    border-radius: 18px;
  }

  .category-card-image {
    height: 115px;
    border-radius: 14px;
  }

  .category-card-image img {
    width: 80px;
    height: 80px;
  }

  .category-card-content {
    align-items: flex-start;

    padding: 12px 5px 6px;
  }

  .category-card-content strong {
    font-size: 13px;
  }

  .category-card-content span {
    display: none;
  }

  .services-cta {
    margin-top: 38px;
    padding: 20px;

    border-radius: 20px;
  }

  .services-cta-content {
    align-items: flex-start;
  }

  .services-cta-icon {
    width: 40px;
    height: 40px;

    border-radius: 12px;

    font-size: 18px;
  }

  .services-cta-content h3 {
    font-size: 15px;
  }

  .services-cta-content p {
    font-size: 12px;
  }

  .services-download-button {
    min-height: 50px;

    padding: 0 15px;

    font-size: 13px;
  }

}


/* =========================================================
   VERY SMALL MOBILE
   ========================================================= */

@media (max-width: 380px) {

  .services-heading h2 {
    font-size: 28px;
  }

  .category-card {
    min-height: 175px;
  }

  .category-card-image {
    height: 105px;
  }

  .category-card-image img {
    width: 72px;
    height: 72px;
  }

  .category-card-content strong {
    font-size: 12px;
  }

}