
@keyframes slide-up {
    from {
      transform: translateY(100%); /* Começa de baixo */
      opacity: 0;
      visibility: hidden;
    }
    to {
      transform: translateY(0%); /* Termina na posição original */
      opacity: 1;
      visibility: visible;
    }
  }

  /* Inicialmente, esconda os itens */
  .client-item {
    opacity: 0;
    visibility: hidden;
    animation: slide-up 1000ms ease-out;
    animation-fill-mode: forwards;
    animation-iteration-count: 1;
  }

  /* Atrasos para cada item aparecer em sequência */
  .client-item:nth-of-type(1) {
    animation-delay: 0s;
  }

  .client-item:nth-of-type(2) {
    animation-delay: 0.2s;
  }

  .client-item:nth-of-type(3) {
    animation-delay: 0.4s;
  }

  .client-item:nth-of-type(4) {
    animation-delay: 0.6s;
  }

  .client-item:nth-of-type(5) {
    animation-delay: 0.8s;
  }

  .client-item:nth-of-type(6) {
    animation-delay: 1s;
  }

  .client-item:nth-of-type(7) {
    animation-delay: 1.2s;
  }

  .client-item:nth-of-type(8) {
    animation-delay: 1.4s;
  }

  .client-item:nth-of-type(9) {
    animation-delay: 1.6s;
  }

  .client-item:nth-of-type(10) {
    animation-delay: 1.8s;
  }
  .client-item:nth-of-type(11) {
    animation-delay: 2s;
  }
  .client-item:nth-of-type(12) {
    animation-delay: 2.2s;
  }
  .client-item:nth-of-type(13) {
    animation-delay: 2.4s;
  }
  .client-item:nth-of-type(14) {
    animation-delay: 2.6s;
  }
  .client-item:nth-of-type(15) {
    animation-delay: 2.8s;
  }
  .client-item:nth-of-type(16) {
    animation-delay: 3s;
  }
  .client-item:nth-of-type(17) {
    animation-delay: 3.2s;
  }

  /* Estilos para a seção de clientes */
  .content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 4rem 2rem;
    position: relative;
  }

  .content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(180deg, rgba(0,0,0,0.03) 0%, rgba(0,0,0,0) 100%);
    z-index: -1;
  }

  .fullCol {
    background: #ffffff;
    border-radius: 30px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    padding: 3rem;
    position: relative;
    overflow: hidden;
  }

  .fullCol::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, #0056b3, #00b3ff);
  }

  .fullCol h2 {
    text-align: center;
    color: #1a1a1a;
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 3rem;
    position: relative;
    padding-bottom: 1.5rem;
  }

  .fullCol h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #0056b3, #00b3ff);
    border-radius: 2px;
  }

    /* Estilos para a seção de clientes */
   /* Enhanced Responsiveness for Clients Section */

/* Base styling for clients grid */
.clients-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 2rem;
  padding: 2rem;
  place-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

/* Client item styling */
.client-item {
  background: #ffffff;
  border-radius: 15px;
  padding: 1.5rem;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  aspect-ratio: 3/2;
  overflow: hidden;
  border: 1px solid #f0f0f0;
}

.client-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
}

.client-item img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.client-item:hover img {
  transform: scale(1.05);
}

/* Improved Responsive Breakpoints */
@media (max-width: 1200px) {
  .clients-grid {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 1.75rem;
  }
}

@media (max-width: 992px) {
  .clients-grid {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 1.5rem;
    padding: 1.5rem;
  }
  
  .client-item {
    padding: 1.25rem;
  }
  
  .fullCol h2 {
    font-size: 2.4rem;
  }
}

@media (max-width: 768px) {
  .content {
    padding: 2rem 1rem;
  }

  .fullCol {
    padding: 2rem 1rem;
    border-radius: 20px;
  }

  .fullCol h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
  }

  .clients-grid {
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 1.25rem;
    padding: 1rem;
  }

  .client-item {
    padding: 1rem;
    border-radius: 12px;
  }
}

@media (max-width: 576px) {
  .clients-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  
  .client-item {
    padding: 0.75rem;
  }
  
  .fullCol h2 {
    font-size: 1.8rem;
    padding-bottom: 1rem;
  }
  
  .fullCol h2::after {
    width: 60px;
    height: 3px;
  }
}

@media (max-width: 375px) {
  .clients-grid {
    grid-template-columns: repeat(1, 1fr);
    gap: 1rem;
  }
  
  .client-item {
    max-width: 200px;
    margin: 0 auto;
  }
}

/* Optimized animation for client logos */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.client-item {
  animation: fadeInUp 0.5s ease forwards;
  opacity: 0;
}

/* Staggered animation delay for clients */
.client-item:nth-child(1) { animation-delay: 0.1s; }
.client-item:nth-child(2) { animation-delay: 0.2s; }
.client-item:nth-child(3) { animation-delay: 0.3s; }
.client-item:nth-child(4) { animation-delay: 0.4s; }
.client-item:nth-child(5) { animation-delay: 0.5s; }
.client-item:nth-child(6) { animation-delay: 0.6s; }
.client-item:nth-child(7) { animation-delay: 0.7s; }
.client-item:nth-child(8) { animation-delay: 0.8s; }
.client-item:nth-child(9) { animation-delay: 0.9s; }
.client-item:nth-child(10) { animation-delay: 1.0s; }
.client-item:nth-child(11) { animation-delay: 1.1s; }
.client-item:nth-child(12) { animation-delay: 1.2s; }
.client-item:nth-child(13) { animation-delay: 1.3s; }
.client-item:nth-child(14) { animation-delay: 1.4s; }
.client-item:nth-child(15) { animation-delay: 1.5s; }
.client-item:nth-child(16) { animation-delay: 1.6s; }
.client-item:nth-child(17) { animation-delay: 1.7s; }

