/* =========================================
   VARIABLES Y RESET
   ========================================= */
:root {
    /* Paleta de Colores Institucional */
    --primary-color: #1E3A8A;    /* Azul */
    --secondary-color: #10B981;  /* Verde */
    --accent-color: #F59E0B;     /* Naranja */
    --text-dark: #1F2937;
    --text-light: #6B7280;
    --bg-light: #F9FAFB;
    --white: #ffffff;
    
    /* Tipografía */
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Roboto', sans-serif;
    
    /* Transiciones */
    --transition: all 0.3s ease;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--bg-light);
    overflow-x: hidden;
}

a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* Clases Utilitarias */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section-padding { padding: 80px 0; }
.section-title { text-align: center; margin-bottom: 50px; }
.section-title h2 { font-family: var(--font-heading); font-size: 2.5rem; color: var(--primary-color); }
.underline { width: 80px; height: 4px; background: var(--accent-color); margin: 10px auto; border-radius: 2px; }
.btn { display: inline-block; padding: 12px 30px; border-radius: 50px; font-weight: 600; cursor: pointer; transition: var(--transition); }

.btn-primary { background: var(--primary-color); color: var(--white); }
.btn-primary:hover { background: #152c6e; transform: translateY(-3px); }
.btn-secondary { background: var(--secondary-color); color: var(--white); }
.btn-secondary:hover { background: #0d9668; }
.btn-outline { border: 2px solid var(--white); color: var(--white); margin-left: 10px; }
.btn-outline:hover { background: var(--white); color: var(--primary-color); }

/* =========================================
   HEADER Y NAVEGACIÓN
   ========================================= */
header {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    height: 80px;
    display: flex;
    align-items: center;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo a {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--primary-color);
}
.logo i { margin-right: 10px; color: var(--secondary-color); font-size: 2rem; }

.nav-list { display: flex; align-items: center; }
.nav-item { position: relative; margin-left: 20px; }
.nav-link { font-weight: 500; color: var(--text-dark); font-size: 0.95rem; padding: 10px 0; }
.nav-link:hover { color: var(--primary-color); }

/* Dropdown al Hover */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    min-width: 220px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-top: 3px solid var(--secondary-color);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    border-radius: 0 0 5px 5px;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li a {
    display: block;
    padding: 12px 20px;
    font-size: 0.9rem;
    border-bottom: 1px solid #f0f0f0;
}
.dropdown-menu li a:hover { background: #f9f9f9; color: var(--secondary-color); padding-left: 25px; }

.btn-donate {
    background: var(--accent-color);
    color: var(--white);
    padding: 10px 25px;
    border-radius: 5px;
    font-weight: 700;
    margin-left: 15px;
}
.btn-donate:hover { background: #d98c0a; transform: scale(1.05); }

/* Hamburguesa (Mobile) */
.menu-toggle { display: none; cursor: pointer; }
.bar { display: block; width: 25px; height: 3px; margin: 5px auto; background-color: var(--text-dark); transition: var(--transition); }

/* =========================================
   SECCIONES PRINCIPALES
   ========================================= */
/* Hero */
.hero {
    height: 90vh;
    background: url('https://images.unsplash.com/photo-1488521787991-ed7bbaae773c?ixlib=rb-1.2.1&auto=format&fit=crop&w=1950&q=80') no-repeat center center/cover;
    position: relative;
    display: flex;
    align-items: center;
    text-align: center;
    margin-top: 80px; /* Compensar header fijo */
}
.hero-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(30, 58, 138, 0.7); }
.hero-content { position: relative; z-index: 2; color: var(--white); }
.hero-content h1 { font-family: var(--font-heading); font-size: 3.5rem; margin-bottom: 20px; line-height: 1.2; }
.hero-content p { font-size: 1.2rem; margin-bottom: 30px; max-width: 700px; margin-left: auto; margin-right: auto; }

/* Impacto */
.impact-section { background: var(--white); padding: 60px 0; margin-top: -50px; position: relative; z-index: 10; border-radius: 10px 10px 0 0; }
.impact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 30px; text-align: center; }
.impact-card i { font-size: 2.5rem; color: var(--secondary-color); margin-bottom: 15px; }
.counter { font-size: 2.5rem; font-weight: 700; color: var(--primary-color); }
.impact-card p { font-weight: 500; text-transform: uppercase; letter-spacing: 1px; font-size: 0.9rem; }

/* Sobre Nosotros Preview */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.img-placeholder { width: 100%; height: 400px; background: #ddd; display: flex; align-items: center; justify-content: center; border-radius: 10px; color: #666; font-weight: bold; }
.about-text h4 { color: var(--secondary-color); font-weight: 700; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 10px; }
.about-text h2 { font-family: var(--font-heading); font-size: 2.2rem; color: var(--primary-color); margin-bottom: 20px; }
.check-list li { margin-bottom: 10px; }
.check-list i { color: var(--secondary-color); margin-right: 10px; }

/* Programas */
.programs-section { background: var(--bg-light); }
.programs-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.program-card { background: var(--white); border-radius: 10px; overflow: hidden; box-shadow: 0 5px 15px rgba(0,0,0,0.05); transition: var(--transition); }
.program-card:hover { transform: translateY(-10px); box-shadow: 0 15px 30px rgba(0,0,0,0.1); }
.program-card .card-img { height: 200px; width: 100%; }
.program-card .card-content { padding: 25px; }
.program-card h3 { color: var(--primary-color); margin-bottom: 10px; }
.read-more { color: var(--accent-color); font-weight: 600; margin-top: 15px; display: inline-block; }
.read-more i { transition: var(--transition); }
.read-more:hover i { transform: translateX(5px); }

/* =========================================
   FOOTER
   ========================================= */
.main-footer { background: #111827; color: #d1d5db; padding-top: 60px; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 40px; padding-bottom: 40px; }
.footer-col h3 { color: var(--white); margin-bottom: 20px; border-left: 3px solid var(--accent-color); padding-left: 10px; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a:hover { color: var(--secondary-color); padding-left: 5px; }
.footer-col p { margin-bottom: 10px; }
.social-icons a { width: 40px; height: 40px; background: rgba(255,255,255,0.1); display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; margin-right: 10px; color: var(--white); }
.social-icons a:hover { background: var(--secondary-color); }

.newsletter-form { display: flex; }
.newsletter-form input { flex: 1; padding: 10px; border: none; border-radius: 5px 0 0 5px; outline: none; }
.newsletter-form button { background: var(--secondary-color); border: none; color: white; padding: 0 15px; border-radius: 0 5px 5px 0; cursor: pointer; }

.footer-bottom { background: #000; text-align: center; padding: 20px; font-size: 0.9rem; }

/* Botón Scroll Top */
#scrollTopBtn {
    position: fixed; bottom: 20px; right: 20px; z-index: 99; border: none; outline: none;
    background-color: var(--primary-color); color: white; cursor: pointer; padding: 15px;
    border-radius: 50%; font-size: 18px; display: none; transition: var(--transition);
}
#scrollTopBtn:hover { background-color: var(--accent-color); }

/* =========================================
   RESPONSIVE (Móvil)
   ========================================= */
@media (max-width: 768px) {
    .menu-toggle { display: block; }
    .menu-toggle.active .bar:nth-child(2) { opacity: 0; }
    .menu-toggle.active .bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .menu-toggle.active .bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

    .nav-menu {
        position: fixed; left: -100%; top: 80px; gap: 0; flex-direction: column; background-color: var(--white);
        width: 100%; text-align: center; transition: 0.3s; box-shadow: 0 10px 10px rgba(0,0,0,0.1);
        height: calc(100vh - 80px); overflow-y: auto;
    }
    .nav-menu.active { left: 0; }
    .nav-list { flex-direction: column; width: 100%; }
    .nav-item { margin: 0; width: 100%; border-bottom: 1px solid #eee; }
    .nav-link { display: block; padding: 15px; }
    
    /* Resetear comportamiento hover para móvil */
    .dropdown-menu {
        position: static; opacity: 1; visibility: visible; transform: none;
        display: none; box-shadow: none; border-top: none; background: #f9f9f9;
    }
    .dropdown.active .dropdown-menu { display: block; } /* Activado por JS */
    
    .hero-content h1 { font-size: 2.2rem; }
    .about-grid { grid-template-columns: 1fr; }
}
/* =========================================
   ESTILOS PÁGINAS INTERNAS (ADD-ON)
   ========================================= */

/* Page Hero (Header más pequeño para internas) */
.page-hero {
    height: 40vh;
    min-height: 300px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-top: 80px;
    color: white;
}

/* Grid de Misión/Visión */
.mv-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; }
.mv-card { background: white; padding: 40px 20px; text-align: center; box-shadow: 0 5px 15px rgba(0,0,0,0.05); border-radius: 10px; transition: var(--transition); border-bottom: 4px solid transparent; }
.mv-card:hover { transform: translateY(-5px); border-bottom-color: var(--secondary-color); }
.mv-card i { font-size: 3rem; color: var(--primary-color); margin-bottom: 20px; }
.values-list { text-align: left; display: inline-block; }
.values-list li { margin-bottom: 5px; list-style: disc; margin-left: 20px; }

/* Timeline (Historia) */
.timeline { position: relative; max-width: 800px; margin: 0 auto; padding: 20px 0; }
.timeline::after { content: ''; position: absolute; width: 4px; background-color: var(--secondary-color); top: 0; bottom: 0; left: 50%; margin-left: -2px; }
.timeline-item { padding: 10px 40px; position: relative; background-color: inherit; width: 50%; box-sizing: border-box; }
.timeline-item:nth-child(odd) { left: 0; text-align: right; }
.timeline-item:nth-child(even) { left: 50%; }
.timeline-date { position: absolute; top: 15px; right: -40px; background: var(--primary-color); color: white; padding: 5px 10px; border-radius: 50px; z-index: 10; font-weight: bold; }
.timeline-item:nth-child(even) .timeline-date { left: -40px; right: auto; }
.timeline-content { padding: 20px; background: white; border-radius: 6px; box-shadow: 0 4px 10px rgba(0,0,0,0.1); }

/* Donation Page */
.donation-wrapper { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; }
.donation-form-card { background: white; padding: 40px; border-radius: 10px; box-shadow: 0 10px 30px rgba(0,0,0,0.1); }
.freq-toggle { display: flex; gap: 20px; margin-bottom: 20px; background: #f0f0f0; padding: 5px; border-radius: 5px; }
.freq-toggle label { flex: 1; text-align: center; padding: 10px; cursor: pointer; border-radius: 5px; transition: var(--transition); }
.freq-toggle input { display: none; }
.freq-toggle input:checked + label { background: var(--primary-color); color: white; }
.amount-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 20px; }
.amount-btn { padding: 15px; border: 1px solid #ddd; background: white; cursor: pointer; border-radius: 5px; font-weight: bold; color: var(--text-dark); }
.amount-btn.active, .amount-btn:hover { border-color: var(--accent-color); color: var(--accent-color); background: #fffbf0; }
.amount-input { padding: 15px; border: 1px solid #ddd; border-radius: 5px; width: 100%; }
.form-group { margin-bottom: 15px; }
.form-group input { width: 100%; padding: 12px; border: 1px solid #ddd; border-radius: 5px; }
.btn-block { width: 100%; display: block; text-align: center; }
.secure-notice { text-align: center; font-size: 0.8rem; color: #666; margin-top: 15px; }

/* Noticias Layout */
.news-layout { display: grid; grid-template-columns: 2fr 1fr; gap: 40px; }
.news-grid-page { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 30px; margin-bottom: 40px; }
.news-card { background: white; border-radius: 10px; overflow: hidden; box-shadow: 0 3px 10px rgba(0,0,0,0.05); }
.news-body { padding: 20px; }
.news-date { font-size: 0.8rem; color: var(--text-light); }
.sidebar .widget { background: white; padding: 25px; margin-bottom: 30px; border-radius: 10px; box-shadow: 0 2px 10px rgba(0,0,0,0.05); }
.widget h3 { margin-bottom: 20px; font-size: 1.2rem; border-bottom: 2px solid var(--bg-light); padding-bottom: 10px; }
.cat-list li { border-bottom: 1px solid #eee; padding: 10px 0; }
.cat-list li a:hover { color: var(--primary-color); padding-left: 5px; }
.search-widget { display: flex; }
.search-widget input { flex: 1; border: 1px solid #ddd; padding: 10px; border-radius: 5px 0 0 5px; }
.search-widget button { background: var(--primary-color); color: white; border: none; padding: 0 15px; border-radius: 0 5px 5px 0; cursor: pointer; }
.pagination { display: flex; gap: 10px; justify-content: center; }
.pagination a { width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; background: white; border: 1px solid #ddd; border-radius: 5px; }
.pagination a.active { background: var(--primary-color); color: white; border-color: var(--primary-color); }

/* Contact Form */
.contact-wrapper { display: grid; grid-template-columns: 1.5fr 1fr; gap: 50px; }
.input-group { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.contact-form input, .contact-form textarea { margin-bottom: 20px; padding: 15px; border: 1px solid #ddd; border-radius: 5px; outline: none; }
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--primary-color); }
.info-box { margin-bottom: 30px; display: flex; align-items: flex-start; }
.info-box i { font-size: 1.5rem; color: var(--accent-color); margin-right: 15px; margin-top: 5px; }

/* Responsive Adjustments para Internas */
@media (max-width: 768px) {
    .timeline::after { left: 31px; }
    .timeline-item { width: 100%; padding-left: 70px; padding-right: 25px; }
    .timeline-item:nth-child(even) { left: 0; }
    .timeline-item:nth-child(odd) { text-align: left; }
    .timeline-date, .timeline-item:nth-child(even) .timeline-date { left: 0; right: auto; }
    
    .donation-wrapper, .news-layout, .contact-wrapper { grid-template-columns: 1fr; }
    .input-group { grid-template-columns: 1fr; }
    .hero-content h1 { font-size: 2rem; }
}

/* =========================================
   ESTILOS RÉGIMEN ESPECIAL (DOCUMENTOS)
   ========================================= */

.compliance-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px auto;
}
.compliance-intro p { color: var(--text-light); }

/* Pestañas (Tabs) */
.year-tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 12px 30px;
    border: 1px solid #ddd;
    background: white;
    font-family: var(--font-heading);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border-radius: 50px;
    color: var(--text-light);
}

.tab-btn:hover { background: #f0f0f0; color: var(--primary-color); }
.tab-btn.active { background: var(--primary-color); color: white; border-color: var(--primary-color); box-shadow: 0 4px 10px rgba(30, 58, 138, 0.3); }

/* Grid de Documentos */
.documents-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.doc-card {
    background: white;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    border: 1px solid #eee;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.doc-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    border-color: var(--secondary-color);
}

.doc-icon {
    font-size: 3rem;
    color: #e74c3c; /* Color rojo PDF */
    margin-bottom: 20px;
}

.doc-info h3 {
    font-size: 1.1rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.doc-info p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 20px;
}

.btn-download {
    display: inline-block;
    padding: 8px 20px;
    background-color: var(--bg-light);
    color: var(--text-dark);
    border-radius: 5px;
    font-size: 0.85rem;
    font-weight: 600;
    border: 1px solid #ddd;
}

.btn-download:hover {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

/* Estilos para el Logo de imagen */
.logo-img {
    max-height: 60px;  /* Esto evita que el logo sea más alto que la barra */
    width: auto;       /* Mantiene la proporción correcta */
    display: block;
}

/* Ajuste para centrar verticalmente */
.logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
}

/* =========================================
   ESTILOS PÁGINA PROGRAMAS
   ========================================= */

.program-detail-section {
    padding: 80px 0;
    border-bottom: 1px solid #eee;
}

.program-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

/* Clase para invertir el orden (Zig-Zag) */
.program-row.reverse .program-img {
    order: 2; /* Mueve la imagen a la derecha */
}
.program-row.reverse .program-info {
    order: 1; /* Mueve el texto a la izquierda */
}

.program-img img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: var(--transition);
}

.program-img img:hover {
    transform: scale(1.02);
}

.icon-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.icon-header i {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-right: 15px;
    background: #e0f2f1;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.icon-header h3 {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--primary-color);
}

.program-features {
    margin: 20px 0 30px 0;
}

.program-features li {
    margin-bottom: 10px;
    font-size: 1.05rem;
}

.program-features i {
    color: var(--accent-color);
    margin-right: 10px;
}

/* Responsive para Programas */
/* =========================================
   ESTILOS PROYECTOS ESTATALES (NUEVO)
   ========================================= */

.project-card {
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    margin-bottom: 40px;
    overflow: hidden;
    border: 1px solid #eee;
}

.project-header {
    background: #f8f9fa;
    padding: 20px;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
    gap: 15px;
}

.project-header h3 {
    margin: 0;
    color: var(--text-dark);
    font-size: 1.3rem;
}

/* Etiquetas (Badges) */
.badge {
    padding: 5px 12px;
    border-radius: 50px;
    color: white;
    font-size: 0.8rem;
    font-weight: bold;
    text-transform: uppercase;
}

.badge.icbf { background-color: #008a39; } /* Verde ICBF */
.badge.min-cultura { background-color: #d35400; } /* Naranja Cultura */
.badge.min-interior { background-color: #2c3e50; } /* Azul Oscuro */

.project-body {
    padding: 25px;
    display: grid;
    grid-template-columns: 1fr 1fr; /* Texto a un lado, fotos al otro */
    gap: 30px;
}

/* Ficha Técnica (Ubicación, Beneficios) */
.tech-sheet {
    background: #f0f9ff;
    padding: 15px;
    border-radius: 8px;
    margin-top: 20px;
    border-left: 4px solid var(--primary-color);
}

.tech-item {
    margin-bottom: 8px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
}

.tech-item i {
    width: 25px;
    color: var(--primary-color);
}

/* Galería de Fotos */
.project-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 columnas de fotos */
    gap: 10px;
    align-content: start;
}

.project-gallery img {
    width: 100%;
    height: 120px; /* Altura fija para uniformidad */
    object-fit: cover;
    border-radius: 5px;
    transition: var(--transition);
    cursor: pointer;
}

.project-gallery img:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.projects-grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

/* Responsive para Proyectos */
@media (max-width: 768px) {
    .project-body {
        grid-template-columns: 1fr; /* Una sola columna en móvil */
    }
    .project-gallery {
        grid-template-columns: repeat(3, 1fr); /* 3 fotos en fila en móvil */
    }
}
/* =========================================
   ESTILOS ESPECÍFICOS NOSOTROS (NUEVO)
   ========================================= */

.intro-text {
    font-size: 1.1rem;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto 30px auto;
}

.contact-box-inline {
    background: var(--primary-color);
    color: white;
    padding: 20px;
    border-radius: 10px;
    display: inline-flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    margin-bottom: 20px;
}

.contact-box-inline p {
    margin: 0;
    display: flex;
    align-items: center;
    font-weight: 500;
}

.contact-box-inline i {
    margin-right: 10px;
    color: var(--accent-color);
}

/* Grid de Valores */
.values-grid-system {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
}

.value-item {
    background: white;
    padding: 30px 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    text-align: center;
    border-top: 4px solid var(--secondary-color);
    transition: var(--transition);
}

.value-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 25px rgba(0,0,0,0.1);
}

.value-item i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.value-item h4 {
    color: var(--text-dark);
    font-size: 1.2rem;
    margin-bottom: 10px;
    font-weight: 700;
    text-transform: uppercase;
}

.value-item p {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* Ajuste para la sección de Misión/Visión */
.icon-circle {
    width: 70px;
    height: 70px;
    background: #e0f2f1;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px auto;
}
.icon-circle i {
    font-size: 2rem;
    color: var(--secondary-color);
    margin: 0; /* Reset margen */
}
/* En styles.css */
.program-card .card-img {
    height: 200px;
    width: 100%;
    overflow: hidden; /* Importante para que la imagen no se salga */
}

.program-card .card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Esto hace que la foto llene el espacio sin deformarse */
    transition: var(--transition);
}

.program-card:hover .card-img img {
    transform: scale(1.1); /* Efecto zoom suave al pasar el mouse */
}

/* =========================================
   ESTILOS PARA EL SLIDER DEL HERO
   ========================================= */

/* Aseguramos que el hero sea el contenedor relativo */
.hero {
    position: relative;
    overflow: hidden; /* Para que nada se salga */
    /* Ya no usamos background-image aquí porque usamos <img> */
}

/* Contenedor de las imágenes */
.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0; /* Al fondo del todo */
}

/* Estilo de cada imagen individual */
.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Importante: cubre todo sin deformar */
    opacity: 0;        /* Invisibles por defecto */
    transition: opacity 1.5s ease-in-out; /* Efecto de desvanecimiento suave */
}

/* Clase para mostrar la imagen actual */
.slide.active {
    opacity: 1;
}

/* Aseguramos que el overlay oscuro esté encima de las fotos */
.hero-overlay {
    z-index: 1; 
}

/* Aseguramos que el texto esté encima de todo */
.hero-content {
    position: relative;
    z-index: 2;
}
/* =========================================
   ESTILOS GALERÍA
   ========================================= */

.gallery-filters {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 25px;
    border: 1px solid #ddd;
    background: white;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
    color: var(--text-light);
}

.filter-btn.active, .filter-btn:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.gallery-item {
    position: relative;
    height: 250px;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* Overlay con texto al pasar el mouse */
.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    padding: 20px;
    color: white;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
    transform: translateY(0);
}

.gallery-overlay h4 {
    margin: 0;
    font-size: 1.1rem;
    color: var(--secondary-color);
}

.gallery-overlay p {
    margin: 5px 0 0 0;
    font-size: 0.9rem;
}
/* =========================================
   ESTILOS VIDEOS Y TESTIMONIOS
   ========================================= */

/* Grid de Videos */
.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.video-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: var(--transition);
}

.video-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 25px rgba(0,0,0,0.1);
}

/* Truco para que el video de YouTube sea responsive */
.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* Aspect Ratio 16:9 */
    height: 0;
    overflow: hidden;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.video-info {
    padding: 20px;
}

.video-info h3 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: var(--primary-color);
}

/* Grid de Testimonios */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    position: relative;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.quote-icon {
    font-size: 2rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
    opacity: 0.3;
}

.testimonial-card p {
    font-style: italic;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.author h5 {
    margin: 0;
    font-weight: 700;
    color: var(--primary-color);
}

.author span {
    font-size: 0.85rem;
    color: var(--text-light);
}
/* =========================================
   ESTILOS PQRSD (NUEVO)
   ========================================= */

.pqrsd-definitions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 40px;
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    border: 1px solid #eee;
}

.def-item {
    font-size: 0.85rem;
    padding: 5px 15px;
    background: white;
    border-radius: 50px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.pqrsd-form-container {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    border-top: 5px solid var(--primary-color);
}

.form-select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    outline: none;
    background-color: white;
    margin-bottom: 0; /* Controlado por el form-group padre */
}

.form-group label, .input-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-dark);
}

.legal-check {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 15px;
    font-size: 0.9rem;
}

/* Ajuste para que los inputs del PQRSD tengan margen inferior correcto */
.pqrsd-form-container input, 
.pqrsd-form-container select,
.pqrsd-form-container textarea {
    margin-bottom: 0;
}

.pqrsd-form-container .form-group,
.pqrsd-form-container .input-group > div {
    margin-bottom: 20px;
}
/* =========================================
   ESTILOS VOLUNTARIADO
   ========================================= */

.mb-5 { margin-bottom: 3rem; }

.volunteer-roles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
}

.role-card {
    background: white;
    padding: 30px 20px;
    border-radius: 15px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid #eee;
}

.role-card:hover {
    transform: translateY(-10px);
    background: var(--primary-color);
    color: white;
    box-shadow: 0 10px 30px rgba(30, 58, 138, 0.2);
}

/* Cambio de color del icono e iconos internos al hacer hover */
.role-icon {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
    transition: var(--transition);
}

.role-card:hover .role-icon {
    color: white;
}

.role-card h4 {
    font-weight: 700;
    margin-bottom: 10px;
}

.role-card:hover p {
    color: #e0e0e0;
}

/* Contenedor del Formulario */
.volunteer-form-wrapper {
    max-width: 700px;
    margin: 0 auto;
    background: white;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0,0,0,0.05);
    overflow: hidden;
}

.form-header {
    background: var(--secondary-color);
    color: white;
    padding: 30px;
    text-align: center;
}

.form-header h3 { margin: 0; font-size: 1.8rem; }
.form-header p { margin: 5px 0 0 0; opacity: 0.9; }

.volunteer-form-wrapper form {
    padding: 40px;
}
/* =========================================
   ESTILOS TRABAJA CON NOSOTROS (VACANTES)
   ========================================= */

.jobs-container {
    max-width: 900px;
    margin: 0 auto;
}

.job-card {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 30px;
    transition: var(--transition);
    box-shadow: 0 2px 10px rgba(0,0,0,0.02);
}

.job-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 10px 20px rgba(0,0,0,0.08);
}

.job-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    border-bottom: 1px solid #eee;
    padding-bottom: 20px;
    margin-bottom: 20px;
}

.job-header h3 {
    margin: 0 0 10px 0;
    color: var(--primary-color);
    font-size: 1.4rem;
}

.job-location {
    color: var(--text-light);
    margin-right: 15px;
    font-size: 0.9rem;
}

/* Etiquetas de Tipo de Contrato */
.job-type {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: bold;
    text-transform: uppercase;
}

.job-type.full-time {
    background-color: #e0f2f1;
    color: #00695c;
}

.job-type.contract {
    background-color: #fff3e0;
    color: #e65100;
}

.job-date {
    font-size: 0.85rem;
    color: #999;
    white-space: nowrap;
}

.job-body h4 {
    margin-top: 20px;
    margin-bottom: 10px;
    font-size: 1rem;
    color: var(--text-dark);
}

.job-body ul {
    margin-bottom: 25px;
    list-style: disc;
    padding-left: 20px;
}

.job-body ul li {
    margin-bottom: 5px;
    color: var(--text-light);
}

/* Responsive para Vacantes */
@media (max-width: 768px) {
    .job-header {
        flex-direction: column;
    }
    .job-date {
        margin-top: 10px;
    }
}
/* =========================================
   CORRECCIÓN COLLAGE IMÁGENES (SOBRE NOSOTROS)
   ========================================= */

/* El contenedor se vuelve una cuadrícula de 2 columnas */
.about-image.collage-container {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Divide en 2 columnas iguales */
    gap: 15px; /* Espacio entre las fotos */
    align-items: center; /* Centra verticalmente */
    position: relative; /* Necesario para el posicionamiento */
}

/* Estilo para ambas imágenes */
.collage-container img {
    width: 100%;       /* Que ocupen su columna */
    height: 300px;     /* Altura fija un poco más alta */
    object-fit: cover; /* Recorta la imagen para que no se estire */
    border-radius: 15px;
    box-shadow: var(--shadow-medium);
    transition: transform 0.3s ease;
}

/* Efecto de desplazamiento (La magia del collage) */
/* La primera imagen (izquierda) sube un poco */
.collage-container img:nth-child(1) {
    transform: translateY(-30px);
    z-index: 1;
}

/* La segunda imagen (derecha) baja un poco */
.collage-container img:nth-child(2) {
    transform: translateY(30px);
    z-index: 2;
}

/* Efecto hover opcional */
.collage-container img:hover {
    transform: scale(1.02) translateY(0); /* Al pasar el mouse vuelve a su sitio suavemente */
    z-index: 3;
}

/* AJUSTE RESPONSIVE (MÓVIL) */
@media (max-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr; /* Una sola columna para todo el bloque */
        gap: 40px;
    }

    .about-image.collage-container {
        grid-template-columns: 1fr; /* Fotos una debajo de otra en móvil */
        gap: 20px;
        margin-bottom: 20px;
    }
    
    .collage-container img {
        height: 220px; /* Más bajitas en móvil */
    }

    /* Quitamos el desplazamiento en móvil para que no se rompa */
    .collage-container img:nth-child(1),
    .collage-container img:nth-child(2) {
        transform: none;
    }
}
/* =========================================
   ESTILOS DINÁMICOS DE PROYECTOS
   ========================================= */

