/* --- 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;
}
html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  line-height: 1.5;
  background: #fff;
  color: #222;
  font-family: 'Open Sans', Arial, sans-serif;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #273C60;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #09817A;
  text-decoration: underline;
}
ul, ol {
  padding-left: 1.4em;
  margin-bottom: 1.2em;
}
strong, b {
  font-weight: 700;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  color: #273C60;
  margin-bottom: 16px;
  letter-spacing: 0.01em;
  line-height: 1.15;
  font-weight: 700;
}
h1 { font-size: 2.5rem; margin-top: 0; }
h2 { font-size: 2rem;   }
h3 { font-size: 1.4rem;  }
h4 { font-size: 1.1rem;  }

p, li {
  font-size: 1rem;
  color: #222;
  margin-bottom: 16px;
}

.container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 18px rgba(39, 60, 96, 0.06);
}

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

.text-section {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/****************
  HEADER/NAV
****************/
header {
  background: #fff;
  border-bottom: 1px solid #F2F7FB;
  box-shadow: 0 2px 14px rgba(39, 60, 96, 0.04);
  position: sticky;
  top: 0;
  z-index: 1001;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 70px;
  padding-top: 10px;
  padding-bottom: 10px;
}

/* Logo img */
header .container > a img {
  height: 38px;
  width: auto;
  margin-right: 32px;
}

.main-nav {
  display: flex;
  gap: 24px;
  align-items: center;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  color: #273C60;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: 8px;
  transition: background 0.16s, color 0.16s;
}
.main-nav .cta-primary {
  background: #273C60;
  color: #fff;
  border-radius: 8px;
  padding: 9px 20px;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(39, 60, 96, 0.09);
  border: none;
  transition: background 0.18s, color 0.18s, box-shadow 0.18s;
}
.main-nav .cta-primary:hover, .main-nav .cta-primary:focus {
  background: #09817A;
  color: #fff;
  box-shadow: 0 3px 16px rgba(9, 129, 122, 0.13);
}
.main-nav a:hover, .main-nav a:focus {
  background: #F2F7FB;
  color: #09817A;
}

/**** MOBILE MENU ****/
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2.2rem;
  color: #273C60;
  cursor: pointer;
  padding: 8px 12px;
  z-index: 1021;
  border-radius: 8px;
  transition: background 0.15s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #F2F7FB;
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #fff;
  z-index: 1200;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 34px 24px 24px 24px;
  transform: translateX(-100vw);
  transition: transform 0.38s cubic-bezier(.48,.02,.21,1.03);
  box-shadow: 0 0 0 1px #F2F7FB, 0 8px 48px rgba(39, 60, 96, 0.12);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  font-size: 2rem;
  color: #273C60;
  align-self: flex-end;
  cursor: pointer;
  margin-bottom: 10px;
  padding: 10px 10px 6px 10px;
  border-radius: 8px;
  transition: background 0.15s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #F2F7FB;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.2rem;
  color: #273C60;
  font-weight: 500;
  padding: 12px 8px;
  border-radius: 9px;
  transition: background 0.12s, color 0.12s;
  width: 100%;
  display: block;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #F2F7FB;
  color: #09817A;
}

/**** RESPONSIVE NAVIGATION ****/
@media (max-width: 1100px) {
  .main-nav {
    gap: 14px;
  }
}
@media (max-width: 1023px) {
  .main-nav a { font-size: 0.98rem; }
}
@media (max-width: 900px) {
  .container { max-width: 98vw; }
}
@media (max-width: 820px) {
  .container { max-width: 100vw; padding-left: 14px; padding-right: 14px; }
  .main-nav { gap:7px; }
}
@media (max-width: 799px) {
  .main-nav { gap: 0; }
  .main-nav .cta-primary { padding: 8px 16px; font-size: 1rem; }
}
@media (max-width: 840px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (min-width: 841px) {
  .mobile-menu {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: none !important;
  }
}

/****************
   SECTIONS & SPACING
****************/
section {
  margin-bottom: 60px;
  padding: 40px 0;
}
section .container {
  width: 100%;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 16px;
  margin-bottom: 20px;
  box-shadow: 0 3px 16px rgba(39, 60, 96, 0.06);
  transition: box-shadow 0.18s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 9px 32px rgba(9, 129, 122, 0.11);
}
.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: #F2F7FB;
  border-radius: 13px;
  box-shadow: 0 2px 8px rgba(39, 60, 96, 0.08);
  padding: 20px;
  margin-bottom: 20px;
  min-width: 0;
  transition: box-shadow 0.18s, background 0.16s;
}
.testimonial-card:hover,
.testimonial-card:focus-within {
  box-shadow: 0 7px 32px rgba(39, 60, 96, 0.12);
  background: #eaf4fa;
}
.testimonial-card p {
  color: #1B2232;
  font-style: italic;
  font-size: 1.05rem;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.98rem;
  color: #09817A;
  font-weight: 600;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #fff;
  border-radius: 13px;
  box-shadow: 0 2px 10px rgba(39, 60, 96, 0.06);
  padding: 22px 20px 20px 20px;
  min-width: 190px;
  flex: 1 1 230px;
  min-height: 250px;
  transition: box-shadow 0.18s, background 0.16s;
}
.feature-item:hover, .feature-item:focus-within {
  box-shadow: 0 8px 32px rgba(9, 129, 122, 0.10);
}
.feature-item img {
  width: 48px;
  height: 48px;
}
.feature-item h3 {
  font-size: 1.2rem;
  margin-bottom: 8px;
}
.feature-item p {
  color: #2B3747;
  font-size: 1rem;
}

