/* CSS RESET & NORMALIZE */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
  height: 100%;
  font-size: 16px;
  background: #fff;
}
body {
  min-height: 100vh;
  font-family: 'Open Sans', Arial, Verdana, sans-serif;
  background: #fff;
  color: #111;
  line-height: 1.6;
  font-weight: 400;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
}
img, video {
  max-width: 100%;
  display: block;
  height: auto;
}
main, section {
  width: 100%;
}

/* TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
  color: #111;
  font-family: 'Roboto Slab', Georgia, serif;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 16px;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}
h2 {
  font-size: 2rem;
  margin-bottom: 18px;
  letter-spacing: -0.01em;
}
h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 12px;
}
h4 { font-size: 1.1rem; }

.subtitle {
  font-family: 'Roboto Slab', Georgia, serif;
  font-size: 1.15rem;
  color: #243B55;
  font-weight: 500;
  margin-bottom: 10px;
}

p, ul, ol {
  font-size: 1rem;
  line-height: 1.7;
  color: #222;
  margin-bottom: 18px;
}
strong { color: #111; font-weight: 600; }
a {
  color: #243B55;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #33884F;
  text-decoration: underline;
}

/* CONTAINER & LAYOUT */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

/* COMMON SECTIONS */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 3px 24px 0 rgba(30,33,40,0.05);
}

.content-wrapper {
  display: flex;
flex-direction: column;
  gap: 32px;
  justify-content: space-between;
}
.text-section {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

/* HEADER & NAV */
header {
  width: 100%;
  background: #fff;
  border-bottom: 1.5px solid #E5E5E8;
  position: relative;
  z-index: 100;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  min-height: 70px;
  padding: 0 20px;
}
.logo img {
  height: 48px;
  max-width: 180px;
}
.about-preview p,
.cta p {
  color: white;
}
.main-nav {
  display: flex;
  gap: 24px;
  margin-left: 36px;
  align-items: center;
}
.main-nav a {
  font-family: 'Open Sans', Arial, sans-serif;
  color: #343435;
  font-size: 1rem;
  font-weight: 500;
  position: relative;
  transition: color 0.2s;
  padding: 5px 2px;
}
.main-nav a:hover, .main-nav a:focus {
  color: #33884F;
}
.btn-primary {
  background: #111;
  color: #fff!important;
  font-family: 'Roboto Slab', Georgia, serif;
  padding: 12px 28px;
  border-radius: 28px;
  font-weight: 700;
  font-size: 1rem;
  border: none;
  letter-spacing: 0.03em;
  box-shadow: 0 3px 10px -2px rgba(36,59,85,0.12);
  transition: background 0.18s, color 0.18s, transform 0.12s;
  margin-left: 24px;
  cursor: pointer;
  outline: none;
  display: inline-block;
}
.btn-primary:hover, .btn-primary:focus {
  background: #33884F;
  color: #fff;
  transform: translateY(-2px) scale(1.02);
}

.btn-secondary {
  background: #fff;
  color: #243B55;
  border: 1.5px solid #243B55;
  font-family: 'Roboto Slab', Georgia, serif;
  padding: 12px 26px;
  border-radius: 26px;
  font-weight: 600;
  font-size: 1rem;
  margin-top: 10px;
  text-align: center;
  transition: background 0.15s, color 0.15s, border 0.15s;
  box-shadow: 0 2px 5px rgba(64,64,66,0.07);
}
.btn-secondary:hover, .btn-secondary:focus {
  background: #243B55;
  color: #fff;
  border-color: #243B55;
}

/* Burger Menu */
.mobile-menu-toggle {
  display: none;
  font-size: 2.1rem;
  background: none;
  border: none;
  color: #243B55;
  margin-left: 16px;
  cursor: pointer;
  z-index: 101;
  transition: color 0.2s;
}
.mobile-menu-toggle:hover { color: #33884F; }
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(20,20,23,0.98);
  transform: translateX(100%);
  transition: transform 0.33s cubic-bezier(.49,1.57,.54,.97);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-start;
  padding-top: 0;
  will-change: transform;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 2.2rem;
  position: absolute;
  top: 30px;
  right: 26px;
  cursor: pointer;
}

.mobile-nav {
  margin-top: 88px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 32px;
  align-items: flex-start;
  padding: 0 42px;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Roboto Slab', Georgia, serif;
  font-size: 1.25rem;
  font-weight: 600;
  padding: 12px 0;
  width: 100%;
  transition: color 0.2s;
  border-bottom: 1px solid rgba(255,255,255,0.10);
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #33884F;
  background: none;
}

/* HERO */
.hero {
  padding: 72px 0 50px 0;
  background: #fafbfc;
}
.hero .container {
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}
.hero h1 {
  color: #243B55;
  font-weight: 800;
}
.hero p {
  max-width: 700px;
  color: #444;
}

/* FEATURES */
.features {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
}
.features h2 { margin-bottom: 28px; }
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin-top: 12px;
}
.feature {
  background: #F1F3F7;
  border-radius: 14px;
  box-shadow: 0 4px 16px -8px rgba(20,20,23,0.07);
  padding: 32px 22px 22px 22px;
  flex: 1 1 240px;
  min-width: 220px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 17px;
  margin-bottom: 20px;
  transition: box-shadow 0.18s, transform 0.12s;
  border: 1.5px solid #e5e6ea;
  position: relative;
}
.feature img {
  height: 42px;
  margin-bottom: 6px;
}
.feature h3 {
  color: #243B55; 
  font-size: 1.14rem;
}
.feature p {
  color: #333;
  font-size: 1rem;
}
.feature:hover, .feature:focus {
  box-shadow: 0 10px 28px -8px rgba(30,36,48,0.10);
  transform: translateY(-3px) scale(1.01);
  border-color: #33884F;
}

