/* 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; color: #1C3556; background: #101726;
}
ol,ul { list-style:none; }
blockquote,q { quotes:none; }
blockquote:before,blockquote:after,q:before,q:after { content:''; content:none; }
table { border-collapse:collapse; border-spacing:0; }
a { text-decoration:none; color:inherit; }
img { display:block; max-width:100%; height:auto; }
input,button,select,textarea { font-family: inherit; font-size: inherit; background: none; border: none; outline: none; }

/* BRAND VARIABLES */
:root {
  --color-primary: #1C3556;   /* Navy blue main brand */
  --color-secondary: #E0E3E8; /* Soft light gray bg */
  --color-accent: #F6C544;    /* Neon yellow accent */
  --color-bg-dark: #101726;   /* Very dark blue bg */
  --color-bg-light: #F8F9FB;  /* Lightest background for cards */
  --color-card: #232B3A;      /* Slightly lighter than bg dark */
  --color-text: #E0E3E8;      /* Light text on dark bg */
  --color-contrast: #101726;  /* Extra dark for high contrast text */
  --shadow-strong: 0 2px 32px 0 rgba(30,88,191,0.10), 0 2px 8px 0 rgba(34,189,255,0.12);
  --shadow-card: 0 6px 24px 0 rgba(30,52,102,0.16);
  --radius: 18px;
  --font-display: 'Montserrat', Arial, Helvetica, sans-serif;
  --font-body: 'Roboto', Arial, Helvetica, sans-serif;
  --transition: all 0.26s cubic-bezier(.7,.2,.3,1);
  --focus-ring: 0 0 0 3px #F6C54477;
}

html {
  font-size: 16px;
}
body {
  font-family: var(--font-body);
  background: var(--color-bg-dark);
  color: var(--color-text);
  min-height: 100vh;
  transition: background 0.4s;
}

/* CONTAINER SYSTEM */
.container {
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0;
}

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

main {
  width: 100%;
  flex: 1 1 auto;
}

/* TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.01em;
  margin-bottom: 12px;
}
h1 {
  font-size: 2.5rem; /* 40px */
  line-height: 1.14;
  color: var(--color-accent);
  text-shadow: 0 1px 18px #F6C54477, 0 3px 6px #00000012;
}
h2 {
  font-size: 2rem; /* 32px */
  line-height: 1.2;
  color: var(--color-accent);
}
h3 {
  font-size: 1.5rem; /* 24px */
  color: var(--color-accent);
}
h4, h5, h6 {
  font-size: 1.125rem; /* 18px */
}
p, ul, ol, li, address {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-text);
  line-height: 1.7;
  margin-bottom: 0;
  letter-spacing: 0.005em;
}
strong,b {
  font-weight: 700;
  letter-spacing: 0.01em;
}


/* BUTTONS AND CTAs */
.btn-primary {
  display: inline-flex;
  align-items: center;
  background: var(--color-primary);
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
  padding: 12px 32px;
  border-radius: var(--radius);
  border: none;
  outline: none;
  box-shadow: 0 2px 16px 0 #0003, 0 2px 6px 0 var(--color-accent);
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  margin-top: 16px;
}
.btn-primary:hover,
.btn-primary:focus {
  background: var(--color-accent);
  color: var(--color-primary);
  box-shadow: 0 8px 28px 2px #F6C54433, 0 3px 12px 0 #1C355666;
}
.btn-primary:active {
  background: #fedc68;
  color: var(--color-primary);
}

/* HEADER + NAVIGATION */
header {
  width: 100%;
  background: #151c2f;
  box-shadow: 0 1px 14px 0 #1C35560b;
  z-index: 170;
  position: relative;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 68px;
}
header img {
  max-height: 42px;
  width: auto;
}
header nav {
  display: flex;
  gap: 18px;
  align-items: center;
}
header nav a {
  color: #E0E3E8;
  font-size: 1rem;
  letter-spacing: 0.01em;
  font-family: var(--font-display);
  padding: 2px 10px;
  border-radius: 6px;
  position: relative;
  transition: color 0.18s, background 0.18s;
}
header nav a:hover,
header nav a:focus {
  background: var(--color-accent);
  color: var(--color-primary);
  outline: none;
}
header .btn-primary {
  margin-top: 0;
}

