/* CSS RESET & NORMALIZATION */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body, html { height: 100%; }
body {
  font-family: 'Roboto', Arial, sans-serif;
  color: #1A242E;
  background: #FAF6ED;
  min-height: 100vh;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { display: block; max-width: 100%; height: auto; }
a { color: #23537A; text-decoration: none; transition: color 0.2s; }
a:hover, a:focus { color: #10A06A; text-decoration: underline; }
ul, ol { padding-left: 20px; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* GEOMETRIC/STRUCTURED THEME VARIABLES */
:root {
  --color-primary: #23537A;
  --color-secondary: #10A06A;
  --color-accent: #FAF6ED;
  --color-dark: #1A242E;
  --color-grey: #E4E8EF;
  --color-light: #FFFFFF;
  --shadow-default: 0 2px 8px 0 rgba(35, 83, 122, 0.07);
  --border-radius: 12px;
  --border-radius-small: 8px;
  --transition: 0.25s cubic-bezier(.4,0,.2,1);
  --font-display: 'Montserrat', 'Arial Black', Arial, sans-serif;
  --font-body: 'Roboto', Arial, sans-serif;
}

/* CONTAINER LAYOUTS */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--color-light);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-default);
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
}
.card {
  background: var(--color-light);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-default);
  padding: 32px 28px;
  margin-bottom: 20px;
  position: relative;
  flex: 1 1 300px;
  min-width: 260px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover {
  box-shadow: 0 4px 20px 0 rgba(35,83,122,0.17);
  transform: translateY(-4px) scale(1.02);
}

.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;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 24px 28px;
  background: #fff;
  border: 2px solid var(--color-grey);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-default);
  font-size: 18px;
  max-width: 440px;
  min-width: 260px;
  margin-bottom: 20px;
  color: var(--color-dark);
  transition: box-shadow 0.2s, border-color 0.2s;
}
.testimonial-card:hover {
  border-color: var(--color-primary);
  box-shadow: 0 6px 24px 0 rgba(16,160,106,0.13);
}
.testimonial-card strong {
  color: var(--color-secondary);
  font-weight: 700;
  font-family: var(--font-display);
  margin-top: 8px;
}

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

/*----------- TYPOGRAPHY ----------------*/
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  color: var(--color-primary);
  font-weight: 700;
  letter-spacing: 0.02em;
}
h1 {
  font-size: 3rem;
  line-height: 1.1;
}
h2 {
  font-size: 2rem;
  margin-bottom: 10px;
}
h3 {
  font-size: 1.2rem;
}
h4 {
  font-size: 1.05rem;
}
p, li, ul, ol, span, a {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--color-dark);
}
strong {
  font-weight: bold;
  color: var(--color-primary);
}

