/* ================================== */
/* =======  CSS RESET + NORMAL ====== */
/* ================================== */
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;
}
html {
  scroll-behavior: smooth;
  background: #F4F7FA;
  -webkit-tap-highlight-color: rgba(0,0,0,0.05);
}
body {
  line-height: 1.5;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  background: #F4F7FA;
  color: #052456;
  font-size: 16px;
  min-height: 100vh;
}
ul, ol {
  list-style: none;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}
a {
  color: #052456;
  text-decoration: none;
  transition: color 0.2s;
}
a:focus,
a:hover {
  color: #93C01F;
  outline: none;
}
img {
  max-width: 100%;
  display: block;
  border: 0;
}
h1, h2, h3, h4 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: #052456;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 24px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 24px;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}
h4 {
  font-size: 1.1rem;
  margin-bottom: 10px;
}
p, ul, li, span, strong {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-weight: 400;
  font-size: 1rem;
  color: #052456;
  margin-bottom: 10px;
}
p:last-child {
  margin-bottom: 0;
}
strong {
  font-weight: 600;
}
blockquote {
  font-style: italic;
  background: #fff;
  border-left: 5px solid #93C01F;
  padding: 18px 20px;
  margin-bottom: 0;
  margin-top: 0;
  color: #222;
  font-size: 1.1rem;
}

/* =============================== */
/*        LAYOUT PATTERNS          */
/* =============================== */
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 16px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
}
.content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin-bottom: 0;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 2px 14px rgba(9,47,143,0.10);
  overflow: hidden;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 28px 22px;
}
.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;
}
.text-section {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  width: 100%;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding: 24px 26px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 8px 36px rgba(9,47,143,0.12),0 2px 4px rgba(147,192,31,0.10);
  margin: 0 0 28px 0;
  min-width: 220px;
  max-width: 430px;
}
.testimonial-card .testimonial-author {
  font-size: 0.94rem;
  font-style: normal;
  margin-top: 10px;
  font-weight: 700;
  color: #052456;
  opacity: 0.85;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* Grid for feature cards (always flex!) */
.feature_grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: flex-start;
  align-items: stretch;
}
.feature_grid > div {
  background: #fff;
  border-radius: 20px;
  padding: 32px 22px;
  box-shadow: 0 2px 14px rgba(9,47,143,0.09);
  min-width: 245px;
  max-width: 350px;
  flex: 1 1 270px;
  transition: transform 0.17s cubic-bezier(.59,.34,.52,1.24), box-shadow 0.26s;
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
}
.feature_grid > div:hover {
  transform: translateY(-6px) scale(1.04);
  box-shadow: 0 10px 36px 0 rgba(81,181,255,.10), 0 2px 24px rgba(9,47,143,0.15);
}
.feature_grid img {
  width: 48px;
  height: 48px;
  margin-bottom: 13px;
}
.service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: flex-start;
}
.service-list > div {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 2px 14px rgba(9,47,143,0.08);
  min-width: 220px;
  max-width: 320px;
  flex: 1 1 250px;
  padding: 28px 22px 18px 22px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  margin-bottom: 24px;
  transition: transform 0.16s cubic-bezier(.69,.4,.52,1.34), box-shadow 0.28s;
}
.service-list > div:hover {
  transform: translateY(-5px) scale(1.03);
  box-shadow: 0 10px 36px 0 rgba(147,192,31,0.13), 0 2px 22px rgba(9,47,143,0.07);
}
.price {
  color: #93C01F;
  font-size: 1.1rem;
  font-weight: bold;
  margin-top: 8px;
}

/* =============== */
/*  PRIMARY BUTTON */
/* =============== */
.primary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #93C01F;
  color: #052456;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.01em;
  border: none;
  border-radius: 999px;
  padding: 15px 36px;
  margin-top: 8px;
  box-shadow: 0 2px 10px rgba(147,192,31,0.17);
  cursor: pointer;
  transition: background 0.16s, box-shadow 0.22s, color 0.13s, transform 0.16s;
}
.primary-btn:focus,
.primary-btn:hover {
  background: #052456;
  color: #fff;
  box-shadow: 0 8px 34px rgba(9,47,143,0.07),0 3px 16px rgba(147,192,31,0.15);
  transform: translateY(-2px) scale(1.02);
  outline: none;
}

/* =============================== */
/*          NAVIGATION BAR         */
/* =============================== */
header {
  background: #fff;
  box-shadow: 0 2px 12px rgba(5,36,86,0.03);
  position: sticky;
  top: 0;
  z-index: 1500;
}
.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0 14px 0;
  gap: 24px;
}
.logo img {
  height: 38px;
  width: auto;
  display: block;
}
nav {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}
nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: #052456;
  padding: 7px 16px;
  border-radius: 8px;
  transition: background 0.15s, color 0.16s;
  position: relative;
}
nav a:not(.primary-btn):focus,
nav a:not(.primary-btn):hover {
  background: #93C01F;
  color: #fff;
}
nav a.primary-btn {
  margin-left: 15px;
}

