
.marca { 
  padding: 20px 0;
  overflow: hidden;
  display: flex;
  margin-top: 30px;
  animation-duration: 3s !important;
}

.marca {
  > * {
  flex: 0 0 100%;
  }
}

@keyframes scrolling {
  0% {
  transform: translateX(0);
  }
  100% {
  transform: translateX(-100%);
  }
}

.marca {
  &:hover .group {
  animation-play-state: paused;
  }
}

.card-parceiros {
  width: 100%;
  color: white;
  border-radius: 24px;
  padding: 20px;
  font-size: xx-large;
  justify-content: center;
  align-items: center;
  min-height: 200px;
}

.card-parceiros  img{
  object-fit: contain;
  height: 200px;

}

.card-parceiros img:hover{ 
  transform: scale(1.05);
}
/* Group the cards for better structure. */
.group {
    display: flex;
    gap: 20px;
    /* Add padding to the right to create a gap between the last and first card. */
    padding-right: 20px;
}

.group {
    /* ... */
    will-change: transform; /* We should be nice to the browser - let it know what we're going to animate. */
    animation: scrolling 20s linear infinite;
}



.container {
  z-index: 2;
}

.img-3d {
  width: 600px;
  animation: jump 1.5s infinite ease-in-out;
}



.img-float {
  position: absolute;
  bottom: 40px;
  left: 0;
  transform: translateY(-50%);
  border-radius: 50%;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  text-decoration: none;
  font-size: 24px;
  padding: 10px;
}

@keyframes jump {

  0%,
  100% {
    transform: translateY(0);
    /* Posição inicial */
  }

  50% {
    transform: translateY(-20px);
    /* Sobe 20px */
  }
}




.rating {
  margin-top: 5px;
  display: flex;
  justify-content: center;
  font-size: 24px;
}

.foto {
  display: flex;
  align-items: center;
  margin-top: 15px;
}

.foto img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  margin-right: 10px;
}

/* Estilo para o formulário */
.form-floating label {
  color: #6c757d;
}

.form-control {
  border-radius: 10px;
  border: 1px solid #ced4da;
}

.btn-primary {
  border: none;
  border-radius: 10px;
  padding: 10px 20px;
}

/* Fundo neutro e elegante */
.counter {
  text-align: center;
  color: white;
}

/* Container com espaçamento */
.counter__content {
  max-width: 1200px;
  margin: auto;
}

