/* Container */
.clients-wrapper {
    max-width: 1200px;
    margin: 80px auto 120px;
    padding: 0 16px;
    color: white;
  }
  
  .clients-header {
    text-align: center;
    margin-bottom: 24px;
  }
  
  .clients-header h2 {
    font-size: 2.2rem;
    margin: 0 0 8px;
  }
  
  .clients-header p {
    color: grey;
    margin: 0 auto 12px;
    max-width: 720px;
  }
  
  /* Grid */
  .client-grid {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 18px;
  }
  @media (min-width: 640px) {
    .client-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  }
  @media (min-width: 1024px) {
    .client-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  }
  
  /* Card */
  .client-card {
    position: relative;
    border-radius: 18px;
    background: #0f172a;
    color: #e5e7eb;
    overflow: hidden;
    box-shadow: 0 1px 2px rgba(0,0,0,.08), 0 10px 20px rgba(0,0,0,.18);
    transition: transform .18s ease, box-shadow .18s ease;
    border: 1px solid rgba(255,255,255,0.06);
  }
  .client-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 14px rgba(0,0,0,.18), 0 18px 40px rgba(0,0,0,.25);
  }
  
  /* Fancy hover ring */
  .client-card::before {
    content: "";
    position: absolute;
    inset: -2px;
    border-radius: 20px;
    background: conic-gradient(from 180deg at 50% 50%, #fde047, #38bdf8, #a78bfa, #f472b6, #fde047);
    filter: blur(16px);
    opacity: 0;
    transition: opacity .25s ease;
    z-index: 0;
  }
  .client-card:hover::before { opacity: .35; }
  
  /* Card content */
  .card-inner {
    position: relative;
    z-index: 1;
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 16px;
    gap: 12px;
    box-sizing: border-box;
  }
  
  /* Brand */
  .brand {
    display: grid;
    grid-template-columns: 52px 1fr;
    align-items: center;
    gap: 12px;
  }
  .brand-logo {
    width: 52px;
    height: 52px;
    object-fit: contain;
    border-radius: 10px;
    background: rgba(255,255,255,0.06);
    padding: 6px;
  }
  .brand-name {
    font-size: 1.05rem;
    margin: 0;
    line-height: 1.1;
  }
  .role {
    grid-column: 1 / -1;
    margin: 4px 0 0;
    font-size: .9rem;
    color: #cbd5e1;
  }
  
  /* Photos */
  .photos {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .logo-slot,
  .selfie-slot {
    border-radius: 12px;
    overflow: hidden;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.07);
    aspect-ratio: 1 / 1;
    display: grid;
    place-items: center;
  }
  .logo-slot img,
  .selfie-slot img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    font-size: 0;
  }
  
  /* CTAs */
  .actions {
    margin-top: auto;
    display: flex;
    gap: 10px;
    align-items: center;
  }
  .btn {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 16px;
    border-radius: 14px;
    font-weight: 750;
    font-size: 0.95rem;
    letter-spacing: .3px;
    text-decoration: none;
    box-shadow: 0 3px 6px rgba(0,0,0,.28);
    transition: transform .2s ease, box-shadow .2s ease, filter .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
  }
  
  /* Primary = Case Study */
  .btn-primary {
    background: linear-gradient(135deg, #facc15, #f59e0b);
    color: #111827;
    border: 1px solid rgba(17,24,39,.15);
  }
  .btn-primary:hover { transform: translateY(-2px); filter: brightness(1.05); }
  .btn-primary:active { transform: translateY(0); }
  
  /* Secondary = View Website */
  .btn-secondary {
    background: transparent;
    color: #e5e7eb;
    border: 1.5px solid rgba(250,204,21,.6);
  }
  .btn-secondary:hover {
    background: rgba(250,204,21,.12);
    border-color: #facc15;
  }
  .btn-secondary:active { transform: translateY(0); }
  
  /* Responsive: stack buttons on very small screens */
  @media (max-width: 420px) {
    .actions { flex-direction: column; }
    .btn { width: 100%; }
  }
  


  