/* --- 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, 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;
  background: #181E2A;
  color: #F7F6F2;
  font-family: 'Open Sans', Arial, sans-serif;
  scroll-behavior: smooth;
  min-height: 100vh;
}
img, picture, video {
  max-width: 100%;
  height: auto;
}
*, *:before, *:after {
  box-sizing: inherit;
}
:root {
  --clr-primary: #223A5E;
  --clr-secondary: #8BBA3F;
  --clr-accent: #F7F6F2;
  --clr-bg-dark: #181E2A;
  --clr-bg-card: #1f2633;
  --clr-neon: #42ffe7;
  --font-display: 'Montserrat', Arial, Helvetica, sans-serif;
  --font-body: 'Open Sans', Arial, Helvetica, sans-serif;
}

/* --- BASE TYPOGRAPHY & GLOBALS --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  letter-spacing: .03em;
  color: var(--clr-neon);
  text-shadow: 0 2px 8px rgba(66,255,231,.08);
}
h1 { font-size: 2.2rem; font-weight: 800; margin-bottom: 18px; line-height: 1.15; }
h2 { font-size: 1.6rem; font-weight: 700; margin-bottom: 16px; }
h3 { font-size: 1.2rem; font-weight: 600; margin-bottom: 12px; }
h4 { font-size: 1.1rem; font-weight: 500; margin-bottom: 10px; }
p, ul, ol, .footer-contact, .testimonial-meta, .category-tabs a, .cookie-banner p {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--clr-accent);
}
strong, b { color: var(--clr-secondary); font-weight: 700; }
a {
  color: var(--clr-neon);
  text-decoration: none;
  transition: color .18s;
}
a:hover, a:focus {
  color: var(--clr-secondary);
}
ul, ol { margin-bottom: 18px; padding-left: 22px; }
ul li, ol li { margin-bottom: 8px; }
.container {
  width: 100%;
  max-width: 1080px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 16px;
  padding-right: 16px;
}

/* --- HEADER/NAVIGATION --- */
header {
  background: #181E2A;
  box-shadow: 0 2px 12px 0 rgba(34,58,94,.10);
  margin-bottom: 0;
}
.logo-nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0 14px 0;
  position: relative;
  gap: 20px;
}
.logo img { height: 38px; display: block; }

.main-nav {
  display: flex;
  align-items: center;
  gap: 18px;
}
.main-nav a {
  color: var(--clr-neon);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  padding: 6px 18px;
  border-radius: 24px;
  transition: background .18s, color .18s, box-shadow .18s;
  position: relative;
}
.main-nav a.cta.primary {
  background: var(--clr-secondary);
  color: #13171f;
  box-shadow: 0 2px 10px 0 rgba(139,186,63,0.11);
  border: none;
  font-weight: 800;
  letter-spacing: 0.04em;
}
.main-nav a.cta.primary:hover, .main-nav a.cta.primary:focus {
  background: var(--clr-neon);
  color: #181E2A;
  box-shadow: 0 2px 10px 0 rgba(66,255,231,0.13);
}
.main-nav a:hover,
.main-nav a:focus {
  background: rgba(139,186,63, 0.08);
  color: var(--clr-secondary);
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--clr-neon);
  cursor: pointer;
  z-index: 802;
  padding: 6px 10px;
  transition: color 0.2s;
}
.mobile-menu-toggle:hover { color: var(--clr-secondary); }

/* -- MOBILE NAVIGATION SLIDE-IN -- */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  right: 0;
  width: 100vw;
  height: 100vh;
  background: #10131C;
  z-index: 800;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-start;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform .3s cubic-bezier(.83,.18,.42,1.06);
}
.mobile-menu.open {
  display: flex;
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  font-size: 2.1rem;
  color: var(--clr-secondary);
  margin: 28px 28px 0 0;
  align-self: flex-end;
  cursor: pointer;
  z-index: 803;
  transition: color .15s;
}
.mobile-menu-close:hover {
  color: var(--clr-neon);
}
.mobile-nav {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 40px 32px;
  gap: 12px;
}
.mobile-nav a {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--clr-accent);
  background: none;
  border-radius: 16px;
  padding: 10px 2px;
  transition: color .16s, background .17s;
  width: 100%;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: rgba(139,186,63, 0.15);
  color: var(--clr-secondary);
}

