/* =========================
   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;
}

html {
  height: 100%;
  scroll-behavior: smooth;
}
body {
  min-height: 100vh;
  color: #1A365D;
  background: #F2EFEA;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  font-weight: 400;
  overflow-x: hidden;
}
img {
  max-width: 100%;
  display: block;
  height: auto;
}

*, *::before, *::after {
  box-sizing: inherit;
}

a {
  color: #359268;
  text-decoration: none;
  transition: color 0.2s cubic-bezier(.6,.2,.1,1.1);
}
a:focus, a:hover {
  color: #1A365D;
  text-decoration: underline;
  outline: 0;
}

/* ========== BRAND COLORS =================== */
:root {
  --clr-primary: #1A365D;
  --clr-secondary: #359268;
  --clr-accent: #F2EFEA;
  --clr-text: #1A365D;
  --clr-bg: #F2EFEA;
  --clr-white: #fff;
  --clr-black: #11151a;
  --clr-error: #E24F4F;
}

/* ============ TYPOGRAPHY =================== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 800;
  color: #1A365D;
  letter-spacing: -1px;
  margin-bottom: 20px;
  line-height: 1.08;
}
h1 {
  font-size: 2.6rem;
  margin-bottom: 32px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 24px;
}
h3 {
  font-size: 1.5rem;
  margin-bottom: 18px;
}
h4 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

p, li, dd {
  font-family: 'Roboto', Arial, sans-serif;
  color: #1A365D;
  font-size: 1rem;
  font-weight: 400;
  margin-bottom: 12px;
  line-height: 1.65;
}

strong {
  font-weight: 700;
  color: #1A365D;
  letter-spacing: 0.5px;
}

em {
  font-style: italic;
}

ul, ol {
  margin-left: 20px;
  margin-bottom: 24px;
}
dt {
  font-weight: 700;
  color: #1A365D;
  margin-top: 18px;
}
dd {
  margin-bottom: 12px;
}

/* =========== CONTAINERS & LAYOUTS ============= */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 16px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}
.text-section {
  max-width: 800px;
  margin: 0 auto;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--clr-accent);
  border-radius: 20px;
  box-shadow: 0 2px 24px 0 rgba(26,54,93,0.07);
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--clr-white);
  margin-bottom: 20px;
  border-radius: 18px;
  box-shadow: 0 3px 16px 0 rgba(26,54,93,.08);
  transition: box-shadow 0.26s cubic-bezier(.7,.2,.2,1);
  position: relative;
  padding: 32px 24px;
  min-width: 260px;
  flex: 1 1 260px;
}
.card:hover {
  box-shadow: 0 6px 32px -2px rgba(26,54,93,0.17);
  z-index: 2;
}

.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;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: var(--clr-white);
  border-radius: 18px;
  box-shadow: 0 2px 10px 0 rgba(26,54,93,0.09);
  padding: 24px 20px;
  margin-bottom: 20px;
  flex: 1 1 220px;
  transition: transform 0.18s, box-shadow 0.18s;
}
.feature-item:hover {
  box-shadow: 0 8px 32px 0 rgba(26,54,93,0.15);
  transform: translateY(-4px) scale(1.03);
}

.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 18px 0 rgba(26,54,93,0.09);
  padding: 20px;
  margin-bottom: 20px;
  color: #1A365D;
  min-width: 260px;
  max-width: 700px;
  transition: box-shadow 0.18s;
}
.testimonial-card:hover {
  box-shadow: 0 8px 34px -2px rgba(53,146,104,0.14);
}

/* =========== HEADER & NAVIGATION ============= */
header {
  background: var(--clr-white);
  box-shadow: 0 2px 12px 0 rgba(26,54,93,0.06);
  position: relative;
  z-index: 103;
}
header nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  padding: 24px 0 16px 0;
  font-family: 'Montserrat', Arial,sans-serif;
  font-weight: 700;
}
header nav a {
  color: var(--clr-primary);
  font-size: 1.08rem;
  font-weight: 700;
  padding: 8px 18px;
  border-radius: 26px;
  transition: background 0.18s, color 0.18s;
  position: relative;
  white-space: nowrap;
}
header nav a.cta, .cta {
  background-color: var(--clr-secondary);
  color: #fff !important;
  border: none;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
  font-size: 1.09rem;
  letter-spacing: 1.5px;
  padding: 11px 30px;
  border-radius: 30px;
  box-shadow: 0 2px 10px rgba(53,146,104,0.11);
  text-align: center;
  cursor: pointer;
  transition: background 0.24s, box-shadow 0.17s, color 0.16s;
  margin-left: 14px;
}
header nav a.cta.primary, .cta.primary {
  background: var(--clr-primary);
  color: #fff;
}
header nav a.cta:hover, .cta:hover, .cta:focus {
  background: var(--clr-secondary);
  color: #fff !important;
  box-shadow: 0 6px 24px -3px rgba(53,146,104,0.15);
  text-decoration: none;
}

