/* ----------------------
   CSS 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;
  vertical-align: baseline;
  box-sizing: border-box;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.6;
  background: #131b23;
  color: #F3F6FA;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  min-height: 100vh;
  position: relative;
  font-size: 16px;
  transition: background 0.35s;
}
img, svg {
  max-width: 100%;
  height: auto;
  display: block;
}
ul, ol {
  list-style: none;
}
a {
  color: #37A862;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #53e39d;
}
button {
  font-family: inherit;
  font-size: 1rem;
  border: none;
  background: none;
  cursor: pointer;
  outline: none;
}
::selection {
  background: #37A862;
  color: #163247;
}

/* ----------------------
    BRAND COLORS & FONTS
------------------------*/
:root {
  --color-primary: #163247;
  --color-secondary: #37A862;
  --color-accent: #F3F6FA;
  --color-bg: #131b23;
  --color-nav-bg: #162736;
  --color-hero-gradient: linear-gradient(90deg, #163247 60%, #1d544d 100%);
  --color-neon: #53e39d;
  --color-dark: #090f16;
  --color-border: #263b52;
  --font-display: 'Roboto Slab', serif;
  --font-body: 'Open Sans', Arial, Helvetica, sans-serif;
}

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css?family=Roboto+Slab:600,700&display=swap');
@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,600,700&display=swap');

/* ----------------------
      LAYOUT CONTAINERS
------------------------*/
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #192535;
  border: 1px solid var(--color-border);
  border-radius: 18px;
  box-shadow: 0 7px 26px 0 rgba(22,50,71,0.13);
  margin-bottom: 20px;
  position: relative;
  transition: transform 0.2s, box-shadow 0.2s;
  padding: 28px 24px;
  min-width: 260px;
  max-width: 360px;
  flex: 1 1 320px;
  z-index: 1;
}
.card:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 14px 48px 2px rgba(55,168,98,0.20), 0 7px 18px rgba(22,50,71,0.10);
}

.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  align-items: stretch;
}

.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #F3F6FA;
  color: #132031;
  border-radius: 14px;
  box-shadow: 0 4px 26px 0 rgba(22,50,71,0.08);
  min-width: 250px;
  max-width: 420px;
  width: 100%;
  margin-bottom: 20px;
  border: 1px solid #dde3ea;
  transition: box-shadow 0.2s, transform 0.2s;
}
.testimonial-card p{
  color: #132031;
}
.testimonial-card:hover {
  box-shadow: 0 8px 42px 2px rgba(22,50,71,0.12);
  transform: translateY(-2px) scale(1.01);
}
.testimonial-rating {
  color: #37A862;
  font-size: 1.4em;
  letter-spacing: 0.1em;
  margin-top: 8px;
  line-height: 1;
  font-weight: bold;
}

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