.mobile-menu-toggle {
  display: none;
  justify-content: center;
  align-items: center;
  font-size: 2rem;
  background: none;
  color: var(--color-accent);
  border: none;
  cursor: pointer;
  margin-left: 16px;
  border-radius: 9px;
  padding: 4px 12px;
  line-height: 1;
  transition: var(--transition);
}
.mobile-menu-toggle:focus {
  box-shadow: var(--focus-ring);
}

/* MOBILE MENU OVERLAY */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #151c2ff6;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 0;
  transform: translateX(-100vw);
  transition: transform 0.38s cubic-bezier(.9,.22,.13,1);
  box-shadow: 0 0 64px 0 #1C355622;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  color: var(--color-accent);
  font-size: 2.6rem;
  border: none;
  align-self: flex-end;
  margin: 32px 32px 0 0;
  cursor: pointer;
  border-radius: 12px;
  transition: background 0.18s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: #353a45;
}
.mobile-nav {
  margin: 42px 0 0 36px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.mobile-nav a {
  color: var(--color-accent);
  font-size: 1.5rem;
  font-family: var(--font-display);
  padding: 6px 0;
  border-radius: 6px;
  transition: background 0.1s, color 0.2s;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  color: #fff;
  background: var(--color-accent);
}

/* HERO SECTIONS */
.hero {
  background: linear-gradient(120deg,#161e33 0%,#232B3A 100%);
  padding: 64px 0 56px 0;
  box-shadow: 0 8px 42px 0 #121B2A17;
}
.hero .container {
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
}
.hero .content-wrapper h1 {
  color: var(--color-accent);
  text-shadow: 0 7px 50px #F6C54444, 0 4px 6px #1c355680;
  margin-bottom: 20px;
}
.hero .content-wrapper p {
  font-size: 1.2rem;
  color: #E0E3E8;
}

/* SECTIONS & SPACING */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
}
section:last-child { margin-bottom: 0; }
.content-wrapper > * + * { margin-top: 8px; }

ul, ol {
  padding-left: 0;
}
ul li, ol li {
  margin-bottom: 16px;
  padding-left: 0;
}
ul li:last-child, ol li:last-child { margin-bottom: 0; }
/* list icon left-sides */
ul li img, ol li img {
  margin-right: 10px;
  height: 1.4em;
  vertical-align: middle;
}

/* CARD CONTAINER / CARDS */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
}
.card {
  background: var(--color-card);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 32px 28px;
  margin-bottom: 20px;
  position: relative;
  color: var(--color-text);
  transition: box-shadow 0.2s, transform 0.2s;
  display: flex;
  flex-direction: column;
  min-width: 258px;
}
.card:hover {
  box-shadow: 0 8px 40px 0 #F6C54433, 0 3px 12px #1c355680;
  transform: translateY(-4px) scale(1.015);
}

/* GRID FLEX CONTAINERS */
.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;
    align-items: stretch;
    gap: 22px;
  }
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
/* testimonials */
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #fff;
  color: #181f33;
  box-shadow: 0 6px 32px #151f332b, 0 2px 8px 0 var(--color-accent);
  border-radius: var(--radius);
  margin-bottom: 24px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
.testimonial-card blockquote {
  font-family: var(--font-display);
  font-size: 1.13rem;
  color: #202b3f;
  margin: 0;
  padding: 0;
  font-weight: 500;
  text-align: center;
}
.testimonial-author {
  font-size: 1rem;
  color: var(--color-primary);
  font-style: italic;
  text-align: center;
}

/* FOR LINKS IN FOOTER & CONTACT */
footer a, .contact-info a {
  color: var(--color-accent);
  transition: color 0.16s;
  text-decoration: underline;
}
footer a:hover, .contact-info a:hover {
  color: #fedc68;
}

/* FOOTER */
footer {
  background: #181f33;
  padding: 48px 0 20px 0;
}
footer .container {
  flex-direction: row;
  align-items: flex-start;
  gap: 24px;
  justify-content: space-between;
  font-size: 0.97rem;
}
footer img {
  height:48px;
  width: auto;
  margin-bottom: 16px;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 11px;
}
footer nav a {
  color: var(--color-accent);
  font-weight: 600;
  font-size: 1rem;
}
footer nav a:hover {
  color: #fff;
  text-decoration: underline;
}
footer div p {
  margin-bottom: 8px;
}

