/* Ecosystem Section */
.ecosystem-section {
    background-color: #1c1c1c;
    padding: 0px 16px;
    color: #fff;
}

.ecosystem-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 32px;
}

.ecosystem-content {
    display: flex;
    align-items: center;
    gap: 80px;
}

.ecosystem-text {
    flex: 1;
    margin-top: 20px;
}

.ecosystem-text h2 {
    font-size: 3rem;
    font-weight: 700;
    margin: 0 0 24px 0;
    letter-spacing: 2px;
    line-height: 1.2;
}

.ecosystem-text .highlight {
    color: #fff;
    font-weight: 900;
}

.ecosystem-text p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #e0e0e0;
    margin-bottom: 40px;
}

.hexagon-grid {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.hexagon {
    width: 140px;
    height: 140px;
    position: relative;
    margin: 20px 0;
}

.hexagon::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: inherit;
    transform: rotate(60deg);
    border-radius: 10px;
}

.hexagon::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: inherit;
    transform: rotate(-60deg);
    border-radius: 10px;
}

.hexagon-inner {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 0.9rem;
    font-weight: 600;
    z-index: 1;
    color: #fff;
    padding: 20px;
    box-sizing: border-box;
}

.hexagon--purple {
    background: linear-gradient(135deg, #6a3bc2 0%, #5027a3 100%);
}

.hexagon--pink {
    background: linear-gradient(135deg, #c2478a 0%, #a3276b 100%);
}

.hexagon--orange {
    background: linear-gradient(135deg, #e94e1b 0%, #cc3d15 100%);
}

.ecosystem-image {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.woman-container {
    position: relative;
    background: linear-gradient(135deg, #6a3bc2 0%, #e94e1b 50%, #c2478a 100%);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.woman-container img {
    max-width: 300px;
    height: auto;
    border-radius: 15px;
}

.info-card {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
    padding: 20px;
    border-radius: 15px;
    max-width: 200px;
    font-size: 0.9rem;
    line-height: 1.4;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

@media (max-width: 1024px) {
    .ecosystem-content {
        flex-direction: column;
        gap: 50px;
        text-align: center;
    }

    .hexagon-grid {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .ecosystem-section {
        padding: 60px 0;
    }

    .ecosystem-container {
        padding: 0 16px;
    }

    .ecosystem-text h2 {
        font-size: 2.2rem;
    }

    .hexagon-grid {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }

    .woman-container {
        padding: 20px;
    }

    .woman-container img {
        max-width: 250px;
    }

    .info-card {
        position: static;
        margin-top: 20px;
        max-width: 100%;
    }
}

/* Hexagon with image styling */
.hexagon-with-image {
    position: relative;
    display: inline-block;
    text-align: center;
}

.ecosystem-icon {
    display: block;
}

.hexagon-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-weight: 600;
    font-size: 0.9rem;
    text-align: center;
    line-height: 1.2;
    pointer-events: none;
}

.img-text {
 position: absolute;
   left: 50%;
    transform: translate(-35%, 220%);
    color: black;
    font-weight: 500;
    font-size: 0.8rem;
    text-align: center;
    line-height: 1.2;
    pointer-events: none;
}

.img-text-en {
    top: 60%;
}

.img-text-es {
    top: 55%;
}