/* --------------------------------------------------------------------------
   CSS RESET & NORMALIZE (Mobile-First)                                      
-------------------------------------------------------------------------- */
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, 
main, 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, main, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
}
ol, ul {
  list-style: none;
}
a {
  background: transparent;
  text-decoration: none;
  color: inherit;
}
img, video {
  max-width: 100%;
  height: auto;
  display: block;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  background: none;
  border: none;
  outline: none;
}
:root {
  --color-primary: #1A273A;
  --color-secondary: #D0D8E8;
  --color-accent: #20B486;
  --color-bg-dark: #0A1323;
  --color-bg: #141C2C;
  --color-bg-light: #222C3E;
  --color-neon-blue: #37D5F2;
  --color-neon-green: #20FFB5;
  --color-white: #fff;
  --color-grey: #AEB9CA;
  --color-shadow: rgba(32,180,134,0.16);
  --font-display: 'Montserrat', Arial, Helvetica, sans-serif;
  --font-body: 'Open Sans', Arial, Helvetica, sans-serif;
}

/* --------------------------------------------------------------------------
   BODY & TYPOGRAPHY                                                         
-------------------------------------------------------------------------- */
body {
  min-height: 100vh;
  background: var(--color-bg);
  color: var(--color-secondary);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0.01em;
  transition: background 0.3s;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--color-white);
  line-height: 1.15;
}
h1 { font-size: 2.5rem; margin-bottom: 20px; }
h2 { font-size: 2rem; margin-bottom: 18px; }
h3 { font-size: 1.5rem; margin-bottom: 12px; }
h4 { font-size: 1.25rem; }
p, ul, ol, dl {
  color: var(--color-grey);
  font-size: 1rem;
  margin-bottom: 14px;
}
strong {
  color: var(--color-accent);
}

/* Typography scaling for small screens */
@media (max-width:480px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.4rem; }
  h3 { font-size: 1.15rem; }
}

/* --------------------------------------------------------------------------
   LAYOUT CONTAINERS & FLEX SPACING PATTERNS                                 
-------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: 1160px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 16px;
  padding-right: 16px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
  border-radius: 18px;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: var(--color-bg-light);
  border-radius: 14px;
  box-shadow: 0 4px 24px var(--color-shadow);
  padding: 24px 20px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover {
  box-shadow: 0 6px 32px 0 rgba(32, 255, 181, 0.10), 0 0 0 2px var(--color-accent);
  transform: translateY(-4px) scale(1.02);
  z-index: 1;
}
.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;
  margin-bottom: 20px;
  background: var(--color-secondary);
  border-left: 5px solid var(--color-accent);
  border-radius: 18px;
  box-shadow: 0 2px 16px 0 rgba(26,39,58,0.08);
  font-size: 1.1rem;
}
.testimonial-card blockquote {
  color: #222C3E;
  font-size: 1.1rem;
  font-style: italic;
  margin: 0 0 0 0;
}
.testimonial-card cite {
  display: block;
  font-style: normal;
  color: var(--color-primary);
  font-size: 1rem;
  margin-left: 10px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

@media (max-width: 768px) {
  .container {
    padding-left: 8px;
    padding-right: 8px;
  }
  .content-grid,
  .card-container,
  .features {
    flex-direction: column;
    gap: 20px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  .section {
    padding: 26px 8px;
    margin-bottom: 40px;
  }
}

/* --------------------------------------------------------------------------
   HEADER, NAVIGATION & HERO                                                 
-------------------------------------------------------------------------- */
header {
  width: 100%;
  background: var(--color-bg-dark);
  box-shadow: 0 2px 20px 0 rgba(32, 180, 134, 0.10);
  position: sticky;
  top: 0;
  z-index: 120;
}
header nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: space-between;
  padding: 18px 0;
  max-width: 1160px;
  margin: 0 auto;
}
header nav ul {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  margin: 0;
}
header nav ul li {
  margin: 0 6px;
}
header nav a {
  color: var(--color-secondary);
  padding: 7px 12px;
  font-size: 1rem;
  font-family: var(--font-display);
  border-radius: 7px;
  transition: background 0.2s, color 0.2s;
}
header nav a:hover, header nav a:focus {
  color: var(--color-accent);
  background: rgba(32, 180, 134, 0.08);
}
.cta-button {
  background: var(--color-accent);
  color: #0A1323;
  font-family: var(--font-display);
  font-weight: 700;
  border-radius: 9px;
  padding: 10px 26px;
  box-shadow: 0 4px 16px 0 rgba(32, 255, 181, 0.11), 0 0 0 0 var(--color-accent);
  letter-spacing: 0.04em;
  transition: box-shadow 0.2s, color 0.2s, background 0.2s, transform 0.15s;
}
.cta-button:hover, .cta-button:focus {
  background: var(--color-neon-blue);
  color: #fff;
  box-shadow: 0 8px 36px 0 rgba(55, 213, 242, 0.15), 0 0 8px 2px var(--color-neon-green);
  transform: translateY(-2px) scale(1.05);
  outline: none;
}

