/* ==============================
   EGT — sections.css
   Services, Clients, Strength, Certifications
   ============================== */

/* ==============================
   SECTION 3: OUR SERVICES
   bg: #FCE9E8
   ============================== */
.services {
  background: var(--color-bg-services);
  padding: var(--section-pad-y) var(--section-pad-x);
  position: relative;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: var(--container-max);
  margin: 7% auto 0%;
  padding: 0 100px;
}

.services-footer {
  text-align: center;
  margin-top: 48px;
}

/* ==============================
   SECTION 4: CLIENTS
   white bg, full-width slider
   ============================== */
.clients {
  background: #fff;
  padding: var(--section-pad-y) 0;
  position: relative;
  overflow: hidden;
}

/* Left vector decoration */
.clients-vector {
  position: absolute;
  left: 0;
  top: 20px;
  width: 120px;
  height: 160px;
  pointer-events: none;
}

.clients-vector svg {
  width: 100%;
  height: 100%;
}

.clients-header {
  padding: 0 var(--section-pad-x);
  margin-bottom: 48px;
}

/* Full width slider — no container constraint */
.clients-slider-wrap {
  position: relative;
  width: 100%;
  overflow: hidden;
}

/* Fade edges */
.clients-slider-wrap::before,
.clients-slider-wrap::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}
.clients-slider-wrap::before {
  left: 0;
  background: linear-gradient(to right, #fff, transparent);
}
.clients-slider-wrap::after {
  right: 0;
  background: linear-gradient(to left, #fff, transparent);
}

.clients-track {
  display: flex;
  align-items: center;
  gap: 48px;
  width: max-content;
  animation: clientsScroll 30s linear infinite;
}

.clients-track:hover {
  animation-play-state: paused;
}

.client-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.client-item img {
  height: 78px;
  width: auto;
  object-fit: contain;
  /* filter: grayscale(100%);
  opacity: 0.65; */
  transition: all 0.3s;
}

.client-item:hover img {
  filter: grayscale(0%);
  opacity: 1;
}

.client-item span {
  font-family: var(--font-heading);
  font-size: 10px;
  font-weight: 600;
  color: var(--color-text-light);
  letter-spacing: 0.5px;
  text-align: center;
}

@keyframes clientsScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ==============================
   SECTION 5: OUR STRENGTH & RESOURCES
   dark maroon bg + image
   ============================== */
.strength {
  background: var(--color-bg-strength);
  background-image: url('../images/strength-bg.png');
  background-size: cover;
  background-position: center, top;
  background-repeat: no-repeat;
  padding: var(--section-pad-y) var(--section-pad-x);
  position: relative;
  overflow: hidden;
}

/* Background image overlay right side */
/* .strength-bg-img {
  position: absolute;
  top: 0;
  right: 0;
  width: 55%;
  height: 100%;
  object-fit: cover;
  opacity: 0.18;
} */

/* Dark overlay on bg image */
/* .strength::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    var(--color-bg-strength) 40%,
    transparent 100%
  );
  z-index: 1;
} */

.strength-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  max-width: var(--container-max);
  margin: 0 auto;
}

.strength-content h2 {
  font-family: var(--font-heading);
  font-size: 40px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
  line-height: 1.1;
}

.strength-content p {
  font-family: var(--font-heading);
  font-size: var(--fs-body);
  font-weight: 400;
  color:#F6F6F6;
  line-height: var(--lh-body);
  margin-bottom: 32px;
}

/* Stats row */
.strength-stats {
  display: flex;
  gap: 0;
  margin-bottom: 36px;
}

.strength-stat {
  padding-right: 32px;
  margin-right: 32px;
  border-right: 1px solid rgba(255,255,255,0.2);
}

.strength-stat:last-child {
  border-right: none;
  padding-right: 0;
  margin-right: 0;
}

.strength-stat .stat-num {
  font-family: var(--font-heading);
  font-size: 48px;
  font-weight: 700;
  color: #fff;
  line-height: 1;
  margin-bottom: 4px;
}

.strength-stat .stat-label {
  font-family: var(--font-heading);
  font-size: 23px;
  font-weight: 500;
  color:#F6F6F6;
}

/* Right: image card */
.strength-image {
  position: relative;
  z-index: 2;
}

.strength-image img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  display: block;
}

/* Red corner accent */
/* .strength-image::before {
  content: '';
  position: absolute;
  top: -12px;
  right: -12px;
  width: 60px;
  height: 60px;
  border-top: 3px solid rgba(255,255,255,0.3);
  border-right: 3px solid rgba(255,255,255,0.3);
} */

/* ==============================
   SECTION 6: OUR CERTIFICATIONS
   white bg, logos row
   ============================== */
.certifications {
  background: #fff;
  padding: var(--section-pad-y) var(--section-pad-x);
  border-top: 1px solid var(--color-border);
}

.certifications-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
  max-width: var(--container-max);
  margin: 0 auto 40px;
}

.cert-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  transition: transform 0.2s;
}

.cert-item:hover {
  transform: translateY(-4px);
}

.cert-item img {
  height: 110px;
  width: auto;
  object-fit: contain;
}

.certifications-footer {
  text-align: center;
}

.certifications-footer a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 500;
  color: #232323;
  transition: gap 0.2s;
}

.certifications-footer a:hover {
  gap: 14px;
}

.certifications-footer a svg {
  width: 18px;
  height: 18px;
  stroke: #232323;
  fill: none;
  stroke-width: 2;
}

/* ==============================
   RESPONSIVE — Tablet (max 1024px)
   ============================== */
@media (max-width: 1024px) {
  :root {
    --section-pad-x: 32px;
    --section-pad-y: 80px;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .strength-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .strength-bg-img {
    width: 100%;
    opacity: 0.1;
  }

  .certifications-grid {
    gap: 32px;
  }
}

/* ==============================
   RESPONSIVE — Mobile (max 768px)
   ============================== */
@media (max-width: 768px) {
  :root {
    --section-pad-x: 20px;
    --section-pad-y: 60px;
  }

  .services-grid {
    grid-template-columns: 1fr;
    padding: 0 40px;
  }

  .strength-stat .stat-num {
    font-size: 36px;
  }

  .certifications-grid {
    gap: 24px;
  }

  .cert-item img {
    height: 56px;
  }

  .clients-vector {
    display: none;
  }
}