/* Header del Proyecto ajustado */
.project-header {
    display: flex;
    flex-direction: column; /* Para que los logos queden abajo del título */
    align-items: flex-start;
}

.header-top {
    display: flex;
    align-items: center;
    gap: 15px;
    width: 100%;
}

/* Logos de Alianzas */
.partner-logos {
    margin-top: 15px;
    padding-top: 10px;
    border-top: 1px solid #e0e0e0;
    width: 100%;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.partner-logos span {
    font-size: 0.8rem;
    color: #666;
    font-weight: 600;
}

/* ESTILOS PARA LOGOS DE ALIANZAS */
.partner-logos img {
    height: 60px;          /* Altura fija controlada */
    max-width: 150px;      /* Ancho máximo para evitar que se estire */
    width: auto;           /* Mantiene la proporción */
    object-fit: contain;   /* Asegura que el logo entre en la caja sin recortarse */
    margin-right: 15px;    /* Espacio entre logos */
    display: inline-block; /* Para que se comporten como texto/iconos */
    vertical-align: middle;
}

.partner-logos img:hover {
    filter: grayscale(0%); /* Color al pasar el mouse */
    opacity: 1;
}

/* Galería Mixta (Videos y Fotos) */
.project-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 0; /* Ajuste respecto al diseño anterior */
}

