/* 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, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  box-sizing: border-box;
  vertical-align: baseline;
}
html {
  box-sizing: border-box;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  background: #f5f8fa;
  color: #003b50;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  line-height: 1.6;
  font-size: 16px;
  min-height: 100vh;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #0087e0;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #5cb85c;
  outline: none;
}
ul, ol {
  list-style: none;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  line-height: 1.15;
  color: #003b50;
  margin-bottom: 8px;
}
h1 { font-size: 2.8rem; letter-spacing: -1.5px; color: #1188e2; }
h2 { font-size: 2rem; color: #003b50; }
h3 { font-size: 1.5rem; color: #0087e0; }
strong { font-weight: 700; }
em { font-style: italic; }

/* CONTAINER ------------------------------------------------------ */
.container {
  width: 100%;
  max-width: 1152px;
  margin: 0 auto;
  padding: 0 20px;
}

/* HEADER/NAVIGATION ---------------------------------------------- */
header {
  background: #003b50;
  width: 100%;
  box-shadow: 0 2px 16px 0 rgba(20,76,108,0.11);
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 16px;
}
header a img {
  height: 38px;
  margin-right: 20px;
}
header nav {
  display: flex;
  align-items: center;
  gap: 24px;
}
header nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  font-size: 16px;
  padding: 8px 0;
  position: relative;
  transition: color 0.2s;
}
header nav a:hover,
header nav a:focus {
  color: #5cb85c;
}
.cta-btn {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 16px;
  font-weight: 700;
  padding: 10px 28px;
  border-radius: 28px;
  border: none;
  background: #5cb85c;
  color: #fff;
  box-shadow: 0 4px 18px -6px #2c9857;
  cursor: pointer;
  transition: background 0.15s, box-shadow 0.20s, transform 0.12s;
  margin-left: 12px;
  letter-spacing: 0.8px;
  outline: none;
}
.cta-btn:hover,
.cta-btn:focus {
  background: #1188e2;
  box-shadow: 0 6px 28px -2px #46a8e2;
  transform: translateY(-1px) scale(1.03);
}
.mobile-menu-toggle {
  display: none;
  background: #5cb85c;
  color: #fff;
  border: none;
  border-radius: 50%;
  font-size: 2rem;
  line-height: 1;
  width: 48px;
  height: 48px;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, box-shadow 0.18s;
  margin-left: 12px;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #1188e2;
  color: #ffec3d;
}

/* MOBILE MENU ---------------------------------------------------- */
.mobile-menu {
  position: fixed;
  left: 0;
  top: 0;
  height: 100vh;
  width: 100vw;
  background: #003b50;
  z-index: 1002;
  transform: translateX(-100vw);
  transition: transform 0.36s cubic-bezier(.85,-0.02,.36,1.13);
  display: flex;
  flex-direction: column;
  padding: 0 0 0 0;
  box-shadow: 5px 0 35px -18px #174d6e;
}
.mobile-menu.active {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 2.2rem;
  position: absolute;
  top: 22px;
  right: 28px;
  cursor: pointer;
  z-index: 1010;
  transition: color 0.18s;
  outline: none;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #ffec3d;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin: 80px 0 0 32px;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.5rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  transition: color 0.22s;
  padding: 6px 0;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #5cb85c;
}
/* Only show on mobile */
@media (max-width: 1024px) {
  header nav, .cta-btn {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (max-width: 520px) {
  .mobile-nav {
    margin-left: 14px;
    gap: 18px;
  }
  .mobile-menu-close {
    right: 12px;
    top: 16px;
    font-size: 2rem;
  }
}

/* MAIN LAYOUT ---------------------------------------------------- */
main {
  width: 100%;
  margin-bottom: 60px;
  margin-top: 0;
}
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 18px -4px #003b509c;
  position: relative;
}
/* Remove bg for last cta section on index */
section:last-child .container > .content-wrapper {
  background: #5cb85c;
  color: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 30px -7px #2c9857ee;
}

/* CONTENT WRAPPERS ----------------------------------------------- */
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 10px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 2px 18px -6px #2c57808c;
  padding: 26px 22px;
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: box-shadow 0.18s, transform 0.14s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 6px 28px -3px #1188e2a0;
  transform: translateY(-2px) scale(1.03);
}
.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 cards */
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  background: #ffec3d;
  color: #003b50;
  padding: 20px 28px;
  border-radius: 13px;
  margin-bottom: 24px;
  box-shadow: 0 2px 14px -6px #d4bd32;
  min-width: 220px;
  max-width: 420px;
  font-size: 1.125rem;
  transition: box-shadow 0.18s, transform 0.14s;
}
.testimonial-card p {
  margin-bottom: 8px;
  font-weight: 600;
  color: #003b50;
  font-size: 1.18rem;
}
.testimonial-card span {
  color: #003b50;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  opacity: 0.85;
  font-size: 1rem;
}
.testimonial-card:hover, .testimonial-card:focus {
  box-shadow: 0 6px 28px -3px #f5b542a0;
  transform: scale(1.025);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #e8faf0;
  padding: 19px 18px;
  border-radius: 12px;
  color: #003b50;
}

