/* Estilo General */

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-thumb {
  background-color: #0b6623;
  border-radius: 4px;
  border: 1px solid #f5f5f5;
}

::-webkit-scrollbar-track {
  background: var(--bs-light);
}

::-webkit-scrollbar-corner {
  background: transparent;
}

body {
  font-family: "Lato", Arial, sans-serif;
  background-color: #383838;
  color: white;
}

.header-section {
  background-color: #0b6623; /* Verde oscuro para el menú */
  padding: 5px 0;
}

.logo {
  width: 50px;
  height: auto;
}

.brand-text {
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 1.5rem;
  margin-left: 10px;
  color: white;
}

.navbar-nav .nav-link {
  font-family: "Lato", Arial, sans-serif;
  color: white;
  margin: 0 10px;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: #66ff99; /* Verde claro al pasar el ratón y al estar seleccionado */
}

.hero {
  margin-top: 76px;
  background-image: url("hero-image.jpg");
  background-size: cover;
  background-position: center;
  padding: 75px 0 125px;
  position: relative;
}

.hero-title {
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 3rem;
  font-weight: bold;
  text-shadow: 2px 2px 8px rgba(0, 0, 139, 0.5); /* Sombra azul tenue */
}

.hero-subtitle {
  font-family: "Lato", Arial, sans-serif;
  font-size: 1.25rem;
  margin-top: 10px;
  text-shadow: 1px 1px 4px rgba(0, 0, 139, 0.3);
}

.whatsapp-button {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 60px;
  height: 60px;
  z-index: 100;
  transition: bottom 0.3s ease;
}

.whatsapp-button img {
  width: 100%;
  height: auto;
  border-radius: 50%;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.3);
}

/* Efecto fade-in */
.fade-in {
  opacity: 0;
  /* transform: translateY(10px);
  transition: all 0.6s ease-in-out; */
  animation: fadeIn 1s ease-in-out forwards;
}

.fade-out {
  opacity: 1;
  animation: fadeOut 1s ease-in-out forwards;
}

.fade-trigger:has(.fade-in.visible) .fade-in {
  animation: fadeIn 1s ease-in-out forwards;
}

.fade-trigger:not(:has(.fade-in.visible)) .fade-in {
  animation: fadeOut 1s ease-in-out forwards;
}

.carousel-inner {
  z-index: 100;
}

.carousel-item-content {
  height: 100%;
  display: grid;
  place-items: center;
}
.carousel-indicators {
  margin-bottom: 1.4rem;
}

/* .fade-in.visible {
  opacity: 1;
  transform: translateY(0);
} */

/* Footer */
footer {
  font-family: "Lato", Arial, sans-serif;
  background-color: #0b6623;
  color: white;
  padding: 15px 0;
}

h2,
h3, h4, h5 {
  font-family: "Montserrat", Arial, sans-serif;
  font-weight: 600;
  user-select: none;
}

h2 {
  margin-bottom: 3rem;
}

h3 {
  margin-top: 0.5rem;
  margin-bottom: 2.5rem;
  padding: 0 5px;
}

h3.accordion-header{
  margin: 0;
  padding: 0
}

p {
  padding: 0 15px;
}

.providers div {
  min-height: 105px;
}

section:not(#home, #contact) {
  padding: 100px 0 !important;
}

/* Responsividad */
@media (max-width: 768px) {
  .navbar-nav {
    flex-direction: column;
    align-items: center;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }
}

.fa-whatsapp {
  color: #25d366;
  font-size: 60px;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeOut {
  from {
    opacity: 1;
    transform: translateY(0);
  }
  to {
    opacity: 0;
    transform: translateY(10px);
  }
}