.media-item {
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    background: #000;
}

/* Contenedor de Video Responsivo */
.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* CAMBIO AQUÍ: 56.25% es el formato estándar 16:9 */
    height: 0;
    background: #000; /* Fondo negro por si acaso */
}
/* Si el video es horizontal normal (YouTube), usa 56.25% en vez de 177% */

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Contenedor de Imagen */
.image-wrapper {
    /* Antes tenías height: 300px; -> BORRA ESA LÍNEA */
    
    /* NUEVO CÓDIGO PARA IGUALAR AL VIDEO: */
    position: relative;
    padding-bottom: 56.25%; /* Esto fuerza la proporción 16:9 exacta del video */
    height: 0;
    width: 100%;
    cursor: pointer;
    background-color: #f0f0f0; /* Fondo gris suave mientras carga */
}

.image-wrapper img {
    /* NUEVO CÓDIGO PARA QUE LA IMAGEN FLOTE DENTRO */
    position: absolute;
    top: 0;
    left: 0;
    
    /* Mantiene lo que ya tenías */
    width: 100%;
    height: 100%;
    object-fit: cover; /* Recorta la imagen para llenar el cuadro sin deformarse */
    transition: transform 0.3s;
}

.image-wrapper:hover img {
    transform: scale(1.05);
    opacity: 0.9;
}
/*
.zoom-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 2rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}

.image-wrapper:hover .zoom-icon { opacity: 1; }
*/
/* Lightbox (Visor pantalla completa) */
/* ESTILOS DEL VISOR (LIGHTBOX) */
.lightbox-modal {
    display: none; /* Oculto por defecto */
    position: fixed;
    z-index: 99999; /* Un número muy alto para que tape todo */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95); /* Fondo casi negro */
    align-items: center;
    justify-content: center;
}

