/* Sticky Footer con Flexbox */
html, body {
    height: 100%;
    margin: 0;
    display: flex;
    flex-direction: column;
}
body > main {
    flex: 1;
}

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(to right, #f8f9fa, #e9ecef);
    color: #333;
    scroll-behavior: smooth;
}

h1, h2 {
    color: rgb(89, 238, 195);
    font-weight: 600;
}

#carouselInicio .carousel-item img {
  height: 300px;         /* Ajusta la altura según prefieras */
  object-fit: cover;     /* Mantiene el aspecto bonito sin deformar */
}

.navbar .nav-link {
    color: #ffffff !important;  /* Blanco puro */
    opacity: 1 !important;      /* Sin transparencia */
}

/* Efecto al pasar el mouse */
.navbar .nav-link:hover {
    color: #c5e8ff !important;  /* Amarillo */
    opacity: 1 !important;
}

/* Más grande en celulares */
@media (max-width: 768px) {
    .navbar.navbar-dark .nav-link {
        font-size: 1.2rem !important;
    }
}

form {
      max-width: 500px;
      margin: auto;
      background: white;
      padding: 20px;
      border-radius: 10px;
      box-shadow: 0px 0px 15px rgba(0,0,0,0.1);
    }

    input, textarea {
      width: 100%;
      padding: 10px;
      margin-top: 10px;
      border-radius: 5px;
      border: 1px solid #ccc;
    }

    .btn-custom {
        background-color: rgb(25, 182, 235);
        color: white;
        border: none;
        padding: 10px 20px;
        border-radius: 8px;
        transition: background-color 0.3s ease;
    }

    .btn-custom:hover {
        background-color: rgb(20, 150, 200); /* un azul más oscuro al pasar el mouse */
        color: white;
    }

    .alert {
      text-align: center;
      margin-top: 20px;
      font-weight: bold;
      color: green;
    }

    .antispam-container {
  margin-top: 20px;
  padding: 10px;
  background-color: #f8f9fa;
  border-left: 4px solid #17a2b8;
  font-size: 0.9rem;
}
.antispam-container label {
  font-weight: 500;
  color: #333;
}


/* Footer Styles */
.footer {
    color: #fff;
    padding: 20px;
}

.footer .footer-links {
    display: flex;
    justify-content: space-around;
    padding: 10px 0;
}

.footer .footer-section {
    width: 30%;
}

.footer .footer-section h4 {
    margin-bottom: 10px;
}

.footer .footer-section p {
    margin: 5px 0;
}
.footer h5 {
    font-weight: bold;
    margin-bottom: 10px;
}

.footer p {
    margin: 5px 0;
}

.footer .footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

button.btn {
    border-radius: 8px;
    transition: background-color 0.3s ease;
}

button.btn:hover {
    background-color: #0056b3;
}
.custom-navbar {
    background-color: rgb(25, 182, 235) !important;
}

.custom-footer {
    background-color: rgb(25, 182, 235);
    color: white;
}