/* --- CSS RESET & BASE TYPOGRAPHY --- */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center, dl, dt, dd, ol, ul, li,
fieldset, form, label, legend, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;  padding: 0;  border: 0;  font-size: 100%;  font: inherit;  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  font-size: 16px;
  scroll-behavior: smooth;
}
body {
  font-family: 'Roboto', Arial, sans-serif;
  color: #0A2239;
  background: #fff;
  line-height: 1.55;
}
img {
  max-width: 100%;  height: auto; display:block;
}
ul, ol {
  margin-left: 24px;
  margin-bottom: 24px;
}
a {
  text-decoration: none;
  color: #0A2239;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #F6C700;
}

/* --- FONT IMPORTS --- */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700;800&family=Roboto:wght@400;500;700&display=swap');

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: bold;
  letter-spacing: 0.01em;
  line-height: 1.15;
  color: #0A2239;
  text-transform: none;
}
h1 { font-size: 2.75rem; margin-bottom: 24px; }
h2 { font-size: 2rem; margin-bottom: 24px; border-left: 6px solid #F6C700; padding-left: 16px; }
h3 { font-size: 1.3rem; margin-bottom: 16px; text-transform: uppercase; letter-spacing: 0.05em; }
h4, h5, h6 { font-size: 1.08rem; margin-bottom: 10px; font-weight: 700; }
.subtitle { font-size: 1.25rem; color: #406185; font-weight: 500; margin-bottom: 20px; }

/* --- CONTAINER & STRUCTURE --- */
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  width: 100%;
  display: flex; flex-direction: column; gap: 0;
}

/* --- SPACING RULES FOR SECTIONS & GRIDS --- */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  flex: 1 1 320px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 3px 18px rgba(10,34,57,0.08);
  border: 2.5px solid #E2E2E2;
  transition: box-shadow 0.22s, border 0.22s;
}
.card:hover {
  border-color: #F6C700;
  box-shadow: 0 6px 32px rgba(10,34,57,0.14);
}
.content-grid {
  display: flex; flex-wrap: wrap; gap: 20px; justify-content: space-between;
}
.text-image-section {
  display: flex; align-items: center; gap: 30px; flex-wrap: wrap;
}
.testimonial-card {
  display: flex; align-items: center; gap: 20px; padding: 20px;
  background: #E2E2E2;
  border-radius: 14px;
  margin-bottom: 20px;
  box-shadow: 0 2px 16px rgba(10,34,57,0.09);
  color: #0A2239;
}
.feature-item {
  display: flex; flex-direction: column; align-items: flex-start; gap: 15px;
}

/* --- SPECIAL PAGE-SPECIFIC FLEX LAYOUTS --- */
.feature-grid {
  display: flex; flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.feature-grid > div {
  flex: 1 1 220px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 16px rgba(10,34,57,0.07);
  padding: 24px 20px 22px 20px;
  margin-bottom: 20px;
  border: 2.5px solid #E2E2E2;
  display: flex; flex-direction: column; align-items: flex-start;
  transition: box-shadow 0.17s, border 0.17s;
  min-width: 240px;
  min-height: 220px;
}
.feature-grid > div:hover {
  border-color: #F6C700;
  box-shadow: 0 6px 28px rgba(246,199,0,0.12);
}
.team-profiles {
  display: flex; flex-wrap: wrap; gap: 24px; justify-content: flex-start; margin-bottom: 16px;
}
.team-profiles > div {
  flex: 1 1 29%; min-width: 240px; background: #E2E2E2; border-radius: 15px; padding: 20px; margin-bottom: 20px;
  box-shadow: 0 1px 12px rgba(10,34,57,0.07);
  border-left: 7px solid #F6C700;
}

/* --- HERO SECTION --- */
.hero {
  background: #E2E2E2 url(../assets/hero-bg.svg) center/cover no-repeat;
  padding-top: 64px; padding-bottom: 56px;
  position: relative;
  margin-bottom: 60px;
}
.hero .container {
  align-items: center;
  display: flex;
  min-height: 220px;
}
.hero .content-wrapper {
  align-items: center;
  text-align: center;
  margin: 0 auto;
  gap: 0; /* remove space below hero heading */
}

/* --- BUTTONS --- */
.cta-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  display: inline-block;
  font-size: 1.12rem;
  padding: 12px 34px;
  background: #F6C700;
  color: #0A2239;
  border: none;
  border-radius: 10px;
  box-shadow: 0 1.5px 8px rgba(246,199,0,0.11);
  margin-top: 18px;
  cursor: pointer;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: background 0.22s, color 0.22s, box-shadow 0.23s, transform 0.17s;
}
.cta-btn:hover, .cta-btn:focus {
  background: #0A2239;
  color: #F6C700;
  box-shadow: 0 5px 20px rgba(10,34,57,0.22);
  outline: none;
  transform: translateY(-1.5px) scale(1.04);
}