header nav a.active, header nav a[aria-current="page"] {
  background-color: var(--clr-accent);
  color: var(--clr-primary);
}
header nav img {
  height: 46px;
  width: auto;
  margin-right: 16px;
}

/* Mobile burger menu button */
.mobile-menu-toggle {
  display: none;
  background: var(--clr-primary);
  color: #fff;
  border: none;
  font-size: 2rem;
  border-radius: 10px;
  padding: 8px 16px;
  margin: 10px;
  cursor: pointer;
  z-index: 110;
  transition: background .2s, box-shadow .25s;
  box-shadow: 0 2px 8px 0 rgba(26,54,93,0.13);
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: var(--clr-secondary);
}

/* Mobile Menu Overlay */
.mobile-menu {
  background: rgba(26,54,93,0.97);
  color: #fff;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 2000;
  display: none;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 0 28px 0 28px;
  transition: transform .28s cubic-bezier(.86,.07,.15,.93);
  transform: translateX(100%);
}
.mobile-menu.open {
  display: flex;
  transform: translateX(0);
}
.mobile-menu-close {
  background: transparent;
  color: #fff;
  border: none;
  font-size: 2.1rem;
  align-self: flex-end;
  margin-top: 30px;
  margin-bottom: 36px;
  cursor: pointer;
  transition: color 0.13s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #359268;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 28px;
  width: 100%;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.4rem;
  color: #fff;
  padding: 14px 2px 14px 0;
  border-radius: 6px;
  transition: background 0.16s, color 0.14s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--clr-secondary);
  color: var(--clr-white);
}

/* ========== MAIN LAYOUT SECTIONS ==================== */
main > section {
  margin-bottom: 60px;
  padding: 40px 0 34px 0;
}
main section .container {
  width: 100%;
}

/* Icon/feature lists */
ul > li, ol > li {
  padding-left: 0;
  position: relative;
  font-size: 1.04rem;
  margin-bottom: 18px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
ul > li img, ol > li img {
  margin-right: 10px;
  height: 28px;
  width: 28px;
  flex-shrink: 0;
}
ol > li {
  counter-increment: step;
  padding-left: 0;
}
ol > li::before {
  /* Modern geometric number badge */
  content: counter(step);
  background: var(--clr-primary);
  color: #fff;
  font-family: 'Montserrat',sans-serif;
  font-weight: 700;
  border-radius: 6px;
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 16px;
  font-size: 1.08rem;
  box-shadow: 0 2px 6px 0 rgba(26,54,93,.13);
}
ol {
  counter-reset: step;
}

/* CTA section */
.cta-section {
  background: var(--clr-secondary);
  color: #fff;
  border-radius: 32px;
  text-align: center;
  box-shadow: 0 3px 24px 0 rgba(53,146,104,0.18);
  padding: 38px 24px 44px 24px;
}
.cta-section h2, .cta-section p {
  color: #fff;
}

/* Card overrides for services */
ul li strong, ol li strong {
  font-weight: 800;
  color: var(--clr-primary);
  font-family: 'Montserrat',sans-serif;
}

/* =========== TESTIMONIALS CARDS =================== */
.testimonial-card {
  font-family: 'Roboto', Arial,sans-serif;
  font-size: 1.08rem;
  color: #1A365D;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 12px 0 rgba(26,54,93,0.08);
  padding: 20px 26px;
  margin-bottom: 22px;
  gap: 20px;
  min-width: 250px;
}
.testimonial-card strong {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.07rem;
  color: #1A365D;
  font-weight: 700;
}
.testimonial-card span {
  font-size: 1.18rem;
  color: #359268;
}

/* ============ FOOTER ================ */
footer {
  background: #1A365D;
  color: #fff;
  padding: 0;
  margin-top: 34px;
  font-family: 'Roboto', Arial, sans-serif;
}
footer .container {
  padding: 0 16px;
}
footer .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 34px;
  align-items: flex-start;
  justify-content: space-between;
  padding: 36px 0 10px 0;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
footer nav a {
  color: #fff;
  font-weight: 600;
  font-family: 'Montserrat',sans-serif;
  font-size: 1rem;
  opacity: .92;
  transition: color 0.14s, opacity 0.15s;
}
footer nav a:hover, footer nav a:focus {
  color: #359268;
  opacity: 1;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 0.97rem;
  font-family: 'Roboto',sans-serif;
  color: #fff;
  opacity: .97;
}
.footer-contact strong {
  color: #fff;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 7px;
  align-items: flex-start;
  font-size: .96rem;
  opacity: .8;
}
.footer-brand img {
  height: 36px;
  margin-bottom: 5px;
}

/* =========== COOKIE CONSENT BANNER ===============*/
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  z-index: 8400;
  background: #1A365D;
  color: #fff;
  box-shadow: 0 -2px 16px 0 rgba(26,54,93,.07);
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 20px;
  justify-content: space-between;
  padding: 24px 18px;
  font-family: 'Roboto', Arial, sans-serif;
  animation: bounceInUp 0.34s;
}
@keyframes bounceInUp {
  0% {transform: translateY(100%); opacity: .6;}
  80% {transform: translateY(-12px); opacity: 1;}
  100% {transform: translateY(0); opacity: 1;}
}
.cookie-banner p {
  color: #fff;
  margin: 0 18px 0 0;
  font-size: 1rem;
  flex: 1 1 0;
}
.cookie-banner .cookie-actions {
  display: flex;
  flex-direction: row;
  gap: 10px;
  min-width: 230px;
  flex-wrap: wrap;
}
.cookie-banner button {
  border: 0;
  padding: 9px 22px;
  border-radius: 28px;
  font-family: 'Montserrat', sans-serif;
  font-size: 1.02rem;
  font-weight: 700;
  cursor: pointer;
  transition: background .16s, color .18s;
  margin: 0 2px;
}
.cookie-banner .accept {
  background: #359268;
  color: #fff;
}
.cookie-banner .reject {
  background: #E24F4F;
  color: #fff;
}
.cookie-banner .settings {
  background: #fff;
  color: #1A365D;
  border: 1px solid #359268;
}
.cookie-banner button:hover, .cookie-banner button:focus {
  opacity: 0.92;
  filter: brightness(1.09);
}

