/* Estilos generales */
body {
    font-family: 'Arial', sans-serif;
    background-color: #f8f9fa;
    color: #333;
}

/* Navbar */
.navbar {
    background-color: #b71c1c !important; /* Rojo oscuro */
}

.navbar .nav-link, 
.navbar .navbar-brand {
    color: white !important;
}

/* Banner */
header {
    background: url('../img/Banner.jpeg') no-repeat center center/cover;
    height: 92vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    animation: fadeIn 1s ease-in-out;
}

header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
}

header .container {
    position: relative;
    z-index: 2;
}

header h1 {
    font-size: 2.5rem;
    font-weight: bold;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7);
}

header p {
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.btn-light {
    background-color: white;
    color: #b71c1c;
    border: none;
    transition: 0.3s;
}

.btn-light:hover {
    background-color: #e53935;
    color: white;
}

/* Títulos y textos en rojo */
 h2 {
    color: #c11010; /* Rojo oscuro */
}
h4 {
    color: #c11010; /* Rojo oscuro */
}

/* Valores en Sobre Nosotros */
.valores {
    text-align: center;
    font-size: 1.2rem;
    margin-top: 20px;
}

.valores p {
    font-weight: bold;
}

.valores i {
    color: rgb(26, 229, 26);
    margin-right: 8px;
}

/* Animaciones */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animated {
    opacity: 0;
    animation: slideUp 1s forwards;
}