/*---------- GEOMETRIC SHAPES & ACCENTS ----------*/
.feature-list li, .service-list li, .publications-list li, .team-list li {
  background: var(--color-accent);
  border-radius: var(--border-radius-small);
  margin-bottom: 20px;
  padding: 24px 20px;
  box-shadow: var(--shadow-default);
  display: flex;
  flex-direction: column;
  gap: 12px;
  border-left: 6px solid var(--color-primary);
  position: relative;
  min-width: 220px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.feature-list li:hover, .service-list li:hover, .publications-list li:hover, .team-list li:hover {
  border-left: 6px solid var(--color-secondary);
  box-shadow: 0 6px 18px 0 rgba(16,160,106,0.10);
}

.feature-list img, .feature-icons img, .service-list img {
  width: 38px;
  height: 38px;
  margin-bottom: 8px;
  background: var(--color-grey);
  border-radius: 7px;
  padding: 7px;
  box-shadow: 0 2px 6px rgba(35,83,122,0.08);
  transition: background 0.2s;
}
.feature-list li:hover img, .feature-icons img:hover {
  background: var(--color-secondary);
}

/* ------------- HEADER/NAVIGATION ------------- */
header {
  background: var(--color-light);
  box-shadow: 0 2px 14px 0 rgba(35,83,122,0.05);
  position: sticky; top: 0;
  width: 100%; z-index: 100;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 80px;
  gap: 20px;
}
.logo img {
  width: 160px;
  height: auto;
}
.main-nav {
  display: flex;
  gap: 28px;
  align-items: center;
}
.main-nav a {
  color: var(--color-dark);
  padding: 8px 0px;
  font-size: 16px;
  font-family: var(--font-display);
  font-weight: 550;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  border-bottom: 3px solid transparent;
  transition: border-color 0.2s, color 0.2s;
}
.main-nav a:hover, .main-nav a.active {
  color: var(--color-primary);
  border-bottom: 3px solid var(--color-secondary);
}

.cta-btn {
  background: var(--color-secondary);
  color: #fff;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: bold;
  padding: 12px 28px;
  border-radius: 32px;
  box-shadow: 0 2px 10px 0 rgba(16,160,106,0.10);
  letter-spacing: 0.03em;
  transition: background 0.2s, color 0.2s, transform 0.13s;
  margin-left: 12px;
  display: inline-block;
  border: 2px solid var(--color-secondary);
}
.cta-btn:hover, .cta-btn:focus {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
  transform: scale(1.04);
}

/* Burger/Mobile Menu */
.mobile-menu-toggle {
  display: none;
  background: var(--color-secondary);
  color: #fff;
  font-size: 2rem;
  padding: 8px 16px;
  border-radius: 8px;
  transition: background 0.2s, color 0.2s;
  position: relative;
  z-index: 250;
  border: 2px solid var(--color-secondary);
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: fixed;
  top: 0; bottom: 0; left: 0;
  width: 100vw; height: 100vh;
  background: var(--color-accent);
  transform: translateX(-100vw);
  transition: transform 0.35s var(--transition);
  z-index: 9999;
  box-shadow: 8px 0 32px 0 rgba(35,83,122,0.13);
  padding: 0 32px;
  align-items: stretch;
  justify-content: flex-start;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  background: var(--color-primary);
  color: #fff;
  font-size: 2.2rem;
  border-radius: 8px;
  padding: 4px 16px 4px 16px;
  border: 2px solid var(--color-primary);
  margin: 28px 0 10px 0;
  transition: background 0.2s, border 0.2s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--color-secondary);
  border-color: var(--color-secondary);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 38px;
}
.mobile-nav a {
  color: var(--color-dark);
  font-family: var(--font-display);
  font-size: 1.2rem;
  padding: 12px 10px;
  border-left: 4px solid transparent;
  border-radius: 5px;
  transition: background 0.17s, color 0.17s, border 0.17s;
}
.mobile-nav a:active, .mobile-nav a:hover {
  background: var(--color-secondary);
  color: #fff;
  border-left: 4px solid var(--color-primary);
}

/* ------------------------------------ */
/* HERO SECTION                         */
/* ------------------------------------ */
.hero-section {
  background: linear-gradient(120deg, #FAF6ED 60%, #E4E8EF 100%);
  box-shadow: 0 2px 18px 0 rgba(35,83,122,0.05);
  border-bottom-left-radius: 60px;
  border-bottom-right-radius: 60px;
  padding: 72px 0 60px 0;
  margin-bottom: 60px;
}
.hero-section .content-wrapper {
  align-items: flex-start;
  gap: 14px;
  text-shadow: 0 2px 10px #fff8;
}
.hero-section h1 {
  color: var(--color-primary);
  font-size: 2.4rem;
  font-family: var(--font-display);
  font-weight: 800;
  margin-bottom: 4px;
  text-transform: uppercase;
}
.hero-section h2 {
  color: var(--color-secondary);
  font-size: 1.12rem;
  font-weight: 500;
  margin-bottom: 14px;
}
.hero-section .cta-btn {
  margin-top: 16px;
}

/* ------------------------------------ */
/* SECTION STYLES                       */
/* ------------------------------------ */
.features-section, .about-section, .cta-section, .services-section, .testimonials-section, .contact-section {
  margin-bottom: 60px;
}
.features-section .content-wrapper,
.about-section .content-wrapper,
.cta-section .content-wrapper,
.services-section .content-wrapper,
.testimonials-section .content-wrapper,
.contact-section .content-wrapper {
  gap: 26px;
  background: none;
}
.features-section h2, .services-section h2, .about-section h2, .testimonials-section h2, .cta-section h2 {
  font-size: 2rem;
  font-family: var(--font-display);
  color: var(--color-primary);
}

.feature-list, .service-list, .publications-list, .team-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  list-style: none;
  margin-bottom: 18px;
}

