/* ============================
   CSS RESET & NORMALIZE RULES
   ============================ */
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: #131a21;
  color: #f8fafc;
  min-height: 100vh;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
ul, ol, li {
  list-style: none;
  margin: 0;
  padding: 0;
}
a {
  background: none;
  color: inherit;
  text-decoration: none;
  outline: none;
  transition: color .2s;
}
img {
  max-width: 100%;
  display: block;
  height: auto;
}
button, input, textarea, select {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  outline: none;
}
/* =============================
   BRAND & THEME VARIABLES
   ============================= */
:root {
  --color-primary: #205D77;
  --color-secondary: #A7C957;
  --color-accent: #F6E9D7;
  --color-bg-dark: #131a21;
  --color-bg-light: #172330;
  --color-neon: #4affdc;
  --color-warning: #fbba29;
  --color-error: #eb4d4b;
  --color-gray: #697988;
  --color-text-main: #f8fafc;
  --color-text-dark: #172330;
  --color-text-mid: #b5c2cd;
  --font-display: 'Montserrat', Arial, Helvetica, sans-serif;
  --font-body: 'Open Sans', Arial, Helvetica, sans-serif;
}
/* ============================
   GENERAL TYPOGRAPHY
   ============================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--color-neon);
  line-height: 1.15;
}
h1 { font-size: 2.25rem; letter-spacing: .5px; margin-bottom: 24px; }
h2 { font-size: 1.75rem; margin-bottom: 20px; }
h3 { font-size: 1.25rem; margin-bottom: 14px; }
h4 { font-size: 1.125rem; }
p, li, blockquote, em, span, strong {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-text-main);
}
ul, ol { padding-left: 18px; }
blockquote {
  font-style: italic;
  color: var(--color-secondary);
  background: rgba(34,68,88,0.13);
  border-left: 4px solid var(--color-secondary);
  margin: 20px 0;
  padding: 14px 22px;
  border-radius: 6px;
}
strong, b {
  font-weight: 700;
}

em, i { color: var(--color-neon); }

.note {
  display: block;
  color: var(--color-warning);
  font-size: 0.98rem;
  margin-top: 10px;
  font-family: var(--font-body);
}

/* ============================
   LAYOUT CONTAINERS & SPACING
   ============================ */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 22px;
  align-items: flex-start;
  margin-bottom: 0;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--color-bg-light);
  border-radius: 18px;
  box-shadow: 0 4px 18px 0 rgba(33,255,249,0.07);
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 28px 24px;
  border: 1.5px solid rgba(76,255,246,0.06);
  transition: box-shadow .3s, border-color .3s, transform .2s;
}
.card:hover {
  border-color: var(--color-neon);
  box-shadow: 0 4px 38px 0 rgba(76,255,246,0.18);
  transform: translateY(-2px) scale(1.02);
  z-index: 2;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}
.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;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  margin-bottom: 20px;
  background: #fff;
  border-radius: 13px;
  box-shadow: 0 2px 16px 0 rgba(32,93,119,0.11);
  border: 1.2px solid var(--color-secondary);
  color: var(--color-text-dark);
  min-width: 220px;
  max-width: 100%;
  transition: box-shadow .29s;
  z-index: 1;
}
.testimonial-card p {
  color: var(--color-text-dark);
  font-size: 1rem;
  margin-bottom: 0;
}
.testimonial-card strong {
  color: var(--color-primary);
}
.testimonial-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: stretch;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  flex: 1 1 180px;
  min-width: 180px;
  max-width: 320px;
}
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  align-items: stretch;
  margin: 14px 0 0 0;
}
.team-list {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-bottom: 24px;
}
.team-member {
  background: var(--color-bg-light);
  border-radius: 9px;
  box-shadow: 0 2px 10px 0 rgba(39,237,248,0.08);
  padding: 22px 20px;
  min-width: 170px;
  max-width: 320px;
  flex: 1 1 180px;
  border-left: 4px solid var(--color-secondary);
  transition: border-color 0.2s;
}
.team-member:hover {
  border-color: var(--color-neon);
}

