/* ============================================
   CLIENTS PAGE - S N Engineering Consultant
   ============================================ */

/* --- Page Hero / Banner --- */
.clients-hero {
  background: linear-gradient(135deg, #091b31 0%, #1b2a41 40%, #243b55 100%);
  padding: 7rem 0 5rem;
  position: relative;
  overflow: hidden;
}
.clients-hero::before {
  content: "";
  position: absolute;
  right: -180px; top: -130px;
  width: 410px; height: 410px;
  background: var(--snec-orange);
  border-radius: 50%;
  filter: blur(1px);
  opacity: 0.1;
}
.clients-hero .hero-grid-bg {
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 54px 54px;
  position: absolute; inset: 0;
  mask-image: linear-gradient(to right, black, transparent);
}
.clients-hero .breadcrumb-nav {
  font-size: 0.82rem; font-weight: 600; margin-bottom: 1.25rem;
}
.clients-hero .breadcrumb-nav a {
  color: rgba(255,255,255,0.55); transition: color 0.2s;
}
.clients-hero .breadcrumb-nav a:hover { color: #fff; }
.clients-hero .breadcrumb-nav span { color: var(--snec-orange); }
.clients-hero h1 {
  color: #fff;
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.1;
  max-width: 750px;
}
.clients-hero h1 span { color: var(--snec-orange); }
.clients-hero p.hero-sub {
  color: rgba(255,255,255,0.6);
  font-size: 1.1rem;
  /* max-width: 620px; */
  line-height: 1.8;
  margin-top: 1.25rem;
}

/* --- Clients Grid Section --- */
.clients-grid-section {
  padding: 6rem 0;
  background-color: #f7f9fc;
}

.clients-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.client-card-box {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 2.5rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 160px;
  transition: all 0.3s ease-in-out;
  position: relative;
  overflow: hidden;
}

.client-card-box img {
  max-width: 100%;
  /* max-height: 75px; */
  object-fit: contain;
  /* filter: grayscale(100%);
  opacity: 0.75; */
  transition: all 0.3s ease-in-out;
}

.client-card-box:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(9, 27, 49, 0.08);
  border-color: rgba(219, 113, 0, 0.25);
  background-color: #fff;
}

.client-card-box:hover img {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.05);
}

.client-card-box::after {
  content: "";
  position: absolute;
  bottom: 0; left: 0;
  width: 100%; height: 3px;
  background: var(--snec-orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.client-card-box:hover::after {
  transform: scaleX(1);
}

/* --- Stats or Info block --- */
.clients-trust-section {
  padding: 6rem 0;
  background: #ffffff;
}

.trust-card {
  border-radius: 16px;
  padding: 2.5rem;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  height: 100%;
}

.trust-card i {
  font-size: 2.5rem;
  color: var(--snec-orange);
  margin-bottom: 1.5rem;
  display: inline-block;
}

.trust-card h3 {
  color: var(--snec-navy);
  font-weight: 800;
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.trust-card p {
  color: #4a5568;
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 0;
}

/* --- CTA Section --- */
.clients-cta {
  padding: 6rem 0;
  background: linear-gradient(135deg, #091b31 0%, #16213e 100%);
  color: white;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.clients-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(232, 115, 42, 0.15), transparent 60%);
  pointer-events: none;
}

.clients-cta h2 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
}

.clients-cta h2 span {
  color: var(--snec-orange);
}

.clients-cta p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.1rem;
  max-width: 650px;
  margin: 0 auto 2.5rem;
  line-height: 1.8;
}

/* --- Responsive --- */
@media (max-width: 991.98px) {
  .clients-hero { padding: 6rem 0 4rem; }
  .clients-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 767.98px) {
  .clients-hero { padding: 5rem 0 3rem; }
  .clients-hero h1 { font-size: clamp(2rem, 8vw, 2.8rem); }
  .clients-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .client-card-box {
    height: 130px;
    padding: 1.5rem 1rem;
  }
}

@media (max-width: 480px) {
  .clients-grid {
    grid-template-columns: 1fr;
  }
}
