/* RESET & BASE TYPOGRAPHY */
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;
}
html {
  font-size: 16px;
  scroll-behavior: smooth;
}
body {
  font-family: 'Roboto', Arial, sans-serif;
  color: #F9EEDB;
  background: linear-gradient(135deg, #24364A 60%, #222531 100%);
  min-height: 100vh;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  vertical-align: middle;
  display: block;
}
ul, ol {
  margin-left: 1.5em;
  margin-bottom: 1em;
}
li {
  margin-bottom: 0.5em;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  color: #F9EEDB;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0.01em;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 16px;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}
h4, h5, h6 {
  font-size: 1rem;
  margin-bottom: 8px;
}
p, .subheadline, .newsletter-signup-info, blockquote {
  font-size: 1rem;
  color: #e5f0de;
  line-height: 1.6;
  margin-bottom: 16px;
}
blockquote {
  border-left: 3px solid #7A9988;
  margin: 24px 0 16px 0;
  padding: 18px 16px 18px 20px;
  background: rgba(44,60,78,0.45);
  font-style: italic;
  color: #C5D5C5;
  border-radius: 0 12px 12px 0;
}
strong {
  color: #F9EEDB;
}
a {
  color: #85fffa;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #7A9988;
  text-decoration: underline;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}
.content-wrapper {
  margin-bottom: 60px;
  padding: 40px 20px 0 20px;
  background: none;
}

/* =============== TECH FUTURISTIC ACCENTS =============== */
.cta-button, .cookie-accept, .cookie-reject, .cookie-settings {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 1.1rem;
  letter-spacing: 0.03em;
  background: linear-gradient(90deg, #24364A 85%, #7A9988 100%);
  color: #F9EEDB;
  padding: 14px 34px;
  border-radius: 32px;
  border: none;
  box-shadow: 0 2px 10px 1px rgba(122, 153, 136, 0.18), 0 0 0 2px rgba(122,153,136,0.12);
  cursor: pointer;
  margin-top: 16px;
  margin-bottom: 24px;
  transition: background 0.2s, color 0.2s, transform 0.15s, box-shadow 0.2s;
  outline: none;
  position: relative;
}
.cta-button::after {
  content: '';
  display: block;
  position: absolute;
  inset: 0;
  border-radius: 32px;
  box-shadow: 0 0 16px 4px #7A9988, 0 0 8px 2px #70d8e2 inset;
  opacity: 0.18;
  pointer-events: none;
}
.cta-button:hover, .cta-button:focus, .cookie-accept:hover, .cookie-accept:focus {
  background: linear-gradient(90deg, #22324A 40%, #22ffe7 100%);
  color: #253849;
  transform: translateY(-1.8px) scale(1.03);
  box-shadow: 0 4px 24px 0 #7A9988b0, 0 0 0 2px #53dbefaa;
}
.cookie-accept {
  background: linear-gradient(90deg,#116a7a 90%,#7A9988);
  color: #F9EEDB;
}
.cookie-accept:hover, .cookie-accept:focus {
  color: #1af9be;
}
.cookie-reject {
  background: transparent;
  color: #ff5b7f;
  border: 2px solid #ff5b7f;
}
.cookie-reject:hover {
  background: #ff5b7f;
  color: #fff;
}
.cookie-settings {
  background: transparent;
  color: #7A9988;
  border: 2px solid #7A9988;
}
.cookie-settings:hover {
  background: #7A9988;
  color: #1a2738;
}

/* =============== FLEXBOX LAYOUTS =============== */
.features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 16px;
}
.features-grid > div {
  background: rgba(66, 84, 105, 0.74);
  border-radius: 18px;
  padding: 28px 24px;
  flex: 1 1 230px;
  min-width: 230px;
  max-width: 340px;
  margin-bottom: 20px;
  box-shadow: 0 1px 8px 0px #7A998866;
  transition: box-shadow .18s, transform .15s;
  border: 1px solid #314351b5;
  position: relative;
  overflow: hidden;
}
.features-grid > div:hover, .features-grid > div:focus-within {
  box-shadow: 0 4px 24px 0 #7A9988bb, 0 0 8px 0px #fff8c680 inset;
  transform: translateY(-2px) scale(1.02);
}
.features-grid img {
  width: 46px;
  height: 46px;
  margin-bottom: 12px;
  filter: drop-shadow(0 0 3px #70ffb7);
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  position: relative;
  margin-bottom: 20px;
  border-radius: 18px;
  background: rgba(36,54,74,0.95);
  box-shadow: 0 2px 12px 2px #26314a38;
  transition: box-shadow 0.18s, transform 0.13s;
  padding: 32px 22px;
}
.card:hover, .card:focus {
  box-shadow: 0 5px 32px #7A9988aa, 0 0 12px #8af8cc77 inset;
  transform: translateY(-2px) 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;
  gap: 20px;
  align-items: flex-start;
  background: #F9EEDB;
  color: #22324A;
  border-radius: 20px;
  padding: 32px 24px;
  margin-bottom: 20px;
  box-shadow: 0 5px 32px #7A998826;
  border: 1.5px solid #7A9988;
  font-size: 1rem;
  min-width: 220px;
  max-width: 460px;
  word-break: break-word;
  transition: transform 0.15s, box-shadow 0.18s;
}
.testimonial-card:hover,
.testimonial-card:focus-within {
  transform: translateY(-2px) scale(1.012);
  box-shadow: 0 7px 32px #7A998877, 0 0 12px #24364A22 inset;
}
.testimonial-card strong {
  color: #24364A;
}
.testimonial-card img {
  height: 26px;
  width: auto;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  padding-bottom: 12px;
}

/* ================ HEADER ================ */
header {
  background: rgba(22, 36, 52, 0.94);
  box-shadow: 0 3px 18px -6px #182334dd;
  position: sticky;
  top: 0;
  z-index: 101;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  padding: 0 20px;
}
nav {
  display: flex;
  gap: 20px;
  align-items: center;
}
nav a {
  color: #F9EEDB;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  padding: 8px 16px;
  border-radius: 18px;
  letter-spacing: 0.02em;
  position: relative;
  transition: color 0.19s, background 0.13s;
}
nav a:hover, nav a:focus {
  background: #7A9988;
  color: #171B29;
}
nav a.cta-button {
  margin-left: 12px;
}
nav a img {
  height: 44px;
  margin-right: 10px;
  filter: drop-shadow(0 0 8px #8afff9);
}

/* ================ MOBILE MENU ================ */
.mobile-menu-toggle {
  display: none;
  background: #24364A;
  color: #F9EEDB;
  border: none;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  font-size: 2.2rem;
  align-items: center;
  justify-content: center;
  position: fixed;
  right: 22px;
  top: 18px;
  z-index: 201;
  box-shadow: 0 4px 16px #16253e22;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #7A9988;
  color: #24364A;
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0; left: 0; bottom: 0; right: 0;
  background: rgba(36,54,74, 0.97);
  z-index: 202;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(.77,0,.18,1);
  box-shadow: -4px 0 28px #31435190;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  background: transparent;
  border: none;
  color: #F9EEDB;
  font-size: 2.5rem;
  margin: 18px 24px 0 0;
  cursor: pointer;
  transition: color 0.12s;
}
.mobile-menu-close:hover {
  color: #7A9988;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
  margin-top: 40px;
}
.mobile-nav a {
  font-size: 1.25rem;
  color: #F9EEDB;
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 14px 0;
  width: 100%;
  text-align: center;
  border-bottom: 1px solid #31435144;
  border-radius: 0;
  background: transparent;
  transition: background 0.18s, color 0.16s;
}
.mobile-nav a:last-child {
  border-bottom: none;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #7A9988;
  color: #24364A;
}

/* Hide nav in header on mobile; show burger */
@media (max-width: 900px) {
  header .container nav {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}
@media (max-width: 900px) {
  .mobile-menu {
    display: flex;
  }
}
@media (min-width: 901px) {
  .mobile-menu {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: none !important;
  }
}


/* =============== MAIN LAYOUT & SECTIONS =============== */
main {
  width: 100%;
  margin: 0;
  padding-bottom: 64px;
}

.section,
.content-wrapper {
  margin-bottom: 60px;
  padding: 40px 20px;
}

.next-steps ul {
  margin-top: 10px;
  margin-bottom: 18px;
}
.newsletter-signup-info {
  font-size: 1.07rem;
  font-weight: 500;
  margin-top: 12px;
  color: #70d8e2;
}
.articles-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.articles-list article {
  flex: 1 1 320px;
  background: rgba(49,67,81,0.80);
  border-radius: 16px;
  box-shadow: 0 2px 10px 0 #7A9988a0;
  padding: 26px 18px 24px 26px;
  margin-bottom: 20px;
  border: 1px solid #2f4858a6;
  transition: box-shadow 0.14s, transform 0.12s;
  min-width: 230px;
  max-width: 395px;
}
.articles-list article h3 {
  color: #7A9988;
}
.articles-list article a {
  color: #F9EEDB;
  margin-top: 10px;
  display: inline-block;
  font-weight: 500;
  text-decoration: underline wavy 1.5px;
  text-underline-offset: 2.5px;
  transition: color 0.16s;
}
.articles-list article a:hover {
  color: #70d8e2;
}
.articles-list article:hover {
  box-shadow: 0 6px 24px #7A998844, 0 0 14px #24364A22 inset;
  transform: translateY(-3px) scale(1.018);
}

.text-section ul {
  margin-left: 20px;
}
.next-steps ul li {
  color: #e5f0de;
  margin-bottom: 8px;
}
.map-info {
  margin-top: 7px;
  font-size: 1rem;
  color: #70d8e2;
  font-style: italic;
}

/* =============== FOOTER =============== */
footer {
  background: #182334;
  color: #F9EEDB;
  border-top: 3px solid #7A998860;
  margin-top: 48px;
  padding: 0;
}
footer .container {
  display: flex;
  flex-direction: column;
}
.footer-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: space-between;
  align-items: flex-start;
  padding: 38px 0 14px 0;
}
.footer-brand img {
  height: 36px;
  margin-bottom: 12px;
  filter: drop-shadow(0 0 4px #7A9988);
}
.footer-menu {
  display: flex;
  gap: 28px;
  flex-direction: column;
}
.footer-menu a {
  color: #cfd7d3;
  font-size: 1rem;
  font-family: 'Montserrat', sans-serif;
  padding: 5px 0;
  border-radius: 8px;
  transition: color 0.17s, background 0.15s;
}
.footer-menu a:hover, .footer-menu a:focus {
  color: #7A9988;
  background: rgba(244, 246, 170, 0.13);
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 12px;
  color: #b9c2be;
  font-size: 0.98rem;
}
.footer-contact img {
  width: 18px;
  margin-right: 7px;
  vertical-align: middle;
  filter: drop-shadow(0 0 3px #7A998890);
}
.footer-contact > div {
  display: flex;
  align-items: center;
}
.footer-legal {
  font-size: 0.94rem;
  color: #80989a;
  margin-top: 8px;
  padding-bottom: 12px;
}

/* =============== COOKIE CONSENT BANNER & MODAL =============== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0; right: 0;
  z-index: 10000;
  background: rgba(36,54,74,0.98);
  color: #F9EEDB;
  box-shadow: 0 -2px 16px #25384940;
  padding: 24px 16px 18px 16px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
  font-size: 1.11rem;
  transition: transform 0.5s cubic-bezier(.77,0,.18,1), opacity 0.4s;
  transform: translateY(0);
}
.cookie-banner.hide {
  transform: translateY(120%);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner .cookie-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
/* Cookie modal overlay */
.cookie-modal-overlay {
  display: flex;
  align-items: center;
  justify-content: center;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(16, 32, 46, 0.76);
  z-index: 11000;
  opacity: 1;
  pointer-events: auto;
  transition: opacity 0.35s;
}
.cookie-modal-overlay.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal {
  background: #232f3e;
  color: #F9EEDB;
  border-radius: 18px;
  box-shadow: 0 12px 36px #25384945;
  padding: 40px 28px 32px 28px;
  min-width: 320px;
  max-width: 90vw;
  max-height: 85vh;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: relative;
  margin-top: 2vh;
}
.cookie-modal h2 {
  font-size: 1.6rem;
  margin-bottom: 8px;
  color: #7A9988;
}
.cookie-modal ul {
  margin-left: 20px;
}
.cookie-modal .cookie-modal-close {
  position: absolute;
  top: 18px; right: 22px;
  background: none;
  border: none;
  color: #F9EEDB;
  font-size: 2rem;
  cursor: pointer;
}
.cookie-modal .cookie-cats {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 18px;
}
.cookie-modal label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.05rem;
  color: #F9EEDB;
  margin-bottom: 0;
}
.cookie-modal input[type='checkbox'] {
  accent-color: #7A9988;
  width: 19px;
  height: 19px;
}
.cookie-modal .cookie-buttons {
  display: flex;
  gap: 16px;
  margin-top: 14px;
}

/* =============== MEDIA QUERIES =============== */
@media (max-width: 1024px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.4rem; }
  .features-grid > div, .card, .testimonial-card {
    min-width: 180px;
    padding: 22px 10px;
  }
  .footer-menu {
    gap: 10px;
  }
}
@media (max-width: 900px) {
  .features-grid {
    flex-direction: column;
    gap: 24px;
    align-items: stretch;
  }
  .content-grid {
    flex-direction: column;
    gap: 20px;
  }
  .footer-wrapper {
    flex-direction: column;
    gap: 22px;
  }
  .footer-menu {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 16px;
  }
}
@media (max-width: 768px) {
  h1 { font-size: 1.5rem; }
  h2 { font-size: 1.1rem; }
  h3 { font-size: 1rem; }
  .section, .content-wrapper {
    padding: 24px 6px;
    margin-bottom: 34px;
  }
  .features-grid > div, .card, .testimonial-card {
    padding: 18px 9px;
    font-size: 0.97rem;
    min-width: 95%;
    max-width: 97vw;
  }
  .text-image-section,
  .content-grid {
    flex-direction: column;
    gap: 16px;
    align-items: stretch;
  }
  .footer-contact {
    font-size: 0.96rem;
  }
}
@media (max-width: 600px) {
  html { font-size: 15px; }
  .container { padding: 0 10px; }
  .footer-wrapper { gap: 12px; }
  .cookie-banner { padding: 16px 3vw; font-size: 0.98rem; }
  .cookie-modal { padding: 18px 9px; }
}
/* Ensure card and testimonial gaps responsive */
@media (max-width: 480px) {
  .card-container, .features-grid, .articles-list { gap: 12px; }
  .features-grid > div, .testimonial-card { padding: 12px 4px; }
}

/* =============== UTILITIES =============== */
.text-left { text-align: left !important; }
.text-center { text-align: center !important; }
.text-right { text-align: right !important; }
.hide {display: none !important;}

/* =============== ACCESSIBILITY =============== */
:focus {
  outline: 2.5px solid #70d8e2;
  outline-offset: 2px;
}

/* =============== SCROLLBAR FUTURISTIC THEME =============== */
::-webkit-scrollbar {
  width: 12px;
  background: #232f3e;
}
::-webkit-scrollbar-thumb {
  background: #7A9988;
  border-radius: 14px;
  border: 2px solid #24364A;
}

/* =============== END OF STYLE.CSS =============== */
