/* =========================
   GENERAL PAGE STYLING
   ========================= */
html {
    scroll-behavior: smooth;
}

body {
    font-family: "Segoe UI", Arial, sans-serif;
    margin: 0;
    color: #243746;
    line-height: 1.7;
    background-color: #ffffff;
}

section {
    max-width: 1100px;
    margin: auto;
    padding: 50px 20px;
}

/* =========================
   HEADER & LOGOS
   ========================= */

/* Partner logos */

.partner-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 40px;
    padding: 15px;
    background: #ffffff;
    border-bottom: 1px solid #dddddd;
}

.partner-logos img {
    height: 55px;
    width: auto;
}

.site-header {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 60px;
    padding: 30px 20px;
    background: #ffffff;
}

.header-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 50px;
    flex-wrap: wrap;
}

.project-logo {
    max-width: 700px;
    height: auto;
}

.funding-logo {
    max-width: 450px;
    height: auto;
}

/* =========================
   NAVIGATION
   ========================= */

nav {
    background: #005a9c;
    text-align: center;
    padding: 15px;
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav a {
    color: white;
    text-decoration: none;
    margin: 0 20px;
    font-weight: 600;
}

nav a:hover {
    text-decoration: underline;
}


/* =========================
   HEADINGS
   ========================= */

h1 {
    color: #005a9c;
    font-size: 3rem;
}

h2 {
    color: #005a9c;
    border-bottom: 2px solid #d9e5f2;
    padding-bottom: 10px;
    margin-bottom: 25px;
}

h3 {
    color: #005a9c;
    margin-top: 0;
}

h4 {
    color: #555;
    margin-top: -5px;
}

/* =========================
   PROJECT DELIVERY CARDS
   ========================= */

.card {
    background: #f5f7fa;
    padding: 25px;
    margin: 25px 0;
    border-radius: 8px;
    border-left: 5px solid #005a9c;
}

/* =========================
   NEWS SECTION
   ========================= */
#news {
    max-width: 1000px;
    margin: 50px auto;
    padding: 30px;
    background: #f8f9fa;
    border-radius: 10px;
}

#news h2 {
    color: #004b6b;
}

#news h3 {
    margin-bottom: 5px;
}

#news hr {
    margin: 25px 0;
}



/* =========================
   CONSORTIUM PARTNER CARDS
   ========================= */

.partner-card {
    background: #f5f7fa;
    padding: 25px;
    margin: 25px 0;
    border-left: 5px solid #005a9c;
    border-radius: 8px;
}

.partner-card h3 {
    margin-bottom: 5px;
}

.partner-card h4 {
    color: #666;
    font-style: italic;
}

.partner-link {
    display: inline-block;
    margin-top: 15px;
    padding: 8px 16px;
    background-color: #005a9c;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
}

.partner-link:hover {
    background-color: #00457a;
}

/* =========================
   CONSORTIUM PHOTO
   ========================= */

.consortium-photo {
    text-align: center;
    margin: 30px 0 40px 0;
}

.consortium-photo img {
    width: 100%;
    max-width: 1000px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.image-caption {
    font-size: 0.9rem;
    color: #666;
    margin-top: 10px;
    font-style: italic;
}

/*======================
Outputs and Results 
========================*/

.output-highlight {
    background: #005a9c;
    color: white;
    padding: 25px;
    border-radius: 8px;
    margin: 30px 0;
    text-align: center;
}

.output-highlight h3 {
    color: white;
    margin-top: 0;
}

.output-highlight p {
    font-size: 1.2rem;
    margin: 10px 0;
}

/* =========================
15
VIDEO
16
========================= */
17
 
18
.video-container {
19
position: relative;
20
padding-bottom: 56.25%; /* 16:9 aspect ratio */
21
height: 0;
22
overflow: hidden;
23
margin-top: 20px;
24
}
25
 
26
.video-container iframe,
27
.video-container video {
28
position: absolute;
29
top: 0;
30
left: 0;
31
width: 100%;
32
height: 100%;
33
}


/* =========================
   LISTS
   ========================= */

ul {
    padding-left: 25px;
}

li {
    margin-bottom: 10px;
}

/* =========================
   CONTACT
   ========================= */

#contact {
    background: #f5f7fa;
    border-radius: 8px;
    margin-top: 40px;
}

/* =========================
   WEBSITE CREDIT
   ========================= */

.website-credit {
    margin-top: 25px;
    font-size: 0.9rem;
    color: #666;
}
