/* FUTUREFOR-CSS-V10 */
/* ── Reset ─────────────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Raleway', Arial, Helvetica, sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: #333333;
  line-height: 2.27;
  background: #fff;
}
img { display: block; max-width: 100%; height: auto; }
a  { text-decoration: none; color: inherit; }

/* ── futurefor.eu design system tokens ──────── */
:root {
  --white:       #ffffff;  /* color1 */
  --light-green: #d0e49b;  /* color2 */
  --lime:        #8fc61a;  /* color3 – primary / brand */
  --navy:        #0c246c;  /* color4 – secondary / dark */
  --yellow:      #fed03d;  /* color5 – highlight accent */
  --black:       #000000;  /* color6 */
  --pale-green:  #e4efc5;  /* color7 – subtle section bg */
  --dark-grey:   #333333;  /* color8 – body text */
}

/* ── Shared typography ──────────────────────── */
.section-title {
  font-family: 'Raleway', Arial, Helvetica, sans-serif;
  font-size: 2rem;        /* ~32px — h2 slot */
  font-weight: 400;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #222;
  margin-bottom: 12px;
}
/* Accent rule — yellow per design system */
.gold-rule {
  width: 70px;
  height: 3px;
  background: var(--yellow);
  margin-bottom: 28px;
}
.gold-rule.center { margin-left: auto; margin-right: auto; }

/* ── Icon circle: navy bg · lime ring ───────── */
.icon-circle {
  width: 104px;
  height: 104px;
  background: var(--navy);
  border: 3px solid var(--lime);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 2.4rem;
  margin: 0 auto;
}

/* ═══════════════════════════════════════════════
   HEADER
═══════════════════════════════════════════════ */
#site-header {
  position: sticky; top: 0; z-index: 1000;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.header-inner {
  max-width: 1600px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.header-logo img { height: 50px; width: auto; }

/* Nav — Montserrat 14px / 1px tracking per design system */
nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 2px;
}
nav ul li a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--dark-grey);
  padding: 8px 13px;
  display: block;
  transition: color 0.2s;
}
nav ul li a:hover { color: var(--navy); }
nav ul li.contact-btn a {
  background: var(--yellow);
  color: var(--navy);
  border-radius: 3px;
  padding: 9px 22px;
}
nav ul li.contact-btn a:hover { background: var(--navy); color: #fff; }

/* ═══════════════════════════════════════════════
   HERO
═══════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 500px;
  /* Photo only as background — SVG overlay handled via ::after so we can control opacity */
  background-image: url('images/hero-bg.jpg');
  background-size: cover;
  background-position: center 40%;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  overflow: hidden;
}
/* Overlay matching original — light green bottom fading to faint white mid */
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(
    0deg,
    rgba(208, 228, 155, 0.31) 0%,
    rgba(255, 255, 255, 0.19) 49%
  );
  z-index: 1;
}
/* SVG triangle overlay — full hero coverage, triangles on left */
.hero-svg-overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  object-fit: fill;
  opacity: 0.45;
  pointer-events: none;
  z-index: 0;
}
.hero-content {
  position: relative; z-index: 2;
  max-width: 800px;
  padding: 80px 48px 80px 120px;
}
.hero-logo { max-width: 600px; margin-bottom: 28px; }
.hero-tagline {
  font-family: 'Raleway', Arial, Helvetica, sans-serif;
  font-size: 20px;
  font-weight: 500;
  color: #fff;
  line-height: 30px;
  letter-spacing: normal;
  margin-bottom: 36px;
  text-shadow: 0 1px 3px rgba(0,0,0,0.4);
}
.btn-learn-more {
  display: inline-block;
  background: var(--yellow);
  color: var(--navy);
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 13px 30px;
  border-radius: 3px;
  transition: background 0.2s, color 0.2s;
}
.btn-learn-more:hover { background: var(--navy); color: #fff; }

/* ═══════════════════════════════════════════════
   FEATURE ICONS ROW  (below hero)
═══════════════════════════════════════════════ */
.features-row {
  background: #fff;
  padding: 56px 48px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}
.features-inner {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.feature-item .icon-circle { margin-bottom: 18px; }
.feature-item .f-label {
  font-family: 'Raleway', Arial, Helvetica, sans-serif;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--dark-grey);
  line-height: 1.5;
}

/* ═══════════════════════════════════════════════
   THE PROJECT
═══════════════════════════════════════════════ */
#project {
  padding: 80px 48px;
  background: #fff;
}
.project-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.project-photo { border-radius: 4px; overflow: hidden; }
.project-photo img { width: 100%; height: 480px; object-fit: cover; }
.project-text .section-title { text-align: center; }
.project-text .gold-rule { margin-left: auto; margin-right: auto; }
.project-lead {
  font-family: 'Raleway', Arial, Helvetica, sans-serif;
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--navy);
  text-transform: uppercase;
  line-height: 1.55;
  letter-spacing: 0.05em;
  margin-bottom: 20px;
}
.project-body p {
  font-family: 'Raleway', Arial, Helvetica, sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: #555;
  line-height: 2.27;
  margin-bottom: 12px;
}

