/* ========================================================
   Zephyr Habitat Tech Futuristic CSS
   Color palette: #24657C (Primary), #E9F2F6 (SecondaryBG), #40A78E (Accent), #156050 (Deep Accent)
   Main fonts: Montserrat (display), Open Sans (body)
   ======================================================== */

/* === CSS RESET / NORMALIZE === */
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,
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%;
  vertical-align: baseline;
  box-sizing: border-box;
}

/* Remove list styles and extra spacing */
ul, ol {
  list-style: none;
  margin: 0;
  padding: 0;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button {
  font-family: inherit;
  border: none;
  background: none;
  cursor: pointer;
}

hr {
  border: none;
  border-top: 1px solid #E9F2F6;
  margin: 24px 0;
}

/* ========================
   BASE & TYPOGRAPHY
=========================== */
body {
  font-family: 'Open Sans', Arial, sans-serif;
  color: #e5fbfd;
  background: linear-gradient(120deg, #192437 0%, #1c3d4f 100%);
  min-height: 100vh;
  letter-spacing: 0.01em;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}

h1, h2, h3, h4 {
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  color: #e2f9fa;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: 0.02em;
}
h1 {
  font-size: 2.75rem;
  background: linear-gradient(90deg, #40a78e 20%, #198b6e 80%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 24px;
}
h2 {
  font-size: 2rem;
  color: #48dee7;
  margin-bottom: 16px;
}
h3 {
  font-size: 1.3rem;
  color: #eafac5;
  margin-bottom: 10px;
  font-weight: 600;
}
h4 {
  font-size: 1.10rem;
  color: #b1ffea;
  margin-bottom: 8px;
  font-weight: 600;
}
p, li, a {
  font-size: 1rem;
  color: #e5fbfd;
}
strong, b {
  font-weight: bold;
  color: #99ffe9;
}

/* ========================
   HEADER & NAVBAR
=========================== */
header {
  background: rgba(30,38,56,0.85);
  border-bottom: 1.5px solid #23364c;
  backdrop-filter: blur(6px);
  z-index: 100;
  position: sticky;
  top: 0;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 80px;
  position: relative;
}
header nav {
  display: flex;
  gap: 28px;
  align-items: center;
}
header nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 8px 0;
  color: #e9f2f6;
  position: relative;
  font-size: 1.08rem;
  transition: color 0.18s;
}
header nav a:hover, .mobile-nav a:hover {
  color: #40a78e;
  text-shadow: 0 0 4px #40a78e66;
}
header img {
  height: 38px;
  filter: drop-shadow(0 0 6px #40a78e55);
}

.btn {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.06rem;
  display: inline-block;
  border-radius: 28px;
  padding: 10px 36px;
  font-weight: 600;
  letter-spacing: 0.03em;
  background: #40A78E;
  color: #131e2d;
  box-shadow: 0 3px 12px 0 #40a78e33, 0 0px 1.5px 0 #15605044 inset;
  transition: background 0.25s, color 0.18s, box-shadow 0.23s;
  border: 2px solid #40a78e;
}
.btn-primary {
  background: #40A78E;
  color: #132a2c;
  border: 2px solid #40a78e;
}
.btn-primary:hover, .btn-primary:focus {
  background: #24657C;
  color: #b2ffe1;
  box-shadow: 0 0 16px 2px #40a78e88, 0 3px 25px 0 #47ffd055;
  border-color: #24657C;
}

header .btn {
  margin-left: 30px;
}

/* ===========================
   MOBILE MENU
============================= */
.mobile-menu-toggle {
  display: none;
  font-size: 2rem;
  color: #40A78E;
  background: none;
  border: none;
  margin-left: 22px;
  z-index: 122;
  padding: 6px 8px;
  border-radius: 6px;
  transition: background 0.18s;
}
.mobile-menu-toggle:focus {
  outline: 2px solid #40A78E;
  background: #23364c;
}

.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background: rgba(30,38,56, 0.99);
  box-shadow: 0 0 60px 0 #24657ccc;
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transform: translateX(-100vw);
  transition: transform 0.35s cubic-bezier(.82,.01,.74,1.02);
  opacity: 0;
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  align-self: flex-end;
  margin: 30px 36px 10px 0;
  font-size: 2.45rem;
  color: #40a78e;
  background: none;
  border: none;
  transition: color 0.18s;
  padding: 0 8px;
}
.mobile-menu-close:focus,
.mobile-menu-close:hover {
  color: #ff82d4;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 30px;
  width: 100%;
  align-items: center;
}
.mobile-nav a {
  color: #e5fbfd;
  font-size: 1.35rem;
  padding: 16px 0;
  width: 100%;
  text-align: center;
  border-bottom: 1px solid #24657C33;
  transition: background 0.14s, color 0.12s;
  font-family: 'Montserrat', Arial, sans-serif;
}
.mobile-nav a:active {
  background: #40a78e11;
  color: #40A78E;
}

@media (max-width: 1200px) {
  .container {
    max-width: 990px;
  }
}

@media (max-width: 900px) {
  .container {
    max-width: 760px;
  }
}

@media (max-width: 920px) {
  header nav {
    display: none;
  }
  header .btn {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

@media (min-width: 921px) {
  .mobile-menu, .mobile-menu-toggle {
    display: none !important;
  }
}

/* ===========================
         MAIN LAYOUT
=========================== */
main {
  min-height: 60vh;
  margin-top: 0;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
  border-radius: 16px;
  position: relative;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  align-items: flex-start;
  position: relative;
}
.text-section {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  width: 100%;
  max-width: 630px;
}

/* =============================
   CARD & FLEX CONTAINERS
============================== */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #253b56;
  border-radius: 16px;
  box-shadow: 0 4px 20px #24657ccc;
  padding: 32px 24px;
  min-width: 210px;
  transition: box-shadow 0.25s, transform 0.18s;
  border: 1.5px solid #40a78e55;
  z-index: 1;
}
.card:hover {
  box-shadow: 0 8px 32px #40a78e99, 0 0 0 3px #40a78e66;
  transform: translateY(-4px) scale(1.025);
  border-color: #40a78e;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
}

.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;
  background: #e9f2f6;
  color: #1b2b3d;
  border-radius: 16px;
  margin-bottom: 20px;
  font-size: 1.04rem;
  box-shadow: 0 2px 12px #24657c22;
  border: 1.5px solid #40a78e22;
  transition: box-shadow 0.18s, border 0.2s;
}
.testimonial-card p {
  color: #18484e;
  font-style: italic;
  font-weight: 500;
}
.testimonial-card b {
  color: #24657C;
}
.testimonial-card:hover {
  border-color: #40a78e;
  box-shadow: 0 3px 32px #40a78e66;
}

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

/* === PRODUCT / FEATURE GRIDS === */
.feature_grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: flex-start;
  align-items: stretch;
}
.feature_grid > li {
  background: #253b56ee;
  border-radius: 14px;
  box-shadow: 0 3px 14px #40a78e22;
  border: 1px solid #40a78e37;
  min-width: 220px;
  flex: 1 1 210px;
  padding: 22px 18px 20px 18px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 20px;
  transition: box-shadow 0.2s, border 0.23s, transform .09s;
}
.feature_grid > li img {
  width: 46px;
  height: 46px;
  margin-bottom: 8px;
  filter: drop-shadow(0 0 6px #40a78e60);
}
.feature_grid > li:hover {
  box-shadow: 0 6px 26px #40a78e55, 0 0 0 4px #40a78e55;
  border: 1.5px solid #40a78e;
  transform: translateY(-2px) scale(1.025);
}
.feature_grid > li h3 {
  color: #aeffe1;
  font-size: 1.18rem;
  margin-bottom: 4px;
}

.product_list_grid {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-bottom: 24px;
}
.product_list_grid .text-section {
  background: #233859;
  border-radius: 12px;
  padding: 26px 22px;
  box-shadow: 0 2px 9px #40a78e14;
  border: 1px solid #40a78e17;
  flex: 1 1 255px;
  transition: box-shadow 0.15s;
}
.product_list_grid .text-section:hover {
  box-shadow: 0 5px 22px #40a78e55;
}

.trustmarks {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 26px;
}
.trustmarks li {
  background: #14667744;
  border-radius: 10px;
  padding: 10px 26px;
  color: #eafafc;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.01rem;
  border: 1px solid #24657c14;
}
.trustmarks img {
  width: 28px;
  height: 28px;
}

.map_embed_placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #232c39cc;
  color: #94b6ca;
  font-size: 1.09rem;
  padding: 34px 0;
  border-radius: 10px;
  margin: 12px 0;
  border: 1.5px dashed #40a78e80;
}

/* =======================================
   Footer
========================================== */
footer {
  background: #10202c;
  border-top: 2px solid #24657C;
  margin-top: 48px;
  padding: 44px 0 24px 0;
}
footer .container {
  display: flex;
  flex-direction: column;
}
footer .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 32px;
  justify-content: space-between;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
footer nav a {
  color: #c9e8ff;
  font-size: 1rem;
  transition: color 0.14s;
}
footer nav a:hover {
  color: #40A78E;
  text-shadow: 0 0 10px #40A78E44;
}
footer img {
  height: 36px;
  width: auto;
  margin-bottom: 16px;
  filter: drop-shadow(0 0 2.5px #40A78E77);
}
footer .text-section {
  color: #99bad7;
  font-size: 0.95rem;
}
footer .text-section a {
  color: #40A78E;
  text-decoration: underline;
}
footer .text-section a:hover {
  color: #8bf2e4;
}

/* =============================
   CTA, LISTS, ETC.
=============================== */
section ul {
  margin-top: 8px;
  margin-bottom: 10px;
}
section ul > li {
  margin-bottom: 18px;
  line-height: 1.7;
  padding-left: 0.5em;
}
section .text-section ul > li {
  margin-bottom: 12px;
}
section a {
  color: #40A78E;
  border-bottom: 1.5px solid #40A78E22;
  transition: color 0.13s, border 0.13s;
}
section a:hover {
  color: #24657C;
  border-bottom: 1.5px solid #40A78E;
}

/* ================================
   COOKIE CONSENT BANNER & MODAL
=================================== */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  z-index: 1205;
  background: #182b36d8;
  color: #d0edf0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  padding: 22px 16px 28px;
  box-shadow: 0 -3px 28px #24657c33;
  border-top: 2.5px solid #40A78E;
  animation: slideCookieBanner 0.68s cubic-bezier(.9,.04,.48,.98);
}
@keyframes slideCookieBanner {
  from { transform: translateY(100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1 }
}
.cookie-banner p {
  flex: 1 1 270px;
  font-size: 1.09rem;
  color: #eafcf5;
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 18px;
  flex: 1;
  justify-content: flex-end;
  align-items: center;
  margin-left: 14px;
}
.cookie-banner .btn {
  font-size: 1.02rem;
  min-width: 120px;
  padding: 8px 20px;
  margin: 0;
  border-radius: 22px;
}
.cookie-banner .btn-accept {
  background: #40A78E;
  color: #132a2c;
  border: 1.7px solid #40a78e;
}
.cookie-banner .btn-accept:hover {
  box-shadow: 0 0 8px #40a78e80;
}
.cookie-banner .btn-reject {
  background: #24657C;
  color: #eafafc;
  border: 1.7px solid #40A78E;
}
.cookie-banner .btn-reject:hover {
  background: #40A78E;
  color: #24657c;
}
.cookie-banner .btn-settings {
  background: transparent;
  color: #40A78E;
  border: 1.6px solid #40A78E;
}
.cookie-banner .btn-settings:hover {
  background: #23364c;
}

.cookie-modal {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%,-52%) scale(0.98);
  z-index: 1402;
  background: #192437fa;
  color: #c1e9e6;
  border-radius: 18px;
  box-shadow: 0 12px 56px #24657c77;
  min-width: 320px;
  max-width: 96vw;
  width: 410px;
  padding: 40px 36px 32px 36px;
  display: flex;
  flex-direction: column;
  gap: 25px;
  animation: modalAppear 0.47s cubic-bezier(.43,0,.78,1);
}
@keyframes modalAppear {
  from { opacity: 0; transform: translate(-50%,-80%) scale(0.94); }
  to   { opacity: 1; transform: translate(-50%,-52%) scale(1); }
}
.cookie-modal h3 {
  color: #40A78E;
  margin-bottom: 0;
  font-size: 1.3rem;
}
.cookie-modal ul {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.cookie-modal ul li {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #23364c;
  border-radius: 7px;
  padding: 10px 14px;
  font-size: 1rem;
}
.cookie-modal input[type="checkbox"] {
  accent-color: #40A78E;
  width: 20px;
  height: 20px;
}
.cookie-modal .cookie-modal-actions {
  display: flex;
  gap: 16px;
  justify-content: flex-end;
}
.cookie-modal .btn {
  min-width: 115px;
}
.cookie-modal .btn-close-modal {
  background: #24657C;
  color: #eafafc;
  border: 1.5px solid #40A78E;
  border-radius: 20px;
  padding: 6px 16px;
  font-size: 1rem;
  margin-right: auto;
}
.cookie-modal .btn-close-modal:hover {
  background: #40a78e!important;
  color: #23364c!important;
}

/* === MODAL BACKDROP === */
.cookie-backdrop {
  position: fixed;
  z-index: 1401;
  left: 0; top: 0; width: 100vw; height: 100vh;
  background: #1c2835cc;
  animation: fadeBackdrop 0.28s cubic-bezier(.43,0,.78,1);
}
@keyframes fadeBackdrop {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* =============================
   RESPONSIVE
=============================== */
@media (max-width: 768px) {
  .section, section {
    padding: 26px 6px;
    margin-bottom: 42px;
  }
  .container {
    max-width: 99vw;
    padding: 0 6px;
  }
  header .container {
    min-height: 62px;
  }
  h1 {
    font-size: 2.06rem;
  }
  h2 {
    font-size: 1.32rem;
  }
  h3 {
    font-size: 1.07rem;
  }
  .content-wrapper, .text-section {
    gap: 13px;
  }
  .feature_grid {
    flex-direction: column;
    gap: 18px;
  }
  .product_list_grid {
    flex-direction: column;
    gap: 17px;
  }
  .testimonial-card {
    flex-direction: column;
    gap: 7px;
    padding: 11px 10px;
  }
  .trustmarks {
    gap: 12px;
  }
  .text-image-section, .content-grid {
    flex-direction: column;
    gap: 12px;
  }
  footer .content-wrapper {
    flex-direction: column;
    gap: 20px;
  }
  .card-container {
    flex-direction: column;
    gap: 14px;
  }
}

@media (max-width: 500px) {
  body {
    font-size: 15px;
  }
  h1 { font-size: 1.49rem; }
  .testimonials, .testimonial-card {
    font-size: 0.98rem;
    padding: 7px 5px;
  }
  .card {
    padding: 15px 7px;
    min-width: 150px;
  }
  .cookie-banner {
    flex-direction: column;
    text-align: center;
    padding: 15px 7px 22px;
    gap: 11px;
  }
  .cookie-modal {
    padding: 22px 7.5vw 12px 7.5vw;
    width: 97vw;
    min-width: unset;
  }
}

/* ===============================
   UTILITIES & MICRO-INTERACTIONS
================================== */

::-webkit-scrollbar {
  width: 10px;
  background: #213144;
}
::-webkit-scrollbar-thumb {
  background: #24657c;
  border-radius: 6px;
}
::-webkit-scrollbar-thumb:hover {
  background: #40a78e;
}

/* Subtle hover on cards */
.card, .feature_grid > li, .product_list_grid .text-section {
  transition: box-shadow .19s, transform .17s, border-color .13s;
}

/* Subtle button press */
.btn:active {
  transform: scale(.97);
  filter: brightness(.91);
}

/* Focus ring accessibility */
:focus {
  outline: 2.5px solid #40A78E;
  outline-offset: 2.5px;
}

@media (hover: hover) and (pointer: fine) {
  a, .btn, .card, .feature_grid > li {
    transition: box-shadow .22s, color .12s, background .19s, border-color .18s;
  }
}

/* Disabled states */
.btn[disabled] {
  opacity: 0.51;
  pointer-events: none;
}

/* Accessibility for testimonials/reviews */
.testimonial-card p, .testimonial-card span, .testimonial-card b {
  color: #1d3847 !important;
}

/* ===============================
   MISCELLANEOUS
=================================== */
::-moz-selection {
  color: #132a2c;
  background: #a4ffe5;
}
::selection {
  color: #132a2c;
  background: #a4ffe5;
}

/* ===== END CSS ===== */