.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  align-items: stretch;
}

/****************
   BUTTONS/CTA
****************/
.cta-primary, .cta-primary:visited {
  background: #09817A;
  color: #fff !important;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.12rem;
  border: none;
  border-radius: 10px;
  padding: 12px 34px;
  box-shadow: 0 2px 10px rgba(9, 129, 122, 0.13);
  display: inline-block;
  margin-top: 6px;
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s, transform 0.16s;
}
.cta-primary:hover, .cta-primary:focus {
  background: #273C60;
  color: #fff !important;
  transform: translateY(-1px) scale(1.025);
  box-shadow: 0 6px 18px rgba(39, 60, 96, 0.11);
  outline: none;
}
button, .button {
  font-family: inherit;
  background: #F2F7FB;
  color: #273C60;
  border: none;
  padding: 10px 20px;
  border-radius: 9px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 1px 5px rgba(39, 60, 96, 0.04);
  transition: background 0.14s, color 0.18s, box-shadow 0.16s;
}
button:hover, button:focus, .button:hover, .button:focus {
  background: #09817A;
  color: #fff;
  box-shadow: 0 2px 10px rgba(9, 129, 122, 0.13);
  outline: none;
}

/****************
   FOOTER
****************/
footer {
  background: #F2F7FB;
  color: #273C60;
  box-shadow: 0 -1px 12px rgba(39, 60, 96, 0.06);
  font-size: 0.98rem;
  padding: 24px 0 12px 0;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
}
.footer-nav nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 10px;
}
.footer-nav a {
  color: #273C60;
  font-size: 0.99rem;
  border-radius: 6px;
  padding: 4px 8px;
  transition: background 0.12s, color 0.12s;
}
.footer-nav a:hover, .footer-nav a:focus {
  background: #273C60;
  color: #fff;
}
.company-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.95rem;
  color: #273C60;
}
.company-info a {
  color: #09817A;
  text-decoration: underline;
}

/****************
  COOKIE CONSENT BANNER AND MODAL
****************/
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: #F2F7FB;
  color: #273C60;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 15px;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
  box-shadow: 0 -2px 22px rgba(39, 60, 96, 0.09);
  z-index: 2000;
  animation: cookie-slide-in 0.5s cubic-bezier(.48,.02,.21,1.03);
}
@keyframes cookie-slide-in {
  from { transform: translateY(60px); opacity:0; }
  to   { transform: translateY(0);    opacity:1; }
}
.cookie-banner p {
  font-size: 1rem;
  color: #273C60;
  margin-bottom: 6px;
  text-align: center;
}
.cookie-banner .cookie-btns {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 2px;
}
.cookie-btn {
  background: #273C60;
  color: #fff;
  border: none;
  padding: 8px 21px;
  border-radius: 8px;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  margin: 0;
  cursor: pointer;
  transition: background 0.18s, color 0.14s;
}
.cookie-btn:not(.cookie-settings):hover,
.cookie-btn:not(.cookie-settings):focus {
  background: #09817A;
}
.cookie-btn.cookie-settings {
  background: #fff;
  color: #273C60;
  border: 1px solid #09817A;
  font-weight: 500;
}
.cookie-btn.cookie-settings:hover,
.cookie-btn.cookie-settings:focus {
  background: #09817A;
  color: #fff;
}
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(39, 60, 96, 0.20);
  z-index: 2222;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fade-in 0.28s;
}
@keyframes fade-in {
  from { opacity:0; }
  to { opacity: 1;}
}
.cookie-modal {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 6px 28px rgba(9, 129, 122, 0.11), 0 0 0 2px #F2F7FB;
  padding: 38px 24px 30px 24px;
  max-width: 400px;
  width: 96vw;
  display: flex;
  flex-direction: column;
  gap: 20px;
  z-index: 2300;
  animation: pop-in 0.37s cubic-bezier(.48,.02,.21,1.03);
}
@keyframes pop-in {
  from { transform: scale(0.98) translateY(20px); opacity: 0; }
  to   { transform: scale(1) translateY(0); opacity: 1; }
}
.cookie-modal h2 {
  font-size: 1.2rem;
  margin-bottom: 6px;
}
.cookie-pref-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 8px;
  margin-bottom: 12px;
}
.cookie-pref-item {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  background: #F2F7FB;
  border-radius: 8px;
  padding: 10px 12px;
}
.cookie-pref-item input[type=checkbox] {
  accent-color: #09817A;
  width: 22px;
  height: 22px;
}
.cookie-pref-item .essential {
  color: #09817A;
  font-weight: 700;
  font-size: 0.98rem;
}
.cookie-modal .close-modal {
  align-self: flex-end;
  background: none;
  border: none;
  color: #273C60;
  font-size: 1.55rem;
  font-weight: 700;
  cursor: pointer;
  padding: 5px 10px;
  border-radius: 8px;
  margin-bottom: -16px;
  margin-top: -28px;
  margin-right: -8px;
  transition: background 0.13s;
}
.cookie-modal .close-modal:hover, .cookie-modal .close-modal:focus {
  background: #F2F7FB;
}