.feature-icons,
.publications-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 18px;
}
.feature-icons img {
  width: 45px;
  height: 45px;
  background: var(--color-grey);
  border-radius: 8px;
  box-shadow: 0 2px 9px rgba(35,83,122,0.07);
  cursor: pointer;
  margin: 0 5px;
}

.service-cta {
  margin-top: 32px;
  margin-bottom: 24px;
}

.timeline {
  margin-top: 20px;
  padding-left: 18px;
  border-left: 3px solid var(--color-primary);
}
.timeline h3 {
  font-size: 1.1rem;
  margin-bottom: 6px;
  color: var(--color-secondary);
  font-family: var(--font-display);
}

.map-embed {
  margin: 12px 0 0 0;
  padding: 16px;
  background: var(--color-grey);
  border-radius: var(--border-radius-small);
  font-style: italic;
  color: #6c7683;
  font-size: 15px;
}

.contact-details p, .footer-contact span {
  margin-bottom: 7px;
  font-size: 16px;
  color: var(--color-primary);
}
.contact-details a {
  color: var(--color-secondary);
  font-weight: 500;
}

/* ------------------------------------ */
/* TESTIMONIAL SECTION                  */
/* ------------------------------------ */
.testimonials-section .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.testimonials-section h2 {
  margin-bottom: 24px;
}

/* ------------------------------------ */
/* FOOTER                               */
/* ------------------------------------ */
footer {
  background: var(--color-primary);
  color: #fff;
  padding: 48px 0 0 0;
  margin-top: 60px;
  border-top-left-radius: 46px;
  border-top-right-radius: 46px;
  box-shadow: 0 -2px 16px 0 rgba(16,160,106,0.10);
}
.footer-nav {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 16px;
}
.footer-nav a {
  color: #fff;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.04em;
  transition: color 0.2s;
  opacity: 0.90;
}
.footer-nav a:hover {
  color: var(--color-secondary);
  opacity: 1;
}
.footer-contact {
  text-align: center;
  font-size: 15px;
  margin-bottom: 14px;
  color: #fff;
}
.footer-contact a { color: var(--color-secondary); font-weight: bold; }
.footer-social {
  display: flex;
  gap: 16px;
  justify-content: center;
  align-items: center;
  margin-bottom: 21px;
}
.footer-social img {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: #fff;
  transition: background 0.2s, transform 0.2s;
}
.footer-social img:hover {
  background: var(--color-secondary);
  transform: scale(1.09) rotate(-6deg);
}
.footer-logo {
  margin: 35px auto 0 auto;
  max-width: 160px;
  text-align: center;
}
.footer-logo img {
  width: 100px;
  height: auto;
  filter: drop-shadow(0 2px 14px rgba(255,255,255,0.18));
}

