/* ============================== */
/* CSS RESET & BASELINE           */
/* ============================== */
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;
}

html {
  scroll-behavior: smooth;
}

body {
  line-height: 1.5;
  background: #101828;
  color: #f3f6f9;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

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

*, *::before, *::after {
  box-sizing: inherit;
}

a {
  color: #73B14E;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #F7F9FA;
  text-shadow: 0 0 4px #73B14E;
  outline: none;
}

ul, ol {
  padding-left: 32px;
  margin-bottom: 24px;
}
li {
  margin-bottom: 12px;
}

blockquote {
  border-left: 4px solid #73B14E;
  padding-left: 16px;
  margin: 24px 0;
  color: #a5d963;
  font-style: italic;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 18px;
  background: rgba(39, 67, 135, 0.07);
}

strong {
  font-weight: bold;
  color: #8ad7ff;
}
em {
  color: #fffced;
}

code {
  font-family: 'Fira Mono', monospace;
}

hr {
  border: none;
  height: 1px;
  background: #254387;
  margin: 32px 0;
}

/* ===================== */
/* BRAND COLORS VARS     */
/* ===================== */
:root {
  --color-primary: #254387;
  --color-primary-dark: #18264a;
  --color-secondary: #73B14E;
  --color-accent: #F7F9FA;
  --color-bg: #101828;
  --color-surface: #18264a;
  --color-border: #263B59;
  --color-card: #16234c;
  --color-cta: #193894;
  --color-cta-hover: #3eeafc;
  --color-error: #ff4949;
  --color-text: #F7F9FA;
  --color-muted: #7e92b9;
  --shadow: 0 2px 16px rgba(30,70,161,0.17);
  --neon-green: #73ffde;
  --neon-blue: #3eeafc;
  --neon-purple: #8F7CFF;
  --radius: 18px;
  --radius-sm: 11px;
}

/* ===================== */
/* TYPOGRAPHY            */
/* ===================== */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@600;700&family=Roboto:wght@400;500&display=swap');

body, 
p,
ul,
ol,
li {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-weight: 400;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: #F7F9FA;
}
h1 {
  font-size: 2.6rem;
  line-height: 1.15;
  margin-bottom: 16px;
}
h2 {
  font-size: 2rem;
  line-height: 1.18;
  margin-bottom: 15px;
  color: #3eeafc;
  text-shadow:0 1px 12px rgba(62,234,252,0.10); /* neon effect */
}
h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
  color: #73B14E;
}
.hero h1,
.section h1 {
  font-size: 2.4rem;
  color: var(--color-accent);
  text-shadow: 0 0 18px #3eeafc88, 0 0 2px #73B14E44;
}

.hero-subline {
  font-size: 1.3rem;
  color: #d2e6f4;
  margin-bottom: 30px;
}

p,
.section p,
.content-wrapper p {
  font-size: 1.08rem;
  line-height: 1.7;
  color: #daecfb;
}

.footer-nav a, .footer-contact p {
  font-size: 1rem;
  color: #85b3e8;
}

/* Typography scale: 14/16/18/24/32/48px */

@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.4rem; }
  h3 { font-size: 1.1rem; }
  .hero h1, .section h1 { font-size: 1.5rem; }
  .hero-subline { font-size: 1rem; }
}

/* ============================== */
/* MAIN LAYOUT & ALIGNMENT        */
/* ============================== */
.container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

.content-wrapper {
  margin: 0 auto;
  width: 100%;
  max-width: 900px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.card {
  background: var(--color-card);
  margin-bottom: 20px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  position: relative;
  padding: 32px 24px;
  transition: transform 0.18s cubic-bezier(.7,.3,.35,.94), box-shadow 0.22s;
  border: 1px solid var(--color-border);
}
.card:hover {
  box-shadow: 0 0 0 3px var(--neon-blue), 0 4px 24px #25438799;
  transform: translateY(-4px) scale(1.025);
  z-index: 2;
}

.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;
}

@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    gap: 20px;
    align-items: stretch;
  }
}

.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  margin-bottom: 20px;
  background: var(--color-accent);
  color: #18264a;
  border-radius: var(--radius-sm);
  box-shadow: 0 2px 18px #2bc3fa18;
  border-left: 4px solid #3eeafc;
  font-size: 1.08rem;
  transition: box-shadow 0.2s;
}