@media (max-width: 1100px) {
  .container { max-width: 95vw; }
}
@media (max-width: 1024px) {
  .main-nav a { font-size: .97rem; padding: 5px 12px; }
}
@media (max-width: 900px) {
  .main-nav { gap: 9px; }
}
@media (max-width: 768px) {
  .main-nav { display: none; }
  .mobile-menu-toggle { display: block; }
  .logo-nav-wrapper { gap: 12px; }
}
@media (min-width: 769px) {
  .mobile-menu { display: none!important; }
}

/* --- HERO SECTION --- */
.hero {
  background: linear-gradient(115deg, #223A5E 0%, #33477A 100%);
  box-shadow: 0 4px 36px 0 rgba(34,58,94,.41);
  min-height: 300px;
  display: flex;
  align-items: center;
  margin-bottom: 60px;
  padding: 40px 0;
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.hero .content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}
.hero h1 {
  color: #fff;
  text-shadow: 0 3px 24px rgba(66,255,231,.15);
  font-size: 2.1rem;
}
.hero p {
  color: #eaf7f4;
  font-size: 1.1rem;
}
.hero .cta.primary {
  margin-top: 16px;
  min-width: 180px;
}
@media (max-width:600px){
  .hero {
    padding: 30px 0 30px 0;
    min-height: 175px;
  }
  .hero h1 { font-size: 1.42rem; }
}

/* --- SECTION, SPACING, CARD CONTAINER --- */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  background: var(--clr-bg-card);
  border-radius: 18px;
  box-shadow: 0 6px 26px 0 rgba(34,58,94,.13);
  position: relative;
  padding: 26px 20px 20px 20px;
  transition: box-shadow .18s, border-color .18s;
  border: 1.5px solid rgba(66, 255, 231, 0.25);
}
.card:hover {
  box-shadow: 0 10px 36px 0 rgba(66,255,231,0.10), 0 2px 9px 0 rgba(139,186,63,0.11);
  border-color: var(--clr-neon);
}

.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: #f7f6f2;
  color: #223A5E;
  border-radius: 20px;
  box-shadow: 0 2px 16px 0 rgba(34,58,94,0.14);
  margin-bottom: 20px;
  min-width: 250px;
  flex: 1 1 280px;
  position: relative;
  z-index: 1;
}
.testimonial-card p {
  color: #223A5E;
  font-size: 1.03rem;
  line-height: 1.6;
}
.testimonial-meta {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-size: .98rem;
  color: #223A5E;
}
.testimonial-meta strong {
  color: var(--clr-primary);
}
.stars { color: var(--clr-secondary); font-size: 1rem; margin-left: 6px; white-space: nowrap; }

@media (max-width: 700px) {
  .testimonial-card { flex-direction: column; align-items: flex-start; }
}

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