/* Hide mobile elements by default on desktop */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  color: #052456;
  cursor: pointer;
  border-radius: 8px;
  transition: background 0.15s;
  z-index: 1202;
  padding: 5px 11px;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #93C01F;
  color: #fff;
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: #fff;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 3000;
  box-shadow: 0 0 30px rgba(5, 36, 86, 0.16);
  transform: translateX(-110%);
  transition: transform 0.33s cubic-bezier(.44,1.2,.46,1), box-shadow 0.22s;
  padding: 0;
  opacity: 0;
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #052456;
  font-size: 2rem;
  align-self: flex-end;
  margin: 28px 28px 0 0;
  padding: 0 8px;
  cursor: pointer;
  border-radius: 8px;
  transition: background 0.13s, color 0.15s;
  z-index: 4002;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  background: #93C01F;
  color: #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
  margin: 40px 0 0 32px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 1.32rem;
  color: #052456;
  padding: 10px 0;
  border-radius: 7px;
  transition: background 0.13s, color 0.15s, padding 0.10s;
  display: inline-block;
  min-width: 48px;
}
.mobile-nav a:focus,
.mobile-nav a:hover {
  background: #93C01F;
  color: #fff;
  padding-left: 8px;
}

/* ======================== */
/*          FOOTER          */
/* ======================== */
footer {
  background: #052456;
  color: #fff;
  padding: 56px 0 34px 0;
  animation: fadein-up 0.6s cubic-bezier(.33,1.23,.32,1.08);
}
.footer-container {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 42px;
}
.footer-container .logo img {
  height: 42px;
  filter: brightness(100%) contrast(125%);
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 9px;
}
footer nav a {
  color: #fff;
  padding: 3.5px 0;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  opacity: 0.91;
  border-radius: 3px;
}
footer nav a:focus, footer nav a:hover {
  background: #93C01F;
  color: #052456;
  opacity: 1;
  padding-left: 7px;
}
.footer-contact {
  font-size: 0.97rem;
  opacity: 0.93;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  line-height: 1.7;
}
.footer-contact p {
  margin-bottom: 8px;
  color: #fff;
}

/* ==========  HERO SECTION =========== */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

/* =============================== */
/*        COOKIE CONSENT BANNER    */
/* =============================== */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  background: #fff;
  color: #052456;
  box-shadow: 0 -1px 18px rgba(9,47,143,0.15), 0 -2px 6px rgba(81,181,255,.05);
  padding: 22px 16px 24px 16px;
  z-index: 5000;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  font-size: 1rem;
  animation: slidein-up 0.6s cubic-bezier(.33,1.19,.33,1.01);
}
.cookie-banner__content {
  flex: 1 1 240px;
}
.cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
}
.cookie-btn, .cookie-banner button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  border: none;
  border-radius: 999px;
  background: #93C01F;
  color: #052456;
  padding: 11px 24px;
  margin: 0;
  cursor: pointer;
  transition: background 0.16s, color 0.13s, transform 0.12s;
  box-shadow: 0 2px 10px rgba(147,192,31,0.16);
}
.cookie-btn:focus, .cookie-btn:hover {
  background: #052456;
  color: #fff;
  transform: scale(1.04);
}
.cookie-btn--settings {
  background: #052456;
  color: #fff;
  margin-left: 2px;
}
.cookie-btn--settings:hover {
  background: #93C01F;
  color: #052456;
}

