//service.css
.service-pg {
  background: #fff;
  color: #00142e;
  overflow: hidden;
}

.service-pg .sp-hero {
  background: #001a3d;
  padding: 60px 0;
}

.service-pg .sp-hero-shell {
  display: grid;
  grid-template-columns: minmax(0, 552px) minmax(0, 550px);
  align-items: center;
  justify-content: center;
  gap: 20px;
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
}

.service-pg .sp-hero-copy {
  color: #fff;
}

.service-pg .sp-hero-copy h1 {
  margin: 0 0 26px;
  color: #fff;
  font-family: "Raleway", "Nunito", ui-sans-serif, system-ui, sans-serif;
  font-size: 40px;
  font-weight: 700;
  line-height: 1.36;
  letter-spacing: 0;
}

.service-pg .sp-hero-copy p {
  max-width: 700px;
  margin: 0 0 24px;
  color: #fff;
  font-size: 15.9px;
  font-weight: 400;
  line-height: 1.75;
  text-align: justify;
  letter-spacing: 0.1px;
  word-spacing: 0.2px;
  font-family: "Roboto", sans-serif;
}

.service-pg .sp-hero-copy>a,
.service-pg .sp-cta-content>a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 169px;
  min-height: 39px;
  padding: 0 24px;
  background: #ff5a0a;
  color: #fff;
  border-radius: 2px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s ease;
}

.service-pg .sp-hero-copy>a:hover,
.service-pg .sp-cta-content>a:hover {
  background: #fff;
  color: #00173e;
}

.service-pg .sp-inline-link {
  color: #ff5a0a;
  text-decoration: underline;
  font-weight: 600;
  transition: color 0.2s ease;
}

.service-pg .sp-inline-link:hover {
  color: #fff;
}

.service-pg .sp-hero-media {
  border: 2px solid rgba(255, 255, 255, 0.78);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.25);
}

.service-pg .sp-hero-media img {
  display: block;
  width: 546px;
  height: 364px;
  object-fit: cover;
}

/* ---- SECTION HEADING ---- */
.service-pg .sp-section-heading {
  text-align: center;
}

.service-pg .sp-section-heading h2 {
  margin: 0;
  color: #001a3d;
  font-family: "Raleway", "Nunito", ui-sans-serif, system-ui, sans-serif;
  font-size: 33px;
  font-weight: 700;
  line-height: 1.2;
}

.service-pg .sp-section-heading .sp-heading-bar {
  width: 40px;
  height: 3px;
  margin: 28px auto 0;
  background: #ff4f00;
}

/* ---- PROCESS / SERVICE GRID ---- */
.service-pg .sp-process {
  background: #fff;
  padding: 62px 0 46px;
}

.service-pg .sp-process-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px 19px;
  width: min(1099px, calc(100% - 48px));
  margin: 39px auto 0;
}

.service-pg .sp-process-card {
  min-height: 360px;
  padding: 55px 36px 32px;
  background: linear-gradient(145deg, #6657dc 0%, #884ee8 50%, #b238ef 100%);
  color: #fff;
  text-align: center;
  overflow: hidden;
  border-radius: 4px;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.service-pg .sp-process-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 48px rgba(100, 60, 200, 0.28);
}

.service-pg .sp-process-icon {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  margin: 0 auto 17px;
  border-radius: 999px;
  background: #fff;
  isolation: isolate;
}

.service-pg .sp-process-icon::before,
.service-pg .sp-process-icon::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: #fff;
  transform: scale(0.72);
  animation: sp-icon-wave 2.8s ease-out infinite;
}

/* .service-pg .sp-process-icon::after {
  animation-delay: 1.4s;
} */

.service-pg .sp-process-icon img {
  display: block;
  width: 50px;
  height: 50px;
  object-fit: contain;
  filter: none;
  opacity: 1;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
}

.service-pg .sp-process-card h3 {
  margin: 30px 0 16px;
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  font-family: "Nunito", sans-serif;
  line-height: 1.3;
  letter-spacing: 0.5px;
}

.service-pg .sp-process-card p {
  margin: 0 auto;
  max-width: 275px;
  color: #fff;
  font-size: 15px;
  font-weight: 400;
  font-family: "Nunito", "Raleway", sans-serif;
  line-height: 1.74;
  text-align: center;
  opacity: 0.92;
}

/* ---- WHY CHOOSE US BAND ---- */
.service-pg .sp-why-band {
  position: relative;
  min-height: 389px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 54px 24px;
  background-image: url("/frontend-assets/media/services/why-choose-sortiq-solutions.jpg");
  background-position: center;
  background-size: cover;
  color: #fff;
  text-align: center;
}

.service-pg .sp-why-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
}

.service-pg .sp-why-content {
  position: relative;
  z-index: 1;
  width: min(1035px, 100%);
  margin: 0 auto;
}

