/* =========================================================
   GREEN-X — MAIN STYLESHEET
   ========================================================= */


/* ---------- GENERAL ---------- */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    color: #183b35;
    background: #ffffff;
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    width: min(1180px, 90%);
    margin: 0 auto;
}


/* ---------- HEADER ---------- */

.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid #e5eee9;
    backdrop-filter: blur(10px);
}

.nav-container {
    min-height: 82px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}


/* Temporary text logo */

.logo {
    display: flex;
    align-items: center;
}

/* ---------- LOGO ---------- */

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 70px;
    width: auto;
    display: block;
}

.navigation {
    display: flex;
    align-items: center;
    gap: 28px;
}

.navigation a {
    font-size: 16px;
    font-weight: 600;
    color: #36544e;
    transition: color 0.2s ease;
}

.navigation a:hover {
    color: #159447;
}

.menu-button {
    display: none;
    border: none;
    background: none;
    font-size: 28px;
    cursor: pointer;
    color: #183b35;
}


/* ---------- HERO ---------- */

/* ---------- HERO ---------- */

.hero {
    min-height: 680px;
    position: relative;
    display: flex;
    align-items: center;

    background:
        radial-gradient(
            circle at 85% 45%,
            rgba(96, 190, 120, 0.22) 0,
            rgba(96, 190, 120, 0.08) 20%,
            transparent 45%
        ),
        linear-gradient(
            120deg,
            #0b4036 0%,
            #0f6948 55%,
            #159447 100%
        );

    overflow: hidden;
}


/* subtle organic / molecular shapes */

.hero::before {
    content: "";
    position: absolute;

    width: 520px;
    height: 520px;

    right: -120px;
    top: 50%;
    transform: translateY(-50%);

    border: 1px solid rgba(255,255,255,0.10);
    border-radius: 50%;

    box-shadow:
        0 0 0 70px rgba(255,255,255,0.025),
        0 0 0 140px rgba(255,255,255,0.018);
}


.hero::after {
    content: "";
    position: absolute;

    width: 180px;
    height: 180px;

    right: 180px;
    top: 120px;

    border: 1px solid rgba(183,239,114,0.20);
    border-radius: 50%;

    box-shadow:
        90px 110px 0 -45px rgba(183,239,114,0.10),
        -100px 150px 0 -55px rgba(255,255,255,0.08);
}


/* content */

.hero-content {
    position: relative;
    z-index: 2;

    color: white;

    max-width: 900px;

    padding: 105px 0;
}


.hero-label {
    display: inline-block;

    margin-bottom: 25px;
    padding: 8px 15px;

    border: 1px solid rgba(255,255,255,0.30);
    border-radius: 30px;

    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.6px;

    background: rgba(255,255,255,0.04);
}


.hero h1 {
    font-size: clamp(46px, 6vw, 78px);
    line-height: 1.02;

    letter-spacing: -3px;

    max-width: 850px;
}


.hero h1 span {
    color: #b7ef72 !important;
    font-size: 32px !important;
    line-height: 1.05 !important;
    letter-spacing: -0.8px !important;
    display: inline-block;
}
.hero-subtitle {
    margin-top: 27px;

    max-width: 680px;

    font-size: 21px;
    line-height: 1.5;

    color: rgba(255,255,255,0.88);
}


