/* --- Estilos para la página "Nosotros" --- */

/* Clases de color para consistencia */
.text-neon-blue { color: #00ffff !important; } /* Cyan/Aqua */
.text-vibrant-orange { color: #ffb300 !important; } /* Naranja Vibrante */
.text-vibrant-green { color: #00ff8c !important; } /* Verde Neón */
.text-white-50 { color: rgba(255, 255, 255, 0.75) !important; } /* Blanco semitransparente */
.text-white-75 { color: rgba(255, 255, 255, 0.85) !important; } /* Blanco más opaco */
.bg-dark-custom { background-color: #1f1f1f !important; } /* Fondo oscuro ligeramente más claro */
.bg-dark-card {
    background: linear-gradient(145deg, #2c2c2c, #3a3a3a) !important; /* Fondo degradado para tarjetas */
    border: 1px solid rgba(255, 179, 0, 0.3) !important; /* Borde sutil naranja */
}

/* Estilos para los botones personalizados (ya deberías tenerlos de otras secciones) */
.btn-primary-custom {
    background-color: #ffb300;
    border-color: #ffb300;
    color: #1a1a1a;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
}
.btn-primary-custom:hover {
    background-color: #e69a00;
    border-color: #e69a00;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 179, 0, 0.4);
}
.btn-outline-secondary-custom {
    color: #00ffff;
    border-color: #00ffff;
    background-color: transparent;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 255, 255, 0.3);
}
.btn-outline-secondary-custom:hover {
    background-color: #00ffff;
    color: #1a1a1a;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 255, 255, 0.6);
}


/* Sección de Héroe/Banner */
.about-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
                url('../img/hero_bg_about.jpg') center center / cover no-repeat;
    min-height: 400px; /* Altura mínima para el banner */
    display: flex;
    align-items: center; /* Centra verticalmente el contenido */
    justify-content: center; /* Centra horizontalmente el contenido */
    color: white;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.8);
    animation: fadeIn 2s ease-out; /* Animación de entrada */
}

.about-hero h1 {
    font-weight: 700;
    margin-bottom: 10px;
    text-shadow: 0 0 20px #00ffff, 0 0 30px #00ffff; /* Efecto neón más fuerte */
}

.about-hero p.lead {
    font-size: 1.5em;
    font-weight: 300;
}

/* Sección de Nuestra Historia */
.about-story {
    padding-top: 80px;
    padding-bottom: 80px;
}
.about-story img {
    max-height: 450px; /* Limita la altura de la imagen */
    width: 100%;
    object-fit: cover; /* Ajusta la imagen sin distorsión */
    border-radius: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.about-story img:hover {
    transform: scale(1.02);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
}

/* Sección de Misión y Visión */
.about-mission-vision .card {
    border-radius: 15px;
    min-height: 280px; /* Altura mínima para las tarjetas */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center; /* Centra contenido de la tarjeta */
    text-align: center;
    padding: 25px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.about-mission-vision .card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.6), 0 0 15px rgba(255, 179, 0, 0.4);
}
.about-mission-vision .card i {
    filter: drop-shadow(0 0 8px currentColor); /* Efecto neón para iconos */
    margin-bottom: 15px;
}

/* Sección ¿Por Qué Elegirnos? */
.about-why-choose-us {
    padding-top: 80px;
    padding-bottom: 80px;
}
.about-why-choose-us .card {
    border-radius: 15px;
    min-height: 250px; /* Altura mínima */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 25px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.about-why-choose-us .card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.6), 0 0 15px rgba(0, 255, 255, 0.4);
}
.about-why-choose-us .card i {
    filter: drop-shadow(0 0 8px currentColor);
    margin-bottom: 15px;
}

/* Sección Llamada a la Acción */
.about-cta {
    background-color: #1a1a1a;
    border-top: 2px solid #2d2d2d;
    padding: 80px 20px;
}
.about-cta h2 {
    font-weight: 700;
    text-shadow: 0 0 15px #ffb300; /* Neón para el título CTA */
}
.about-cta p.lead {
    font-size: 1.4em;
}

/* Animaciones (si usas Animate.css, asegúrate de que esté linkeado en base_equipos.html) */
/* Si no usas Animate.css, puedes quitar las clases 'animate__animated' */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
.animate__animated.animate__fadeInDown { animation-name: fadeInDown; }
.animate__animated.animate__fadeInUp { animation-name: fadeInUp; }
.animate__animated.animate__fadeInLeft { animation-name: fadeInLeft; }
.animate__animated.animate__fadeInRight { animation-name: fadeInRight; }
.animate__animated.animate__zoomIn { animation-name: zoomIn; }

/* Media Queries para Responsividad */
@media (max-width: 991.98px) { /* Medium devices (tablets) */
    .about-story .col-lg-6 {
        text-align: center; /* Centra el texto en móviles */
    }
    .about-story img {
        margin-top: 30px; /* Espacio superior para la imagen */
    }
}
@media (max-width: 767.98px) { /* Small devices (phones) */
    .about-hero {
        min-height: 250px;
        padding-top: 40px;
        padding-bottom: 40px;
    }
    .about-hero h1 {
        font-size: 2.5em;
    }
    .about-hero p.lead {
        font-size: 1.1em;
    }
    .about-story, .about-mission-vision, .about-why-choose-us, .about-cta {
        padding-top: 40px;
        padding-bottom: 40px;
    }
    .about-story h2, .about-mission-vision h3, .about-why-choose-us h2 {
        font-size: 2em;
    }
    .about-cta .btn {
        width: 100%; /* Botones de llamada a la acción a ancho completo */
        margin-bottom: 15px;
    }
}