.lightbox-content {
    max-width: 90%;
    max-height: 85vh;
    border: 2px solid white;
    border-radius: 5px;
    box-shadow: 0 0 20px rgba(255,255,255,0.2);
}

.close-btn {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 50px;
    font-weight: bold;
    cursor: pointer;
    z-index: 100000;
}
/* =========================================
   ESTILOS NUEVOS NOTICIAS (MEZCLA SOCIAL)
   ========================================= */

/* Ajuste del Grid para que soporte iframes altos */
.news-grid-page {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    align-items: start; /* Alinea arriba para efecto Masonry simple */
}

/* Tarjetas Generales */
.news-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #eee;
    height: auto; /* Altura automática */
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

/* --- ESTILOS PARA NOTICIAS LOCALES --- */
.news-img {
    height: 200px;
    position: relative;
}

.news-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--primary-color);
    color: white;
    padding: 5px 12px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: bold;
}

/* --- ESTILOS PARA REDES SOCIALES --- */
.social-card {
    background: #fff;
}

.social-header {
    padding: 10px 15px;
    font-size: 0.85rem;
    font-weight: bold;
    color: #555;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Colores de redes */
.social-card.facebook .social-header { border-top: 4px solid #1877F2; color: #1877F2; }
.social-card.instagram .social-header { border-top: 4px solid #C13584; color: #C13584; }
.social-card.tiktok .social-header { border-top: 4px solid #000000; color: #000000; }

.social-body {
    padding: 0;
    overflow: hidden;
    display: flex;
    justify-content: center;
    background: #f9f9f9;
}

/* Truco para hacer responsivos los iframes de Facebook */
.social-body iframe {
    width: 100% !important; /* Fuerza a ocupar el ancho de la tarjeta */
    /* La altura se controla desde el JS o el iframe original */
}
/* =========================================
   MEJORAS GALERÍA
   ========================================= */

/* Animación suave al filtrar */
.animate-fade {
    animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Cursor de mano para indicar que se puede ampliar */
.gallery-item img {
    cursor: zoom-in;
}

.gallery-overlay {
    cursor: zoom-in;
}

/* ESTILOS PARA FLECHAS DEL LIGHTBOX */
.prev-btn, .next-btn {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -50px;
    color: white;
    font-weight: bold;
    font-size: 40px;
    transition: 0.3s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
    z-index: 100001; /* Encima de la imagen */
}

/* Posición Específica */
.prev-btn { left: 10px; border-radius: 3px 0 0 3px; }
.next-btn { right: 10px; border-radius: 3px 0 0 3px; }

/* Efecto Hover */
.prev-btn:hover, .next-btn:hover {
    background-color: rgba(0, 0, 0, 0.8);
    color: var(--secondary-color); /* Tu color verde */
}

/* Icono de "Álbum" en la tarjeta */
.album-icon {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0,0,0,0.6);
    color: white;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    z-index: 5;
}
/* Asegurar altura uniforme en tarjetas de video */
.video-card {
    display: flex;
    flex-direction: column;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.video-info {
    padding: 20px;
    flex-grow: 1; /* Esto hace que el texto ocupe el espacio necesario y alinea las tarjetas */
}

/* =========================================
   ESTILOS NUEVOS PÁGINA DONAR
   ========================================= */

.donation-layout {
    display: grid;
    grid-template-columns: 1.5fr 1fr; /* Izquierda más ancha */
    gap: 40px;
    align-items: start;
}

@media (max-width: 768px) {
    .donation-layout { grid-template-columns: 1fr; }
}

/* --- Tarjetas de Impacto (Izquierda) --- */
.impact-grid-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.impact-option {
    cursor: pointer;
    position: relative;
}

/* Ocultamos el radio button real */
.impact-option input {
    display: none;
}

.impact-card-content {
    border: 2px solid #eee;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
    background: white;
}

.impact-icon {
    font-size: 2rem;
    color: var(--text-light);
    margin-bottom: 10px;
    transition: 0.3s;
}

.impact-card-content h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.impact-card-content p {
    font-size: 0.9rem;
    color: #666;
}

/* Efecto al seleccionar */
.impact-option input:checked + .impact-card-content {
    border-color: var(--secondary-color);
    background-color: #f0fdf4; /* Un verde muy clarito */
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(16, 185, 129, 0.2);
}

.impact-option input:checked + .impact-card-content .impact-icon {
    color: var(--secondary-color);
}

/* --- Tarjeta de Pago (Derecha) --- */
.payment-methods-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    border-top: 5px solid var(--primary-color);
}

/* Pestañas */
.payment-tabs {
    display: flex;
    border-bottom: 2px solid #eee;
    margin-bottom: 20px;
}

.tab-btn {
    flex: 1;
    background: none;
    border: none;
    padding: 15px;
    font-weight: bold;
    color: #999;
    cursor: pointer;
    border-bottom: 3px solid transparent;
    transition: 0.3s;
}

.tab-btn.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

.tab-content {
    display: none;
    animation: fadeIn 0.5s;
}

.tab-content.active {
    display: block;
}

/* Caja de Cuenta Bancaria */
.account-box {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    border: 1px dashed #ccc;
    margin: 20px 0;
    text-align: center;
    position: relative;
}

.account-box span { display: block; font-size: 0.8rem; color: #666; }
.account-box strong { display: block; font-size: 1.4rem; color: #333; margin: 5px 0; }
.btn-copy {
    background: #ddd;
    border: none;
    padding: 5px 10px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.8rem;
    margin-top: 5px;
}

/* Código QR */
.qr-placeholder {
    text-align: center;
    margin-bottom: 20px;
}

.qr-placeholder img {
    width: 150px;
    height: 150px;
    margin: 0 auto;
    display: block;
}
/* =========================================
   BOTONES FLOTANTES (WHATSAPP & TOP)
   ========================================= */

/* Botón WhatsApp */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 20px;
    left: 20px; /* A la izquierda para no tapar el chat si usas uno */
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px #999;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    background-color: #128C7E;
    transform: scale(1.1);
    color: white;
}

/* Botón Ir Arriba (Scroll Top) */
#scrollTopBtn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    border: none;
    outline: none;
    background-color: var(--primary-color);
    color: white;
    cursor: pointer;
    padding: 15px;
    border-radius: 50%;
    font-size: 18px;
    display: none; /* Se activa con JS */
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
}

#scrollTopBtn:hover {
    background-color: var(--accent-color);
    transform: translateY(-3px);
}/* =========================================
   CARRUSEL DE ALIADOS
   ========================================= */
.partners-section {
    padding: 40px 0;
    background: white;
    border-bottom: 1px solid #eee;
    overflow: hidden;
}

.partners-title {
    text-align: center;
    color: #888;
    font-weight: 600;
    margin-bottom: 20px;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.slider-track-container {
    width: 100%;
    overflow: hidden;
    position: relative;
}

/* Sombra a los lados para que se vea difuminado */
.slider-track-container::before,
.slider-track-container::after {
    content: "";
    position: absolute;
    top: 0;
    width: 100px;
    height: 100%;
    z-index: 2;
}

.slider-track-container::before {
    left: 0;
    background: linear-gradient(to right, white, transparent);
}

.slider-track-container::after {
    right: 0;
    background: linear-gradient(to left, white, transparent);
}

.slider-track {
    display: flex;
    width: calc(200px * 12); /* Ajusta según cantidad de logos */
    animation: scrollLogos 30s linear infinite;
}

.slide-logo {
    width: 200px;
    padding: 0 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide-logo img {
    max-width: 100%;
    height: auto;
    filter: grayscale(100%); /* Logos en blanco y negro se ven más elegantes */
    opacity: 0.6;
    transition: 0.3s;
}

.slide-logo img:hover {
    filter: grayscale(0%);
    opacity: 1;
}

@keyframes scrollLogos {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-200px * 6)); } /* Mitad de los logos */
}
/* =========================================
   CTA PARALLAX (MODERNO)
   ========================================= */
.cta-parallax {
    /* Usa una foto emotiva de fondo aquí */
    background-image: url('../imagenes/index/3.jpg'); 
    background-attachment: fixed; /* ESTO HACE LA MAGIA DEL PARALLAX */
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    padding: 100px 0;
    text-align: center;
    color: white;
}

.cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(30, 58, 138, 0.85); /* Azul corporativo con transparencia */
    z-index: 1;
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.btn-outline-white {
    border: 2px solid white;
    color: white;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: bold;
    margin-left: 10px;
}

.btn-outline-white:hover {
    background: white;
    color: var(--primary-color);
}

/* Animación de latido para el botón de donar */
.pulse-btn {
    animation: pulse 2s infinite;
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
}

@keyframes pulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 20px rgba(255, 255, 255, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); }
}
/* =========================================
   ANIMACIONES SCROLL REVEAL
   ========================================= */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}