.hero-buttons {
    margin-top: 40px;

    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

/* ---------- BUTTONS ---------- */

.button {
    display: inline-block;
    padding: 14px 25px;
    border-radius: 5px;
    font-weight: 700;
    font-size: 14px;
    transition: all 0.2s ease;
}

.button-primary {
    background: #b7ef72;
    color: #143a2f;
}

.button-primary:hover {
    background: #d0f89f;
    transform: translateY(-2px);
}

.button-secondary {
    border: 1px solid rgba(255,255,255,0.5);
    color: white;
}

.button-secondary:hover {
    background: white;
    color: #176d48;
}


/* ---------- PROJECT FACTS ---------- */

.facts {
    background: #123e35;
    color: white;
}

.facts-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.fact {
    padding: 35px 20px;
    text-align: center;
    border-right: 1px solid rgba(255,255,255,0.12);
}

.fact:last-child {
    border-right: none;
}

.fact strong {
    display: block;
    font-size: 30px;
    color: #b7ef72;
}

.fact span {
    display: block;
    margin-top: 5px;
    font-size: 11px;
    letter-spacing: 1.5px;
    color: rgba(255,255,255,0.7);
}


/* ---------- SECTIONS ---------- */

.section {
    padding: 110px 0;
}

.two-columns {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 80px;
    align-items: start;
}

.section-label {
    margin-bottom: 16px;
    color: #159447;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
}

.section h2 {
    color: #163d35;
    font-size: clamp(34px, 4vw, 52px);
    line-height: 1.1;
    letter-spacing: -1.5px;
}

.section-text {
    color: #506963;
    font-size: 18px;
}

.section-text p {
    margin-bottom: 20px;
}

.text-link {
    display: inline-block;
    margin-top: 10px;
    color: #159447;
    font-weight: 700;
}


/* ---------- PILLARS ---------- */

.pillars {
    background: #f2f7f4;
}

.section-heading {
    margin-bottom: 55px;
}

.section-heading.centered {
    text-align: center;
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
}

.section-heading > p:last-child {
    margin-top: 20px;
    color: #60766f;
    font-size: 18px;
}

.pillar-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.pillar-card {
    background: white;
    padding: 35px 28px;
    min-height: 290px;
    border-radius: 8px;
    border: 1px solid #e0ebe5;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.pillar-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 35px rgba(19,70,53,0.08);
}

.pillar-icon {
    font-size: 38px;
    margin-bottom: 25px;
}

.pillar-card h3 {
    margin-bottom: 12px;
    color: #173f36;
    font-size: 20px;
}

.pillar-card p {
    color: #60756e;
    font-size: 15px;
}


/* ---------- STAFF EXCHANGES ---------- */

.exchanges {
    background: #ffffff;
}

.exchange-flow {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 42px;
}

.exchange-flow span {
    font-size: 16px;
    font-weight: 800;
    letter-spacing: 1.6px;
    color: #3fa66b;
    white-space: nowrap;
}

.exchange-flow b {
    font-size: 22px;
    font-weight: 300;
    color: #8fc9a8;
}

@media (max-width: 768px) {

    .exchange-flow {
        flex-wrap: wrap;
        gap: 12px;
    }

}
/* ---------- PARTNERS ---------- */

/* ---------- PARTNERS ---------- */

/* ---------- PARTNERS ---------- */

.partners {
    background: #f2f7f4;
}

.partner-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.partner-card {
    background: white;
    border: 1px solid #e0ebe5;
    border-radius: 8px;

    min-height: 210px;
    padding: 28px;

    display: flex;
    flex-direction: column;
    justify-content: space-between;

    transition: transform 0.2s ease,
                box-shadow 0.2s ease;
}

.partner-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(19,70,53,0.08);
}


/* ---------- LOGO AREA ---------- */

.partner-logo {
    height: 105px;

    display: flex;
    align-items: center;
    justify-content: center;
}

.partner-logo img {
    display: block;

    width: 180px;
    height: 75px;

    object-fit: contain;
}


/* ---------- PARTNER INFO ---------- */

.partner-info {
    text-align: center;
}

.partner-info strong {
    display: block;

    color: #173f36;
    font-size: 17px;
    line-height: 1.3;
}

.partner-info small {
    display: block;

    margin-top: 5px;

    color: #7b8e88;
    font-size: 12px;
}


/* ---------- COORDINATOR ---------- */