.feature-grid, .benefits-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.feature-grid > div, .benefits-grid > div {
  background: #162736;
  border-radius: 14px;
  border: 1px solid #23364f;
  padding: 28px 18px 18px 18px;
  flex: 1 1 260px;
  min-width: 235px;
  max-width: 310px;
  margin-bottom: 20px;
  box-shadow: 0 2px 12px 0 rgba(23, 168, 98, 0.06);
  position: relative;
  transition: transform 0.2s, box-shadow 0.2s;
}
.feature-grid > div:hover, .benefits-grid > div:hover {
  border-color: #37A862;
  box-shadow: 0 4px 24px 2px rgba(55,168,98,0.13);
  transform: translateY(-3px) scale(1.03);
  z-index: 2;
}
.feature-grid img, .benefits-grid img {
  width: 38px;
  height: 38px;
  margin-bottom: 8px;
  filter: drop-shadow(0 0 5px #37A86240);
}

.timeline {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-left: 10px;
}
.timeline li {
  position: relative;
  padding-left: 24px;
  color: #F3F6FA;
  font-size: 16px;
}
.timeline li:before {
  content: '';
  position: absolute;
  left: 4px;
  top: 10px;
  width: 10px;
  height: 10px;
  background: linear-gradient(135deg,#37A862,#53e39d);
  border-radius: 50%;
  box-shadow: 0 0 6px #35ffb6;
}

/* -----------------------
      TYPOGRAPHY SCALE
------------------------*/
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display), serif;
  color: #53e39d;
  font-weight: 700;
  letter-spacing: 0.01em;
  margin-bottom: 10px;
}
h1 {
  font-size: 2.5rem;
  color: #F3F6FA;
  background: linear-gradient(90deg,#37A862,#53e39d 80%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 20px;
}
h2 {
  font-size: 2rem;
  color: #37A862;
  margin-bottom: 16px;
}
h3 {
  font-size: 1.32rem;
  color: #F3F6FA;
  margin-bottom: 10px;
}
h4 {
  font-size: 1.14rem;
  color: #53e39d;
}
p, ul, li, address {
  font-family: var(--font-body);
  color: #E5EAF2;
  font-size: 1rem;
  line-height: 1.7;
}
ul li {
  margin-bottom: 10px;
  padding-left: 0;
}
strong {
  color: #53e39d;
}

/* ------------------------
      HERO SECTION
-------------------------*/
.hero {
  background: linear-gradient(90deg, #163247 55%, #23364f 100%);
  padding: 72px 0 52px 0;
}
.hero .container {
  align-items: flex-start;
  display: flex;
  flex-direction: column;
  gap:10px;
}
.hero .content-wrapper {
  max-width: 650px;
  gap: 28px;
}
.hero h1 {
  font-size: 2.5rem;
  background: linear-gradient(70deg, #7cfbda, #53e39d 67%, #37A862 94%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: 0.02em;
}
.hero p {
  color: #a7eada;
  font-size: 1.2rem;
}

/* -------------------
      BUTTONS & CTA
--------------------*/
.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  border-radius: 40px;
  background: linear-gradient(90deg,#37A862 70%,#7cfbda 100%);
  color: #131b23;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.12rem;
  letter-spacing: 0.04em;
  box-shadow: 0 4px 18px 0 #35ffb622;
  cursor: pointer;
  margin-top: 10px;
  transition: background 0.2s, box-shadow 0.18s, color 0.18s, transform 0.18s;
  border: 2px solid #37A862;
  text-shadow: none;
  outline: none;
}
.cta-btn:hover, .cta-btn:focus {
  background: linear-gradient(90deg,#7cfbda,#37A862 99%);
  box-shadow: 0 8px 28px 2px #35ffb6cc, 0 2px 8px #131b23;
  color: #163247;
  transform: scale(1.04);
}

/* ---------------
 NAVIGATION
----------------*/
header {
  background: var(--color-nav-bg);
  box-shadow: 0 1px 6px #0000000a;
  padding: 0;
  width: 100%;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 0;
  height: 82px;
}
nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 24px;
  margin-left: auto;
}
nav a {
  color: #e7f7ec;
  font-family: var(--font-body);
  font-size: 1rem;
  letter-spacing: 0.04em;
  margin-right: 0;
  padding: 7px 0 7px 0;
  border-bottom: 2px solid transparent;
  transition: color 0.18s, border-bottom 0.2s;
  position: relative;
  line-height: 1.5;
}
nav a:hover, nav a:focus {
  color: #7cfbda;
  border-bottom: 2px solid #37A862;
}
nav .cta-btn {
  margin-left: 16px;
  margin-top: 0;
  font-size: 1rem;
}
header img {
  height: 42px;
}
.mobile-menu-toggle {
  display: none;
  font-size: 2.5rem;
  color: #7cfbda;
  background: none;
  margin-left: 16px;
  z-index: 1003;
  line-height: 1;
}
.mobile-menu {
  display: none;
}
/* --------------
   FOOTER
--------------*/
footer {
  background: #162736;
  padding: 38px 0 24px 0;
  color: #e2efe3;
  border-top: 2px solid #37A86215;
  position: relative;
  z-index: 1;
}
footer .container {
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
}
footer nav {
  flex-direction: row;
  gap: 18px;
  margin: 14px 0 8px 0;
}
footer nav a {
  color: #F3F6FA;
  font-size: 0.99rem;
  opacity: 0.88;
  border-bottom: none;
  transition: color 0.18s;
}
footer nav a:hover {
  color: #37A862;
}
.footer-contact {
  font-size: 0.96em;
  color: #cbeeb8;
  margin: 0 auto 2px auto;
  text-align: center;
}
.footer-meta {
  color: #7cfbda;
  font-size: 0.88em;
  margin-top: 5px;
  text-align: center;
}
footer img {
  height: 38px;
  margin-bottom: 7px;
  filter: drop-shadow(0 0 8px #37A86244);
}

/* ----------------------------
   TESTIMONIALS & SLIDERS
-----------------------------*/
.testimonial-slider, .testimonial-list {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  margin: 18px 0 10px 0;
}
.testimonial-slider {
  overflow-x: auto;
  scrollbar-width: thin;
  scroll-snap-type: x mandatory;
}
.testimonial-slider .testimonial-card, 
.testimonial-list .testimonial-card {
  min-width: 270px;
  max-width: 420px;
  width: 100%;
}

/* -------------------
    FAQ SECTION
--------------------*/
.faq-list {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  margin: 20px 0 10px 0;
  justify-content: flex-start;
}
.faq-list > div {
  background: #162736;
  border-radius: 14px;
  padding: 24px 18px;
  border: 1px solid #23364f;
  flex: 1 1 260px;
  min-width: 250px;
  max-width: 420px;
  margin-bottom: 20px;
  box-shadow: 0 2px 12px 0 #35ffb615;
}
.faq-list h3 {
  color: #37A862;
  margin-bottom: 8px;
  font-size: 1.18rem;
}
.faq-list p a {
  text-decoration: underline;
}
.quick-links {
  margin-top: 14px;
  font-size: 0.98em;
  color: #7cfbda;
}
.quick-links a {
  color: #53e39d;
  font-weight: bold;
  margin: 0 8px;
}

/* -------------------
   FORMS & CONTACT
--------------------*/
address {
  color: #E5EAF2;
  font-style: normal;
  line-height: 1.5;
  margin-bottom: 10px;
}

/*------------------
  COOKIE CONSENT
-------------------*/
.cookie-banner {
  position: fixed;
  left: 10px;
  right: 10px;
  bottom: 10px;
  z-index: 5000;
  background: #2d495e;
  color: #f1f8fa;
  padding: 24px 24px 18px 24px;
  border-radius: 18px;
  box-shadow: 0 4px 32px 0 #131b2344;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  max-width: 386px;
  border: 2px solid #37A862;
  transition: transform 0.3s cubic-bezier(.66,-0.12,.4,1.25), opacity 0.15s;
  opacity: 1;
  pointer-events: auto;
  font-size: 1rem;
}
.cookie-banner.hide {
  opacity: 0;
  transform: translateY(40px);
  pointer-events: none;
}
.cookie-banner .cookie-title {
  font-family: var(--font-display);
  font-size: 1.14rem;
  color: #53e39d;
  margin-bottom: 2px;
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 16px;
  margin-top: 8px;
  flex-wrap: wrap;
  width: 100%;
}
.cookie-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 42px;
  padding: 0 20px;
  border-radius: 24px;
  background: linear-gradient(90deg,#37A862 60%,#53e39d 100%);
  color: #131b23;
  font-size: 1rem;
  font-weight: bold;
  border: none;
  margin-right: 6px;
  box-shadow: 0 4px 12px 0 #35ffb622;
  transition: background 0.18s, color 0.16s, box-shadow 0.17s, transform 0.16s;
  cursor: pointer;
}
.cookie-btn:hover, .cookie-btn:focus{
  background: linear-gradient(90deg,#53e39d,#37A862 99%);
  color: #163247;
  transform: scale(1.04);
}
.cookie-btn.settings {
  background: none;
  border: 1.5px solid #37A862;
  color: #37A862;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: #35ffb610;
  color: #53e39d;
}

/* Cookie Modal */
.cookie-modal {
  position: fixed;
  background: #162736;
  left: 50%; top: 50%;
  transform: translate(-50%,-50%) scale(1);
  z-index: 5100;
  border-radius: 20px;
  max-width: 98vw;
  width: 420px;
  padding: 38px 24px 22px 24px;
  box-shadow: 0 8px 64px 6px #35ffb620;
  color: #F3F6FA;
  opacity: 1;
  pointer-events: auto;
  transition: opacity 0.18s, transform 0.22s;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.cookie-modal.hide {
  opacity: 0;
  transform: translate(-50%,10%) scale(.96);
  pointer-events: none; 
}
.cookie-modal .close-cookie-modal {
  position: absolute;
  top: 20px;
  right: 19px;
  background: none;
  border: none;
  color: #53e39d;
  font-size: 2rem;
  cursor: pointer;
  z-index: 2;
}
.cookie-modal h2 {
  color: #53e39d;
  margin-bottom: 8px;
  font-size: 1.22rem;
}
.cookie-cats {
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.cookie-cat {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #1a2b3a;
  border-radius: 12px;
  padding: 12px 10px 9px 14px;
  font-size: 1em;
}
.cookie-cat label {
  flex: 1 1 50%;
  color: #F3F6FA;
  font-size: 1em;
}
.cookie-toggle {
  width: 42px;
  height: 22px;
  background: #132d25;
  border-radius: 14px;
  position: relative;
  margin-left: 10px;
}
.cookie-toggle input[type="checkbox"] {
  display: none;
}
.cookie-toggle span {
  position: absolute;
  content: '';
  left: 3px; top: 3px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #53e39d;
  transition: left 0.18s;
}
.cookie-toggle input[type="checkbox"]:not(:checked) + span {
  left: 3px;
  background: #334459;
}
.cookie-toggle input[type="checkbox"]:checked + span {
  left: 21px;
  background: #37A862;
}
.cookie-cat.essential label {
  color: #7cfbda;
}
.cookie-cat.essential .cookie-toggle span {
  background: #37A862 !important;
  opacity: 0.5;
}
.cookie-cat.essential .cookie-toggle {
  background: #1c3d3d;
  opacity: 0.7;
}
.cookie-cat.essential .cookie-toggle input[type="checkbox"] + span {
  background: #35ffb6 !important;
  left: 21px;
}
.cookie-cat.essential .cookie-toggle input[type="checkbox"] {
  pointer-events: none;
}

/* ------------------------------
      RESPONSIVE FLEX LAYOUTS
-------------------------------*/
@media (max-width: 1024px) {
  .container {
    max-width: 910px;
  }
  .hero .content-wrapper {
    max-width: 96vw;
  }
  .feature-grid > div, .benefits-grid > div {
    min-width: 210px;
    max-width: 98vw;
  }
  .testimonial-list, .testimonial-slider {
    gap: 16px;
  }
}
@media (max-width: 900px) {
  .container {
    max-width: 99vw;
    padding: 0 10px;
  }
  nav, footer nav {
    gap: 14px;
  }
  .section {
    padding: 30px 6px;
  }
}
@media (max-width: 768px) {
  .container {
    max-width: 99vw;
    padding: 0 4px;
  }
  header .container {
    height: 62px;
  }
  footer {
    padding: 28px 0 14px 0;
  }
  nav {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .section {
    margin-bottom: 38px;
    padding: 22px 2px;
  }
  .hero {
    padding: 48px 0 36px 0;
  }
  .hero h1 {
    font-size: 1.6rem;
    margin-bottom: 12px;
  }
  .content-grid, .testimonial-slider, .testimonial-list, .faq-list,
  .card-container, .feature-grid, .benefits-grid, .timeline {
    flex-direction: column !important;
    gap: 18px !important;
    align-items: stretch;
  }
  .feature-grid > div, .benefits-grid > div, .card, .faq-list > div {
    min-width: unset;
    max-width: 100vw;
    width: 100%;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .testimonial-card {
    max-width: 100vw;
    width: 100%;
  }
}
@media (max-width: 500px) {
  .hero .content-wrapper {
    max-width: 98vw;
  }
  .hero {
    padding: 18vw 0 6vw 0;
  }
  .cookie-banner {
    max-width: 98vw;
    left: 2vw;
    right: 2vw;
    padding: 18px 8px 15px 14px;
  }
  .cookie-modal {
    width: 96vw;
    padding: 28px 8px 10px 10px;
  }
  .testimonial-card {
    padding: 16px 6px;
  }
}

/* --------------------
    MOBILE MENU
---------------------*/
.mobile-menu {
  display: flex;
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(28, 34, 51, 0.97);
  flex-direction: column;
  align-items: flex-end;
  z-index: 6000;
  transition: transform 0.34s cubic-bezier(.66,-0.12,.4,1.25), opacity 0.20s;
  transform: translateX(100%);
  opacity: 0;
  pointer-events: none;
  width: 100vw;
}
.mobile-menu.active {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  font-size: 2.3rem;
  color: #7cfbda;
  background: none;
  border: none;
  margin: 24px 28px 16px 0;
  cursor: pointer;
  align-self: flex-end;
  z-index: 6002;
  transition: color 0.17s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #37A862;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-end;
  justify-content: flex-start;
  margin: 0 34px 0 0;
}
.mobile-nav a {
  font-size: 1.08rem;
  color: #f3faf6;
  font-family: var(--font-display);
  padding: 12px 14px;
  border-radius: 8px;
  margin-bottom: 0;
  background: none;
  width: 100%;
  text-align: right;
  transition: background 0.17s, color 0.17s;
  min-width: 137px;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: linear-gradient(90deg,#163247 20%, #37A86233 100%);
  color: #37A862;
}

/* Hamburger - Above
-----------------------------*/
@media (min-width: 769px) {
  .mobile-menu,
  .mobile-menu-toggle {
    display: none !important;
  }
  nav {
    display: flex !important;
  }
}

/*  --------------
   MISC/ELEMENTS
-----------------*/
li img {
  width: 22px;
  height: 22px;
  margin-right: 7px;
  vertical-align: middle;
  display: inline-block;
}

/* Cards in Quick Grids */
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

ul, ol {
  padding-left: 18px;
}
/* Fix for timeline unordered lists */
.timeline {
  padding-left: 0 !important; 
}
.timeline li {
  padding-left: 26px;
  margin-bottom: 10px;
}

/* -------------
  ANIMATIONS
---------------*/
@keyframes neon-border {
  0% {
    box-shadow: 0 0 0px #35ffb6;
  }
  60% {
    box-shadow: 0 0 18px #35ffb688, 0 0 6px #37A862;
  }
  100% {
    box-shadow: 0 0 0px #35ffb6;
  }
}

.card:hover, 
.feature-grid > div:hover, 
.benefits-grid > div:hover {
  animation: neon-border 1.6s linear infinite;
}

.cta-btn:active, .cookie-btn:active {
  transform: scale(0.98);
}

/* Scrollbars - futuristic and minimal for flex scrollers */
::-webkit-scrollbar {
  width: 8px;
  background: #192535;
  border-radius: 8px;
}
::-webkit-scrollbar-thumb {
  background: #2d495e;
  border-radius: 8px;
}

/* -------------------
   Z-INDEX LAYERS
--------------------*/
.mobile-menu {
  z-index: 6000;
}
.mobile-menu-close {
  z-index: 6002;
}
.cookie-modal {
  z-index: 5100;
}
.cookie-banner {
  z-index: 5000;
}

/* --------------
   PRINT STYLES
----------------*/
@media print {
  header, footer, .mobile-menu, .cookie-banner, .cookie-modal, .mobile-menu-toggle {
    display: none !important;
  }
  body, .container {
    color: #000;
    background: #fff !important;
  }
}
