/* ====================
   CSS RESET & NORMALIZE
   ==================== */
html {
  box-sizing: border-box;
  font-size: 100%;
  -webkit-text-size-adjust: 100%;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  min-height: 100vh;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  color: #222;
  background: #fff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg {
  max-width: 100%;
  height: auto;
  display: inline-block;
  vertical-align: middle;
}
ul, ol {
  padding-left: 24px;
  margin-bottom: 24px;
}
li:not(:last-child) {
  margin-bottom: 8px;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #013A63;
  font-weight: 700;
  letter-spacing: 0.01em;
  margin-bottom: 16px;
  line-height: 1.2;
}
h1 {
  font-size: 2.75rem;
  margin-bottom: 20px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 18px;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
  color: #013A63;
}
blockquote {
  margin-left: 0;
  margin-right: 0;
  padding-left: 20px;
  border-left: 3px solid #90E0EF;
  color: #555;
  font-style: italic;
  margin-bottom: 24px;
  background: #f6fbfc;
}
a {
  color: #013A63;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #1975A3;
  outline: none;
}
strong {
  font-weight: 700;
}
.container {
  width: 100%;
  max-width: 1150px;
  margin: 0 auto;
  padding: 0 18px;
}
.content-wrapper {
  width: 100%;
}

/* ====================
   HEADER & NAVIGATION
   ==================== */
header {
  width: 100%;
  background: #fff;
  padding: 18px 0 0 0;
  border-bottom: 1px solid #f0f2f4;
  box-shadow: 0 0.5px 1.5px rgba(1, 58, 99, 0.03);
  position: relative;
  z-index: 105;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
header > img {
  max-height: 52px;
  margin-left: 22px;
  margin-bottom: 10px;
}
.main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  margin-bottom: 16px;
  margin-left: 22px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  color: #013A63;
  font-weight: 600;
  letter-spacing: 0.035em;
  padding: 6px 10px;
  border-radius: 4px;
  transition: background 0.2s, color 0.2s;
}
.main-nav a:hover,
.main-nav a.active {
  background: #e5f6fa;
  color: #1975A3;
}
.cta-button {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  background: #FFD166;
  color: #013A63;
  font-weight: 700;
  border: none;
  border-radius: 22px;
  padding: 10px 32px;
  margin-top: 10px;
  margin-left: 22px;
  box-shadow: 0 2px 8px rgba(1, 58, 99, 0.04);
  cursor: pointer;
  letter-spacing: 0.04em;
  transition: background 0.19s, box-shadow 0.2s, color 0.15s;
  display: inline-block;
  text-align: center;
}
.cta-button:hover, .cta-button:focus {
  background: #90E0EF;
  color: #013A63;
  box-shadow: 0 4px 16px rgba(1, 58, 99, 0.08);
  outline: none;
}

