/* CSS 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, 
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;
}
body {
  line-height: 1.5;
  background: #101926;
  color: #F4F7FA;
  font-family: 'Open Sans', Arial, sans-serif;
  min-height: 100vh;
}
*, *:before, *:after {
  box-sizing: inherit;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
ul, ol {
  margin-left: 2em;
}
a {
  color: #1C774C;
  text-decoration: none;
  transition: color .2s;
}
a:hover, a:focus {
  color: #23E6C0;
  outline: none;
}

/* ===================== BRAND FONTS ======================== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  color: #FFFFFF;
  letter-spacing: .01em;
}
h1 { font-size: 2.5rem; margin-bottom: 24px; }
h2 { font-size: 2rem; margin-bottom: 20px; }
h3 { font-size: 1.4rem; margin-bottom: 16px; }
h4 { font-size: 1.2rem; margin-bottom: 14px; }
p, li, dd {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  color: #F4F7FA;
  letter-spacing: .01em;
  line-height: 1.7;
}
.subheadline {
  font-size: 1.2rem;
  font-weight: 500;
  color: #79DAB9;
  margin-bottom: 32px;
}

/* ===================== LAYOUT GENERAL ====================== */
body {
  background: linear-gradient(120deg, #132036 0%, #24496C 70%, #10322C 100%);
}
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 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;
}

