/* ── Services / Our Services ── */

#services {
  background: rgb(2, 18, 17);
  padding: 5rem 0;
  position: relative;
}

#services::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='300' opacity='0.025'%3E%3Cpath d='M110 50 L90 120 L130 120 Z' fill='%2300F5C4'/%3E%3Cline x1='70' y1='120' x2='70' y2='200' stroke='%2300F5C4' stroke-width='2'/%3E%3Cline x1='150' y1='120' x2='150' y2='200' stroke='%2300F5C4' stroke-width='2'/%3E%3Cline x1='50' y1='200' x2='170' y2='200' stroke='%2300F5C4' stroke-width='2'/%3E%3Cline x1='70' y1='200' x2='60' y2='250' stroke='%2300F5C4' stroke-width='1.5'/%3E%3Cline x1='150' y1='200' x2='160' y2='250' stroke='%2300F5C4' stroke-width='1.5'/%3E%3C/svg%3E");
  background-size: 220px 300px;
  pointer-events: none;
}

/* ── Services Header ── */

.services-header {
  text-align: center;
  max-width: 660px;
  margin: 0 auto 3rem;
}

.services-eyebrow {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}

.services-heading {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  line-height: 1.15;
  background: linear-gradient(135deg, #F8F8F4 30%, #00F5C4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.02em;
  margin-top: 0.5rem;
}

.services-sub {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-top: 0.75rem;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

/* ── Services Marquee ── */

.services-scroll {
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent 0%, black 3%, black 97%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 3%, black 97%, transparent 100%);
  margin-bottom: 3.5rem;
  /* Isolate into its own compositor layer so the marquee never causes
     the rest of the page to repaint */
  transform: translateZ(0);
  will-change: transform;
}

.services-track {
  display: flex;
  gap: 1.25rem;
  width: max-content;
  /* Use translate3d so the browser composites this on the GPU */
  animation: servicesMarquee 90s linear infinite;
  will-change: transform;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.services-scroll:hover .services-track,
.services-scroll:focus-within .services-track {
  animation-play-state: paused;
}

@keyframes servicesMarquee {
  0%   { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-50%, 0, 0); }
}

.service-card {
  background: rgba(0,245,196,0.03);
  border: 1px solid rgba(0,245,196,0.08);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  transition: box-shadow 0.35s, transform 0.35s, border-color 0.35s;
  display: flex;
  flex-direction: column;
  width: 300px;
  flex-shrink: 0;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.service-card:hover {
  border-color: rgba(0,245,196,0.2);
  box-shadow:
    0 0 0 1px rgba(0,245,196,0.12),
    0 0 20px rgba(0,245,196,0.06),
    0 12px 32px rgba(0, 0, 0, 0.2);
  transform: translateY(-4px);
  animation-play-state: paused;
}

.service-card-top {
  padding: 1.25rem 1.25rem 0.75rem;
  flex: 1;
}

.service-icon {
  width: 40px;
  height: 40px;
  background: var(--deep-navy);
  border: 1px solid rgba(0,245,196,0.12);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.75rem;
}

.service-icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--gold);
}

.service-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.35rem;
}

.service-desc {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.service-img-wrap {
  height: 140px;
  overflow: hidden;
}

.service-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.service-card:hover .service-img-wrap img {
  transform: scale(1.06);
}

/* ── Industries We Serve ── */

.industries-bg {
  position: relative;
  background: var(--deep-navy);
  padding: 2.5rem 2rem 3rem;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(0,245,196,0.06);
}

.industries-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='350' opacity='0.035'%3E%3Cpath d='M150 30 L120 120 L180 120 Z' fill='%2300F5C4'/%3E%3Cline x1='90' y1='120' x2='90' y2='220' stroke='%2300F5C4' stroke-width='2'/%3E%3Cline x1='210' y1='120' x2='210' y2='220' stroke='%2300F5C4' stroke-width='2'/%3E%3Cline x1='60' y1='220' x2='240' y2='220' stroke='%2300F5C4' stroke-width='1'/%3E%3Cline x1='90' y1='220' x2='75' y2='280' stroke='%2300F5C4' stroke-width='1.5'/%3E%3Cline x1='210' y1='220' x2='225' y2='280' stroke='%2300F5C4' stroke-width='1.5'/%3E%3Ccircle cx='150' cy='80' r='3' fill='%2300F5C4'/%3E%3C/svg%3E");
  background-size: 300px 350px;
  pointer-events: none;
}

.industries-header {
  text-align: center;
  margin-bottom: 1.75rem;
}

.industries-eyebrow {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}

.industries-heading {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  line-height: 1.15;
  background: linear-gradient(135deg, #F8F8F4 30%, #00F5C4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.02em;
  margin-top: 0.5rem;
}

.industries-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
  max-width: 1100px;
  margin: 0 auto;
}

.industry-card {
  background: rgba(0,245,196,0.04);
  border: 1px solid rgba(0,245,196,0.08);
  border-radius: 14px;
  padding: 1.25rem 0.85rem;
  text-align: center;
  transition: background 0.3s, border-color 0.3s, transform 0.3s, box-shadow 0.3s;
  display: flex;
  flex-direction: column;
  align-items: center;
  /* GPU layer for GSAP entrance animation */
  will-change: transform, opacity;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.industry-card:hover {
  background: rgba(0,245,196,0.07);
  border-color: rgba(0,245,196,0.25);
  box-shadow:
    0 0 0 1px rgba(0,245,196,0.12),
    0 0 20px rgba(0,245,196,0.06);
  transform: translateY(-3px);
}

.industry-icon {
  width: 36px;
  height: 36px;
  margin: 0 auto 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.industry-icon svg {
  width: 32px;
  height: 32px;
}

.industry-title {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.3rem;
  line-height: 1.3;
}

.industry-desc {
  font-size: 0.7rem;
  color: rgba(248,248,244,0.45);
  line-height: 1.55;
  flex: 1;
}