/* FOOTER --------------------------------------------------------- */
footer {
  background: #003b50;
  color: #fff;
  padding: 0;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.footer-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  padding: 32px 0 0 0;
  border-bottom: 1px solid #2c5780;
}
.footer-top img {
  height: 36px;
  margin-bottom: 10px;
}
.footer-top nav {
  display: flex;
  flex-direction: row;
  gap: 22px;
}
.footer-top nav a {
  color: #ffec3d;
  font-size: 15px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  transition: color 0.18s;
}
.footer-top nav a:hover, .footer-top nav a:focus {
  color: #5cb85c;
}
.footer-bottom {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 38px;
  padding: 32px 0 12px 0;
  font-size: 15px;
  justify-content: space-between;
}
.footer-bottom address {
  font-style: normal;
  color: #f5f8fa;
  opacity: 0.90;
  font-size: 15px;
  margin-bottom: 6px;
}
.footer-bottom address img {
  height: 18px;
  vertical-align: middle;
  margin-right: 3px;
}
.footer-bottom a {
  color: #f5f8fa;
  transition: color 0.15s;
  font-weight: 600;
}
.footer-bottom a:hover {
  color: #ffec3d;
}
.footer-bottom p {
  margin: 2px 0;
  opacity: 0.83;
}

/* TYPOGRAPHY ACCENTS ---------------------------------------------- */
.text-section {
  background: #e8f6ff;
  padding: 28px 24px;
  border-radius: 14px;
  color: #003b50;
  box-shadow: 0 1px 8px -2px #1188e289;
}
.text-section h2, .text-section h3 {
  margin-top: 16px;
  color: #1188e2;
}
.text-section ul, .content-wrapper ul, .content-wrapper ol {
  list-style: disc inside;
  color: #003b50;
  margin: 10px 0 14px 0;
}
.text-section li, .content-wrapper li, .content-wrapper ol li {
  margin-bottom: 10px;
  padding-left: 4px;
  line-height: 1.6;
  font-size: 1rem;
}

/* ICONS ---------------------------------------------------------- */
ul li img, li > img {
  height: 24px;
  width: 24px;
  margin-right: 8px;
  vertical-align: middle;
}

/* TABLES & MISC -------------------------------------------------- */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 22px 0;
}
th, td {
  padding: 12px;
  border-bottom: 1px solid #e0e6ee;
}
th {
  background: #5cb85c;
  color: #fff;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: bold;
}
td {
  background: #fff;
}

/* BUTTONS -------------------------------------------------------- */
button, .btn {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 16px;
  border: none;
  border-radius: 28px;
  padding: 10px 26px;
  color: #fff;
  background: #5cb85c;
  cursor: pointer;
  transition: background 0.16s, color 0.14s, box-shadow 0.15s;
  font-weight: 700;
  letter-spacing: 0.75px;
  margin: 0 8px 0 0;
}
button:hover, button:focus, .btn:hover, .btn:focus {
  background: #1188e2;
  color: #ffec3d;
}

/* SPACING & UTILITIES -------------------------------------------- */
/* MANDATORY FLEXBOX GAPS */
.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; }

/* Responsive spacing */
@media (max-width: 1024px) {
  .container {
    padding: 0 10px;
  }
  section {
    padding: 36px 10px;
  }
}
@media (max-width: 768px) {
  header .container {
    flex-direction: row;
    gap: 8px;
    min-height: 60px;
  }
  .footer-top, .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
  .content-grid, .card-container {
    flex-direction: column;
    gap: 18px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
  section {
    margin-bottom: 36px;
    padding: 28px 6px;
  }
  .text-section {
    padding: 18px 8px;
  }
  .card {
    padding: 16px 8px;
  }
  .testimonial-card {
    padding: 15px 10px;
    font-size: 1rem;
  }
}
@media (max-width: 550px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.3rem; }
  h3 { font-size: 1.08rem; }
  section {
    padding: 16px 2px;
    margin-bottom: 23px;
  }
}

/* HIERARCHY ------------------------------------------------------ */
main h1, main h2, main h3 {
  margin-bottom: 14px;
  text-shadow: 0 3px 14px #1188e218;
  letter-spacing: 0.6px;
}
section h2, .text-section h2 {
  margin-bottom: 8px;
}

/* ANIMATIONS & MICRO-INTERACTIONS ------------------------------- */
a, button, .cta-btn, .card, .testimonial-card {
  transition: background 0.18s, color 0.18s, box-shadow 0.18s, transform 0.16s;
}
ul li::marker, ol li::marker {
  color: #5cb85c;
}

