.services {
  padding: 50px 20px;
  color: #333;
}

.services-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.services h2 {
  font-family: "Montserrat", sans-serif;
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.services p {
  font-family: "Roboto Slab", serif;
  font-size: 1.1rem;
  line-height: 1.6;
  max-width: 900px;
  margin: 0 auto 30px;
  padding: 0 15px;
}

.service-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
  margin-bottom: 30px;
}

.service-item {
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  padding: 20px;
  text-align: left;
}

.service-item h3 {
  font-size: 1.8rem;
  margin-bottom: 10px;
}

.service-item p {
  font-size: 1rem;
  color: #555;
}

.slideshow {
  margin-top: 6rem;
  text-align: center;
  padding: 2rem 0;
}

.slideshow h3 {
  margin-bottom: 2rem;
  color: var(--text-color);
  font-size: 2rem;
}

.slideshow-container {
  position: relative;
  max-width: 1000px;
  height: 600px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.slide {
  display: none;
  animation: fade 0.5s ease-in-out;
  height: 100%;
}

.slide.active {
  display: block;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
}

.slide .text {
  position: absolute;
  bottom: 0;
  width: 100%;
  text-align: center;
  padding: 20px;
  color: white;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0));
  font-size: 1.2rem;
  font-weight: 500;
  border-radius: 0 0 12px 12px;
}

/* Botões de navegação */
.prev,
.next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  padding: 20px;
  color: white;
  font-weight: bold;
  font-size: 24px;
  background: rgba(0, 0, 0, 0.3);
  border: none;
  border-radius: 50%;
  transition: 0.3s ease;
  z-index: 10;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.next {
  right: 20px;
}

.prev {
  left: 20px;
}

.prev:hover,
.next:hover {
  background: rgba(0, 0, 0, 0.8);
}

/* Indicadores */
.dots {
  text-align: center;
  padding: 20px 0;
  position: absolute;
  bottom: 20px;
  width: 100%;
  z-index: 10;
}

.dot {
  cursor: pointer;
  height: 12px;
  width: 12px;
  margin: 0 6px;
  background-color: rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  display: inline-block;
  transition: 0.3s ease;
}

.active,
.dot:hover {
  background-color: white;
}

/* Animação de fade */
@keyframes fade {
  from {
    opacity: 0.4;
  }
  to {
    opacity: 1;
  }
}

@media (max-width: 768px) {
  .services h2 {
    font-size: 2rem;
  }

  .service-item h3 {
    font-size: 1.5rem;
  }

  .service-item p {
    font-size: 1rem;
  }

  .slideshow-container {
    height: 400px;
  }

  .slide .text {
    font-size: 1rem;
    padding: 15px;
  }

  .prev,
  .next {
    padding: 15px;
    font-size: 20px;
    width: 40px;
    height: 40px;
  }
}

@media (max-width: 480px) {
  .slideshow-container {
    height: 300px;
  }

  .slide .text {
    font-size: 0.9rem;
    padding: 10px;
  }
}

.services-section {
  padding: 6rem 0;
  background-color: var(--bg-color);
  min-height: 100vh;
}

.services-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Cabeçalho da Seção */
.services-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-title {
  font-size: 2.5rem;
  color: #000;
  margin-bottom: 1rem;
  font-weight: 700;
}

.section-subtitle {
  font-size: 1.1rem;
  color: #666;
  max-width: 600px;
  margin: 0 auto;
}

/* Grid de Serviços */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-bottom: 4rem;
}

/* Cards de Serviço */
.service-card {
  background: #fff;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.service-icon {
  width: 60px;
  height: 60px;
  background: #000;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.service-icon .icon {
  width: 30px;
  height: 30px;
  color: #fff;
}

.service-card h3 {
  font-size: 1.5rem;
  color: #000;
  margin-bottom: 1rem;
}

.service-card p {
  color: #666;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.service-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #fcb900;
  text-decoration: none;
  font-weight: 600;
  transition: gap 0.3s ease;
}

.service-link:hover {
  gap: 1rem;
}

.arrow-icon {
  width: 18px;
  height: 18px;
}

/* CTA Section */
.services-cta {
  text-align: center;
  background: #000;
  color: #fff;
  padding: 3rem;
  border-radius: 10px;
  margin-top: 4rem;
}

.services-cta h3 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.services-cta p {
  margin-bottom: 2rem;
  color: #ccc;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #fcb900;
  color: #fff;
  padding: 1rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.cta-button:hover {
  background: #d88900;
}

.send-icon {
  width: 18px;
  height: 18px;
}

/* Responsividade */
@media (max-width: 768px) {
  .services-section {
    padding: 3rem 0;
  }

  .section-title {
    font-size: 2rem;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .services-cta {
    padding: 2rem;
  }

  .services-cta h3 {
    font-size: 1.5rem;
  }
}

/* Animações */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.service-card {
  animation: fadeInUp 0.5s ease forwards;
  opacity: 0;
}

.service-card:nth-child(1) {
  animation-delay: 0.1s;

}
.service-card:nth-child(2) {
  animation-delay: 0.2s;
}
.service-card:nth-child(3) {
  animation-delay: 0.3s;
}
.service-card:nth-child(4) {
  animation-delay: 0.4s;
}