/* BLOG SEARCH */
input[type="search"] {
  width: 100%;
  max-width: 380px;
  padding: 10px 18px;
  border-radius: 12px;
  background: #161e33;
  border: 2px solid #232B3A;
  color: #F6C544;
  box-shadow: 0 2px 8px #1C355688;
  font-size: 1.1rem;
  outline: none;
  margin-bottom: 22px;
  transition: border 0.16s, box-shadow 0.18s;
}
input[type="search"]:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px #F6C54477, 0 2px 12px #F6C54410;
}

/* CONTACT */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 12px;
}
.contact-info img {
  height: 22px;
  width: 22px;
  margin-right: 8px;
  vertical-align: middle;
}
.contact-info a {
  color: var(--color-accent);
  font-weight: 700;
  text-decoration: underline;
}
.contact-info a:hover {
  color: #fedc68;
}

address {
  font-style: normal;
  margin-bottom: 7px;
  color: var(--color-text);
}

/* HERO BUTTON ANIMATION */
.btn-primary::after {
  content: '';
  position: absolute;
  left: 8px; right: 8px; top: 8px; bottom: 8px;
  border-radius: var(--radius);
  border: 1.4px solid var(--color-accent);
  opacity: 0.18;
  z-index: -1;
  transition: var(--transition);
  pointer-events: none;
}
.btn-primary:hover::after {
  opacity: 0.42;
}

/* ANIMATIONS */
@keyframes fadein-btm {
  0% { opacity: 0; transform: translateY(32px) scale(.97); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}
section, .hero, .card, .testimonial-card, .btn-primary {
  animation: fadein-btm .55s cubic-bezier(.77,-0.13,.24,1.12);
}

/* RESPONSIVENESS */
@media (max-width: 1120px) {
  .container {
    max-width: 95vw;
  }
  .footer .container {
    flex-direction: column;
    align-items: flex-start;
  }
}
@media (max-width: 900px) {
  header .container, footer .container {
    flex-direction: column;
    gap: 17px;
    align-items: flex-start;
  }
  .content-grid, .card-container {
    flex-direction: column;
    gap: 20px;
  }
}
@media (max-width: 768px) {
  html { font-size: 15px; }
  header .container {
    flex-direction: row;
    gap: 8px;
    align-items: center;
  }
  header nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  section {
    padding: 30px 6vw;
    margin-bottom: 44px;
  }
  .hero {
    padding: 44px 0 36px 0;
  }
  .testimonial-card {
    padding: 14px;
  }
  footer .container {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }
}
@media (max-width: 540px) {
  html { font-size: 14px; }
  .container { padding: 0 6px; }
  section { padding: 22px 2vw; }
  .hero {padding: 26px 0 16px 0;}
  .btn-primary{font-size:1rem;padding:10px 18px;}
}
/* VISUAL HIERARCHY & COLORS */
section, .card, .testimonial-card {
  box-shadow: 0 2px 30px 0 #1b233b22;
}
.content-wrapper h2 {
  margin-bottom: 12px;
  margin-top:0;
  color: var(--color-accent);
}

/* COOKIES BANNER */
.cookie-consent-banner {
  position: fixed;
  left: 0; right: 0;
  bottom: 0;
  width: 100vw;
  background: linear-gradient(90deg, #232B3A 50%, #1C3556 100%);
  color: #fff;
  z-index: 1300;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 32px;
  box-shadow: 0 -4px 34px 0 #1C355699;
  font-size: 1rem;
  animation: fadein-btm .6s cubic-bezier(.6,.01,.29,1.13);
}
.cookie-consent-banner p {
  color: #fff;
  margin: 0;
  font-size: 1rem;
  flex: 1 0 180px;
}
.cookie-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}
.cookie-btn,
.cookie-settings-btn {
  background: var(--color-accent);
  color: var(--color-primary);
  font-family: var(--font-display);
  padding: 8px 20px;
  border-radius: 9px;
  border: none;
  font-weight: 600;
  font-size: 1rem;
  margin-right: 3px;
  transition: var(--transition);
  box-shadow: 0 2px 8px #F6C54422;
  cursor: pointer;
}
.cookie-btn:hover, .cookie-settings-btn:hover {
  background: #fedc68;
  color: #141F38;
}
.cookie-btn.reject {
  background: #232B3A;
  color: #fff;
  border: 1.5px solid var(--color-accent);
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #353f55;
  color: var(--color-accent);
}

@media (max-width: 600px) {
  .cookie-consent-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 20px 12px;
    font-size: 0.95rem;
  }
  .cookie-actions {
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
  }
}
/* COOKIE MODAL */
.cookie-modal {
  position: fixed;
  left:0; top:0; right:0; bottom:0;
  width: 100vw;
  height: 100vh;
  background: rgba(25, 34, 51, .78);
  z-index: 1800;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadein-btm .5s cubic-bezier(.65,.01,.13,1);
}
.cookie-modal-content {
  background: #fff;
  color: #11192f;
  border-radius: 18px;
  box-shadow: 0 8px 64px 0 #1C3556cc, 0 2px 12px #F6C54455;
  padding: 36px 32px 24px 32px;
  min-width: 340px;
  max-width: 95vw;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
}
.cookie-modal-content h2 {
  color: var(--color-primary);
  font-size: 1.6rem;
  margin-bottom: 14px;
  font-family: var(--font-display);
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 10px;
}
.cookie-category-label {
  font-size: 1rem;
  font-weight: 600;
}
.cookie-category-toggle {
  width: 48px; height: 26px;
  border-radius: 26px;
  background: #e0e3e8;
  position: relative;
  cursor: pointer;
  transition: background .18s;
  border: 1px solid #b6bed4;
}
.cookie-category-toggle[aria-checked="true"] {
  background: var(--color-accent);
  border-color: var(--color-accent);
}
.cookie-category-toggle .toggle-slider {
  position: absolute;
  left: 2px; top: 2px;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: #fff;
  transition: transform .18s cubic-bezier(.6,.2,.3,1.12);
  box-shadow: 0 1px 5px #c3c6cfcc;
}
.cookie-category-toggle[aria-checked="true"] .toggle-slider {
  transform: translateX(22px);
  background: var(--color-primary);
}
.cookie-modal-actions {
  display: flex;
  gap: 11px;
  justify-content: flex-end;
}
.cookie-modal-close {
  position: absolute;
  right: 12px;
  top: 12px;
  background: none;
  border: none;
  font-size: 2.1rem;
  color: var(--color-accent);
  border-radius: 9px;
  padding: 0 6px;
  cursor: pointer;
  transition: background 0.18s;
}
.cookie-modal-close:hover {
  background: #eceeee;
}