/* =========================================
   SECCIÓN MAPA INTERACTIVO
   ========================================= */
.coverage-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f3f4f6 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.coverage-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

/* Columna Texto */
.badge-pill {
    background: #e0f2fe;
    color: var(--primary-color);
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 15px;
}

.coverage-text h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 20px;
    line-height: 1.2;
}

.coverage-text p {
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.stats-row {
    display: flex;
    gap: 40px;
    margin-bottom: 30px;
    border-left: 4px solid var(--accent-color);
    padding-left: 20px;
}

.stat-mini h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
    font-weight: 800;
    margin: 0;
}

.stat-mini span {
    font-size: 0.9rem;
    color: #666;
}

.btn-outline-dark {
    border: 2px solid var(--text-dark);
    color: var(--text-dark);
    padding: 10px 25px;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
}

.btn-outline-dark:hover {
    background: var(--text-dark);
    color: white;
}

/* Columna Mapa */
.map-container {
    position: relative;
    width: 100%;
    height: 500px; /* Altura del contenedor del mapa */
    display: flex;
    justify-content: center;
    align-items: center;
}

.colombia-map {
    height: 100%;
    width: auto;
    opacity: 0.8;
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.1));
}

/* Puntos Calientes (Hotspots) */
.hotspot {
    position: absolute;
    width: 20px;
    height: 20px;
    background: var(--secondary-color);
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.5);
}

/* Animación de Pulso (El efecto "Chévere") */
.pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    background: rgba(16, 185, 129, 0.6); /* Color verde transparente */
    border-radius: 50%;
    animation: pulse-ring 2s infinite;
}

@keyframes pulse-ring {
    0% { width: 20px; height: 20px; opacity: 1; }
    100% { width: 60px; height: 60px; opacity: 0; }
}

/* Tooltip (Mensajito flotante) */
.tooltip-map {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: white;
    padding: 10px 15px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
    font-size: 0.85rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    text-align: center;
    pointer-events: none;
}

.tooltip-map strong {
    display: block;
    color: var(--primary-color);
}

/* Flechita del tooltip */
.tooltip-map::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: white transparent transparent transparent;
}

