/* =========================
   Clients Page
========================= */

.clients-page-hero {
  min-height: 340px;
  background:
    linear-gradient(rgba(11, 31, 54, 0.58), rgba(11, 31, 54, 0.58)),
    url("../images/clientcover.png");
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.clients-page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(0, 151, 214, 0.35),
    rgba(241, 177, 41, 0.28)
  );
}

.clients-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--white);
}

.clients-hero-content span {
  display: inline-block;
  background: rgba(241, 177, 41, 0.95);
  color: #111111;
  padding: 9px 18px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 900;
  margin-bottom: 18px;
}

.clients-hero-content h1 {
  font-size: clamp(42px, 5vw, 68px);
  font-weight: 900;
  letter-spacing: -1.5px;
  margin-bottom: 14px;
}

.clients-hero-content p {
  font-size: 15px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.9);
}

.clients-hero-content i {
  margin: 0 8px;
  color: var(--accent);
}

/* Clients Intro */

.clients-intro-section {
  padding: 90px 0;
  background: var(--white);
}

.clients-intro-grid {
  display: grid;
  grid-template-columns: 58% 42%;
  gap: 56px;
  align-items: center;
}

.clients-intro-content h2 {
  font-size: clamp(32px, 3.2vw, 48px);
  line-height: 1.12;
  font-weight: 900;
  color: var(--navy);
  letter-spacing: -1px;
  margin-bottom: 24px;
}

.clients-intro-content p {
  color: #3c4856;
  font-size: 15.8px;
  line-height: 1.85;
  font-weight: 500;
  margin-bottom: 18px;
}

.clients-intro-list {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}

.clients-intro-list div {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  font-weight: 800;
  color: var(--navy);
}

.clients-intro-list i {
  width: 28px;
  height: 28px;
  background: var(--soft-yellow);
  color: var(--accent-dark);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 13px;
}

.clients-intro-card {
  background:
    linear-gradient(135deg, rgba(0, 151, 214, 0.1), rgba(241, 177, 41, 0.12)),
    var(--white);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 44px 38px;
  box-shadow: var(--shadow);
}

.clients-intro-icon {
  width: 82px;
  height: 82px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--navy);
  color: var(--accent);
  font-size: 36px;
  margin-bottom: 26px;
}

.clients-intro-card h3 {
  color: var(--navy);
  font-size: 28px;
  line-height: 1.2;
  font-weight: 900;
  margin-bottom: 16px;
}

.clients-intro-card p {
  color: #3c4856;
  font-size: 15.5px;
  line-height: 1.75;
  font-weight: 500;
  margin-bottom: 26px;
}

.clients-intro-card a {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--primary-dark);
  font-size: 15px;
  font-weight: 900;
}

.clients-intro-card a i {
  color: var(--accent-dark);
}

/* Featured Clients */

.featured-clients-section {
  padding: 80px 0 60px;
  background: #f8fafc;
}

.featured-client-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.featured-client-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: 48% 52%;
  align-items: center;
  transition: 0.3s ease;
}

.featured-client-card:hover {
  transform: translateY(-7px);
}

.featured-client-img {
  height: 100%;
  min-height: 360px;
  overflow: hidden;
  background: var(--soft-blue);
}

.featured-client-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.45s ease;
}

.featured-client-card:hover .featured-client-img img {
  transform: scale(1.06);
}

.featured-client-content {
  padding: 36px 32px;
}

.featured-client-content span {
  display: inline-block;
  color: var(--primary);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin-bottom: 14px;
}

.featured-client-content h3 {
  color: var(--navy);
  font-size: 26px;
  line-height: 1.2;
  font-weight: 900;
  margin-bottom: 14px;
}

.featured-client-content p {
  color: #3c4856;
  font-size: 15px;
  line-height: 1.7;
  font-weight: 500;
  margin-bottom: 24px;
}

.featured-client-content a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--primary-dark);
  font-size: 15px;
  font-weight: 900;
}

.featured-client-content a i {
  color: var(--accent-dark);
}

/* Gallery */

.client-gallery-section {
  padding: 90px 0;
  background: var(--white);
}

.gallery-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 42px;
}

.gallery-heading h2 {
  font-size: clamp(30px, 3vw, 44px);
  line-height: 1.15;
  font-weight: 900;
  color: var(--navy);
  letter-spacing: -0.8px;
}

.gallery-heading p {
  max-width: 470px;
  color: #3c4856;
  font-size: 15.5px;
  line-height: 1.7;
  font-weight: 500;
}

.client-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.client-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(15, 47, 81, 0.06);
  transition: 0.3s ease;
}

.client-card:hover {
  transform: translateY(-7px);
  box-shadow: var(--shadow);
}

.client-card-img {
  height: 285px;
  position: relative;
  overflow: hidden;
  background: #f5f5f5;
}

