/* =========================================================
   Services overview page (page-templates/services.php)
   Loads after main.css + services.css. Every new section uses
   the "svp-" prefix, so nothing here touches other pages.
   Markup: inc/services-overview.php
   ========================================================= */
:root {
  --svp-navy: #104164;
  --svp-navy-2: #174d78;
  --svp-blue: #1271b5;
  --svp-ink: #001321;
  --svp-muted: #5b798e;
  --svp-line: #dbe6ef;
  --svp-ice: #eef6fb;
}

.pg-services .site-main { overflow-x: hidden; }
.pg-services main section { scroll-margin-top: 110px; }

.svp-h2 {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 48px;
  line-height: 56px;
  letter-spacing: -0.96px;
  color: var(--svp-navy);
}

.svp-lead {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 17px;
  line-height: 28px;
  font-weight: 500;
  color: var(--svp-navy);
}

.svp-center { text-align: center; }
.svp-btn-row { display: flex; justify-content: center; margin-top: 40px; }
/* section buttons as in the video: bright blue, soft corners */
.svp-btn-row .btn-primary,
.pg-services .cta .btn-primary {
  width: auto;
  height: 52px;
  padding: 0 32px;
  gap: 14px;
  border-radius: 6px;
  background: #1271b5;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1.2px;
  box-shadow: 0 8px 20px rgba(18, 113, 181, .22);
  transition: background .2s, transform .2s, box-shadow .2s;
}
.svp-btn-row .btn-primary:hover,
.pg-services .cta .btn-primary:hover {
  background: #0f5f99;
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(18, 113, 181, .32);
}
.svp-btn-row .btn-primary .btn-arrow,
.svp-btn-row .btn-primary .btn-arrow svg,
.pg-services .cta .btn-primary .btn-arrow,
.pg-services .cta .btn-primary .btn-arrow svg { width: 15px; height: 15px; transition: transform .2s; }
.svp-btn-row .btn-primary:hover .btn-arrow,
.pg-services .cta .btn-primary:hover .btn-arrow { transform: translateX(3px); }
.svp-why .svp-btn-row .btn-primary,
.pg-services .cta .btn-primary { box-shadow: none; }

