/*--- CSS RESET & NORMALIZATION ---*/
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, table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, figure, figcaption, footer, header, menu, nav, output, ruby, section, summary, time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  box-sizing: border-box;
  font-size: 16px;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  background: #FFFFFF;
  color: #1B263B;
  line-height: 1.7;
  min-height: 100vh;
  font-size: 1rem;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: #1B263B;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #6B7890;
  text-decoration: underline;
}
ul, ol {
  margin-left: 1.4em;
  margin-bottom: 1.5em;
}
li + li {
  margin-top: 0.5em;
}

/*--- TYPOGRAPHY ---*/
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #1B263B;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 16px;
  line-height: 1.15;
}
h1 { font-size: 2.5rem; margin-bottom: 24px; }
h2 { font-size: 2rem; margin-bottom: 20px; }
h3 { font-size: 1.4rem; margin-bottom: 12px; }
h4, h5, h6 { font-size: 1.1rem; }
p, .text-section p, .feature-item p {
  font-size: 1.05rem;
  color: #1B263B;
  margin-bottom: 16px;
}
strong { color: #1B263B; font-weight: 600; }
hr {
  border: 0;
  border-top: 1px solid #E0E1DD;
  margin: 24px 0;
}

/*--- LAYOUT ---*/
.container {
  width: 100%;
  max-width: 1200px;
  padding-left: 20px;
  padding-right: 20px;
  margin-left: auto;
  margin-right: auto;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 0;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 4px 30px rgba(27,38,59,0.03), 0 1.5px 4px rgba(27,38,59,0.02);
}

/*--- HEADER & NAV ---*/
header {
  background: #fff;
  box-shadow: 0 2px 16px rgba(27,38,59,0.04);
  position: sticky;
  top: 0;
  z-index: 110;
}
.header-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 0;
}
.main-nav {
  display: flex;
  gap: 32px;
  align-items: center;
}
.main-nav a {
  padding: 8px 0;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.07rem;
  color: #1B263B;
  font-weight: 500;
  border-bottom: 2px solid transparent;
  transition: all 0.18s;
}
.main-nav a:hover, .main-nav a:focus {
  color: #6B7890;
  border-bottom: 2px solid #6B7890;
}

.cta-btn {
  display: inline-block;
  border: none;
  background: #1B263B;
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.05rem;
  padding: 12px 34px;
  border-radius: 25px;
  cursor: pointer;
  box-shadow: 0 1.5px 10px rgba(27,38,59,0.06);
  transition: background 0.22s, box-shadow 0.18s, transform 0.14s;
  margin-top: 10px;
}
.cta-btn:hover, .cta-btn:focus {
  background: #6B7890;
  color: #fff;
  box-shadow: 0 4px 22px rgba(27,38,59,0.10);
  transform: translateY(-2px) scale(1.03);
}

/*--- HERO ---*/
.hero {
  min-height: 53vh;
  background: #F8FAFC;
  display: flex;
  align-items: center;
  margin-bottom: 55px;
  padding: 0;
  border-radius: 0 0 20px 20px;
  box-shadow: 0 4px 32px rgba(27,38,59,0.08);
}
.hero .container {
  padding-top: 42px;
  padding-bottom: 42px;
}
.hero h1 {
  font-size: 2.3rem;
  color: #1B263B;
}
.hero p {
  color: #444B59;
  max-width: 720px;
}
.hero .cta-btn {
  margin-top: 20px;
}


/*--- FEATURE / CARD / FLEX PATTERNS ---*/
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin-top: 16px;
}
.feature-grid > div {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 3px 22px rgba(27,38,59,0.07);
  padding: 28px 24px;
  min-width: 200px;
  flex: 1 1 240px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  transition: box-shadow 0.19s, transform 0.13s;
}
.feature-grid > div:hover {
  box-shadow: 0 8px 40px rgba(27,38,59,0.16);
  transform: translateY(-3px) scale(1.025);
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 13px;
  box-shadow: 0 2px 18px rgba(27,38,59,0.06);
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 28px 22px;
  transition: box-shadow 0.15s, transform 0.18s;
  min-width: 240px;
  flex: 1 1 260px;
}
.card:hover {
  box-shadow: 0 8px 38px rgba(27,38,59,0.13);
  transform: translateY(-3.5px);
}

.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;
}

.event-list, .publication-list, .team-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin-top: 8px;
}
.event-list > div, .publication-list > div, .team-grid > div {
  flex: 1 1 260px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 16px rgba(27,38,59,0.05);
  padding: 24px 20px;
  margin-bottom: 20px;
  transition: box-shadow 0.19s, transform 0.11s;
}
.event-list > div:hover, .publication-list > div:hover, .team-grid > div:hover {
  box-shadow: 0 8px 34px rgba(27,38,59,0.14);
  transform: translateY(-4px) scale(1.018);
}

/*--- TESTIMONIALS ---*/
.testimonial-card {
  background: #F8FAFC;
  color: #1B263B;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 2px 20px rgba(27,38,59,0.07);
  margin-bottom: 20px;
  font-size: 1.1rem;
}
.testimonial-card p {
  color: #1B263B;
  margin-bottom: 0;
}
.testimonial-card strong {
  display: block;
  margin-top: 10px;
  font-size: 1rem;
  color: #1B263B;
  font-weight: 600;
}