.client-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.45s ease;
}

.client-card:hover .client-card-img img {
  transform: scale(1.06);
}

.client-card-img span {
  position: absolute;
  left: 18px;
  top: 18px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--primary-dark);
  border-radius: 50px;
  padding: 8px 14px;
  font-size: 12px;
  font-weight: 900;
  box-shadow: 0 10px 28px rgba(15, 47, 81, 0.12);
}

.client-card-body {
  padding: 24px 22px 26px;
}

.client-card-body h3 {
  font-size: 19px;
  font-weight: 900;
  color: var(--navy);
  margin-bottom: 10px;
}

.client-card-body p {
  color: #4f5965;
  font-size: 14.8px;
  line-height: 1.6;
  font-weight: 500;
}

/* Process */

.client-process-section {
  padding: 90px 0;
  background:
    linear-gradient(rgba(11, 31, 54, 0.94), rgba(11, 31, 54, 0.94)),
    url("../images/factory.jfif");
  background-size: cover;
  background-position: center;
  color: var(--white);
}

.client-process-grid {
  margin-top: 50px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.process-card {
  position: relative;
  min-height: 260px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  padding: 34px 26px;
  border-radius: 18px;
  backdrop-filter: blur(10px);
  transition: 0.3s ease;
}

.process-card:hover {
  transform: translateY(-8px);
  background: rgba(255, 255, 255, 0.12);
}

.process-number {
  position: absolute;
  right: 22px;
  top: 18px;
  color: rgba(255, 255, 255, 0.16);
  font-size: 46px;
  font-weight: 900;
  line-height: 1;
}

.process-card i {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: var(--accent);
  color: #111111;
  display: grid;
  place-items: center;
  font-size: 28px;
  margin-bottom: 24px;
}

.process-card h3 {
  font-size: 19px;
  line-height: 1.3;
  font-weight: 900;
  margin-bottom: 14px;
}

.process-card p {
  color: rgba(255, 255, 255, 0.82);
  font-size: 14.8px;
  line-height: 1.7;
  font-weight: 500;
}

/* Client Values */

.client-values-section {
  padding: 80px 0 20px;
  background: var(--white);
}

.client-values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.client-value-card {
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 34px 26px;
  text-align: center;
  background: var(--white);
  transition: 0.3s ease;
}

.client-value-card:hover {
  transform: translateY(-7px);
  box-shadow: var(--shadow);
}

.client-value-card i {
  width: 72px;
  height: 72px;
  margin: 0 auto 20px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--soft-blue);
  color: var(--primary);
  font-size: 30px;
}

.client-value-card:nth-child(even) i {
  background: var(--soft-yellow);
  color: var(--accent-dark);
}

.client-value-card h3 {
  font-size: 20px;
  font-weight: 900;
  color: var(--navy);
  margin-bottom: 10px;
}

.client-value-card p {
  font-size: 15px;
  line-height: 1.55;
  color: #4f5965;
  font-weight: 500;
}

/* Clients Responsive */

@media (max-width: 1200px) {
  .clients-intro-grid {
    grid-template-columns: 1fr;
  }

  .clients-intro-card {
    max-width: 680px;
    margin: 0 auto;
  }

  .featured-client-grid {
    grid-template-columns: 1fr;
  }

  .client-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .client-process-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .client-values-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 992px) {
  .gallery-heading {
    flex-direction: column;
    align-items: flex-start;
  }

  .gallery-heading p {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .clients-page-hero {
    min-height: 270px;
  }

  .clients-intro-section,
  .featured-clients-section,
  .client-gallery-section,
  .client-process-section {
    padding: 60px 0;
  }

  .clients-intro-content {
    text-align: center;
  }

  .clients-intro-list div {
    justify-content: center;
  }

  .clients-intro-card {
    text-align: center;
    padding: 34px 24px;
  }

  .clients-intro-icon {
    margin-left: auto;
    margin-right: auto;
  }

  .featured-client-card {
    grid-template-columns: 1fr;
  }

  .featured-client-img {
    min-height: 300px;
  }

  .client-gallery-grid,
  .client-process-grid,
  .client-values-grid {
    grid-template-columns: 1fr;
  }

  .client-card-img {
    height: 270px;
  }
}

@media (max-width: 480px) {
  .clients-hero-content h1 {
    font-size: 38px;
  }

  .clients-intro-content h2,
  .gallery-heading h2 {
    font-size: 28px;
  }

  .clients-intro-content p {
    font-size: 14.5px;
  }

  .clients-intro-list div {
    align-items: flex-start;
    justify-content: flex-start;
    text-align: left;
  }

  .featured-client-content {
    padding: 28px 22px;
  }

  .featured-client-content h3 {
    font-size: 23px;
  }

  .process-card {
    min-height: auto;
    padding: 28px 22px;
  }
}