/* Logo height */
header nav a img,  footer .content-wrapper a img {
  height: 38px;
  width: auto;
  display: block;
}

/* --------------------------------------------------------------------------
   HERO SECTIONS                                                             
-------------------------------------------------------------------------- */
.hero {
  background: linear-gradient(120deg, var(--color-bg-dark) 60%, var(--color-primary) 100%);
  box-shadow: 0 2px 32px 0 rgba(32, 180, 134, 0.09);
  border-radius: 0 0 32px 32px;
  margin-bottom: 40px;
  padding: 52px 0 34px 0;
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.hero h1 {
  background: -webkit-linear-gradient(90deg, var(--color-accent), var(--color-neon-blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;
  letter-spacing: 0.02em;
}
.hero p {
  color: var(--color-grey);
  font-size: 1.18rem;
  max-width: 600px;
  margin-bottom: 12px;
}
.hero .cta-button {
  margin-top: 12px;
}
@media (max-width: 768px) {
  .hero {
    padding: 34px 0 16px 0;
    border-radius: 0 0 22px 22px;
  }
  .hero h1 {
    font-size: 2rem;
  }
}

/* --------------------------------------------------------------------------
   CARD STYLES                                                               
-------------------------------------------------------------------------- */
ul, ol {
  list-style: none;
  padding: 0;
  margin: 0 0 12px 0;
}
ul li, ol li {
  padding-left: 0px;
  margin-bottom: 10px;
  line-height: 1.6;
  color: var(--color-secondary);
  position: relative;
}
ul li::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  margin-right: 10px;
  background: var(--color-accent);
  margin-top: 1px;
}
.feature-item h3 {
  color: var(--color-accent);
  font-size: 1.15rem;
}
.card h3 {
  color: var(--color-accent);
  margin-bottom: 8px;
}

.text-section {
  background: var(--color-bg-light);
  border-radius: 14px;
  padding: 24px 20px;
  box-shadow: 0 2px 10px 0 rgba(32, 180, 134, 0.06);
  margin-bottom: 20px;
}
.map-block {
  background: var(--color-bg-dark);
  border-radius: 10px;
  padding: 18px 16px;
  margin-top: 12px;
  box-shadow: 0 2px 8px var(--color-shadow);
}

/* --------------------------------------------------------------------------
   FOOTER                                                                    
-------------------------------------------------------------------------- */
footer {
  background: var(--color-bg-dark);
  color: var(--color-grey);
  padding: 40px 0 10px 0;
  margin-top: 50px;
  border-radius: 32px 32px 0 0;
  box-shadow: 0 -2px 32px 0 rgba(32, 180, 134, 0.09);
}
footer .content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  text-align: center;
}
footer nav {
  margin: 8px auto;
  font-size: 1rem;
}
footer nav a {
  color: var(--color-secondary);
  padding: 4px 10px;
  border-radius: 5px;
  transition: background 0.17s, color 0.19s;
}
footer nav a:hover, footer nav a:focus {
  color: var(--color-accent);
  background: rgba(32, 180, 134, 0.09);
}

footer p {
  font-size: 0.92rem;
}

/* Responsive footer */
@media (max-width: 520px) {
  footer .content-wrapper {
    gap: 16px;
    font-size: 0.88rem;
  }
}

/* --------------------------------------------------------------------------
   MOBILE NAVIGATION BURGER MENU                                             
-------------------------------------------------------------------------- */
.mobile-menu-toggle {
  display: none;
  background: var(--color-bg-dark);
  color: var(--color-accent);
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 2rem;
  position: absolute;
  right: 20px;
  top: 16px;
  z-index: 201;
  border: 2px solid var(--color-accent);
  cursor: pointer;
  transition: background 0.22s, color 0.22s, box-shadow 0.22s;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus  {
  background: var(--color-accent);
  color: var(--color-bg-dark);
  box-shadow: 0 2px 10px var(--color-neon-green);
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: fixed;
  top: 0;
  right: 0;
  width: 100vw;
  height: 100vh;
  background: var(--color-bg-dark);
  box-shadow: -2px 0 30px 0 rgba(32,180,134,0.18);
  z-index: 400;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.55, 0.09, 0.68, 0.53);
}
.mobile-menu.open {
  transform: translateX(0%);
  transition: transform 0.42s cubic-bezier(0.23, 1, 0.32, 1.0);
}
.mobile-menu-close {
  background: none;
  color: var(--color-accent);
  font-size: 2.5rem;
  border: none;
  border-radius: 10px;
  padding: 12px 15px 8px 8px;
  position: relative;
  align-self: flex-end;
  margin: 16px 18px 10px 0;
  cursor: pointer;
  transition: background .13s, color .18s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--color-accent);
  color: #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-top: 22px;
  gap: 8px;
  width: 100%;
  max-width: 300px;
  margin-left: 32px;
}
.mobile-nav a {
  font-family: var(--font-display);
  display: block;
  color: var(--color-secondary);
  padding: 14px 0 14px 3px;
  margin-bottom: 8px;
  font-size: 1.11rem;
  border-radius: 7px;
  width: 100%;
  transition: background 0.18s, color 0.19s, padding-left 0.22s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--color-neon-blue);
  background: rgba(55,213,242,0.10);
  padding-left: 18px;
}