.card, .testimonial-card, .team-member {
  margin-bottom: 20px;
}
/* Blog items */
.blog-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 16px;
}
.blog-post-preview {
  background: var(--color-bg-light);
  border-radius: 11px;
  box-shadow: 0 2px 12px 0 rgba(34,97,216,0.07);
  padding: 22px 20px;
  flex: 1 1 230px;
  transition: box-shadow .27s, transform .22s;
  border: 1.4px solid rgba(167,201,87,0.18);
  position: relative;
}
.blog-post-preview a {
  color: var(--color-secondary);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .6px;
  font-size: 0.98rem;
  margin-top: 8px;
  display: inline-block;
  transition: color .22s, text-shadow .22s;
}
.blog-post-preview a:hover {
  color: var(--color-neon);
  text-shadow: 0 0 8px var(--color-neon);
}
.blog-post-preview:hover {
  box-shadow: 0 4px 24px 0 rgba(167,201,87,0.16);
  transform: translateY(-3px) scale(1.02);
  border-color: var(--color-secondary);
}
.categories-overview ul {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.categories-overview li {
  background: var(--color-primary);
  color: #fff;
  border-radius: 6px;
  padding: 4px 16px;
  font-size: .97rem;
  margin-bottom: 7px;
}

/******************************
  HEADER & MAIN NAVIGATION
******************************/
header {
  background: var(--color-bg-dark);
  border-bottom: 1.3px solid var(--color-bg-light);
}
header .container {
  min-height: 85px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 8px;
  padding-bottom: 8px;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}
.main-nav a {
  color: #e5f4ff;
  font-family: var(--font-display);
  font-size: 1.03rem;
  font-weight: 500;
  position: relative;
  padding: 6px 12px;
  transition: color .19s;
}
.main-nav a:hover, .main-nav a.active {
  color: var(--color-neon);
  text-shadow: 0 0 7px var(--color-neon);
}

.btn-primary {
  background: var(--color-primary);
  color: #fff;
  border-radius: 26px;
  font-family: var(--font-display);
  padding: 10px 28px;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: .8px;
  box-shadow: 0 2px 24px 0 rgba(47,178,218,0.18);
  border: 2px solid var(--color-neon);
  transition: background .22s, color .22s, box-shadow .2s, border .2s, transform .16s;
  margin-left: 14px;
}
.btn-primary:hover, .btn-primary:focus {
  background: var(--color-neon);
  color: var(--color-bg-dark) !important;
  box-shadow: 0 6px 24px 0 var(--color-neon);
  border: 2px solid var(--color-neon);
  transform: scale(1.05);
  outline: none;
}
.btn-secondary {
  background: #fff;
  color: var(--color-primary);
  border-radius: 22px;
  font-size: 1rem;
  font-weight: 600;
  border: 2px solid var(--color-secondary);
  padding: 9px 22px;
  transition: background .2s, color .2s, border-color .2s;
}
.btn-secondary:hover {
  background: var(--color-secondary);
  color: #fff;
  border-color: var(--color-neon);
}

/******************************
   MOBILE BURGER MENU
******************************/
.mobile-menu-toggle {
  display: none;
  background: var(--color-primary);
  color: #fff;
  font-size: 2rem;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  border: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 1100;
  transition: background .21s;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: var(--color-neon);
  color: var(--color-bg-dark);
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: #121a28ed;
  z-index: 1200;
  transform: translateX(100%);
  transition: transform .33s cubic-bezier(.65,0,.33,1);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 36px 24px 24px 40px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  color: #fff;
  font-size: 2.2rem;
  border: 0;
  cursor: pointer;
  margin-bottom: 32px;
  align-self: flex-end;
  padding: 4px 8px;
  transition: color .21s;
}
.mobile-menu-close:hover {
  color: var(--color-neon);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
  margin-top: 10px;
  width: 100%;
}
.mobile-nav a {
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  padding: 12px 0;
  width: 100%;
  border-radius: 8px;
  text-align: left;
  transition: background .18s, color .18s;
}
.mobile-nav a:hover, .mobile-nav a.active {
  color: var(--color-neon);
  background: rgba(76,255,246,0.06);
}

/******************************
   FOOTER
******************************/
footer {
  background: #121a28;
  border-top: 1.5px solid #243448;
  color: #c3cad0;
  padding: 0;
  margin-top: 44px;
}
footer .container {
  padding: 32px 16px 12px 16px;
}
footer .content-wrapper {
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  gap: 30px;
}
.footer-logo {
  margin-right: 40px;
  min-width: 50px;
  align-self: flex-start;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-nav a {
  color: #fff;
  font-size: 0.98rem;
  margin-bottom: 3px;
  transition: color .17s;
}
.footer-nav a:hover {
  color: var(--color-neon);
}
.contact-short {
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: #c3cad0;
  font-size: .97rem;
  align-items: flex-start;
}
.contact-short img {
  width: 19px;
  height: auto;
  margin-right: 8px;
  vertical-align: middle;
}
.legal-information {
  text-align: right;
  color: #9ea9b4;
  font-size: .92rem;
  margin-top: 16px;
}

/******************************
   COOKIES - BANNER & MODAL
******************************/
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: var(--color-bg-light);
  color: var(--color-text-main);
  box-shadow: 0 -2px 18px 0 rgba(35, 251, 244, 0.11);
  padding: 24px 18px 20px 18px;
  z-index: 2200;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 22px;
  border-top: 2.5px solid var(--color-neon);
  animation: cb-slidein .7s;
}
@keyframes cb-slidein { from { transform: translateY(120px); opacity: 0; } to { transform: none; opacity: 1; } }
.cookie-banner p {
  color: #fff;
  font-size: .99rem;
  flex: 1 1 220px;
  margin-bottom: 0;
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 14px;
}
.cookie-banner .btn-primary, 
.cookie-banner .btn-secondary {
  padding: 9px 21px;
  font-size: .97rem;
  border-radius: 18px;
  border: none;
  box-shadow: none;
}
.btn-cookie-settings {
  background: none;
  color: var(--color-secondary);
  border: 1.4px solid var(--color-secondary);
  border-radius: 16px;
  padding: 9px 19px;
  font-weight: 600;
  transition: background .15s, color .15s, border-color .15s;
  font-size: .98rem;
}
.btn-cookie-settings:hover {
  background: var(--color-secondary);
  color: #fff;
  border-color: var(--color-neon);
}

.cookie-modal-overlay {
  display: none;
  position: fixed;
  z-index: 2300;
  inset: 0;
  background: rgba(14,14,37,0.92);
  backdrop-filter: blur(2px);
  justify-content: center;
  align-items: center;
}
.cookie-modal-overlay.open {
  display: flex;
}
.cookie-modal {
  background: #fff;
  color: var(--color-text-dark);
  border-radius: 16px;
  box-shadow: 0 6px 48px 0 rgba(32,93,119,0.22);
  padding: 34px 28px 28px 28px;
  max-width: 400px;
  min-width: 280px;
  border: 2px solid var(--color-neon);
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  animation: cookie-modal-in .5s;
}
@keyframes cookie-modal-in { from { transform: scale(.85); opacity: 0; } to { transform: none; opacity: 1; } }
.cookie-modal h3 {
  color: var(--color-primary);
  font-size: 1.13rem;
  margin-bottom: 5px;
}
.cookie-modal label {
  display: flex;
  align-items: center;
  font-size: 1rem;
  margin-bottom: 9px;
  gap: 8px;
}
.cookie-modal input[type="checkbox"] {
  width: 18px; height: 18px;
  margin-right: 6px;
  accent-color: var(--color-secondary);
}
.cookie-modal .cookie-modal-close {
  position: absolute;
  top: 11px;
  right: 15px;
  font-size: 2rem;
  background: none;
  border: none;
  color: var(--color-primary);
  cursor: pointer;
  z-index: 31;
  transition: color .13s;
}
.cookie-modal .cookie-modal-close:hover {
  color: var(--color-neon);
}
.cookie-modal .modal-actions {
  display: flex;
  gap: 14px;
  margin-top: 12px;
}
/*.modal-actions .btn-primary, .modal-actions .btn-secondary {
  padding: 8px 17px;
  border-radius: 15px;
  font-size: .96rem;
}*/
.cookie-modal .cookie-category-note {
  font-size: .89rem;
  color: var(--color-gray);
  margin-top: 2px;
}

/******************************
   CONTACT / FAQ
******************************/
.contact-information {
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin-bottom: 18px;
}
.contact-information p {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--color-text-main);
  font-size: 1rem;
}
.location-map {
  background: var(--color-bg-light);
  border-radius: 9px;
  padding: 12px 20px;
  margin-top: 10px;
  color: var(--color-secondary);
}
.faq-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 14px;
  margin-bottom: 8px;
}
.faq-list > div {
  background: var(--color-bg-light);
  border-radius: 8px;
  padding: 20px 18px;
  flex: 1 1 240px;
  min-width: 180px;
  border-left: 4px solid var(--color-primary);
  transition: border-color .19s;
}
.faq-list > div:hover {
  border-color: var(--color-neon);
}
/******************************
   SPACING & HIERARCHY
******************************/
section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
section:last-child {
  margin-bottom: 0;
}
.section, .card, .testimonial-card, .team-member, .blog-post-preview, .faq-list > div {
  margin-bottom: 20px;
}
@media (max-width: 992px) {
  .container { max-width: 96vw; }
}
@media (max-width: 768px) {
  header .container {
    flex-direction: row;
    padding-top: 11px;
    padding-bottom: 11px;
    gap: 6px;
  }
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  .footer-logo {
    margin-bottom: 17px;
    margin-right: 0;
  }
  footer .content-wrapper {
    flex-direction: column;
    gap: 14px;
    align-items: flex-start;
  }
  .testimonials-list, .feature-grid, .blog-list, .card-container, .team-list, .faq-list {
    flex-direction: column!important;
    gap: 20px !important;
  }
  .testimonial-card {
    min-width: 0;
  }
  .feature-grid, .team-list {
    flex-direction: column;
    min-width: 0;
  }
  .faq-list {
    min-width: 0;
  }
  .container {
    max-width: 100vw;
    padding: 0 8px;
  }
  section, .section {
    padding: 25px 8px 30px 8px;
    margin-bottom: 40px;
  }
  h1 { font-size: 1.56rem; }
  h2 { font-size: 1.22rem; }
  h3 { font-size: 1.05rem; }
}
@media (max-width: 480px) {
  .btn-primary, .btn-secondary, .btn-cookie-settings {
    padding: 8px 12px !important;
    font-size: .97rem;
    min-width: 0;
  }
  .cookie-banner {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
    padding: 13px 7px 10px 7px;
  }
  .cookie-banner .cookie-actions {
    flex-direction: row;
    gap: 6px;
    width: 100%;
  }
  .cookie-modal {
    min-width: 90vw;
    padding: 18px 4vw;
  }
}
/******************************
   ANIMATIONS & INTERACTIONS
******************************/
a, button, .btn-primary, .btn-secondary, .blog-post-preview, .card, .main-nav a, .team-member, .feature-item, .testimonial-card, .faq-list > div {
  transition: 
    color .16s, background .16s,
    border-color .21s, box-shadow .19s,
    transform .16s;
}