/* SERVICE CARDS */
.service-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 3px 16px 0 rgba(20,20,23,0.07);
  border: 1.5px solid #eaeaea;
  padding: 32px 22px 22px 22px;
  flex: 1 1 225px;
  min-width: 200px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 13px;
  transition: box-shadow 0.17s, border 0.13s, transform 0.13s;
}
.service-card img {
  height: 40px;
  margin-bottom: 6px;
}
.service-card .service-price {
  margin-top: 8px;
  font-size: 1rem;
  color: #33884F;
  font-weight: 700;
}
.service-card:hover, .service-card:focus {
  border-color: #33884F;
  box-shadow: 0 10px 32px -10px rgba(30,36,48,0.17);
  transform: translateY(-2px) scale(1.01);
}

/* BLOG PREVIEW */
.blog-preview .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.blog-post-preview {
  background: #fafbfc;
  border-radius: 12px;
  box-shadow: 0 3px 12px 0 rgba(20,20,23,0.08);
  border: 1.2px solid #ebebed;
  padding: 28px 20px 18px 20px;
  flex: 1 1 auto;
  min-width: 240px;
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 13px;
  transition: box-shadow 0.15s, border 0.13s;
}
.blog-post-preview:hover, .blog-post-preview:focus {
  box-shadow: 0 8px 24px -6px #243B5522;
  border-color: #33884F;
}

.categories-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin: 22px 0 18px 0;
  align-items: center;
}
.categories-filter span {
  font-family: 'Roboto Slab', Georgia, serif;
  font-size: 1rem;
  color: #111;
}
.categories-filter a {
  background: #fff;
  color: #243B55;
  border: 1px solid #243B55;
  border-radius: 18px;
  font-size: 1rem;
  font-weight: 500;
  padding: 4px 16px;
  transition: background 0.18s, color 0.1s, border 0.14s;
}
.categories-filter a:hover, .categories-filter a:focus {
  background: #243B55;
  color: #fff;
  border-color: #33884F;
}

/* CARDS CONTAINER */
.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;
}

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

/* TESTIMONIALS */
.testimonials {
  background: #fff;
  padding: 40px 20px;
  margin-bottom: 60px;
}
.testimonials h2 {
  margin-bottom: 28px;
  color: #243B55;
}
.testimonials .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 16px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  border-radius: 14px;
  background: #F1F3F7;
  box-shadow: 0 4px 18px 0 rgba(20,20,23,0.05);
  border: 1.2px solid #e5e6ea;
  min-width: 220px;
  max-width: 380px;
  flex: 1 1 280px;
  margin-bottom: 20px;
  transition: box-shadow 0.15s, border 0.13s;
}
.testimonial-card p {
  color: #18181B;
  font-size: 1.08rem;
  font-style: italic;
  line-height: 1.6;
}
.testimonial-meta {
  color: #33884F;
  font-family: 'Roboto Slab', Georgia, serif;
  font-weight: 600;
  font-size: 1rem;
}
.testimonial-card:hover, .testimonial-card:focus {
  box-shadow: 0 10px 28px -8px rgba(20,30,36,0.12);
  border-color: #33884F;
}

/* ABOUT PREVIEW & CTA */
.about-preview, .cta {
  background: #243B55;
  padding: 40px 20px;
  margin-bottom: 60px;
  border-radius: 16px;
  color: #fff;
  box-shadow: 0 8px 36px -8px rgba(36,59,85,0.14);
}
.about-preview h2, .cta h2 {
  color: #fff;
  margin-bottom: 18px;
}
.about-preview .text-section, .cta .text-section {
  color: #F1F3F7;
}

