/**
 * Our Esteemed Clients Page + Homepage Static Logo Grid
 * Sales Fundas Theme by Infineural Technologies — Neural Dark Update
 */

/* =========================================================
   HOMEPAGE — STATIC LOGO GRID
   ========================================================= */
.clients-static-section {
  background: var(--navy);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
  background-image: radial-gradient(circle at 10% 20%, rgba(26,68,128,.4) 0%, transparent 50%);
}

.clients-header {
  text-align: center;
  margin-bottom: 64px;
}

.clients-header .eyebrow {
  color: var(--gold);
  display: block;
  margin-bottom: 12px;
}

.clients-header .section-title {
  color: var(--white);
  margin-bottom: 20px;
}

.clients-header .section-intro {
  color: rgba(255,255,255,0.7);
  max-width: 700px;
}

.clients-static-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, 300px);
  gap: 24px;
  justify-content: center;
  max-width: 1300px; /* Slightly wider for 6 logos */
  margin: 0 auto;
}

.client-logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--r-md);
  padding: 0;
  transition: transform var(--t-fast), background var(--t-fast), border-color var(--t-fast), box-shadow var(--t-fast);
  width: 300px;
  height: 150px;
  overflow: hidden;
}

.client-logo-item:hover {
  /* Hover effects removed as requested */
}

.client-logo-item img.h-logo {
  width: 300px;
  height: 150px;
  object-fit: contain;
  filter: none;
  opacity: 1;
  display: block;
  border-radius: var(--r-md);
}

.client-logo-item:hover img.h-logo {
  /* Hover filter effects removed */
}

/* Fallback for homepage grid */
.client-logo-item--placeholder {
  flex-direction: column;
  gap: 8px;
}
.client-logo-item--placeholder .logo-abbr {
  font-family: var(--fd);
  font-size: 28px;
  font-weight: 700;
  color: var(--gold);
}
.client-logo-item--placeholder .logo-name {
  font-size: 11px;
  color: rgba(255,255,255,.4);
  text-transform: uppercase;
  letter-spacing: .1em;
}

/* Section Button Fix */
.clients-static-section .btn {
  background: var(--gold);
  color: var(--navy);
  border: none;
  font-weight: 700;
  transition: transform var(--t-fast), background var(--t-fast), box-shadow var(--t-fast);
}

.clients-static-section .btn:hover {
  background: var(--gold-lt);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(200,146,42,0.3);
  color: var(--navy);
}


/* =========================================================
   OUR ESTEEMED CLIENTS PAGE — DARK THEME CONSISTENCY
   ========================================================= */
.ec-page {
  background: var(--navy);
  color: var(--white);
}

.ec-hero {
  background: var(--navy);
  background-image: radial-gradient(circle, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 40px 40px;
  padding: 180px 0 100px;
  position: relative;
  overflow: hidden;
}

.ec-hero::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--gold);
}

.ec-hero-inner {
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 2;
}

.ec-hero-sub {
  color: rgba(255,255,255,.65);
}

/* Stats Row — Glassmorphism Flex Row */
.ec-stats-row {
  display: flex;
  align-items: stretch;
  gap: 0;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.08);
  backdrop-filter: blur(12px);
  border-radius: var(--r-lg);
  margin-top: 64px;
  padding: 0;
  overflow: hidden;
}

.ec-stat {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 32px 24px;
  text-align: center;
}

.ec-stat-num {
  font-family: var(--fd);
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 700;
  color: var(--white);
  display: block;
  line-height: 1;
  margin-bottom: 8px;
}

.ec-stat-num .gold { color: var(--gold); }

.ec-stat-lbl {
  font-size: 13px;
  color: rgba(255,255,255,.55);
  text-transform: uppercase;
  letter-spacing: .08em;
  font-weight: 500;
}

.ec-stat-divider {
  width: 1px;
  background: rgba(255,255,255,.1);
  flex-shrink: 0;
  align-self: stretch;
}

