/* ══════════════════════════════════════════
   PAGE-SERVICES — styles specific to services.html
══════════════════════════════════════════ */

/* ── Reuse page-banner from page-about.css ── */
/* (page-about.css is NOT loaded here;
    banner styles are redefined below so
    services.html only needs this one file) */

.page-banner {
  background: var(--navy-dk);
  padding: 9rem 5% 5rem;
  position: relative;
  overflow: hidden;
}
.page-banner::before {
  content: '';
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='90' height='78'%3E%3Cpath d='M45 2 L83 23 L83 65 L45 86 L7 65 L7 23 Z' fill='none' stroke='rgba(42,181,160,0.07)' stroke-width='1'/%3E%3C/svg%3E");
  background-size: 90px 78px;
  pointer-events: none;
}
.page-banner-inner { max-width: 1220px; margin: 0 auto; position: relative; z-index: 1; }

.breadcrumb {
  display: flex; align-items: center; gap: 8px;
  font-size: .68rem; font-weight: 600; letter-spacing: 1.5px;
  text-transform: uppercase; color: rgba(255,255,255,.3); margin-bottom: 1.4rem;
}
.breadcrumb a       { color: rgba(255,255,255,.3); transition: color .2s; }
.breadcrumb a:hover { color: var(--teal-lt); }
.breadcrumb span    { color: var(--teal-lt); }
.breadcrumb-sep     { font-size: .5rem; }

.page-banner h1 {
  font-family: 'Rajdhani', sans-serif;
  font-size: clamp(2.8rem, 5.5vw, 5rem);
  font-weight: 700; line-height: .95; letter-spacing: 1px; text-transform: uppercase;
  color: #fff; margin-bottom: 1.2rem;
}
.page-banner h1 span {
  background: linear-gradient(135deg, var(--orange), var(--red));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.page-banner p { font-size: 1rem; color: rgba(255,255,255,.5); max-width: 560px; line-height: 1.75; margin-bottom: 2rem; }

/* Service pill tags in banner */
.banner-pills { display: flex; flex-wrap: wrap; gap: .6rem; }
.banner-pill {
  display: inline-flex; align-items: center; gap: 7px;
  border: 1px solid rgba(42,181,160,.3); border-radius: 2px;
  padding: .35rem .9rem; font-size: .65rem; font-weight: 700;
  letter-spacing: 1.5px; text-transform: uppercase; color: var(--teal-lt);
}
.banner-pill::before { content: ''; width: 5px; height: 5px; background: var(--teal); border-radius: 50%; }

.banner-decor { position: absolute; right: 5%; top: 50%; transform: translateY(-50%); opacity: .06; pointer-events: none; }
.nav-active   { color: var(--teal) !important; }

/* ── Services overview intro ── */
#svc-overview {
  background: var(--bg-lt); padding: 6rem 5%;
}
.svc-overview-inner {
  max-width: 1220px; margin: 0 auto;
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 5rem; align-items: center;
}
.svc-overview-text .sec-title { color: var(--navy); margin-bottom: 1.2rem; }
.svc-overview-text p { color: var(--muted); line-height: 1.82; font-size: .91rem; margin-bottom: 1rem; }

/* Mini stat row */
.mini-stats { display: flex; gap: 2rem; margin-top: 2rem; flex-wrap: wrap; }
.mini-stat .val {
  font-family: 'Rajdhani', sans-serif; font-size: 2rem; font-weight: 700; color: var(--teal); line-height: 1;
}
.mini-stat .lbl { font-size: .62rem; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted); }

