/* =========================================================
   WebPam Services Page
   Page-specific styling layered on top of style.css
   ========================================================= */

.services-page {
  background: #ffffff;
}

/* ---------- White services header ---------- */
.services-header {
  background: #ffffff;
  padding-top: 18px;
  padding-bottom: 130px;
  position: relative;
}

.services-header .navbar {
  background: #ffffff;
  box-shadow: 0 9px 26px rgba(36, 48, 74, 0.14);
}

.services-header .logo-img {
  height: 28px;
}

.services-header .nav-link {
  color: #5f6878;
}

.services-header .nav-link:hover,
.services-header .nav-link.active {
  color: var(--blue);
}

.services-header .nav-toggle span {
  background: #30405a;
}

/* ---------- Services hero ---------- */
.services-hero {
  position: relative;
  overflow: hidden;
  background: #ffffff;
  min-height: 450px;
}

.services-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1000px;
  margin: 0 auto;
  padding: 76px 24px 102px;
}

.services-hero-mark {
  position: absolute;
  z-index: 0;
  width: 650px;
  right: 6.2%;
  top: 48px;
  opacity: 0.075;
  filter: saturate(0.85);
  pointer-events: none;
}

.services-hero-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 116px;
  height: 32px;
  padding: 0 18px;
  border-radius: 999px;
  background: #253039;
  color: #ffffff;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.15px;
  margin-bottom: 35px;
}

.services-eyebrow {
  color: #253149;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 13px;
}

.services-hero h1 {
  font-family: "Poppins", sans-serif;
  color: #3f5268;
  font-size: clamp(31px, 3vw, 45px);
  line-height: 1.13;
  letter-spacing: -1.2px;
  font-weight: 800;
  max-width: 810px;
  margin: 0 0 18px;
}

.services-hero-copy {
  max-width: 760px;
  color: #5c6678;
  font-size: 14px;
  line-height: 1.65;
  margin-bottom: 25px;
}

.services-hero-actions {
  display: flex;
  align-items: center;
  gap: 13px;
  flex-wrap: wrap;
}

.services-hero-actions .btn {
  border-radius: 8px;
  padding: 13px 21px;
  font-size: 12px;
}

.services-hero-actions .btn-cyan {
  background: #02dfe4;
  color: #0d4a55;
}

/* ---------- Stats ---------- */
.services-stats {
  position: relative;
  z-index: 5;
  padding: 66px 24px 62px;
  background: #eef3fa;
}

.services-stats .stats-inner {
  max-width: 1010px;
  gap: 38px;
}

.services-stats .stat-card {
  padding: 24px 20px 21px;
  border-radius: 14px;
  box-shadow: 0 16px 32px rgba(39, 57, 86, 0.12);
}

.services-stats .stat-number {
  font-size: 44px;
  margin-bottom: 4px;
}

.services-stats .stat-label {
  font-size: 10px;
  color: #28354a;
}

/* ---------- Expertise / service rows ---------- */
.services-expertise {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #eef3fa;
  padding: 66px 24px 160px;
}

.expertise-inner {
  position: relative;
  z-index: 4;
  max-width: 1000px;
  margin: 0 auto;
}

.expertise-badge {
  width: fit-content;
  margin: 0 auto 14px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  color: #344155;
  font-size: 10px;
  font-weight: 600;
  padding: 5px 13px;
  background: rgba(255,255,255,0.76);
  border-radius: 999px;
  box-shadow: 0 2px 5px rgba(30, 45, 80, 0.05);
}

.expertise-badge svg {
  width: 13px;
  height: 13px;
}

