/* ===========================
   SERVICES PAGE ONLY
=========================== */

.services-page section {
    padding: 80px 0;
}

.services-page .section-title {
    text-align: center;
    font-size: 30px;
    margin-bottom: 40px;
}

/* HERO */
.services-page .services-hero {
    min-height: 70vh;
    display: flex;
    align-items: center;
    background:
        linear-gradient(135deg, rgba(31, 78, 146, 0.08), rgba(241, 126, 1, 0.08)),
        url("../images/services_hero.jpg") center / cover no-repeat;
}

.services-page .services-hero h1 {
    font-size: 42px;
    margin-bottom: 14px;
    color: var(--text-color);
}

.services-page .services-hero p {
    color: var(--muted);
    margin-bottom: 18px;
}

.services-page .hero-tag {
    display: inline-block;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.9);
    font-weight: 600;
    font-size: 13px;
}

/* DOMAINS */
.services-page .domain-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.services-page .domain-card {
    background: #fff;
    padding: 28px;
    border-radius: 18px;
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.services-page .domain-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 48px rgba(31, 78, 146, 0.18);
}

.services-page .domain-card h4 {
    color: var(--primary-color);
    margin-bottom: 8px;
}

/* DETAIL */
.services-page .service-detail-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 50px;
    align-items: center;
}

.services-page .service-text h3 {
    font-size: 26px;
    margin-bottom: 12px;
}

.services-page .service-text ul {
    margin-top: 14px;
    padding-left: 20px;
}

.services-page .service-text li {
    margin-bottom: 8px;
    font-weight: 600;
}

/* COMPLIANCE */
.services-page .compliance {
    background: linear-gradient(180deg, #ffffff, #eef3fa);
}

.services-page .compliance-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.services-page .compliance-grid div {
    background: #fff;
    padding: 22px;
    border-radius: 14px;
    font-weight: 700;
    text-align: center;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.06);
}

/* CTA */
.services-page .services-cta {
    background: linear-gradient(135deg, var(--primary-color), #163a70);
    color: #fff;
    text-align: center;
}

.services-page .services-cta h2 {
    font-size: 32px;
    margin-bottom: 10px;
}

.services-page .services-cta p {
    margin-bottom: 20px;
    color: #e6e6e6;
}

/* RESPONSIVE */
@media (max-width: 900px) {

    .services-page .domain-grid,
    .services-page .compliance-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .services-page .service-detail-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .services-page .service-text ul {
        display: inline-block;
        text-align: left;
    }
}

@media (max-width: 520px) {
    .services-page .services-hero h1 {
        font-size: 28px;
    }

    .services-page .domain-grid,
    .services-page .compliance-grid {
        grid-template-columns: 1fr;
    }
}


/* =========================
   SERVICE IMAGE STYLING
========================= */

.services-page .service-image {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  max-width: 520px;
  margin-left: auto;
}

.services-page .service-image::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 20px;
  background: linear-gradient(
    135deg,
    rgba(31, 78, 146, 0.25),
    rgba(241, 126, 1, 0.25)
  );
  opacity: 0.35;
  z-index: 1;
}

.services-page .service-image::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 6px;
  height: 100%;
  background: var(--secondary-color);
  z-index: 2;
}

.services-page .service-image img {
  width: 100%;
  height: 320px;              /* 🔒 fixed height */
  object-fit: cover;
  display: block;
  position: relative;
  z-index: 0;
  transition: transform 0.4s ease;
}

.services-page .service-image:hover img {
  transform: scale(1.04);
}

/* Mobile fix */
@media (max-width: 600px) {
  .services-page .service-image {
    margin: 0 auto;
  }

  .services-page .service-image img {
    height: 220px;
  }
}