button, .btn {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  background: #0A2239;
  color: #fff;
  padding: 10px 22px;
  border: none;
  border-radius: 9px;
  transition: background 0.23s, color 0.23s;
}
button:hover, button:focus, .btn:hover, .btn:focus {
  background: #F6C700;
  color: #0A2239;
  outline: none;
}

/* --- HEADER & MAIN NAV --- */
header {
  background: #fff;
  box-shadow: 0 5px 18px rgba(10,34,57,.11);
  z-index: 25;
  width: 100%;
  position: sticky; top: 0;
}
header .container {
  display: flex; flex-direction: row; align-items: center;
  justify-content: space-between; padding: 18px 22px;
  gap: 22px;
}
.logo img { height: 46px; width: auto; display: block; }
header nav {
  display: flex; flex-direction: row; align-items: center;
  gap: 18px;
}
header nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.03rem;
  padding: 8px 14px;
  border-radius: 7px;
  font-weight: 700;
  color: #0A2239;
  letter-spacing: 0.02em;
  transition: background 0.15s, color 0.22s;
}
header nav a:hover, header nav a:focus {
  background: #F6C700;
  color: #0A2239;
}
header nav .cta-btn {
  margin-left: 16px;
  background: #F6C700;
  color: #0A2239;
  font-size: 1.09rem;
  padding: 10px 26px;
  border-radius: 9px;
  box-shadow: 0 1px 8px rgba(246,199,0,0.08);
  transition: background 0.21s, color 0.2s, box-shadow 0.22s;
}
header nav .cta-btn:hover, header nav .cta-btn:focus {
  background: #0A2239;
  color: #F6C700;
}

/* --- MOBILE MENU --- */
.mobile-menu-toggle {
  display: none;
  background: #0A2239;
  color: #F6C700;
  border: none;
  border-radius: 9px;
  font-size: 2rem;
  padding: 6px 18px;
  margin-left: 16px;
  cursor: pointer;
  z-index: 31;
  transition: background 0.16s, color 0.18s, transform 0.13s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #F6C700;
  color: #0A2239;
  outline: none;
  transform: scale(1.04);
}
.mobile-menu {
  display: none;
  flex-direction: column;
  position: fixed;
  z-index: 99;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background: #0A2239;
  transition: transform 0.32s cubic-bezier(.68,-0.55,.27,1.55), opacity 0.28s;
  transform: translateX(-100%);
  opacity: 0;
}
.mobile-menu.open {
  display: flex;
  transform: translateX(0);
  opacity: 1;
}
.mobile-menu-close {
  align-self: flex-end;
  background: #F6C700;
  color: #0A2239;
  border: none;
  border-radius: 9px;
  font-size: 2.25rem;
  margin: 32px 22px 6px 0;
  padding: 4px 20px;
  cursor: pointer;
  transition: background 0.16s, color 0.16s, transform 0.13s;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  background: #0A2239;
  color: #F6C700;
  outline: none;
  transform: scale(1.04);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  margin: 20px 36px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.3rem;
  color: #F6C700;
  padding: 12px 0 11px 0;
  width: 100%;
  border-radius: 5px;
  transition: background 0.13s, color 0.14s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #F6C700;
  color: #0A2239;
  padding-left: 8px;
}

/* --- MAIN CONTENT & CARD COMPONENTS --- */
.text-section {
  display: flex; flex-direction: column; gap: 15px; margin-bottom: 16px;
}
.teaser {
  font-size: 1.18rem;
  margin-bottom: 20px;
  color: #406185;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.expertise-highlights, .collaboration-networks, .innovation-highlights, .highlights {
  background: #fffadd;
  border-radius: 13px;
  padding: 16px 20px;
  margin-bottom: 22px;
  color: #0A2239;
  border-left: 5px solid #F6C700;
  font-size: 1rem;
  box-shadow: 0 1px 10px rgba(246,199,0,0.07);
}
.key-stats, .qualifications, .research-focus {
  margin-bottom: 16px;
}
.partner-logos {
  display: flex; flex-direction: row; align-items: center; gap: 16px; margin-top: 14px;
}
.partner-logos img {
  height: 34px; width: auto;
  filter: grayscale(0.5);
}