/* ====== MOBILE NAVIGATION ====== */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #013A63;
  font-size: 2rem;
  padding: 4px 12px;
  margin-left: auto;
  margin-right: 18px;
  cursor: pointer;
  z-index: 210;
  border-radius: 8px;
  transition: background 0.18s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #e5f6fa;
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: #fff;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  transform: translateX(-110vw);
  transition: transform 0.36s cubic-bezier(.68,.08,.19,1.02);
  z-index: 9999;
  box-shadow: 0 0 16px rgba(1,58,99,0.13);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  background: none;
  border: none;
  color: #013A63;
  font-size: 2.2rem;
  padding: 12px 20px 8px 0;
  margin-bottom: 8px;
  cursor: pointer;
  transition: color 0.18s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #1975A3;
  outline: none;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 26px;
  width: 100%;
  margin-top: 24px;
  padding-left: 26px;
}
.mobile-nav a {
  font-size: 1.25rem;
  font-family: 'Montserrat', Arial, sans-serif;
  color: #013A63;
  padding: 12px 0;
  border-radius: 6px;
  transition: background 0.2s, color 0.2s;
  font-weight: 600;
}
.mobile-nav a:active, .mobile-nav a:hover {
  background: #E1F4F9;
  color: #1975A3;
}
@media (max-width: 991px) {
  .main-nav {
    display: none;
  }
  .cta-button {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (min-width: 992px) {
  .mobile-menu, .mobile-menu-toggle {
    display: none !important;
  }
  header {
    flex-direction: row;
    align-items: center;
    height: auto;
    padding: 18px 0;
  }
  header > img {
    margin-bottom: 0;
  }
}

/* ===========
   HERO SECTION
   =========== */
.hero {
  background: #f9fafb;
  min-height: 180px;
  padding: 64px 0 48px 0;
  margin-bottom: 60px;
  display: flex;
  align-items: center;
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
}
.hero .content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  max-width: 650px;
}
.hero h1 {
  font-size: 2.5rem;
  color: #013A63;
}
.hero .subheadline {
  color: #4f5e6a;
  font-size: 1.15rem;
  margin-bottom: 10px;
}

@media (max-width: 767px) {
  .hero {
    padding: 36px 0 18px 0;
    min-height: 90px;
  }
  .hero .content-wrapper {
    max-width: 100%;
    padding: 0;
  }
  .hero h1 {
    font-size: 2rem;
  }
}

/* =================
   SECTION LAYOUTING
   ================= */
section {
  background: #fff;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.container {
  margin-bottom: 0;
}
.content-wrapper {
  padding: 0;
  margin-bottom: 0;
}
.cta-section {
  margin-bottom: 60px;
  padding: 46px 0 56px 0;
  background: #f8fbfc;
  border-radius: 20px;
  box-shadow: 0 2px 14px rgba(1,58,99,0.035);
  text-align: center;
}
.cta-section .content-wrapper {
  align-items: center;
  gap: 20px;
}
.cta-section h2 {
  color: #013A63;
}
.cta-section p {
  font-size: 1.12rem;
  color: #2C3E4F;
  margin-bottom: 12px;
}

@media (max-width: 767px) {
  .section,
  .cta-section {
    padding: 24px 8px;
    margin-bottom: 36px;
    border-radius: 10px;
  }
}

/* =============================
   CARD, GRID, FEATURE COMPONENTS
   ============================= */
.feature-grid, .publication-list, .innovation-grid, .features, .card-container, .content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 30px;
}
.feature {
  flex: 1 1 210px;
  min-width: 210px;
  background: #FBFDFF;
  border-radius: 15px;
  padding: 28px 22px 22px 22px;
  box-shadow: 0 1.5px 8px rgba(1,58,99,0.06);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  transition: box-shadow 0.23s, transform 0.18s;
  border: 1px solid #F3F7FA;
  margin-bottom: 20px;
  position: relative;
}
.feature img {
  max-width: 42px;
  margin-bottom: 6px;
}
.feature h3 {
  font-size: 1.1rem;
  font-family: 'Montserrat', Arial, sans-serif;
}
.feature p {
  font-size: 0.98rem;
  color: #435066;
}
.feature:hover, .feature:focus-within {
  box-shadow: 0 6px 24px rgba(1,58,99,0.13);
  transform: translateY(-4px) scale(1.01);
  z-index: 5;
}

.publication-list {
  flex-direction: column;
  gap: 20px;
  margin-bottom: 30px;
}
.publication-list article {
  background: #F7FAFD;
  border-radius: 12px;
  padding: 20px 20px;
  box-shadow: 0 0.5px 4px rgba(1,58,99,0.08);
  border-left: 4px solid #90E0EF;
  margin-bottom: 10px;
  transition: box-shadow 0.16s;
}
.publication-list article:hover {
  box-shadow: 0 2px 16px rgba(1,58,99,0.13);
}

.innovation-grid {
  gap: 24px;
  margin-bottom: 26px;
}

/* CARD CONTAINERS FOR GENERAL USAGE */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 16px;
}
.card {
  background: #FAFCFE;
  border-radius: 14px;
  padding: 26px 18px;
  box-shadow: 0 2px 10px rgba(1,58,99,0.04);
  margin-bottom: 20px;
  position: relative;
  flex: 1 1 250px;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
}
@media (max-width:767px) {
  .feature,
  .card {
    min-width: 95%;
    width: 100%;
    box-sizing: border-box;
    padding: 18px 12px;
  }
  .feature-grid, .features, .card-container, .innovation-grid {
    flex-direction: column;
    gap: 18px;
  }
}

/* ============
   FLEX PATTERNS (MANDATORY)
   ============ */
.section { margin-bottom: 60px; padding: 40px 20px; }
.card-container { display: flex; flex-wrap: wrap; gap: 24px; }
.card { margin-bottom: 20px; position: relative; }
.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; }
.feature-item { display: flex; flex-direction: column; align-items: flex-start; gap: 15px; }

@media (max-width:768px) {
  .text-image-section {
    flex-direction: column;
    gap: 20px;
  }
  .content-grid {
    flex-direction: column;
    gap: 20px;
  }
}

