/* bc3lab.css */
:root {
    --dark-blue: #1e3a8a;
    --light-blue: #3b82f6;
    --text-color: #333333;
    --background-color: #f9fafb;
    --accent-color: #0c4a6e;
    --mint-green: #b5e6d1;
    --brown-border: #8b6c5c;
    --beige: #f5e7c1;
}

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

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

.project-container {
    display: flex;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    gap: 40px;
}

.project-content {
    flex: 3;
}

.project-image {
    flex: 2;
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.project-image img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
}

h1 {
    color: var(--dark-blue);
    font-size: 28px;
    margin-bottom: 20px;
    line-height: 1.3;
}

.project-partners {
    margin-bottom: 20px;
    line-height: 1.7;
}

.partner-name {
    color: var(--dark-blue);
    font-weight: bold;
}

p {
    margin-bottom: 20px;
    line-height: 1.7;
}

strong {
    font-weight: bold;
}

/* Project Stats Section */
.project-stats {
    background-color: var(--mint-green);
    padding: 60px 0;
    position: relative;
    overflow: hidden;
    border-bottom: 5px solid var(--brown-border);
}

.project-stats::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(circle, rgba(255,255,255,0.6) 2px, transparent 3px);
    background-size: 25px 25px;
    z-index: 1;
}

.stats-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
    text-align: center;
}

.project-stats h2 {
    color: var(--dark-blue);
    font-size: 32px;
    margin-bottom: 20px;
    text-align: center;
}

.stats-intro {
    max-width: 700px;
    margin: 0 auto 40px;
    text-align: center;
    font-size: 18px;
}

.stats-grid {
    display: flex;
    justify-content: space-around;
    gap: 40px;
    margin-top: 40px;
}

.stat-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-number {
    font-size: 60px;
    font-weight: bold;
    color: var(--dark-blue);
    line-height: 1;
    margin-bottom: 10px;
}

.stat-decimal {
    font-size: 30px;
}

.stat-label {
    font-size: 20px;
    color: var(--dark-blue);
}

/* Sustainable Goals Section */
.sustainable-goals {
    background-image: url('images/nature-background.jpg');
    background-size: cover;
    background-position: center;
    padding: 60px 0;
    position: relative;
    color: var(--dark-blue);
}

.sustainable-goals::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.7);
    z-index: 1;
}

.goals-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
    text-align: center;
}

.sustainable-goals h2 {
    font-size: 32px;
    margin-bottom: 20px;
    text-align: center;
}

.goals-intro {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    font-size: 18px;
    line-height: 1.6;
}

.sdg-icons {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 30px;
}

.sdg-icon img {
    width: 80px;
    height: 80px;
    transition: transform 0.3s ease;
}

.sdg-icon img:hover {
    transform: scale(1.1);
}

/* Consortium Section */
.consortium {
    background-color: var(--beige);
    padding: 60px 0;
}

.consortium-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.consortium h2 {
    color: var(--dark-blue);
    font-size: 32px;
    margin-bottom: 40px;
    text-align: center;
}

.consortium h3 {
    color: var(--dark-blue);
    font-size: 22px;
    margin-bottom: 30px;
    text-align: center;
}

.consortium-grid {
    display: flex;
    justify-content: space-between;
    gap: 60px;
}

.consortium-column {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.partners {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0px;
    justify-content: center;
    width: 100%;
    margin-bottom: 30px;
}

.partners-top, .partners-bottom {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 30px;
    width: 100%;
}

.partner-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
    background-color: var(--beige);
    width: 130px;
    height: 90px;
}

.partner-logo img {
    max-width: 100%;
    max-height: 70px;
    object-fit: contain;
}

.financing-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-bottom: 30px;
    width: auto;
}

.financing-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px;
    background-color: var(--beige);
    width: 110px;
    height: 110px;
}

.financing-logo img {
    max-width: 100%;
    max-height: 90px;
    object-fit: contain;
}

.project-code {
    text-align: center;
    display: flex;
    justify-content: center;
    width: 100%;
}

.project-code img {
    max-width: 180px;
    height: auto;
}

/* Responsive styles */
@media (max-width: 768px) {
    .project-container {
        flex-direction: column;
    }
    
    .project-image {
        order: -1;
        margin-bottom: 20px;
    }
    
    .stats-grid {
        flex-direction: column;
        gap: 30px;
    }
    
    .stat-item {
        margin-bottom: 20px;
    }
    
    .stat-number {
        font-size: 48px;
    }
    
    .stat-decimal {
        font-size: 24px;
    }
    
    .sdg-icons {
        flex-wrap: wrap;
        gap: 20px;
    }
    
    .sdg-icon img {
        width: 60px;
        height: 60px;
    }
    
    .goals-intro {
        max-width: 90%;
    }
    
    .consortium-grid {
        flex-direction: column;
        gap: 40px;
    }
    
    .partners-top, .partners-bottom {
        gap: 15px;
    }
    
    .partner-logo {
        width: 110px;
        height: 80px;
    }
    
    .project-code img {
        max-width: 150px;
    }
}

.footer-financing-logos {
    display: flex;
    align-items: center;
    gap: 12px; /* Ajusta el espacio entre logos a tu gusto */
}
.footer-financing-logos .gva-logo {
    height: 80px; /* O el tamaño que prefieras para el footer */
    width: auto;
    background: none;
    box-shadow: none;
}