.coordinator-card {
    grid-column: span 3;

    min-height: 180px;

    flex-direction: row;
    align-items: center;
    justify-content: center;

    gap: 45px;

    border: 1px solid #cfe1d8;
}

.coordinator-card .partner-logo {
    width: 220px;
    height: 90px;
}

.coordinator-card .partner-logo img {
    width: 290px;
    height: 100px;
}

.coordinator-card .partner-info {
    text-align: left;
}

.coordinator-card .partner-role {
    display: block;

    margin-bottom: 8px;

    color: #159447;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.8px;
}

.coordinator-card .partner-info strong {
    font-size: 20px;
}

.coordinator-card .partner-info small {
    font-size: 13px;
}


/* ---------- INDIVIDUAL LOGO ADJUSTMENTS ---------- */

/* AUTH */
.partner-card:nth-child(2) .partner-logo img {
    width: 170px;
}

/* Helios */
.partner-card:nth-child(3) .partner-logo img {
    width: 280px;
}

/* Fraunhofer */
.partner-card:nth-child(4) .partner-logo img {
    width: 170px;
}

/* Avantium */
.partner-card:nth-child(5) .partner-logo img {
    width: 180px;
}

/* Worlée */
.partner-card:nth-child(6) .partner-logo img {
    width: 150px;
}

/* Mines Paris */
.partner-card:nth-child(7) .partner-logo img {
    width: 170px;
}/* ---------- TIMELINE ---------- */

.timeline-section {
    background: #123e35;
    color: white;
}

.timeline-section h2 {
    color: white;
}

.timeline {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 70px;
}

.timeline-line {
    position: absolute;
    top: 8px;
    left: 0;
    right: 0;
    height: 2px;
    background: #437464;
}

.timeline-item {
    position: relative;
    padding-top: 40px;
}

.timeline-item::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 17px;
    height: 17px;
    border-radius: 50%;
    background: #b7ef72;
    border: 4px solid #123e35;
    outline: 2px solid #b7ef72;
}

.timeline-item span {
    display: block;
    margin-bottom: 8px;
    color: #b7ef72;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1px;
}

.timeline-item strong {
    font-size: 19px;
}


/* ---------- NEWS ---------- */

.news-placeholder {
    padding: 60px;
    text-align: center;
    background: #f2f7f4;
    border: 1px dashed #bdd0c8;
    color: #60756e;
}


/* ---------- CONTACT ---------- */

.contact {
    background:
        linear-gradient(
            135deg,
            #e9f6ef,
            #f6fbf8
        );
}

.contact-content {
    max-width: 750px;
}

.contact-content > p:not(.section-label) {
    margin: 25px 0 30px;
    color: #536b64;
    font-size: 18px;
}


/* ---------- FOOTER ---------- */
.footer {
    padding: 65px 0 25px;
    background: #0d302a;
    color: white;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    padding-bottom: 50px;
}

.footer-logo {
    margin-bottom: 15px;
    font-size: 30px;
    font-weight: 800;
}

.footer-logo span {
    color: #b7ef72;
}

.footer-grid p {
    max-width: 400px;
    color: #a7bab4;
    font-size: 14px;
}

.footer h4 {
    margin-bottom: 15px;
    color: #b7ef72;
    font-size: 12px;
    letter-spacing: 1.5px;
}

/* EU funding */
.eu-funding {
    display: flex;
    align-items: flex-start;
    gap: 35px;
    padding: 35px 0;
    border-top: 1px solid rgba(255,255,255,0.12);
    border-bottom: 1px solid rgba(255,255,255,0.12);
}

.eu-logo {
    flex: 0 0 190px;
}

.eu-logo img {
    display: block;
    width: 190px;
    height: auto;
}

.eu-statement {
    max-width: 850px;
}

.eu-statement p {
    margin: 0 0 12px;
    color: #a7bab4;
    font-size: 12px;
    line-height: 1.6;
}

.eu-statement p:last-child {
    margin-bottom: 0;
}