/* ═══════════════════════════════════════════════
   KEY INNOVATIONS
═══════════════════════════════════════════════ */
#innovations {
  padding: 80px 48px;
  background: var(--pale-green);   /* #e4efc5 */
}
.section-header-center {
  text-align: center;
  margin-bottom: 52px;
}
.innovations-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.inno-card {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  min-height: 320px;
  background-color: var(--navy);
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
  transition: transform 0.25s, box-shadow 0.25s;
  box-shadow: 0 2px 12px rgba(0,0,0,0.15);
}
.inno-card:hover { transform: translateY(-4px); box-shadow: 0 10px 28px rgba(0,0,0,0.25); }
/* Dark gradient overlay — bottom-heavy so text stays readable */
.inno-card::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(12,36,108,0.15) 0%,
    rgba(12,36,108,0.55) 50%,
    rgba(12,36,108,0.90) 100%
  );
  border-radius: inherit;
}
.inno-card-content {
  position: relative; z-index: 1;
  padding: 28px 24px;
  width: 100%;
}
.inno-card-content h3 {
  font-family: 'Raleway', Arial, Helvetica, sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.5px;
  line-height: 1.35;
  margin-bottom: 10px;
}
.inno-rule {
  width: 40px;
  height: 2px;
  background: var(--lime);
  margin-bottom: 12px;
}
.inno-card-content p {
  font-family: 'Raleway', Arial, Helvetica, sans-serif;
  font-size: 13.5px;
  font-weight: 400;
  color: rgba(255,255,255,0.82);
  line-height: 1.7;
}

/* ═══════════════════════════════════════════════
   BUSINESS CASES
═══════════════════════════════════════════════ */
#business-cases {
  padding: 80px 48px;
  background: #fff;
}
.bc-grid {
  max-width: 860px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  text-align: center;
}
.bc-item .icon-circle { margin-bottom: 18px; }
.bc-item .bc-label {
  font-family: 'Raleway', Arial, Helvetica, sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: var(--dark-grey);
  line-height: 1.6;
}

/* ═══════════════════════════════════════════════
   EXPECTED IMPACTS
═══════════════════════════════════════════════ */
#impacts {
  position: relative;
  background-image: url('images/impacts-bg.jpg');
  background-size: cover;
  background-position: center;
  padding: 80px 48px 120px;
  color: #fff;
}
#impacts::before {
  content: '';
  position: absolute; inset: 0;
  background: rgba(36, 94, 48, 0.64);    /* dark green overlay — from original */
}
.impacts-inner { position: relative; z-index: 1; max-width: 1200px; margin: 0 auto; }
.impacts-header { text-align: center; margin-bottom: 12px; }
.impacts-header .section-title { color: #fff; }
.impacts-intro {
  text-align: center;
  max-width: 860px;
  margin: 0 auto 52px;
  font-family: 'Raleway', Arial, Helvetica, sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: rgba(255,255,255,0.9);
  line-height: 2.27;
}
.impacts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
  text-align: center;
}
.impact-item .icon-circle-white {
  width: 104px;
  height: 104px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  font-size: 2.4rem;
  color: var(--navy);
}
.impact-item .i-label {
  margin-top: 18px;
  font-family: 'Raleway', Arial, Helvetica, sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: #fff;
}
/* white wave at bottom */
.impacts-wave {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 70px;
  background: #fff;
  clip-path: ellipse(60% 100% at 50% 100%);
  z-index: 2;
}

/* ═══════════════════════════════════════════════
   INTERNATIONAL COLLABORATION
═══════════════════════════════════════════════ */
#collaboration {
  padding: 80px 48px;
  background: #fff;
}
.partners-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.partner-card {
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  padding: 24px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 120px;
  transition: box-shadow 0.2s, border-color 0.2s;
}
.partner-card:hover {
  box-shadow: 0 4px 18px rgba(0,0,0,0.1);
  border-color: var(--lime);
}
.partner-card img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 120px;
}
.partner-name {
  display: none;
  font-family: 'Raleway', Arial, Helvetica, sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--navy);
  text-align: center;
}

/* ═══════════════════════════════════════════════
   LATEST NEWS
═══════════════════════════════════════════════ */
#articles {
  padding: 80px 48px;
  background: var(--pale-green);  /* #e4efc5 */
}
.articles-header {
  max-width: 1200px;
  margin: 0 auto 16px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}