/* ------------------------------------ */
/* COOKIE CONSENT BANNER & MODAL        */
/* ------------------------------------ */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 10001;
  background: #fff;
  color: var(--color-dark);
  box-shadow: 0 -2px 24px 0 rgba(16,160,106,0.13);
  padding: 28px 16px 18px 16px;
  border-top-right-radius: 22px;
  border-top-left-radius: 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  transition: transform 0.4s var(--transition), opacity 0.4s;
}
.cookie-banner.hide {
  transform: translateY(120%);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner p {
  color: var(--color-dark);
  font-size: 15px;
}
.cookie-banner .cookie-btns {
  display: flex;
  gap: 16px;
  margin-top: 4px;
}
.cookie-btn, .cookie-settings-btn {
  padding: 10px 24px;
  border-radius: 22px;
  border: none;
  background: var(--color-primary);
  color: #fff;
  font-family: var(--font-display);
  font-weight: bold;
  font-size: 16px;
  letter-spacing: 0.02em;
  margin: 0;
  transition: background 0.19s, box-shadow 0.19s;
  box-shadow: 0 2px 9px 0 rgba(35,83,122,0.05);
}
.cookie-btn.accept {
  background: var(--color-secondary);
}
.cookie-btn.reject {
  background: var(--color-primary);
}
.cookie-btn.settings, .cookie-settings-btn {
  background: var(--color-grey);
  color: var(--color-dark);
}
.cookie-btn:hover, .cookie-btn:focus, .cookie-settings-btn:hover, .cookie-settings-btn:focus {
  background: var(--color-dark);
  color: #fff;
}

.cookie-modal-overlay {
  display: none;
  position: fixed;
  top:0; right:0; bottom:0; left:0;
  background: rgba(35,83,122,0.32);
  z-index: 11000;
  align-items: center;
  justify-content: center;
}
.cookie-modal-overlay.open {
  display: flex;
}
.cookie-modal {
  background: #fff;
  padding: 38px 34px;
  border-radius: 20px;
  box-shadow: 0 9px 48px 0 rgba(35,83,122,0.20);
  width: 96%;
  max-width: 420px;
  display: flex;
  flex-direction: column;
  gap: 28px;
  animation: cookie-modal-fade 0.38s both;
}
@keyframes cookie-modal-fade {
  0% { transform: scale(0.9) translateY(90px); opacity: 0; }
  100% { transform: scale(1) translateY(0); opacity: 1; }
}
.cookie-modal h3 {
  color: var(--color-secondary);
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin-bottom: 8px;
}
.cookie-modal .cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.cookie-modal label {
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}
.cookie-modal input[type="checkbox"], .cookie-modal input[type="radio"] {
  accent-color: var(--color-secondary);
  width: 20px;
  height: 20px;
  margin-right: 7px;
}
.cookie-modal .cookie-actions {
  display: flex;
  justify-content: flex-end;
  gap: 11px;
  margin-top: 16px;
}

/* ------------------------------------ */
/* RESPONSIVE: TABLET & MOBILE          */
/* ------------------------------------ */
@media (max-width: 1080px) {
  .container { max-width: 95vw; }
  h1 { font-size: 2.2rem; }
  h2 { font-size: 1.5rem; }
  .hero-section { padding: 54px 0 48px 0; }
}

@media (max-width: 850px) {
  h1 { font-size: 1.7rem; }
  .footer-logo img { width: 74px; }
  .main-nav { gap: 11px; }
}

@media (max-width: 768px) {
  .container {
    padding: 0 7px;
    max-width: 100vw;
  }
  header .container {
    flex-direction: row;
    gap: 0;
    padding: 0 7px 0 7px;
  }
  .main-nav, .cta-btn {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .hero-section {
    border-bottom-left-radius: 30px;
    border-bottom-right-radius: 30px;
    padding: 36px 0 32px 0;
    margin-bottom: 34px;
  }
  .section, .features-section, .about-section, .cta-section, .services-section, .testimonials-section, .contact-section {
    padding: 18px 4px;
    margin-bottom: 40px;
  }
  .feature-list, .service-list, .team-list, .publications-list {
    gap: 13px;
  }
  .content-wrapper {
    gap: 19px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
  }
  .card-container, .content-grid { gap: 13px; }
  .testimonial-card { min-width: 160px; font-size: 15px; padding: 14px 12px; }
}

@media (max-width: 570px) {
  h1 { font-size: 1.16rem; }
  h2 { font-size: 1rem; }
  .logo img { width: 110px; }
  .footer-contact { font-size: 12px; }
  .footer-logo img { width: 54px; }
  .card, .feature-list li, .service-list li { padding: 14px 10px; }
  .cookie-modal { padding: 18px 7px; }
}

/* ------------------------------------ */
/* ADDITIONAL MICRO-INTERACTIONS        */
/* ------------------------------------ */
.card, .feature-list li, .service-list li, .team-list li, .publications-list li {
  transition: box-shadow 0.21s, transform 0.19s;
}
.card:active, .feature-list li:active, .service-list li:active {
  transform: scale(0.98);
}

button:focus, .cta-btn:focus, .mobile-menu-toggle:focus, .mobile-menu-close:focus,.cookie-btn:focus, .cookie-settings-btn:focus{ outline: 2.5px solid var(--color-secondary); outline-offset: 1px; }

::-webkit-scrollbar {
  width: 10px;
  background: var(--color-accent);
}
::-webkit-scrollbar-thumb {
  background: var(--color-grey);
  border-radius: 6px;
}

/* End of CSS */