/* Banner Cooperación */
.cooperacion-banner {
    background: linear-gradient(135deg, #2d8f3c 0%, #359444 100%);
    color: white;
    padding: 3rem 2rem;
    margin-bottom: 0;
}

.banner-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.banner-container h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.2;
    flex: 1;
}

.banner-contact {
    text-align: right;
}

.banner-contact p {
    margin: 0.5rem 0;
    font-size: 1rem;
}

/* Contenido Principal */
.cooperacion-main {
    background-color: #f5f5f5;
    padding: 2rem 1rem;
    min-height: 60vh;
}

.cooperacion-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 2rem;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* Sidebar */
.cooperacion-sidebar {
    background-color: #f8f9fa;
    border-right: 1px solid #e0e0e0;
}

.tabs-menu {
    display: flex;
    flex-direction: column;
}

.tab-button {
    background: transparent;
    border: none;
    padding: 1rem 1.5rem;
    text-align: left;
    cursor: pointer;
    font-size: 0.9rem;
    color: #666;
    font-weight: 500;
    border-left: 3px solid transparent;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.tab-button:hover {
    background-color: #e9ecef;
    color: #333;
}

.tab-button.active {
    background-color: white;
    color: #2d8f3c;
    border-left-color: #2d8f3c;
    font-weight: 600;
}

.tab-text {
    flex: 1;
}

/* Contenido */
.cooperacion-content {
    padding: 2rem;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

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

.content-wrapper-full {
    max-width: 100%;
}

.content-wrapper-full h2 {
    color: #2d8f3c;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 3px solid #2d8f3c;
    display: inline-block;
}

.content-wrapper-full h3 {
    color: #333;
    font-size: 1.3rem;
    margin: 1.5rem 0 1rem;
}

.content-wrapper-full p {
    line-height: 1.8;
    color: #555;
    margin-bottom: 1rem;
}

/* Personal Info */
.personal-info {
    background-color: #f8f9fa;
    padding: 2rem;
    border-radius: 8px;
    margin-top: 1rem;
}

.personal-info h3 {
    color: #333;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.personal-info p {
    font-size: 1rem;
    color: #555;
    margin: 0.5rem 0;
}

.personal-info strong {
    color: #333;
}

/* Misión y Visión Container */
.mision-vision-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 1.5rem;
}

.mision-section,
.vision-section {
    background-color: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
}

.mision-section h3,
.vision-section h3 {
    color: #2d8f3c;
    margin-top: 0;
}

/* Responsive */
@media (max-width: 1024px) {
    .cooperacion-container {
        grid-template-columns: 240px 1fr;
    }

    .banner-container h1 {
        font-size: 2rem;
    }
}

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

    .cooperacion-sidebar {
        border-right: none;
        border-bottom: 1px solid #e0e0e0;
    }

    .tabs-menu {
        flex-direction: row;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .tab-button {
        border-left: none;
        border-bottom: 3px solid transparent;
        white-space: nowrap;
    }

    .tab-button.active {
        border-left: none;
        border-bottom-color: #2d8f3c;
    }

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

    .banner-container h1 {
        font-size: 1.8rem;
    }

    .banner-contact {
        text-align: center;
    }

    .mision-vision-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .banner-container h1 {
        font-size: 1.5rem;
    }

    .cooperacion-content {
        padding: 1rem;
    }

    .content-wrapper-full h2 {
        font-size: 1.5rem;
    }
}
