.services-hero {
  background: linear-gradient(180deg, var(--bg-dark), #140601);
  color: #fff;
  padding: 80px 0 80px;
  position: relative;
}

.services-hero h1 {
  font-size: 3rem;
  line-height: 1.2;
  margin-bottom: 20px;
}

.services-hero h1 span {
  display: block;
  font-size: 1.4rem;
  font-weight: 400;
  color: #c7d2fe;
  margin-top: 10px;
}

.services-hero p {
  max-width: 680px;
  font-size: 1.1rem;
  opacity: 0.9;
  margin-bottom: 40px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* ==================ALL SERVICE PAGES: CLOUD CAPABILITIES ================== */

.cloud-capabilities {
  padding: 80px 0;
  background: linear-gradient(180deg, var(--bg-dark-soft), var(--bg-dark));
}

.cloud-capabilities .section-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--brand-accent);
  margin-bottom: 14px;
}

.cloud-capabilities h2 {
  font-size: 40px;
  line-height: 1.2;
  color: var(--text-white);
  max-width: 960px;
  margin: 0 auto 18px;
}

.cloud-capabilities h2::after {
  content: "";
  display: block;
  width: 640px;
  height: 3px;
  margin: 18px auto 0;
  background: linear-gradient(90deg,
      transparent,
      var(--brand-accent),
      transparent);
}


/*Subtle divider line between capability sections*/
.capability-section {
  margin-top: 70px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.08)
}

.capability-section:first-of-type {
  border-top: none;
  padding-top: 0;
}

.cloud-capabilities>.container {
  text-align: center;
}

.capability-section {
  text-align: left;
}


.capability-section h3 {
  color: var(--text-white);
  font-size: 28px;
  margin-bottom: 14px;
}

.capability-intro {
  max-width: 760px;
  color: var(--text-light);
  margin-bottom: 40px;
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 22px;
}

.capability-card {
  padding: 22px 20px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-white);
  font-weight: 600;
  font-size: 14px;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.capability-card:hover {
  transform: translateY(-4px);
  border-color: var(--brand-accent);
}

/* ================== ALL SERVICE PAGES: APPROACH ================== */

.approach-table-section {
  padding: 100px 0;
  background: linear-gradient(180deg, var(--bg-dark), var(--bg-dark-soft));
  text-align: center;
}

.section-tag {
  font-weight: 650;
  text-transform: uppercase;
  color: rgba(56, 189, 248, 0.9);
}

/* Center only the intro content */
.approach-table-section .section-tag,
.approach-table-section h2,
.approach-intro {
  text-align: center;
}

.approach-intro {
  max-width: 720px;
  margin: 0 auto 50px;
  color: var(--text-light);
  text-align: center;
}

.approach-table {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  overflow: hidden;
}

/* Flatten wrapper */
.approach-step {
  display: contents;
}

/* === FORCE TITLES INTO ROW 1 === */
.approach-title {
  grid-row: 1;

  padding: 24px 20px;
  background: rgba(56, 189, 248, 0.15);
  text-align: center;
  font-weight: 600;
  font-size: 1rem;
  text-transform: uppercase;
  color: var(--text-white);
  margin: 0;

  border-right: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

/* === FORCE DESCRIPTIONS INTO ROW 2 === */
.approach-desc {
  grid-row: 2;

  padding: 28px 22px;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-light);
  text-align: left;
  margin: 0;

  border-right: 1px solid rgba(255, 255, 255, 0.06);
}

/* Remove right border from last column */
.approach-title:nth-of-type(5),
.approach-desc:nth-of-type(5) {
  border-right: none;
}

/* ================== ALL SERVICE PAGES: WHY CHOOSE US ================== */


.why-choose-section {
  padding: 80px 0;
}