/* Cookie Settings Modal */
.cookie-modal {
  position: fixed;
  z-index: 9000;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(26,54,93,.72);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn .23s;
}
@keyframes fadeIn {
  from {opacity: 0;} to {opacity: 1;}
}
.cookie-modal .cookie-modal-content {
  background: #fff;
  color: #1A365D;
  border-radius: 18px;
  box-shadow: 0 3px 42px 0 rgba(26,54,93,0.27);
  padding: 38px 22px 26px 22px;
  min-width: 330px;
  max-width: 94vw;
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: relative;
}
.cookie-modal h3 {
  color: var(--clr-primary);
  font-family: 'Montserrat',sans-serif;
  font-weight: 800;
  font-size: 1.28rem;
  margin-bottom: 10px;
}
.cookie-modal .close {
  position: absolute;
  right: 16px; top: 14px;
  background: none;
  color: #1A365D;
  border: none;
  font-size: 1.7rem;
  cursor: pointer;
  opacity: .65;
  transition: color 0.18s, opacity .14s;
}
.cookie-modal .close:hover, .cookie-modal .close:focus {
  color: #E24F4F;
  opacity: 1;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 17px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.05rem;
  padding: 10px 0 10px 0;
}
.cookie-category .toggle {
  appearance: none;
  border: 1.5px solid #359268;
  width: 32px; height: 18px;
  border-radius: 18px;
  vertical-align: middle;
  background: #F2EFEA;
  position: relative;
  transition: background 0.17s, border .14s;
  outline: none;
}
.cookie-category .toggle:checked {
  background: #359268;
  border: 1.5px solid #1A365D;
}
.cookie-category .toggle::before {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  background: #fff;
  width: 11px; height: 11px;
  border-radius: 50%;
  box-shadow: 0 1px 4px 0 rgba(26,54,93,.08);
  transition: transform 0.19s;
}
.cookie-category .toggle:checked::before {
  transform: translateX(13px);
}
.cookie-category .always {
  color: #aaa;
  font-size: 0.99rem;
  margin-left: 8px;
}
.cookie-modal .actions {
  margin-top: 20px;
  display: flex;
  gap: 13px;
}
.cookie-modal button {
  border: none;
  border-radius: 22px;
  padding: 8px 24px;
  font-size: 1rem;
  font-family: 'Montserrat',sans-serif;
  font-weight: 700;
  cursor: pointer;
  transition: background .15s, color .13s;
}
.cookie-modal .save {
  background: #359268;
  color: #fff;
}
.cookie-modal .cancel {
  background: #E24F4F;
  color: #fff;
}
.cookie-modal button:hover, .cookie-modal button:focus {
  filter: brightness(1.08);
}

