/* ========== BLUR ESTÉTICO PARA CAROUSEL ========== */

/* Imagen del carousel */
.carousel-item img {
    height: 400px;
    object-fit: cover;
    width: 100%;
}

/* Overlay oscuro sobre la imagen */
.carousel-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom, 
        rgba(0, 0, 0, 0.3) 0%,
        rgba(0, 0, 0, 0.5) 100%
    );
    z-index: 1;
    pointer-events: none;
}

/* Wrapper del carousel */
.carousel-wrapper {
    margin: 0 auto;
    overflow: hidden;
}

/* Asegurar que el caption esté encima del overlay */
.carousel-caption {
    z-index: 10;
    bottom: 20px !important; /* Mantener el caption visible */
}

/* Hacer el caption visible en móviles */
.carousel-caption.d-none.d-md-block {
    display: block !important; /* Forzar que se muestre en móviles */
}

/* Mejorar el blur box con glassmorphism */
.carousel-blur-box {
    background: rgba(0, 0, 0, 0.35); /* ← 35% opaco (muy claro) */
    backdrop-filter: blur(25px); /* ← Blur máximo para compensar */
    -webkit-backdrop-filter: blur(25px);
    border-radius: 15px;
    padding: 30px 60px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    max-width: 100%;
    width: 100%;
    margin: 0;
    pointer-events: none; 
}


/* Mejorar la legibilidad del texto */
.carousel-blur-box h5 {
    font-family: sans-serif;
    font-size: 2.5rem;
    font-weight: 800;
    color: white;
    text-shadow: 3px 3px 10px rgba(0, 0, 0, 0.7);
    margin-bottom: 15px;
    line-height: 1.2;
}

.carousel-blur-box p {
    font-family: sans-serif;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.6);
    line-height: 1.6;
    margin-bottom: 25px;
}

/* Botón mejorado */
.btn-carousel {
    font-family: sans-serif;
    margin-top: 20px;
    background: linear-gradient(135deg, #c7dd58 0%, #b5ca45 100%);
    color: white;
    border: none;
    padding: 15px 35px;
    padding-right: 60px;
    border-radius: 30px;
    font-weight: 900;
    cursor: pointer;
    position: relative;
    white-space: nowrap;
    box-shadow: 0 6px 20px rgba(199, 221, 88, 0.4);
    transition: all 0.3s ease;
    pointer-events: auto;
}

.btn-carousel:hover {
    background: linear-gradient(135deg, #b5ca45 0%, #c7dd58 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(199, 221, 88, 0.6);
}

.btn-carousel::after {
    content: '→';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.btn-carousel:hover::after {
    right: 15px;
    transform: translateY(-50%) translateX(3px);
}

/* Hacer que el caption ocupe más ancho */
.carousel-caption {
    left: 5% !important;
    right: 5% !important;
    width: auto !important;
}




/* ========== ESTILOS MEJORADOS PARA MÓVIL ========== */

/* Mejoras para tablets y móviles grandes (768px) */
/* Ajustes para tablets */
@media (min-width: 769px) and (max-width: 992px) {
    .carousel-blur-box {
        padding: 25px 60px;
        max-width: 100%;
        width: 100%;
        background: rgba(0, 0, 0, 0.75);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        border-radius: 15px;
        border: none;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    }
    
    .carousel-blur-box h5 {
        font-size: 1.8rem;
        margin-bottom: 10px;
        font-weight: 800;
        color: #ffffff;
        text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
    }
    
    .carousel-blur-box p {
        font-size: 1rem;
        line-height: 1.4;
        margin-bottom: 12px;
        color: rgba(255, 255, 255, 0.95);
        text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.7);
    }
    
    .btn-carousel {
        padding: 12px 28px;
        padding-right: 52px;
        font-size: 0.9rem;
        margin-top: 12px;
    }
    
    .carousel-caption {
        bottom: 40px !important;
    }
}
@media (max-width: 768px) {
    
    /* Blur box con mejor glassmorphism */
    .carousel-blur-box {
        padding: 10px 20px;
        border-radius: 15px;
        max-width: 100%;
        width: 100%;
        background: rgba(0, 0, 0, 0.75); /* Fondo más oscuro y sólido */
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        border: 1.5px solid rgba(255, 255, 255, 0.25);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
        
    }

    /* Título más destacado */
    .carousel-blur-box h5 {
        font-size: 1.05rem;
        margin-bottom: 8px;
        font-weight: 800;
        color: #ffffff;
        text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
        letter-spacing: 0.3px;
    }

    /* Texto más legible */
    .carousel-blur-box p {
        font-size: 0.72rem;
        line-height: 1.35;
        margin-bottom: 10px;
        color: rgba(255, 255, 255, 0.95);
        text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.7);
        font-weight: 400;
    }

    /* Botón más compacto y atractivo */
    .btn-carousel {
        padding: 10px 24px;
        padding-right: 48px;
        font-size: 0.8rem;
        margin-top: 10px;
        font-weight: 700;
        border-radius: 25px;
        box-shadow: 0 4px 15px rgba(199, 221, 88, 0.5);
        
    }

    .carousel-caption {
        top: 50% !important;
        bottom: auto !important;
        transform: translateY(-50%);
    }
}



/* Mejoras para móviles pequeños (576px) */
@media (max-width: 576px) {
    
    /* Blur box ultra compacto */
    .carousel-blur-box {
        padding: 8px 16px;
        border-radius: 20px;
        max-width: 100%;
        width: 100%;
        background: rgba(0, 0, 0, 0.75); /* Más opaco */
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        border: 1.5px solid rgba(255, 255, 255, 0.2);
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.45);
    }

    /* Título compacto pero legible */
    .carousel-blur-box h5 {
        font-size: 0.98rem;
        line-height: 1.2;
        margin-bottom: 6px;
        font-weight: 800;
        color: #ffffff;
        text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.9);
        letter-spacing: 0.2px;
    }

    /* Texto ajustado */
    .carousel-blur-box p {
        font-size: 0.67rem;
        line-height: 1.3;
        margin-bottom: 8px;
        color: rgba(255, 255, 255, 0.98);
        text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.8);
        font-weight: 400;
    }

    /* Botón pequeño pero visible */
    .btn-carousel {
        padding: 9px 20px;
        padding-right: 42px;
        font-size: 0.73rem;
        margin-top: 8px;
        font-weight: 700;
        border-radius: 22px;
        box-shadow: 0 4px 12px rgba(199, 221, 88, 0.5);
    }

    .btn-carousel::after {
        font-size: 1.1rem;
        right: 15px;
    }
}

/* ========== OCULTAR IMAGEN DE FONDO EN MÓVIL/TABLET ========== */

@media (max-width: 992px) {
    /* Ocultar la imagen de fondo */
    .stats-bg {
        display: none !important;
    }
    
    /* Contenedor sin imagen */
    .stats-section {
        background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
        min-height: auto;
        padding: 80px 0 50px 0;
        position: relative;
        margin-top: 60px;
    }
    
    /* Cards vuelven al flujo normal */
    .stats-cards {
        position: relative;
        transform: none;
        right: auto;
        top: auto;
        padding: 0 20px;
        display: flex;
        flex-direction: column;
        gap: 20px;
        align-items: center;
    }
    
    /* Estilo moderno para las cards */
    .stats-card {
        width: 100%;
        max-width: 500px;
        padding: 30px;
        border-radius: 20px;
        background: linear-gradient(135deg, #7FB033 0%, #4F7F2B 100%);
        box-shadow: 0 8px 25px rgba(79, 127, 43, 0.3);
        transition: all 0.3s ease;
    }
    
    .stats-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 12px 35px rgba(79, 127, 43, 0.4);
    }
    
    /* Números grandes */
    .stats-card h2 {
        font-size: 3rem;
        font-weight: 800;
        color: #c7dd58;
        margin-bottom: 10px;
        text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.3);
    }
    
    /* Títulos */
    .stats-card h4 {
        font-size: 16px;
        font-weight: 700;
        color: white;
        margin-bottom: 8px;
        letter-spacing: 0.5px;
    }
    
    /* Descripción */
    .stats-card p {
        font-size: 14px;
        color: rgba(255, 255, 255, 0.9);
        line-height: 1.5;
        margin: 0;
    }
}

/* Para móviles pequeños */
@media (max-width: 576px) {
    .stats-section {
        padding: 80px 0 40px 0;
        margin-top: 50px;
    }
    
    .stats-cards {
        padding: 0 15px;
        gap: 18px;
    }
    
    .stats-card {
        padding: 25px;
        max-width: 100%;
    }
    
    .stats-card h2 {
        font-size: 2.5rem;
    }
    
    .stats-card h4 {
        font-size: 14px;
    }
    
    .stats-card p {
        font-size: 13px;
    }
}





/* ========== ESTILOS BOTONES DE IDIOMA - NAVBAR BOOTSTRAP ========== */
/* ========== BOTONES DE IDIOMA ========== */
.btn-idioma {
    padding: 0;
    border: none;
    background: none;
    font-size: 14px;
    font-weight: 600;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-idioma:hover {
    color: #4F7F2B;
    transform: scale(1.08);
}

.btn-idioma.activo {
    font-weight: 700;
    color: #4F7F2B;
    text-decoration: underline;
}



/* SECCIÓN ENTERA */
.about-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 80px 80px;
    gap: 80px;
    background: #f8f9fa;
    position: relative;
}

/* COLUMNA IZQUIERDA - Texto */
.about-left {
    flex: 1;
    max-width: 550px;
    animation: fadeInLeft 0.8s ease;
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.about-left h2 {
    font-family: sans-serif;
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 25px;
}

.about-left p {
    font-family: sans-serif;
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 35px;
    line-height: 1.8;
}

.about-btn {
    font-family: sans-serif;
    background: linear-gradient(135deg, #c7dd58 0%, #b5ca45 100%);
    border: none;
    padding: 14px 35px;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 600;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(199, 221, 88, 0.3);
}

.about-btn:hover {
    background: linear-gradient(135deg, #b5ca45 0%, #c7dd58 100%);
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(199, 221, 88, 0.5);
}

/* COLUMNA DERECHA - Stats con imagen de fondo */
.about-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: relative;
}

/* --- Contenedor de la imagen y las stats --- */
.stats-section {
    position: relative;
    width: 100%;
    min-height: 600px;
    overflow: visible;
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.05);  /* ← Capa blanca suave sobre la imagen */
    z-index: 2;
    pointer-events: none;
}

/* Imagen de fondo */
.stats-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    filter: brightness(0.95) saturate(0.9);

}

/* --- Contenedor de tarjetas stats --- */
.stats-cards {
    position: absolute;
    top: 50%;
    right: 60px;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 20px;
    z-index: 20;
    animation: fadeInRight 0.8s ease;
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translate(30px, -50%);
    }
    to {
        opacity: 1;
        transform: translate(0, -50%);
    }
}

/* --- Cada tarjeta individual --- */
.stats-card {
    width: 320px; 
    padding: 22px 28px;
    border-radius: 20px;
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    background: rgba(255, 255, 255, 0.45);
    box-shadow: 0 8px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.stats-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(0,0,0,0.25);
    background: rgba(255, 255, 255, 0.35);
}

