body {
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    padding: 0;
    color: #333;
    background-color: #f4f4f4;
}

.hero {
    background-image: url('../images/Fondo8.webp');
    background-size: cover;
    background-position: center;
    height: 60vh;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #ffffff;
    text-align: center;
    position: relative;
    padding: 2rem 1rem;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.65));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
}

.hero-content h1 {
    font-size: 4rem;
    line-height: 1.2;
    margin: 0;
    font-weight: bold;
    font-family: 'Pirata One', cursive;
    text-shadow: 3px 3px 8px rgba(0, 0, 0, 0.6);
}

.hero-content p {
    font-size: 24px;
    margin: 10px 0 0;
}

.about-us {
    position: relative;
    background-image: url('../images/Fondo9.webp');
    background-size: cover;
    background-position: center;
    padding: 60px 0;
}

.about-us::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.4);
    z-index: 1;
}

.about-us .container {
    position: relative;
    z-index: 2;
}

.about-us h2 {
    font-size: 42px;
    font-weight: bold;
    color: #333;
    margin-bottom: 20px;
    font-family: 'Pirata One', cursive;
}

.about-us p {
    font-size: 24px;
    line-height: 1.8;
    color: #666666;
    margin-bottom: 30px;
    font-family: 'Pirata One', cursive;
}


/* 🎨 Fondo semitransparente mejorado para el texto */

.about-text {
    background-color: rgba(240, 240, 240, 0.85);
    padding: 20px 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(2px);
}

.our-values {
    padding: 60px 0;
    background-color: #333;
    color: #ffffff;
}

.our-values h2 {
    font-size: 42px;
    margin-bottom: 40px;
    font-family: 'Pirata One', cursive;
    text-align: center;
    font-weight: bold;
}

.value-box {
    margin-bottom: 30px;
}

.value-box i {
    color: #ffcc00;
    margin-bottom: 20px;
}

.value-box h3 {
    font-size: 26px;
    margin-bottom: 10px;
    font-family: 'Pirata One', cursive;
}

.value-box p {
    font-size: 16px;
    font-family: 'Pirata One', cursive;
}

.our-team {
    position: relative;
    background-image: url('../images/Fondo9.webp');
    background-size: cover;
    background-position: center;
    padding: 60px 0;
}

.our-team::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.4);
    z-index: 1;
}

.our-team .container {
    position: relative;
    z-index: 2;
}

.our-team h2 {
    font-size: 42px;
    color: #333;
    margin-bottom: 40px;
    text-align: center;
    font-family: 'Pirata One', cursive;
}

.team-member {
    text-align: center;
    margin-bottom: 30px;
}


/* ⚡ Hover animado para miembros del equipo */

.team-member img {
    max-width: 150px;
    margin-bottom: 20px;
    border: 4px solid #ffcc00;
    transition: transform 0.3s ease;
}

.team-member img:hover {
    transform: scale(1.08);
}

.team-member h3 {
    font-size: 26px;
    margin-bottom: 5px;
    font-family: 'Pirata One', cursive;
}

.team-member p {
    font-size: 22px;
    color: #666666;
    font-family: 'Pirata One', cursive;
}


/* ============================= */


/* 📱 DISEÑO RESPONSIVO MÓVIL */


/* ============================= */

@media (max-width: 768px) {
    .hero {
        height: 45vh;
        padding: 1.5rem 1rem;
    }
    .hero-content h1 {
        font-size: 2.5rem;
    }
    .hero-content p {
        font-size: 1.1rem;
    }
    .about-us {
        padding: 40px 15px;
    }
    .about-us h2 {
        font-size: 1.8rem;
        text-align: center;
    }
    .about-us p {
        font-size: 1rem;
        text-align: justify;
    }
    .about-text {
        padding: 15px 20px;
    }
    .our-values {
        padding: 40px 15px;
    }
    .our-values h2 {
        font-size: 1.8rem;
    }
    .value-box {
        margin-bottom: 30px;
    }
    .value-box h3 {
        font-size: 1.3rem;
    }
    .value-box p {
        font-size: 1rem;
    }
    .row.text-center .col-md-4 {
        width: 100%;
        margin-bottom: 20px;
    }
    .our-team {
        padding: 40px 15px;
    }
    .our-team h2 {
        font-size: 1.8rem;
    }
    .team-member img {
        max-width: 100px;
        margin-bottom: 10px;
    }
    .team-member h3 {
        font-size: 1.2rem;
    }
    .team-member p {
        font-size: 1rem;
    }
    .container {
        padding-left: 10px;
        padding-right: 10px;
    }
}