/* Client Names Styling for Testimonials */
.client-name {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    min-height: 200px;
    background: linear-gradient(135deg, #0066cc 0%, #004499 100%);
    color: white;
    font-size: 24px;
    font-weight: bold;
    text-align: center;
    border-radius: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(0, 102, 204, 0.3);
    transition: all 0.3s ease;
}

.client-name:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 102, 204, 0.4);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .client-name {
        min-height: 150px;
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .client-name {
        min-height: 120px;
        font-size: 18px;
    }
}

/* ===== Unified grids for Reels & Posts ===== */
.reels-grid, .social-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 1024px) {
  .reels-grid, .social-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .reels-grid, .social-grid { grid-template-columns: 1fr; }
}

/* Tiles */
.reel-item, .social-item {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: #0b0b0b;
}

/* Media sizing */
.reel-media, .post-media {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

/* Aspect ratios */
.reel-item .reel-media { aspect-ratio: 9 / 16; }      /* Instagram Reels */
.social-item .post-media { aspect-ratio: 4 / 5; }      /* Modern Instagram post */
.social-item.square .post-media { aspect-ratio: 1 / 1; } /* Optional square */

/* Fix any legacy rows that forced single-column items */
.reels-section .row > *, .social-section .row > * {
  max-width: none !important;
  flex: none !important;
}