/****************
   MISC - LAYOUT, GRIDS, ADJUSTMENTS
****************/
@media (max-width: 1200px) {
  .feature-grid { gap: 18px; }
}
@media (max-width: 1080px) {
  .feature-item {
    min-width: 180px;
    padding: 16px 14px;
  }
}
@media (max-width: 950px) {
  .feature-grid { gap: 14px; }
  .section { padding: 32px 8px; }
}
@media (max-width: 768px) {
  body { font-size: 15px; }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.4rem; }
  .section, section { margin-bottom: 36px; padding: 28px 0px; }
  .feature-item, .card, .testimonial-card { min-width: 100%; }
  .content-grid, .feature-grid { flex-direction: column; gap: 18px; }
  .text-image-section { flex-direction: column; gap: 18px; }
}
@media (max-width: 540px) {
  h1 { font-size: 1.4rem; }
  h2 { font-size: 1.18rem; }
  .container { padding-left: 7px; padding-right: 7px; }
  .cta-primary, .button, button { font-size: 1rem; padding: 11px 14px; }
  .cookie-modal { padding: 18px 6px 17px 6px; }
}
@media (max-width: 400px) {
  h1 { font-size: 1.02rem; }
  .footer-nav nav { gap: 8px; }
}

/****************
   CARD LAYOUTS
****************/
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.divider {
  height: 1px;
  background: #F2F7FB;
}

/****************
   FORM ELEMENTS (if added in the future)
****************/
input, textarea, select {
  background: #F2F7FB;
  color: #273C60;
  border-radius: 8px;
  border: 1px solid #E2EAF7;
  padding: 11px 16px;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  width: 100%;
  margin-bottom: 14px;
  transition: border 0.13s, box-shadow 0.14s;
}
input:focus, textarea:focus, select:focus {
  outline: none;
  box-shadow: 0 2px 10px rgba(39, 60, 96, 0.09);
  border-color: #09817A;
}
label {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 0.99rem;
  color: #222;
  margin-bottom: 3px;
}

/*****************
CUSTOM SCROLLBAR
*****************/
::-webkit-scrollbar { width: 7px; }
::-webkit-scrollbar-thumb {
  background: #E2EAF7;
  border-radius: 7px;
}
::-webkit-scrollbar-track {
  background: transparent;
}

/***************
 Generic Utilities
***************/
.flex {
  display: flex;
}
.flex-column {
  flex-direction: column;
}
.flex-row {
  flex-direction: row;
}
.align-center {
  align-items: center;
}
.justify-center {
  justify-content: center;
}
.gap-20 { gap:20px; }
.gap-30 { gap:30px; }

/*****************
 SUBTLE ANIMATIONS
*****************/
.fade-in { animation: fade-in 0.5s ease-in; }

/*****************
 REMOVE SPINNER ARROWS FOR NUMBER INPUTS
*****************/
input[type=number]::-webkit-inner-spin-button, 
input[type=number]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0; 
}
input[type=number] {
  -moz-appearance: textfield;
}

/*****************
ARIA VISIBILITY HELP
*****************/
.sr-only {
  position: absolute !important;
  height: 1px; width: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
}

/*****************
 COLOR ACCESSIBILITY (Testimonial/readability)
*****************/
.testimonial-card p, .testimonial-author {
  color: #222;
}