.testimonial-card:hover {
  box-shadow: 0 0 0 4px #3eeafc, 0 6px 42px #62e2d922;
}
.testimonial-card p { color: #24386a; margin-bottom:0; }
.testimonial-card span {
  font-style: italic;
  color: #4971ba;
  font-size: 1em;
  margin-left: 10px;
}

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

/* ============================== */
/* HEADER & NAVIGATION            */
/* ============================== */
header {
  width: 100%;
  background: linear-gradient(90deg, #172a56 0%, #203f7f 100%);
  box-shadow: 0 2px 14px #14324a1b;
  position: sticky;
  top: 0;
  z-index: 1000;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 10px;
  padding-bottom: 10px;
}

.logo-link img {
  height: 42px;
  width: auto;
  display: block;
  filter: drop-shadow(0 2px 6px #3eeafc22);
}

nav {
  display: flex;
  gap: 18px;
  align-items: center;
}
nav a {
  color: #f3f6f9;
  font-weight: 500;
  font-size: 1rem;
  padding: 6px 12px;
  border-radius: 6px;
  transition: background 0.14s, color 0.18s;
}
nav a:hover,
nav a:focus {
  background: #73B14E44;
  color: #3eeafc;
  outline: none;
}
.CTA, .cta-primary, .cta-secondary {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  display: inline-block;
  border: none;
  border-radius: var(--radius-sm);
  padding: 12px 28px;
  cursor: pointer;
  font-size: 1.13rem;
  text-align: center;
  text-decoration: none;
  transition: background 0.18s, color 0.18s, box-shadow 0.18s;
  box-shadow: 0 0 0 0 #3eeafc00;
}
.cta-primary {
  background: var(--color-primary);
  color: var(--color-accent);
  border-radius: var(--radius-sm);
  text-shadow: 0 0 10px #3eeafc55;
  box-shadow: 0 2px 18px #25438766;
}
.cta-primary:hover, .cta-primary:focus {
  background: var(--neon-blue);
  color: #254387;
  box-shadow: 0 0 0 3px #8F7CFF33, 0 2px 32px #8F7CFF11;
}

.cta-secondary {
  background: none;
  color: var(--color-secondary);
  border: 1.5px solid var(--color-secondary);
}
.cta-secondary:hover {
  background: #73B14E;
  color: #18264a;
  border: 1.5px solid #97f26b;
  box-shadow: 0 2px 20px #73B14E33;
}

/* Hide nav and show burger on mobile */
.mobile-menu-toggle {
  display: none;
  font-size: 2rem;
  background: none;
  border: none;
  color: var(--color-accent);
  cursor: pointer;
  margin-left: 16px;
  padding: 5px 9px;
  border-radius: 10px;
  transition: background 0.2s;
  z-index: 1101;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #3eeafc22;
}

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

/* =============== */
/* Mobile Nav      */
/* =============== */
.mobile-menu {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: linear-gradient(114deg, #101828 70%, #253871 100%);
  z-index: 2000;
  transform: translateX(100%);
  transition: transform 0.38s cubic-bezier(.57,1.43,.6,1), box-shadow 0.18s;
  box-shadow: 0 6px 40px #25438777;
  overflow-y: auto;
  justify-content: flex-start;
  align-items: flex-end;
}
.mobile-menu.active {
  transform: translateX(0%);
}
.mobile-menu-close {
  background: none;
  border: none;
  font-size: 2.5rem;
  color: #73B14E;
  margin: 20px 30px 0 0;
  align-self: flex-end;
  cursor: pointer;
  transition: color 0.15s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #3eeafc;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 38px 28px;
  align-items: flex-start;
}
.mobile-nav a {
  font-size: 1.18rem;
  color: #f3f6f9;
  padding: 8px 0;
  border-radius: 8px;
  transition: background 0.17s, color 0.16s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #73B14E;
  background: #3eeafc1e;
}
@media (min-width: 950px) {
  .mobile-menu { display: none !important; }
}


/* ============================== */
/* HERO SECTIONS                  */
/* ============================== */
.hero {
  background: linear-gradient(100deg, #192d5d 55%, #1848a5 85%, #21245a 100%);
  box-shadow: 0 4px 28px #16234c44;
  padding: 56px 0 34px 0;
  /* neon accent bar */
  position: relative;
}
.hero:before {
  content: '';
  display: block;
  position: absolute;
  left: 38px;
  top: 0; bottom: 0;
  width: 5px;
  background: linear-gradient(180deg,#73B14E 10%,#3eeafc 85%,#73B14E08 100%);
  border-radius: 18px;
  opacity: 0.44;
}
@media (max-width: 700px) {
  .hero:before { display: none; }
  .hero {padding: 35px 0 18px 0;}
}

/* ============================== */
/* LISTS, CARDS, ARTICLES          */
/* ============================== */
.blog-list {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-bottom: 24px;
  justify-content: flex-start;
}
.blog-list article {
  flex: 1 1 260px;
  background: var(--color-card);
  padding: 24px 20px 15px 20px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  border: 1.5px solid #3eeafc22;
  transition: box-shadow 0.16s, transform 0.19s;
}
.blog-list article:hover {
  box-shadow: 0 0 0 3px var(--neon-blue), 0 2px 31px #3eeafc44;
  transform: translateY(-4px) scale(1.033);
}
.blog-list h3 {
  color: var(--color-secondary);
  margin-bottom: 8px;
}
.blog-filters {
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--neon-blue);
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  margin-bottom: 10px;
}

.text-section {
  margin-bottom: 20px;
  color: #bfe4fd;
}

/* ============================== */
/* FOOTER                         */
/* ============================== */
footer {
  background: linear-gradient(90deg, #142345 0%, #1b2039 97%);
  color: #b5cce9;
  padding: 42px 0 14px 0;
  position:relative;
  border-top: 3px solid #3eeafc33;
}
footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}
footer .content-wrapper {
  width: 100%;
  max-width: 950px;
  display: flex;
  flex-direction: row;
  gap: 22px;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  padding-bottom: 0;
  margin-bottom: 0;
}
.footer-logo img {
  height: 39px;
  filter: drop-shadow(0 2px 10px #3eeafc39);
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.footer-nav a {
  color: #8edbf0;
  padding: 3px 0;
  font-size: 15px;
  border-radius: 4px;
  transition: background 0.16s, color 0.18s;
  text-align: left;
}
.footer-nav a:hover,
.footer-nav a:focus {
  background: #3eeafc14;
  color: #73B14E;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 14px;
}
.footer-contact strong { color:#3eeafc }
@media (max-width: 950px) {
  footer .content-wrapper {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
}


/* ============================== */
/* BUTTONS & CTAs                 */
/* ============================== */
button, .cta-primary, .cta-secondary {
  outline: none;
  box-shadow: none;
}
button:focus-visible, .cta-primary:focus-visible, .cta-secondary:focus-visible {
  outline:2px solid #3eeafc;
}

/* ============================== */
/* COOKIES BANNER & MODALS        */
/* ============================== */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  background: linear-gradient(90deg,#254387 75%,#3eeafc 100%);
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 4000;
  box-shadow: 0 -2px 18px #25438729;
  padding: 19px 10px 22px 10px;
  font-size: 1em;
  animation: cookieFadeIn 0.5s cubic-bezier(.79,0,.78,1) 1;
  gap: 28px;
}
@keyframes cookieFadeIn {
  0% { transform: translateY(60px); opacity: 0;}
  100% { transform: translateY(0); opacity:1;}
}
.cookie-banner-buttons {
  display: flex;
  flex-direction: row;
  gap: 12px;
  margin-left: 16px;
}
.cookie-banner button {
  border: none;
  border-radius: 9px;
  padding: 9px 21px;
  font-size: 1rem;
  background: var(--color-accent);
  color: #254387;
  font-weight: 600;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  box-shadow: 0 1px 6px #25438722;
  margin-inline: 2px;
  cursor:pointer;
  transition: background 0.17s, color 0.18s;
}
.cookie-banner button.accept {
  background: var(--color-secondary);
  color: #142345;
}
.cookie-banner button.reject {
  background: #fc7b7b;
  color:#18264a;
}
.cookie-banner button.settings {
  background: #f8f9fc;
  color: #142345;
}
.cookie-banner button:hover, .cookie-banner button:focus {
  background: #3eeafc;
  color: #142345;
}

@media (max-width:688px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    font-size: 0.98em;
    gap: 10px;
  }
  .cookie-banner-buttons{margin-left:0;}
}

.cookie-modal-overlay {
  position: fixed;
  top:0;left:0;width:100vw;height:100vh;
  background: rgba(24,38,74,0.94);
  z-index: 4100;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.3s;
  opacity:0;
  pointer-events:none;
}
.cookie-modal-overlay.active {
  opacity:1;
  pointer-events: all;
}
.cookie-modal {
  background: var(--color-card);
  color: #fff;
  padding: 34px 24px;
  border-radius: var(--radius);
  box-shadow: 0 4px 40px #3eeafc66;
  max-width: 420px;
  width: 95vw;
  display: flex;
  flex-direction: column;
  gap: 19px;
  position: relative;
  animation: modalIn 0.35s cubic-bezier(.93,0,1,1.34) 1;
}
@keyframes modalIn {
  0% { transform: translateY(30px) scale(0.94); opacity:0;}
  100% { transform: translateY(0) scale(1); opacity:1;}
}
.cookie-modal-close {
  position: absolute;
  top: 12px;
  right: 18px;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #3eeafc;
  cursor: pointer;
}
.cookie-modal h2 {
  font-size: 1.36rem;
  margin-bottom:9px;
  color: #3eeafc;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  color: #baceff;
}
.cookie-category label {
  font-size: 1em;
  font-weight: 400;
  flex: 1;
}
.cookie-toggle {
  width: 34px;
  height: 17px;
  border-radius: 20px;
  background: #3eeafc17;
  position: relative;
  display: inline-block;
  vertical-align: middle;
  margin-left: 7px;
}
.cookie-toggle input[type="checkbox"] {
  display: none;
}
.cookie-toggle .slider {
  position: absolute;
  left: 2px;
  top: 2px;
  height: 13px;
  width: 13px;
  border-radius: 99px;
  background: #3eeafc;
  transition: left 0.18s;
}
.cookie-toggle input:checked + .slider {
  left: 19px;
  background: #73B14E;
}

.cookie-modal-actions {
  margin-top: 19px;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}
.cookie-modal button {
  border: none;
  background: #3eeafc;
  color: #253982;
  font-weight: 600;
  padding: 9px 23px;
  border-radius: 9px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  margin-inline:2px;
  cursor:pointer;
  transition: background 0.18s;
}
.cookie-modal button.cancel {
  background: #ddd;
  color: #254387;
}
.cookie-modal button.save {
  background: #73B14E;
  color: #101828;
}
.cookie-modal button:hover, .cookie-modal button:focus {
  background: #3eeafc;
  color: #18264a;
}


/* ============================== */
/* RESPONSIVE                     */
/* ============================== */
@media (max-width: 998px) {
  .container { max-width: 98vw; }
  .content-wrapper { max-width:90vw; }
}
@media (max-width: 630px) {
  .content-wrapper { padding-left: 3px; padding-right:3px;}
}
@media (max-width: 500px) {
  .section {margin-bottom: 38px;padding:24px 6px;}
  .card {padding:16px 8px;}
}
@media (max-width: 400px) {
  .footer-logo img {height:29px;}
  .hero, .section {padding-left: 2px; padding-right:2px;}
}

/* ============================== */
/* ANIMATIONS & MICRO-INTERACTIONS*/
/* ============================== */
.card, .blog-list article, .testimonial-card {
  transition: box-shadow 0.19s, transform 0.18s;
}
.CTA, .cta-primary, .cta-secondary, .footer-nav a {
  transition: background 0.19s, color 0.16s, box-shadow 0.2s;
}

/* ============================== */
/* MISC VISUALS                   */
/* ============================== */
::-webkit-scrollbar {
  width: 8px;
  background: #2543872a;
}
::-webkit-scrollbar-thumb {
  background: #25438760;
  border-radius: 10px;
}

::-moz-selection { background: #3eeafc99; color: #18264a; }
::selection { background: #3eeafc99; color: #18264a; }

/* ============================== */
/* ACCENTUATION & NEON EFFECTS    */
/* ============================== */
h2, h1, .cta-primary, .card:hover, .testimonial-card {
  text-shadow: 0 2px 12px #3eeafc3a;
}
.cta-primary, .cta-secondary {
  box-shadow: 0 0 0 2px #3eeafc24;
}

/* ============================== */
/* UTILITIES                      */
/* ============================== */
.mt-2 { margin-top: 20px; }
.mb-2 { margin-bottom:20px; }
.mt-1 { margin-top: 10px; }
.mb-1 { margin-bottom: 10px; }

/* ============================== */
/* VISIBILITY (for cookie modal)  */
/* ============================== */
.hide { display:none !important; }

/* ============================== */
/* PRINT STYLES (Optional)        */
/* ============================== */
@media print {
  nav, .mobile-menu, .mobile-menu-toggle, .cookie-banner, .cookie-modal-overlay { display:none !important;}
  body {background:#fff;color:#18264a;}
}