/* Números grandes */
.stats-card h2 {
    font-size: 2,8rem;
    font-weight: 800;
    color: #c7dd58; /* Verde lima igual que el título */
    margin-bottom: 8px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

/* Títulos de las stats */
.stats-card h4 {
    font-size: 14px;
    font-weight: 800;
    margin-bottom: 10px;
    color: #2d5016; /* Verde oscuro */
    letter-spacing: 0.5px;
}

/* Descripción */
.stats-card p {
    font-size: 13px;
    margin: 0;
    color: #333;
    line-height: 1.5;
}

/* ========== RESPONSIVE ========== */

@media (max-width: 992px) {
    .about-section {
        flex-direction: column;
        padding: 60px 40px;
        gap: 50px;
    }

    .about-left {
        max-width: 100%;
        text-align: center;
    }

    .about-left h2 {
        font-size: 2.5rem;
    }

    .about-btn {
        margin: 0 auto;
        display: block;
        width: fit-content;
    }

    /* Stats en responsive */
    .stats-section {
        min-height: auto;
        height: auto;
    }

    .stats-bg {
        position: relative;
        height: 400px;
    }

    .stats-cards {
        position: relative;
        transform: none;
        right: auto;
        top: auto;
        padding: 40px 20px;
        align-items: center;
        background: linear-gradient(to bottom, transparent, rgba(0,0,0,0.7));
        margin-top: -200px;
    }

    .stats-card {
        width: 100%;
        max-width: 400px;
    }
}

@media (max-width: 768px) {
    .about-section {
        padding: 40px 20px;
        gap: 30px;
    }

    .about-left h2 {
        font-size: 2rem;
    }

    .about-left p {
        font-size: 1rem;
    }

    .stats-section {
        border-radius: 15px;
    }

    .stats-bg {
        height: 300px;
    }

    .stats-cards {
        margin-top: -150px;
        padding: 30px 15px;
        gap: 20px;
    }

    .stats-card {
        width: 100%;
        max-width: 100%;
        padding: 20px 25px;
    }

    .stats-card h2 {
        font-size: 2.5rem;
    }
}

@media (max-width: 576px) {
    .about-section {
        padding: 30px 15px;
    }

    .about-left h2 {
        font-size: 1.8rem;
        line-height: 1.3;
    }

    .about-left p {
        font-size: 0.95rem;
    }

    .stats-card h2 {
        font-size: 2rem;
    }

    .stats-card h4 {
        font-size: 12px;
    }

    .stats-card p {
        font-size: 12px;
    }
}

/* ========== FIN ABOUT SECTION ========== */


 /* ---------- SECCIÓN QR ---------- */

.qr-section {
    padding: 100px 0;
}

.qr-image {
    width: 200px;
    height: auto;
}

.section-title {
    font-size: 56px;
    font-weight: 900;
    color: #7BBF32;
}

.section-description {
    font-size: 15px;
    margin-top: 20px;
    margin-bottom: 30px;
    color: #555;
}

.btn-green {
    background: #A7D129;
    color: #fff;
    border: none;
    padding: 12px 30px;
    font-weight: 600;
    border-radius: 30px;
    transition: 0.2s ease-in-out;
}

.btn-green:hover {
    background: #8bb424;
}

.card-text{
    color: white;

}
.btn {
    color: white;
}


/* ========== FOOTER MEJORADO ========== */
/* ELIMINAR CUALQUIER MARGEN EXTRAÑO */
body, html {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

/* ========== FOOTER REDISEÑADO ========== */

.custom-footer {
    background-color: #f8f9fa;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    padding: 30px 0;
    color: #333;
    border-top: 1px solid #e0e0e0;
    margin-top: 50px;
}

.footer-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto auto;
    gap: 20px 40px;
    align-items: start;
}

/* Logo y descripción - primera fila, primera columna */
.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    grid-column: 1;
    grid-row: 1;
}

.footer-logo {
    width: 60px;
    height: auto;
    margin-bottom: 12px;
}

.f-text {
    font-size: 14px;
    color: #666;
    margin: 0;
    line-height: 1.4;
}

/* Navegación - segunda fila, primera columna (debajo del logo) */
.nav-box {
    display: flex;
    flex-direction: row;
    gap: 20px;
    justify-content: flex-start;
    grid-column: 1;
    grid-row: 2;
}

.nav-box a {
    color: #333 !important;
    text-decoration: none !important;
    font-weight: 600;
    font-size: 14px;
    transition: 0.3s;
}

.nav-box a:hover {
    color: #4F7F2B !important;
}

/* Redes sociales - primera fila, segunda columna */
.social-box {
    grid-column: 2;
    grid-row: 1;
    display: flex;
    justify-content: flex-end;
}

.social-icons {
    display: flex;
    gap: 12px;
}

.social-icons img {
    width: 28px;
    height: auto;
    transition: all 0.3s ease;
    cursor: pointer;
}

.social-icons img:hover {
    transform: translateY(-3px) scale(1.1);
    filter: drop-shadow(0 3px 8px rgba(79, 127, 43, 0.4));
}

/* Copyright - tercera fila, primera columna */
.footer-bottom-text {
    grid-column: 1;
    grid-row: 3;
    display: flex;
    gap: 5px;
    padding-top: 10px;
}

.f-sub {
    font-size: 12px;
    color: #888888;
    margin: 0;
}

/* All Rights Reserved - tercera fila, segunda columna */
.footer-wrapper::after {
    content: 'All Rights Reserved';
    grid-column: 2;
    grid-row: 3;
    text-align: right;
    font-size: 12px;
    color: #888888;
}

/*DESPLEGABLE PARA PROGRAMAS - FOOTER*/
.footer-dropdown {
    display: flex;
    align-items: center;
}

.footer-dropdown > a {
    font-weight: 600;
    font-size: 14px;
    color: #333;
    text-decoration: none;
}

.footer-dropdown > a::after {
    margin-left: 6px;
    vertical-align: middle;
}

.dropdown-menu .dropdown-item:hover,
.dropdown-menu .dropdown-item:focus {
    color: #fff !important;
}


/* RESPONSIVE */
@media (max-width: 768px) {
    .footer-wrapper {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto auto auto;
        gap: 25px;
        text-align: center;
    }
    
    .footer-brand {
        grid-column: 1;
        grid-row: 1;
        align-items: center;
    }
    
    
    .social-box {
        grid-column: 1;
        grid-row: 2;
        justify-content: center;
    }
    .nav-box {
        grid-column: 1;
        grid-row: 3;
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }
    
    .footer-bottom-text {
        grid-column: 1;
        grid-row: 4;
        justify-content: center;
    }
    
    .footer-wrapper::after {
        grid-column: 1;
        grid-row: 5;
        text-align: center;
        padding-top: 0;
    }
}


 /* ========== ESTILOS MEJORADOS PÁGINA APP ========== */

/* --- CONTENIDO PRINCIPAL --- */
.app-main-content {
    padding: 0;
    max-width: 100%;
}

/* ========== 1. HERO SECTION MEJORADO ========== */
.app-hero-section {
    padding: 80px 5%;
    max-width: 1400px;
    margin: 0 auto;
    animation: fadeIn 0.8s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.app-hero-container {
    display: flex;
    gap: 80px;
    align-items: center;
}

/* QR Container mejorado */
.qr-container {
    flex-shrink: 0;
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 30px;
    padding: 30px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
    animation: slideInLeft 0.8s ease;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.qr-container:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 50px rgba(127, 176, 51, 0.2);
}

.qr-code-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 15px;
}