/* --- Cookie Modal --- */
.cookie-modal {
  position: fixed;
  top: 0; left: 0; height: 100vh; width: 100vw;
  background: rgba(5,36,86,0.23);
  z-index: 5500;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  pointer-events: auto;
  transition: opacity 0.23s;
}
.cookie-modal.hidden {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal__window {
  background: #fff;
  border-radius: 20px;
  width: 90vw;
  max-width: 400px;
  padding: 34px 30px 30px 30px;
  box-shadow: 0 10px 42px rgba(9,47,143,0.17);
  animation: popin 0.3s cubic-bezier(.54,1.63,.6,.92);
}
.cookie-modal__header {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 17px;
  color: #052456;
}
.cookie-modal__options {
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin-bottom: 22px;
}
.cookie-toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.cookie-toggle-label {
  font-size: 1rem;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  color: #052456;
  font-weight: 600;
}
.cookie-toggle-switch {
  width: 38px;
  height: 24px;
  background: #f1f8e5;
  border-radius: 14px;
  position: relative;
  cursor: pointer;
  transition: background 0.16s;
}
.cookie-toggle-switch[aria-checked="true"] {
  background: #93C01F;
}
.cookie-toggle-dot {
  position: absolute;
  top: 2px;
  left: 3px;
  width: 19px;
  height: 19px;
  background: #fff;
  border-radius: 50%;
  transition: left 0.13s, background 0.16s;
}
.cookie-toggle-switch[aria-checked="true"] .cookie-toggle-dot {
  left: 16px;
  background: #052456;
}
.cookie-modal__actions {
  display: flex;
  justify-content: flex-end;
  gap: 16px;
}

/* =============================== */
/*     VISUAL ELEMENTS & CARDS     */
/* =============================== */
.card, .feature_grid > div, .service-list > div {
  border: 2.5px solid #F4F7FA;
  box-sizing: border-box;
}
.card:hover, .feature_grid > div:hover, .service-list > div:hover {
  border-color: #93C01F;
}

.fakemap {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1.5px solid #05245625;
  border-radius: 18px;
  min-width: 220px;
  min-height: 120px;
  box-shadow: 0 2px 20px rgba(5,36,86,0.06);
  margin-top: 13px;
  margin-bottom: 2px;
}

/* =============================== */
/*      DYNAMIC EFFECTS            */
/* =============================== */
@keyframes fadein-up {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: none; }
}
@keyframes popin {
  from { scale: 0.88; opacity: 0; }
  to   { scale: 1;   opacity: 1; }
}
@keyframes slidein-up {
  from { opacity: 0; transform: translateY(65px); }
  to   { opacity: 1; transform: none; }
}

/* =============================== */
/*          RESPONSIVENESS         */
/* =============================== */
@media (max-width: 1100px) {
  .container { max-width: 960px; }
  .feature_grid > div, .service-list > div { min-width: 180px; }
}
@media (max-width: 900px) {
  .container { max-width: 768px; }
  .footer-container { flex-direction: column; align-items: flex-start; gap: 22px; }
  .nav-container { flex-wrap: wrap; gap: 12px; }
}
@media (max-width: 768px) {
  .container {
    max-width: 100%;
    padding: 0 10px;
  }
  .nav-container nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  section {
    padding: 32px 7px;
    margin-bottom: 44px;
  }
  .content-wrapper, .feature_grid, .service-list {
    flex-direction: column;
    gap: 18px;
    align-items: stretch;
  }
  .feature_grid > div, .service-list > div {
    min-width: unset;
    max-width: unset;
    width: 100%;
  }
  .testimonial-card {
    max-width: unset;
    width: 100%;
    padding: 17px 10px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
}
@media (max-width: 540px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
  .footer-container { gap: 12px; padding: 0; }
  .section, section { padding: 19px 1px 22px 1px; }
  .cookie-modal__window { padding: 18px 7px 16px 7px; }
  .mobile-nav { margin: 18px 0 0 10px; }
  .testimonial-card { padding: 13px 7px; }
  .feature_grid > div, .service-list > div { padding: 20px 8px 14px 8px; }
}

/* Ensuring all interactive elements have enough touch target */
button, .primary-btn, .mobile-menu-toggle, .mobile-menu-close, .cookie-btn {
  min-height: 44px;
  min-width: 44px;
}

/* ============  UTILITIES  ============= */
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.gap-0 { gap: 0 !important; }

/* ========== SPACING GUARANTEES ======== */
.section, section { margin-bottom: 60px; padding: 40px 20px; }
.card-container, .content-grid { gap: 20px; }
.card { margin-bottom: 20px; }
.text-image-section { align-items: center; gap: 30px; }
.testimonial-card { gap: 20px; padding: 20px; }
.feature-item { gap: 15px; }

/* =======  ELECTRIC, ENERGETIC ACCENTS ====== */
::-webkit-selection { background: #93C01F; color: #fff; }
::-moz-selection { background: #93C01F; color: #fff; }
::selection { background: #93C01F; color: #fff; }

.primary-btn, .cookie-btn {
  box-shadow: 0 0 0 0 #93C01F, 0 2px 16px 0 rgba(147,192,31,0.14);
  background: linear-gradient(94deg, #93C01F 80%, #F4F7FA 100%); /* fallback; still solid for compatibility */
  color: #052456;
  border: none;
}

/* ==== POLISHING BOLD FONTS FOR ENERGY ==== */
h1, h2, h3, h4, nav a {
  text-transform: none;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 800;
  letter-spacing: -0.01em;
}

/* ========  MISC FIXES ======== */
section:last-child { margin-bottom: 0; }
footer { margin-top: 0; }

/* ===================================== */
/*          END OF STYLE.CSS            */
/* ===================================== */