/* ============
   TEXTUAL & UTILITY STYLES
   ============ */
.text-section {
  margin-bottom: 24px;
  font-size: 1.05rem;
  color: #374354;
}
.approach-highlight,
.tagline-highlight {
  padding: 16px 22px;
  background: #F9FAFC;
  border-radius: 8px;
  margin-bottom: 24px;
  border-left: 4px solid #FFD166;
  color: #013A63;
  font-weight: 600;
}
.categories-filter {
  font-size: 0.97rem;
  background: #F5F7FA;
  padding: 12px 18px;
  border-radius: 8px;
  margin-top: 10px;
  color: #013A63;
  font-family: 'Montserrat', Arial, sans-serif;
}
.patent-snippets {
  background: #FAF8F0;
  padding: 14px 20px;
  border-radius: 8px;
  margin-top: 18px;
  font-size: 0.98rem;
  color: #79500A;
}

/* ============
   TESTIMONIALS
   ============ */
.testimonials {
  background: #FAFCFE;
  padding: 64px 0 48px 0;
}
.testimonial-card {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 20px 28px;
  background: #fff;
  border-radius: 14px;
  margin-bottom: 20px;
  box-shadow: 0 1px 16px rgba(1,58,99,0.10);
  max-width: 700px;
  color: #222;
  font-size: 1.11rem;
  line-height: 1.44;
  border: 1.5px solid #E8EEF1;
}
.testimonial-card p {
  color: #013A63;
  margin-bottom: 4px;
}
.testimonial-card span {
  color: #4b657c;
  font-size: 0.97rem;
  font-style: italic;
}
.partner-logos {
  margin-top: 30px;
  display: flex;
  gap: 24px;
  align-items: center;
}
.partner-logos img {
  height: 38px;
}

@media (max-width:767px) {
  .testimonials {
    padding: 30px 0 20px 0;
  }
  .testimonial-card {
    flex-direction: column;
    padding: 16px 10px;
    gap: 8px;
  }
  .partner-logos {
    justify-content: flex-start;
    gap: 16px;
  }
}

/* ========
   FOOTER
   ======== */
footer {
  background: #fff;
  border-top: 1.5px solid #ecf4f7;
  padding: 36px 0 16px 0;
  color: #424b52;
  text-align: left;
  font-size: 0.97rem;
  margin-top: 50px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 18px;
  align-items: center;
  padding-left: 18px;
}
.footer-nav a {
  color: #013A63;
  font-size: 0.98rem;
  text-decoration: none;
  border-radius: 4px;
  padding: 3px 6px;
  transition: background 0.16s;
}
.footer-nav a:hover {
  background: #F3F9FC;
}
address {
  font-style: normal;
  color: #4a5673;
  margin-bottom: 8px;
  padding-left: 18px;
}
.footer-brand {
  text-align: right;
  color: #6994b5;
  font-size: 0.95rem;
  padding-right: 16px;
  margin-top: 8px;
}
@media (max-width:767px) {
  footer {
    padding: 18px 0 14px 0;
    font-size: 0.99rem;
    margin-top: 32px;
  }
  .footer-nav, address, .footer-brand {
    text-align: left;
    padding-left: 0;
    padding-right: 0;
  }
  .footer-brand {
    margin-top: 10px;
    text-align: left;
    color: #90E0EF;
  }
}

/* ==================
   CONTACT AND MAP SECTIONS
   ================== */
.map-embed {
  background: #F8F9FB;
  border-radius: 8px;
  padding: 20px 18px;
  margin: 16px 0 0 0;
  text-align: center;
  color: #1975A3;
  font-size: 1.08rem;
  font-style: italic;
}
.contact-form-section {
  background: #FBFEFA;
  border-radius: 16px;
  box-shadow: 0 2px 10px rgba(1,58,99,0.025);
  margin-bottom: 60px;
  padding: 36px 0;
}

/* ==================
   RESPONSIVE HEADINGS
   ================== */
@media (max-width: 480px) {
  h1 {
    font-size: 1.55rem;
  }
  h2 {
    font-size: 1.22rem;
  }
  h3 {
    font-size: 1.08rem;
  }
}

/* =======================
   BUTTONS & INTERACTIONS
   ======================= */
button, .cta-button {
  outline: none;
  cursor: pointer;
  transition: box-shadow 0.14s, background 0.16s, color 0.14s;
}
button:active {
  transform: scale(0.98);
}

