/* --- CSS RESET & BASE STYLES --- */
html {
  box-sizing: border-box;
  font-size: 100%;
  scroll-behavior: smooth;
}
*, *::before, *::after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  min-height: 100vh;
  font-family: 'Roboto', Arial, sans-serif;
  background: #23324C;
  color: #EEF3F8;
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0.02em;
  -webkit-font-smoothing: antialiased;
}
:root {
  --color-primary: #23324C;
  --color-secondary: #389F8C;
  --color-accent: #EEF3F8;
  --color-neon: #2DE3C2;
  --color-dark: #161F32;
  --color-error: #F44336;
  --transition-fast: 0.18s cubic-bezier(.79,.14,.15,.86);
  --shadow-card: 0 6px 32px 0 rgba(45,227,194,0.11),0 1.5px 6px 0 rgba(35,50,76,0.16);
  --radius: 16px;
  --radius-sm: 8px;
  --box-padding: 32px;
  --box-padding-sm: 20px;
}

/* --- TYPOGRAPHY --- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  color: #EEF3F8;
  line-height: 1.1;
  font-weight: 700;
}
h1 { font-size: 2.5rem; margin-bottom: 24px; letter-spacing: 0.01em; }
h2 { font-size: 2rem; margin-bottom: 20px; }
h3 { font-size: 1.35rem; margin-bottom: 14px; }
h4 { font-size: 1.1rem; margin-bottom: 8px; }
h5, h6 { font-size: 1rem; margin-bottom: 6px; }
p { margin-bottom: 16px; font-size: 1rem; }

strong { color: var(--color-neon); font-weight: 700; }

/* --- CONTAINER & FLEX UTILITIES --- */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  border-radius: var(--radius);
  background: linear-gradient(120deg, #23324C 70%, #1B263B 100%);
  box-shadow: var(--shadow-card);
  position: relative;
}

@media (max-width: 768px) {
  .section {
    padding: 28px 8px;
    margin-bottom: 38px;
  }
}