/* Focus indicators */
a:focus, button:focus, .btn-primary:focus, .cookie-btn:focus, .cookie-settings-btn:focus, .mobile-menu-close:focus, .mobile-menu-toggle:focus, .cookie-modal-close:focus {
  outline: none;
  box-shadow: var(--focus-ring);
}

/* UTILITY CLASSES */
.d-none { display: none !important; }
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.text-center { text-align: center; }
.w-100 { width: 100%; }

/* --- FLEXBOX LAYOUTS: MANDATORY PATTERNS --- */
.section { margin-bottom: 60px; padding: 40px 20px; }
.card-container { display: flex; flex-wrap: wrap; gap: 24px; }
.card { margin-bottom: 20px; position: relative; }
.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; }
.feature-item { display: flex; flex-direction: column; align-items: flex-start; gap: 15px; }

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

/* SCROLL & MICROINTERACTIONS */
html {
  scroll-behavior: smooth;
}
::-webkit-scrollbar {
  width: 10px;
  background: #e0e3e8;
}
::-webkit-scrollbar-thumb {
  background: #232b3a;
  border-radius: 6px;
}
::-webkit-scrollbar-thumb:hover { background: #1C3556; }

/* NEON ACCENT */
h1, h2, h3, .btn-primary {
  text-shadow: 0 0 10px rgba(246,197,68,0.18);
}

/* NEON CARD BORDER */
.card, .testimonial-card {
  border: 1.5px solid transparent;
  border-image: linear-gradient(90deg,#F6C544 0,#181f33 100%) 1;
}
.card:hover, .testimonial-card:hover {
  border: 2.5px solid var(--color-accent);
  box-shadow: 0 6px 40px 2px #F6C54455, 0 0px 20px 0 #1C355655;
}

/* Anim on hover for cards */
.card, .testimonial-card {
  transition: box-shadow .20s, border .17s, transform .20s;
}

/* --- END --- */