/* RESET & BASE STYLES */
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, hgroup,
menu, nav, output, ruby, section, summary, time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  box-sizing: border-box;
  vertical-align: baseline;
}
html { box-sizing: border-box; height: 100%; } 
*, *:before, *:after { box-sizing: inherit; }
body {
  font-family: 'Roboto', Arial, sans-serif;
  color: #1C2237;
  background: #fff;
  line-height: 1.62;
  min-height: 100vh;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; height: auto; display: block; }
a { color: #18A999; text-decoration: none; transition: color 0.2s; }
a:hover, a:focus { color: #1C2237; text-decoration: underline; }
button, input, select, textarea { font-family: inherit; font-size: 1em; }
ul, ol { list-style: none; }
strong, b { font-weight: 600; }

/* TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: #1C2237;
  margin-bottom: 16px;
}
h1 {
  font-size: 2.8rem;
  line-height: 1.15;
}
h2 {
  font-size: 2rem;
  line-height: 1.2;
}
h3 {
  font-size: 1.35rem;
}
h4, h5, h6 {
  font-size: 1.05rem;
}
p {
  margin-bottom: 20px;
}
.text-section ul, .content-wrapper ul, .content-wrapper ol {
  margin-left: 0;
  margin-bottom: 24px;
}
.text-section ul li, .content-wrapper ul li, .content-wrapper ol li {
  margin-bottom: 10px;
  padding-left: 0;
  list-style: disc inside;
}

/* LAYOUT CONTAINERS */
.container {
  width: 100%;
  max-width: 1220px;
  padding: 0 24px;
  margin: 0 auto;
}
.section, section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
  width: 100%;
}
.text-section { max-width: 760px; margin: 0 auto; }

/* MAIN NAVIGATION */
header {
  background: #fff;
  border-bottom: 1px solid #ececec;
  box-shadow: 0 2px 12px 0 rgba(28,34,55,0.03);
  position: sticky;
  top: 0; left: 0; right: 0;
  z-index: 50;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
  gap: 24px;
}
.logo {
  display: flex;
  align-items: center;
  margin-right: 32px;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}
.main-nav a {
  font-size: 1rem;
  color: #1C2237;
  padding: 6px 0;
  position: relative;
  transition: color 0.2s;
}
.main-nav a:hover::after, .main-nav a:focus::after {
  content: '';
  display: block;
  height: 2px;
  background: #18A999;
  width: 100%;
  position: absolute;
  left: 0; bottom: -2px;
  border-radius: 1px;
  transition: background 0.2s;
}
.cta-btn {
  background: #18A999;
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1.07rem;
  border: none;
  border-radius: 32px;
  padding: 12px 32px;
  margin-left: 24px;
  box-shadow: 0 2px 6px rgba(28,34,55,0.04);
  cursor: pointer;
  transition: background 0.17s, box-shadow 0.17s, color 0.13s;
  display: inline-block;
  outline: none;
}
.cta-btn:hover, .cta-btn:focus {
  background: #1C2237;
  color: #FCE77D;
  box-shadow: 0 4px 20px 0 rgba(28,34,55,0.10);
  text-decoration: none;
}
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2.1rem;
  color: #1C2237;
  cursor: pointer;
  margin-left: 10px;
  line-height: 1;
}

/* MOBILE MENU */
.mobile-menu {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background: rgba(28,34,55,0.97);
  z-index: 9999;
  transform: translateX(-100vw);
  pointer-events: none;
  opacity: 0;
  transition: transform 0.32s cubic-bezier(0.77,0,0.175,1), opacity 0.25s;
}
.mobile-menu.active {
  transform: translateX(0);
  pointer-events: auto;
  opacity: 1;
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 2rem;
  align-self: flex-end;
  margin: 28px 30px 10px 0;
  cursor: pointer;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 2.1rem;
  padding: 38px 40px 0 40px;
  width: 100%;
}
.mobile-nav a {
  font-size: 1.30rem;
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  padding: 8px 0;
  border-radius: 4px;
  transition: background 0.18s, color 0.18s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #18A999;
  color: #fff;
  text-decoration: none;
}

/* HERO / CTA SECTION */
.hero {
  background: #f7fafc;
  padding-top: 60px;
  padding-bottom: 60px;
}
.hero .content-wrapper {
  align-items: flex-start;
  text-align: left;
  gap: 24px;
}
.hero h1 {
  color: #1C2237;
}
.hero p {
  font-size: 1.15rem;
  max-width: 680px;
}
.hero .cta-btn {
  margin-left: 0;
}