/* --- TESTIMONIAL CARDS --- */
.testimonial-card {
  background: #E2E2E2;
  color: #0A2239;
  border-radius: 14px;
  padding: 22px 24px 18px 24px;
  margin-bottom: 20px;
  box-shadow: 0 2px 16px rgba(10,34,57,0.09);
  display: flex; flex-direction: column; align-items: flex-start;
  gap: 10px;
  min-width: 200px;
  border-left: 7px solid #F6C700;
  font-size: 1.07rem;
}
.testimonial-card span {
  font-size: 1rem;
  font-weight: 600;
  color: #406185;
  margin-top: 5px;
}

/* --- FORMS, FILTERS, HINTS --- */
.filters {
  margin: 18px 0;
  color: #0A2239;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
}
.contact-hint {
  background: #fffadd;
  border-radius: 10px;
  padding: 15px 16px;
  color: #0A2239;
  margin-bottom: 16px;
  border-left: 5px solid #F6C700;
}
.next-steps {
  margin-bottom: 16px;
  font-size: 1.03rem;
}
.next-steps ul {
  margin: 0;
}

/* --- FOOTER --- */
footer {
  background: #0A2239;
  color: #fff;
  padding: 50px 0 20px 0;
}
footer .container {
  display: flex; flex-direction: row; justify-content: space-between;
  align-items: flex-start;
  gap: 48px;
}
footer img {
  height: 40px; margin-bottom: 16px; margin-top: 2px;
}
footer nav {
  display: flex; flex-direction: column; align-items: flex-end; gap: 13px;
  margin-top: 4px;
}
footer nav a {
  color: #F6C700;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  transition: color 0.18s;
}
footer nav a:hover,footer nav a:focus { color: #fff; text-decoration: underline; }
footer p {
  margin-bottom: 7px;
  line-height: 1.45;
}

/* --- GEOMETRIC/STRUCTURED VISUAL ELEMENTS --- */
.feature-grid > div:before {
  content: "";
  display: block;
  width: 36px;
  height: 5px;
  background: #0A2239;
  border-radius: 12px;
  margin-bottom: 18px;
}
.text-section p, .text-section ul, .text-section li { font-size: 1.05rem; }

/* --- COOKIE CONSENT BANNER & MODAL --- */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 200;
  background: #0A2239;
  color: #fff;
  display: flex; flex-direction: row; align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 23px;
  box-shadow: 0 -4px 18px rgba(10,34,57,0.17);
  font-size: 1rem;
  animation: banner-fade-in 0.45s ease;
}
.cookie-banner p {
  margin-bottom: 0; line-height: 1.32;
}
.cookie-banner .cookie-btns {
  display: flex;
  flex-direction: row; gap: 16px;
}
.cookie-banner button {
  background: #F6C700;
  color: #0A2239;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  padding: 8px 22px;
  font-size: 1rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  margin: 0 3px;
  transition: background 0.21s, color 0.18s, transform 0.14s;
}
.cookie-banner button.cookie-settings {
  background: #E2E2E2; color: #0A2239;
}
.cookie-banner button:hover, .cookie-banner button:focus, .cookie-banner button.cookie-settings:hover, .cookie-banner button.cookie-settings:focus {
  background: #0A2239; color: #F6C700; outline: none; transform: translateY(-2px) scale(1.03);
}
@keyframes banner-fade-in {
  0% {opacity: 0; transform: translateY(30px);}
  100% {opacity: 1; transform: translateY(0);}
}

