/* ================== SERVICES PAGE ================== */

/* PAGE HERO — control room background */
.page-hero {
  background:
    linear-gradient(120deg, rgba(3,30,48,0.85) 0%, rgba(7,54,81,0.72) 55%, rgba(10,77,112,0.55) 100%),
    url('https://images.unsplash.com/photo-1551808525-51a94da548ce?w=1800&q=80&auto=format&fit=crop');
  background-size: cover;
  background-position: center;
}

/* SERVICES DETAIL GRID */
.services-detail { padding: 100px 0; background: #fff; }
.sd-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.sd-card {
  background: #fff;
  border: 1px solid #e8eef3;
  border-radius: 14px;
  padding: 36px 30px 32px;
  position: relative;
  overflow: hidden;
  transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}
.sd-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--brand-bright), var(--brand-glow));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s ease;
}
.sd-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 26px 50px rgba(10,77,112,0.15);
  border-color: rgba(22,184,224,0.3);
}
.sd-card:hover::before { transform: scaleX(1); }
.sd-icon {
  width: 60px;
  height: 60px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--brand-mid), var(--brand-bright));
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 22px;
  margin-bottom: 22px;
  box-shadow: 0 10px 24px rgba(22,184,224,0.3);
  transition: transform 0.5s ease;
}
.sd-card:hover .sd-icon {
  transform: rotateY(360deg);
}
.sd-card h3 {
  font-size: 21px;
  color: var(--navy);
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 12px;
}
.sd-card > p {
  color: var(--text);
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 18px;
}
.sd-features {
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
}
.sd-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  color: var(--text);
  padding: 6px 0;
}
.sd-features li i {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(22,184,224,0.15);
  color: var(--brand-bright);
  font-size: 9px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.sd-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--brand-bright);
  font-weight: 700;
  font-size: 14px;
  transition: gap 0.25s ease, color 0.25s ease;
}
.sd-link:hover {
  gap: 14px;
  color: var(--brand-glow);
}

/* HOW IT WORKS */
.how-it-works { padding: 100px 0; background: #fafbfd; }
.hiw-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  position: relative;
  margin-top: 50px;
}
.hiw-line {
  position: absolute;
  top: 32px;
  left: 12%;
  right: 12%;
  height: 2px;
  background: linear-gradient(90deg, var(--brand-bright), var(--brand-glow));
  opacity: 0.4;
  z-index: 0;
}
.hiw-step {
  text-align: center;
  position: relative;
  z-index: 1;
}
.hiw-number {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--brand-bright);
  color: var(--brand-bright);
  display: grid;
  place-items: center;
  font-size: 18px;
  font-weight: 800;
  margin: 0 auto 22px;
  position: relative;
  transition: all 0.35s ease;
  box-shadow: 0 4px 14px rgba(22,184,224,0.15);
}
.hiw-step:hover .hiw-number {
  background: linear-gradient(135deg, var(--brand-mid), var(--brand-bright));
  color: #fff;
  transform: scale(1.1);
  box-shadow: 0 10px 24px rgba(22,184,224,0.45);
}
.hiw-content h4 {
  font-size: 18px;
  color: var(--navy);
  font-weight: 800;
  margin-bottom: 8px;
}
.hiw-content p {
  font-size: 13.5px;
  color: var(--text);
  line-height: 1.7;
  max-width: 220px;
  margin: 0 auto;
}

/* WHY US */
.why-us { padding: 100px 0; background: #fff; }
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: start;
}
.why-content .eyebrow {
  font-size: 13px;
  letter-spacing: 2px;
  color: var(--brand-bright);
  text-transform: uppercase;
  display: block;
  margin-bottom: 14px;
}
.why-content h2 {
  font-size: 36px;
  color: var(--navy);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 18px;
  letter-spacing: -0.4px;
}
.why-content p {
  color: var(--text);
  font-size: 15px;
  line-height: 1.75;
}
.why-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.why-item {
  display: flex;
  gap: 16px;
  padding: 24px 22px;
  background: #fafbfd;
  border-radius: 12px;
  border: 1px solid #eef1f4;
  transition: all 0.35s ease;
}
.why-item:hover {
  background: #fff;
  border-color: rgba(22,184,224,0.3);
  transform: translateY(-4px);
  box-shadow: 0 16px 30px rgba(10,77,112,0.1);
}
.why-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(22,184,224,0.15);
  color: var(--brand-bright);
  display: grid;
  place-items: center;
  font-size: 17px;
  flex-shrink: 0;
}
.why-item h4 {
  font-size: 16px;
  color: var(--navy);
  font-weight: 800;
  margin-bottom: 4px;
}
.why-item p {
  font-size: 13px;
  color: var(--text);
  line-height: 1.6;
}

/* INDUSTRIES STRIP */
.industries-strip { padding: 70px 0; background: #fafbfd; border-top: 1px solid #eef1f4; }
.industries-strip h3 {
  font-size: 18px;
  color: var(--navy);
  font-weight: 700;
  text-align: center;
  margin-bottom: 26px;
}
.ind-chips {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}
.chip {
  padding: 10px 18px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid #d8e6ee;
  color: var(--brand-mid);
  font-size: 13px;
  font-weight: 600;
  transition: all 0.25s ease;
  cursor: default;
}
.chip:hover {
  background: linear-gradient(135deg, var(--brand-mid), var(--brand-bright));
  color: #fff;
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(22,184,224,0.3);
}

/* CTA */
.services-cta { padding: 70px 0; background: #fff; }
.cta-card {
  background:
    linear-gradient(135deg, rgba(3,30,48,0.88), rgba(10,77,112,0.85)),
    url('https://images.unsplash.com/photo-1573497019418-b400bb3ab074?w=1600&q=80&auto=format&fit=crop');
  background-size: cover;
  background-position: center;
  border-radius: 18px;
  padding: 60px 30px;
  text-align: center;
  color: #fff;
  border: 1px solid rgba(0,224,255,0.2);
  box-shadow:
    0 30px 60px rgba(3,30,48,0.35),
    inset 0 0 80px rgba(0,224,255,0.06);
}
.cta-card h2 {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 12px;
}
.cta-card p {
  font-size: 15px;
  color: #bce0ee;
  max-width: 540px;
  margin: 0 auto 28px;
  line-height: 1.7;
}
.cta-card .btn-light { color: var(--brand-mid); font-weight: 700; }

/* RESPONSIVE */
@media (max-width: 992px) {
  .sd-grid { grid-template-columns: repeat(2, 1fr); }
  .hiw-steps { grid-template-columns: repeat(2, 1fr); gap: 40px; }
  .hiw-line { display: none; }
  .why-grid { grid-template-columns: 1fr; gap: 40px; }
  .why-cards { grid-template-columns: 1fr; }
  .why-content h2 { font-size: 28px; }
  .cta-card h2 { font-size: 26px; }
}
@media (max-width: 600px) {
  .sd-grid { grid-template-columns: 1fr; }
  .services-detail,
  .how-it-works,
  .why-us { padding: 60px 0; }
  .cta-card { padding: 40px 22px; }
}
