/*--------------------------------------------------------------
  clients.css
  Dedicated stylesheet for the Clientele page (clients.html)
  VD Media Moguls

  Design concept: a "client wall" of engraved medallions.
  Each brand gets a consistent monogram seal in the site's
  signature red-to-charcoal gradient rather than fetched
  third-party logos (those APIs are unreliable / deprecated
  and produce inconsistent, broken-looking results).
----------------------------------------------------------------*/

/* Page intro / breadcrumb subtitle strip */
.clients-page-intro {
  padding: 55px 0 15px;
  text-align: center;
}
.clients-page-intro p {
  max-width: 720px;
  margin: 0 auto;
  color: #5c5c5c;
  font-size: 16px;
  line-height: 28px;
}
.clients-page-intro .clients-count {
  display: inline-block;
  margin-top: 14px;
  padding: 7px 22px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--tp-common-white);
  background: linear-gradient(135deg, #dd0733 0%, #16171a 100%);
}

/* Section wrapper */
.clients-grid-section {
  padding: 15px 0 90px;
}

/* Grid of client cards - equal sized boxes */
.clients-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 22px;
}

@media (max-width: 1199px) {
  .clients-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 991px) {
  .clients-grid { grid-template-columns: repeat(3, 1fr); gap: 18px; }
}
@media (max-width: 575px) {
  .clients-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
}

/* Individual client card */
.client-card {
  background-color: var(--tp-common-white);
  border: 1px solid #eee;
  border-radius: 14px;
  box-shadow: 0 4px 18px rgba(18, 14, 14, 0.05);
  padding: 26px 16px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.client-card:hover {
  transform: translateY(-6px);
  border-color: transparent;
  box-shadow: 0 16px 34px rgba(18, 14, 14, 0.14);
}

/* The medallion / monogram seal - fixed, equal size for every brand */
.client-card__seal {
  position: relative;
  width: 76px;
  height: 76px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  box-shadow: 0 6px 16px rgba(18, 14, 14, 0.18);
  transition: transform 0.35s ease;
}

/* Engraved inner ring, like a medallion edge */
.client-card__seal::before {
  content: "";
  position: absolute;
  inset: 6px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.35);
  pointer-events: none;
}

.client-card__seal span {
  position: relative;
  z-index: 1;
  color: var(--tp-common-white);
  font-family: var(--tp-ff-heading);
  font-weight: 800;
  font-size: 22px;
  letter-spacing: 0.02em;
  line-height: 1;
}

.client-card:hover .client-card__seal {
  transform: scale(1.08) rotate(-2deg);
}

/* Brand name label under each seal */
.client-card__name {
  margin: 0;
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.01em;
  color: #333;
  transition: color 0.3s ease;
}

.client-card:hover .client-card__name {
  color: var(--tp-theme-1);
}

@media (max-width: 767px) {
  .client-card {
    padding: 20px 10px 16px;
    border-radius: 12px;
  }
  .client-card__seal {
    width: 60px;
    height: 60px;
    margin-bottom: 12px;
  }
  .client-card__seal span {
    font-size: 18px;
  }
  .client-card__name {
    font-size: 12px;
  }
}