/* =================== */
/*     Variables       */
/* =================== */
:root {
  --verde-principal: #0CAC00;
  --verde-hover: #00cc66;
}

/* =================== */
/*   Tipografía y fondo */
/* =================== */
body {
  font-family: 'Poppins', sans-serif;
  color: #212121;
  background-size: 400% 400%;
  overflow-x: hidden;
}

/* Ajuste para el texto de bienvenida */
#inicio .lead {
  font-size: 1.35rem;  /* Aumentado desde el default (~1.25rem) */
  font-weight: 400;
  color: #424242; /* Gris más fuerte para más visibilidad */
}

h1 {
  font-size: 3rem;
  font-weight: 600;
}

h2 {
  font-size: 2.25rem;
  font-weight: 600;
}

h5 {
  font-size: 1.125rem;
  font-weight: 600;
}

p {
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.6;
}

/* Botón verde personalizado */
.btn-verde {
  background-color: #0CAC00;
  border-color: #0CAC00;
  color: #fff;
  font-weight: 500;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn-verde:hover {
  background-color: #0a9b00;
  border-color: #0a9b00;
  transform: scale(1.03);
}

/* Ajuste del carrusel */
/* Solución ajustada para el carrusel de servicios */
#carouselServicios .carousel-item img {
  width: 100%;
  height: auto;
  max-height: 400px; /* Puedes subirlo a 450px si lo ves necesario */
  object-fit: contain;
  margin: 0 auto;
  display: block;
}
#carouselServicios {
  max-width: 900px; /* Ajusta según gusto */
  margin: 0 auto;
}
#carouselServicios .carousel-inner img {
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}


/* =================== */
/*     Formulario      */
/* =================== */
form input, form textarea {
  border-radius: 5px;
  border: 1px solid #ced4da;
}

/* =================== */
/*     Íconos FA       */
/* =================== */
i.fas,
i.fab {
  transition: transform 0.3s ease, color 0.3s ease;
}

i.fas:hover,
i.fab:hover {
  transform: scale(1.2);
  color: var(--verde-principal);
}

/* =================== */
/* WhatsApp flotante   */
/* =================== */
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 999;
  background-color: #25d366;
  border-radius: 50%;
  padding: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

.whatsapp-float:hover {
  transform: scale(1.1);
}

.whatsapp-float img {
  width: 40px;
  height: 40px;
}

/* =================== */
/*       Navbar        */
/* =================== */
.navbar-dark .navbar-nav .nav-link {
  color: #fff !important;
}

.navbar-dark .navbar-nav .nav-link:hover {
  color: var(--verde-hover) !important;
}

.navbar-dark .navbar-brand {
  color: var(--verde-principal) !important;
}

.navbar .btn-success {
  background-color: var(--verde-principal);
  border-color: var(--verde-principal);
  color: #fff;
  font-weight: 500;
}

.navbar .btn-success:hover {
  background-color: #0a9b00;
  border-color: #0a9b00;
}

.navbar-nav {
  align-items: center;
  gap: 1.2rem;
}

.logo-navbar-only {
  height: 65px;
  margin-right: 1rem;
}

.logo-navbar-only:hover {
  transform: scale(1.05);
}

/* =================== */
/*       Loader        */
/* =================== */
#loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.spinner {
  border: 5px solid #f3f3f3;
  border-top: 5px solid var(--verde-principal);
  border-radius: 50%;
  width: 50px;
  height: 50px;
  animation: girar 1s linear infinite;
}

/* =================== */
/*     Footer          */
/* =================== */
footer {
  background-color: #1c1c1c;
  color: #ffffff;
}

footer h5,
footer h6 {
  color: var(--verde-principal);
}

footer p,
footer a {
  line-height: 1.8;
  color: #ffffff;
  transition: color 0.3s ease;
}

footer a:hover {
  color: var(--verde-principal);
  text-decoration: underline;
}

footer i.fab,
footer i.fas {
  color: #ffffff;
  transition: color 0.3s ease, transform 0.3s ease;
}

footer i.fab:hover,
footer i.fas:hover {
  color: var(--verde-principal);
  transform: scale(1.2);
}

footer .border-top {
  border-color: rgba(255, 255, 255, 0.15);
  margin-top: 2rem;
  padding-top: 1rem;
}

footer .fa-envelope,
footer .fa-phone,
footer .fa-phone-alt {
  font-size: 1.1rem;
  color: var(--verde-principal);
}

footer .social-icons a {
  display: inline-block;
  margin-right: 12px;
  margin-bottom: 8px;
  font-size: 1.5rem;
}

footer .social-icons a:last-child {
  margin-right: 0;
}

footer .quick-links li {
  margin-bottom: 0.6rem;
}
footer a:hover {
  color: var(--verde-principal) !important;
  text-decoration: underline;
}

footer .quick-links a {
  font-size: 1rem;
  font-weight: 400;
}

.text-verde {
  color: var(--verde-principal);
}

.logo-footer {
  height: 60px;
  width: auto;
}

/* =================== */
/*  Media Queries      */
/* =================== */
@media (max-width: 768px) {
  .btn-whatsapp {
    width: 90%;
    margin: 0 auto;
    display: block;
  }

  .navbar-nav .nav-link {
    padding: 0.5rem 0;
  }

  footer {
    text-align: center;
  }

  footer .row > div {
    text-align: center !important;
    margin-bottom: 2rem;
  }
}

@media (max-width: 576px) {
  footer {
    padding: 2rem 1rem;
  }

  footer .social-icons {
    justify-content: center;
    display: flex;
  }
}

/* =================== */
/*      Animaciones    */
/* =================== */
@keyframes girar {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