/* --- FEATURES --- */
.features {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.features .feature-grid, .features ul {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  list-style: none;
}
.features .feature-grid li,
.features ul li {
  background: var(--clr-bg-card);
  border: 1.2px solid rgba(66,255,231,0.12);
  border-radius: 16px;
  padding: 20px 18px;
  min-width: 220px;
  flex: 1 1 230px;
  margin-bottom: 20px;
  transition: border-color .18s, box-shadow .16s;
  box-shadow: 0 4px 18px 0 rgba(34,58,94,.13);
  position: relative;
}
.features .feature-grid li:hover,
.features ul li:hover {
  border-color: var(--clr-neon);
  box-shadow: 0 6px 36px 0 rgba(66,255,231,0.09), 0 2px 12px 0 rgba(139,186,63,0.13);
}
.features img { height: 38px; margin-bottom: 10px; }
.features h3 { margin-bottom: 5px; color: var(--clr-secondary); }
.features p { color: #e8fff9; font-size: 0.97rem; }

/* --- HIGHLIGHTS LIST --- */
.highlights {
  background: none;
  margin-bottom: 60px;
  padding: 40px 20px;
}
.highlights .highlight-list {
  display: flex;
  flex-direction: column;
  gap: 11px;
  list-style: disc inside;
  margin-bottom: 20px;
}
.highlights p {
  font-size: 1.08rem;
}

@media (max-width: 900px) {
  .features .feature-grid, .features ul { flex-direction: column; gap: 12px; }
}

/* --- BLOG POSTS / CATEGORY TABS --- */
.blog-posts .category-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
}
.blog-posts .category-tabs a {
  padding: 8px 18px;
  border-radius: 18px;
  background: rgba(34,58,94,.38);
  color: var(--clr-neon);
  font-weight: 600;
  font-family: var(--font-display);
  transition: background .14s, color .13s;
}
.blog-posts .category-tabs a:hover, .blog-posts .category-tabs a:focus {
  background: var(--clr-neon);
  color: #223A5E;
}
.post-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 15px;
}
.post-list li {
  background: var(--clr-bg-card);
  border-radius: 15px;
  box-shadow: 0 2px 11px 0 rgba(66,255,231,.10);
  padding: 18px 16px;
  margin-bottom: 20px;
  min-width: 220px;
  flex: 1 1 225px;
  transition: box-shadow .16s, border-color .16s;
  border: 1.3px solid rgba(66,255,231,0.12);
}
.post-list li:hover {
  border-color: var(--clr-neon);
}
.post-list h3 { color: var(--clr-secondary); margin-bottom: 6px; }

@media (max-width: 700px) {
  .blog-posts .category-tabs {
    flex-direction: column;
    gap: 4px;
  }
  .post-list { flex-direction: column; gap: 8px; }
}

/* --- CONTACT / LOCATION MAP --- */
.contact-details-section .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 35px;
  margin-bottom: 16px;
  align-items: flex-start;
}
.contact-details {
  flex: 2 1 260px;
}
.contact-details ul {
  display: flex;
  flex-direction: column;
  gap: 13px;
  list-style: none;
}
.contact-details img {
  height: 22px; width: 22px; vertical-align: middle; margin-right: 7px;
}
.contact-info-text { flex: 3 1 180px; }
.map-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  background: var(--clr-bg-card);
  border-radius: 13px;
  padding: 20px;
  margin: 10px 0;
}
.contact-details-section .content-wrapper:last-child {
  margin-bottom: 0;
}

@media (max-width:700px) {
  .contact-details-section .content-wrapper {
    flex-direction: column;
    gap: 18px;
  }
  .map-placeholder { padding: 12px 0; }
}

