@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');
@import url('https://cdn.jsdelivr.net/npm/tailwindcss@2.2.19/dist/tailwind.min.css');

:root {
  --law-green: #4CAF50;
  --law-green-dark: #2E7D32;
  --law-green-light: #E8F5E8;
  --law-text-primary: #000000;
  --law-text-secondary: #777777;
}

* {
  font-family: 'Poppins', sans-serif;
}

.hero-bg {
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('./src/assets/hero-scales-justice.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.btn-primary {
  background-color: var(--law-green);
  color: white;
  padding: 1rem 2rem;
  border-radius: 0.5rem;
  font-weight: 600;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  background-color: var(--law-green-dark);
  transform: translateY(-2px);
}

.text-law-green {
  color: var(--law-green);
}

.text-law-green-dark {
  color: var(--law-green-dark);
}

.bg-law-green {
  background-color: var(--law-green);
}

.bg-law-green-dark {
  background-color: var(--law-green-dark);
}

.bg-law-green-light {
  background-color: var(--law-green-light);
}

.text-law-primary {
  color: var(--law-text-primary);
}

.text-law-secondary {
  color: var(--law-text-secondary);
}

.hover-scale:hover {
  transform: scale(1.05);
}

.transition-all {
  transition: all 0.3s ease;
}

.shadow-custom {
  box-shadow: 0 10px 30px -10px rgba(76, 175, 80, 0.3);
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Header transparency */
.header-transparent {
  background: transparent;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
}

/* Navigation hover effects */
.nav-link {
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: var(--law-green);
}

/* Card hover effects */
.card-hover {
  transition: all 0.3s ease;
}

.card-hover:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.1);
}

/* Form styling */
.form-input {
  width: 100%;
  padding: 1rem;
  border: 1px solid #e5e7eb;
  border-radius: 0.5rem;
  font-family: 'Poppins', sans-serif;
  transition: all 0.3s ease;
}

.form-input:focus {
  outline: none;
  border-color: var(--law-green);
  box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.1);
}

/* Success cases grid */
.success-case {
  position: relative;
  overflow: hidden;
  border-radius: 0.5rem;
}

.success-case img {
  transition: transform 0.3s ease;
}

.success-case:hover img {
  transform: scale(1.1);
}

.success-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  opacity: 0;
  transition: opacity 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 600;
  text-align: center;
  padding: 1rem;
}

.success-case:hover .success-overlay {
  opacity: 1;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem !important;
  }
  
  .hero-subtitle {
    font-size: 1.25rem !important;
  }
  
  .section-title {
    font-size: 2rem !important;
  }
  .whatsapp-button {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #25d366;
  color: white;
  border: none;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  text-decoration: none;
  z-index: 1000;
}

.whatsapp-button img {
  width: 30px;
  height: 30px;
}
}

.bg-customblue{
  color: "#0b1b2a";
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  animation: fadeIn 0.8s ease-in-out forwards;
}
.fade-in-delay-1 { animation-delay: 0.2s; }
.fade-in-delay-2 { animation-delay: 0.4s; }
.fade-in-delay-3 { animation-delay: 0.6s; }
.fade-in-delay-4 { animation-delay: 0.8s; }


.swiper-slide {
  display: flex !important;
  align-items: center;   /* centraliza vertical */
  justify-content: center; /* centraliza horizontal */
}