.footer-bottom {
    padding-top: 25px;
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.footer-bottom p {
    color: #819b93;
    font-size: 12px;
}

@media (max-width: 768px) {

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .eu-funding {
        flex-direction: column;
        gap: 25px;
    }

    .eu-logo {
        flex: none;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 10px;
    }
}
/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 900px) {

    .navigation {
        display: none;
    }

    .menu-button {
        display: block;
    }

    .facts-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .fact:nth-child(2) {
        border-right: none;
    }

    .fact:nth-child(-n+2) {
        border-bottom: 1px solid rgba(255,255,255,0.12);
    }

    .two-columns {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .pillar-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .partner-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer-grid > div:first-child {
        grid-column: 1 / -1;
    }
}


@media (max-width: 600px) {

    .nav-container {
        min-height: 70px;
    }

    .hero {
        min-height: 600px;
    }

    .hero h1 {
        font-size: 44px;
        letter-spacing: -2px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: flex-start;
    }

    .facts-grid {
        grid-template-columns: 1fr 1fr;
    }

    .fact {
        padding: 25px 10px;
    }

    .fact strong {
        font-size: 24px;
    }

    .section {
        padding: 75px 0;
    }

    .pillar-grid,
    .partner-grid {
        grid-template-columns: 1fr;
    }

    .timeline {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .timeline-line {
        top: 0;
        bottom: 0;
        left: 7px;
        right: auto;
        width: 2px;
        height: auto;
    }

    .timeline-item {
        padding-top: 0;
        padding-left: 40px;
    }

    .timeline-item::before {
        left: 0;
        top: 0;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .footer-grid > div:first-child {
        grid-column: auto;
    }

    .footer-bottom {
        flex-direction: column;
    }

}
/* ================= STAFF EXCHANGE STEPS ================= */

.exchange-steps {
display: flex;
align-items: center;
gap: 18px;
margin-top: 42px;
padding-top: 8px;
}

.exchange-step {
display: flex;
align-items: flex-start;
gap: 13px;
flex: 1;
}

.exchange-step > strong {
display: flex;
align-items: center;
justify-content: center;

```
width: 38px;
height: 38px;
flex-shrink: 0;

border-radius: 50%;

background: #0f6948;
color: #ffffff;

font-size: 11px;
font-weight: 700;
letter-spacing: 0.5px;
```

}

.exchange-step > div {
display: flex;
flex-direction: column;
gap: 4px;
}

.exchange-step b {
font-size: 14px;
font-weight: 800;
letter-spacing: 1px;
color: #0f6948;
}

.exchange-step span {
font-size: 12px;
line-height: 1.4;
color: #66756f;
}

.exchange-connector {
flex-shrink: 0;
color: #9ab8a8;
font-size: 20px;
font-weight: 300;
}

/* Mobile */

@media (max-width: 768px) {

```
.exchange-steps {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
}

.exchange-connector {
    display: none;
}

.exchange-step {
    width: 100%;
}
```

}
.project-image {
    padding: 70px 0;
    background: #f7faf8;
}

.project-image img {
    display: block;
    width: auto;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
}
/* ================= PROJECT STRUCTURE ================= */

.project-structure {
    background: #f5f8f4;
}


/* Section introduction */

.project-structure .section-heading {
    max-width: 780px;
    margin: 0 0 55px;
    text-align: left;
}

.project-structure .section-label {
    margin-bottom: 16px;
    color: #159447;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
    line-height: 1.6;
    text-transform: none;
}

.project-structure .section-heading > p:last-child {
    max-width: 650px;
    margin: 18px auto 0;
}

/* Project Coordinator */

.project-coordinator {
    max-width: 760px;
    margin: 0 auto 65px;
    padding: 28px 35px;

    display: flex;
    align-items: center;
    gap: 25px;

    background: #ffffff;
    border-left: 5px solid #159447;

    box-shadow: 0 12px 35px rgba(11, 64, 54, 0.08);
}


.coordinator-icon {
    width: 55px;
    height: 55px;

    display: flex;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    border-radius: 50%;

    background: #e4f3df;
    color: #159447;

    font-size: 25px;
}


.project-role,
.wp-leader span {
    display: block;

    margin-bottom: 7px;

    color: #159447;

    font-size: 0.72rem;
    font-weight: 700;

    letter-spacing: 1.5px;
    text-transform: uppercase;
}


.coordinator-info h3 {
    margin: 0 0 4px;

    color: #0b4036;

    font-size: 1.45rem;
}


.coordinator-info p {
    margin: 0;

    color: #5d6d67;

    font-size: 0.95rem;
}


/* Work packages heading */

.wp-heading {
    display: flex;
    align-items: center;
    gap: 20px;
color: #159447 !important;
    margin-bottom: 25px;

    color: #0b4036;

    font-size: 0.78rem;
    font-weight: 700;

    letter-spacing: 2px;
}


.wp-heading::after {
    content: "";

    height: 1px;
    flex: 1;

    background: #d5dfd8;
}


/* Work package grid */

.wp-grid {
    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 22px;
}


/* Work package cards */

.wp-card {
    position: relative;

    padding: 30px 30px 27px;

    background: #ffffff;

    border: 1px solid #e2eae4;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}


.wp-card:hover {
    transform: translateY(-4px);

    border-color: #b9d8c2;

    box-shadow: 0 12px 30px rgba(11, 64, 54, 0.08);
}


.wp-number {
    margin-bottom: 18px;

    color: #159447;

    font-size: 0.82rem;
    font-weight: 800;

    letter-spacing: 1.5px;
}


.wp-card h3 {
    min-height: 68px;

    margin: 0 0 25px;

    color: #0b4036;

    font-size: 1.08rem;
    line-height: 1.45;
}


.wp-leader {
    padding-top: 17px;

    border-top: 1px solid #e5ebe6;
}


.wp-leader > span {
    display: block;
    margin-bottom: 5px;
    color: #718079;
    font-size: 0.65rem;
    letter-spacing: 1.2px;
}

.wp-leader strong {
    color: #159447;
    font-size: 0.9rem;
    font-weight: 600;
}

.wp-leader strong .wp-institution {
    color: #000000;
}

.wp-leader strong .wp-responsible {
    color: #159447;
}

/* ================= RESPONSIVE ================= */

@media (max-width: 768px) {

    .project-coordinator {
        padding: 25px;

        align-items: flex-start;
    }

    .wp-grid {
        grid-template-columns: 1fr;
    }

    .wp-card h3 {
        min-height: auto;
    }

}


@media (max-width: 480px) {

    .project-coordinator {
        gap: 18px;
        padding: 22px;
    }

    .coordinator-icon {
        width: 45px;
        height: 45px;

        font-size: 20px;
    }

    .coordinator-info h3 {
        font-size: 1.2rem;
    }

}
.project-structure .section-heading {
    text-align: left;
}

.project-structure .section-label {
    margin-bottom: 16px;
    color: #159447;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
}
.project-title {
    color: #159447 !important;
    font-family: Arial, Helvetica, sans-serif !important;
    font-size: 12px !important;
    font-weight: 400 !important;
    letter-spacing: 2px !important;
    line-height: 1.6 !important;
    text-align: left !important;
    text-transform: none !important;
    margin: 0 0 16px 0 !important;
}
.wp-leader > span {
    display: block;
    margin-bottom: 5px;
    color: #718079;
    font-size: 0.65rem;
    letter-spacing: 1.2px;
}

.wp-leader strong {
    font-size: 0.9rem;
    font-weight: 600;
}

.wp-leader strong .wp-institution {
    color: #159447;
}

.wp-leader strong .wp-responsible {
    color: #000000;
}