/* --- FLEXBOX LAYOUTS --- */
.card-container, .feature-grid, .content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card-container { gap: 24px; }
.card {
  margin-bottom: 20px;
  position: relative;
  background: #273a54;
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: var(--box-padding-sm);
  transition: transform .14s, box-shadow .2s;
}
.card:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 8px 40px 0 rgba(45,227,194,0.20),0 3px 12px 0 rgba(35,50,76,0.23);
  border-color: var(--color-neon);
}
.content-grid {
  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: #EEF3F8;
  color: #23324C;
  border-radius: var(--radius-sm);
  box-shadow: 0 2px 14px rgba(35,50,76,.12);
  transition: box-shadow var(--transition-fast), transform .21s;
  border-left: 4px solid var(--color-neon);
}
.testimonial-card p { color: #161F32; font-size: 1.07rem; margin-bottom: 6px; }
.testimonial-card span { color: #389F8C; font-size: .98rem; }
.testimonial-card:hover {
  box-shadow: 0 8px 30px 0 rgba(45,227,194,0.14),0 3px 12px 0 rgba(35,50,76,0.15);
  transform: translateY(-5px) scale(1.01);
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  padding: 20px 24px;
  border-radius: var(--radius-sm);
  border: 1.5px solid #2DE3C2;
  background: #243857;
  margin-bottom: 20px;
}

/* --- HERO / SECTIONS --- */
section {
  margin-bottom: 60px;
  padding: 40px 0 0 0;
}
section:last-child {
  margin-bottom: 0;
}

/* --- LISTS & ICONS --- */
ul, ol {
  margin-left: 1.5em;
  padding-left: 0;
  margin-bottom: 18px;
  list-style: disc inside none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
li {
  padding-left: 0;
  margin-left: 0;
  position: relative;
  font-size: 1rem;
}
ul.feature-grid, ul.solutions-list, ul.contact-details {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 24px;
}
ul.feature-grid li, ul.solutions-list li, ul.contact-details li {
  background: #243857;
  color: #EEF3F8;
  border-radius: var(--radius-sm);
  padding: 20px 18px 18px 20px;
  min-width: 210px;
  flex: 1 1 220px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 2px 10px #15203911;
  transition: border .24s, background .15s;
  border: 1.5px solid transparent;
}
ul.feature-grid li img, ul.solutions-list li img, ul.contact-details li img {
  width: 32px;
  height: 32px;
  margin-right: 10px;
  filter: drop-shadow(0 0 6px #2DE3C2BB);
}
ul.feature-grid li:hover, ul.solutions-list li:hover, ul.contact-details li:hover {
  border-color: var(--color-neon);
  background: #222F43;
}
ul.contact-details {
  gap: 18px;
}

/* --- BUTTONS --- */
.btn-primary, .btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.02em;
  border-radius: var(--radius-sm);
  border: none;
  outline: none;
  cursor: pointer;
  box-shadow: 0 2px 10px #2DE3C266;
  text-decoration: none;
  transition: background var(--transition-fast), color var(--transition-fast), box-shadow .2s, transform .12s;
}
.btn-primary {
  background: var(--color-neon);
  color: var(--color-dark);
  border: 2px solid var(--color-neon);
  box-shadow: 0 0 16px #2DE3C266;
}
.btn-primary:hover, .btn-primary:focus {
  background: #1ff3ac;
  color: #161F32;
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 0 28px #48ffd330;
}
.btn-secondary {
  background: transparent;
  color: var(--color-neon);
  border: 2px solid var(--color-neon);
  margin-left: 8px;
}
.btn-secondary:hover, .btn-secondary:focus {
  background: #243857;
  color: var(--color-accent);
  box-shadow: 0 0 10px #2DE3C288;
}

/* Make sure all links that look like buttons have the style */
nav a.btn-primary {
  margin-left: 20px;
}

/* --- HEADER & NAVIGATION --- */
header {
  width: 100%;
  background: #161F32;
  padding: 0;
  box-shadow: 0 8px 40px rgba(35,50,76,0.15);
  position: sticky;
  top: 0;
  z-index: 50;
}
header .container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 16px 16px 16px;
}
header a img {
  height: 44px;
  width: auto;
}
nav {
  display: flex;
  align-items: center;
  gap: 20px;
}
nav a {
  color: #EEF3F8;
  font-size: 1rem;
  font-family: 'Montserrat', 'Roboto', sans-serif;
  letter-spacing: 0.01em;
  text-decoration: none;
  padding: 8px 0px;
  border-bottom: 2.5px solid transparent;
  transition: border .15s, color .13s;
}
nav a:hover, nav a:focus {
  color: var(--color-neon);
  border-bottom: 2.5px solid var(--color-neon);
}
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2.05rem;
  color: var(--color-neon);
  cursor: pointer;
  margin-left: 18px;
  transition: color .13s;
  padding: 7px 18px; /* better touch target */
}
.mobile-menu-toggle:focus { outline: 2px solid var(--color-neon); }

@media (max-width: 1020px) {
  nav { gap: 13px; }
  .container { padding: 0 6px; }
}

/* --- MOBILE NAVIGATION --- */
@media (max-width: 920px) {
  header nav { display: none; }
  .mobile-menu-toggle { display: inline-block; }
}
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  width: 100vw;
  height: 100vh;
  background: #222F43;
  z-index: 100;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  padding: 0;
  box-shadow: 0 0 0 #0000;
  transform: translateX(100%);
  transition: transform .28s cubic-bezier(.38,.2,.52,1);
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: auto;
  box-shadow: 0 0 120px 0 #23324ca8;
}
.mobile-menu-close {
  border: none;
  background: none;
  color: #fff;
  font-size: 2.3rem;
  padding: 24px 30px 8px 30px;
  cursor: pointer;
  transition: color .15s;
  align-self: flex-end;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: var(--color-neon);
}
.mobile-nav {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
  padding: 14px 34px;
}
.mobile-nav a {
  padding: 14px 0;
  width: 100%;
  border: none;
  border-radius: 6px;
  color: #EEF3F8;
  background: none;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 1.18rem;
  text-decoration: none;
  font-weight: 500;
  letter-spacing: 0.015em;
  transition: background .14s, color .15s;
}
.mobile-nav a.btn-primary {
  margin-left: 0; margin-top: 8px;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--color-neon);
  background: #23324C;
}

