/* =========================
   Root Variables
========================= */
:root {
    --bg-color: rgb(255, 255, 255);
    --accent-color: #0077b6;
    --link-hover: hwb(248 74% 18%);
    --text-color: #1e1e1e;
    --image-caption-color: #6c757d;
    --footer-bg: #123555;
}

/* =========================
   Global Styles & Reset
========================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body, html {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    scroll-behavior: smooth;
}

h1, h2, h3, h4 {
    font-weight: 600;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3.5rem;
}

h2 {
    font-size: 2rem;
}

p {
    margin-bottom: 1rem;
    font-size: 2rem;
    color: var(--text-color);
}

a {
    color: var(--accent-color);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--link-hover);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    background-color: #ffffff;
    border-bottom: 1px solid #e5e7eb;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
    position: sticky;
    top: 0;
    z-index: 100;
    transition: background-color 0.3s ease;
    margin-bottom: 0;
    padding-bottom: 0.5rem;
}

.navbar:hover {
    background-color: #f8fafc;
}

.nav-menu {
    display: flex;
    gap: 10rem;
    list-style: none;
}

.menu-item a {
    font-size: 1.3rem;
    font-weight: 500;
    padding: 0.5rem 0;
    color: #1e293b;
    text-decoration: none;
    position: relative;
    transition: color 0.3s ease;
}

.menu-item a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 100%;
    height: 2px;
    background-color: var(--accent-color);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.menu-item a:hover {
    color: var(--accent-color);
}

.menu-item a:hover::after {
    transform: scaleX(1);
}

.intro-banner {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-top: 0;
}

.intro-image-background {
    width: 100%;
    height: 100%;
    object-fit: cover;
    margin-top: 0;
    border-radius: 2.5rem;
}

.intro-image-logo  {
    position: absolute;
    top: 15%;      
    left: 65%;
    width: 30%;   
    pointer-events: none; 
}

.intro-content {
    position: absolute;
    top: 10%;
    left: 10%;
    text-align: center;
    color: white;
    padding: 2rem;
    background: rgba(255, 255, 255, 0);
    border-radius: 2px;
    max-width: 99%;
    width: 50%;
    margin-top: 0;
}

.intro-content h1 {
    font-size: 3.8rem;
    margin-bottom: 1rem;
    text-shadow: 4px 4px 4px rgba(0, 0, 0, 0.75);
}

.intro-content p {
    font-size: 2.2rem;
    margin-bottom: 1rem;
    color: white;
    font-style: italic;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.intro-content .funding {
    margin-top: 1.5rem;
    font-size: 1.5rem;
    opacity: 0.85;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.75);
}

.esa-logo {
    margin-top: 1rem;
    width: 30%;
    height: auto;
}

.wrapper {
    padding: 4rem 2rem;
    max-width: 100%;
    width: 60%;
    margin: auto;
}
.wrapper li {
    list-style-type: square;;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.wrapper h1{
    font-size: 3rem;
    margin-top: 2rem;
}

.wrapper h2 {
    font-size: 2rem;
    color: var(--accent-color);
}

.wrapper p {
    color: var(--text-color);
    font-size: 1.5rem;
}

.button {
    background-color: var(--accent-color);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1rem;
    transition: background 0.2s ease;
}

.button:hover {
    background-color: var(--link-hover);
}

.footer {
    background-color: var(--footer-bg);
    color: rgb(18, 17, 17);
    padding: 2rem 0;
    text-align: center;
}

.footer p,
.footer a {
    color: #ffffff;
    font-size: 0.9rem;
}

.footer h1 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: #ffffff;
}

.footer a:hover {
    color: rgb(100, 96, 96);
}

figure {
    text-align: center;
    margin: 2rem 0;
}

.figure-caption {
    font-size: 0.9rem;
    color: var(--image-caption-color);
}

@media (max-width: 768px) {
    .nav-menu {
        flex-direction: column;
        gap: 0.5rem;
    }

    .wrapper {
        padding: 2rem 1rem;
    }
}