.cookie-modal-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(10,34,57,0.68);
  z-index: 210;
  align-items: center; justify-content: center;
}
.cookie-modal-backdrop.open { display: flex; }
.cookie-modal {
  background: #fff;
  color: #0A2239;
  padding: 32px 22px 26px 22px;
  border-radius: 20px;
  min-width: 310px; max-width: 95vw; width: 420px;
  box-shadow: 0 5px 42px rgba(10,34,57,0.25);
  display: flex; flex-direction: column; align-items: flex-start;
  gap: 18px;
  animation: modal-fade-in 0.30s cubic-bezier(.57,-0.4,.46,1.36);
}
@keyframes modal-fade-in {
  0% { opacity: .3; transform: scale(0.89) translateY(40px); }
  100% { opacity: 1; transform: scale(1) translateY(0); }
}
.cookie-modal h3 { font-size: 1.3rem; color: #0A2239; margin-bottom: 10px; }
.cookie-modal .cookie-categories { display: flex; flex-direction: column; gap: 14px; width: 100%; }
.cookie-modal .category {
  display: flex; flex-direction: row; align-items: center; justify-content: space-between;
  padding: 10px 0 10px 0; border-bottom: 1.5px solid #E2E2E2; width: 100%;
}
.cookie-modal .category:last-child { border-bottom: none; }
.cookie-modal label {
  font-size: 1.08rem; font-weight: 500; color: #0A2239;
}
.cookie-modal input[type=checkbox] {
  accent-color: #F6C700;
  width: 20px; height: 20px;
  border-radius: 2.5px;
  border: 1.5px solid #0A2239;
}
.cookie-modal .cookie-actions {
  display: flex; flex-direction: row; gap: 15px; margin-top: 14px; }
.cookie-modal button {
  padding: 8px 20px; background: #F6C700; color: #0A2239; border: none; border-radius: 8px; font-weight: 700; font-family: 'Montserrat', Arial, sans-serif; }
.cookie-modal button:hover, .cookie-modal button:focus {
  background: #0A2239; color: #F6C700;
}
.cookie-modal .close-modal {
  background: #E2E2E2; color: #0A2239; position: absolute; top: 20px; right: 20px; font-size: 1.35rem; border-radius: 7px; padding: 5px 13px;
  border: none; cursor: pointer; transition: background 0.13s, color 0.12s;
}
.cookie-modal .close-modal:hover, .cookie-modal .close-modal:focus {
  background: #0A2239; color: #F6C700;
}

/* --- RESPONSIVE DESIGN (MOBILE-FIRST) --- */
@media (max-width: 1200px) {
  .container { max-width: 100vw; }
  .feature-grid > div, .team-profiles > div { min-width: 170px; }
}
@media (max-width: 900px) {
  .container { padding: 0 10px; }
  footer .container { flex-direction: column; gap: 20px; align-items: flex-start; }
}
@media (max-width: 768px) {
  h1 { font-size: 2.1rem; }
  h2 { font-size: 1.45rem; border-left-width: 4px; padding-left: 10px; }
  .hero {
    padding-top: 34px; padding-bottom: 32px; min-height: 0;
    background-position: 58% 50%;
  }
  .hero .container { min-height: 120px; }
  .feature-grid, .team-profiles {
    flex-direction: column;
    gap: 16px;
  }
  .feature-grid > div, .team-profiles > div {
    min-width: 0; width: 100%;
  }
  .text-image-section { flex-direction: column; align-items: stretch; gap: 18px; }
  header .container { flex-direction: row; gap: 10px; }
  header nav { display: none !important; }
  .mobile-menu-toggle { display: block; }
  .testimonial-card { padding: 17px 12px 13px 12px; }
}
@media (max-width: 560px) {
  h1 { font-size: 1.35rem; }
  h2, h3 { font-size: 1.02rem; }
  section {
    padding: 24px 6px;
    margin-bottom: 40px;
  }
  .container {
    padding: 0 3px;
  }
  .feature-grid > div, .team-profiles > div {
    padding: 11px 7px 14px 10px;
  }
  .cookie-modal { min-width: 0; padding: 22px 7px 16px 7px; }
  .mobile-menu-close { margin: 24px 10px 4px 0; font-size: 1.7rem; }
  .mobile-nav { margin: 10px 15px; gap: 11px; }
  .cookie-banner { flex-direction: column; align-items: flex-start; gap: 12px; padding: 15px 7px; font-size: 0.99rem; }
  .cookie-banner .cookie-btns { flex-direction: column; gap: 8px; }
}

/* --- MICRO-INTERACTIONS & HOVER EFFECTS --- */
.card, .feature-grid > div, .cta-btn, button, .btn, .mobile-menu-toggle, .mobile-menu-close {
  transition: box-shadow 0.14s, border 0.17s, background 0.17s, color 0.17s, transform 0.17s;
}
.card:active, .feature-grid > div:active, .cta-btn:active { 
  transform: scale(0.98);
}

/* --- SCROLLBAR STYLING (optional for modern touch) --- */
::-webkit-scrollbar { width: 10px; background: #E2E2E2; }
::-webkit-scrollbar-thumb { background: #0A2239; border-radius: 6px; }
