:root {
  --navy: #212d45;
  --navy-dark: #1a2438;
  --yellow: #ffc03d;
  --yellow-dark: #f8b526;
  --text: #4b4f58;
  --muted: #7a7a7a;
  --bg: #f5f5f5;
  --border: #e1e1e1;
  --font-head: "Montserrat", sans-serif;
  --font-body: "Open Sans", sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  font-size: 15px;
  line-height: 1.65;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--navy);
}
h1 { font-size: 60px; line-height: 1.4; }
h2 { font-size: 40px; line-height: 1.3; }
h3 { font-size: 24px; line-height: 1.3; }
h4 { font-size: 24px; line-height: 1.2; }
h5 { font-size: 20px; line-height: 1.2; }
h6 { font-size: 16px; line-height: 1.25; }
@media (max-width: 1024px) {
  h1 { font-size: 60px; } h2 { font-size: 35px; } h3 { font-size: 22px; }
}
@media (max-width: 767.98px) {
  h1 { font-size: 35px; } h2 { font-size: 30px; } h3 { font-size: 20px; }
}

a { color: var(--navy); text-decoration: none; transition: color .2s; }
a:hover { color: var(--yellow-dark); }

.container { max-width: 1200px; }
@media (min-width: 1400px) { .container { max-width: 1200px; } }

.text-yellow { color: var(--yellow) !important; }
.bg-navy { background: var(--navy) !important; }
.bg-yellow { background: var(--yellow) !important; }

/* Light-weight small label above headings (Elementor heading, weight 200) */
.section-label {
  font-family: var(--font-head);
  font-weight: 200;
  font-size: 20px;
  line-height: 1.3;
  color: var(--navy);
  margin-bottom: 10px;
}
.section-label.caps { text-transform: uppercase; font-weight: 400; font-size: 16px; letter-spacing: .5px; }
.section-title { margin-bottom: 20px; }