@media (max-width: 1080px) {
  header nav ul {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (min-width: 1081px) {
  .mobile-menu {
    display: none !important;
  }
}

/* Body scroll lock when menu open */
body.menu-open {
  overflow: hidden;
}

/* --------------------------------------------------------------------------
   COOKIE CONSENT BANNER                                                     
-------------------------------------------------------------------------- */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: var(--color-bg-dark);
  color: var(--color-secondary);
  box-shadow: 0 -4px 32px 0 rgba(32,180,134,0.16);
  padding: 24px 20px 16px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  z-index: 5100;
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.29s, transform 0.32s;
}
.cookie-banner.hide {
  opacity: 0;
  transform: translateY(100%);
  pointer-events: none;
}
.cookie-banner .cookie-text {
  font-size: 1rem;
  color: var(--color-grey);
  text-align: center;
  margin-bottom: 3px;
}
.cookie-banner .cookie-actions {
  display: flex;
  flex-direction: row;
  gap: 20px;
  justify-content: center;
  margin-top: 6px;
}
.cookie-banner button {
  font-family: var(--font-display);
  padding: 8px 20px;
  border-radius: 6px;
  border: none;
  background: var(--color-accent);
  color: var(--color-bg-dark);
  margin-right: 0;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: background .17s, color .17s, box-shadow .16s;
  box-shadow: 0 2px 10px 0 rgba(32,255,181,0.08);
}
.cookie-banner button:hover, .cookie-banner button:focus {
  background: var(--color-neon-blue);
  color: #fff;
  outline: none;
  box-shadow: 0 2px 10px 2px var(--color-neon-green);
}
.cookie-banner .settings-btn {
  background: var(--color-bg-light);
  color: var(--color-accent);
  border: 1px solid var(--color-accent);
  margin-left: 0;
}
.cookie-banner .settings-btn:hover {
  background: var(--color-accent);
  color: var(--color-bg-dark);
}

@media (max-width: 520px) {
  .cookie-banner .cookie-actions {
    flex-direction: column;
    width: 100%;
    gap: 10px;
  }
}

/* COOKIE MODAL */
.cookie-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(17,34,51,0.72);
  z-index: 5200;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  transition: opacity 0.23s;
}
.cookie-modal-backdrop.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal {
  background: var(--color-bg);
  color: var(--color-secondary);
  border-radius: 15px;
  box-shadow: 0 6px 60px 0 rgba(32,255,181,0.2);
  padding: 36px 28px 28px 28px;
  min-width: 320px;
  max-width: 95vw;
  z-index: 5300;
  display: flex;
  flex-direction: column;
  gap: 18px;
  animation: dropin 0.37s cubic-bezier(0.23, 1, 0.32, 1.0);
}
@keyframes dropin {
  0% { transform: translateY(60px) scale(0.94); opacity: 0; }
  100% { transform: translateY(0) scale(1); opacity: 1; }
}
.cookie-modal h3 {
  color: var(--color-accent);
  font-size: 1.3rem;
  margin-bottom: 8px;
}
.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
}
.cookie-category input[type="checkbox"] {
  accent-color: var(--color-accent);
  width: 20px;
  height: 20px;
}
.cookie-category .switch {
  position: relative;
  display: inline-block;
  width: 38px;
  height: 22px;
}
.cookie-category .switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.cookie-category .slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #474f6d;
  border-radius: 30px;
  transition: background 0.18s;
}
.cookie-category .switch input:checked + .slider {
  background: var(--color-accent);
}
.cookie-category .slider:before {
  position: absolute;
  content: "";
  height: 16px;
  width: 16px;
  left: 4px;
  bottom: 3px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.24s;
}
.cookie-category .switch input:checked + .slider:before {
  transform: translateX(14px);
}
.cookie-modal .cookie-actions {
  display: flex;
  gap: 18px;
  justify-content: flex-end;
  margin: 0;
}
.cookie-modal button {
  border-radius: 8px;
  padding: 7px 18px;
}