.cta {
  background: #FCE77D;
  border-radius: 26px;
  box-shadow: 0 4px 20px 0 rgba(28,34,55,0.02);
  padding: 42px 20px;
  margin-bottom: 60px;
  margin-top: 10px;
}
.cta h2 {
  color: #1C2237;
  margin-bottom: 10px;
}
.cta p {
  color: #1C2237;
  margin-bottom: 18px;
}

/* FLEX CONTAINERS */
.card-container, .card-grid, .feature-grid, .team-grid, .content-grid, .footer-grid, .testimonial-slider, .timeline-events {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 18px;
  margin-bottom: 18px;
}
.card-container { gap: 24px; }
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 18px rgba(28,34,55,0.05);
  padding: 30px;
  transition: box-shadow 0.19s, transform 0.18s;
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.card:hover, .card:focus-within {
  box-shadow: 0 6px 36px rgba(28,34,55,0.11);
  transform: translateY(-3px) scale(1.01);
}
.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: 20px;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 2px 10px 0 rgba(28,34,55,0.07);
  margin-bottom: 20px;
  max-width: 410px;
  min-width: 260px;
  transition: box-shadow 0.18s, transform 0.15s;
}
.testimonial-card:hover {
  box-shadow: 0 8px 24px 0 rgba(28,34,55,0.13);
  transform: translateY(-2px) scale(1.01);
}
.testimonial-card p {
  color: #1C2237;
  font-size: 1.10rem;
  margin-bottom: 5px;
}
.testimonial-meta {
  font-size: 1rem;
  color: #18A999;
  letter-spacing: 0.02em;
}

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

/* FEATURES GRID */
.feature-grid, .features > .content-wrapper > ul {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.feature-grid > li, .features > .content-wrapper > ul > li, .services > .content-wrapper > ul > li {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 14px rgba(28,34,55,0.04);
  padding: 30px 20px 28px 20px;
  min-width: 230px;
  flex: 1 1 220px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 13px;
  transition: box-shadow 0.18s, transform 0.15s;
}
.feature-grid > li:hover, .services > .content-wrapper > ul > li:hover {
  box-shadow: 0 8px 26px 0 rgba(28,34,55,0.12);
  transform: translateY(-2px) scale(1.012);
}
.feature-grid h3, .services h3 {
  font-size: 1.2rem;
  color: #1C2237;
}
.feature-grid img {
  width: 40px;
  height: 40px;
  margin-bottom: 4px;
}
.tech-badge {
  display: inline-block;
  background: #18A999;
  color: #fff;
  font-size: 0.98rem;
  border-radius: 14px;
  padding: 2px 14px;
  margin-top: 8px;
  letter-spacing: 0.04em;
}

.services > .content-wrapper > ul, .features > .content-wrapper > ul {
  gap: 24px;
}
.services > .content-wrapper > ul > li {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2.5px 12px rgba(28,34,55,0.04);
  padding: 26px 18px 22px 18px;
  flex: 1 1 215px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.services > .content-wrapper > ul > li a {
  color: #18A999;
  font-size: 1rem;
  text-decoration: underline;
  transition: color 0.18s;
}
.services > .content-wrapper > ul > li a:hover { color: #1C2237; }

/* PUBLICATION LIST */
.publication-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.publication-list li {
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 2px 12px rgba(28,34,55,0.03);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 7px;
  font-size: 1.08rem;
}
.publication-list a {
  margin-left: 18px;
  color: #18A999;
  font-weight: 500;
  transition: color 0.18s;
}
.publication-list a:hover { color: #1C2237; }
.publication-list img {
  width: 32px;
  height: 32px;
  margin-left: auto;
}

/* TEAM GRID */
.team-grid {
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
}
.team-grid > div {
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 2.5px 10px rgba(28,34,55,0.04);
  padding: 26px 22px;
  min-width: 220px;
  flex: 1 1 220px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
  transition: box-shadow 0.18s, transform 0.15s;
}
.team-grid > div:hover {
  box-shadow: 0 8px 24px 0 rgba(28,34,55,0.13);
  transform: translateY(-2px) scale(1.01); 
}
.founder-intro {
  margin-top: 18px;
  font-size: 1.06rem;
  color: #505672;
}

.team-profiles .content-wrapper > div {
  margin-bottom: 20px;
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 2px 10px rgba(28,34,55,0.04);
  padding: 26px 20px 22px 20px;
}

.timeline-events {
  flex-direction: column;
  gap: 12px;
  padding-left: 0;
}
.timeline-events li {
  padding: 14px 0 14px 20px;
  border-left: 3px solid #18A999;
  background: #f6f8fa;
  margin-bottom: 6px;
  border-radius: 4px;
  font-size: 1.03rem;
}

.tech-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 18px;
}
.tech-icons li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.07rem;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 1px 8px rgba(28,34,55,0.03);
  padding: 14px 18px;
  min-width: 170px;
}
.tech-icons img {
  width: 30px;
  height: 30px;
}

.method-descriptions {
  color: #495066;
  font-size: 1.04rem;
  margin-bottom: 12px;
}

/* FOOTER */
footer {
  background: #fafbfc;
  padding: 40px 0 0 0;
  border-top: 1px solid #ececec;
}
.footer-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 36px;
  align-items: flex-start;
  justify-content: space-between;
  padding-bottom: 28px;
  min-height: 160px;
}
.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  min-width: 200px;
}
.footer-brand img {
  width: 50px;
  height: 50px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 9px;
  min-width: 170px;
}
.footer-nav a {
  color: #1C2237;
  font-size: 1rem;
  transition: color 0.18s;
  padding: 2px 0;
  border-radius: 4px;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #18A999;
  background: #eafaf7;
  text-decoration: none;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.97rem;
  color: #52535c;
  min-width: 210px;
}
.footer-contact img {
  width: 18px;
  height: 18px;
  margin-right: 7px;
  vertical-align: middle;
}
.footer-social {
  display: flex;
  gap: 15px;
  align-items: center;
}
.footer-social a img {
  width: 30px;
  height: 30px;
  filter: grayscale(1) brightness(0.74);
  opacity: 0.7;
  transition: filter 0.18s, opacity 0.18s;
}
.footer-social a:hover img {
  filter: grayscale(0) brightness(1);
  opacity: 1;
}
.footer-bottom {
  text-align: center;
  padding: 18px 0 12px 0;
  font-size: 0.98rem;
  color: #777B84;
  border-top: 1px solid #ececec;
  background: #fafbfc;
  margin-top: 0;
}