.service-pg .sp-why-content h2 {
  margin: 0;
  color: #fff;
  font-size: 32px;
  font-weight: 700;
  line-height: 1.25;
  font-family: "Nunito", "Raleway", sans-serif;
  opacity: 0;
  transform: translateX(-70px);
  transition: opacity 0.75s ease 0.05s, transform 0.75s ease 0.05s;
}

.service-pg .sp-why-content.sp-animated h2 {
  opacity: 1;
  transform: translateX(0);
}

.service-pg .sp-why-content .sp-why-bar {
  width: 40px;
  height: 3px;
  margin: 31px auto 28px;
  background: #fff;
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity 0.65s ease 0.25s, transform 0.65s ease 0.25s;
}

.service-pg .sp-why-content.sp-animated .sp-why-bar {
  opacity: 1;
  transform: translateX(0);
}

.service-pg .sp-why-content p {
  margin: 0 auto;
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.75;
  text-align: center;
  font-family: "Nunito", "Raleway", sans-serif;
  opacity: 0;
  transform: translateX(-55px);
  transition: opacity 0.75s ease 0.42s, transform 0.75s ease 0.42s;
}

.service-pg .sp-why-content.sp-animated p {
  opacity: 1;
  transform: translateX(0);
}

/* ---- TESTIMONIALS ---- */
.service-pg .sp-testimonials {
  background: #fff;
  padding: 60px 0;
}

.service-pg .sp-testimonials .sp-section-heading {
  margin-bottom: 40px;
}

/* ---- CTA SECTION ---- */
.service-pg .sp-cta {
  position: relative;
  min-height: 365px;
  padding: 63px 24px 62px;
  background-color: #303c8e;
  background-image: url("/frontend-assets/media/services/backgrounds/contact-cta-background.webp");
  background-position: center;
  background-size: cover;
  color: #fff;
  text-align: center;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-pg .sp-cta-overlay {
  position: absolute;
  inset: 0;
  background: rgba(48, 60, 142, 0.94);
}

.service-pg .sp-cta-content {
  position: relative;
  z-index: 1;
  width: min(1110px, 100%);
  max-width: 1110px;
  margin: 0 auto;
}

.service-pg .sp-cta-content h2 {
  margin: 0 0 34px;
  color: #fff;
  font-family: "Raleway", "Nunito", ui-sans-serif, system-ui, sans-serif;
  font-size: 33px;
  font-weight: 700;
  line-height: 1.25;
}

.service-pg .sp-cta-content p {
  max-width: 1110px;
  margin: 0 auto 28px;
  color: #fff;
  font-family: "Nunito", "Raleway", sans-serif;
  font-size: 16px;
  line-height: 1.75;
  text-align: center;
}

.service-pg .sp-cta-content>a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 203px;
  min-height: 56px;
  margin: 0;
  padding: 0 32px;
  border-radius: 2px;
  background: #ff5a0a;
  color: #fff;
  font-size: 17px;
  font-weight: 600;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.service-pg .sp-cta-content>a::before {
  content: '';
  position: absolute;
  left: 0;
  bottom: -100%;
  width: 100%;
  height: 100%;
  background: #ffffff;
  z-index: -1;
}

.service-pg .sp-cta-content>a:hover::before {
  bottom: 0;
}

/* .service-pg .sp-cta-content a:hover {
  color: #ff5a0a;
} */

/* ---- ANIMATIONS ---- */
@keyframes sp-slide-in-left {
  0% {
    opacity: 0;
    transform: translateX(-100px);
  }

  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes sp-icon-wave {
  0% {
    opacity: 0.28;
    transform: scale(0.62);
  }

  70% {
    opacity: 0.08;
  }

  100% {
    opacity: 0;
    transform: scale(2.2);
  }
}

/* ---- RESPONSIVE ---- */
@media (max-width: 1023px) {
  .service-pg .sp-hero-shell {
    grid-template-columns: 1fr;
  }

  .service-pg .sp-hero-media img {
    width: 100%;
    height: auto;
    max-width: 100%;
    aspect-ratio: 546 / 364;
  }

  .service-pg .sp-process-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .service-pg .sp-hero {
    padding: 44px 0;
  }

  .service-pg .sp-hero-shell {
    width: min(342px, calc(100% - 48px));
  }

  .service-pg .sp-hero-copy h1,
  .service-pg .sp-section-heading h2,
  .service-pg .sp-why-content h2,
  .service-pg .sp-cta-content h2 {
    font-size: 28px;
  }

  .service-pg .sp-hero-copy p {
    text-align: left;
  }

  .service-pg .sp-process-grid {
    grid-template-columns: 1fr;
  }

  .service-pg .sp-process-card {
    min-height: auto;
    padding: 28px 24px;
  }
}