.hotspot:hover .tooltip-map {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.hotspot:hover {
    background: var(--accent-color); /* Cambia a naranja al pasar el mouse */
}

/* Responsive Mapa */
@media (max-width: 768px) {
    .coverage-grid { grid-template-columns: 1fr; }
    .map-container { height: 350px; margin-top: 30px; }
    .coverage-text { text-align: center; }
    .stats-row { justify-content: center; border-left: none; border-top: 4px solid var(--accent-color); padding-top: 20px; padding-left: 0; }
}
.map-container {
    position: relative;
    width: 100%;
    height: 600px; /* Aumenté un poco la altura para que el mapa respire */
    display: flex;
    justify-content: center;
    align-items: center;
}

.colombia-map {
    height: 100%;
    width: auto;
    object-fit: contain; /* Esto evita que el mapa se estire o deforme */
    filter: drop-shadow(0 5px 15px rgba(0,0,0,0.2)); /* Sombra elegante alrededor del mapa */
}
/* =========================================
   INDICADOR GIGANTE PARA SAN ANDRÉS
   ========================================= */
.san-andres-overlay {
    position: absolute;
    top: 8%;  /* Ajusta si quieres subirlo/bajarlo */
    left: 15%; /* Ajusta si quieres moverlo a los lados */
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 10; /* Para que quede ENCIMA del mapa */
    pointer-events: none; /* Para que no estorbe al pasar el mouse */
}

/* Círculo que palpita */
.big-pulse {
    width: 30px;
    height: 30px;
    background-color: rgba(245, 158, 11, 0.3); /* Naranja transparente */
    border: 3px solid #F59E0B; /* Borde Naranja Fuerte */
    border-radius: 50%;
    position: relative;
    animation: pulse-animation 2s infinite;
}

/* Centro sólido */
.big-pulse::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    background-color: #F59E0B;
    border-radius: 50%;
}

/* Etiqueta de Texto */
.sa-label {
    background: white;
    padding: 5px 10px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    font-size: 0.8rem;
    line-height: 1.2;
    color: #333;
    border-left: 3px solid #F59E0B;
}

/* Animación */
@keyframes pulse-animation {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.7);
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 20px rgba(245, 158, 11, 0);
    }
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(245, 158, 11, 0);
    }
}

/* AJUSTE PARA CELULARES */
@media (max-width: 768px) {
    .san-andres-overlay {
        top: 5%;
        left: 5%;
    }
    .sa-label {
        font-size: 0.7rem;
    }
}
/* =========================================
   ESTILOS DEL MODAL (PROYECTOS)
   ========================================= */
.modal-overlay { 
    display: none; 
    position: fixed; 
    top: 0; left: 0; 
    width: 100%; height: 100%; 
    background: rgba(0,0,0,0.8); 
    z-index: 10000; 
    justify-content: center; 
    align-items: center; 
    padding: 20px; 
}

.modal-content { 
    background: white; 
    width: 100%; 
    max-width: 900px; 
    max-height: 90vh; 
    overflow-y: auto; 
    border-radius: 10px; 
    position: relative; 
    animation: slideUp 0.3s ease; 
}

.modal-header { 
    position: relative; 
    height: 250px; 
}

.modal-header img { 
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
}

.modal-close { 
    position: absolute; 
    top: 15px; right: 15px; 
    background: white; 
    border: none; 
    width: 40px; height: 40px; 
    border-radius: 50%; 
    font-size: 1.5rem; 
    cursor: pointer; 
    z-index: 2; 
    box-shadow: 0 2px 10px rgba(0,0,0,0.2); 
}

.modal-body { padding: 30px; }

.modal-info-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); 
    gap: 20px; 
    margin-bottom: 20px; 
    background: #f8f9fa; 
    padding: 20px; 
    border-radius: 8px; 
}

.info-item h4 { 
    color: var(--primary-color); 
    font-size: 0.9rem; 
    margin-bottom: 5px; 
}

.project-gallery { 
    display: grid; 
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); 
    gap: 10px; 
    margin-top: 20px; 
}

.project-gallery img { 
    width: 100%; 
    height: 120px; 
    object-fit: cover; 
    border-radius: 5px; 
    cursor: pointer; 
    transition: 0.2s; 
}

.project-gallery img:hover { transform: scale(1.05); }

.video-container { margin-top: 30px; }

@keyframes slideUp { 
    from { transform: translateY(50px); opacity: 0; } 
    to { transform: translateY(0); opacity: 1; } 
}
/* =======================================================
   ESTILOS DE PROYECTOS (TARJETAS Y CUADRÍCULA)
   ======================================================= */

/* 1. La Cuadrícula (Grid) para que salgan ordenados */
.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); /* Columnas automáticas */
    gap: 30px; /* Espacio entre tarjetas */
    width: 100%;
    margin-top: 30px;
}

/* 2. La Tarjeta (El cuadro blanco) */
.project-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden; /* Para que la imagen no se salga de las esquinas */
    box-shadow: 0 5px 15px rgba(0,0,0,0.08); /* Sombra suave */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #f0f0f0;
    display: flex;
    flex-direction: column; /* Para empujar el botón al final */
}

.project-card:hover {
    transform: translateY(-5px); /* Se levanta al pasar el mouse */
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

/* 3. La Imagen de la Tarjeta */
.card-image {
    position: relative;
    height: 200px; /* Altura fija para todas las fotos */
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Recorta la foto para que llene el espacio sin estirarse */
    transition: transform 0.5s ease;
}

.project-card:hover .card-image img {
    transform: scale(1.1); /* Zoom suave en la foto */
}

/* 4. La Etiqueta (Badge) ICBF o Proyecto */
.category-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #FF5722; /* Color naranja */
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: bold;
    text-transform: uppercase;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

/* 5. El Contenido (Texto) */
.card-content {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.card-content h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #333; /* Color oscuro para título */
    line-height: 1.4;
}

.card-content p {
    font-size: 0.95rem;
    color: #666; /* Color gris para texto */
    margin-bottom: 15px;
    line-height: 1.6;
}

/* Iconos y textos pequeños (Ubicación) */
.card-content i {
    color: #FF5722; /* Iconos naranjas */
    margin-right: 5px;
}

/* Logo pequeño de la alianza (si tiene) */
.partner-logo-mini {
    height: 25px;
    width: auto;
    object-fit: contain;
}

/* 6. El Botón "Ver Detalles" */
.btn-text {
    margin-top: auto; /* Empuja el botón al fondo de la tarjeta */
    background: transparent;
    border: none;
    color: #0d6efd; /* Azul enlace */
    font-weight: bold;
    cursor: pointer;
    text-align: left;
    padding: 0;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: color 0.3s;
}

.btn-text:hover {
    color: #0a58ca;
    text-decoration: underline;
}
/* =======================================================
   ESTILOS DE PROYECTOS (TARJETAS Y CUADRÍCULA)
   ======================================================= */

/* 1. La Cuadrícula (Grid) para que salgan ordenados */
.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); /* Columnas automáticas */
    gap: 30px; /* Espacio entre tarjetas */
    width: 100%;
    margin-top: 30px;
    margin-bottom: 30px;
}

/* 2. La Tarjeta (El cuadro blanco) */
.project-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden; /* Para que la imagen no se salga */
    box-shadow: 0 5px 15px rgba(0,0,0,0.08); /* Sombra suave */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #f0f0f0;
    display: flex;
    flex-direction: column; /* Para empujar el botón al final */
    min-height: 400px; /* Altura mínima */
}