/* Logo Wall Section */
.ec-logo-wall {
  background: var(--navy);
  background-image: radial-gradient(ellipse at 50% 0%, rgba(26,68,128,.3) 0%, transparent 70%);
  padding: 100px 0;
}

/* Group Header */
.ec-group {
  margin-bottom: 64px;
}

.ec-group-title {
  font-family: var(--fd);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--gold);
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255,255,255,.1);
  margin-bottom: 32px;
}

/* Logo Grid */
.ec-logo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, 300px);
  gap: 24px;
  justify-content: center;
}

/* Logo Card Shell */
.ec-logo-card {
  position: relative;
}

/* Logo link / card */
.ec-logo-link {
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.09);
  border-radius: var(--r-md);
  width: 300px;
  height: 150px;
  padding: 0;
  overflow: hidden;
  text-decoration: none;
  transition: background var(--t-fast), border-color var(--t-fast), box-shadow var(--t-fast), transform var(--t-fast);
}

a.ec-logo-link:hover,
div.ec-logo-link:hover {
  /* Hover effects removed as requested */
}

/* Logo images */
.ec-logo-img {
  width: 300px;
  height: 150px;
  object-fit: contain;
  filter: none;
  opacity: 1;
  display: block;
  border-radius: var(--r-md);
}

a.ec-logo-link:hover .ec-logo-img,
div.ec-logo-link:hover .ec-logo-img {
  /* Hover filter effects removed */
}

/* Fallback initials badge */
.ec-logo-text-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  background: var(--gold);
  color: var(--navy);
  font-family: var(--fd);
  font-size: 18px;
  font-weight: 700;
  border-radius: 12px;
  flex-shrink: 0;
}

.ec-logo-fallback-name {
  display: none; /* Hidden — initials suffice for the card */
}

/* Industry tag below card */
.ec-logo-tag {
  display: block;
  margin-top: 10px;
  text-align: center;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.35);
}

/* TRUST STRIP */
.ec-trust-strip {
  background: var(--navy);
  padding: 120px 0;
  position: relative;
  overflow: hidden;
}

.ec-trust-strip::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 400px;
  background: radial-gradient(circle, rgba(200, 146, 42, 0.08) 0%, transparent 70%);
  z-index: 0;
  pointer-events: none;
}

.ec-trust-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
  flex-wrap: wrap;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 32px;
  padding: 64px 80px;
  backdrop-filter: blur(12px);
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.2);
}

.ec-trust-copy {
  flex: 1;
  min-width: 280px;
}

.ec-trust-copy h2 {
  font-family: var(--fd);
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
}

.ec-trust-copy p {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.6;
  max-width: 600px;
}

.ec-trust-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  flex-shrink: 0;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1100px) {
  .ec-logo-grid { grid-template-columns: repeat(auto-fit, 300px); }
}

@media (max-width: 900px) {
  .clients-static-grid { grid-template-columns: repeat(2, 1fr); }
  .clients-static-grid .client-logo-item:last-child { grid-column: span 2; }
  .ec-logo-grid { grid-template-columns: repeat(auto-fit, 300px); }
  .ec-stats-row { flex-wrap: wrap; }
  .ec-stat { flex: 0 0 50%; }
  .ec-stat-divider { display: none; }
  .ec-trust-inner { 
    flex-direction: column; 
    text-align: center; 
    padding: 48px 32px;
    gap: 32px;
  }
  .ec-trust-ctas { justify-content: center; }
}

@media (max-width: 600px) {
  .clients-static-grid { grid-template-columns: 1fr; }
  .clients-static-grid .client-logo-item:last-child { grid-column: auto; }
  .ec-logo-grid { grid-template-columns: repeat(auto-fit, 140px); gap: 12px; }
  .ec-logo-link, .ec-logo-img { width: 140px; height: 80px; }
  .ec-stat { flex: 0 0 100%; }
}