/* COOKIE BANNER -------------------------------------------------- */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: #003b50;
  color: #fff;
  padding: 28px 16px 20px 16px;
  box-shadow: 0 -4px 24px 0 #003b509c;
  z-index: 1004;
  display: flex;
  flex-direction: column;
  gap: 18px;
   align-items: center;
  font-size: 1rem;
  animation: cb-slidein 0.6s cubic-bezier(.9,0,.24,1.16);
}
@keyframes cb-slidein {
  from { transform: translateY(110%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner .btn {
  margin: 0 8px 0 0;
  min-width: 120px;
  text-align: center;
}
.cookie-banner .btn.settings {
  background: #1188e2;
  color: #fff;
}
.cookie-banner .btn.settings:hover, .cookie-banner .btn.settings:focus {
  background: #5cb85c;
  color: #ffec3d;
}
.cookie-banner .actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}
/* COOKIE MODAL POPUP --------------------------------------------- */
.cookie-modal-overlay {
  position: fixed;
  left: 0; top: 0;
  width: 100vw; height: 100vh;
  background: #003b5080;
  z-index: 1006;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: cb-modal-overlay-in 0.3s;
}
@keyframes cb-modal-overlay-in {
  from { opacity: 0; } to { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  color: #003b50;
  border-radius: 17px;
  max-width: 420px;
  width: 88vw;
  padding: 32px 24px;
  box-shadow: 0 10px 40px -5px #003b509c;
  z-index: 1008;
  display: flex;
  flex-direction: column;
  gap: 22px;
  animation: cb-modal-in 0.36s cubic-bezier(.9,0,.24,1.16);
}
@keyframes cb-modal-in {
  from { transform: scale(0.93) translateY(90px); opacity: 0; }
  to { transform: scale(1) translateY(0); opacity: 1; }
}
.cookie-modal h3 {
  color: #1188e2;
}
.cookie-modal .category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 14px;
  margin-bottom: 10px;
}
.cookie-modal label {
  font-size: 1rem;
  cursor: pointer;
}
.cookie-modal .toggle {
  appearance: none;
  width: 40px; height: 22px;
  background: #e0e9ee;
  border-radius: 12px;
  position: relative;
  outline: none;
  margin-right: 7px;
  transition: background 0.18s;
}
.cookie-modal .toggle:checked {
  background: #5cb85c;
}
.cookie-modal .toggle:before {
  content: '';
  display: block;
  position: absolute;
  left: 3px; top: 3px;
  width: 16px; height: 16px;
  background: #003b50;
  border-radius: 50%;
  transition: transform 0.17s;
}
.cookie-modal .toggle:checked:before {
  transform: translateX(18px);
  background: #ffec3d;
}
.cookie-modal .close {
  position: absolute;
  top: 14px;
  right: 18px;
  background: none;
  border: none;
  font-size: 1.6rem;
  color: #003b50;
  cursor: pointer;
  z-index: 20;
  transition: color 0.16s;
}
.cookie-modal .close:hover, .cookie-modal .close:focus {
  color: #5cb85c;
}
.cookie-modal .actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  margin-top: 18px;
}
/* Hide cookie modal on mobile when needed */
@media (max-width: 480px) {
  .cookie-modal {
    max-width: 97vw;
    padding: 14px 4px;
  }
}

/* VIBRANT ENERGY ACCENTS ----------------------------------------- */
h1, h2, h3 {
  text-transform: none;
}
h1 {
  background: linear-gradient(90deg, #1188e2 30%, #5cb85c 65%, #ffec3d 98%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;
}
h2, h3 {
  border-left: 6px solid #5cb85c;
  padding-left: 14px;
}
.cta-btn, .btn {
  box-shadow: 0 2px 20px -6px #5cb85c75, 0 3px 16px -10px #1188e2bb;
}
.cta-btn {
  text-shadow: 0 0 4px #1188e299;
}
@media (max-width: 600px) {
  h1 { font-size: 1.3rem; }
  h2, h3 { font-size: 1rem; }
}

/* DYNAMIC HOVER EFFECTS ------------------------------------------ */
.card, .feature-item {
  cursor: pointer;
}
.card:active, .testimonial-card:active {
  transform: scale(0.98) rotateZ(-1.5deg);
}


/* MISC ----------------------------------------------------------- */
::-webkit-scrollbar {
  width: 13px;
  background: #f5f8fa;
}
::-webkit-scrollbar-thumb {
  background: #003b50;
  border-radius: 8px;
  border: 3px solid #f5f8fa;
}
::-webkit-scrollbar-thumb:hover {
  background: #5cb85c;
}

@media (max-width: 375px) {
  .footer-bottom address {
    font-size: 13px;
  }
}

/* FOCUS STYLES --------------------------------------------------- */
a:focus, button:focus, .cta-btn:focus, .mobile-menu-close:focus, .mobile-menu-toggle:focus {
  outline: 2px dashed #ffec3d;
  outline-offset: 2px;
}

/* END OF CSS */