/* Buttons (Elementor default: 15px, 12px 24px padding, radius 3px) */
.btn-yellow, .btn-navy, .btn-outline-white {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 15px;
  line-height: 1;
  padding: 12px 24px;
  border-radius: 3px;
  text-transform: uppercase;
  letter-spacing: 0;
  transition: all .3s;
}
.btn-yellow { background: var(--yellow); color: var(--navy); border: 0; }
.btn-yellow:hover { background: var(--yellow-dark); color: var(--navy); }
.btn-navy { background: var(--navy); color: #fff; border: 0; }
.btn-navy:hover { background: var(--yellow); color: var(--navy); }
.btn-outline-white { background: transparent; color: #fff; border: 1px solid #fff; }
.btn-outline-white:hover { background: #fff; color: var(--navy); }

.btn-read-more {
  background: var(--yellow);
  color: var(--navy);
  border: 0;
  border-radius: 3px;
  padding: 6px 12px;
  font-size: 11px;
  font-weight: 600;
}
.btn-read-more:hover { background: var(--yellow-dark); color: var(--navy); }

/* Header (Astra transparent header) */
.site-header {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 10px 0;
}
.site-header.solid { position: relative; background: var(--navy); }
.site-header .container { max-width: 1200px; }
.site-header .navbar-brand { padding: 0; }
.site-header .navbar-brand img { width: 250px; max-width: 250px; height: auto; }
.site-header .navbar-nav { align-items: center; }
.site-header .nav-link {
  color: #fff;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 400;
  padding: 10px 11px !important;
}
.site-header .nav-link:hover, .site-header .nav-link.active { color: var(--yellow); }
.site-header .dropdown-toggle::after { vertical-align: .15em; }
.site-header .dropdown-menu { background: var(--navy); border: 0; border-radius: 0; box-shadow: 0 5px 20px rgba(0,0,0,.15); min-width: 240px; margin-top: 0; padding: 0; }
.site-header .dropdown-item { color: #fff; font-size: 15px; padding: 12px 20px; }
.site-header .dropdown-item:hover { color: var(--yellow); background: transparent; }
.site-header .social { display: flex; align-items: center; }
.site-header .social a { color: var(--yellow); font-size: 22px; margin: 0 9.5px; line-height: 1; }
.site-header .social a:hover { color: #fff; }
.site-header .navbar-toggler { border-color: rgba(255,255,255,.4); }
.site-header .navbar-toggler-icon { filter: invert(1); }
@media (max-width: 991.98px) {
  .site-header { position: relative; background: var(--navy); }
  .site-header .navbar-brand img { width: 180px; }
  .site-header .navbar-collapse { padding: 10px 0 20px; }
  .site-header .navbar-nav { align-items: flex-start; }
  .site-header .social { margin-top: 10px; }
  .site-header .social a { margin: 0 14px 0 0; }
}

/* Hero: 940px min-height, 135px padding, navy overlay .87 */
.hero {
  position: relative;
  min-height: 940px;
  display: flex;
  align-items: center;
  background: var(--navy) center/cover no-repeat;
  color: #fff;
  padding: 135px 0;
}
.hero::before { content: ""; position: absolute; inset: 0; background: rgba(33, 45, 69, .87); }
.hero .container { position: relative; }
.hero .section-label { color: var(--yellow); font-size: 20px; margin-bottom: 20px; }
.hero h1 {
  color: #fff;
  font-size: 64px;
  line-height: 1.4;
  max-width: 780px;
  margin-bottom: 20px;
}
.hero p { font-size: 24px; line-height: 1.3; max-width: 781px; margin-bottom: 50px; }
@media (max-width: 1024px) { .hero { min-height: 665px; } .hero h1 { font-size: 48px; } .hero p { font-size: 20px; } }
@media (max-width: 767.98px) {
  .hero { min-height: auto; padding: 100px 0 135px; }
  .hero h1 { font-size: 36px; line-height: 1.25; }
  .hero p { font-size: 18px; margin-bottom: 36px; }
}

/* Page banner (About, Related Projects, Contact) */
.page-banner {
  position: relative;
  background: var(--navy) center/cover no-repeat;
  min-height: 420px;
  display: flex; align-items: center; justify-content: center;
  padding: 150px 0 80px;
  text-align: center;
}
.page-banner::before { content: ""; position: absolute; inset: 0; background: rgba(33, 45, 69, .87); }
.page-banner h1 { position: relative; color: #fff; font-size: 64px; margin: 0; }
@media (max-width: 767.98px) { .page-banner { min-height: 260px; padding: 60px 0; } .page-banner h1 { font-size: 40px; } }

/* Project overview: overlaps the hero by 100px */
.overview { position: relative; z-index: 2; margin-top: -100px; padding-top: 0; }
.overview-box {
  background: var(--yellow);
  padding: 50px;
  height: 100%;
}
.overview-box .section-label { text-transform: uppercase; font-weight: 500; font-size: 16px; letter-spacing: .5px; }
.overview-box h2 { font-size: 34px; margin-bottom: 20px; }
.overview-box p { color: var(--navy); margin-bottom: 20px; }
@media (max-width: 767.98px) { .overview-box { padding: 25px 25px 50px; } }

.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: #fff;
  box-shadow: 26px 18px 81px 0 rgba(225, 225, 225, .48);
  height: 100%;
}
.stat-card {
  padding: 50px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.stat-card .stat-number { font-family: var(--font-head); font-weight: 700; color: var(--navy); font-size: 32px; line-height: 1.2; margin-bottom: 5px; }
.stat-card .stat-label { font-size: 15px; color: var(--text); }
@media (max-width: 767.98px) { .stat-card { padding: 25px; } }

/* Technological pillars */
.pillars { padding: 100px 0 100px; }
.pillars .intro { margin-bottom: 30px; }
.pillar-row { display: flex; flex-wrap: wrap; }
.pillar-card {
  background: #fff;
  border: 1px solid var(--border);
  margin: 10px;
  padding: 50px;
  flex: 1 1 calc(33.333% - 20px);
  max-width: calc(33.333% - 20px);
}
.pillar-card h3 { font-size: 24px; margin-bottom: 7px; }
.pillar-card p { margin: 0; }
@media (max-width: 1024px) { .pillar-card { flex-basis: calc(50% - 20px); max-width: calc(50% - 20px); padding: 30px; } }
@media (max-width: 767.98px) { .pillar-card { flex-basis: 100%; max-width: 100%; } }

/* Sustainability split */
.sustain-left {
  position: relative;
  background: var(--navy) center/cover no-repeat;
  color: #fff;
  padding: 100px 0;
  height: 100%;
  display: flex; justify-content: center; align-items: center;
}
.sustain-left::before { content: ""; position: absolute; inset: 0; background: rgba(33, 45, 69, .81); }
.sustain-left .inner { position: relative; width: 500px; max-width: 100%; padding: 0 25px; }
.sustain-left .section-label { color: var(--yellow); font-weight: 400; }
.sustain-left h2 { color: #fff; }
.sustain-right {
  position: relative;
  background: var(--yellow) center/cover no-repeat;
  padding: 100px 0;
  height: 100%;
  display: flex; justify-content: center; align-items: center;
}
.sustain-right::before { content: ""; position: absolute; inset: 0; background: rgba(255, 192, 61, .81); }
.sustain-right .inner { position: relative; width: 500px; max-width: 100%; padding: 0 25px; }
.kpi-item { display: flex; align-items: flex-start; margin-top: 20px; }
.kpi-item:first-child { margin-top: 0; }
.kpi-icon {
  flex: 0 0 50px;
  height: 50px;
  display: flex; align-items: center; justify-content: center;
  font-size: 44px;
  line-height: 1;
  color: var(--navy);
  margin-right: 20px;
}
.kpi-item h3 { font-size: 24px; margin-bottom: 5px; }
.kpi-item p { margin: 0; color: #000; }
@media (max-width: 1024px) { .sustain-left, .sustain-right { padding: 50px; } .sustain-left .inner, .sustain-right .inner { padding: 0; } }
@media (max-width: 767.98px) { .sustain-left, .sustain-right { padding: 30px; } }

/* Use cases */
.use-cases { padding: 100px 0 50px; }
.use-cases .section-label { max-width: 440px; }
.use-case-tile {
  position: relative;
  display: block;
  background: var(--navy) center/cover no-repeat;
  color: #fff;
  padding: 350px 100px 50px 50px;
  overflow: hidden;
  height: 100%;
}
.use-case-tile::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(0deg, var(--navy) 29%, rgba(255,255,255,0) 49%);
  opacity: .65;
  transition: opacity .3s;
}
.use-case-tile:hover::before { opacity: .9; }
.use-case-tile .caption { position: relative; }
.use-case-tile h3 { color: #fff; font-size: 24px; margin: 0; }
.use-case-tile span { color: #fff; font-size: 15px; }
@media (max-width: 1024px) { .use-case-tile { padding: 330px 30px 30px; } }

/* Media hub */
.media-hub { padding: 100px 0 125px; }
.media-hub .section-label { color: var(--yellow); font-weight: 400; }
.post-card { background: #fff; height: 100%; display: flex; flex-direction: column; }
.post-card .thumb { display: block; height: 220px; background: #e9e9e9 center/cover no-repeat; }
.post-card .body { padding: 20px; display: flex; flex-direction: column; flex: 1; }
.post-card .cat { font-size: 12px; color: var(--muted); margin-bottom: 10px; }
.post-card h3 { font-size: 16px; line-height: 1.4; margin-bottom: 10px; }
.post-card h3 a:hover { color: var(--yellow-dark); }
.post-card p { font-size: 14px; color: var(--muted); flex: 1; margin-bottom: 15px; }

/* Partners carousel */
.partners { padding: 100px 0 125px; }
.partners .section-label { color: var(--yellow); font-weight: 400; }
.partners-slider { position: relative; padding: 50px 50px 0; }
.partners-viewport { overflow: hidden; }
.partners-track { display: flex; transition: transform .5s ease; }
.partners-track .slide {
  flex: 0 0 25%;
  padding: 10px 30px;
  display: flex; align-items: center; justify-content: center;
  height: 160px;
}
.partners-track .slide img { max-width: 100%; max-height: 120px; object-fit: contain; }
@media (max-width: 991.98px) { .partners-track .slide { flex-basis: 50%; } }
@media (max-width: 575.98px) { .partners-track .slide { flex-basis: 100%; } }
.partners-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: none; border: 0; color: var(--navy); font-size: 22px; padding: 10px;
}
.partners-arrow.prev { left: 0; }
.partners-arrow.next { right: 0; }
.partners-dots { text-align: center; margin-top: 20px; }
.partners-dots button {
  width: 6px; height: 6px; border-radius: 50%; border: 0; padding: 0;
  background: #c4c4c4; margin: 0 4px;
}
.partners-dots button.active { background: var(--yellow); }

/* Funding strip: 3-col grid, 100px padding */
.funding { background: #fff; padding: 100px 0; }
.funding .row { align-items: center; }
.funding img { max-height: 80px; width: auto; }
.funding .eu { display: flex; align-items: center; }
.funding .eu img { width: 100px; margin-right: 20px; }
.funding .eu p { font-size: 9px; line-height: 12px; margin: 0; color: var(--text); }
.funding .seri p { font-size: 15px; margin: 0; color: var(--text); }

/* Footer */
.site-footer { background: var(--navy); color: #fff; padding: 70px 0 0; }
.site-footer h4 { color: #fff; font-size: 21px; margin-bottom: 25px; }
.site-footer p, .site-footer a, .site-footer li { color: #fff; font-size: 15px; }
.site-footer a:hover { color: var(--yellow); }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer label { font-size: 13px; margin-bottom: 4px; }
.site-footer .form-control { border-radius: 0; border: 0; font-size: 14px; }
.site-footer .btn-subscribe {
  background: #5a6273; color: #fff; border: 0; border-radius: 0;
  width: 100%; font-size: 13px; text-transform: uppercase; padding: 9px;
}
.site-footer .btn-subscribe:hover { background: var(--yellow); color: var(--navy); }
.site-footer .bottom {
  border-top: 1px solid rgba(255,255,255,.15);
  margin-top: 50px; padding: 25px 0;
  font-size: 15px;
}
.site-footer .bottom .social a { font-size: 22px; margin: 0 10.5px; color: var(--yellow); }
.site-footer .bottom .social a:last-child { margin-right: 0; }
.site-footer .bottom .social a:hover { color: #fff; }

/* About page */
.about-intro { padding: 100px 0; }
.about-intro .section-label { color: var(--yellow); font-weight: 400; }
.feature-item { display: flex; align-items: flex-start; margin-bottom: 25px; }
.feature-icon {
  flex: 0 0 50px; height: 50px; border-radius: 50%;
  background: var(--yellow); color: var(--navy);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; margin-right: 20px;
}
.feature-item h3 { font-size: 24px; margin-bottom: 5px; }
.feature-item p { margin: 0; }

.stats-bar { background: var(--navy); padding: 60px 0; }
.stats-bar .stat { display: flex; align-items: center; color: #fff; }
.stats-bar .stat-icon {
  flex: 0 0 50px; height: 50px; border-radius: 50%;
  background: var(--yellow); color: var(--navy);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; margin-right: 15px;
}
.stats-bar .stat-number { font-family: var(--font-head); font-weight: 700; color: #fff; font-size: 32px; line-height: 1.1; }
.stats-bar .stat-label { font-size: 15px; }

.mission { padding: 100px 0; }
.mission .section-label { color: var(--yellow); }
/* Related projects (matches the original: 476px banner, white intro, 2-col grid of logo + shadowed card) */
.related-banner { min-height: 476px; padding: 150px 0 100px; }
.related-banner h1 { font-size: 90px; line-height: 1.4; }
.related-intro { background: #fff; padding: 100px 0 60px; }
.related-intro p { max-width: 580px; margin: 0 auto; text-align: center; }
.related { background: #fff; padding: 20px 0 100px; }
.project-grid { display: grid; grid-template-columns: 1fr 1fr; column-gap: 20px; row-gap: 60px; }
.project-box { display: flex; flex-direction: column; }
.project-logo {
  height: 200px;
  margin-bottom: 40px;
  display: flex; align-items: center; justify-content: center;
}
.project-logo img { max-width: 80%; max-height: 100%; width: auto; object-fit: contain; }
.project-body {
  flex: 1 1 auto;
  background: #fff;
  border: 1px solid #ededed;
  box-shadow: 0 0 25px rgba(0, 0, 0, .08);
  padding: 30px 35px 40px;
  text-align: center;
}
.project-body h2 { font-size: 18px; font-weight: 600; color: #181d23; margin-bottom: 20px; }
.project-body p { margin-bottom: 24px; }
.project-btn {
  display: inline-block;
  background: var(--yellow-dark);
  color: var(--navy);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1;
  padding: 15px 30px;
  border-radius: 5px;
}
.project-btn:hover { background: var(--yellow); color: var(--navy); }
@media (max-width: 1024px) { .related-banner h1 { font-size: 60px; } }
@media (max-width: 767.98px) {
  .related-banner { min-height: 300px; } .related-banner h1 { font-size: 36px; }
  .project-grid { grid-template-columns: 1fr; row-gap: 40px; }
  .project-logo { height: 140px; margin-bottom: 25px; }
  .project-body { padding: 25px 20px 30px; }
}

/* Listing pages (Astra archive) */
.listing-title { color: var(--yellow); font-size: 35px; margin: 60px 0 30px; }
.list-card { background: #fff; padding: 1.5em 2.14em; margin-bottom: 2em; }
.list-card .thumb { display: block; background: #e9e9e9 center/cover no-repeat; height: 240px; }
.list-card h2 { font-size: 26px; margin-bottom: 15px; }
.list-card h2 a { color: var(--navy); }
.list-card h2 a:hover { color: var(--yellow-dark); }
.list-card p { color: var(--text); }
.list-card .more { font-size: 13px; color: var(--yellow-dark); }
.page-link { color: var(--navy); }
.page-item.active .page-link { background: var(--navy); border-color: var(--navy); }

/* Single post */
.single-post { background: #fff; padding: 1.5em 2.14em 2.5em; margin: 2em 0; }
.single-post .featured { width: 100%; max-height: 600px; object-fit: contain; margin-bottom: 2em; }
.single-post h1 { font-size: 26px; line-height: 1.3; margin-bottom: 8px; }
.single-post .meta { font-size: 14px; color: #000; margin-bottom: 30px; }
.single-post .meta a { color: var(--yellow-dark); }
.post-body { font-size: 15px; }
.post-body a { color: var(--yellow-dark); }
.post-body img { max-width: 100%; height: auto; margin: 10px 0; }
.post-body h2, .post-body h3, .post-body h4 { margin-top: 1.5em; margin-bottom: .6em; }
.post-body h2 { font-size: 30px; }
.post-body h3 { font-size: 24px; }
.post-body h4 { font-size: 20px; }
.post-body iframe { max-width: 100%; }
.post-body figure { margin: 20px 0; }
.post-body figcaption { font-size: 13px; color: var(--muted); }
.post-body table { width: 100%; border-collapse: collapse; margin: 16px 0; }
.post-body td, .post-body th { border: 1px solid var(--border); padding: 8px; }
@media (max-width: 767.98px) { .single-post { padding: 1.5em 1.2em; } }

/* Content pages */
.content-box { background: #fff; padding: 2.5em 2.14em; margin: 2em 0; }
.content-box h1 { font-size: 26px; margin-bottom: 20px; }
.content-box h2 { font-size: 35px; margin-bottom: 20px; }
.content-box h3 { font-size: 22px; margin-top: 1.5em; }
.content-box a { color: var(--yellow-dark); }
.content-box ul { padding-left: 22px; }
.content-box li { margin-bottom: 4px; }
@media (max-width: 767.98px) { .content-box { padding: 25px 20px; } }

.downloads-box h1 { font-size: 26px; }
.downloads-box h3 { font-size: 16px; margin-top: 1.5em; margin-bottom: 10px; }
.downloads-box .group-name { font-weight: 600; color: var(--text); }
.downloads-box ul { list-style: disc; }

/* Contact */
.contact-section { padding: 100px 0; }
.contact-section .section-label { color: var(--yellow); font-weight: 400; }
.contact-form .form-control { border-radius: 4px; padding: 12px 16px; font-size: 14px; border: 1px solid #ddd; background: #fff; }
.contact-form textarea { min-height: 170px; }

/* Thumbnails rendered as real images (crawlable, with alt text) */
.post-card .thumb img, .list-card .thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
