/*
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
*/
/* 
    Created on : 8/04/2026, 04:43:07 PM
    Author     : kpesantez 
*/
/* ===== SECCIÓN MISIÓN ===== */
.mision-section {
    background: linear-gradient(135deg, #ffffff, #eef7f1);
}

/* VARIABLES */
:root {
    --color-principal: #198754;
    --color-secundario: #157347;
}

/* ===== TITULOS ===== */
.titulo-wrapper {
    border-left: 5px solid var(--color-principal);
    padding-left: 12px;
    margin-bottom: 10px;
}

.titulo-seccion {
    font-weight: bold;
    color: #000000;
}

/* ===== IMAGEN ===== */
.img-mision {
    transition: all 0.4s ease;
}

.img-mision:hover {
    transform: scale(1.06) rotate(1deg);
    box-shadow: 0px 15px 35px rgba(25,135,84,0.25);
}

/* ===== GRID VALORES ===== */
.valores-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

@media (max-width: 768px) {
    .valores-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== CARD ===== */
.valor-box {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 22px;
    border-radius: 14px;
    background: #ffffff;
    border-left: 5px solid var(--color-principal);
    box-shadow: 0px 6px 18px rgba(0,0,0,0.08);
    transition: all 0.35s ease;
    position: relative;
    overflow: hidden;
}

/* ===== EFECTO BRILLO (FIX REAL) ===== */
.valor-box::before {
    content: "";
    position: absolute;
    top: 0;
    left: -120%;
    width: 120%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(25,135,84,0.2), transparent);
}

/* SOLO ANIMA AL ENTRAR (NO REGRESA) */
.valor-box:hover::before {
    animation: brilloDerecha 0.7s ease forwards;
}

@keyframes brilloDerecha {
    from {
        left: -120%;
    }
    to {
        left: 120%;
    }
}

/* HOVER GENERAL */
.valor-box:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0px 15px 30px rgba(25,135,84,0.25);
}

/* ICONO */
.valor-box img {
    width: 45px;
    flex-shrink: 0;
    margin-top: 4px;
}

/* TEXTO */
.valor-box p {
    margin: 0;
    line-height: 1.5;
    text-align: left;
}

/* ===== ANIMACIONES SCROLL ===== */
.fade-in,
.valor-box {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.fade-in.visible,
.valor-box.visible {
    opacity: 1;
    transform: translateY(0);
}