/* -- Cookie Consent Banner & Modal -- */
.cookie-consent-banner {
  position: fixed;
  left: 0; right: 0;
  bottom: 0;
  width: 100vw;
  background: #fff;
  border-top: 1.5px solid #eaecef;
  box-shadow: 0 -4px 16px rgba(1,58,99,0.07);
  z-index: 9997;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px 12px 22px 12px;
  gap: 22px;
  flex-wrap: wrap;
  font-size: 1.04rem;
  color: #222;
  animation: cookie-in 0.6s cubic-bezier(.26,.94,.53,1.15);
}
@keyframes cookie-in {
  0% { transform: translateY(120px); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}
.cookie-consent-banner .cookie-message {
  flex: 1 1 220px;
  color: #212b36;
  margin-right: 18px;
}
.cookie-consent-banner .cookie-btns {
  display: flex;
  align-items: center;
  gap: 14px;
}
.cookie-btn {
  background: #90E0EF;
  color: #013A63;
  border: none;
  border-radius: 18px;
  padding: 8px 16px;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  margin-right: 0;
  transition: background 0.18s, color 0.18s, box-shadow 0.21s;
}
.cookie-btn--accept {
  background: #FFD166;
  color: #013A63;
}
.cookie-btn--settings {
  background: #fff;
  border: 1px solid #90E0EF;
  color: #013A63;
  margin-left: 0;
}
.cookie-btn--reject {
  background: #013A63;
  color: #fff;
}
.cookie-btn:hover, .cookie-btn:focus {
  filter: brightness(1.07);
  box-shadow: 0 0 10px rgba(1,58,99,0.08);
}
@media (max-width: 599px) {
  .cookie-consent-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    font-size: 0.99rem;
    padding: 18px 10px 14px 10px;
  }
  .cookie-consent-banner .cookie-btns {
    gap: 8px;
  }
}

/* -- Cookie Modal -- */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: rgba(13, 58, 99, 0.18);
  z-index: 9998;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: auto;
  animation: modal-in 0.32s cubic-bezier(.39,1,.69,.77);
}
@keyframes modal-in {
  0% { opacity: 0; }
  100% { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 22px 60px rgba(1,58,99,0.17);
  padding: 32px 24px 24px 24px;
  max-width: 440px;
  width: 98vw;
  font-size: 1.06rem;
  color: #013A63;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
  animation: modal-scale-in 0.27s cubic-bezier(.33,1.07,.57,1.07);
}
@keyframes modal-scale-in {
  0% { transform: scale(0.88); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}
.cookie-modal h3 {
  font-size: 1.22rem;
  margin-bottom: 10px;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin-bottom: 16px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 13px;
  background: #f6fbfd;
  border-radius: 8px;
  padding: 10px 10px;
}
.cookie-category label {
  font-weight: 600;
}
.cookie-category input[type="checkbox"][disabled] {
  accent-color: #90E0EF;
  cursor: not-allowed;
  opacity: 0.6;
}
.cookie-modal-close {
  position: absolute;
  top: 16px; right: 18px;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #013A63;
  cursor: pointer;
  z-index: 2;
}
.cookie-modal-close:hover {
  color: #FFD166;
}
.cookie-modal-actions {
  display: flex;
  gap: 16px;
  margin-top: 10px;
}
@media (max-width: 540px) {
  .cookie-modal {
    padding: 16px 8px 16px 8px;
    font-size: 0.98rem;
  }
  .cookie-modal-actions {
    flex-direction: column;
    gap: 7px;
    margin-top: 3px;
  }
}

/* ===============
   MICRO-INTERACTIONS
   =============== */
a, .cta-button, .feature, .card, .feature-grid .feature, button, .cookie-btn {
  transition: 
    color 0.16s,
    background 0.17s,
    box-shadow 0.17s,
    transform 0.19s;
}
.feature:active, .card:active {
  transform: scale(0.995);
  box-shadow: 0 3px 18px rgba(1,58,99,0.11);
}

/* =========
   MISCELLANEOUS
   ========= */
::-webkit-input-placeholder { color: #9CAABB; }
::-moz-placeholder { color: #9CAABB; }
:-ms-input-placeholder { color: #9CAABB; }
::placeholder { color: #9CAABB; }

body:after {
  content: "";
  display: none;
}
/* Ensure no absolute positioning on functional content blocks. Position absolute only for decorative or control elements. */

/* ====== Print Styles (minimal) ====== */
@media print {
  .main-nav, .cookie-consent-banner, .mobile-menu, .mobile-menu-toggle, .cta-button { display: none !important; }
  footer { page-break-before: always; }
}
