/* ================================================================  
   CSS RESET & NORMALIZE – Mobile-first Foundations
================================================================== */
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 {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}
body {
  line-height: 1.6;
  background: #21465A;
  color: #E1EAED;
  font-family: 'Roboto', Arial, sans-serif;
  min-height: 100vh;
  letter-spacing: 0.01em;
  overflow-x: hidden;
}
*, *:before, *:after {
  box-sizing: inherit;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #A9C969;
  text-decoration: none;
  cursor: pointer;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #E1EAED;
}
ul, ol {
  margin: 0 0 1.5em 1.5em;
  padding: 0;
}
li {
  margin-bottom: 0.5em;
}
strong {
  font-weight: 700;
}
table {
  border-collapse: collapse;
  width: 100%;
  margin-bottom: 32px;
  background: rgba(33,70,90,0.7);
  border-radius: 16px;
  overflow: hidden;
}
th, td {
  padding: 16px 12px;
  text-align: left;
}
th {
  background: #295870;
  color: #A9C969;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 18px;
  letter-spacing: 0.04em;
}
td {
  border-bottom: 1px solid #2F637F;
  font-size: 16px;
}
tbody tr:last-child td {
  border-bottom: none;
}

/* =============================
   Variables (Fallbacks included)
   ============================= */
:root {
  --color-primary: #21465A;
  --color-primary-dark: #162c3a;
  --color-secondary: #E1EAED;
  --color-accent: #A9C969;
  --color-bg: #295870; /* For deeper backgrounds */
  --color-footer-bg: #213044;
  --color-card-bg: #1b2b36;
  --color-shadow: rgba(169, 201, 105, 0.12);
  --color-link-hover: #A9C969;
  --font-display: 'Montserrat', Arial, Helvetica, sans-serif;
  --font-body: 'Roboto', Arial, Helvetica, sans-serif;
}

/* =========================================================  
   BODY BG (Tech Futuristic - gradient effect via angle fade)
=========================================================== */
body {
  background: linear-gradient(135deg, #21465A 0%, #295870 80%, #162c3a 100%);
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--color-secondary);
}

/* =========================================================  
   LAYOUT: Containers & Utility Flex Classes
=========================================================== */
.container {
  width: 100%;
  max-width: 1160px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

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

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--color-card-bg);
  border-radius: 18px;
  box-shadow: 0 6px 36px var(--color-shadow);
  padding: 32px 24px;
  margin-bottom: 20px;
  position: relative;
  transition: transform 0.25s, box-shadow 0.25s;
}
.card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 10px 40px 0 rgba(169,201,105, 0.24);
}

.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;
  background: #fff;
  color: #21465A;
  border-radius: 16px;
  padding: 20px 24px;
  margin-bottom: 24px;
  box-shadow: 0 2px 16px 0 rgba(41, 88, 112, 0.15);
  font-size: 17px;
  position: relative;
  min-width: 220px;
  max-width: 540px;
  width: 100%;
}
.testimonial-card strong {
  color: #295870;
}
.testimonial-card p {
  font-size: 1em;
  margin-bottom: 0.5em;
  letter-spacing: 0.01em;
  font-style: italic;
}
.testimonial-card span {
  font-size: 0.98em;
  opacity: 0.92;
}

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

.further-steps {
  margin: 14px 0 0 0;
  font-size: 1.1em;
}

.text-section {
  margin-bottom: 24px;
}

/* =========================================================  
   TYPOGRAPHY: Tech Futuristic Hierarchy
=========================================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--color-accent);
  margin-bottom: 10px;
  line-height: 1.14;
  text-shadow: 0 1px 24px rgba(169,201,105, 0.10);
}
h1 {
  font-size: 2.35rem;
  margin-bottom: 18px;
  color: #fff;
}
h2 {
  font-size: 1.75rem;
}
h3 {
  font-size: 1.33rem;
}

p, ul, ol, table, li {
  font-family: var(--font-body);
  color: #E1EAED;
  font-size: 1em;
  margin-bottom: 0.4em;
}
ul, ol {
  margin-bottom: 1.2em;
}
li {
  line-height: 1.7;
}

blockquote {
  font-style: italic;
  border-left: 4px solid var(--color-accent);
  padding-left: 16px;
  color: #bdda91;
  margin-bottom: 30px;
}

/* Tables refined for brand style */
table {
  background: #1b2b36;
  border-radius: 16px;
  color: #E1EAED;
}
th {
  background: #213044;
  color: var(--color-accent);
  font-family: var(--font-display);
  font-size: 17px;
}
td {
  color: #E1EAED;
  border-bottom: 1px solid #295870;
}

