.branches {
  padding: 80px 0;
  background: #F1DEC0;
}

.branches .section-title {
  color: #7C0C0C;
  margin-bottom: 30px;
}

.branches-slider-container {
  position: relative;
  overflow: hidden;
  width: 100%;
}

.branches-slider {
  display: flex;
  gap: 28px;
  animation: slideBranches 10s linear infinite;
  width: max-content;
}

.branch-card {
  position: relative;
  width: 290px;
  height: 450px;
  border-radius: 66px;
  overflow: hidden;
  flex-shrink: 0;
}

.branch-card img {
  width: 100%;
  height: 87.5%;
  object-fit: cover;
  border-radius: 66px;
}

.branch-card h3 {
  position: absolute;
  bottom: -35px;
  left: 50%;
  transform: translateX(-50%);
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 30px;
  line-height: 33px;
  color: #000000;
  text-align: center;
  background: rgba(241, 222, 192, 0.9);
  padding: 20px 40px;
  border-radius: 0 0 66px 66px;
  width: 100%;
  margin: 15px 0;
}

@keyframes slideBranches {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-100%);
  }
}

.branches-slider:hover {
  animation-play-state: paused;
}

/* Responsive */
@media (max-width: 1200px) {
  .branch-card {
    width: 300px;
    height: 650px;
  }

  .branch-card img {
    height: 520px;
  }

  .branch-card h3 {
    font-size: 32px;
    line-height: 48px;
    padding: 15px 30px;
  }
}

@media (max-width: 768px) {
  .branches {
    padding: 40px 20px;
  }

  .branches .section-title {
    font-size: 32px;
    line-height: 48px;
  }

  .branch-card {
    width: 100%;
    height: 600px;
    border-radius: 30px;
	  padding: 20px 0px;
	  margin-bottom: 50px;
  }

  .branch-card img {
    height: 500px;
    border-radius: 30px;
  }

  .branch-card h3 {
    font-size: 35px;
    line-height: 0px;
    padding: 0 20px 50px 20px;
    border-radius: 0 0 0px 30px;
    text-align: left;
    color: #7C0C0C;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
  }

}