/* --- MAIN & SECTION MARGINS --- */
main {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* --- FOOTER --- */
footer {
  background: #161F32;
  color: #EEF3F8;
  padding: 0 0 32px 0;
  border-top: 2px solid #23324C;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 28px 16px 0 16px;
  align-items: center;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 10px;
  justify-content: center;
}
.footer-nav a {
  color: #2DE3C2;
  text-decoration: none;
  font-size: 1.01rem;
  font-family: 'Montserrat', sans-serif;
  letter-spacing: 0.02em;
  transition: text-decoration .15s,color .16s;
}
.footer-nav a:hover, .footer-nav a:focus {
  text-decoration: underline;
  color: #12e0af;
}
.brand-tagline span {
  color: #EEF3F8;
  font-family: 'Montserrat',sans-serif;
  font-weight: 400;
  letter-spacing: 0.01em;
  font-size: 1.07rem;
}
.contact-short-info {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  font-size: 1rem;
  color: #389F8C;
  flex-wrap: wrap;
}
.contact-short-info img {
  width: 22px;
  height: 22px;
  margin-right: 5px;
}

/* --- INFO BOX & CTA SECTIONS --- */
.info-box {
  background: #222F43;
  padding: 19px 22px;
  color: #2DE3C2;
  font-size: 1rem;
  border-radius: 11px;
  margin-top: 17px;
  box-shadow: 0 2px 10px #2DE3C233;
}

/* --- RESPONSIVE DESIGN --- */
@media (max-width: 1000px) {
  .container { max-width: 92vw; }
}
@media (max-width: 768px) {
  .container { padding: 0 4px; }
  .content-wrapper { gap: 12px; }
  h1 { font-size: 1.9rem; }
  h2 { font-size: 1.3rem; }
  nav a.btn-primary { font-size: 1.02rem; padding: 12px 20px; border-radius: 8px; }
}
@media (max-width: 650px) {
  h1 { font-size: 1.3rem; }
  h2 { font-size: 1.07rem; }
  section { margin-bottom: 32px; padding: 16px 0 0 0; }
  ul.feature-grid li, ul.solutions-list li, ul.contact-details li { min-width: 80vw; }
  .footer-nav { gap: 9px; flex-wrap: wrap; }
  .contact-short-info { flex-wrap: wrap; gap: 5px; }
}
@media (max-width: 768px) {
  .card-container, .feature-grid, .content-grid {
    flex-direction: column;
    gap: 16px;
    width: 100%;
  }
  .testimonial-card { padding: 13px; }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
}

/* --- Misc utility classes --- */
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.ml-0 { margin-left: 0 !important; }
.mr-0 { margin-right: 0 !important; }

/* --- MICRO-INTERACTIONS AND EFFECTS --- */
a, button {
  transition: color .16s, background .18s, border .14s, box-shadow .21s, transform .15s;
}
.card, .feature-item, .testimonial-card {
  transition: box-shadow .21s, border .19s, transform .15s;
}

/* --- ACCESSIBILITY: FOCUS VISIBLE --- */
a:focus-visible, button:focus-visible, .btn-primary:focus-visible, .btn-secondary:focus-visible {
  outline: 2.5px solid var(--color-neon);
  outline-offset: 1.5px;
}

/* --- FORMS / SEARCH / INPUT (if present) --- */
input, textarea, select {
  background: #222F43;
  color: #EEF3F8;
  border-radius: 8px;
  border: 1.5px solid #389F8C;
  padding: 10px 14px;
  width: 100%;
  font-size: 1rem;
  margin-bottom: 18px;
  font-family: 'Roboto', Arial, sans-serif;
  transition: border .12s;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--color-neon);
  outline: none;
}

/* --- COOKIE CONSENT BANNER --- */
.cookie-consent-banner {
  position: fixed;
  left: 0; bottom: 0;
  width: 100vw;
  background: #161f32ee;
  color: #EEF3F8;
  z-index: 9000;
  box-shadow: 0 -4px 48px 0 #2DE3C244;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  padding: 23px 38px;
  gap: 24px;
  font-size: 1rem;
  opacity: 1;
  transition: transform .28s cubic-bezier(.5,.21,.29,.99), opacity .19s;
}
.cookie-consent-banner.closed { transform: translateY(120%); opacity: 0; pointer-events: none; }
.cookie-consent-text { max-width: 560px; }
.cookie-btn-group {
  display: flex;
  gap: 13px;
  flex-wrap: wrap;
  align-items: center;
}
.cookie-btn-group .btn-primary, .cookie-btn-group .btn-secondary, .cookie-btn-group .btn-settings {
  font-size: 1rem;
  padding: 12px 23px;
  border-radius: 7px;
}
.cookie-btn-group .btn-settings {
  background: none;
  color: var(--color-neon);
  border: 1.4px solid var(--color-neon);
  cursor: pointer;
  font-weight: 600;
}
.cookie-btn-group .btn-settings:hover, .cookie-btn-group .btn-settings:focus {
  background: #243857;
}

