/* Basic Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    height: 100%;
}

body {
    min-height: 100%;
    display: flex;
    flex-direction: column;
    margin: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
}

main {
    flex-grow: 1;
}

footer {
    background: rgb(97, 174, 183);
    color: #fff;
    text-align: center;
    padding: 1rem 0;
    flex-shrink: 0; 
}

.footer-content {
    padding-top: 0.5em;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
}

.footer-image {
    max-width: 200px;
    margin-right: 10px;
}

.banner {
    background-image: linear-gradient(to right, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('images/banner.png');
    background-size: cover;
    background-position: center;
    position: relative;
    color: #fff;
}

header {
    padding: 1rem 0.5em;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: rgb(97, 174, 183);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: none;
    color: #fff;
}

.banner-content {
    text-align: center;
    padding: 300px 20px;
}

.banner-content h1 {
    font-size: 2.5em;
    margin-bottom: 10px;
}

.banner-content p {
    font-size: 1.2em;
}

.section-flex {
    display: flex;
    align-items: center;
    justify-content: center;
}

#introduction {
    padding-top: 3em;
    padding-bottom: 3em;
}

#ambition {
    padding-top: 3em;
    padding-bottom: 3em;
}

.section-image {
    width: 20%;
    margin: 10px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.section-text {
    width: 60%;
    padding: 10px;
}

.text-section h2 {
    width: 80%;
    margin-bottom: 15px;
    color: #333;
    font-size: 2em;
}

.text-section p {
    width: 80%;
    margin-bottom: 10px;
    line-height: 1.6;
    color: #555;
}

.text-section {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    text-align: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    padding-top: 3em;
    padding-bottom: 3em;
}

.title-container {
    text-align: center;
    color: #fff;
}

.card {
    width: calc(20% - 1em);
    margin: 10px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    cursor: pointer;
    transition: transform 0.3s ease;
    background-color: #fff;
}

#cards-section {
    padding-top: 3em;
    padding-bottom: 3em;
}

.cards-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
}

.card img {
    width: 100%;
    height: auto;
    border-radius: 10px 10px 0 0;
}

.card h3 {
    padding: 15px;
}

.section-title {
    display: block;
    text-align: center;
    margin-bottom: 20px;
    font-size: 2em;
}

.partners-container {
    text-align: center;
    padding: 20px;
    margin-bottom: 20px;
}

#partners-section {
    padding-top: 3em;
    padding-bottom: 3em;
}

.partner-logos {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    align-items: center;
}


.partner-logo {
    max-width: 300px; 
    height: auto;
    margin: 10px;
}

.hero {
    background-size: cover;
    background-position: center;
    padding: 200px 0;
    text-align: center;
    color: #fff;
}

.hero h1 {
    font-size: 2.5em;
}

.content-section {
    padding: 20px;
    max-width: 80%;
    margin: auto;
    display: flex;
    flex-direction: column;
    align-items: center; 
}

.content-image {
    width: 100%;
    padding: 2em;
}

.value-creation-content {
    font-size: 1rem;
    line-height: 1.6;
    margin: 20px;
}

.value-list {
    list-style-type: disc;
    margin-left: 20px;
    padding-left: 0;
}

.value-list li {
    margin-bottom: 10px;
}

.publications-section {
    padding: 20px;
    max-width: 80%;
    margin: auto;
}

.publications-content {
    font-size: 1rem;
    line-height: 1.6;
    margin: 20px;
}

.publications-list {
    list-style-type: disc;
    margin-left: 20px;
    padding-left: 0;
}

.publications-list li {
    margin-bottom: 10px;
}

.empty-line {
    height: 1em;
    display: block;
}

.consortium-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
}

.partner {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.logo-column {
    width: 300px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin-right: 30px;
}

.consortium-partner-logo {
    max-width: 100%;
    height: auto;
}

.description-column {
    flex: 1;
}

@media (max-width: 768px) {
    nav ul {
        flex-direction: column;
        align-items: center;
    }

    nav ul li {
        margin: 10px 0;
    }

    header .logo img {
        margin-bottom: 10px;
    }

    .footer-content {
        flex-direction: column;
    }

    .footer-image {
        margin-bottom: 10px;
    }

    .partner {
        flex-direction: column;
        align-items: flex-start;
    }

    .logo-column {
        width: auto;
        margin-bottom: 10px;
    }

    .content-section {
        flex-direction: column;
    }

    .content-image,
    .content-text {
        width: 100%;
    }

    .section-flex {
        flex-direction: column;
        align-items: stretch;
    }

    .section-image, .section-text {
        width: 80%;
		margin: 10px auto;
    }

    nav ul li {
        display: block;
        margin: 10px 0;
    }

    .card {
        width: 48%;
    }

    .partner-logo {
        max-width: 100px;
    }
}

.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.4);
}

.modal-content {
    background-color: #fefefe;
    margin: 15% auto;
    padding: 5em;
    border: 1px solid #888;
    width: 80%;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.publications-list li {
    color: rgb(97, 174, 183);
    text-decoration: underline;
    cursor: pointer;
}

.publications-list li:hover {
    color: rgb(97, 174, 183);
}

.hamburger {
    display: none;
    cursor: pointer;
}

.hamburger span {
    display: block;
    width: 3em;
    height: 5px;
    margin-bottom: 4px;
    background-color: #fff;
}

header nav {
    width: 100%;
}

header .logo img {
    margin-left: 18px;
    max-height: 60px;
    background-color: #fff;
}

nav {
    display: flex;
    justify-content: flex-end;
}

nav ul {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

nav ul li {
    margin: 0 20px;
}

nav a {
    text-decoration: none;
    color: #fff;
    font-weight: 500;
}

@media (max-width: 768px) {
    .hamburger {
        display: block;
        position: absolute;
        right: 20px;
        z-index: 1001;
        background: transparent;
        border: none;
    }

    nav ul {
        display: none;
        position: fixed;
        top: 0;
        right: 0;
        width: 50%;
        background-color: rgb(97, 174, 183);
        flex-direction: column;
        text-align: center;
        padding-top: 60px;
    }

    nav ul li {
        margin: 10px 0;
    }

    nav ul.active {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
}