.expertise-title {
  text-align: center;
  font-family: "Open Sans", sans-serif;
  font-size: 48px;
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.6px;
  margin: 0;
  background: linear-gradient(90deg, #295ef5 5%, #18cce9 96%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  -webkit-text-stroke: 1px rgba(37, 99, 235, 0.34);
  filter: drop-shadow(2px 3px 0 rgba(30, 58, 156, 0.16));
}

.expertise-sub {
  text-align: center;
  max-width: 700px;
  margin: 15px auto 62px;
  color: #354154;
  font-size: 12px;
  line-height: 1.55;
}









.service-list {
  position: relative;
  z-index: 4;
  display: grid;
  gap: 16px;
}

.service-row {
  position: relative;
  display: grid;
  grid-template-columns: 132px 1fr;
  align-items: center;
  min-height: 232px;
  padding: 28px 34px 28px 24px;
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 14px 32px rgba(30, 45, 80, 0.11);
  border: 1px solid rgba(49, 94, 245, 0.04);
  transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease;
}

.service-row:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 38px rgba(30, 45, 80, 0.14);
  border-color: rgba(49, 94, 245, 0.14);
}

.service-row-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-row-icon img {
  width: 106px;
  height: 106px;
  object-fit: contain;
}

.service-row-content {
  min-width: 0;
}

.service-row h3 {
  color: #2f63f4;
  font-family: "Poppins", sans-serif;
  font-size: 29px;
  line-height: 1.2;
  font-weight: 500;
  margin: 0 0 8px;
}

.service-row p {
  color: #28354a;
  font-size: 13.5px;
  line-height: 1.52;
  margin: 0 0 16px;
}

.service-mini-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 31px;
  padding: 6px 11px;
  border-radius: 7px;
  background: #ffffff;
  color: #3566f5;
  border: 1px solid rgba(53, 102, 245, 0.12);
  box-shadow: 0 5px 13px rgba(31, 55, 93, 0.09);
  font-size: 10.5px;
  font-weight: 500;
  transition: color .2s ease, background .2s ease, transform .2s ease;
}

.service-mini-btn:hover {
  color: var(--blue);
  background: #eef5ff;
  transform: translateY(-1px);
}

.service-mini-btn span {
  font-size: 9px;
  line-height: 1;
}

.expertise-dashed-path {
  position: absolute;
  z-index: 3;
  left: 6.2%;
  bottom: 320px;
  width: 205px;
  height: 235px;
  overflow: visible;
  pointer-events: none;
}