/* --------------------------------------------------------------------------
   FORM ELEMENTS                                                             
-------------------------------------------------------------------------- */
input, textarea, select {
  background: var(--color-bg-light);
  border-radius: 7px;
  border: 1px solid var(--color-accent);
  padding: 10px 14px;
  color: var(--color-white);
  font-size: 1rem;
  box-shadow: 0 1px 4px 0 rgba(32,255,181,0.04);
  margin-bottom: 16px;
  transition: border-color 0.19s;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--color-neon-blue);
  outline: none;
}
label {
  color: var(--color-accent);
  font-size: 1rem;
  margin-bottom: 4px;
  display: block;
}

/* --------------------------------------------------------------------------
   FAQ (dl, dt, dd)                                                          
-------------------------------------------------------------------------- */
dl {
  margin-bottom: 20px;
}
dt {
  font-family: var(--font-display);
  color: var(--color-accent);
  font-weight: 700;
  font-size: 1.2rem;
  margin-top: 10px;
}
dd {
  color: var(--color-grey);
  font-size: 1rem;
  margin-bottom: 10px;
  margin-left: 0px;
  padding-left: 12px;
  border-left: 2px solid var(--color-accent);
}


/* --------------------------------------------------------------------------
   UTILITIES AND DECORATIVE EFFECTS                                          
-------------------------------------------------------------------------- */
/* Neon Glow Border effect */
.neon-border {
  box-shadow: 0 0 12px 2px var(--color-accent), 0 0 24px 6px var(--color-neon-blue);
}

.shadow-card {
  box-shadow: 0 10px 24px var(--color-shadow), 0 0 8px 0 var(--color-neon-green);
}

.rounded {
  border-radius: 12px;
}

/* Buttons and links focus-visible */
button:focus-visible, .cta-button:focus-visible, a:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

/* Selection color */
::selection {
  background: var(--color-neon-blue);
  color: #fff;
}

/* --------------------------------------------------------------------------
   ANIMATIONS, TRANSITIONS, MICRO-INTERACTIONS                               
-------------------------------------------------------------------------- */
a, .cta-button, button {
  transition: color 0.20s, background 0.20s, box-shadow 0.21s, transform 0.17s;
}
.card, .testimonial-card { transition: box-shadow 0.17s, transform 0.17s; }
.card:hover, .testimonial-card:hover {
  box-shadow: 0 8px 36px 0 rgba(32,255,181,0.14), 0 0 4px 2px var(--color-accent);
  transform: translateY(-2px) scale(1.012);
}

/* Animate cookie banner slide-up */
@media (max-width: 900px) {
  .cookie-banner {
    padding: 18px 8px;
    font-size: 0.98rem;
  }
}

/* --------------------------------------------------------------------------
   RESPONSIVE MEDIA QUERIES                                                  
-------------------------------------------------------------------------- */
@media (max-width: 600px) {
  h1 { font-size: 1.5rem; }
  h2 { font-size: 1.22rem; }
  .container { padding-left: 4px; padding-right: 4px; }
  .cookie-modal { padding: 16px 4vw; min-width: 0; }
  .card, .text-section { padding: 12px 8px; }
  .section { padding: 14px 2px; }
}

/* --------------------------------------------------------------------------
   Z-INDEX: Ensure stacking order                                            
-------------------------------------------------------------------------- */
header { z-index: 120; }
.mobile-menu { z-index: 400; }
.cookie-banner { z-index: 5100; }
.cookie-modal-backdrop { z-index: 5200; }

/* --------------------------------------------------------------------------
   END OF CSS                                                                
-------------------------------------------------------------------------- */
