.main-banner {
    position: relative;
    text-align: center;
    color: white;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    height: 200px;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    margin-top: 90px;
    background-image: url('/assets/images/sobre-nosotros-2.jpg');
}

/* Overlay oscuro */
.main-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4); /* Oscurece el fondo */
    z-index: 1;
}

/* Texto en el banner */
.main-banner h1 {
    font-size: 3rem;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7);
    font-weight: bold;
    position: relative; /* Para superponer el texto sobre el overlay */
    z-index: 2;
}

.btn-contacto {
    background-color: #ED1B24;
    color: white;
    font-weight: bold;
    font-size: 1.25rem;
    padding: 15px 40px;
    border-radius: 12px;
    text-decoration: none;
    display: inline-block;
    transition: background-color 0.3s ease, transform 0.2s ease;
  }
  
  .btn-contacto:hover {
    background-color: #a01a1f;
    transform: scale(1.05);
  }

  form input, form textarea {
    margin-bottom: 15px;
  }

.whatsapp-button {
    background-color: #25D366;
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.whatsapp-button:hover {
    background-color: #1ebe5d;
    text-decoration: none;
    color: white;
}

#contacto{
    min-height: 60vh;
    align-content: center;
}

/* Estilo solo para móviles */
@media (max-width: 767px) {
    .div-other {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
        padding: 20px;
    }
    #contact-form{
        justify-items: center;
    }
}