/* --- CTA SECTION --- */
.cta-section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: linear-gradient(98deg,#223A5E 60%,#8BBA3F 100%);
  border-radius: 18px;
  box-shadow: 0 3px 30px 0 rgba(139,186,63,0.09);
}
.cta-section .content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
}
.cta-section h2 { color: #fff; }
.cta-section .cta.primary {
  margin-top: 8px;
  background: var(--clr-neon);
  color: #13171f;
}

/* --- BUTTONS/CTA --- */
.cta, button, .cookie-banner .btn, .cookie-modal .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--clr-secondary);
  color: #181E2A;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.07rem;
  padding: 10px 28px;
  border-radius: 34px;
  border: none;
  cursor: pointer;
  box-shadow: 0 2px 10px 0 rgba(139,186,63,0.13);
  text-decoration: none;
  margin-top: 6px;
  margin-bottom: 6px;
  transition: background .17s, color .18s, box-shadow .19s, outline .15s;
  outline: 2px solid transparent;
}
.cta.primary, .cookie-banner .btn.accept {
  background: var(--clr-neon);
  color: #181E2A;
  font-weight: 800;
  letter-spacing: .03em;
  box-shadow: 0 3px 20px 0 rgba(66,255,231,.13);
}
.cta.primary:hover, .cta.primary:focus, .cookie-banner .btn.accept:hover, .cookie-banner .btn.accept:focus {
  background: var(--clr-secondary);
  color: #181E2A;
  box-shadow: 0 3px 26px 0 rgba(139,186,63,.13);
}
.cta:hover, .cta:focus, .cookie-banner .btn:hover, .cookie-banner .btn:focus {
  background: var(--clr-neon);
  color: #223A5E;
  box-shadow: 0 2px 16px 0 rgba(34,58,94,.12);
  outline: 2px solid var(--clr-secondary);
}
.cta:active { background: #e0ffe8; color: #223A5E; }

/* --- FOOTER --- */
footer {
  background: #1A2130;
  box-shadow: 0 -1.5px 7px 0 rgba(139,186,63,0.07);
  padding: 44px 0 20px 0;
  margin-top: 54px;
  color: var(--clr-accent);
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.footer-brand img {
  height: 36px;
}
.footer-brand span {
  font-family: var(--font-display);
  font-size: 1.04rem;
  color: var(--clr-secondary);
}
.footer-nav {
  display: flex;
  gap: 20px;
  margin-bottom: 16px;
}
.footer-nav a {
  color: var(--clr-neon);
  font-family: var(--font-display);
  font-size: .9rem;
  transition: color .15s;
}
.footer-nav a:hover,
.footer-nav a:focus {
  color: var(--clr-secondary);
}
.footer-contact {
  font-size: .97rem;
  margin-bottom: 18px;
}
footer small {
  display: block;
  color: #627494;
  margin-top: 14px;
  letter-spacing: .01em;
  font-size: .94rem;
}
@media (max-width: 600px){
  .footer-brand { flex-direction: column; align-items: flex-start; gap: 4px; }
  .footer-nav { flex-direction: column; gap: 6px; margin-bottom: 8px; }
}

/* --- FORMS (INPUTS etc. where present) --- */
input, textarea, select {
  background: #232C3F;
  border: 1.5px solid #33477A;
  border-radius: 7px;
  padding: 10px 14px;
  color: var(--clr-accent);
  font-family: var(--font-body);
  font-size: 1rem;
  outline: none;
  margin-bottom: 12px;
  transition: border-color .13s, box-shadow .12s;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--clr-neon);
  box-shadow: 0 2px 9px 0 rgba(66,255,231,0.08);
}

/* --- FAQ/LEGAL/ABOUT PAGES --- */
.legal, .about, .about-short, .contact-faq, .confirmation {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.legal h1, .confirmation h1, .about h2 { color: var(--clr-neon); }
.legal .content-wrapper, .about .content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* --- MISC UTILS --- */
.hide { display: none!important; }
.visible { display: block!important; }

/* --- RESPONSIVE LAYOUTS (MOBILE FIRST) --- */
@media (max-width: 900px) {
  .container { padding-left: 8px; padding-right: 8px; }
  .section, .features, .highlights, .about, .about-short, .contact-details-section, .legal, .cta-section {
    padding-left: 8px;
    padding-right: 8px;
  }
}
@media (max-width: 768px) {
  .content-grid, .card-container {
    flex-direction: column;
    gap: 12px;
  }
  .section, .features, .highlights, .about, .about-short, .contact-details-section, .legal, .cta-section { padding: 28px 4px; }
  .text-image-section {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }
}

/* --- COOKIE BANNER --- */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  z-index: 9999;
  background: #1f2633;
  color: #F7F6F2;
  box-shadow: 0 -1.5px 16px 0 rgba(139,186,63,0.21);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px 10px 18px 10px;
  gap: 22px;
  transition: transform .34s cubic-bezier(.7,.12,.15,1.1);
}
.cookie-banner.hide {
  transform: translateY(120%);
  pointer-events: none;
}
.cookie-banner.show {
  transform: translateY(0);
}
.cookie-banner p {
  flex: 2 1 220px;
  margin: 0 24px 0 0;
  color: #F7F6F2;
  font-size: .98rem;
}
.cookie-banner .btn {
  font-size: .99rem;
  font-family: var(--font-display);
  border-radius: 21px;
  font-weight: 700;
  padding: 8px 18px;
  margin-left: 10px;
  border: none;
}
.cookie-banner .btn:not(:last-child) { margin-right: 12px; }
.cookie-banner .btn.reject {
  background: transparent;
  border: 1.5px solid var(--clr-neon);
  color: var(--clr-neon);
  transition: background .14s, color .13s;
}
.cookie-banner .btn.reject:hover, .cookie-banner .btn.reject:focus {
  background: var(--clr-neon);
  color: #181E2A;
}
.cookie-banner .btn.settings {
  background: transparent;
  border: 1.5px solid var(--clr-secondary);
  color: var(--clr-secondary);
}
.cookie-banner .btn.settings:hover, .cookie-banner .btn.settings:focus {
  background: var(--clr-secondary);
  color: #181E2A;
}

@media (max-width:600px){
  .cookie-banner {
    flex-direction: column;
    align-items: stretch;
    gap: 13px;
    padding: 15px 4px 15px 4px;
  }
  .cookie-banner p { margin: 0; }
  .cookie-banner .btn { margin: 0 0 6px 0; width: 100%; }
}

/* --- COOKIE PREFERENCES MODAL --- */
.cookie-modal {
  display: none;
  position: fixed;
  left: 0;
  top: 0;
  z-index: 10100;
  width: 100vw;
  height: 100vh;
  background: rgba(23,27,37, 0.83);
  align-items: center;
  justify-content: center;
}
.cookie-modal.open { display: flex; }
.cookie-modal-content {
  background: #232C3F;
  color: #F7F6F2;
  max-width: 390px;
  width: 93vw;
  border-radius: 18px;
  box-shadow: 0 10px 36px 0 rgba(66,255,231,0.09), 0 2px 12px 0 rgba(139,186,63,0.13);
  padding: 30px 22px 24px 22px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
  animation: modalIn .35s cubic-bezier(.69,.05,.36,1.01);
}
@keyframes modalIn {
  0% { transform: scale(0.93) translateY(20px); opacity: 0; }
  100% { transform: scale(1) translateY(0); opacity: 1; }
}
.cookie-modal-content h2 {
  color: var(--clr-neon);
  font-size: 1.22rem;
  margin-bottom: 10px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 13px;
}
.cookie-category label {
  color: var(--clr-neon);
  font-weight: 600;
  font-size: .99rem;
}
.cookie-modal-close {
  background: none;
  border: none;
  color: var(--clr-neon);
  font-size: 1.7rem;
  position: absolute;
  top: 8px; right: 12px;
  cursor: pointer;
}
.cookie-modal .btn {
  margin-top: 10px;
  font-size: 1rem;
  border-radius: 20px;
  width: 100%;
}

.switch {
  position: relative;
  display: inline-block;
  width: 38px;
  height: 20px;
}
.switch input { opacity: 0; width: 0; height: 0; }
.switch-slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #344265;
  border-radius: 16px;
  transition: background .15s;
}
.switch input:checked + .switch-slider {
  background: var(--clr-neon);
}
.switch-slider:before {
  position: absolute;
  content: "";
  height: 15px; width: 15px;
  left: 3px; bottom: 2.5px;
  background: #fff;
  border-radius: 50%;
  transition: transform .15s;
}
.switch input:checked + .switch-slider:before {
  transform: translateX(16px);
}

/* --- MICRO-INTERACTIONS: HOVER, FOCUS & EFFECTS --- */
.card, .testimonial-card, .features .feature-grid li, .features ul li, .post-list li {
  transition: box-shadow .19s, border-color .20s, transform .14s;
}
.card:hover, .testimonial-card:hover, .post-list li:hover {
  transform: translateY(-2px) scale(1.012);
  box-shadow: 0 8px 40px 0 rgba(66,255,231,0.09), 0 2px 14px 0 rgba(139,186,63,0.08);
}
.cta, button, .cookie-banner .btn, .cookie-modal .btn {
  transition: background .18s, color .18s, box-shadow .18s, outline .15s, border-color .15s;
}

/* --- SELECTION --- */
::selection { background: #42ffe7; color: #181E2A; }

/* --- SCROLLBAR --- */
::-webkit-scrollbar { width: 10px; background: #1f2633; }
::-webkit-scrollbar-thumb { background: #33477A; border-radius: 6px; }

/* --- END --- */