/*--- TEXT BLOCKS ---*/
.text-section {
  margin-bottom: 24px;
}
.text-section a {
  color: #6B7890;
}

/*--- OL & UL in feature sections ---*/
ul, ol {
  margin-bottom: 16px;
  padding-left: 26px;
}

/*--- FOOTER ---*/
footer {
  background: #1B263B;
  color: #E0E1DD;
  padding: 52px 0 20px 0;
  border-radius: 20px 20px 0 0;
  margin-top: 90px;
  font-size: 1rem;
}
footer .container {
  padding-left: 20px;
  padding-right: 20px;
}
.footer-flex {
  display: flex;
  flex-wrap: wrap;
  gap: 42px;
  justify-content: space-between;
  align-items: flex-start;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
footer nav a {
  color: #E0E1DD;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  margin-bottom: 4px;
  transition: color 0.19s;
}
footer nav a:hover, footer nav a:focus {
  color: #6B7890;
  text-decoration: underline;
}
footer h3 {
  color: #E0E1DD;
  margin-bottom: 6px;
  font-size: 1.12rem;
}
footer p {
  color: #E0E1DD;
  margin-bottom: 0.5em;
}

/*--- BUTTONS & LINKS ---*/
button, .cta-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  border: none;
  border-radius: 25px;
  background: #1B263B;
  color: #fff;
  font-weight: 600;
  padding: 12px 32px;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.15s, transform 0.13s;
}
button:focus-visible, .cta-btn:focus-visible {
  outline: 2px solid #6B7890;
  outline-offset: 2px;
}

/*--- FORMS & INPUTS (Newsletter) ---*/
input, textarea {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  border: 1px solid #E0E1DD;
  border-radius: 8px;
  background: #fff;
  color: #1B263B;
  padding: 9px 14px;
  max-width: 100%;
  margin-bottom: 14px;
  outline: none;
  transition: border 0.15s;
}
input:focus, textarea:focus {
  border-color: #6B7890;
}

/*--- MOBILE MENU ---*/
.mobile-menu-toggle {
  display: none;
  position: fixed;
  top: 14px;
  right: 24px;
  z-index: 200;
  background: #fff;
  border-radius: 10px;
  font-size: 2rem;
  color: #1B263B;
  padding: 10px 16px;
  cursor: pointer;
  border: 1px solid #E0E1DD;
  box-shadow: 0 2px 12px rgba(27,38,59,0.09);
  transition: background 0.17s, color 0.17s;
}
.mobile-menu-toggle:focus {
  outline: 2px solid #6B7890;
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #fff;
  box-shadow: 0 2px 24px rgba(27,38,59,0.14);
  z-index: 5000;
  transform: translateX(-100vw);
  transition: transform 0.35s cubic-bezier(.79,.14,.15,.86);
  padding: 0 32px 0 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  font-size: 2.2rem;
  background: none;
  color: #1B263B;
  padding: 12px 18px 12px 12px;
  margin: 12px 0 15px 0;
  border-radius: 50%;
  border: 1px solid #E0E1DD;
  box-shadow: none;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 20px;
  align-items: flex-start;
}
.mobile-nav a {
  color: #1B263B;
  font-size: 1.2rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  padding: 10px 0;
  transition: color 0.18s, background 0.18s;
  border-radius: 7px;
  min-width: 150px;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #fff;
  background: #1B263B;
}

/*--- COOKIE CONSENT BANNER ---*/
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: #fff;
  color: #1B263B;
  padding: 28px 14px 24px 14px;
  box-shadow: 0 -8px 36px rgba(27,38,59,0.13);
  z-index: 9000;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  border-radius: 20px 20px 0 0;
  animation: cookieBannerSlideUp 0.7s cubic-bezier(.52,.6,.37,1.15) 0s 1;
}
@keyframes cookieBannerSlideUp {
  from { transform: translateY(140%); opacity: 0.6; }
  to { transform: translateY(0);    opacity: 1;   }
}
.cookie-banner p {
  font-size: 1rem;
  margin-bottom: 0;
  color: #1B263B;
}
.cookie-banner .cookie-btns {
  display: flex;
  gap: 20px;
  margin-top: 4px;
  flex-wrap: wrap;
}
.cookie-banner button, .cookie-banner .cookie-btns button {
  border-radius: 18px;
  background: #1B263B;
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  padding: 10px 22px;
  border: none;
  cursor: pointer;
  box-shadow: 0 2.5px 8px rgba(27,38,59,0.07);
  transition: background 0.17s, color 0.17s, transform 0.15s;
}
.cookie-banner .settings-btn {
  background: transparent;
  color: #1B263B;
  border: 1.5px solid #1B263B;
  margin-left: 10px;
}
.cookie-banner .settings-btn:hover {
  background: #E0E1DD;
  color: #1B263B;
}
.cookie-banner button:hover, .cookie-banner button:focus {
  background: #6B7890;
  color: #fff;
  transform: translateY(-2px);
}