/******************************
   CUSTOM SCROLLBAR (desktop)
******************************/
@media (min-width: 700px) {
  ::-webkit-scrollbar {
    width: 10px;
    background: #18212b;
    border-radius: 10px;
  }
  ::-webkit-scrollbar-thumb {
    background: linear-gradient(120deg,#205D77 13%,#A7C957 77%);
    border-radius: 10px;
  }
}
/* Accessibility: Focus visible states */
a:focus {
  outline: 2px solid var(--color-neon);
  outline-offset: 2px;
}
.btn-primary:focus, .btn-secondary:focus, .btn-cookie-settings:focus {
  box-shadow: 0 0 0 3px var(--color-neon);
}

/******************************
  MISC CLASSES + UTILITIES
******************************/
hr {
  border: none;
  border-top: 1px solid #2b3340;
  margin: 30px 0 20px 0;
}
[data-hide] {
  display: none !important;
}

/******************************
   Z-INDEX
******************************/
.mobile-menu,
.cookie-banner,
.cookie-modal-overlay,
.cookie-modal {
  z-index: 2020;
}
.mobile-menu.open {
  z-index: 2800;
}
.cookie-modal-overlay.open {
  z-index: 3000;
}

/********************************************************
* NO display:grid, grid-* or any column/column-gap below *
********************************************************/
