/* Landing Page Specific Styles */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600&display=swap');


* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body {
  background-color: #f9fafb; /* Light gray background */
  color: #1f2937; /* Dark gray text */
}

/* Services Section */
.services-section {
  margin: 0 auto; /* Centraliza horizontalmente */
  margin-top: 3rem;
  margin-bottom: 3rem;
  max-width: 1200px; /* Define uma largura máxima */
  padding-left: 30px; /* Match navbar padding */
  padding-right: 30px; /* Match navbar padding */
}

.services-row {
  display: flex;
  gap: 2rem;
  margin-bottom: 2rem;
  justify-content: center; /* Garante que os cartões fiquem centralizados */
  width: 100%; /* Changed from fixed width to 100% */
  max-width: 100%; /* Ensure it doesn't overflow */
}

.top-row {
  justify-content: space-between;
}

.bottom-row {
  justify-content: center;
  gap: 2rem; /* Changed from 4rem to 2rem to match top row */
}

.top-row .service-card {
  flex: 1;
  max-width: calc(33.333% - 1.33rem); /* Adjust for the gap */
}

.bottom-row .service-card {
  flex: 1;
  max-width: calc(33.333% - 1.33rem); /* Mesma lógica de dimensionamento da top-row */
}

/* Service Cards */
.service-card {
  background-color: white;
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
  cursor: pointer;
  opacity: 0;
  transform: translateY(20px);
}


.service-card.show {
  opacity: 1;
  transform: translateY(0);
}

.service-card.card-hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.card-icon {
  display: flex;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: #3c6c2a;
}

.icon-large {
  width: 3rem;
  height: 3rem;
}

.card-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #1f2937;
  text-align: center;
}

.card-description {
  color: #4b5563;
  margin-bottom: 1.5rem;
  flex-grow: 1;
  text-align: center;
}

.card-button {
  display: flex;
  align-items: center; /* Centraliza verticalmente */
  justify-content: center; /* Centraliza horizontalmente */
  padding: 0.75rem 1.5rem;
  background-color: #3c6c2a;
  color: white;
  border: none;
  border-radius: 0.375rem;
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s;
  margin-top: auto;
  text-align: center; /* Garante que o texto fique alinhado */
  line-height: 1.2; /* Ajusta o espaçamento entre linhas */
  white-space: normal; /* Permite quebra de linha para textos longos */
}

.card-button:hover {
  background-color: #4d8836;
}

.card-button .icon-small {
  width: 1rem;
  height: 1rem;
  margin-left: 0.5rem;
}

/* Container class to match navbar width */
.container {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.py-8 {
  padding-top: 2rem;
  padding-bottom: 2rem;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .services-row {
    flex-direction: column;
    gap: 1.5rem;
  }
  
  .top-row .service-card,
  .bottom-row .service-card {
    max-width: 100%;
  }
  
  .bottom-row {
    margin-top: 0;
  }
}

@media (max-width: 768px) {
  .service-card {
    padding: 1.5rem;
  }
  
  .services-section {
    padding-left: 20px; /* Smaller padding on mobile */
    padding-right: 20px; /* Smaller padding on mobile */
  }
}

/* Tablet layout - special case */
@media (min-width: 768px) and (max-width: 1024px) {
  .top-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }
  
  .top-row .service-card:last-child {
    grid-column: span 2;
    max-width: 80%;
    margin: 0 auto;
  }
}