/* Texto del hero mejorado */
.app-hero-text {
    flex: 1;
    animation: slideInRight 0.8s ease;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.app-hero-text h1 {
    font-size: 3.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #7FB033 0%, #4F7F2B 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 25px;
    line-height: 1.2;
}

.app-hero-text p {
    font-size: 1.15rem;
    color: #666;
    line-height: 1.8;
    margin-bottom: 35px;
    font-weight: 400;
}

/* Botón principal mejorado */
.btn-app-primary {
    background: linear-gradient(135deg, #c7dd58 0%, #b5ca45 100%);
    color: white;
    border: none;
    padding: 16px 40px;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    box-shadow: 0 6px 20px rgba(199, 221, 88, 0.35);
    display: inline-block;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.btn-app-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s;
}

.btn-app-primary:hover::before {
    left: 100%;
}

.btn-app-primary:hover {
    background: linear-gradient(135deg, #b5ca45 0%, #c7dd58 100%);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 30px rgba(199, 221, 88, 0.5);
    color: white;
}

/* ========== 2. FEATURES SECTION MEJORADA ========== */
.app-features-section {
    padding: 80px 5%;
    max-width: 1400px;
    margin: 0 auto;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    margin-bottom: 80px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 60px;
    padding-bottom: 0;
    border-bottom: none;
}

/* Feature items mejorados */
.feature-item {
    padding: 30px 25px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.4s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.feature-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(127, 176, 51, 0.2);
}

.feature-item hr {
    display: none; /* Eliminar las líneas */
}

/* Iconos mejorados */
.feature-icon {
    font-size: 3rem;
    color: #7FB033;
    margin-bottom: 20px;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #e8f5d0 0%, #d4eab8 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.feature-item:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
    background: linear-gradient(135deg, #c7dd58 0%, #b5ca45 100%);
    color: white;
}

.feature-item h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #333;
    line-height: 1.3;
}

.feature-item p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* ========== 3. CTA BOTTOM MEJORADO ========== */
.app-cta-bottom {
    text-align: center;
    padding: 50px 20px 0;
    max-width: 900px;
    margin: 0 auto;
}

.app-cta-bottom p {
    font-size: 1.2rem;
    color: #666;
    line-height: 1.8;
    margin-bottom: 35px;
    font-weight: 400;
}

/* Botón secundario mejorado */
.btn-app-secondary {
    background: linear-gradient(135deg, #7FB033 0%, #5A8C24 100%);
    color: white;
    border: none;
    padding: 16px 45px;
    border-radius: 30px;
    font-size: 1.05rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    box-shadow: 0 6px 20px rgba(127, 176, 51, 0.35);
    display: inline-block;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.btn-app-secondary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-app-secondary:hover::before {
    width: 400px;
    height: 400px;
}

.btn-app-secondary:hover {
    background: linear-gradient(135deg, #4F7F2B 0%, #3A5E20 100%);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 30px rgba(127, 176, 51, 0.5);
    color: white;
}

/* ========== RESPONSIVE ========== */

@media (max-width: 1200px) {
    .app-hero-container {
        gap: 60px;
    }
    
    .qr-container {
        width: 250px;
        height: 250px;
    }
    
    .app-hero-text h1 {
        font-size: 3rem;
    }
}

@media (max-width: 992px) {
    .app-hero-section {
        padding: 60px 5%;
    }
    
    .app-hero-container {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }
    
    .qr-container {
        width: 280px;
        height: 280px;
        margin: 0 auto;
    }
    
    .app-hero-text h1 {
        font-size: 2.8rem;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .app-features-section {
        padding: 60px 5%;
        margin-bottom: 60px;
    }
}

@media (max-width: 768px) {
    .app-hero-section {
        padding: 50px 5%;
    }
    
    .app-hero-text h1 {
        font-size: 2.2rem;
    }
    
    .app-hero-text p {
        font-size: 1rem;
    }
    
    .qr-container {
        width: 240px;
        height: 240px;
        padding: 25px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .app-features-section {
        padding: 50px 30px;
        border-radius: 20px;
    }
    
    .feature-item {
        padding: 25px 20px;
    }
    
    .feature-icon {
        width: 70px;
        height: 70px;
        font-size: 2.5rem;
    }
    
    .app-cta-bottom p {
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .app-hero-section {
        padding: 40px 20px;
    }
    
    .app-hero-text h1 {
        font-size: 1.9rem;
    }
    
    .app-hero-text p {
        font-size: 0.95rem;
    }
    
    .qr-container {
        width: 200px;
        height: 200px;
        padding: 20px;
    }
    
    .btn-app-primary,
    .btn-app-secondary {
        width: 100%;
        max-width: 300px;
        padding: 14px 30px;
        font-size: 0.95rem;
    }
    
    .app-features-section {
        padding: 40px 20px;
    }
    
    .feature-item h3 {
        font-size: 1rem;
    }
    
    .feature-item p {
        font-size: 0.9rem;
    }
    
    .app-cta-bottom {
        padding: 40px 15px 0;
    }
}

/* ========== FIN ESTILOS APP ========== */
/* ========== ESTILOS FORMULARIO DONACIÓN - MEJORADO ========== */

/* CONTENEDOR GENERAL */
.contact-container {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 80px;
    padding: 80px 5%;
    max-width: 1400px;
    margin: 60px auto;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

/* Columna izquierda (título + imagen) */
.left-side {
    display: flex;
    flex-direction: column;
    gap: 50px;
    flex: 1;
    max-width: 450px;
}

.title {
    font-family: sans-serif;
    font-size: 2.8rem;
    line-height: 1.3;
    font-weight: 800;
    color: #7BBF32;
    margin: 0;
}

/* IMAGEN IZQUIERDA */
.left-img {
    position: relative;
    overflow: hidden;
    border-radius: 25px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.left-img img {
    width: 100%;
    height: auto;
    border-radius: 25px;
    transition: transform 0.5s ease;
}

.left-img:hover img {
    transform: scale(1.05);
}

/* FORMULARIO */
.contact-form {
    flex: 1;
    max-width: 550px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* LABELS */
.contact-form label {
    font-family: sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    color: #333;
    margin-bottom: -12px;
    letter-spacing: 0.3px;
}

/* INPUTS / TEXTAREA / SELECT */
.contact-form input,
.contact-form textarea,
.contact-form select {
    width: 100%;
    padding: 14px 20px;
    border-radius: 15px;
    border: 2px solid #e0e0e0;
    background: #ffffff;
    font-size: 1rem;
    font-family: sans-serif;
    color: #333;
    outline: none;
    transition: all 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
    border-color: #7FB033;
    box-shadow: 0 0 0 4px rgba(127, 176, 51, 0.1);
    background: #ffffff;
}

.contact-form input:hover,
.contact-form textarea:hover,
.contact-form select:hover {
    border-color: #c7dd58;
}

/* TEXTAREA específico */
.contact-form textarea {
    height: 140px;
    resize: vertical;
    min-height: 100px;
    max-height: 300px;
}

/* SELECT */
.contact-form select {
    appearance: none;
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' fill='%237FB033' viewBox='0 0 16 16'%3E%3Cpath d='M1.5 5.5l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 16px;
    padding-right: 45px;
}

/* PLACEHOLDERS */
.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #999;
    opacity: 1;
}

/* MENSAJES DE ERROR */
.error-msg {
    color: #d32f2f;
    font-size: 0.85rem;
    margin-top: -15px;
    display: none;
    font-weight: 500;
}

.error-msg.show {
    display: block;
}

/* BOTÓN ENVIAR */
.submit-btn {
    font-family: sans-serif;
    width: 100%;
    max-width: 250px;
    padding: 16px 0;
    margin-top: 10px;
    border: none;
    border-radius: 30px;
    background: linear-gradient(135deg, #c7dd58 0%, #b5ca45 100%);
    color: white;
    font-size: 1.05rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    box-shadow: 0 6px 20px rgba(199, 221, 88, 0.35);
    align-self: flex-start;
    position: relative;
    overflow: hidden;
}

.submit-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.submit-btn:hover::before {
    width: 400px;
    height: 400px;
}

.submit-btn:hover {
    background: linear-gradient(135deg, #7FB033 0%, #5A8C24 100%);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(127, 176, 51, 0.5);
}

.submit-btn:active {
    transform: translateY(-1px);
    box-shadow: 0 5px 15px rgba(127, 176, 51, 0.4);
}

/* Estados de validación */
.contact-form input:invalid:not(:placeholder-shown),
.contact-form textarea:invalid:not(:placeholder-shown),
.contact-form select:invalid:not(:placeholder-shown) {
    border-color: #f44336;
}

.contact-form input:valid,
.contact-form textarea:valid,
.contact-form select:valid {
    border-color: #e0e0e0;
}

/* RESPONSIVE */

@media (max-width: 1024px) {
    .contact-container {
        gap: 60px;
        padding: 60px 5%;
    }
    
    .title {
        font-size: 2.4rem;
    }
}

@media (max-width: 768px) {
    .contact-container {
        flex-direction: column;
        align-items: center;
        padding: 50px 30px;
        gap: 40px;
    }
    
    .left-side {
        align-items: center;
        text-align: center;
        max-width: 100%;
    }
    
    .left-img {
        display: none; /* Ocultar imagen en móvil */
    }
    
    .contact-form {
        width: 100%;
        max-width: 500px;
    }
    
    .title {
        font-size: 2rem;
    }
    
    .submit-btn {
        width: 100%;
        max-width: 100%;
        align-self: center;
    }
}

@media (max-width: 576px) {
    .contact-container {
        padding: 40px 20px;
        border-radius: 20px;
    }
    
    .title {
        font-size: 1.8rem;
    }
    
    .contact-form {
        gap: 18px;
    }
    
    .contact-form label {
        font-size: 0.9rem;
    }
    
    .contact-form input,
    .contact-form textarea,
    .contact-form select {
        padding: 12px 16px;
        font-size: 0.95rem;
    }
    
    .submit-btn {
        padding: 14px 0;
        font-size: 1rem;
    }
}

/* ========== FIN ESTILOS FORMULARIO ========== */
/* ========== ESTILOS PÁGINA DE DONACIÓN - MEJORADOS ========== */

/* ========== 1. HERO SECTION MEJORADO ========== */

.hero-section {
    display: flex;
    gap: 60px;
    align-items: center;
    padding: 80px 5%;
    max-width: 1400px;
    margin: 0 auto;
    animation: fadeIn 0.8s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-text {
    flex: 1;
    animation: slideInLeft 0.8s ease;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero-text h2 {
    font-family: sans-serif;
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 25px;
    line-height: 1.2;
    color: #7BBF32;

}

.hero-text h3{
    font-family: sans-serif;
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 25px;
    line-height: 1.2;
    color: #7BBF32;
}

.hero-text p {
    font-family: sans-serif;
    font-size: 1.15rem;
    color: #666;
    line-height: 1.8;
    margin-bottom: 35px;
    font-weight: 400;
}

/* Botón hero mejorado */
.btn-donate-link {
    font-family: sans-serif;
    background: linear-gradient(135deg, #c7dd58 0%, #b5ca45 100%);
    color: white;
    border: none;
    padding: 16px 40px;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    box-shadow: 0 6px 20px rgba(199, 221, 88, 0.35);
    display: inline-block;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.btn-donate-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s;
}

.btn-donate-link:hover::before {
    left: 100%;
}

.btn-donate-link:hover {
    background: linear-gradient(135deg, #b5ca45 0%, #c7dd58 100%);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 30px rgba(199, 221, 88, 0.5);
    color: white;
}

.btn-donate-link:active {
    transform: translateY(-1px);
    box-shadow: 0 5px 15px rgba(199, 221, 88, 0.4);
}

/* Imagen hero mejorada */
.hero-img-container {
    flex-shrink: 0;
    width: 100%; 
    max-width: 290px;
    border-radius: 10px;
    overflow: visible;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    height: auto;
    min-height: 0;

}

.hero-image-dona{
    width: 100%;
    height: auto;
    max-height: none;
    object-fit: contain;
    border-radius: 10px;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero-img-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.hero-image-dona {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.hero-img-container:hover .hero-image-dona {
    transform: scale(1.08);
}

/* ========== 2. TÍTULO "PARA QUÉ SIRVEN" ========== */

.hero-section .hero-text h2:not(:first-child) {
    margin-top: 80px;
    text-align: center;
}

/* ========== 3. CARDS PERSONALIZADAS MEJORADAS ========== */

.cards-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    padding: 50px 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.card-custom {
    background: linear-gradient(180deg, #A8D14F 0%, #7FB033 100%);
    border-radius: 25px;
    padding: 0;
    width: 320px;
    color: white;
    text-align: left;
    display:flex;
    flex-direction: column;
    height: 100%;
    min-height: 450px;
    box-shadow: 0 10px 30px rgba(79, 127, 43, 0.25);
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    position: relative;
    overflow: hidden;
}

.card-custom::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    transition: transform 0.6s ease;
}

.card-custom:hover::before {
    transform: translate(-25%, -25%);
}

.card-custom:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 20px 50px rgba(79, 127, 43, 0.4);
}

.card-custom img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 25px 25px 0 0;
    margin-bottom: 0;
    transition: transform 0.4s ease;
}

.card-custom:hover img {
    transform: scale(1.05) rotate(2deg);
}

.card-custom h4 {
    margin: 20px 25px 15px;
    font-weight: 700;
    font-size: 1.15rem;
    line-height: 1.3;
}

.card-custom p {
    font-size: 0.95rem;
    line-height: 1.6;
    font-weight: 400;
    opacity: 0.95;
    margin: 0 25px 25px;
    flex-grow: 1;
}

/* ========== 4. GRID DE IMPACTO MEJORADO ========== */

.impacto-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 50px auto;
    padding: 0 5%;
    max-width: 1400px;
}

.card-impacto-3 {
    height: 250px;
    border-radius: 20px;
    padding: 30px;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.card-impacto-3::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(79, 127, 43, 0.3) 0%, rgba(0, 0, 0, 0.4) 100%);
    z-index: 1;
    transition: opacity 0.4s ease;
}

.card-impacto-3:hover::before {
    opacity: 0.7;
}

.card-impacto-3:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.card-impacto-3 h3 {
    font-size: 2rem;
    font-weight: 800;
    margin: 0 0 10px 0;
    line-height: 1.2;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.6);
    position: relative;
    z-index: 2;
}

.card-impacto-3 p {
    font-size: 1rem;
    margin: 0;
    font-weight: 500;
    line-height: 1.4;
    text-shadow: 1px 1px 6px rgba(0, 0, 0, 0.6);
    position: relative;
    z-index: 2;
}

/* ========== 5. SECCIÓN TÍTULO "FORMAS DE DONAR" ========== */

.section-title {
    font-size: 3rem;
    font-weight: 900;
     color: #7BBF32;
    text-align: center;
    margin: 60px 0 40px;
}

/* ========== 6. CARDS GRANDES DE DONACIÓN ========== */

.cards-grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin: 0 auto 80px;
    padding: 0 5%;
    max-width: 1400px;
}

.donation-type-card {
    background: linear-gradient(135deg, #e8f5d0 0%, #d4eab8 100%);
    color: #333;
    padding: 50px 40px;
    border-radius: 25px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 280px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    position: relative;
    overflow: hidden;
}

.donation-type-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(127, 176, 51, 0.15) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.donation-type-card:hover::before {
    opacity: 1;
}

.donation-type-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 50px rgba(127, 176, 51, 0.25);
}

.donation-type-card h2 {
    font-family: sans-serif;
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #7FB033 0%, #4F7F2B 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 15px;
    line-height: 1.2;
}

.donation-type-card p {
    font-family: sans-serif;
    font-size: 1.15rem;
    font-weight: 500;
    color: #555;
    margin-bottom: 30px;
    line-height: 1.6;
}

.btn-donate-footer {
    background: linear-gradient(135deg, #7FB033 0%, #5A8C24 100%);
    color: white;
    border: none;
    padding: 14px 35px;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    box-shadow: 0 4px 15px rgba(127, 176, 51, 0.4);
    align-self: flex-start;
    text-decoration: none;
    display: inline-block;
    position: relative;
    overflow: hidden;
}

.btn-donate-footer::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-donate-footer:hover::before {
    width: 300px;
    height: 300px;
}

.btn-donate-footer:hover {
    background: linear-gradient(135deg, #4F7F2B 0%, #3A5E20 100%);
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 8px 30px rgba(79, 127, 43, 0.6);
    color: white;
}

/* ========== RESPONSIVE ========== */

@media (max-width: 1200px) {
    .hero-section {
        gap: 40px;
        padding: 60px 5%;
    }
    
    .hero-img-container {
        width: 400px;
        height: 350px;
    }
}

@media (max-width: 992px) {
    .hero-section{
        min-height: auto !important;
        height: auto;
        padding-top: 0 !important;
        padding-bottom: 32px;
    }

    .hero-img-container {
        display: none;
    }

    .hero-image-dona {
        display: none;
    }

    .hero-text {
        text-align: center;
    }
    
    .hero-text h2 {
        font-size: 2.8rem;
    }

    .hero-text h3 {
        font-size: 1.3rem;
    }

    .cards-container {
    grid-template-columns: repeat(2, 1fr);
}
    
    .impacto-grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .cards-grid-2 {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/*Tablets - 2 columnas con tercera card centrada */
@media (min-width: 769px) and (max-width: 992px) {
    .impacto-grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Centrar la tercera card */
    .card-impacto-3:nth-child(3) {
        grid-column: 1 / -1;
        max-width: 50%;
        margin: 0 auto;
    }
}



@media (max-width: 768px) {

    .hero-section{
        min-height: auto !important;
        height: auto !important;
        padding-top: 24px !important;
        padding: 0;
        margin: 0 !important;
    }

    .hero-img-container {
        display: none !important;
    }

    .hero-image-dona{
        display: none !important;
    }
    .hero-text h2 {
        font-size: 2.2rem;
    }
    
    .hero-text p {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 2.2rem;
    }

    .cards-container {
    grid-template-columns: 1fr;
}
    
    .impacto-grid-3 {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .card-impacto-3 {
        height: 200px;
        padding: 25px;
    }
    
    .card-impacto-3 h3 {
        font-size: 1.6rem;
    }
    
    .donation-type-card {
        padding: 40px 30px;
        min-height: 250px;
        text-align: center;
    }
    
    .donation-type-card h2 {
        font-size: 2rem;
    }
    
    .btn-donate-footer {
        align-self: center;
    }

    
}

@media (max-width: 576px) {
    .hero-section {
        display: block !important;
        min-height: 0;
        height: auto;
        padding: 0;
        margin: 0;        
    }

    .hero-img-container {
        display: none !important;
    }

    .hero-image-dona{
        display: none !important;
    }
    
    .hero-text h2 {
        font-size: 1.9rem;
    }
    
    
    .cards-container {
        padding: 40px 20px;
    }
    
    .card-custom {
        width: 100%;
        max-width: 350px;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .donation-type-card h2 {
        font-size: 1.8rem;
    }
    
    .donation-type-card p {
        font-size: 1rem;
    }
}

/* ========== FIN ESTILOS DONACIÓN ========== */

/* ------------------------------- CSS PARA PROGRAMAS ----------------------------------- */


/* Base / Reset */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: sans-serif;
    color: var(--color-text-dark);
    line-height: 1.6;
    background-color: var(--color-section-bg);
}

a {
    text-decoration: none;
    color: inherit;
}

/* --- CONTENIDO PRINCIPAL --- */

main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 5%;
}

.section-title-highlight {
    font-size: 2.5em;
    font-weight: 700;
    color: #7BBF32;
    margin-bottom: 20px;
}

/* --- 1. HERO/INTRO --- */

.hero-intro {
    display: flex;
    gap: 40px;
    align-items: center;
    padding: 50px 0;
}

.hero-text {
    flex: 1;
}

.hero-text h1 {
    font-size: 3em;
    font-weight: 700;
    color: #7BBF32;
    margin-bottom: 20px;
}

.hero-text p {
    color: #666;
    margin-bottom: 25px;
}

.btn-highlight {
    background-color: var(--color-highlight-yellow);
    color: var(--color-text-light);
    padding: 12px 25px;
    border-radius: 5px;
    font-weight: 600;
    display: inline-block;
    transition: background-color 0.3s;
}

.btn-highlight:hover {
    background-color: #8c9b24;
}

.hero-image-container {
    flex-shrink: 0 !important;
    width: 100% !important;
    max-width: 500px !important;
    border-radius: 10px;
}

.hero-image {
    padding-top: 72px;
    width: 100% !important;
    height: auto !important;
    max-height: 500px !important;
    object-fit: contain;
    border-radius: 10px;
    animation: fadeIn 0.8s ease;
}

/* --- 2. A QUIÉN VA DIRIGIDO --- */

.target-section {
    padding: 40px 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.target-header {
    display: flex;
    gap: 40px;
    align-items: center;
    margin-bottom: 30px;
}

.target-image-container {
    flex-shrink: 0;
    width: 250px;
    height: 150px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.target-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.target-text h2 {
    font-size: 2.2em;
    font-weight: 700;
    color: #7BBF32;
    margin-bottom: 10px;
}

.target-text h3 {
    font-size: 1.7em;
    font-weight: 600;
    color: #8a8888;
    margin-bottom: 10px;
}

.target-text p {
    color: #666;
}

.target-points {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    padding: 20px 0;
}

.target-item h3 {
    font-size: 28;
    font-weight: 700;
    color: #8a6a2f; 
    margin-bottom: 5px;
}

.target-item p {
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    margin: 0;
    font-weight: bold;

}

/* --- 3. QUÉ INCLUYE EL PROGRAMA (Grilla de 6 íconos) --- */

/* --- TITULO --- */
.section-title {
    font-size: 36px;
    font-weight: 700;
    color: #7BBF32; 
    margin-bottom: 40px;
    text-align: left;
}

.section-title-p1{
    font-size: 36px;
    font-weight: 700;
    color: #7BBF32; 
    margin-bottom: 40px;
    text-align: left;
}

/* --- GRID DE 3 COLUMNS --- */
.includes-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* --- TARJETAS --- */
.include-card {
    background: linear-gradient(#d7ee9b, #517e03);
    color: #fff;
    padding: 28px;
    border-radius: 24px;
    box-shadow: 0px 4px 14px rgba(0,0,0,0.15);
    display: flex;
    flex-direction: column;
    gap: 18px;
    transition: 0.25s ease;
}

/* ÍCONO */
.include-card img {
    width: 70px;
    height: 70px;
    object-fit: contain;
    filter: brightness(0) invert(1); 
}

/* TEXTO */
.include-card p {
    font-family: sans-serif;
    font-size: 0.95rem;
    font-weight: 400;
    line-height: 1.8;
    color: #f5f5f5;
}

.include-card h2 {
    font-family: sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
    line-height: 1.3;
    color: #ffffff;
    margin-bottom: 8px;
}

/* HOVER */
.include-card:hover {
    transform: translateY(-5px);
    opacity: 0.93;
}


/* --- SEGUNDA IMAGEN (COMO SE TRABAJA Y IMPACTO) --- */

/* --- 4. CÓMO SE TRABAJA (Metodología) --- */

.how-we-work-section {
    padding: 50px 0;
}

.work-content {
    display: flex;
    gap: 40px;
    align-items: center;
}

.work-image-container {
    flex-shrink: 0;
    width: 100%; 
    border-radius: 10px;
    max-width: 500px;
}

.work-image {
    width: 100%;
    height: auto;
    object-fit: contain;
    max-height: 420px;
    border-radius: 10px;
}

.work-text {
    flex: 1;
}

.work-text p {
    margin-bottom: 20px;
    font-weight: 600;
    color: #666;
    font-family: sans-serif;
    font-size: 25px;
}

.work-text h5 {
    margin-bottom: 15px;
    font-weight: 600;
    color: #7BBF32;
    font-family: sans-serif;
    font-size: 18px;
}

.methodology-list {
    list-style: none;
    color: #7BBF32;
}

.methodology-list li {
    font-size: 1em;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    font-weight: 500;
}

.methodology-list i {
    margin-right: 10px;
    color: #5D8A2B;
    font-size: 1.2em;
}

/*--------------IMPACTO ESPERADO---------*/

/*.impacto-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin: 20px 0;
}

.card-impacto {
    height: 160px;
    border-radius: 10px;
    background-size: cover;
    background-position: center;
    display: flex;
    position: relative;
    color: #fff;
    font-weight: 700;
    line-height: 1.2;
    align-items: flex-start;
    padding: 25px;
}

.card-impacto h3 {
    text-shadow: 0 2px 6px rgba(0,0,0,0.4);
    margin: 0;
    font-size: 18px;
}*/

@media (max-width: 900px) {
    .impacto-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

@media (max-width: 900px) {
    .cards-impacto {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 500px) {
    .cards-impacto {
        grid-template-columns: 1fr;
    }
}


/* TESTIMONIOS */
.testimonio {
    margin-bottom: 35px;
}

.testimonio-text {
    font-size: 22px;
    font-weight: 200;
    color: #333;
    margin-bottom: 10px;
    font-weight: bold;
}

.autor {
    font-size: 14px;
    color: #555;
}

/* BOTONES */
.btn-container {
    margin-top: 20px;
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.btn-verde {
    background: #5D8A2B;
    color: white;
    padding: 12px 25px;
    border: none;
    border-radius: 30px;
    font-size: 14px;
    cursor: pointer;
}

.btn-verde:hover {
    background-color: #7CC000;
}

.btn-outline {
    background: transparent;
    color: #5D8A2B;
    border: 2px solid #5D8A2B;
    padding: 10px 22px;
    border-radius: 30px;
    font-size: 14px;
    cursor: pointer;
}


/* RESPONSIVE */
@media (max-width: 768px) {
    .impacto-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .impacto-cards {
        grid-template-columns: 1fr;
    }

    .btn-container .btn-verde{
        margin: 20px auto 0;
        display: block;
    }
}

/* --- Media Queries (Responsivo) --- */
@media (max-width: 1024px) {
    .hero-intro, .target-header, .work-content, .testimonial-section {
        flex-direction: column;
        text-align: center;
    }
    .hero-image-container, .work-image-container, .testimonial-image-container {
        width: 100%;
        height: 300px;
    }
    .target-points, .includes-grid, .impact-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .work-text, .testimonial-content {
        text-align: left;
    }
    .testimonial-content blockquote {
        text-align: center;
    }

    .target-image-container{ /*ESTA LINEA LA PUSE PARA OCULTAR LA IMAGEN DE PROGRAMAS2*/
        display: none;
    }

    .hero-image-container .hero-image {
        align-items: flex-start;
    }
}

@media (max-width: 768px) {
    .header {
        flex-wrap: wrap;
        justify-content: center;
    }
    .nav {
        flex-basis: 100%;
        margin: 10px 0;
    }
    .nav a {
        margin: 0 8px;
    }
    .header-actions {
        width: 100%;
        justify-content: center;
        margin-top: 10px;
    }
    .hero-text h1, .target-text h2 {
        font-size: 2em;
    }
    .target-points, .includes-grid, .impact-grid {
        grid-template-columns: 1fr;
    }

    .target-image-container{ /*ESTA LINEA LA PUSE PARA OCULTAR LA IMAGEN DE PROGRAMAS2*/
        display: none;
    }

    .work-text p {
        font-size: 1rem !important;
        line-height: 1.25;
    } 

    .testimonio-text{
        font-size: 1rem !important;
        line-height: 1.25;
    }
}

@media (max-width: 768px) {
    .target-points {
        display: flex;
        flex-direction: column;
        gap: 12px;
        padding: 0 12px;
    }

    .target-item {
        background: #fff;
        padding: 14px 16px;
        border-radius: 14px;
        box-shadow: 0 4px 14px rgba(0,0,0,0.08);
        display: flex;
        gap: 6px;
        flex-direction: column;
        text-align: center;
    }
    .target-item h3 {
        margin: 0;
        font-size: 1.4rem;
        line-height: 1;
        flex-shrink: 0;
    }
    .target-item p {
        margin: 0;
        font-size: 0.95rem;
        line-height: 1.4;
    }

}

/* ------------------------------ CSS QUIENES SOMOS -------------------------------------- */

:root {
    --color-green-dark: #38761d;
    --color-green-light: #52b12f;
    --color-highlight-yellow: #a2b12f; /* Verde amarillento */
    --color-text-dark: #333;
    --color-text-light: #fff;
    --color-background-light: #f4f4f4; 
    --color-footer-text: #666;
    --color-section-bg: #fff;
    --color-card-shadow: rgba(0, 0, 0, 0.08);
}


/* --- ESTILOS GENERALES (HEADER Y FOOTER) --- */


/* --- CONTENIDO PRINCIPAL --- */

.section-title-qs {
    font-size: 2.5em;
    font-weight: 700;
    color: #7CC000;
    margin: 40px 0 30px 0;
}

/* --- 1. HERO/REGENERAMOS VIDA --- */

.hero-section {
    display: flex;
    gap: 40px;
    align-items: center;
    padding: 50px 0;
    margin-top: 80px;
}

.hero-text {
    flex: 1;
}

.hero-text h1 {
    font-size: 3em;
    font-weight: 700;
    color: #7CC000;
    margin-bottom: 20px;
}

.hero-text p {
    color: #666;
    margin-bottom: 25px;
}

.btn-highlight {
    background: #d9f0c2;
    color: white;
    border: none;
    padding: 12px 28px;
    border-radius: 30px;
    font-size: 1rem;
    cursor: pointer;
    transition: 0.3s ease;
}

.btn-highlight:hover {
    background-color: var(--color-green-dark);
}

/* --- 2. NUESTRA MISIÓN  --- */

.mission-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 30px;
}

.mission-item {
    padding: 10px;
}

.mission-item h2 {
    font-size: 1.5em;
    font-weight: 700;
    color: #85745B;
    margin-bottom: 10px;
}

.mission-item p {
    font-size: 0.9em;
    color: #666;
    font-weight: bold;
}

/* --- 3. NUESTRA HISTORIA --- */

.history-section {
    margin: 50px 0;
    height: 400px;
    position: relative;
    border-radius: 10px;
    overflow: hidden;
}

.history-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.history-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.1) 100%);
    display: flex;
    align-items: flex-end;
    padding: 40px;
    color: var(--color-text-light);
}

.history-overlay h2 {
    font-size: 2.8em;
    font-weight: 700;
    margin-bottom: 5px;
}

.history-overlay a {
    font-size: 1.1em;
    font-weight: 600;
    /*border-bottom: 2px solid var(--color-highlight-yellow);*/
    padding-bottom: 2px;
    /*color: var(--color-highlight-yellow);*/
    display: block;
}

/* --- 4. NUESTRO EQUIPO --- */

.team-grid {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 30px;
}

.team-member {
    flex: 1;
    text-align: center;
}

.member-photo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin: 0 auto 15px auto;
    overflow: hidden;
    border: 4px solid var(--color-green-light);
    box-shadow: 0 4px 10px var(--color-card-shadow);
}

.member-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-member h3 {
    font-size: 1.1em;
    font-weight: 700;
}

.team-member p {
    font-size: 0.85em;
    color: #666;
}

/* --- 5. TRANSPARENCIA Y CREDENCIALES */

.transparency-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 30px;
}

.credencial-card {
    background-color: var(--color-section-bg);
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 10px var(--color-card-shadow);
}

.credencial-card-image {
    height: 200px;
    margin-bottom: 15px;
    border-radius: 10px;
    overflow: hidden;
}

.credencial-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.credencial-card p {
    font-size: 0.9em;
    color: #666;
}

/*IMPACTO*/

.impact {
    max-width: 1200px;
    margin: auto;
    padding: 20px 20px;
}

.impact h2 {
    font-size: 2.5em;
    font-weight: 700;
    color: #7CC000;
    margin: 40px 0 30px 0;
}

/* Cards */
.impact-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 50px;
}

.impact-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
}

.impact-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.impact-card h3 {
    margin-top: 12px;
    font-size: 14px;
    font-weight: 600;
    color: #1f1f1f;
}

.impact-label {
    position: absolute;
    top: 14px;
    left: 14px;
    right: 14px;
    z-index: 2;

    font-size: 15px;
    font-weight: 600;
    color: #ffffff;

    padding: 8px 10px;
    border-radius: 10px;
}

.impact-card {
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    will-change: transform;  
}

@media (hover: hover) {
     .impact-card:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 16px 40px rgba(0,0,0,0.15);
     }
}


/* Cita */
.impact-quote-cita {
    max-width: 1200px;
    font-size: 19px !important;
    line-height: 1.5;
    font-weight: 600;
    color: #1f1f1f !important;
}

.impact-quote-cita::before{
    content: "“";
}

.impact-quote-cita::after{
    content: "”";
}

.impact-quote span {
    display: block;
    margin-top: 12px;
    font-size: 13px;
    color: #7fb63c;
}

/* --- 7. TESTIMONIO FINAL */

.testimonial-final-section {
    padding: 50px 0;
    display: flex;
    gap: 40px;
    align-items: center;
}

.testimonial-image-container {
    flex-shrink: 0;
    width: 400px; 
    height: 400px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px var(--color-card-shadow);
}

.testimonial-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-content-final {
    flex: 1;
    padding: 20px;
    position: relative;
}

.testimonial-content-final blockquote {
    font-size: 1.8em;
    /*font-style: font;*/
    font-weight: 400;
    margin-bottom: 20px;
    line-height: 1.3;
}

.testimonial-content-final cite {
    display: block;
    font-style: normal;
    font-weight: 500;
    margin-bottom: 30px;
}

.testimonial-content-final::before{
    content: "“";
    position: absolute;
    top: -10px;
    left: -10px;
    font-size: 48px;
    opacity: 0.3;
} 

.testimonial-content-final::after{
    content: none;
}

.testimonial-content-final blockquote {
    position: relative; 
}

.testimonial-content-final blockquote::after {
    content: "”";
    position: absolute;
    bottom: -25px;       
    right: 0px;    
    font-size: 48px;
    opacity: 0.3;
    line-height: 1;
}

.footer-copy {
    margin-top: 20px;
    font-size: 13px;
    color: #999;
}

/*UN POCO DE HISTORIA*/

.history {
    max-width: 1200px;
    margin: auto;
    padding: 20px 20px;
}

.history-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.history-imagen img {
    width: 80%;
    height: auto;
    border-radius: 20px;
    object-fit: cover;
}

.history-text {
    font-size: 20px;
    font-weight: 600;
    color: #1f1f1f;
}

.history-text .line {
    width: 100%;
    height: 1px;
    background-color: #dcdcdc;
    margin-bottom: 25px;
}

.history-text p {
    margin-bottom: 20px;
    line-height: 1.5;
}

.history-text small {
    color: #7fb63c;
    font-size: 13px;
}

@media (max-width: 768px) {

  /* HERO */
    .hero-text h1{
        font-size: 2.2rem !important;
        line-height: 1.25;
    }

    .hero-text p {
        max-width: 100%;
        margin: 0;
    }
    
    .hero-image-container {
        height: auto;
    }

    .hero-image {
        width: 100%;
        height: auto;
        object-fit: contain;       
    }

    .section-title-qs{
        flex-direction: column;
        text-align: center;
        font-size: 2.2rem !important;
        line-height: 1.25;
    }

    .impact h2 {
    text-align: center;
    font-size: 2.2rem !important;
    line-height: 1.25;
    }

  /* TESTIMONIO */
    .testimonial-final-section {
    flex-direction: column;
    } 

    .testimonial-image-container {
    width: 100%;
    height: auto;
    }

    .testimonial-image-container img {
    height: auto;
    object-fit: contain;
    } 

  /* GRIDS */
    .mission-grid,
    .transparency-grid {
    grid-template-columns: 1fr;
    }

    .team-grid {
    flex-direction: column;
    }

    .history-content{
        display: block;
    }

    .history {
        padding: 20px;
    }

    .history h2 {
        font-size: 30px;
    }

    .history-imagen img {
        display: none;
    }

    .history-text {
        font-size: 15px;
        flex: none;
    }

    .history-text p {
        max-width: 100%;
        margin: 0;
    }

    .history-text small {
        font-size: 12px;
    }

    .impact h2 {
    font-size: 24px;
    }

    .impact-cards {
        grid-template-columns: 1fr;
    }

    .impact-card img {
        width: 100%;
        height: auto;
        object-fit: contain;
    }

    .impact-label{
        text-align: center;
        padding: 10px 15px;
        padding-top: 30px;
    }

    .credencial-card-image{
        height: auto;
    }

    .credencial-card-image img{
        height: auto;
        object-fit: contain;
    }

    .history-section{
        display: none;
    }

    .impact-quote {
        font-size: 14px;
    }

    .includes-grid{
    max-width: 90%;
    margin: 0 auto 20px auto;
    padding: 16px;
    border-radius: 16px;
    }

    .section-title-p1{
        flex-direction: column;
        text-align: center;
    }

    .section-title-highlight{
        flex-direction: column;
        text-align: center;
        font-size: 2.2rem !important;
        line-height: 1.25;
    }

    .work-text p {
        flex-direction: column;
        text-align: center;
    }

    .work-image-container{
        height: auto;
    }

    .work-image{
        width: 100%;
        height: auto;
        object-fit: contain;
    }
}


    @media (min-width: 769px) and (max-width: 1024px) {
    .navbar {
        top: 0;
        width: 100%;
        z-index: 1050; 
        background-color: #f4f4f4;
    }

    .hero-section{
        justify-content: space-between;
    }

    /* MISIÓN */
    .mission-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* EQUIPO */
    .team-grid {
        flex-wrap: wrap;
        gap: 30px;
    }

    .team-member {
        flex: 0 0 48%;
    }

    /* TRANSPARENCIA */
    .transparency-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* IMPACTO */
    .impact-cards {
    grid-template-columns: repeat(2, 1fr);
    }

    /* TESTIMONIO */
    .testimonial-final-section {
        gap: 30px;
    }

    .testimonial-image-container {
        width: 45%;
        height: auto;
    }

    .testimonial-image-container img {
        height: auto;
        object-fit: contain;
    }

    .history {
        padding: 50px 20px;
    }

    .history h2 {
        font-size: 28px;
    }

    .history-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .history-imagen img {
        display: none;
    }

    .history-text {
        font-size: 15px;
    }

    .history-text .line {
        margin-bottom: 20px;
    }

    .work-image-container{
        background: transparent;
        box-shadow: none;
        padding: 0;
        border-radius: 0;
    }

    .work-image{      
        width: 200px;  
        height: auto;
    }

    .hero-image-container {
        padding: 0;
        border-radius: 0;
    }

    .hero-image {      
        width: 200px;  
        height: auto;
    }
}

/*-------------------------css sumate----------------------------*/

/* Variables de color (ajustar según los tonos exactos) */
:root {
    --color-green-dark: #38761d;
    --color-green-light: #52b12f;
    --color-text-dark: #333;
    --color-text-light: #fff;
    --color-background-light: #f4f4f4;
    --color-footer-text: #666;
}

/* Base / Reset */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: sans-serif;
    color: var(--color-text-dark);
    line-height: 1.6;
    background-color: var(--color-text-light);
}

a {
    text-decoration: none;
    color: inherit;
}

/* 1. Header/Navbar */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
    background-color: var(--color-text-light);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.logo img {
    height: 40px; /* Ajustar el tamaño del logo */
}

.nav a {
    margin-left: 25px;
    font-weight: 600;
    font-size: 15px;
    color: var(--color-text-dark);
}

.header-actions {
    display: flex;
    align-items: center;
}

.language-selector {
    font-size: 12px;
    margin-right: 15px;
    font-weight: 600;
}

.language-selector .lang-active {
    color: var(--color-green-dark);
}

.language-selector .separator {
    color: #ccc;
    margin: 0 5px;
}

.btn-company {
    background-color: var(--color-green-light);
    color: var(--color-text-light);
    padding: 8px 15px;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 600;
}


/* 2. Hero Section */
.hero-section {
    position: relative;
    height: 60vh; /* Altura del banner, ajustar si es necesario */
    /* Reemplazar con el path de tu imagen de fondo */
    background-image: url('Screenshot 2025-12-03 141425-bg.png'); 
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
}

.hero-content-overlay {
    background-color: rgba(0, 0, 0, 0.3); /* Overlay oscuro para mejor legibilidad */
    width: 100%;
    padding: 40px 5%;
}

.hero-content {
    max-width: 600px;
    color: var(--color-text-light);
}

.hero-content h1 {
    font-size: 2.5em;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.1em;
    margin-bottom: 25px;
}

.btn-primary {
    background-color: var(--color-green-light);
    color: var(--color-text-light);
    padding: 12px 25px;
    border-radius: 5px;
    font-weight: 600;
    display: inline-block;
}


/* 3. Participation Section */
.participation-section {
    padding: 50px 5%;
    background-color: var(--color-background-light);
}

.section-title {
    font-size: 2.2em;
    font-weight: 700;
    color: var(--color-green-dark);
    margin-bottom: 30px;
}

.cards-container {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.card {
    background-color: var(--color-green-dark);
    color: var(--color-text-light);
    padding: 30px;
    border-radius: 10px;
    width: 300px;
    text-align: left;
    height: 250px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
}

.card h3 {
    font-size: 1.2em;
    font-weight: 600;
    margin-top: 10px;
}

.card-icon {
    font-size: 3em;
    align-self: flex-start;
    position: relative;
    color: rgba(255, 255, 255, 0.8);
}

.card-icon .card-plus {
    font-size: 0.5em;
    position: absolute;
    bottom: -5px;
    right: -10px;
}

/* Estilo específico para la tarjeta de Donación */
.card-donacion {
    background-color: #558b2f;
}

.card-icon-small {
    position: absolute;
    top: 25px;
    right: 25px;
    background-color: #52b12f;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 16px;
    font-weight: 700;
    color: var(--color-text-light);
}

.card-link {
    background-color: rgba(255, 255, 255, 0.15);
    padding: 8px 15px;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 600;
    align-self: flex-start;
}

@media (max-width: 768px) {

  /* HERO */
    .hero-image-container {
    width: 100%;
    height: auto;
    }

    .hero-image {
    height: auto;
    object-fit: contain;
    }

  /* TESTIMONIO */
    .testimonial-final-section {
    flex-direction: column;
    } 

    .testimonial-image-container {
    width: 100%;
    height: auto;
    }

    .testimonial-image-container img {
    height: auto;
    object-fit: contain;
    } 

  /* GRIDS */
    .mission-grid,
    .transparency-grid {
    grid-template-columns: 1fr;
    }

    .team-grid {
    flex-direction: column;
    }

    .impacto-grid-4 {
    grid-template-columns: repeat(2, 1fr);
}
}

@media (max-width: 767px) {

    .row-equal-height {
    justify-content: center;
}

    .col-12 {
    display: flex;
    justify-content: center;
}

    .card-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
}

}

@media (min-width: 768px) and (max-width: 991px) {

    .row-equal-height {
    justify-content: center;
}

    .card-wrapper {
    display: flex;
    justify-content: center;
}

}

@media (min-width: 769px) and (max-width: 1024px) {
.navbar {
    top: 0;
    width: 100%;
    z-index: 1050; 
    background-color: #f4f4f4;
}

.hero-image {
  width: 100%;
}

  /* MISIÓN */
.mission-grid {
    grid-template-columns: repeat(2, 1fr);
}

  /* EQUIPO */
.team-grid {
    flex-wrap: wrap;
    gap: 30px;
}

.team-member {
    flex: 0 0 48%;
}

  /* TRANSPARENCIA */
.transparency-grid {
    grid-template-columns: repeat(2, 1fr);
}

  /* IMPACTO */
.impacto-grid-4 {
    grid-template-columns: repeat(2, 1fr);
}

  /* TESTIMONIO */
.testimonial-final-section {
    gap: 30px;
}

.testimonial-image-container {
    width: 45%;
    height: auto;
}

.testimonial-image-container img {
    height: auto;
    object-fit: contain;
}
}


/*-------------------------css sumate----------------------------*/

/* Variables de color (ajustar según los tonos exactos) */
:root {
    --color-green-dark: #38761d;
    --color-green-light: #52b12f;
    --color-text-dark: #333;
    --color-text-light: #fff;
    --color-background-light: #f4f4f4;
    --color-footer-text: #666;
}

/* Base / Reset */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: sans-serif;
    color: var(--color-text-dark);
    line-height: 1.6;
    background-color: var(--color-text-light);
}

a {
    text-decoration: none;
    color: inherit;
}

/* 1. Header/Navbar */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
    background-color: var(--color-text-light);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.logo img {
    height: 40px; /* Ajustar el tamaño del logo */
}

.nav a {
    margin-left: 25px;
    font-weight: 600;
    font-size: 15px;
    color: var(--color-text-dark);
}

.header-actions {
    display: flex;
    align-items: center;
}

.language-selector {
    font-size: 12px;
    margin-right: 15px;
    font-weight: 600;
}

.language-selector .lang-active {
    color: var(--color-green-dark);
}

.language-selector .separator {
    color: #ccc;
    margin: 0 5px;
}

.btn-company {
    background-color: var(--color-green-light);
    color: var(--color-text-light);
    padding: 8px 15px;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 600;
}


/* 2. Hero Section */
.hero-section {
    position: relative;
    height: 60vh; /* Altura del banner, ajustar si es necesario */
    /* Reemplazar con el path de tu imagen de fondo */
    background-image: url('Screenshot 2025-12-03 141425-bg.png'); 
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
}

.hero-content-overlay {
    background-color: rgba(0, 0, 0, 0.3); /* Overlay oscuro para mejor legibilidad */
    width: 100%;
    padding: 40px 5%;
}

.hero-content {
    max-width: 600px;
    color: var(--color-text-light);
}

.hero-content h1 {
    font-size: 2.5em;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.1em;
    margin-bottom: 25px;
}

.btn-primary {
    background-color: var(--color-green-light);
    color: var(--color-text-light);
    padding: 12px 25px;
    border-radius: 5px;
    font-weight: 600;
    display: inline-block;
}


/* 3. Participation Section */
.participation-section {
    padding: 50px 5%;
    background-color: var(--color-background-light);
}

.section-title {
    font-size: 2.2em;
    font-weight: 700;
    color: var(--color-green-dark);
    margin-bottom: 30px;
}

.cards-container {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.card {
    background-color: var(--color-green-dark);
    color: var(--color-text-light);
    padding: 30px;
    border-radius: 10px;
    width: 300px;
    text-align: left;
    height: 250px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
}

.card h3 {
    font-size: 1.2em;
    font-weight: 600;
    margin-top: 10px;
}

.card-icon {
    font-size: 3em;
    align-self: flex-start;
    position: relative;
    color: rgba(255, 255, 255, 0.8);
}

.card-icon .card-plus {
    font-size: 0.5em;
    position: absolute;
    bottom: -5px;
    right: -10px;
}

/* Estilo específico para la tarjeta de Donación */
.card-donacion {
    background-color: #558b2f;
}

.card-icon-small {
    position: absolute;
    top: 25px;
    right: 25px;
    background-color: #52b12f;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 16px;
    font-weight: 700;
    color: var(--color-text-light);
}

.card-link {
    background-color: rgba(255, 255, 255, 0.15);
    padding: 8px 15px;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 600;
    align-self: flex-start;
}


/* 4. Footer */
.footer {
    padding: 20px 5%;
    background-color: var(--color-text-light);
    border-top: 1px solid #eee;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
}

.footer-logo img {
    height: 25px;
    margin-right: 10px;
}

.footer-logo p {
    color: var(--color-footer-text);
    font-size: 13px;
    margin-top: 5px;
}

.footer-nav a {
    margin-left: 20px;
    color: var(--color-footer-text);
    font-weight: 600;
}

.footer-info {
    display: flex;
    color: var(--color-footer-text);
    font-size: 12px;
}

.footer-info p:first-child {
    margin-right: 20px;
}

.social-links a {
    margin-left: 15px;
    font-size: 18px;
    color: #666;
}

.social-links a:hover {
    color: var(--color-green-light);
}


/* Media Queries para diseño responsivo */
@media (max-width: 768px) {
    .header {
        flex-direction: column;
        padding: 15px 5%;
    }
    .nav {
        margin: 10px 0;
    }
    .nav a {
        margin: 0 10px;
    }
    .hero-content h1 {
        font-size: 2em;
    }
    .cards-container {
        flex-direction: column;
        align-items: center;
    }
    .card {
        width: 90%;
        max-width: 350px;
    }
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    .footer-logo, .footer-nav, .social-links, .footer-info {
        margin-bottom: 15px;
    }
    .footer-nav a {
        margin: 0 10px;
    }
}


        /*-------------------------------seccion responsive-----------------------------------*/

    
/* Media Query para pantallas pequeñas (tablets y móviles) */
@media (max-width: 992px) {
    
    /* 1. Resetear el posicionamiento problemático */
    .stats-section {
        height: auto; /* Dejar que la sección crezca verticalmente */
    }

    /* 2. Devolver las tarjetas al flujo normal */
    .stats-cards {
        position: static; /* Las devuelve al flujo normal de la página */
        top: auto;
        right: auto;
        transform: none;
        display: flex;
        flex-direction: column; /* Apila las tarjetas verticalmente */
        align-items: center; /* Las centra */
        padding: 50px 0;
        width: 100%;
    }

    /* 3. Ajustar el ancho de las tarjetas */
    .stats-card {
        width: 90%; /* Ocupa el 90% del espacio disponible */
        max-width: 400px; /* Evita que crezca demasiado en pantallas grandes de tablets */
    }
    
    /* 4. Arreglar la sección "Nosotros" para que se apilen */
    .about-section {
        flex-direction: column; /* Pone los elementos en columna */
        padding: 40px 20px;
    }
}




/* Logo en la navbar */
.navbar-brand img {
    height: 70px; /* ← AGREGADO */
    width: auto;  /* ← AGREGADO */
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    filter: drop-shadow(0 3px 10px rgba(79, 127, 43, 0.25));
}


.navbar-brand img:hover {
    transform: scale(1.05);
}

/* Logo en el footer */
.footer-logo {
    width: 120px;
    height: auto;
    margin-bottom: 15px;
}

/* Responsive */
@media (max-width: 768px) {
    .navbar-brand img {
        height: 55px; /* ← Cambiado de width a height */
        width: auto;
    }
    
    .footer-logo {
    height: 60px; /* ← Agregado */
    width: auto;  /* ← Cambiado de 90px */
}
}



/* =====================================================================
   MEJORAS PARA LA PÁGINA DE INICIO 
   ===================================================================== */

/* ========== 1. MEJORAS NAVBAR ========== */

/* Logo con efecto hover */
.navbar-brand img {
    transition: transform 0.3s ease;
     width: 100px !important;  /* ← AGREGADO */
    height: auto !important;   /* ← AGREGADO */
}

.navbar-brand:hover img {
    transform: scale(1.15) rotate(5deg); /* ← Más dramático */
    filter: drop-shadow(0 5px 20px rgba(79, 127, 43, 0.6));
}

/*BOTÓN BLOG EN NAVBAR */
.btn-blog,
button.btn-blog,
a button.btn-blog {
    background: linear-gradient(135deg, #c7dd58 0%, #b5ca45 100%);
    color: white !important;
    padding: 10px 24px;
    border-radius: 25px;
    font-size: 15px;
    font-weight: 700;
    border: none;
    box-shadow: 0 4px 15px rgba(199, 221, 88, 0.3);
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
}

.btn-blog:hover,
button.btn-blog:hover,
a button.btn-blog:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 6px 25px rgba(199, 221, 88, 0.5);
    background: linear-gradient(135deg, #b5ca45 0%, #c7dd58 100%);
    color: white !important;
}

.btn-blog:active,
button.btn-blog:active {
    transform: translateY(-1px);
    box-shadow: 0 3px 15px rgba(199, 221, 88, 0.4);
}

.btn-blog:focus,
button.btn-blog:focus {
    outline: none;
}

/* Links del navbar con línea animada */
.navbar .nav-link {
    position: relative;
    transition: all 0.3s ease;
}





.navbar .nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    width: 0;
    height: 2px;
    background: #c7dd58;
    transform: translateX(-50%);
    transition: width 0.3s ease;
}

.navbar .nav-link:hover::after {
    width: 70%;
}

.navbar .nav-link:hover {
    color: #4F7F2B !important;
}

/* Dropdown con animación */
.navbar .dropdown-menu {
    animation: fadeInDown 0.3s ease;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.navbar .dropdown-item {
    transition: all 0.3s ease;
}

.navbar .dropdown-item:hover {
    transform: translateX(5px);
}

.navbar .dropdown-item:hover strong,
.navbar .dropdown-item:hover small {
    color: white !important;
}

/* Botones de idioma */
.navbar .btn-link {
    transition: all 0.3s ease;
}

.navbar .btn-link:hover {
    color: #c7dd58 !important;
    transform: scale(1.1);
}

/* ========== 2. MEJORAS CAROUSEL ========== */

/* Altura mejorada del carousel */
.carousel-wrapper .carousel-item {
    height: 600px;
}

.carousel-wrapper .carousel-item img {
    height: 100%;
    object-fit: cover;
    filter: brightness(1.1) contrast(1.05) saturate(1.1);
    transition: all 0.5s ease;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

/* Efecto zoom al cambiar slide */
.carousel-wrapper .carousel-item.active img {
    animation: zoomIn 0.8s ease;
}

@keyframes zoomIn {
    from {
        transform: scale(1.1);
    }
    to {
        transform: scale(1);
    }
}

/* Blur box mejorado */
.carousel-blur-box {
    border-radius: 20px;
    animation: fadeInUp 0.8s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.carousel-blur-box h5 {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.4);
}

/* Botón del carousel mejorado */
.btn-carousel {
    background: linear-gradient(135deg, #c7dd58 0%, #b5ca45 100%);
    box-shadow: 0 4px 15px rgba(199, 221, 88, 0.4);
    transition: all 0.3s ease;
    margin-top: 20px;
}

.btn-carousel:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(199, 221, 88, 0.6);
}

/* Indicadores mejorados */
.carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.carousel-indicators button.active {
    background-color: #c7dd58 !important;
    transform: scale(1.3);
}

/* ========== 3. MEJORAS ABOUT SECTION ========== */

/* Título con color del diseño */
.about-left h2 {
    color: #7BBF32; 
    font-size: 2.8rem;
}

/* Botón mejorado */
.about-btn {
    background: linear-gradient(135deg, #c7dd58 0%, #b5ca45 100%);
    color: white;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(199, 221, 88, 0.3);
    transition: all 0.3s ease;
}

.about-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(199, 221, 88, 0.5);
    background: linear-gradient(135deg, #b5ca45 0%, #c7dd58 100%);
}

/* Stats cards mejoradas */
.stats-card {
    transition: all 0.3s ease;
}

.stats-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(0,0,0,0.2);
}

.stats-card h2 {
    color: #c7dd58 !important;
}

.stats-card h4 {
    color: #4F7F2B;
}
/* ========== CARDS PROGRAMAS - ALINEADAS ========== */

.card-programa {
    background: linear-gradient(180deg, #7FB033 0%, #4F7F2B 100%);
    border: none;
    border-radius: 24px;
    padding: 35px 25px;
    text-align: center;
    height: 100%; /* ← CAMBIADO: de min-height a height */
    display: flex;
    flex-direction: column;
    transition: all 0.4s ease;
    box-shadow: 0 8px 20px rgba(79, 127, 43, 0.2);
}

.card-programa:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(79, 127, 43, 0.4);
}

/* Contenedor del ícono */
.card-icon-wrapper {
    margin-bottom: 25px;
    height: 70px; /* ← NUEVO: altura fija */
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Iconos Figma nuevos  en las cards */
.card-icon-wrapper i {
    font-size: 70px;
    color: white;
    transition: transform 0.3s ease;
}

.card-programa:hover .card-icon-wrapper i {
    transform: scale(1.1) rotate(5deg);
}



.card-icon-wrapper img {
    width: 70px;
    height: 70px;
    object-fit: contain;  /* ← AGREGA SOLO ESTA LÍNEA */
    filter: brightness(0) invert(1);
    transition: transform 0.3s ease;
}

.card-programa:hover .card-icon-wrapper img {
    transform: scale(1.1) rotate(5deg);
}

/* Body de la card */
.card-programa .card-body {
    padding: 0; /* ← NUEVO */
    display: flex;
    flex-direction: column;
    flex-grow: 1; /* ← NUEVO: crece para ocupar espacio */
}

/* Texto de la card */
.card-programa .card-text {
    color: white;
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.5;
    margin-bottom: auto; /* ← NUEVO: empuja el botón abajo */
    min-height: 72px; /* ← NUEVO: altura mínima consistente */
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Botón con borde blanco */
.btn-card-outline { /* ← CAMBIADO: de .card-programa .btn a .btn-card-outline */
    background: transparent;
    border: 2px solid white;
    color: white;
    padding: 10px 24px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    margin-top: 20px; /* ← NUEVO: espacio consistente */
    align-self: center;
}

.btn-card-outline:hover { /* ← CAMBIADO */
    background: white;
    color: #4F7F2B;
    transform: scale(1.05);
    text-decoration: none;
}

/* Asegurar que todas las columnas tengan la misma altura */
.row-equal-height {
    display: flex;
    flex-wrap: wrap;
}

.row-equal-height > [class*='col-'] {
    display: flex;
}

/* Responsive */
@media (max-width: 991px) {
    .card-programa .card-text {
        min-height: auto;
    }
}

@media (max-width: 576px) {
    .card-icon-wrapper {
        height: 60px;
    }
    
    .card-icon-wrapper img {
        width: 60px;
        height: 60px;
    }
    
    .card-programa .card-text {
        font-size: 0.95rem;
    }
}

/* ========== FIN CARDS PROGRAMAS ========== */

/* ========== 4. MEJORAS CARDS VERDES (4 TARJETAS) ========== */

/* Selector específico para las 4 tarjetas verdes */
.container .row .card[style*="background-Color: #4F7F2B"] {
    transition: all 0.4s ease;
    overflow: hidden;
}

.container .row .card[style*="background-Color: #4F7F2B"]:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 40px rgba(79, 127, 43, 0.4);
}

.container .row .card[style*="background-Color: #4F7F2B"] .card-img-top {
    transition: transform 0.3s ease;
}

.container .row .card[style*="background-Color: #4F7F2B"]:hover .card-img-top {
    transform: scale(1.1) rotate(3deg);
}

.container .row .card[style*="background-Color: #4F7F2B"] .btn {
    transition: all 0.3s ease;
}

.container .row .card[style*="background-Color: #4F7F2B"] .btn:hover {
    background: white !important;
    color: #4F7F2B !important;
    transform: scale(1.05);
}

/* ========== 5. MEJORAS QR SECTION ========== */

/* ---------- SECCIÓN QR MEJORADA ---------- */

.qr-section {
    padding: 80px 0;
    max-width: 1400px;
    margin: 0 auto;
}

.qr-section .row {
    align-items: center;
}

.qr-image {
    width: 250px;
    height: auto;
    transition: transform 0.3s ease;
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.qr-image:hover {
    transform: scale(1.05);
}

.section-title {
    color: #4F7F2B;
}

.qr-section .btn-green {
    background: linear-gradient(135deg, #c7dd58 0%, #b5ca45 100%);
    color: white;
    border: none;
    padding: 16px 40px;
    font-weight: 700;
    font-size: 1rem;
    border-radius: 30px;
    box-shadow: 0 6px 20px rgba(199, 221, 88, 0.3);
    transition: all 0.3s ease;
}

.qr-section .btn-green:hover {
    background: linear-gradient(135deg, #b5ca45 0%, #c7dd58 100%);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(199, 221, 88, 0.5);
}

/* Responsive */
@media (max-width: 768px) {
    .qr-section {
        padding: 60px 20px;
        text-align: center;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .section-description {
        font-size: 1rem;
    }
    
    .qr-image {
        width: 200px;
        margin-bottom: 30px;
    }
}


/* ========== 7. MEJORAS FOOTER ========== */

.footer {
    background: linear-gradient(135deg, #f4f4f4 0%, #e8e8e8 100%);
}

.footer-logo {
    transition: transform 0.3s ease;
}

.footer-logo:hover {
    transform: scale(1.05);
}

.footer-nav a {
    position: relative;
    transition: all 0.3s ease;
}

.footer-nav a::before {
    content: '→';
    position: absolute;
    left: -20px;
    opacity: 0;
    transition: all 0.3s ease;
}

.footer-nav a:hover {
    color: #4F7F2B;
    padding-left: 25px;
}

.footer-nav a:hover::before {
    opacity: 1;
    left: 0;
}

.footer-social a {
    transition: transform 0.3s ease;
    display: inline-block;
}

.footer-social a:hover {
    transform: translateY(-5px) scale(1.1);
}

/* ========== RESPONSIVE ========== */

@media (max-width: 992px) {
    /* Navbar responsive */
    .navbar-collapse {
        background: white;
        padding: 20px;
        border-radius: 15px;
        margin-top: 15px;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    }

    .navbar-nav.bg-white {
        background: transparent !important;
        box-shadow: none !important;
    }

    /* Carousel responsive */
    .carousel-wrapper .carousel-item {
        height: 400px;
    }

    .carousel-blur-box {
        width: 95%;
        padding: 20px 30px;
    }

    .carousel-blur-box h5 {
        font-size: 1.8rem;
    }

    /* About section responsive */
    .about-section {
        flex-direction: column;
        padding: 50px 20px;
    }

    .about-left h2 {
        font-size: 2rem;
        text-align: center;
    }

    .about-left p {
        text-align: center;
        max-width: 100%;
    }

    .about-btn {
        display: block;
        margin: 0 auto;
        width: fit-content;
    }

    /* Stats responsive */
    .stats-section {
        position: relative;
        height: auto;
    }

    .stats-cards {
        position: static;
        transform: none;
        right: auto;
        top: auto;
        padding: 30px 20px;
        align-items: center;
    }

    .stats-card {
        width: 90%;
        max-width: 400px;
    }
}

@media (max-width: 768px) {
    /* Logo más pequeño */
    .navbar-brand img {
        width: 100px !important;
    }

    /* Carousel más pequeño */
    .carousel-wrapper .carousel-item {
        height: 350px;
    }

    .carousel-blur-box h5 {
        font-size: 1.5rem;
    }

    .carousel-blur-box p {
        font-size: 0.9rem;
    }

    /* Cards en columna */
    .container .row .col-12 {
        margin-bottom: 20px;
    }

    /* Footer responsive */
    .footer-container {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }

    .footer-nav {
        flex-direction: column;
        gap: 15px;
    }

    .footer-social {
        text-align: center;
    }
}

@media (max-width: 576px) {
    /* Carousel muy pequeño */
    .carousel-wrapper {
        max-width: 100%;
    }

    .carousel-wrapper .carousel-item {
        height: 300px;
    }

    .carousel-blur-box {
        padding: 15px 20px;
    }

    .carousel-blur-box h5 {
        font-size: 1.3rem;
    }

    /* About más compacto */
    .about-section {
        padding: 30px 15px;
    }

    .about-left h2 {
        font-size: 1.8rem;
    }

    /* QR section compacta */
    .qr-section {
        padding: 50px 15px;
    }

    .section-title {
        font-size: 2rem;
    }

   
}

/* ========== FIN MEJORAS INICIO ========== */


/* ========== JOIN SECTION ========== */

.join-section {
    background: linear-gradient(135deg, #7FB033 0%, #4F7F2B 100%);
    padding: 50px 120px;
    margin: 50px auto;
    width: 98%;
    max-width: 1600px;
    border-radius: 35px;
    box-shadow: 0 12px 40px rgba(79, 127, 43, 0.3);
    text-align: center;
}

.join-title {
    font-size: 2.8rem;
    font-weight: 800;
    color: white;
    margin-bottom: 20px;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.3);
    line-height: 1.3;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.join-description {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 30px;
    max-width: 850px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
    font-weight: 400;
}

.join-section .btn-green {
    background: white;
    color: #4F7F2B;
    padding: 15px 40px;
    font-size: 1rem;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 30px;
}

.join-section .btn-green:hover {
    background: #c7dd58;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

/* Responsive */
@media (max-width: 992px) {
    .join-section {
        padding: 45px 70px;
        width: 92%;
    }
    .join-title {
        font-size: 2.4rem;
    }
    .join-description {
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .join-section {
        padding: 40px 40px;
        width: 95%;
    }
    .join-title {
        font-size: 2rem;
    }
    .join-description {
        font-size: 0.95rem;
        max-width: 90%;
    }
    .join-section .btn-green {
        padding: 14px 35px;
        font-size: 0.95rem;
    }
}

@media (max-width: 576px) {
    .join-section {
        padding: 35px 25px;
        margin: 40px auto;
    }
    .join-title {
        font-size: 1.7rem;
        margin-bottom: 15px;
    }
    .join-description {
        font-size: 0.9rem;
        margin-bottom: 25px;
    }
}

/*------------------------------------------PROGRAMAS 3 -----------------------------*/

.impacto {
    display: flex;
    justify-content: center;
    margin: 3rem 0;
}

.impacto-box {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.impacto-box h2 {
    color: #9bc53d; 
    font-size: 2.8rem;
    font-weight: 700;
    margin: 0;
    white-space: nowrap;
}

.impacto-texto {
    border-left: 2px solid black;
    padding-left: 2rem;
}

.impacto-texto p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.6;
    color: #333;
}

.trabajo-iconos {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem 2rem;
    margin-top: 2rem;
}

.icono {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: #7fb800;
    font-weight: 500;
}

.icono img {
    width: 26px;
    height: 26px;
}

.imagen-banner {
    max-width: 1100px;      
    margin: 3rem auto;     
    padding: 0 1rem;       
}

.imagen-banner img {
    width: 100%;
    height: 320px;         
    object-fit: cover;     
    border-radius: 28px;   
    display: block;
}

@media (max-width: 768px) {
    .impacto-box {
    flex-direction: column;
    align-items: flex-start;
    }

    .impacto-texto {
    border-left: none;
    border-top: 2px solid black;
    padding-left: 0;
    padding-top: 1rem;
    }   

    .impacto-box h2 {
    font-size: 2.2rem;
    }

    .trabajo-contenido {
    flex-direction: column;
    }

    .trabajo-titulo {
    font-size: 2.2rem;
    }

    .trabajo-iconos {
    grid-template-columns: repeat(2, 1fr);
    }

    .imagen-banner img {
    height: 240px;
    border-radius: 20px;
    }
}

/*----------------------------------- PROGRAMA 4 ------------------------------------*/

.includes-section{
    padding: 50px 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;

}

.testimonio-text::before {
    content: "“";
}

.testimonio-text::after {
    content: "”";
}


.audiencia {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 64px; 
    max-width: 1200px;
    margin: 0 auto;
}

.card-p4 {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.card-p4 h3 {
    font-size: 28px;
    line-height: 1.2;
    color: #8a6a2f; 
    margin-bottom: 24px;
    min-height: 110px;
    font-weight: bold; 
}

.card-p4 p {
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    margin: 0;
    font-weight: bold;
}

/*QUE INCLUYE EL PROGRAMA*/



.lista-trabajo {
    list-style: none;
    padding: 0;
}

.lista-trabajo li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 14px;
    font-size: 15px;
    line-height: 1.4;
    color: #4d7c0f;
}

.lista-trabajo img {
    width: 18px;
    height: 18px;
    margin-top: 2px;
}


@media (max-width: 900px) {
    .publico-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    }
}

@media (max-width: 768px) {
    .audiencia {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 0 12px;
    text-align: center !important;
    }

    .card-p4 {
    background: #fff;
    padding: 14px 16px;
    border-radius: 14px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.08);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    }

    .card-p4 h3 {
    margin: 0 0 4px 0;
    font-size: 1.1rem;
    line-height: 1.2;
    text-align: center !important;
    }

    .card-p4 p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.4;
    text-align: center !important;
    }

    .history-section{
        margin-top: 0;
        padding-top: 0;
    }
}

@media (max-width: 500px) {

    .audiencia {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 0 16px;
    box-sizing: border-box;
    }

    .card-p4 {
    align-items: center;
    text-align: center;
    }

    .card-p4 h3 {
    font-size: 22px;
    min-height: auto;
    margin-bottom: 12px;
    }

    .card-p4 p {
    font-size: 15px;
    line-height: 1.5;
    }

    .work-image-container {
        display: none;
    }

    .target-image-container{
        display: none;
    }

    .testimonio{
        flex-direction: column;
        text-align: center;
    }
}


/*----------------------------------SUMATE---------------------------*/

.banner {
    width: 100%;
    height: 380px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
    padding: 8px;
    margin-top: 80px;
}

.banner-overlay {
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(6px);
    padding: 10px 225px;
    border-radius: 6px;
}

.banner-overlay h1 {
    color: #fff;
    font-size: 42px;
    margin-bottom: 18px;
    font-weight: 700;
}

.banner-overlay p {
    color: #eaeaea;
    font-size: 15px;
    line-height: 1.6;
}

.community-section {
    width: 100%;
    background-color: #ffffff;
    padding: 40px 20px;
}

.community-container {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.community-line {
    width: 100%;
    height: 1px;
    background-color: #e5e5e5;
    border: none;
    margin-bottom: 24px;
}

.community-container h2 {
    font-size: 3em;
    font-weight: 700;
    color: #7BBF32;
    margin-bottom: 20px;
}

.community-container p {
    font-size: 1.15rem;
    color: #666;
    line-height: 1.8;
    margin-bottom: 35px;
    font-weight: 400;
}

.banner-overlay {
    animation: fadeUp 1.2s ease forwards;
    opacity: 0;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


@media (max-width: 992px) {
    .banner {
    min-height: 60vh;
    }

    .banner-overlay {
    padding: 40px;
    max-width: 100%;
    }

    .banner h1 {
    font-size: 2.4rem;
    }

    .banner p {
    font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .banner {
    height: auto;
    min-height: 320px;
    background-position: center 10%;
    background-size: contain;
    background-repeat: no-repeat;
    background-color: #000;
    }

    .banner-overlay {
    padding: 40px;
    text-align: center;
    backdrop-filter: blur(0.20px);
    }

    .banner h1 {
    font-size: 24px;
    line-height: 1.2;
    margin-bottom: 10px;
    }

    .banner p {
    font-size: 13px;
    line-height: 1.4;
    }
}