/* ---------- banner tweaks ---------- */
.pg-services .sv-banner .breadcrumbs a,
.pg-services .sv-banner .breadcrumbs span { color: rgba(255,255,255,.8); }
.pg-services .sv-banner-btns .btn-outline .btn-phone-icon svg { width: 14px; height: 14px; }
.pg-services .sv-banner-text { max-width: 640px; }
.pg-services .sv-banner h1 { max-width: 640px; }
.pg-services .sv-banner-btns { flex-direction: column; gap: 16px; }
.pg-services .sv-banner-btns .btn-primary,
.pg-services .sv-banner-btns .btn-outline { width: 280px; white-space: nowrap; }
.pg-services .svp-trust { background: #fff; padding-bottom: 72px; }

/* =========================================================
   1. SERVICES GRID (dark)
   ========================================================= */
.svp-services {
  position: relative;
  padding: 96px 0;
  background:
    radial-gradient(900px 500px at 15% 0%, rgba(18,113,181,.28), transparent 60%),
    radial-gradient(800px 500px at 90% 100%, rgba(23,77,120,.45), transparent 60%),
    linear-gradient(180deg, #0b2a44 0%, #001321 100%);
  color: #fff;
}

.svp-services .svp-head { max-width: 860px; margin: 0 auto 48px; text-align: center; }
.svp-services .svp-h2 { color: #fff; margin-bottom: 16px; }
.svp-services .svp-lead { color: rgba(255,255,255,.82); font-weight: 400; }

.svp-svc-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
}

.svp-svc-card {
  grid-column: span 2;
  display: flex;
  flex-direction: column;
  padding: 28px 24px 24px;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,.14);
  background: linear-gradient(160deg, rgba(255,255,255,.09) 0%, rgba(255,255,255,.03) 100%);
  backdrop-filter: blur(6px);
  transition: transform .3s, border-color .3s, background .3s;
}
.svp-svc-card.is-wide { grid-column: span 3; }
.svp-svc-card:hover {
  transform: translateY(-4px);
  border-color: rgba(95,168,220,.55);
  background: linear-gradient(160deg, rgba(18,113,181,.22) 0%, rgba(255,255,255,.04) 100%);
}

.svp-svc-icon {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.svp-svc-icon svg { width: 18px; height: 18px; fill: none; stroke: #e3e8eb; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.svp-svc-card h3 {
  font-family: 'Inter', sans-serif;
  font-size: 20px; line-height: 28px; font-weight: 600;
  color: #fff; margin-bottom: 10px;
}
.svp-svc-card p {
  font-size: 14px; line-height: 23px;
  color: rgba(255,255,255,.72);
  margin-bottom: 26px;
  flex: 1;
}

.svp-btn-ghost {
  display: flex; align-items: center; justify-content: center;
  height: 44px;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 2px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 12px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase;
  color: #fff;
  transition: background .2s, border-color .2s;
}
.svp-svc-card:hover .svp-btn-ghost,
.svp-btn-ghost:hover { background: #4285f4; border-color: #4285f4; }

/* =========================================================
   2. INDUSTRIES
   ========================================================= */
.svp-industries { padding: 96px 0; background: #fff; }

.svp-industries {
  background: linear-gradient(180deg, #f3f8fc 0%, #fff 45%);
}

.svp-ind-grid {
  --ind-line: #dbe8f2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.svp-ind-intro {
  grid-column: span 2;
  padding: 0 40px 40px 0;
}
.svp-ind-intro .svp-h2 { text-align: left; margin-bottom: 20px; }
.svp-ind-intro .svp-lead { font-size: 15px; line-height: 25px; }

/* cards: lines drawn so each edge shows once, like the design */
.svp-ind-card {
  padding: 22px 20px 26px;
  background: #fff;
  border-right: 1px solid var(--ind-line);
  border-bottom: 1px solid var(--ind-line);
  transition: background .3s;
}
.svp-ind-card.c1 { border-top: 1px solid var(--ind-line); border-left: 1px solid var(--ind-line); border-top-left-radius: 12px; }
.svp-ind-card.c2 { border-top: 1px solid var(--ind-line); border-top-right-radius: 12px; }
.svp-ind-card.c3 { border-top: 1px solid var(--ind-line); border-left: 1px solid var(--ind-line); border-top-left-radius: 12px; }
.svp-ind-card.c4 { border-top: 1px solid var(--ind-line); }
.svp-ind-card.c2,
.svp-ind-card.c4,
.svp-ind-card.c6 { background: #f0f7fd; }
.svp-ind-card:hover { background: #e6f1fa; }

/* 7th card: full width row under the grid */
.svp-ind-card.c7 {
  grid-column: 1 / -1;
  border-left: 1px solid var(--ind-line);
  border-radius: 0 0 12px 12px;
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 8px 40px;
  align-items: start;
}
.svp-ind-card.c7 .svp-ind-icon { grid-column: 1; }
.svp-ind-card.c7 h3 { grid-column: 1; margin-bottom: 0; }
.svp-ind-card.c7 p { grid-column: 2; grid-row: 1 / span 2; align-self: center; max-width: 760px; }

.svp-ind-icon {
  width: 30px; height: 30px;
  border-radius: 6px;
  border: 1px solid var(--ind-line);
  background: #f5f9fc;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
}
.svp-ind-icon svg { width: 17px; height: 17px; fill: none; stroke: var(--svp-navy); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

.svp-ind-card h3 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 15px; line-height: 20px; font-weight: 500;
  color: var(--svp-navy);
  margin-bottom: 10px;
}
.svp-ind-card p { font-size: 12.5px; line-height: 19px; color: var(--svp-navy); }

/* =========================================================
   3. WHY CCU (dark)
   ========================================================= */
.svp-why { padding: 96px 0; background: var(--svp-ink); color: #fff; }
.svp-why .svp-head { max-width: 760px; margin: 0 auto 48px; text-align: center; }
.svp-why .svp-h2 { color: #fff; margin-bottom: 16px; }
.svp-why .svp-lead { color: rgba(255,255,255,.82); font-weight: 400; }

.svp-why-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }

.svp-why-card {
  grid-column: span 2;
  min-height: 210px;
  padding: 36px 28px;
  border: 1px solid transparent;
  border-radius: 24px;
  background:
    linear-gradient(var(--svp-ink), var(--svp-ink)) padding-box,
    linear-gradient(135deg, rgba(255,255,255,.26) 0%, rgba(255,255,255,.1) 45%, rgba(255,255,255,.02) 100%) border-box;
  display: flex; flex-direction: column; justify-content: center;
  transition: transform .3s;
}
.svp-why-card.is-wide { grid-column: span 3; }
.svp-why-card:hover { transform: translateY(-4px); }

.svp-why-card h3 {
  font-family: 'Inter', sans-serif;
  font-size: 19px; line-height: 26px; font-weight: 600;
  margin-bottom: 12px; color: #fff;
}
.svp-why-card p { font-size: 14px; line-height: 23px; color: rgba(255,255,255,.7); }

/* =========================================================
   4. SERVICE AREAS
   ========================================================= */
.svp-areas { padding: 96px 0; background: var(--svp-ice); }
.svp-areas .svp-head { max-width: 860px; margin: 0 auto 44px; text-align: center; }
.svp-areas .svp-h2 { margin-bottom: 16px; }
.svp-areas .svp-lead { color: var(--svp-muted); font-weight: 400; font-size: 16px; line-height: 27px; }

.svp-area-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px;
  max-width: 1010px; margin: 0 auto;
}

.svp-area-card {
  display: flex; gap: 22px; align-items: flex-start;
  padding: 20px;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 18px 40px rgba(16,65,100,.10);
  transition: transform .3s, box-shadow .3s;
}
.svp-area-card:hover { transform: translateY(-3px); box-shadow: 0 22px 46px rgba(16,65,100,.16); }

.svp-area-card img {
  width: 104px; height: 104px; flex: 0 0 104px;
  object-fit: cover; border-radius: 8px;
}
.svp-area-card h3 {
  font-family: 'Inter', sans-serif;
  font-size: 18px; line-height: 24px; font-weight: 500;
  color: var(--svp-navy); margin: 4px 0 8px;
}
.svp-area-card p { font-size: 13px; line-height: 21px; color: var(--svp-muted); }

.svp-area-note { max-width: 760px; margin: 40px auto 0; text-align: center; }
.svp-area-note p { font-size: 16px; line-height: 26px; color: var(--svp-muted); }
.svp-area-note p.is-link { font-size: 18px; color: var(--svp-blue); margin-top: 4px; }
.svp-area-note .svp-btn-row { margin-top: 24px; }

/* =========================================================
   5. PROJECTS
   ========================================================= */
.svp-projects { padding: 96px 0; background: #fff; }
.svp-projects .svp-h2 { text-align: center; max-width: 640px; margin: 0 auto 44px; }

.svp-proj-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.svp-proj-col { display: flex; flex-direction: column; gap: 22px; }

.svp-proj-img { border-radius: 12px; overflow: hidden; height: 236px; }
.svp-proj-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.svp-proj-col:hover .svp-proj-img img { transform: scale(1.05); }

.svp-proj-text {
  display: flex; flex-direction: column;
  min-height: 236px;
  padding: 22px 20px 18px;
  border: 1px solid #e3e9ee; border-radius: 12px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(16,65,100,.06);
}
.svp-proj-text h3 {
  font-family: 'Inter', sans-serif;
  font-size: 17px; line-height: 23px; font-weight: 600;
  color: var(--svp-blue); margin-bottom: 8px;
}
.svp-proj-meta { font-size: 12px; line-height: 17px; font-weight: 700; color: var(--svp-navy); margin-bottom: 12px; }
.svp-proj-text p.svp-proj-desc { font-size: 14px; line-height: 22px; color: var(--svp-muted); flex: 1; }
.svp-proj-link {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 16px;
  font-size: 13px; font-weight: 700; color: var(--svp-navy);
}
.svp-proj-link span.arr {
  width: 26px; height: 26px; border-radius: 50%;
  background: #e8f1f6; display: flex; align-items: center; justify-content: center;
  transition: background .2s;
}
.svp-proj-link span.arr svg { width: 13px; height: 13px; stroke: var(--svp-blue); fill: none; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.svp-proj-link:hover span.arr { background: var(--svp-blue); }
.svp-proj-link:hover span.arr svg { stroke: #fff; }

/* =========================================================
   6. CTA tweaks (final call to action)
   ========================================================= */
.pg-services .cta h2 { max-width: 640px; }
.pg-services .cta p + p { margin-top: -8px; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1100px) {
  .svp-svc-card, .svp-svc-card.is-wide { grid-column: span 3; }
  .svp-svc-card:last-child { grid-column: 2 / span 4; }
  .svp-ind-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .svp-ind-intro { grid-column: span 2; padding: 0 0 24px; }
  .svp-ind-card, .svp-ind-card.c1, .svp-ind-card.c2, .svp-ind-card.c3, .svp-ind-card.c4, .svp-ind-card.c7 {
    border: 1px solid var(--ind-line); border-radius: 12px;
  }
  .svp-ind-card.c7 { grid-template-columns: 1fr; }
  .svp-ind-card.c7 p { grid-column: 1; grid-row: auto; }
  .svp-why-card, .svp-why-card.is-wide { grid-column: span 3; }
  .svp-why-card:last-child { grid-column: 2 / span 4; }
}

@media (max-width: 991px) {
  .svp-h2 { font-size: 38px; line-height: 46px; }
  .svp-proj-grid { grid-template-columns: 1fr 1fr; }
  .svp-proj-col:last-child { grid-column: span 2; display: grid; grid-template-columns: 1fr 1fr; }
}

@media (max-width: 767px) {
  .svp-services, .svp-industries, .svp-why, .svp-areas, .svp-projects { padding: 56px 0; }
  .pg-services .container { padding: 0 16px; }
  .svp-h2 { font-size: 26px !important; line-height: 34px !important; letter-spacing: -0.4px; }
  .svp-lead { font-size: 14px !important; line-height: 23px !important; }
  .svp-services .svp-head, .svp-why .svp-head, .svp-areas .svp-head { margin-bottom: 28px; }

  .svp-svc-grid, .svp-why-grid { grid-template-columns: 1fr; gap: 14px; }
  .svp-svc-card, .svp-svc-card.is-wide, .svp-svc-card:last-child,
  .svp-why-card, .svp-why-card.is-wide, .svp-why-card:last-child { grid-column: auto; }
  .svp-why-card { min-height: 0; padding: 26px 22px; }

  .svp-ind-grid { grid-template-columns: 1fr; }
  .svp-ind-intro { grid-column: auto; text-align: center; }
  .svp-ind-intro .svp-h2 { text-align: center; }
  .svp-ind-intro { grid-column: auto; }
  .svp-ind-card.c7 { grid-column: auto; }
  .pg-services .sv-banner .banner-content { padding-top: 128px !important; padding-bottom: 196px !important; }
  .pg-services .sv-banner h1 { font-size: 30px; line-height: 38px; }
  .pg-services .sv-banner-btns .btn-primary,
  .pg-services .sv-banner-btns .btn-outline { width: 100%; font-size: 13px; }
  .pg-services .sv-banner .banner-stats .stat { font-size: 13px; }
  .pg-services .svp-trust { padding-bottom: 40px; }

  .svp-area-grid { grid-template-columns: 1fr; gap: 14px; }
  .svp-area-card { gap: 14px; padding: 14px; }
  .svp-area-card img { width: 76px; height: 76px; flex-basis: 76px; }
  .svp-area-note p { font-size: 14px; line-height: 22px; }
  .svp-area-note p.is-link { font-size: 15px; }

  .svp-proj-grid, .svp-proj-col:last-child { grid-template-columns: 1fr; display: flex; flex-direction: column; }
  .svp-proj-col:last-child { grid-column: auto; }
  
  .svp-proj-img { height: 210px; }
  .svp-proj-text { min-height: 0; }

  .svp-btn-row { margin-top: 28px; }
  .svp-btn-row .btn-primary { width: 100%; max-width: 340px; padding: 0 16px; font-size: 12px; }
}

/* ---------- extras for the WordPress version ---------- */
.svp-svc-card.is-full,
.svp-why-card.is-full { grid-column: 1 / -1; }
.svp-svc-icon img,
.svp-ind-icon img { width: 18px; height: 18px; object-fit: contain; }
.svp-proj-link span.arr svg { width: 13px; height: 13px; }
.pg-services .svp-btn-down .btn-phone-icon svg { width: 14px; height: 14px; }
.pg-services .svp-cta { background-size: cover; background-position: center; }
.pg-services .sv-banner .banner-stats .stat:nth-child(3):last-child { grid-column: auto; }

@media (max-width: 1100px) {
  .svp-svc-card.is-full, .svp-why-card.is-full { grid-column: 1 / -1; }
}
@media (max-width: 767px) {
  .svp-proj-col.is-reverse { flex-direction: column-reverse; }
  .svp-svc-card.is-full, .svp-why-card.is-full { grid-column: auto; }
}


/* ---------- projects: Home page cards (main.css .project-card) ----------
   White section, heading in Plus Jakarta like the design. */
.pg-services .svp-projects.projects { background: #fff; padding: 96px 0; }
.pg-services .svp-projects .sec-header { margin-bottom: 32px; }
.pg-services .svp-projects .sec-header h2 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 500;
  font-size: 48px;
  line-height: 56px;
  letter-spacing: -1px;
  color: #104164;
  max-width: 640px;
  margin: 0 auto;
}
.pg-services .svp-projects .project-card { box-shadow: 0 18px 40px rgba(16, 65, 100, .08); }
.pg-services .svp-projects .project-card .project-img { transition: transform .5s; }
@media (max-width: 991px) {
  .pg-services .svp-projects .sec-header h2 { font-size: 38px; line-height: 46px; }
}
@media (max-width: 767px) {
  .pg-services .svp-projects.projects { padding: 56px 0; }
  .pg-services .svp-projects .sec-header h2 { font-size: 26px; line-height: 34px; letter-spacing: -0.4px; }
}

/* ---------- main heading + sub heading (v2) ---------- */
.svp-subhead {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 26px;
  line-height: 34px;
  font-weight: 500;
  letter-spacing: -0.3px;
  color: var(--svp-navy);
  margin: 12px 0 16px;
}
.svp-services .svp-subhead,
.svp-why .svp-subhead { color: #cfe3f3; }
.svp-head .svp-subhead { margin-left: auto; margin-right: auto; max-width: 760px; }
.svp-head .svp-h2 + .svp-subhead { margin-top: 10px; }
.svp-ind-intro .svp-h2 { margin-bottom: 0; }
.svp-ind-intro .svp-subhead { color: var(--svp-blue); margin: 12px 0 18px; }
.svp-areas .svp-subhead,
.svp-projects .svp-subhead { color: var(--svp-blue); }
.pg-services .svp-projects .sec-header .svp-subhead {
  margin: 12px auto 0; text-align: center; max-width: 760px;
  font-size: 26px; line-height: 34px; font-weight: 500; color: var(--svp-blue);
}

@media (max-width: 991px) {
  .svp-subhead,
  .pg-services .svp-projects .sec-header .svp-subhead { font-size: 22px; line-height: 30px; }
}
@media (max-width: 767px) {
  .svp-subhead,
  .pg-services .svp-projects .sec-header .svp-subhead { font-size: 17px !important; line-height: 25px !important; margin: 8px auto 12px; text-align: center; }
  .svp-ind-intro .svp-subhead { margin: 8px 0 12px; }
}