.project-card:hover {
    transform: translateY(-5px); /* Se levanta al pasar el mouse */
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

/* 3. La Imagen de la Tarjeta */
.card-image {
    position: relative;
    height: 200px; /* Altura fija para todas las fotos */
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Recorta la foto para que llene el espacio sin estirarse */
    transition: transform 0.5s ease;
}

.project-card:hover .card-image img {
    transform: scale(1.1); /* Zoom suave en la foto */
}

/* 4. La Etiqueta (Badge) */
.category-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #FF5722; /* Color naranja */
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: bold;
    text-transform: uppercase;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

/* 5. El Contenido (Texto) */
.card-content {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.card-content h3 {
    font-size: 1.2rem;
    margin: 0 0 10px 0;
    color: #333; /* Color oscuro para título */
    line-height: 1.4;
    font-weight: 700;
}

.card-content p {
    font-size: 0.95rem;
    color: #666; /* Color gris para texto */
    margin-bottom: 15px;
    line-height: 1.6;
}

/* Iconos y textos pequeños (Ubicación) */
.card-content i {
    color: #FF5722; /* Iconos naranjas */
    margin-right: 5px;
}

/* Logo pequeño de la alianza */
.partner-logo-mini {
    height: 25px;
    width: auto;
    object-fit: contain;
}

/* 6. El Botón "Ver Detalles" */
.btn-text {
    margin-top: auto; /* Empuja el botón al fondo de la tarjeta */
    background: transparent;
    border: none;
    color: #1E3A8A; /* Azul Institucional */
    font-weight: bold;
    cursor: pointer;
    text-align: left;
    padding: 0;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: color 0.3s;
}

.btn-text:hover {
    color: #FF5722; /* Naranja al pasar mouse */
    text-decoration: underline;
}

/* =========================================
   ESTILOS DEL MODAL (VENTANA EMERGENTE)
   ========================================= */
.modal-overlay { 
    display: none; /* Oculto por defecto */
    position: fixed; 
    top: 0; left: 0; 
    width: 100%; height: 100%; 
    background: rgba(0,0,0,0.8); 
    z-index: 10000; 
    justify-content: center; 
    align-items: center; 
    padding: 20px; 
}

.modal-content { 
    background: white; 
    width: 100%; 
    max-width: 900px; 
    max-height: 90vh; /* Máximo 90% de la altura de la pantalla */
    overflow-y: auto; /* Scroll si es muy largo */
    border-radius: 10px; 
    position: relative; 
    animation: slideUp 0.3s ease; 
}

.modal-header { 
    position: relative; 
    height: 250px; 
}

.modal-header img { 
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
}

.modal-close { 
    position: absolute; 
    top: 15px; right: 15px; 
    background: white; 
    border: none; 
    width: 40px; height: 40px; 
    border-radius: 50%; 
    font-size: 1.5rem; 
    cursor: pointer; 
    z-index: 2; 
    box-shadow: 0 2px 10px rgba(0,0,0,0.2); 
    display: flex; justify-content: center; align-items: center;
}

.modal-body { padding: 30px; }

.modal-info-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); 
    gap: 20px; 
    margin-bottom: 20px; 
    background: #f8f9fa; 
    padding: 20px; 
    border-radius: 8px; 
}

.info-item h4 { 
    color: #1E3A8A; /* Azul */
    font-size: 0.9rem; 
    margin-bottom: 5px; 
    font-weight: bold;
}

.project-gallery { 
    display: grid; 
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); 
    gap: 10px; 
    margin-top: 20px; 
}

.project-gallery img { 
    width: 100%; 
    height: 120px; 
    object-fit: cover; 
    border-radius: 5px; 
    cursor: pointer; 
    transition: 0.2s; 
}

.project-gallery img:hover { transform: scale(1.05); }

.video-container { margin-top: 30px; }

@keyframes slideUp { 
    from { transform: translateY(50px); opacity: 0; } 
    to { transform: translateY(0); opacity: 1; } 
}
/* =========================================
   ESTILOS DE VACANTES (EMPLEO)
   ========================================= */

.job-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    margin-bottom: 25px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    border: 1px solid #eee;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-left: 5px solid var(--primary-color); /* Borde azul a la izquierda */
}

.job-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.job-header {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 20px;
    margin-bottom: 20px;
}

.job-title {
    margin: 0 0 10px 0;
    color: var(--primary-color);
    font-size: 1.4rem;
    font-weight: 700;
}

.job-meta {
    display: flex;
    gap: 20px;
    font-size: 0.95rem;
    color: #666;
}

.job-meta i {
    color: var(--secondary-color); /* Iconos verdes */
    margin-right: 5px;
}

/* Etiquetas de tipo de contrato */
.job-type {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 0.85rem;
    text-transform: uppercase;
    background: #e0f2fe; /* Azul claro por defecto */
    color: #0369a1;
}

.job-type.full-time {
    background: #dcfce7; /* Verde claro */
    color: #166534;
}

.job-type.part-time {
    background: #ffedd5; /* Naranja claro */
    color: #9a3412;
}

.job-date {
    font-size: 0.85rem;
    color: #999;
    margin-top: 8px;
    text-align: right;
    display: block;
}

.job-body p {
    color: #4b5563;
    margin-bottom: 25px;
    line-height: 1.7;
    white-space: pre-line; /* Respeta los saltos de línea del admin */
}
/* =========================================
   ESTILOS CONTACTO MODERNOS
   ========================================= */

.contact-section {
    position: relative;
    background: #fff;
    overflow: hidden;
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
    margin-bottom: 50px;
}

/* Formulario */
.contact-form-box {
    background: #ffffff;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    border: 1px solid #f0f0f0;
}

.input-group {
    margin-bottom: 20px;
}

.input-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--primary-color);
    font-size: 0.9rem;
}

.input-group input,
.input-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #eee;
    border-radius: 8px;
    font-size: 1rem;
    font-family: var(--font-body);
    transition: 0.3s;
    background: #f9f9f9;
}

.input-group input:focus,
.input-group textarea:focus {
    border-color: var(--secondary-color);
    background: white;
    outline: none;
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.1); /* Sombra verde suave */
}

/* Tarjetas de Información */
.contact-info-grid {
    display: grid;
    gap: 20px;
}

.info-card-modern {
    display: flex;
    align-items: center;
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    border: 1px solid #f0f0f0;
    transition: transform 0.3s;
}

.info-card-modern:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    border-color: var(--primary-color);
}

.icon-box {
    width: 50px;
    height: 50px;
    background: #e0f2fe; /* Azul muy claro */
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    margin-right: 20px;
    flex-shrink: 0;
}

.info-text h3 {
    margin: 0;
    font-size: 1.1rem;
    color: #333;
}

.info-text p {
    margin: 5px 0 0 0;
    color: #666;
    font-size: 0.95rem;
}

/* Mapa Panorámico */
.map-container-modern {
    width: 100%;
    height: 400px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    border: 5px solid white;
}

.map-container-modern iframe {
    width: 100%;
    height: 100%;
    border: 0;
    filter: saturate(1.1); /* Hace el mapa un poco más vivo */
}

/* Responsive */
@media (max-width: 768px) {
    .contact-layout {
        grid-template-columns: 1fr;
    }
}

/* =========================================
   ESTILOS VOLUNTARIADO (MODERNO)
   ========================================= */

.volunteer-section {
    background: #f8fafc; /* Fondo muy suave */
    position: relative;
}

.volunteer-layout {
    display: grid;
    grid-template-columns: 1fr 1.2fr; /* Columna izquierda un poco más angosta */
    gap: 60px;
    align-items: center;
}

/* Columna Izquierda: Beneficios */
.benefits-box h3 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 25px;
}

.benefit-item {
    display: flex;
    align-items: start;
    margin-bottom: 30px;
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.03);
    transition: transform 0.3s ease;
    border-left: 4px solid var(--secondary-color); /* Borde verde */
}

.benefit-item:hover {
    transform: translateX(10px); /* Se mueve a la derecha al pasar mouse */
    box-shadow: 0 10px 20px rgba(0,0,0,0.08);
}

.benefit-icon {
    font-size: 1.5rem;
    color: var(--secondary-color);
    background: #ecfdf5;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 20px;
    flex-shrink: 0;
}

.benefit-text h4 {
    margin: 0 0 5px 0;
    font-size: 1.1rem;
    color: #333;
}

.benefit-text p {
    margin: 0;
    font-size: 0.95rem;
    color: #666;
    line-height: 1.5;
}

/* Columna Derecha: Formulario */
.volunteer-form-card {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1); /* Sombra fuerte y moderna */
    border: 1px solid #f0f0f0;
    position: relative;
    overflow: hidden;
}

/* Decoración superior del formulario */
.volunteer-form-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 6px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.form-title {
    text-align: center;
    margin-bottom: 30px;
}

.form-title h3 {
    font-size: 1.5rem;
    color: var(--text-dark);
}

.form-title p {
    color: #666;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 900px) {
    .volunteer-layout {
        grid-template-columns: 1fr; /* Una sola columna en celular */
        gap: 40px;
    }
}
/* =========================================
   ESTILOS PQRSD (ATENCIÓN AL CIUDADANO)
   ========================================= */

.pqrsd-section {
    background: #fdfdfd;
}

.pqrsd-layout {
    display: grid;
    grid-template-columns: 1fr 1.5fr; /* El formulario es más ancho */
    gap: 50px;
    align-items: start;
}

/* Columna Izquierda: Definiciones */
.pqrsd-definitions {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    border: 1px solid #eee;
}

.def-item {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f0f0f0;
}

.def-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.def-header {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
}