/* COOKIE CONSENT BANNER */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0; right: 0;
  width: 100vw;
  background: #fff;
  color: #1C2237;
  box-shadow: 0 -2px 22px 0 rgba(28,34,55,0.11);
  padding: 20px 24px 20px 24px;
  display: flex;
  align-items: center;
  gap: 22px;
  justify-content: space-between;
  z-index: 12000;
  transition: transform 0.25s, opacity 0.25s;
}
.cookie-banner.hide {
  transform: translateY(100%);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner .cookie-text {
  font-size: 1rem;
  max-width: 620px;
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 12px;
  align-items: center;
}
.cookie-btn {
  padding: 10px 22px;
  border: none;
  border-radius: 24px;
  background: #18A999;
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  margin-left: 0;
  cursor: pointer;
  margin-right: 0;
  box-shadow: 0 1.5px 10px rgba(28,34,55,0.07);
  transition: background 0.17s, color 0.13s, box-shadow 0.14s;
  outline: none;
}
.cookie-btn.settings {
  background: #fff;
  color: #1C2237;
  border: 1.5px solid #18A999;
}
.cookie-btn.reject {
  background: #fff;
  color: #E74C3C;
  border: 1.5px solid #E74C3C;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #1C2237;
  color: #FCE77D;
  box-shadow: 0 4px 16px 0 rgba(28,34,55,0.14);
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus{
  background: #18A999;
  color: #fff;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus{
  background: #E74C3C;
  color: #fff;
  border: 1.5px solid #E74C3C;
}

/* COOKIE MODAL */
.cookie-modal {
  position: fixed;
  z-index: 13000;
  left: 0; top: 0; right: 0; bottom: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(28,34,55,0.66);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  pointer-events: all;
  transition: opacity 0.28s;
}
.cookie-modal.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal-content {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 8px 48px 0 rgba(28,34,55,0.19);
  padding: 40px 34px 32px 34px;
  min-width: 315px;
  max-width: 420px;
  margin: 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
}
.cookie-modal-content h3 {
  font-size: 1.28rem;
  margin-bottom: 2px;
}
.cookie-modal-content button.close-modal {
  position: absolute;
  top: 10px; right: 14px;
  background: none;
  border: none;
  font-size: 1.7rem;
  color: #18A999;
  cursor: pointer;
  padding: 4px;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 19px;
  margin-bottom: 12px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 13px;
  font-size: 1rem;
}
.cookie-category.essential label {
  color: #999;
}
.cookie-category input:disabled {
  accent-color: #18A999;
  cursor: not-allowed;
}
.cookie-category input[type="checkbox"] {
  width: 19px;height: 19px;
  accent-color: #18A999;
}
.cookie-modal-actions {
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: flex-end;
  margin-top: 14px;
}

/* FORMS (newsletters, etc.) */
form {
  width: 100%;
  max-width: 480px;
  margin-bottom: 1.5rem;
}
input, textarea, select {
  border: 1.5px solid #E3E7EF;
  background: #f7fafc;
  border-radius: 10px;
  font-size: 1rem;
  padding: 12px 14px;
  margin-bottom: 18px;
  outline: none;
  width: 100%;
  transition: border 0.17s;
  resize: vertical;
  color: #1C2237;
}
input:focus, textarea:focus, select:focus {
  border-color: #18A999;
}

/* ICONS IN CONTACT/INFO */
.contact .content-wrapper div {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 1.07rem;
}
.contact .content-wrapper img {
  width: 20px;
  height: 20px;
  vertical-align: middle;
}

/* RESPONSIVE STYLES */
@media (max-width: 1200px) {
  .container { max-width: 1000px; }
  .footer-grid { gap: 18px; }
}
@media (max-width: 900px) {
  .container { max-width: 88vw; }
  .footer-grid { gap: 12px; }
}

@media (max-width: 768px) {
  body { font-size: 15px; }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.45rem; }
  .header .container {
    padding: 0 12px;
    gap: 10px;
  }
  .main-nav { display: none; }
  .cta-btn { display: none; }
  .mobile-menu-toggle {
    display: block;
  }
  .footer-grid {
    flex-direction: column;
    gap: 18px;
    padding-bottom: 13px;
  }
  .footer-brand, .footer-contact, .footer-social, .footer-nav { min-width: 0; }
  .footer-social {
    justify-content: flex-start;
    margin-top: 8px;
  }
  .feature-grid, .team-grid, .card-container, .content-grid, .tech-icons, .testimonial-slider {
    flex-direction: column;
    gap: 18px;
  }
  .hero, .cta, section, .section {
    padding: 26px 8px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .card, .feature-grid > li, .services > .content-wrapper > ul > li, .team-grid > div {
    min-width: 0;
    padding: 18px 13px;
  }
  .testimonial-card {
    min-width: 0;
    max-width: 100%;
  }
  .cookie-banner {
    flex-direction: column;
    gap: 13px;
    align-items: flex-start;
    padding: 16px 8px;
  }
  .cookie-btn {
    padding: 10px 14px;
    font-size: 0.94rem;
  }
  .cookie-modal-content {
    min-width: 0; max-width: 98vw; padding: 20px 8vw 14px 8vw;
  }
}
@media (max-width: 480px) {
  h1 { font-size: 1.4rem; }
  h2 { font-size: 1r2em; }
  .container { padding: 0 4px; }
  .mobile-menu .mobile-nav { padding: 30px 14px 0 14px; }
}

/* ANIMATIONS */
@keyframes fadeInUp {
  0%{ opacity:0; transform:translateY(16px); }
  100%{ opacity:1; transform:translateY(0); }
}
.card, .feature-grid > li, .services > .content-wrapper > ul > li, .testimonial-card {
  animation: fadeInUp 0.65s cubic-bezier(0.77,0,0.175,1) both;
}
.cookie-modal-content {
  animation: fadeInUp 0.35s cubic-bezier(0.77,0,0.175,1);
}

/* SCROLLBAR STYLING */
::-webkit-scrollbar {
  width: 7px;
  background: #F6F8FA;
}
::-webkit-scrollbar-thumb {
  background: #E3E7EF; border-radius: 4px;
}

/* UTILITIES */
.mb-0 { margin-bottom: 0!important; }
.mb-10 { margin-bottom: 10px!important; }
.mt-20 { margin-top: 20px!important; }

/* OVERRIDES FOR FULL WIDTH SECTIONS */
.hero .container, .cta .container {
  padding-left: 0; padding-right: 0;
  max-width: 100vw;
}

/* FOCUS STYLE (ACCESSIBILITY) */
a:focus, button:focus, input:focus, .cta-btn:focus {
  outline: 2px solid #18A999;
  outline-offset: 3px;
}

/* CARD EXTRAS */
.card .icon, .card svg {
  width: 36px;
  height: 36px;
  margin-bottom: 9px;
}