.why-choose-card {
  padding: 34px 28px;
  border-radius: 16px;
  background: linear-gradient(180deg,
      rgba(255, 255, 255, 0.06),
      rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(148, 163, 184, 0.18);
  color: var(--text-light);
  transition: 0.35s ease;
}

.why-choose-card:hover {
  transform: translateY(-6px);
  border-color: var(--brand-accent);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
}

.why-choose-header h2 {
  text-align: left;
  margin: 0 0 24px;
  font-size: 2.6rem;
  line-height: 1.25;
  font-weight: 400;
  color: var(--text-white);
  text-transform: uppercase;
}

/* Force second line alignment */
.why-choose-header h2 strong {
  display: inline;
  font-weight: 800;
  white-space: nowrap;
}

.why-choose-card h3 {
  color: var(--text-white);
  margin-bottom: 12px;
}

.why-choose-card p {
  font-size: 14px;
}

/* 🔑 THIS is the main grid (same as services-dark-layout) */
.why-choose-layout {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

/* Header spans all columns but aligns left */
.why-choose-header {
  max-width: 1200px;
  margin-bottom: 0;
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.why-choose-header h2 {
  grid-column: 1 / 3;
}

/* Cards grid (same as services-dark-grid) */
.why-choose-grid {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

/* ================== ALL SERVICE PAGES: SECTION DIVIDER ================== */
.section-divider {
  max-width: 1100px;
  width: 90%;
  height: 2px;
  margin: 10px auto;
  background: linear-gradient(90deg,
      transparent,
      var(--brand-accent),
      transparent);
  opacity: 0.7;
}

@media (max-width: 768px) {

  /* ================= HERO ================= */

  .services-hero {
    padding: 70px 20px;
    text-align: left;
  }

  .services-hero h1 {
    font-size: 2rem;
    line-height: 1.25;
  }

  .services-hero h1 span {
    font-size: 1.1rem;
  }

  .services-hero p {
    font-size: 0.95rem;
    margin-bottom: 30px;
  }

  .hero-actions {
    flex-direction: column;
    gap: 12px;
  }

  /* ================= CLOUD CAPABILITIES ================= */

  .cloud-capabilities {
    padding: 60px 20px;
  }

  .cloud-capabilities h2 {
    font-size: 26px;
  }

  .cloud-capabilities h2::after {
    width: 70%;
    height: 2px;
  }

  .capability-section {
    margin-top: 50px;
  }

  .capability-section h3 {
    font-size: 22px;
  }

  .capability-intro {
    margin-bottom: 28px;
  }

  .capability-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .capability-card {
    padding: 18px;
    font-size: 14px;
  }

  /* ===============================
   APPROACH - MOBILE TIMELINE STYLE
================================ */

  @media (max-width: 900px) {

    .approach-table-section {
      padding: 80px 20px;
    }

    .approach-intro {
      margin-bottom: 40px;
      font-size: 0.95rem;
    }

    /* Switch from table grid to stacked layout */
    .approach-table {
      display: block;
      border: none;
    }

    .approach-step {
      display: block;
      background: rgba(255, 255, 255, 0.03);
      border: 1px solid rgba(255, 255, 255, 0.08);
      border-radius: 16px;
      margin-bottom: 20px;
      overflow: hidden;
    }

    /* Reset grid forcing */
    .approach-title,
    .approach-desc {
      grid-row: auto;
      border: none;
    }

    .approach-title {
      padding: 18px 18px 10px;
      text-align: left;
      font-size: 0.95rem;
      background: transparent;
    }

    .approach-desc {
      padding: 0 18px 20px;
      font-size: 0.9rem;
    }

  }

  /* ================= WHY CHOOSE ================= */

  .why-choose-section {
    padding: 60px 20px;
  }

  .why-choose-layout,
  .why-choose-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .why-choose-header {
    grid-template-columns: 1fr;
  }

  .why-choose-header h2 {
    font-size: 1.7rem;
    line-height: 1.3;
    text-transform: none;
    /* optional, reduces width */
    word-break: break-word;
  }

  .why-choose-header h2 strong {
    white-space: normal;
    text-transform: uppercase;
    display: inline;
  }

  .why-choose-card {
    padding: 22px;
  }

  /* ================= SECTION DIVIDER ================= */

  .section-divider {
    width: 80%;
  }

}