/* ===================== HEADER & NAV ======================= */
header {
  width: 100%;
  background: #10322C;
  box-shadow: 0 2px 12px rgba(36,73,108,0.10), 0 0.5px 0px #1C774C inset;
  position: relative;
  z-index: 1000;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
}
header img {
  height: 46px;
  margin-right: 32px;
}
.main-nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 28px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  color: #F4F7FA;
  font-weight: 600;
  letter-spacing: .03em;
  padding: 8px 7px;
  border-radius: 4px;
  transition: background .2s, color .2s;
  position: relative;
}
.main-nav a:hover, .main-nav a:focus {
  color: #79DAB9;
  background: rgba(36,73,108,0.14);
}
.cta-button.primary {
  background: linear-gradient(90deg, #1C774C 10%, #197C4B 90%);
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  padding: 11px 36px;
  border-radius: 40px;
  box-shadow: 0 1px 12px 0 rgba(32,197,134,0.12);
  border: none;
  cursor: pointer;
  margin-left: 20px;
  text-shadow: 0 0 8px #24a96c44;
  transition: background .2s, color .2s, box-shadow .2s;
  outline: none;
  position: relative;
  z-index: 10;
}
.cta-button.primary:hover, .cta-button.primary:focus {
  background: linear-gradient(90deg, #23E6C0 15%, #197C4B 100%);
  color: #10322C;
  box-shadow: 0 2px 20px rgba(32,197,134,0.20);
  text-shadow: 0 0 0px transparent;
}

/* Mobile Burger button */
.mobile-menu-toggle {
  display: none;
  background: #24496C;
  color: #23E6C0;
  font-size: 2rem;
  border: none;
  padding: 8px 14px;
  margin-left: 14px;
  border-radius: 7px;
  cursor: pointer;
  transition: background .2s, color .2s;
  z-index: 1011;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #1C774C;
  color: #fff;
}

/* MOBILE MENU */
.mobile-menu {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(18,32,54,0.96);
  transform: translateX(-105%);
  transition: transform .4s cubic-bezier(0.83, 0, 0.17, 1);
  z-index: 2000;
  box-shadow: 4px 0 20px rgba(28,119,76,0.10);
  padding: 0 0 0 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #23E6C0;
  font-size: 2rem;
  margin: 27px 0 16px 18px;
  cursor: pointer;
  transition: color .22s;
  align-self: flex-end;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #fff;
}
.mobile-nav {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  padding: 18px 28px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #F4F7FA;
  font-size: 1.18rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 12px 0;
  border-radius: 4px;
  width: 100%;
  transition: background .17s, color .2s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #197C4B;
  background: #172f3f;
}

/* Show/hide on mobile */
@media (max-width: 1024px) {
  .main-nav {
    display: none;
  }
  .cta-button.primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (min-width: 1025px) {
  .mobile-menu {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: none;
  }
}

/* ===================== HERO & MAJOR SECTIONS ================== */
.hero {
  padding: 64px 0 48px 0;
  background: linear-gradient(120deg, #24496C 0%, #1C774C 100%);
  box-shadow: 0 6px 24px rgba(28,119,76,0.05);
  margin-bottom: 48px;
}
.hero .container {
  flex-direction: column;
  align-items: center;
  gap: 0;
}
.hero .content-wrapper {
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}

/* ===================== SECTIONS & FLEXBOX PATTERNS ============ */
.features {
  width: 100%;
  margin-bottom: 60px;
  padding: 40px 0;
  background: linear-gradient(90deg, #132036 60%, #1C774C 100%);
}
.features .container {
  gap: 0;
}
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 10px;
}
.feature-item {
  background: #16314B;
  border-radius: 16px;
  box-shadow: 0 2px 14px 0 rgba(28,119,76,0.08);
  padding: 32px 20px;
  min-width: 240px;
  max-width: 320px;
  flex: 1 1 240px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  transition: box-shadow .18s, transform .18s;
  margin-bottom: 20px;
  border: 1.8px solid #1C774C33;
}
.feature-item img {
  max-width: 44px;
  filter: drop-shadow(0 0 7px #23E6C0DD);
}
.feature-item h3 {
  color: #23E6C0;
  margin-bottom: 0px;
  font-size: 1.18rem;
  font-family: 'Montserrat', Arial, sans-serif;
  letter-spacing: 0.01em;
}
.feature-item:hover, .feature-item:focus-within {
  box-shadow: 0 4px 28px 0 #12916c80;
  transform: translateY(-4px) scale(1.03);
  border-color: #23E6C0;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #162435;
  border-radius: 13px;
  box-shadow: 0 2px 10px 0 rgba(36,73,108,0.11);
  padding: 28px 22px;
  margin-bottom: 20px;
  position: relative;
  transition: box-shadow .18s, transform .18s;
  border: 1.5px solid #197C4B22;
  display: flex;
  flex-direction: column;
}
.card:hover {
  box-shadow: 0 6px 24px #1c774c41;
  transform: scale(1.02);
}
.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 {
  background: #F4F7FA;
  color: #24496C;
  border-radius: 14px;
  box-shadow: 0 2px 16px 0 rgba(36,73,108,0.12);
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  margin-bottom: 20px;
  transition: box-shadow .16s;
  border: 1.4px solid #23E6C044;
}
.testimonial-card:hover {
  box-shadow: 0 4px 24px #1c774c38;
}
.testimonial-card .author {
  font-weight: 700;
  color: #197C4B;
  font-size: 1.06em;
  margin-top: 8px;
}

/* ===================== FOOTER ======================= */
footer {
  background: #132036;
  color: #c8e0ec;
  padding: 28px 0 18px 0;
}
.footer-nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 16px;
  font-size: 0.99rem;
  margin-bottom: 18px;
  flex-wrap: wrap;
}
.footer-nav a {
  color: #79DAB9;
  padding: 3px 7px;
  transition: color .20s, background .16s;
  border-radius: 3px;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #fff;
  background: #23E6C0BA;
  text-decoration: underline;
}
.contact-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  font-size: 0.97rem;
}

/* ===================== MODALS & COOKIE BANNER ================== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #132036;
  box-shadow: 0 -2px 24px #24496C88;
  color: #F4F7FA;
  padding: 22px 20px 18px 20px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  z-index: 3000;
  gap: 24px;
  animation: cookieFadeIn .7s cubic-bezier(.7,0,.23,1);
}
@keyframes cookieFadeIn {
  0% { opacity: 0; transform: translateY(24px); }
  80% { opacity: 1; }
  100% { opacity: 1; transform: translateY(0); }
}
.cookie-banner p {
  font-size: 1rem;
  color: #F4F7FA;
  margin-bottom: 0;
  margin-right: 24px;
  flex: 2 1 72%;
}
.cookie-actions {
  display: flex;
  flex-direction: row;
  gap: 16px;
  align-items: center;
}
.cookie-btn {
  background: #23E6C0;
  color: #132036;
  border: none;
  border-radius: 22px;
  font-size: 0.96rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: .02em;
  padding: 8px 26px;
  cursor: pointer;
  box-shadow: 0 1px 10px 0 #23E6C044;
  margin: 0;
  transition: background .15s, color .19s;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #197C4B;
  color: #fff;
}
.cookie-btn.settings {
  background: #24496C;
  color: #f3fcf2;
  border: 1.5px solid #23E6C0;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: #23E6C0;
  color: #24496C;
}

.cookie-modal-backdrop {
  position: fixed;
  top:0; left:0; width:100vw; height:100vh;
  background: rgba(17,33,54,0.86);
  z-index: 4000;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: popup-in .4s;
}
@keyframes popup-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.cookie-modal {
  background: #132036;
  color: #F4F7FA;
  padding: 38px 28px 28px 28px;
  border-radius: 19px;
  min-width: clamp(290px, 94vw, 400px);
  max-width: 420px;
  box-shadow: 0 4px 52px #23E6C044;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}
.cookie-modal h2 {
  font-size: 1.28rem;
  color: #23E6C0;
  font-family: 'Montserrat', Arial, sans-serif;
  margin-bottom: 9px;
}
.cookie-category {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 13px;
  width: 100%;
}
.cookie-category label {
  font-size: 1.04em;
}
.cookie-toggle {
  appearance: none;
  width: 40px;
  height: 22px;
  background: #24496C;
  border-radius: 12px;
  position: relative;
  outline: none;
  cursor: pointer;
  transition: background .22s;
}
.cookie-toggle:checked {
  background: #23E6C0;
}
.cookie-toggle:before {
  content: "";
  display: block;
  position: absolute;
  left: 4px;
  top: 3px;
  width: 16px;
  height: 16px;
  background: #fff;
  border-radius: 50%;
  transition: left .22s;
}
.cookie-toggle:checked:before {
  left: 20px;
  background: #24496C;
}
.cookie-essential {
  color: #999;
  font-style: italic;
  margin-left: 14px;
  font-size: 0.96em;
}
.cookie-modal .modal-actions {
  margin-top: 22px;
  width: 100%;
  display: flex;
  flex-direction: row;
  gap: 14px;
  justify-content: flex-end;
}

/* ===================== FAQ Section ====================== */
.faq {
  background: #132036;
  border-radius: 14px;
  box-shadow: 0 2px 16px 0 rgba(36,73,108,0.07);
  margin-bottom: 60px;
  padding: 40px 20px;
}
.faq dl {
  width: 100%;
}
.faq dt {
  font-family: 'Montserrat', Arial, sans-serif;
  margin-top: 22px;
  font-weight: bold;
  color: #23E6C0;
  font-size: 1.05em;
}
.faq dd {
  margin-left: 20px;
  margin-bottom: 10px;
  color: #F4F7FA;
  font-size: 1em;
}

/* ===================== TEXT BLOCKS, UL, OL ================ */
.text-section {
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.text-section ul, .text-section ol {
  margin-bottom: 6px;
}
.text-section li {
  font-size: 1rem;
  margin-bottom: 7px;
  color: #F4F7FA;
  padding-left: 0.1em;
}
.text-section strong {
  color: #1C774C;
  font-weight: 600;
}
.text-section img {
  margin-right: 13px;
  vertical-align: middle;
  width: 1.2em;
  display: inline-block;
}

/* ===================== UTILITY ============================ */
.mt-2 { margin-top: 12px; }
.mt-4 { margin-top: 24px; }
.mb-2 { margin-bottom: 12px; }
.mb-4 { margin-bottom: 24px; }
.gap-row {
  display: flex;
  gap: 18px;
}

/* ===================== BUTTONS ============================ */
button, .button, .cta-button {
  outline: none;
  border: none;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 28px;
  cursor: pointer;
  transition: background .18s, color .17s, box-shadow .16s;
}
.secondary-btn, .button.secondary {
  background: linear-gradient(90deg, #F4F7FA 0%, #c8e0ec 100%);
  color: #24496C;
  border: 1.5px solid #24496C27;
  box-shadow: 0 1px 10px 0 #1c774c22;
  padding: 8px 24px;
  font-size:0.98rem;
}
.secondary-btn:hover, .button.secondary:focus {
  background: #197C4B;
  color: #fff;
}

/* ===================== INPUTS & FORMS ===================== */
input, textarea, select {
  font-family: 'Open Sans', Arial, sans-serif;
  background: #F4F7FA;
  color: #24496C;
  border: 1.4px solid #197C4B33;
  border-radius: 8px;
  font-size: 1em;
  padding: 10px 14px;
  margin-bottom: 17px;
}
input:focus, textarea:focus, select:focus {
  border-color: #23E6C0;
  outline: none;
  background: #fff;
}

/* ===================== MEDIA QUERIES ==================== */
@media (max-width: 900px) {
  .container {
    max-width: 98vw;
    padding: 0 10px;
  }
  .footer-nav {
    gap: 9px;
    flex-wrap: wrap;
  }
  .features .container, .content-wrapper, .feature-grid {
    flex-direction: column !important;
    gap: 24px;
  }
  .feature-grid {
    align-items: stretch;
  }
}
@media (max-width: 768px) {
  h1 { font-size: 2.1rem; }
  h2 { font-size: 1.45rem; }
  .section, .faq {
    padding: 30px 7px;
  }
  .hero {
    padding: 44px 0 32px 0;
  }
  .footer-nav { font-size: 0.85rem; }
  .container {
    padding: 0 5px;
  }
  .text-image-section, .card-container, .content-grid, .features .container, .feature-grid {
    flex-direction: column !important;
    gap: 20px !important;
  }
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 600px) {
  .footer-nav, .contact-footer {
    align-items: flex-start;
    text-align: left;
  }
  .feature-item, .card {
    max-width: 100%;
    min-width: unset;
    width: 100%;
    padding: 21px 10px;
  }
  .cookie-banner {
    flex-direction: column;
    text-align: left;
    gap: 14px;
    padding: 18px 7px 13px 7px;
  }
}

/* ===================== TRANSITIONS, ANIMATIONS & MICRO INTERACTIONS ============== */
.cta-button, .feature-item, .cookie-btn, .secondary-btn, .card, .testimonial-card {
  transition: background 0.19s, color 0.19s, box-shadow 0.15s, transform 0.14s;
}

/* NEON GLOW/HOVER for Tech-Futuristic Accents */
.cta-button.primary {
  box-shadow: 0 0 8px 0 #23E6C0cc, 0 2px 24px #23E6C033;
}
.cta-button.primary:hover, .cta-button.primary:focus {
  box-shadow: 0 0 30px 0 #23E6C0cc, 0 10px 32px #1c774c38;
}
.feature-item h3, .faq dt {
  text-shadow: 0 0 10px #23E6C077;
}

/* ===================== ACCESSIBILITY & FOCUS STYLES ========== */
a, button, .cta-button, .cookie-btn {
  outline: none;
}
a:focus, .cta-button:focus, .cookie-btn:focus, .mobile-menu-close:focus {
  box-shadow: 0 0 0 2px #23E6C0, 0 0 4px #162435;
}

/* ===================== MISCELLANEOUS ======================== */
::-webkit-scrollbar {
  width: 8px;
  background: #1C774C11;
}
::-webkit-scrollbar-thumb {
  background: #1C774C44;
  border-radius: 4px;
}

/* Hide scroll when mobile menu open */
body.mobile-menu-open {
  overflow: hidden;
}

/* =================== END ===================== */