/* 3 quick-nav cards */
.svc-nav-cards { display: flex; flex-direction: column; gap: 1rem; }
.svc-nav-card {
  border: 1px solid var(--border); border-radius: 4px; padding: 1.3rem 1.5rem;
  background: #fff; display: flex; align-items: center; gap: 1.2rem; transition: var(--t);
  text-decoration: none;
}
.svc-nav-card:hover { border-color: rgba(42,181,160,.35); box-shadow: var(--sh-sm); transform: translateX(4px); }
.svc-nav-card-icon {
  width: 44px; height: 44px; border-radius: 3px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.svc-nav-card-txt h4 { font-family: 'Rajdhani', sans-serif; font-size: .95rem; font-weight: 700; color: var(--navy); letter-spacing: .5px; }
.svc-nav-card-txt p  { font-size: .76rem; color: var(--muted); margin-top: 1px; }
.svc-nav-card-arrow  { margin-left: auto; color: var(--teal); flex-shrink: 0; }

/* ── Individual service detail sections ── */
.svc-detail {
  padding: 7rem 5%; position: relative; overflow: hidden;
}
.svc-detail.light { background: #fff; }
.svc-detail.navy  { background: var(--navy); }
.svc-detail.dark  { background: var(--navy-dk); }
.svc-detail.tinted{ background: var(--bg-lt); }

.svc-detail-inner {
  max-width: 1220px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: start;
}
.svc-detail-inner.rev { direction: rtl; }
.svc-detail-inner.rev > * { direction: ltr; }

/* text block */
.svc-dt-text {}
.svc-dt-text .sec-title      { margin-bottom: 1rem; }
.svc-detail.light .sec-title { color: var(--navy); }
.svc-detail.navy  .sec-title { color: #fff; }
.svc-detail.dark  .sec-title { color: #fff; }
.svc-detail.tinted .sec-title{ color: var(--navy); }
.svc-dt-text > p { font-size: .9rem; line-height: 1.82; margin-bottom: 1rem; }
.svc-detail.light .svc-dt-text > p  { color: var(--muted); }
.svc-detail.navy  .svc-dt-text > p  { color: rgba(255,255,255,.45); }
.svc-detail.dark  .svc-dt-text > p  { color: rgba(255,255,255,.45); }
.svc-detail.tinted .svc-dt-text > p { color: var(--muted); }

/* Sub-services checklist */
.sub-list { display: flex; flex-direction: column; gap: .6rem; margin: 1.5rem 0; }
.sub-item {
  display: flex; align-items: flex-start; gap: .8rem;
  font-size: .86rem; line-height: 1.5;
}
.svc-detail.light  .sub-item,
.svc-detail.tinted .sub-item { color: var(--navy); }
.svc-detail.navy   .sub-item,
.svc-detail.dark   .sub-item { color: rgba(255,255,255,.72); }
.sub-check {
  width: 18px; height: 18px; border-radius: 2px; flex-shrink: 0; margin-top: 1px;
  display: flex; align-items: center; justify-content: center;
}
.sub-check.teal { background: rgba(42,181,160,.12); border: 1px solid rgba(42,181,160,.3); }
.sub-check.fire { background: rgba(247,148,29,.12); border: 1px solid rgba(247,148,29,.3); }

/* Technology stack tags */
.tech-tags { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: 1.4rem; }
.tech-tag {
  font-size: .6rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
  padding: 4px 9px; border-radius: 2px;
}
.tech-tag.teal { color: var(--teal-lt); border: 1px solid rgba(42,181,160,.22); }
.tech-tag.fire { color: var(--orange);  border: 1px solid rgba(247,148,29,.22); }
.tech-tag.navy { color: var(--teal);    border: 1px solid rgba(42,181,160,.2); background: rgba(42,181,160,.05); }

/* Visual panel (right column) */
.svc-dt-visual { position: relative; }

/* Hex-framed visual box */
.svc-vis-box {
  border-radius: 4px; overflow: hidden; position: relative;
  border: 1px solid rgba(42,181,160,.18);
}
.svc-vis-box::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; z-index: 1;
}
.svc-vis-box.fire-line::before { background: linear-gradient(90deg, var(--orange), var(--red)); }
.svc-vis-box.teal-line::before { background: linear-gradient(90deg, var(--teal), var(--teal-lt)); }
.svc-vis-box.green-line::before{ background: linear-gradient(90deg, #27ae60, var(--teal)); }

/* Numbered feature list inside visual area */
.svc-feature-list { padding: 2rem; }
.svc-feat-item {
  display: flex; gap: 1.2rem; align-items: flex-start;
  padding: 1.1rem 0; border-bottom: 1px solid rgba(255,255,255,.06);
}
.svc-feat-item:last-child { border-bottom: none; }
.feat-num {
  font-family: 'Rajdhani', sans-serif; font-size: 1.6rem; font-weight: 700; line-height: 1; flex-shrink: 0; width: 36px;
}
.svc-feat-item h5 { font-family: 'Rajdhani', sans-serif; font-size: .95rem; font-weight: 700; letter-spacing: .5px; margin-bottom: .3rem; }
.svc-feat-item p  { font-size: .78rem; line-height: 1.6; }
.navy .svc-feat-item h5,
.dark .svc-feat-item h5  { color: #fff; }
.navy .svc-feat-item p,
.dark .svc-feat-item p   { color: rgba(255,255,255,.38); }
.light .svc-feat-item h5,
.tinted .svc-feat-item h5 { color: var(--navy); }
.light .svc-feat-item p,
.tinted .svc-feat-item p  { color: var(--muted); }

/* ── Process: How It Works ── */
#how-it-works {
  background: var(--navy); padding: 7rem 5%;
}
.how-inner { max-width: 1220px; margin: 0 auto; }
.process-steps {
  display: grid; grid-template-columns: repeat(5,1fr); gap: 0; margin-top: 3.5rem;
  position: relative;
}
.process-steps::before {
  content: ''; position: absolute; top: 36px; left: 10%; right: 10%; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(42,181,160,.3) 20%, rgba(42,181,160,.3) 80%, transparent);
}
.proc-step { padding: 0 1rem; text-align: center; position: relative; }
.proc-icon-wrap {
  width: 72px; height: 72px; border-radius: 50%; margin: 0 auto 1.3rem;
  border: 1.5px solid rgba(42,181,160,.25); background: rgba(42,181,160,.06);
  display: flex; align-items: center; justify-content: center; position: relative; z-index: 1;
}
.proc-icon-wrap.active {
  border-color: var(--teal); background: rgba(42,181,160,.12);
  box-shadow: 0 0 0 6px rgba(42,181,160,.06);
}
.proc-num {
  position: absolute; top: -6px; right: -6px; width: 20px; height: 20px;
  background: var(--orange); border-radius: 50%; border: 2px solid var(--navy);
  font-family: 'Rajdhani', sans-serif; font-size: .65rem; font-weight: 700; color: #fff;
  display: flex; align-items: center; justify-content: center;
}
.proc-step h4 { font-family: 'Rajdhani', sans-serif; font-size: .95rem; font-weight: 700; color: #fff; margin-bottom: .4rem; letter-spacing: .5px; }
.proc-step p  { font-size: .76rem; color: rgba(255,255,255,.35); line-height: 1.6; }

/* ── Industries We Serve ── */
#industries {
  background: var(--bg-lt); padding: 7rem 5%;
}
.industries-inner { max-width: 1220px; margin: 0 auto; }
.industries-grid  { display: grid; grid-template-columns: repeat(2,1fr); gap: 1.5rem; margin-top: 3rem; max-width: 860px; margin-left: auto; margin-right: auto; }
.industry-card {
  background: #fff; border: 1px solid var(--border); border-radius: 4px;
  padding: 2rem 1.5rem; text-align: center; transition: var(--t);
}
.industry-card:hover { transform: translateY(-5px); box-shadow: var(--sh-md); border-color: rgba(42,181,160,.25); }
.industry-icon { width: 56px; height: 56px; margin: 0 auto 1rem; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.industry-card h4 { font-family: 'Rajdhani', sans-serif; font-size: 1rem; font-weight: 700; color: var(--navy); letter-spacing: .5px; margin-bottom: .4rem; }
.industry-card p  { font-size: .78rem; color: var(--muted); line-height: 1.55; }

/* ── CTA strip ── */
.svc-cta-strip {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-md) 100%);
  padding: 5rem 5%; text-align: center; position: relative; overflow: hidden;
}
.svc-cta-strip::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 80% at 50% 50%, rgba(247,148,29,.07) 0%, transparent 70%);
  pointer-events: none;
}
.svc-cta-strip h2 { font-family: 'Rajdhani', sans-serif; font-size: clamp(1.8rem,3.5vw,2.8rem); font-weight: 700; color: #fff; margin-bottom: .8rem; position: relative; }
.svc-cta-strip p  { font-size: .9rem; color: rgba(255,255,255,.45); margin-bottom: 2rem; position: relative; }
.svc-cta-strip .cta-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; position: relative; }

/* ══════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════ */
@media (max-width: 1100px) {
  .svc-overview-inner  { grid-template-columns: 1fr; }
  .svc-detail-inner    { grid-template-columns: 1fr; }
  .svc-detail-inner.rev{ direction: ltr; }
  .process-steps       { grid-template-columns: repeat(3,1fr); gap: 2rem; }
  .process-steps::before { display: none; }
  .industries-grid     { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 680px) {
  .banner-pills        { display: none; }
  .banner-decor        { display: none; }
  .mini-stats          { gap: 1.4rem; }
  .process-steps       { grid-template-columns: 1fr 1fr; }
  .industries-grid     { grid-template-columns: 1fr 1fr; }
}