/* Cookie Modal */
.cookie-modal-overlay {
  position: fixed;
  z-index: 9500;
  inset: 0;
  background: rgba(27,38,59,0.2);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  animation: fadeInModalBg 0.35s;
}
@keyframes fadeInModalBg {
  from { opacity: 0; } to { opacity: 1; }
}
.cookie-modal {
  background: #F8FAFC;
  border-radius: 20px 20px 0 0;
  box-shadow: 0 -8px 36px rgba(27,38,59,0.14);
  min-width: 320px;
  max-width: 95vw;
  padding: 32px 24px 24px 24px;
  margin-bottom: 0px;
  animation: cookieModalSlide 0.44s cubic-bezier(.68,-0.02,.25,1) 0s 1;
}
@keyframes cookieModalSlide {
  from { transform: translateY(85px); opacity: 0; }
  to   { transform: translateY(0);     opacity: 1; }
}
.cookie-modal h3 {
  font-size: 1.35rem;
  margin-bottom: 16px;
  color: #1B263B;
  font-family: 'Montserrat', Arial, sans-serif;
}
.cookie-modal .category {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 22px;
}
.cookie-modal label {
  font-size: 1.08rem;
  color: #1B263B;
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 500;
}
.cookie-modal .category input[type='checkbox'] {
  width: 22px; height: 22px;
  accent-color: #6B7890;
}
.cookie-modal .category.essential label, .cookie-modal .category.essential input[type='checkbox'] {
  opacity: 0.65;
  pointer-events: none;
}
.cookie-modal .modal-actions {
  margin-top: 22px;
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.cookie-modal .modal-actions button {
  padding: 10px 24px;
  border-radius: 17px;
  background: #1B263B;
  color: #fff;
}
.cookie-modal .modal-actions button:hover, .cookie-modal .modal-actions button:focus {
  background: #6B7890;
}
.cookie-modal .close-modal {
  position: absolute;
  top: 16px; right: 18px;
  background: transparent;
  border: none;
  font-size: 2rem;
  color: #6B7890;
  cursor: pointer;
}

/*--- RESPONSIVE BREAKPOINTS ---*/
@media (max-width: 1100px) {
  .footer-flex, .feature-grid, .card-container, .event-list, .publication-list, .team-grid, .content-grid {
    gap: 20px !important;
  }
}
@media (max-width: 950px) {
  .footer-flex {
    flex-direction: column;
    gap: 32px;
    align-items: flex-start;
  }
  .main-nav {
    gap: 14px;
  }
}
@media (max-width: 800px) {
  .feature-grid, .event-list, .publication-list, .team-grid, .card-container {
    gap: 15px;
  }
}
@media (max-width: 768px) {
  .header-flex {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 0;
  }
  .main-nav, .cta-btn {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .footer-flex {
    flex-direction: column;
    gap: 26px;
  }
  .hero h1 {
    font-size: 1.6rem;
  }
  .hero .container { padding-top: 22px; padding-bottom: 22px; }
  .section {
    margin-bottom: 30px;
    padding: 22px 8px;
  }
  .feature-grid, .content-grid, .event-list, .publication-list, .team-grid, .card-container {
    flex-direction: column;
    gap: 20px;
  }
  .feature-grid > div, .event-list > div, .publication-list > div, .team-grid > div, .card {
    min-width: unset;
    width: 100%;
    flex: unset;
  }
  .content-wrapper {
    padding: 0;
    gap: 11px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
}
@media (max-width: 600px) {
  html {
    font-size: 15px;
  }
  .hero {
    padding: 0;
  }
  .container {
    padding-left: 7px; padding-right: 7px;
  }
  .footer-flex {
    gap: 18px;
  }
}
@media (max-width: 430px) {
  html { font-size: 14px; }
  .footer-flex {
    gap: 12px;
  }
  .cookie-modal { padding: 20px 6px 22px 6px; border-radius: 18px 18px 0 0; }
  .cookie-banner { padding: 16px 2px 16px 2px; border-radius: 14px 14px 0 0; }
}

/*--- SPACING AND UTILITY CLASSES ---*/
.mb-0 { margin-bottom: 0 !important; }
.mb-16 { margin-bottom: 16px !important; }
.mb-20 { margin-bottom: 20px !important; }
.mt-32 { margin-top: 32px !important; }
.pt-20 { padding-top: 20px !important; }

/*--- MICRO-INTERACTIONS ---*/
a, button, .cta-btn {
  transition: color 0.15s, background 0.16s, box-shadow 0.17s, transform 0.14s;
}
.section, .feature-grid > div, .event-list > div, .publication-list > div, .card, .team-grid > div {
  transition: box-shadow 0.21s, transform 0.11s;
}

::-webkit-scrollbar { width: 10px; background: #E0E1DD; border-radius: 20px; }
::-webkit-scrollbar-thumb { background: #D9D9D9; border-radius: 20px; }

/*--- Z-INDICES ---*/
header { z-index: 110; }
.mobile-menu { z-index: 5000; }
.cookie-banner { z-index: 9000; }
.cookie-modal-overlay { z-index: 9500; }