.def-icon {
    width: 35px;
    height: 35px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    margin-right: 12px;
    font-size: 0.9rem;
}

.def-item h4 {
    margin: 0;
    color: var(--text-dark);
    font-size: 1.1rem;
}

.def-item p {
    font-size: 0.9rem;
    color: #666;
    margin-left: 47px; /* Alineado con el título */
    line-height: 1.5;
}

/* Columna Derecha: Formulario Oficial */
.pqrsd-form-box {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    border-top: 5px solid var(--accent-color); /* Borde naranja arriba */
}

.legal-text {
    font-size: 0.8rem;
    color: #888;
    margin-top: 20px;
    background: #f9fafb;
    padding: 15px;
    border-radius: 6px;
    border: 1px dashed #ddd;
}

/* Checkbox personalizado */
.legal-check {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
}

.legal-check input {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

/* Responsive */
@media (max-width: 900px) {
    .pqrsd-layout {
        grid-template-columns: 1fr;
    }
    .pqrsd-definitions {
        order: 2; /* En celular, las definiciones bajan */
    }
    .pqrsd-form-box {
        order: 1;
    }
}
/* =========================================
   CORRECCIÓN TARJETAS LARGAS (STYLES.CSS)
   ========================================= */

/* Estilo Base de la Tarjeta */
.news-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%; /* Ocupa toda la altura disponible */
    border: 1px solid #eee;
}

/* --- CORRECCIÓN PARA NOTICIAS SOCIALES (FACEBOOK/INSTAGRAM) --- */
.social-card {
    border-radius: 12px;
    overflow: hidden;
    background: #ffffff;
    display: flex;
    flex-direction: column;
    /* ESTA ES LA CLAVE: Altura fija máxima */
    height: 500px !important; 
}

.social-header {
    padding: 15px;
    color: white;
    font-weight: bold;
    flex-shrink: 0; /* Que el encabezado no se encoja */
}

/* Colores de redes */
.social-card.facebook .social-header { background: #1877F2; }
.social-card.instagram .social-header { background: #E1306C; }
.social-card.tiktok .social-header { background: #000000; }

.social-body {
    padding: 0;
    flex-grow: 1;
    overflow-y: auto; /* Scroll vertical si es muy largo */
    background: #f9f9f9;
}

/* Estilizar el scroll para que se vea bonito dentro de la tarjeta */
.social-body::-webkit-scrollbar {
    width: 8px;
}
.social-body::-webkit-scrollbar-track {
    background: #f1f1f1;
}
.social-body::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 4px;
}
.social-body::-webkit-scrollbar-thumb:hover {
    background: #aaa;
}

/* Ajuste para que el iframe o contenido ocupe el ancho correcto */
.social-body iframe, 
.social-body blockquote {
    margin: 0 !important;
    width: 100% !important;
    border: none !important;
    overflow: hidden;
}
/* =========================================
   ESTILOS NOTICIAS Y BLOG (MODERNO)
   ========================================= */

.news-section {
    background: #f8f9fa;
    position: relative;
}

.news-layout {
    display: grid;
    grid-template-columns: 2.5fr 1fr; /* Contenido ancho | Barra lateral angosta */
    gap: 40px;
    align-items: start;
}

/* --- GRID DE NOTICIAS (Donde JS inyecta las cards) --- */
.news-grid-page {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

/* Estilo de la Tarjeta de Noticia (Generada por JS) */
.news-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    border: none;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.news-img {
    height: 220px;
    overflow: hidden;
    position: relative;
}

.news-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.news-card:hover .news-img img {
    transform: scale(1.1);
}

.news-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--primary-color);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: bold;
    z-index: 2;
}

.news-body {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.news-date {
    font-size: 0.85rem;
    color: #888;
    margin-bottom: 10px;
    display: block;
}

.news-body h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
    line-height: 1.4;
    color: var(--text-dark);
}

.news-body p {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 20px;
    line-height: 1.6;
    flex-grow: 1; /* Empuja el botón al final */
}

/* --- BARRA LATERAL (SIDEBAR) --- */
.sidebar {
    position: sticky;
    top: 100px; /* Se queda pegada al bajar */
}

.widget {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    margin-bottom: 30px;
    border: 1px solid #f0f0f0;
}

.widget h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f0f0f0;
    color: var(--primary-color);
    position: relative;
}

.widget h3::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 50px;
    height: 2px;
    background: var(--accent-color);
}

/* Buscador */
.search-box {
    position: relative;
}
.search-box input {
    width: 100%;
    padding: 12px 45px 12px 15px;
    border: 2px solid #eee;
    border-radius: 30px;
    background: #f9f9f9;
    transition: 0.3s;
}
.search-box input:focus {
    border-color: var(--primary-color);
    background: white;
    outline: none;
}
.search-box button {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--primary-color);
    color: white;
    border: none;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Lista de Categorías */
.cat-list li {
    margin-bottom: 12px;
}
.cat-list a {
    display: flex;
    justify-content: space-between;
    color: #555;
    font-weight: 500;
    padding: 8px 10px;
    border-radius: 8px;
    transition: 0.3s;
}
.cat-list a:hover {
    background: #f0f9ff;
    color: var(--primary-color);
    padding-left: 15px;
}
.cat-count {
    background: #eee;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 0.8rem;
    color: #777;
}

/* Redes Sociales Widget */
.social-widget-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}
.social-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 45px;
    border-radius: 8px;
    color: white;
    font-size: 1.2rem;
    transition: 0.3s;
}
.social-btn:hover {
    transform: translateY(-3px);
    filter: brightness(1.1);
}

/* Responsive */
@media (max-width: 900px) {
    .news-layout {
        grid-template-columns: 1fr; /* Una columna en celular */
    }
    .sidebar {
        position: relative;
        top: 0;
    }
}
/* =========================================
   ESTILOS DONACIONES (MODERNO)
   ========================================= */

.donate-section {
    background: #f0f4f8; /* Fondo gris azulado muy suave */
}

.donate-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}

/* Columna Izquierda: Impacto */
.impact-intro h2 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 20px;
}

.impact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.impact-card {
    background: white;
    padding: 25px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s;
    border-bottom: 4px solid transparent;
}

.impact-card:hover {
    transform: translateY(-5px);
    border-bottom-color: var(--secondary-color);
}

.impact-icon {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.impact-card h4 {
    margin: 0;
    color: #333;
    font-size: 1.1rem;
}

.impact-card p {
    font-size: 0.9rem;
    color: #666;
    margin-top: 5px;
}

/* Columna Derecha: WIDGET DE DONACIÓN */
.donation-widget {
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
    overflow: hidden;
    position: relative;
    border: 1px solid #fff;
}

.dw-header {
    background: var(--primary-color);
    padding: 30px;
    text-align: center;
    color: white;
}

.dw-header h3 {
    margin: 0;
    font-size: 1.5rem;
}

.dw-header p {
    color: rgba(255,255,255,0.8);
    margin: 5px 0 0 0;
    font-size: 0.9rem;
}

/* Pestañas (Tabs) */
.dw-tabs {
    display: flex;
    background: #f1f5f9;
    padding: 10px;
    gap: 10px;
}

.tab-btn {
    flex: 1;
    border: none;
    background: transparent;
    padding: 12px;
    border-radius: 10px;
    font-weight: bold;
    color: #64748b;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.tab-btn:hover {
    background: rgba(255,255,255,0.5);
    color: var(--primary-color);
}

.tab-btn.active {
    background: white;
    color: var(--primary-color);
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

/* Contenido de las pestañas */
.dw-body {
    padding: 30px;
    min-height: 300px; /* Para evitar saltos de altura */
}

.tab-content {
    display: none; /* Ocultos por defecto */
    animation: fadeIn 0.4s ease;
}

.tab-content.active {
    display: block; /* Solo el activo se ve */
}

/* Estilos específicos de contenido */
.account-box {
    background: #f8fafc;
    border: 2px dashed #cbd5e1;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    margin: 20px 0;
}

.account-number {
    font-size: 1.4rem;
    font-weight: bold;
    color: #333;
    letter-spacing: 1px;
    margin: 10px 0;
    display: block;
}

.copy-btn {
    background: white;
    border: 1px solid #e2e8f0;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    cursor: pointer;
    color: var(--primary-color);
    transition: 0.2s;
}

.copy-btn:hover {
    background: var(--primary-color);
    color: white;
}

.qr-placeholder {
    width: 200px;
    height: 200px;
    background: #eee;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
    color: #999;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Responsive */
@media (max-width: 900px) {
    .donate-layout {
        grid-template-columns: 1fr;
    }
}
