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

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
}

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

header {
    background-color: #1e3a8a;
    color: white;
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo h1 {
    font-size: 2rem;
    font-weight: bold;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #60a5fa;
}

main {
    margin-top: 80px;
}

.hero {
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.8) 0%, rgba(59, 130, 246, 0.8) 100%), url('images/semiconductores.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    padding: 6rem 0;
    text-align: center;
}

.hero-content h2 {
    font-size: 4rem;
    margin-bottom: 1rem;
    font-weight: bold;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #e2e8f0;
}

.hero-description {
    font-size: 1.2rem;
    color: #cbd5e1;
    max-width: 600px;
    margin: 0 auto;
}

.project-section {
    padding: 5rem 0;
    background-color: #f8fafc;
}

.project-section h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
    color: #1e3a8a;
}

.project-section p {
    font-size: 1.1rem;
    margin-bottom: 3rem;
    text-align: center;
    color: #64748b;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 3rem;
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.feature:hover {
    transform: translateY(-5px);
}

.feature h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #1e3a8a;
}

.feature p {
    color: #64748b;
    margin: 0;
}

.partners-section {
    padding: 5rem 0;
    background-color: white;
}

.partners-section h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    text-align: center;
    color: #1e3a8a;
}

.partners {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
}

.partner {
    background: #f8fafc;
    padding: 2.5rem;
    border-radius: 10px;
    border-left: 4px solid #3b82f6;
    display: flex;
    align-items: flex-start;
    gap: 2rem;
}

.partner-logo {
    flex-shrink: 0;
    width: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.partner-content {
    flex: 1;
}

.partner h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: #1e3a8a;
}

.partner-subtitle {
    font-style: italic;
    color: #3b82f6;
    margin-bottom: 1rem;
    font-weight: 600;
}

.partner p {
    margin-bottom: 1rem;
    color: #475569;
}

.gaia-section {
    padding: 5rem 0;
    background-color: #f1f5f9;
}

.gaia-section h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
    color: #1e3a8a;
}

.gaia-section p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    text-align: center;
    color: #64748b;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 2rem;
}

.gaia-principles {
    list-style: none;
    max-width: 800px;
    margin: 0 auto;
}

.gaia-principles li {
    background: white;
    padding: 1.5rem;
    margin-bottom: 1rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border-left: 4px solid #3b82f6;
}

.gaia-principles strong {
    color: #1e3a8a;
}

footer {
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.6) 0%, rgba(59, 130, 246, 0.8) 100%), url('images/semiconductores.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    padding: 3rem 0 1rem;
}

.financiado-img {
    max-width: 100%;
    max-height: 80px;
    width: auto;
    height: auto;
    object-fit: contain;
    background-color: rgba(255, 255, 255, 0.85); /* caja clara */
    padding: 0.5rem 1rem;
    border-radius: 8px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: #e2e8f0;
}

.footer-section p {
    color: #cbd5e1;
    margin-bottom: 0.5rem;
}

.financiado-img {
    max-width: 100%;
    max-height: 80px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 1rem;
    text-align: center;
    color: #cbd5e1;
}

@media (max-width: 768px) {
    .nav-links {
        gap: 1rem;
    }

    .hero-content h2 {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .features {
        grid-template-columns: 1fr;
    }

    .partners {
        grid-template-columns: 1fr;
    }

    .partner {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }

    .partner-logo {
        width: 100%;
        justify-content: center;
    }

    .logo-img {
        max-height: 60px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}