/* =========================================================
   BUTTONS: Tech Futuristic Neon Ghost/Fill
========================================================= */
.cta-button, button, .cookie-btn {
  display: inline-block;
  background: linear-gradient(90deg, var(--color-accent) 0%, #e0ffc9 100%);
  color: #21465A;
  font-family: var(--font-display);
  font-weight: 600;
  padding: 12px 32px;
  border-radius: 24px;
  border: none;
  font-size: 1.09em;
  letter-spacing: 0.04em;
  box-shadow: 0 2px 16px 0 rgba(169, 201, 105, 0.20);
  transition: background 0.3s, color 0.2s, box-shadow 0.18s, transform 0.15s;
  cursor: pointer;
  margin-top: 8px;
  margin-bottom: 8px;
  outline: none;
  text-align: center;
}
.cta-button:hover, .cta-button:focus, button:hover, button:focus, .cookie-btn:hover, .cookie-btn:focus {
  background: linear-gradient(90deg,#abf27c 0%, var(--color-accent) 100%);
  color: #162c3a;
  box-shadow: 0 4px 24px 2px #a9c96971, 0 0 0 2px #A9C969;
  transform: scale(1.045);
}

button {
  font-family: var(--font-display);
  background: #A9C969;
  color: #21465A;
  border: none;
  border-radius: 24px;
  padding: 10px 24px;
}

/* Main nav CTA button in header */
header .cta-button {
  margin-left: 20px;
  margin-right: 0;
}

/* =========================================================  
   HEADER, NAVIGATION & LOGO 
=========================================================== */
header {
  width: 100%;
  background: rgba(33, 70, 90, 0.98);
  box-shadow: 0 1px 16px 0 rgba(41, 88, 112, 0.08);
  position: sticky;
  top: 0;
  z-index: 99;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  padding-bottom: 18px;
  gap: 24px;
}

header img {
  height: 44px;
  width: auto;
  margin-right: 26px;
}

.main-nav {
  display: flex;
  flex-direction: row;
  gap: 20px;
}
.main-nav a {
  font-family: var(--font-display);
  color: #E1EAED;
  font-weight: 500;
  font-size: 1em;
  padding: 5px 10px;
  border-radius: 6px;
  transition: background 0.17s, color 0.19s;
}
.main-nav a:hover, .main-nav a:focus, .main-nav a.active {
  background: #2b686c;
  color: var(--color-accent);
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #A9C969;
  font-size: 2.3em;
  margin-left: 18px;
  transition: color 0.2s, background 0.18s;
  z-index: 101;
  padding: 4px 10px;
  border-radius: 8px;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  color: #E1EAED;
  background: rgba(41, 200, 105, 0.12);
}

/* =========================================================  
   HERO & SECTION LAYOUTS
=========================================================== */
.hero {
  background: linear-gradient(100deg, #295870 70%, #1b2b36 100%);
  min-height: 44vh;
  display: flex;
  align-items: center;
  padding: 56px 0 38px 0;
  box-shadow: 0 24px 60px 0 rgba(41,88,112,0.10);
}
.hero .container {
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 40px;
}
.hero .content-wrapper {
  gap: 18px;
  align-items: flex-start;
}
.hero h1 {
  color: #fff;
  text-shadow: 0 4px 30px #a9c96940;
  font-size: 2.3em;
}
.hero p {
  font-size: 1.18em;
  color: #E1EAED;
}

/* =========================================================  
   FOOTER – Futuristic bottom area
=========================================================== */
footer {
  width: 100%;
  background: var(--color-footer-bg);
  padding: 36px 0 24px 0;
  color: #A9C969;
  box-shadow: 0 -4px 36px 0 #1b2b367d;
  margin-top: 64px;
}
footer .container {
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  gap: 48px;
}
footer img {
  height: 36px;
  margin-bottom: 18px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 160px;
  margin-top: 18px;
}
.footer-nav a {
  color: #A9C969;
  font-size: 1em;
  font-weight: 500;
  transition: color 0.21s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #fff;
}
.footer-contact p, .footer-contact a {
  color: #B9D7EE;
  font-size: 0.97em;
  margin-bottom: 6px;
  text-decoration: none;
}
.footer-contact a:hover, .footer-contact a:focus {
  text-decoration: underline;
  color: #A9C969;
}

/* =========================================================  
   MOBILE MENU (Burger Navigation)
=========================================================== */
.mobile-menu {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw;
  height: 100vh;
  background: #1b2b36;
  background: linear-gradient(120deg, #1b2b36 80%, #295870 100%);
  z-index: 200;
  transform: translateX(-100vw);
  transition: transform 0.42s cubic-bezier(.38,1.32,.46,.97);
  box-shadow: 0 8px 52px 0 #a9c96940;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 38px 26px 40px 26px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #A9C969;
  font-size: 2.2em;
  position: absolute;
  top: 24px;
  right: 26px;
  z-index: 201;
  cursor: pointer;
  outline: none;
  transition: color 0.2s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 32px;
  margin-top: 48px;
  width: 100%;
}
.mobile-nav a {
  color: #A9C969;
  font-family: var(--font-display);
  font-size: 1.22em;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-shadow: 0 1px 14px #a9c96918;
  padding: 12px 0;
  min-width: 160px;
  border-radius: 8px;
  outline: none;
  transition: background 0.2s, color 0.16s;
}
.mobile-nav a:focus, .mobile-nav a:hover {
  background: #a9c96918;
  color: #E1EAED;
}

/* Hide mobile menu by default */
.mobile-menu {
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.open {
  pointer-events: auto;
  opacity: 1;
}

/* Show/hide navigation based on screen size */
@media (max-width: 991px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-block;
  }
}
@media (min-width: 992px) {
  .mobile-menu {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: none;
  }
}

/* =========================================================  
   COOKIE CONSENT BANNER (Tech Futuristic) 
=========================================================== */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  background: linear-gradient(90deg,#1b2b36 25%, #295870 100%);
  color: #E1EAED;
  z-index: 1100;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 28px;
  box-shadow: 0 0 32px 0 #A9C96933, 0 0 0 4px #1b2b3660;
  animation: cookiebanner-slidein 0.5s cubic-bezier(.28,1.19,.82,1.13);
}
@keyframes cookiebanner-slidein {
  0% { transform: translateY(110%); opacity: 0; }
  80% { transform: translateY(-2%); opacity: 1; }
  100% { transform: translateY(0); opacity: 1; }
}
.cookie-banner p {
  font-size: 1em;
  color: #E1EAED;
  flex: 1;
  margin-right: 16px;
}
.cookie-banner .cookie-btn {
  margin-right: 8px;
}
/* Buttons in cookie banner */
.cookie-btn {
  background: linear-gradient(90deg,#A9C969 0%,#e1eaed 100%);
  color: #21465A;
  font-weight: 600;
  border-radius: 20px;
  padding: 10px 26px;
  border: none;
  font-size: 1em;
  margin-left: 10px;
  box-shadow: 0 2px 10px 0 #A9C96918;
  transition: background 0.2s, color 0.18s, box-shadow 0.12s, transform 0.15s;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #A9C969;
  color: #162c3a;
  transform: scale(1.05);
}

/* Modal Preference Popup */
.cookie-modal {
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  z-index: 1200;
  background: rgba(41, 88, 112, 0.85);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  animation: cookiemodal-fadein 0.3s cubic-bezier(.19,1,.22,1);
}
@keyframes cookiemodal-fadein {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal-content {
  background: linear-gradient(110deg, #1b2b36 70%, #295870 100%);
  padding: 40px 32px;
  border-radius: 20px;
  color: #fff;
  min-width: 320px;
  max-width: 98vw;
  box-shadow: 0 4px 60px 0 #A9C96933;
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
}
.cookie-modal-content h3 {
  color: #A9C969;
  font-size: 1.44em;
  margin-bottom: 10px;
}
.cookie-modal-content label {
  font-size: 1.06em;
  color: #e1eaed;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.cookie-category-toggle {
  accent-color: #A9C969;
  width: 22px;
  height: 22px;
  margin-right: 8px;
}
.cookie-modal-content .cookie-btn {
  margin-top: 18px;
  font-size: 1.05em;
}
.cookie-modal-content .close-cookie-modal {
  position: absolute;
  top: 30px;
  right: 40px;
  z-index: 1211;
  color: #A9C969;
  background: none;
  border: none;
  font-size: 2em;
  cursor: pointer;
}
.close-cookie-modal:hover, .close-cookie-modal:focus {
  color: #fff;
}

/* =========================================================  
   ANIMATIONS & MICROINTERACTIONS
=========================================================== */
.card, .testimonial-card {
  transition: transform 0.2s, box-shadow 0.2s;
}
.card:hover, .testimonial-card:hover {
  transform: translateY(-7px) scale(1.025);
  box-shadow: 0 8px 40px 0 #A9C96933;
}
.cta-button, .cookie-btn {
  transition: background 0.18s, box-shadow 0.18s, transform 0.14s;
}

/* Neon effect border on accent elements (if any) */
.neon-border {
  box-shadow: 0 0 8px 2px #A9C969, 0 0 16px 4px #a9c96933;
}

/* =========================================================  
   RESPONSIVE DESIGN - Mobile First
=========================================================== */
@media (max-width: 991px) {
  header .container,
  main .container,
  footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
  .main-nav {
    display: none;
  }
  header .cta-button {
    margin-left: 0;
    margin-top: 16px;
    align-self: stretch;
  }
  .footer-contact {
    margin-top: 12px;
  }
}
@media (max-width: 768px) {
  body {
    font-size: 15px;
  }
  h1 {
    font-size: 1.54rem;
  }
  h2 {
    font-size: 1.22rem;
  }
  .container {
    padding-left: 8px;
    padding-right: 8px;
  }
  .section {
    padding: 28px 8px;
    margin-bottom: 38px;
  }
  .card, .testimonial-card {
    padding: 18px 10px;
    font-size: 1em;
  }
  .content-wrapper {
    gap: 14px;
  }
  .content-grid {
    gap: 14px;
  }
  .hero {
    padding: 24px 0 12px 0;
  }
  .hero h1 {
    font-size: 1.31em;
  }
  .text-image-section {
    flex-direction: column !important;
    gap: 18px;
  }
  .card-container, .feature-item {
    flex-direction: column !important;
    gap: 12px;
  }
  .testimonial-card {
    font-size: 1em;
    padding: 14px 8px;
    min-width: 0;
    max-width: 100%;
    margin-bottom: 16px;
  }
  .footer-contact {
    font-size: 0.96em;
  }
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 14px 7vw 18px 8vw;
  }
  .cookie-banner .cookie-btn {
    width: 100%;
    min-width: 80px;
    margin-left: 0;
    margin-bottom: 6px;
  }
  .cookie-modal-content {
    min-width: 0;
    padding: 18px 10px;
  }
}

/* Hide focus outlines except when keyboard navigating */
:focus:not(:focus-visible) {
  outline: none;
}
:focus-visible {
  outline: 2px solid #A9C969;
  outline-offset: 2px;
}

/* =========================================================  
   PRINT FRIENDLY
=========================================================== */
@media print {
  body, html, .container, main, .section {
    background: #fff !important;
    color: #111 !important;
  }
  nav, header, footer, .mobile-menu, .cookie-banner {
    display: none !important;
  }
  .card, .testimonial-card, .feature-item, .content-grid, .content-wrapper {
    box-shadow: none !important;
    background: transparent !important;
    border: none !important;
    color: #111 !important;
  }
}

/* =========================================================  
   ADDITIONAL: Misc. Styling tweaks
=========================================================== */
::-webkit-scrollbar {
  width: 11px;
  background: #1b2b36;
}
::-webkit-scrollbar-thumb {
  background: #295870;
  border-radius: 8px;
}
::-webkit-scrollbar-thumb:hover {
  background: #A9C969;
}

input, textarea, select {
  font-family: var(--font-body);
  border-radius: 8px;
  border: 1px solid #295870;
  padding: 11px 14px;
  background: #233f56;
  color: #E1EAED;
  font-size: 1em;
  margin-bottom: 12px;
  transition: border 0.16s, box-shadow 0.16s;
}
input:focus, textarea:focus, select:focus {
  border: 1.5px solid #A9C969;
  outline: none;
  box-shadow: 0 0 0 2px #A9C96944;
}

/* For table sort/filter (if any JS implementations, fallback styles) */
.table-sortable th {
  cursor: pointer;
  user-select: none;
}
.table-sortable th:hover {
  color: #fff;
  background: #A9C96933;
}

/* =========================================================  
   END OF STYLES
=========================================================== */