/* Improved loading appearance */
.client-item[data-status="loaded"] img {
  opacity: 1;
}

.client-item img {
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

  .client-item:hover img {
    transform: scale(1.05);
  }

  /* Responsividade */
  @media (max-width: 1200px) {
    .clients-grid {
      grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
      gap: 1.5rem;
    }
  }

  @media (max-width: 768px) {
    .content {
      padding: 2rem 1rem;
    }

    .fullCol {
      padding: 2rem 1rem;
    }

    .fullCol h2 {
      font-size: 2.2rem;
      margin-bottom: 2rem;
    }

    .clients-grid {
      grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
      gap: 1rem;
      padding: 1rem;
    }

    .client-item {
      padding: 1rem;
    }
  }

  @media (max-width: 480px) {
    .clients-grid {
      grid-template-columns: repeat(2, 1fr);
    }
  }

  /* Animação de entrada mais suave e profissional */
  @keyframes fadeInUp {
    from {
      opacity: 0;
      transform: translateY(30px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .client-item {
    opacity: 1;
    visibility: visible;
    animation: none;
  }

  .client-item:nth-child(n) {
    animation-delay: calc(0.1s * var(--i, 1));
  }

  /* Adiciona um efeito de pulso suave nas imagens */
  @keyframes subtle-pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.02); }
    100% { transform: scale(1); }
  }

  .client-item:hover img {
    animation: subtle-pulse 2s infinite ease-in-out;
  }

  /* Adicionando debug visual temporário */
  .client-item {
    border: 1px solid #eee;
  }
/* Mobile-first approach for clients section */
.content {
  max-width: 1400px;
  margin: 0 auto;
  padding: 2rem 1rem;
  position: relative;
}

.fullCol {
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  padding: 2rem 1rem;
  position: relative;
  overflow: hidden;
}

.fullCol::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, #0056b3, #00b3ff);
}

.fullCol h2 {
  text-align: center;
  color: #1a1a1a;
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 2rem;
  position: relative;
  padding-bottom: 1rem;
}

.fullCol h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, #0056b3, #00b3ff);
  border-radius: 2px;
}

/* Mobile-first grid with 2 columns by default */
.clients-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  padding: 1rem;
  place-items: center;
  margin: 0 auto;
}

.client-item {
  background: #ffffff;
  border-radius: 10px;
  padding: 0.75rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  aspect-ratio: 3/2;
  overflow: hidden;
  border: 1px solid #f0f0f0;
}

.client-item img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.client-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.client-item:hover img {
  transform: scale(1.05);
}

/* Tablet styles (576px and up) */
@media (min-width: 576px) {
  .clients-grid {
      grid-template-columns: repeat(3, 1fr);
      gap: 1.25rem;
  }
  
  .fullCol {
      padding: 2.5rem 1.5rem;
      border-radius: 24px;
  }
  
  .fullCol h2 {
      font-size: 2rem;
  }
  
  .client-item {
      padding: 1rem;
      border-radius: 12px;
  }
}

/* Medium devices (768px and up) */
@media (min-width: 768px) {
  .content {
      padding: 3rem 2rem;
  }
  
  .clients-grid {
      grid-template-columns: repeat(4, 1fr);
      gap: 1.5rem;
      padding: 1.5rem;
  }
  
  .fullCol h2 {
      font-size: 2.2rem;
      margin-bottom: 2.5rem;
  }
  
  .client-item {
      padding: 1.25rem;
  }
}

/* Large devices (992px and up) */
@media (min-width: 992px) {
  .clients-grid {
      grid-template-columns: repeat(5, 1fr);
      gap: 1.75rem;
  }
  
  .fullCol {
      padding: 3rem 2rem;
  }
  
  .fullCol h2 {
      font-size: 2.4rem;
  }
}

/* Extra large devices (1200px and up) */
@media (min-width: 1200px) {
  .clients-grid {
      grid-template-columns: repeat(6, 1fr);
      gap: 2rem;
      padding: 2rem;
  }
  
  .fullCol {
      padding: 3.5rem 3rem;
  }
  
  .fullCol h2 {
      font-size: 2.6rem;
      margin-bottom: 3rem;
  }
  
  .client-item {
      padding: 1.5rem;
      border-radius: 15px;
  }
}

/* Animation keyframes */
@keyframes fadeInUp {
  from {
      opacity: 0;
      transform: translateY(20px);
  }
  to {
      opacity: 1;
      transform: translateY(0);
  }
}

/* Apply animations using data-aos attributes */
[data-aos="fade-up"] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.aos-animate[data-aos="fade-up"] {
  opacity: 1;
  transform: translateY(0);
}

/* Add loading optimization */
.client-item img {
  opacity: 0;
  transition: opacity 0.3s ease;
}

.client-item img.loaded {
  opacity: 1;
}