.discoveries-preview {
  background: #fafbfc;
  border-radius: 14px;
  margin-bottom: 60px;
  padding: 40px 20px;
}
.discoveries-preview h2 { color: #243B55; }

/* PUBLICATIONS, DISCOVERIES, LEGALS */
.publications-list .content-wrapper, .discoveries .content-wrapper, .legal .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 36px;
  justify-content: space-between;
}
.publications-list ul, .discoveries ul, .legal ul { margin-bottom: 24px; }
.publications-list a, .discoveries a { margin-top: 10px; }

/* CONTACT & FAQ */
.contact-form-section .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: flex-start;
}
.contact-details ul { list-style: none; padding: 0; margin-bottom: 12px; }
.contact-details li { margin-bottom: 10px; }

.faq-section .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
}
.faq-list {
  flex: 1 1 100%;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.faq-item {
  background: #fafbfc;
  border: 1.2px solid #e5e6ea;
  border-radius: 12px;
  padding: 20px 18px;
  transition: box-shadow 0.14s, border 0.13s;
}
.faq-item h3 {
  font-size: 1.1rem;
  font-family: 'Roboto Slab', Georgia, serif;
  color: #243B55;
  margin-bottom: 8px;
}
.faq-item p { color: #222; font-size: 1rem; }
.faq-item:hover, .faq-item:focus {
  box-shadow: 0 7px 22px -10px rgba(36,59,85,0.17);
  border-color: #33884F;
}

/* FOOTER */
footer {
  width: 100%;
  background: #243B55;
  color: #fff;
  padding: 38px 0 22px 0;
  border-top: 2px solid #e5e6ea;
  margin-top: 60px;
}
footer .container {
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 16px;
}
.footer-nav a {
  color: #fff;
  font-size: 1em;
  transition: color 0.15s;
  padding: 1px 0;
  font-family: 'Roboto Slab', Georgia, serif;
}
.footer-nav a:hover, .footer-nav a:focus { color: #33884F; }
.footer-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  font-size: 1em;
  color: #F1F3F7;
}
.footer-contact a {
  color: #aacbbc;
  font-size: 1em;
  text-decoration: underline;
}

/* THANK-YOU PAGE */
.thank-you {
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 0 40px 0;
  background: #fafbfc;
  align-items: center;
}
.thank-you .container {
  align-items: center;
}

/* COOKIE CONSENT BANNER */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: #fff;
  color: #111;
  box-shadow: 0 -4px 22px -6px rgba(20,20,23,0.11);
  padding: 24px 20px 22px 20px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  z-index: 3000;
  gap: 32px;
  font-size: 1rem;
  transition: transform 0.3s cubic-bezier(.65,.05,.36,1);
}
.cookie-banner.hide {
  transform: translateY(120%);
}
.cookie-banner .cookie-text {
  max-width: 420px;
  color: #222;
}
.cookie-banner .cookie-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  justify-content: flex-end;
}
.cookie-banner button {
  font-family: 'Roboto Slab', Georgia, serif;
  font-size: 1em;
  border: none;
  border-radius: 22px;
  padding: 10px 22px;
  margin: 0 2px;
  cursor: pointer;
  background: #243B55;
  color: #fff;
  font-weight: 700;
  transition: background 0.14s, color 0.12s, transform 0.1s;
}
.cookie-banner button.accept { background: #33884F; color: #fff; }
.cookie-banner button.reject { background: #fff; color: #222; border: 1.2px solid #222; }
.cookie-banner button.settings { background: #fff; color: #243B55; border: 1.2px solid #243B55; }
.cookie-banner button:hover, .cookie-banner button:focus { background: #111; color: #fff; transform: scale(1.04); }

/* COOKIE MODAL */
.cookie-modal-overlay {
  position: fixed;
  z-index: 3999;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(44, 49, 55, 0.87);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.2s cubic-bezier(.6,.1,.8,.98);
}
@keyframes fadeIn { from { opacity:0; } to { opacity:1; } }
.cookie-modal {
  background: #fff;
  border-radius: 18px;
  max-width: 410px;
  width: 100%;
  padding: 32px 28px 26px 28px;
  box-shadow: 0 8px 54px -12px rgba(36,59,85,0.18);
  display: flex;
  flex-direction: column;
  gap: 18px;
  z-index: 4000;
  font-size: 1rem;
}
.cookie-modal h2 {
  font-size: 1.2rem;
  color: #243B55;
  margin-bottom: 12px;
}
.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.cookie-category label {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1em;
  color: #222;
  font-weight: 500;
}
.cookie-toggle {
  width: 44px;
  height: 24px;
  border-radius: 14px;
  border: 1.1px solid #243B55;
  background: #F1F3F7;
  position: relative;
  cursor: pointer;
  transition: background 0.15s, border 0.15s;
  margin-left: 8px;
}
.cookie-toggle[aria-checked="true"] {
  background: #33884F;
  border-color: #33884F;
}
.cookie-toggle .slider {
  position: absolute;
  left: 2px;
  top: 2px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 6px rgba(36,59,85,0.10);
  transition: left 0.18s cubic-bezier(.33,1.3,.64,1.1);
}
.cookie-toggle[aria-checked="true"] .slider {
  left: 22px;
}
.cookie-modal .cookie-buttons {
  justify-content: flex-end;
}

/* MODAL CLOSE BUTTON */
.cookie-modal-close {
  background: none;
  border: none;
  font-size: 1.7rem;
  color: #243B55;
  position: absolute;
  top: 18px;
  right: 22px;
  cursor: pointer;
}

/* SEPARATOR */
hr {
  height: 1px;
  background: #edeef0;
  border: none;
  margin: 22px 0;
}

/* UTILITY CLASSES */
.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* RESPONSIVE DESIGN */
@media (max-width: 1024px) {
  .main-nav { gap: 16px; }
  .feature-grid { gap: 24px; }
}
@media (max-width: 900px) {
  .main-nav { gap: 10px; }
  .feature, .service-card, .testimonial-card, .blog-post-preview {
    min-width: 170px;
    flex-basis: 180px;
  }
}
@media (max-width: 840px) {
  .feature-grid, .content-wrapper, .testimonials .content-wrapper {
    gap: 18px;
  }
}
@media (max-width: 768px) {
  html { font-size: 15px; }
  
  header .container {
    padding: 0 10px;
  }
  .main-nav, .btn-primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .container {
    max-width: 98vw;
    padding: 0 8px;
  }
  .hero { padding-top: 52px; }
  .content-wrapper, .feature-grid, .footer-contact {
    flex-direction: column;
    gap: 22px;
  }
  .features, .section, .about-preview, .cta, .discoveries-preview {
    padding: 32px 7px;
  }
  .footer-contact {
    font-size: 16px;
    gap: 10px;
  }
  .feature, .service-card, .testimonial-card, .blog-post-preview {
    min-width: 100%;
    flex-basis: 100%;
    padding: 22px 11px 12px 11px;
  }
  .testimonials .content-wrapper {
    gap: 14px;
  }
}
@media (max-width: 600px) {
  h1 { font-size: 1.5rem; }
  h2 { font-size: 1.2rem; }
  .container, .features, .section, .about-preview, .cta, .discoveries-preview {
    padding: 12px 2px;
  }
  .cookie-banner { flex-direction: column; align-items: flex-start; gap: 14px; }
  .footer-contact { font-size: 0.95em; }
}
@media (max-width: 410px) {
  .mobile-menu {
    padding-left: 5px;
    padding-right: 0px;
  }
}

/* MICRO-INTERACTIONS & TRANSITIONS */
a, button, .btn-primary, .btn-secondary, .main-nav a, .footer-nav a, .categories-filter a, .faq-item, .feature, .service-card, .testimonial-card {
  transition: all 0.18s cubic-bezier(.5,1.5,.68,1.1);
}

/* MONOCHROME SOPHISTICATED HIGHLIGHTS */
body {
  background: #fafbfc;
}
h1, h2, h3, h4 { color: #18181B; }
.section, .features, .service-overview, .disoveries, .publications-list {
  background: #fff;
}
.feature, .feature-grid .feature {
  background: #F1F3F7;
}

/* FORMS (if any added later) */
input, textarea, select {
  border-radius: 6px;
  background: #F1F3F7;
  border: 1.3px solid #d7dade;
  font-size: 1em;
  padding: 12px 10px;
  width: 100%;
  margin-bottom: 18px;
  font-family: inherit;
  color: #18181B;
  outline: none;
  transition: border 0.14s;
}
input:focus, textarea:focus, select:focus {
  border-color: #33884F;
}

/* Z-INDEX LAYERING FOR HEADER AND MODALS */
header, .mobile-menu, .cookie-banner, .cookie-modal-overlay, .cookie-modal {
  z-index: 3000;
}

/* CLASSES FROM PATTERNS */
.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; }

/* NO CSS GRID OR COLUMNS USED */