/* ========== RESPONSIVE DESIGN ============= */
@media (max-width: 1100px) {
  .container { max-width: 100%; }
  .footer-brand, .footer-contact { max-width: 100%; }
}
@media (max-width: 968px) {
  .container {padding: 0 8px;}
}
@media (max-width: 820px) {
  .content-wrapper, .content-grid, .card-container {
    gap: 14px;
  }
  .text-image-section { gap: 12px; }
  .section { padding: 28px 8px; }
  header nav { gap: 10px; padding: 16px 0 7px 0; }
}
@media (max-width: 768px) {
  h1 { font-size: 2.1rem; }
  h2 { font-size: 1.4rem; }
  h3 { font-size: 1.13rem; }
  .content-wrapper, .content-grid, .card-container { gap: 12px; }
  .testimonial-card {padding: 14px 13px; font-size: 1rem;}
  .footer-brand img { height: 29px; }
  .section { margin-bottom: 36px; padding: 22px 2px; }
  main > section { margin-bottom: 34px; padding: 27px 0 17px 0; }
}

@media (max-width: 660px) {
  header nav { display: none !important; }
  .mobile-menu-toggle { display: block; }
  .container { padding: 0 5px; }
  .footer-brand img { height: 21px; }
  .content-wrapper, .content-grid, .card-container { gap: 8px; }
  .testimonial-card { font-size: 0.96rem; }
}

@media (max-width: 530px) {
  h1 { font-size: 1.21rem; }
  h2 { font-size: 1.03rem; }
  .section { padding: 16px 2px; }
  .testimonial-card, .feature-item, .card {
    padding: 13px 6px;
  }
  .content-wrapper, .content-grid, .card-container { gap: 6px; }
  .cookie-modal .cookie-modal-content { min-width: unset; padding: 12px 5px 12px 9px; }
  .cookie-banner { flex-direction: column; align-items: flex-start; gap: 8px; padding: 12px 8px; }
}

/* Responsive flex orientation for text-image sections */
@media (max-width: 768px) {
  .text-image-section { flex-direction: column; align-items: flex-start; gap: 12px; }
}

/* Hide mobile menu when not open */
@media (min-width: 661px) {
  .mobile-menu { display: none !important; }
  .mobile-menu-toggle {display: none !important;}
}

/* =============== UTILITIES =============== */
.mt-20 { margin-top: 20px; }
.mb-20 { margin-bottom: 20px; }
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-left { text-align: left; }
.flex { display: flex; }
.flex-col { flex-direction: column; }
.flex-row { flex-direction: row; }
.gap-8 { gap: 8px; }

/* ===== FORM ELEMENTS (if forms will be used) */
input, textarea, select, button {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
}
input[type="text"], input[type="email"], textarea {
  padding: 10px 15px;
  border-radius: 10px;
  border: 1.5px solid #359268;
  background: #fff;
  color: #1A365D;
  transition: border .14s, box-shadow .19s;
}
input:focus, textarea:focus, select:focus {
  outline: 2px solid #359268;
  border-color: #1A365D;
}
button {
  cursor: pointer;
}

/* ===== OVERRIDE AUTOFILL COLORS ON CHROME ===== */
input:-webkit-autofill, textarea:-webkit-autofill {
  box-shadow: 0 0 0 1000px #fff inset;
  -webkit-text-fill-color: #1A365D;
}

/* DECLARATIVE SHAPE DECORATIONS FOR MODERN LOOK */
.section {
  position: relative;
  overflow: hidden;
}
.section::after {
  content: '';
  position: absolute;
  right: -68px; bottom: -46px;
  width: 120px; height: 120px;
  background: #35926811;
  border-radius: 50%;
  z-index: 0;
  pointer-events: none;
}
.section::before {
  content: '';
  position: absolute;
  left: -57px; top: -37px;
  width: 110px; height: 110px;
  background: #1A365D0D;
  border-radius: 50%;
  z-index: 0;
  pointer-events: none;
}
.section > .container, .section > div {
  position: relative;
  z-index: 1; /* keep content above decorative circles */
}

/* =============== MICRO-INTERACTIONS =================== */
.cta, .cta.primary {
  transition: background .21s, box-shadow .21s, transform .07s;
}
.cta:active {
  transform: scale(.97);
  background: #14523b;
}
.card, .feature-item {
  transition: box-shadow .18s, transform .13s, border .15s;
}
.card:hover, .feature-item:hover {
  box-shadow: 0 8px 32px 0 rgba(53,146,104,0.11);
  transform: translateY(-3px) scale(1.02);
}

/* Focus rings for accessibility */
a:focus, button:focus {
  outline: 2px solid #359268;
  outline-offset: 2px;
}

/* Remove Webkit and Firefox tap highlight for buttons/links */
a, button {
  -webkit-tap-highlight-color: rgba(53,146,104,.16);
}

/* Hide outline on mouse, keep for keyboard navigation */
:focus:not(:focus-visible) {
  outline: none;
}

/* =========== END OF CSS =========== */