.expertise-dashed-path path {
  fill: none;
  stroke: #3568ff;
  stroke-width: 1.5;
  stroke-dasharray: 5 6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- Shared sections: align with services reference ---------- */
.services-process {
  background: #eef3fa !important;
  padding-top: 18px;
  margin-top: 0;
}

.services-page .testimonials-section {
  background: linear-gradient(90deg, #f4fbf7 0%, #f8f9ff 100%);
}

.services-page .cta-section {
  background: #ffffff;
}

.services-page .site-footer {
  margin-top: 0;
}

/* Keep all main homepage button hover text blue on this page too. */
.services-page .btn-primary:hover,
.services-page .btn-blue:hover,
.services-page .btn-cyan:hover,
.services-page .btn-solid-blue:hover,
.services-page .btn-outline-blue:hover {
  color: var(--blue) !important;
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .services-hero-inner,
  .expertise-inner { max-width: 900px; }
  .service-row { grid-template-columns: 118px 1fr; }
  .service-row h3 { font-size: 21px; }
}

@media (max-width: 992px) {
  .services-header .nav-menu {
    background: #ffffff;
    box-shadow: 0 18px 40px rgba(28, 43, 70, 0.17);
  }
  .services-header .nav-link:hover { background: #f3f6fc; }
  .services-hero { min-height: 0; }
  .services-hero-inner { padding-top: 56px; padding-bottom: 64px; }
  .services-hero-mark { width: 520px; right: -70px; opacity: .055; }
  .services-stats .stats-inner { grid-template-columns: repeat(3, 1fr); max-width: 820px; gap: 18px; }
  .services-stats .stat-number { font-size: 34px; }
  
  
  
  .expertise-dashed-path { display: none; }
}

@media (max-width: 767px) {
  .services-hero-inner { padding: 44px 20px 54px; }
  .services-hero-pill { margin-bottom: 24px; }
  .services-hero h1 { font-size: 32px; }
  .services-hero-copy { font-size: 13px; }
  .services-stats { padding: 38px 18px; }
  .services-stats .stats-inner { grid-template-columns: 1fr; max-width: 430px; }
  .services-expertise { padding: 38px 18px 80px; }
  .expertise-title { font-size: 32px; }
  .expertise-sub { margin-bottom: 32px; }
  .desktop-break { display: none; }
  
  .service-row { grid-template-columns: 82px 1fr; min-height: 0; padding: 20px 17px; }
  .service-row-icon img { width: 64px; height: 64px; }
  .service-row h3 { font-size: 18px; }
  .service-row p { font-size: 10.5px; }
}

@media (max-width: 520px) {
  .services-hero-actions { align-items: stretch; }
  .services-hero-actions .btn { width: 100%; }
  .service-row { grid-template-columns: 1fr; text-align: center; gap: 8px; }
  .service-row-icon { margin-bottom: 2px; }
  .service-row-content { display: flex; flex-direction: column; align-items: center; }
}

/* Reference vertical rhythm refinements */
.services-process {
  padding-bottom: 130px;
}

.services-page .testimonials-section {
  padding-top: 100px;
  padding-bottom: 100px;
}

.services-page .cta-section {
  padding-top: 105px;
  padding-bottom: 115px;
}

@media (max-width: 767px) {
  .services-process { padding-bottom: 42px; }
  .services-page .testimonials-section { padding: 64px 18px; }
  .services-page .cta-section { padding: 72px 18px 82px; }
}


/* =========================================================
   Client revision — responsive services page refinements
   ========================================================= */

/* Compact header + hero rhythm to match the supplied banner reference. */
.services-header {
  padding-top: 18px !important;
  padding-bottom: 12px !important;
}

.services-hero {
  min-height: 0 !important;
  overflow: hidden;
}

.services-hero-inner {
  max-width: 1000px;
  padding: 34px 24px 52px !important;
}

.services-hero-mark {
  width: 540px !important;
  right: 7% !important;
  top: 15px !important;
  opacity: 0.065 !important;
}

/* Home > Services breadcrumb pill. */
.services-hero-pill {
  min-width: 0 !important;
  height: 30px !important;
  padding: 0 16px !important;
  margin-bottom: 25px !important;
  gap: 7px;
  text-transform: none;
  font-size: 10px !important;
  font-weight: 700 !important;
  letter-spacing: 0 !important;
}

.services-hero-pill a {
  color: #1685ff;
  text-decoration: none;
  transition: color .2s ease;
}

.services-hero-pill a:hover,
.services-hero-pill a:focus-visible {
  color: #69c8ff;
}

.services-hero-pill .crumb-separator {
  color: #8fa0ac;
  font-weight: 700;
}

.services-eyebrow {
  margin-bottom: 10px !important;
}

.services-hero h1 {
  margin-bottom: 14px !important;
}

.services-hero-copy {
  margin-bottom: 20px !important;
}

/* Keep the stats connected tightly to the banner like the reference. */
.services-stats {
  padding-top: 48px !important;
  padding-bottom: 46px !important;
}

/* Exact same title treatment as the approved homepage Design & Dev heading. */
.expertise-title {
  font-family: "Open Sans", sans-serif !important;
  font-size: 46px !important;
  font-weight: 800 !important;
  line-height: 1.12 !important;
  letter-spacing: -0.4px !important;
  background: linear-gradient(90deg, #295EF5, #00E4EA) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  color: transparent !important;
  -webkit-text-fill-color: transparent !important;
  -webkit-text-stroke: 0 !important;
  filter: drop-shadow(2px 3px 0 rgba(30, 58, 156, 0.25)) !important;
}

/* Reference structural W/loop line artwork behind the title and cards. */


/* Left decorative composition: keep the large semi-circle complete vertically,
   with the blue glow circle overlapping its right edge like the reference. */






/* Dotted arrow must render in front of the white service cards, never underneath. */
.expertise-dashed-path {
  z-index: 8 !important;
  left: 5.2% !important;
  bottom: 305px !important;
}

.service-list,
.service-row {
  isolation: auto;
}

/* Tablet */
@media (max-width: 992px) {
  .services-header {
    padding-bottom: 8px !important;
  }

  .services-hero-inner {
    padding: 30px 26px 44px !important;
  }

  .services-hero-mark {
    width: 450px !important;
    right: -55px !important;
    top: 8px !important;
  }

  .services-hero-pill {
    margin-bottom: 20px !important;
  }

  .services-stats {
    padding: 40px 22px 42px !important;
  }

  .services-expertise {
    padding-top: 54px !important;
  }

  .expertise-title {
    font-size: 40px !important;
  }

  

  

  

  .expertise-dashed-path {
    display: block !important;
    left: 1.5% !important;
    width: 165px !important;
  }
}

/* Mobile: full responsive pass, including decorations rather than hiding them. */
@media (max-width: 767px) {
  .services-header {
    padding-top: 10px !important;
    padding-bottom: 6px !important;
  }

  .services-header .navbar {
    width: calc(100% - 24px);
    margin-left: auto;
    margin-right: auto;
  }

  .services-hero-inner {
    padding: 24px 18px 34px !important;
  }

  .services-hero-mark {
    width: 320px !important;
    right: -125px !important;
    top: 15px !important;
    opacity: .05 !important;
  }

  .services-hero-pill {
    height: 29px !important;
    padding: 0 14px !important;
    margin-bottom: 17px !important;
    font-size: 9.5px !important;
  }

  .services-eyebrow {
    font-size: 11.5px !important;
    margin-bottom: 8px !important;
  }

  .services-hero h1 {
    max-width: 520px;
    font-size: clamp(27px, 8vw, 34px) !important;
    line-height: 1.12 !important;
    letter-spacing: -0.7px !important;
    margin-bottom: 12px !important;
  }

  .services-hero-copy {
    max-width: 540px;
    font-size: 12px !important;
    line-height: 1.55 !important;
    margin-bottom: 17px !important;
  }

  .services-hero-actions {
    gap: 9px !important;
  }

  .services-hero-actions .btn {
    width: auto !important;
    min-height: 38px;
    padding: 10px 14px !important;
    font-size: 10.5px !important;
  }

  .services-stats {
    padding: 34px 18px 38px !important;
  }

  .services-stats .stats-inner {
    max-width: 520px !important;
    gap: 14px !important;
  }

  .services-stats .stat-card {
    width: 100%;
    padding: 20px 16px 18px !important;
  }

  .services-expertise {
    padding: 50px 14px 78px !important;
    overflow: hidden !important;
  }

  .expertise-inner {
    width: 100%;
  }

  .expertise-badge {
    margin-bottom: 12px !important;
  }

  .expertise-title {
    font-size: clamp(29px, 8.7vw, 38px) !important;
    line-height: 1.12 !important;
  }

  .expertise-sub {
    max-width: 520px;
    margin: 12px auto 38px !important;
    padding: 0 20px;
    font-size: 11px !important;
    line-height: 1.5 !important;
  }

  

  

  

  

  .service-list {
    gap: 13px !important;
  }

  .service-row {
    grid-template-columns: 72px minmax(0, 1fr) !important;
    text-align: left !important;
    gap: 9px !important;
    min-height: 0 !important;
    padding: 18px 15px !important;
    border-radius: 13px !important;
  }

  .service-row-icon {
    margin: 0 !important;
  }

  .service-row-icon img {
    width: 58px !important;
    height: 58px !important;
  }

  .service-row-content {
    display: block !important;
    text-align: left !important;
    align-items: initial !important;
  }

  .service-row h3 {
    font-size: 17px !important;
    line-height: 1.22 !important;
    margin-bottom: 6px !important;
  }

  .service-row p {
    font-size: 10px !important;
    line-height: 1.45 !important;
    margin-bottom: 11px !important;
  }

  .service-mini-btn {
    min-height: 28px !important;
    padding: 5px 9px !important;
    font-size: 9px !important;
  }

  .expertise-dashed-path {
    display: block !important;
    z-index: 8 !important;
    left: -18px !important;
    bottom: 250px !important;
    width: 120px !important;
    height: 160px !important;
  }

  .expertise-dashed-path path {
    stroke-width: 1.4 !important;
    stroke-dasharray: 4 5 !important;
  }
}

@media (max-width: 520px) {
  .services-hero-actions {
    flex-direction: row !important;
    align-items: center !important;
    flex-wrap: wrap !important;
  }

  .services-hero-actions .btn {
    width: auto !important;
    flex: 0 1 auto;
  }

  .services-stats .stat-number {
    font-size: 36px !important;
  }

  .services-expertise {
    padding-left: 12px !important;
    padding-right: 12px !important;
  }

  

  

  

  .service-row {
    grid-template-columns: 62px minmax(0, 1fr) !important;
    gap: 8px !important;
    padding: 16px 12px !important;
  }

  .service-row-icon img {
    width: 51px !important;
    height: 51px !important;
  }

  .service-row h3 {
    font-size: 15.5px !important;
  }

  .service-row p {
    font-size: 9.4px !important;
  }
}

@media (max-width: 380px) {
  .services-hero-actions .btn {
    width: 100% !important;
    justify-content: center;
  }

  .expertise-sub {
    padding: 0 8px;
  }

  .service-row {
    grid-template-columns: 54px minmax(0, 1fr) !important;
    padding: 14px 10px !important;
  }

  .service-row-icon img {
    width: 46px !important;
    height: 46px !important;
  }
}

/* Mobile decoration final placement: keep ornaments clear of the title copy. */
@media (max-width: 767px) {
  
  
  
}

@media (max-width: 520px) {
  
  
  
}

/* Final decoration layering/clearance: ornaments sit over the large circle,
   but underneath the readable service content. */


@media (max-width: 767px) {
  
  
  .expertise-dashed-path {
    left: -40px !important;
    bottom: 185px !important;
  }
}

@media (max-width: 520px) {
  
  
  .expertise-dashed-path {
    left: -42px !important;
    bottom: 176px !important;
  }
}


/* ===== Final services reference-matching fixes ===== */
.services-expertise {
  overflow: hidden !important;
}

/* Match the client line artwork more closely: cleaner geometry, better placement,
   and stronger-but-still-subtle visibility. */


.expertise-badge,
.expertise-title,
.expertise-sub,
.service-list {
  position: relative;
  z-index: 4;
}

/* Left ornament sizing/placement aligned to the provided reference. */






@media (max-width: 992px) {
  

  

  

  
}

@media (max-width: 767px) {
  .services-stats {
    padding-bottom: 28px !important;
  }

  .services-expertise {
    padding-top: 34px !important;
    padding-left: 14px !important;
    padding-right: 14px !important;
  }

  

  

  

  
}

@media (max-width: 520px) {
  

  

  

  
}


/* ===== Final client fixes: services heading background + left decoration ===== */
/* Use the same visible structural line language as the homepage behind
   the “Design for Everyone” heading area. */
.services-expertise {
  position: relative;
  overflow: hidden !important;
}



.expertise-badge,
.expertise-title,
.expertise-sub,
.service-list {
  position: relative;
  z-index: 4 !important;
}

/* Desktop and tablet: keep the decorative left block close to the reference. */






@media (max-width: 992px) {
  

  

  

  
}

@media (max-width: 767px) {
  .services-expertise {
    padding-top: 34px !important;
  }

  

  

  

  
}

@media (max-width: 520px) {
  .services-expertise {
    padding-top: 30px !important;
  }

  

  

  

  
}


/* =========================================================
   CLIENT FINAL: exact homepage topology lines on Services
   ========================================================= */



.expertise-inner { position: relative !important; z-index: 4 !important; }



@media (max-width: 992px) {
  
  
  
  
  
}
@media (max-width: 767px) {
  
  
  
  
  
}
@media (max-width: 520px) {
  
  
  
  
}


/* ===== Ultra-final client pass: stronger exact background lines + larger left circle ===== */




/* Bigger left large blue circle as requested */






@media (max-width: 992px) {
  

  

  

  

  
}

@media (max-width: 767px) {
  

  

  

  

  
}

@media (max-width: 520px) {
  

  

  

  
}


/* ===== Client quick fix: enlarge left decorative image ===== */






@media (max-width: 992px) {
  
  
  
}

@media (max-width: 767px) {
  
  
  
}

@media (max-width: 520px) {
  
  
  
}


/* ===== Final orb alignment fix: move small blue circle lower/left and enlarge it ===== */




@media (max-width: 992px) {
  

  
}

@media (max-width: 767px) {
  

  
}

@media (max-width: 520px) {
  

  
}


/* =========================================================
   Services decorative artwork — cleaned final values
   Old duplicate overrides for these elements were removed.
   ========================================================= */

/* Homepage-matched structural background lines */
.services-topology-lines {
  position: absolute !important;
  z-index: 0 !important;
  left: 0 !important;
  top: 8px !important;
  width: 100% !important;
  height: 520px !important;
  display: block !important;
  overflow: visible !important;
  pointer-events: none !important;
}

.services-line-stroke {
  fill: none !important;
  stroke: #d2dbe8 !important;
  stroke-width: 1.2 !important;
  stroke-linecap: round !important;
  stroke-linejoin: round !important;
  vector-effect: non-scaling-stroke;
  opacity: 0.84 !important;
}

/* Large left decorative image — keep the approved size/position */
.expertise-chevron {
  display: block !important;
  position: absolute !important;
  z-index: 1 !important;
  left: -6px !important;
  top: 10px !important;
  width: 238px !important;
  height: auto !important;
  opacity: 0.82 !important;
  pointer-events: none !important;
}

/* Small blue circle — exact custom values requested */
.expertise-glow {
  display: block !important;
  position: absolute !important;
  z-index: 3 !important;
  left: 50px !important;
  top: 370px !important;
  width: 150px !important;
  height: auto !important;
  pointer-events: none !important;
}

/* White square */
.expertise-square {
  display: block !important;
  position: absolute !important;
  z-index: 3 !important;
  left: 112px !important;
  top: 515px !important;
  width: 26px !important;
  height: 26px !important;
  border-radius: 7px !important;
  background: #fff !important;
}

@media (max-width: 992px) {
  .services-topology-lines {
    top: 10px !important;
    height: 500px !important;
  }

  .services-line-stroke {
    opacity: 0.80 !important;
  }

  .expertise-chevron {
    left: -4px !important;
    top: 12px !important;
    width: 220px !important;
  }

  .expertise-square {
    left: 108px !important;
    top: 298px !important;
    width: 25px !important;
    height: 25px !important;
  }
}

@media (max-width: 767px) {
  .services-topology-lines {
    top: 12px !important;
    left: -24% !important;
    width: 148% !important;
    height: 450px !important;
  }

  .services-line-stroke {
    stroke-width: 1.08 !important;
    opacity: 0.76 !important;
  }

  .expertise-chevron {
    left: -4px !important;
    top: 12px !important;
    width: 198px !important;
  }

  .expertise-square {
    left: 82px !important;
    top: 276px !important;
    width: 24px !important;
    height: 24px !important;
  }
}

@media (max-width: 520px) {
  .services-topology-lines {
    left: -36% !important;
    width: 172% !important;
    top: 10px !important;
    height: 430px !important;
  }

  .expertise-chevron {
    left: -2px !important;
    top: 10px !important;
    width: 190px !important;
  }

  .expertise-square {
    left: 78px !important;
    top: 268px !important;
    width: 23px !important;
    height: 23px !important;
  }
}

/* ===== Mobile cleanup: hide decorative Services artwork only ===== */
@media (max-width: 767px) {
  .services-topology-lines,
  .expertise-chevron,
  .expertise-glow,
  .expertise-square,
  .expertise-dashed-path {
    display: none !important;
  }
}
