.testimonial-container {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}
.testimonial-card {
    background: white;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out;
}
.testimonial-card:hover {
    transform: scale(1.03);
}
.testimonial-img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid #007bff;
}
.testimonial-text {
    font-size: 1rem;
    color: #333;
    text-align: justify;
}
.testimonial-author {
    font-weight: bold;
    color: #007bff;
}
.testimonial-position {
    font-size: 0.9rem;
    color: #666;
}
.form-container {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.depoimentos-area {
    overflow: hidden;
    position: relative;
}
.depoimentos-area {
    width: 100%;
    position: relative;
    overflow: hidden;
    padding: 50px 0;
  }
  
  /* Container do Carrossel */
  .depoimentos-container {
    display: flex;
    transition: transform 0.5s ease-in-out;
    width: 100%;
    gap: 10px; /* Garante espaçamento entre os depoimentos */
  
  }
  
  /* Card de cada depoimento */
  .depoimento {
    flex: 0 0 calc(33.33% - 20px); /* Desktop: 3 depoimentos por vez, mantendo o espaçamento */
    max-width: calc(33.33% - 20px);
    background-color: #fff;
    border: 2px solid #ddd;
    border-radius: 12px;
    padding: 60px 20px 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    position: relative;
  }
  
  /* Fundo animado ao passar o mouse */
  .depoimento::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #8dbf41;
    clip-path: inset(100% 0 0 0);
    transition: clip-path 0.5s ease;
    z-index: 0;
    border-radius: inherit;
  }
  
  .depoimento:hover::before {
    clip-path: inset(0 0 0 0);
  }
  
  .depoimento * {
    position: relative;
    z-index: 1;
  }
  
  .depoimento:hover h5,
  .depoimento:hover p {
    color: #fff !important;
  }
  
  /* ------------------ */
  /* FOTO DO DEPOENTE */
  /* ------------------ */
  .foto-wrapper {
    position: absolute;
    top: -50px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 4px solid #fff;
    background-color: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    z-index: 5;
  }
  
  .foto-depoente {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
  }
  
  /* ------------------ */
  /* CONTROLES DO CARROSSEL */
  /* ------------------ */
  .depoimentos-controles {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
    gap: 20px;
  }
  
  .depoimentos-controles button {
    background-color: #8dbf41;
    color: #fff;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    border-radius: 50%;
    font-size: 18px;
  }
  
  .paginacao {
    display: flex;
    gap: 8px;
  }
  
  .paginacao span {
    width: 12px;
    height: 12px;
    background-color: #ddd;
    border-radius: 50%;
    cursor: pointer;
  }
  
  .paginacao span.ativo {
    background-color: #8dbf41;
  }

  
/* ------------------ */
/* RESPONSIVIDADE     */
/* ------------------ */

/* Tablet: 2 depoimentos por vez */
/* Tablet: 2 depoimentos por vez */
@media (max-width: 1024px) {
    .depoimento {
      flex: 0 0 calc(50% - 20px);
      max-width: calc(50% - 20px);
    }
  }
  
  /* Mobile: Apenas 1 depoimento por vez */
  @media (max-width: 768px) {
    .depoimento {
      flex: 0 0 100%;
      max-width: 100%;
    }
  }
  