.articles-header .gold-rule { margin-bottom: 0; }
.btn-all-articles {
  display: inline-block;
  border: 2px solid var(--navy);
  color: var(--navy);
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 10px 20px;
  border-radius: 3px;
  transition: all 0.2s;
}
.btn-all-articles:hover { background: var(--navy); color: #fff; }
.news-grid {
  max-width: 1200px;
  margin: 36px auto 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.news-card {
  background: #fff;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.07);
  transition: box-shadow 0.25s, transform 0.25s;
}
.news-card:hover { box-shadow: 0 8px 24px rgba(0,0,0,0.1); transform: translateY(-3px); }
.news-card-img { width: 100%; height: 220px; object-fit: cover; }
.news-card-body { padding: 24px 24px 28px; }
/* Yellow tag with navy text for contrast */
.news-tag {
  display: inline-block;
  background: var(--yellow);
  color: var(--navy);
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 2px;
  margin-bottom: 10px;
}
.news-date {
  font-family: 'Raleway', Arial, Helvetica, sans-serif;
  font-size: 0.8rem;
  font-weight: 400;
  color: #999;
  margin-bottom: 10px;
}
.news-card-body h3 {
  font-family: 'Raleway', Arial, Helvetica, sans-serif;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--navy);
  line-height: 1.4;
  margin-bottom: 10px;
}
.news-card-body p {
  font-family: 'Raleway', Arial, Helvetica, sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: #666;
  line-height: 2.27;
  margin-bottom: 16px;
}
.read-more-link {
  font-family: 'Raleway', Arial, Helvetica, sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--lime);
  transition: opacity 0.2s;
}
.read-more-link:hover { opacity: 0.7; }

/* ═══════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════ */
footer {
  background: var(--navy);
  padding: 60px 48px 0;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 72px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-logo { margin-bottom: 20px; }
.footer-logo img { height: 44px; width: auto; }
.footer-desc {
  font-family: 'Raleway', Arial, Helvetica, sans-serif;
  font-size: 15px;
  font-weight: 400;
  color: rgba(255,255,255,0.6);
  line-height: 1.75;
  margin-bottom: 28px;
}
.funding-box {
  display: flex;
  align-items: center;
  gap: 16px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 6px;
  padding: 16px 18px;
}
.funding-box img { height: 58px; width: auto; flex-shrink: 0; }
.funding-box p {
  font-family: 'Raleway', Arial, Helvetica, sans-serif;
  font-size: 0.77rem;
  font-weight: 400;
  color: rgba(255,255,255,0.55);
  line-height: 1.55;
}
/* Footer heading — h6 slot: 12px, 2px tracking, uppercase */
.footer-contact h4 {
  font-family: 'Raleway', Arial, Helvetica, sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 18px;
}
.contact-line {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Raleway', Arial, Helvetica, sans-serif;
  font-size: 15px;
  font-weight: 400;
  color: rgba(255,255,255,0.65);
  margin-bottom: 10px;
}
.contact-line a { color: rgba(255,255,255,0.65); transition: color 0.2s; }
.contact-line a:hover { color: #fff; }
.contact-line i { width: 14px; color: rgba(255,255,255,0.4); }
.social-row { display: flex; gap: 10px; margin-top: 22px; }
.social-btn {
  width: 38px; height: 38px;
  background: rgba(255,255,255,0.1);
  border-radius: 4px;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.7);
  font-size: 1rem;
  transition: background 0.2s, color 0.2s;
}
.social-btn:hover { background: var(--lime); color: #fff; }
.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  font-family: 'Raleway', Arial, Helvetica, sans-serif;
  font-size: 0.79rem;
  font-weight: 400;
  color: rgba(255,255,255,0.3);
}
.footer-legal { display: flex; gap: 22px; }
.footer-legal a { color: rgba(255,255,255,0.4); transition: color 0.2s; }
.footer-legal a:hover { color: rgba(255,255,255,0.8); }


/* ─── Responsive ─────────────────────────────── */
@media (max-width: 1024px) {
  .project-inner { grid-template-columns: 1fr; gap: 40px; }
  .project-photo img { height: 320px; }
  .footer-inner { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 768px) {
  nav { display: none; }
  .header-inner { padding: 12px 24px; }
  .hero-content { padding: 60px 32px; max-width: 100%; }
  .features-inner { grid-template-columns: repeat(2, 1fr); }
  .innovations-grid { grid-template-columns: 1fr; }
  .bc-grid { grid-template-columns: 1fr; }
  .impacts-grid { grid-template-columns: 1fr; }
  .partners-grid { grid-template-columns: repeat(2, 1fr); }
  .news-grid { grid-template-columns: 1fr; }
  .articles-header { flex-direction: column; align-items: flex-start; gap: 16px; }
  #cookie-banner { flex-direction: column; padding: 20px 24px; gap: 16px; }
  .cookie-btns { flex-wrap: wrap; }
  #project, #innovations, #business-cases, #impacts, #collaboration, #articles {
    padding: 60px 24px;
  }
  .features-row { padding: 48px 24px; }
  footer { padding: 48px 24px 0; }
}