@media (max-width: 780px) {
  .cookie-consent-banner {
    flex-direction: column;
    padding: 20px 6px 18px 8px;
    gap: 20px;
    align-items: flex-start;
  }
  .cookie-btn-group { gap: 9px; }
  .cookie-consent-text { max-width: 99vw; }
}

/* Cookie Preferences Modal */
.cookie-modal {
  position: fixed;
  left: 0; top: 0; width: 100vw; height: 100vh;
  background: rgba(24,32,45, 0.86);
  z-index: 9900;
  display: flex;
  align-items: center;
  justify-content: center;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity .22s, visibility .05s;
}
.cookie-modal.open {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal-content {
  background: #23324C;
  border-radius: var(--radius);
  padding: 32px 32px 18px 32px;
  min-width: 340px;
  max-width: 95vw;
  color: #EEF3F8;
  box-shadow: 0 8px 60px #2DE3C255;
  display: flex;
  flex-direction: column;
  gap: 21px;
  position: relative;
  animation: cookieSlideIn .34s cubic-bezier(.4,1.04,.53,.93);
}
.cookie-modal-close {
  position: absolute;
  right: 18px;
  top: 18px;
  background: none;
  border: none;
  color: #EEF3F8;
  font-size: 1.7rem;
  cursor: pointer;
  transition: color .14s;
  z-index: 20;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  color: var(--color-neon);
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.cookie-category {
  background: #243857;
  border-radius: 8px;
  padding: 13px 14px;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  justify-content: space-between;
}
.cookie-category label {
  font-size: 1rem;
}
.cookie-toggle {
  width: 42px;
  height: 24px;
  background: #23324C;
  border-radius: 12px;
  position: relative;
  display: inline-block;
  cursor: pointer;
  border: 1.5px solid #389F8C;
  transition: background .11s, border .12s;
}
.cookie-toggle input[type="checkbox"] {
  opacity: 0;
  width: 0; height: 0;
  position: absolute;
}
.cookie-toggle-slider {
  position: absolute;
  top: 3px; left: 3px;
  height: 18px; width: 18px;
  background: #EEF3F8;
  border-radius: 50%;
  box-shadow: 0 1px 4px #2DE3C222;
  transition: left .18s;
}
.cookie-toggle input[type="checkbox"]:checked + .cookie-toggle-slider {
  left: 21px;
  background: #2DE3C2;
  box-shadow: 0 0 12px #2DE3C288;
}
/* Essential always enabled */
.cookie-category.essential .cookie-toggle {
  opacity: 0.6;
  pointer-events: none;
}
@keyframes cookieSlideIn {
  0% { transform: translateY(60px) scale(.94); opacity: 0; }
  100% { transform: translateY(0) scale(1); opacity: 1; }
}

/* ----- ACCENTS, DECOR, NEON GLOWS ----- */
h1, h2, h3, .brand-tagline span, .btn-primary, .card, .feature-item {
  text-shadow: 0 1.5px 8px #2DE3C2BB33, 0 0.5px 1px #161F32cc;
}
.feature-item { border: 1.5px solid var(--color-neon); }

/* Neon effect accent for elements */
.neon-accent {
  color: #2DE3C2;
  filter: drop-shadow(0 0 12px #2DE3C266);
}

/* --- MISC --- */
::-webkit-scrollbar { width: 10px; background: #222F43; }
::-webkit-scrollbar-thumb { background: #389F8C; border-radius: 7px; }

/* Hide visually hidden elements */
.visually-hidden { border: 0; clip: rect(0 0 0 0); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; }

/* --- ERROR/ALERT/STATES --- */
.alert, .error { background: #F44336; color: #fff; padding: 12px 21px; border-radius: 6px; margin-bottom: 14px; }
.success { background: #2DE3C2; color: #23324C; padding: 12px 21px; border-radius: 6px; margin-bottom: 14px; }

/* --- ANIMATIONS FOR BUTTON INTERACTION --- */
.btn-primary:active, .btn-secondary:active { transform: scale(0.98); }

/* --- BREADCRUMB, PAGINATION, BADGES (if present) --- */
.breadcrumb {
  display: flex;
  flex-direction: row;
  gap: 10px;
  color: #2DE3C2;
  font-size: 0.99rem;
  margin-bottom: 18px;
}

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