/* Estilização dos cards */
.counter__item {
  background-image: linear-gradient(to top, #165167 0%, #165167 1%, #0e3746 100%);
  padding: 15px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  min-height: 240px;
}

/* Efeito ao passar o mouse */
.counter__item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* Número grande e profissional */
.counter__item h2 {
  font-size: 32px;
  font-weight: 700;
  color: #fff;
  /* Azul corporativo */
  margin-bottom: 5px;
}

/* Texto abaixo do número */
.counter__item p {
  font-size: 18px;
  color: #f3f3f3;
  font-weight: 500;
  text-align: center;
}

/* Animação suave nos números */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.counter__item {
  animation: fadeInUp 2s ease-in-out;
}

/* carousel */
.carousel {
  height: 100vh;
  margin-top: 20px;
  /* width: 100vw; */
  overflow: hidden;
  position: relative;
}

.carousel .list .item {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0 0 0 0;
  background-color: rgb(0, 0, 0);
  /* Preto com 50% de transparência */
  z-index: 1;
}

.carousel .list .item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.carousel .list .item .content {
  position: absolute;
  top: 20%;
  width: 1140px;
  max-width: 80%;
  left: 50%;
  transform: translateX(-50%);
  padding-right: 30%;
  box-sizing: border-box;
  color: #fff;
  text-shadow: 0 5px 10px #0004;
  z-index: 1;
}

.carousel .list .item .author {
  font-weight: bold;
  letter-spacing: 10px;
}

.carousel .list .item .title,
.carousel .list .item .topic {
  font-size: 5em;
  font-weight: bold;
  line-height: 1.3em;
}

.carousel .list .item .topic {
  color: #fff;
}

.carousel .list .item .buttons {
  display: grid;
  grid-template-columns: repeat(2, 130px);
  grid-template-rows: 40px;
  gap: 5px;
  margin-top: 20px;
}

.carousel .list .item .buttons button {
  border: none;
  background-color: #eee;
  letter-spacing: 3px;
  font-family: "Sora", Poppins;
  font-weight: 500;
}

.carousel .list .item .buttons button:nth-child(2) {
  background-color: transparent;
  border: 1px solid #fff;
  color: #eee;
}

/* animation */
.carousel .list .item:nth-child(1) {
  z-index: 1;
}

/* animation text in first item */

.carousel .list .item .content .author,
.carousel .list .item .content .title,
.carousel .list .item .content .topic,
.carousel .list .item .content .des,
.carousel .list .item .content .buttons {
  transform: translateY(50px);
  filter: blur(20px);
  opacity: 0;
  animation: showContent .4s 1s linear 1 forwards;
}

@keyframes zoomIn2 {
  0% {
      transform: scale(0);
      opacity: 0;
  }
  50% {
      transform: scale(1);
      opacity: 0.75;
  }
  100% {
      transform: scale(1.1);
      opacity: 1;
  }
}

.sub-text {
  animation-duration: 7s;
  animation-delay: 1s;
}

/* Estilo padrão para as miniaturas */
.carousel .thumbnail .item {
  transition: transform 0.3s ease, opacity 0.3s ease; /* Transição suave */  
}

/* Efeito de scale quando a miniatura está ativa */
.carousel .thumbnail .item.active {
  animation: zoomIn2 1.5s;
  transform: scale(1.1)
}

@keyframes showContent {
  to {
    transform: translateY(0px);
    filter: blur(0px);
    opacity: 1;
  }
}

.carousel .list .item:nth-child(1) .content .title {
  animation-delay: 1.2s !important;
}

.carousel .list .item:nth-child(1) .content .topic {
  animation-delay: 1.4s !important;
}

.carousel .list .item:nth-child(1) .content .des {
  animation-delay: 1.6s !important;
}

.carousel .list .item:nth-child(1) .content .buttons {
  animation-delay: 1.8s !important;
}

.des{
  text-align: justify;
}

/* create animation when next click */
.carousel.next .list .item:nth-child(1) img {
  width: 150px;
  height: 220px;
  position: absolute;
  bottom: 50px;
  left: 50%;
  border-radius: 30px;
  animation: showImage .5s linear 1 forwards;
}

@keyframes showImage {
  to {
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 0;
  }
}

.carousel.next .thumbnail .item:nth-last-child(1) {
  overflow: hidden;
  animation: showThumbnail .5s linear 1 forwards;
}

.carousel.prev .list .item img {
  z-index: 100;
}

@keyframes showThumbnail {
  from {
    width: 0;
    opacity: 0;
  }
}

.carousel.next .thumbnail {
  animation: effectNext .5s linear 1 forwards;
}

@keyframes effectNext {
  from {
    transform: translateX(150px);
  }
}

.carousel .time {
  position: absolute;
  z-index: 1000;
  width: 0%;
  height: 3px;
  background-color: #072ca8;
  left: 0;
  top: 0;
}

.carousel.next .time,
.carousel.prev .time {
  animation: runningTime 3s linear 1 forwards;
}

@keyframes runningTime {
  from {
    width: 100%
  }

  to {
    width: 0
  }
}


.carousel.prev .list .item:nth-child(2) {
  z-index: 2;
}

.carousel.prev .list .item:nth-child(2) img {
  animation: outFrame 0.5s linear 1 forwards;
  position: absolute;
  bottom: 0;
  left: 0;
}

@keyframes outFrame {
  to {
    width: 150px;
    height: 220px;
    bottom: 50px;
    left: 50%;
    border-radius: 20px;
  }
}

.carousel.prev .thumbnail .item:nth-child(1) {
  overflow: hidden;
  opacity: 0;
  animation: showThumbnail .5s linear 1 forwards;
}

.carousel.next .arrows button,
.carousel.prev .arrows button {
  pointer-events: none;
}

.carousel.prev .list .item:nth-child(2) .content .author,
.carousel.prev .list .item:nth-child(2) .content .title,
.carousel.prev .list .item:nth-child(2) .content .topic,
.carousel.prev .list .item:nth-child(2) .content .des,
.carousel.prev .list .item:nth-child(2) .content .buttons {
  animation: contentOut 1.5s linear 1 forwards !important;
}
