/* === 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, main, 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; }
*, *:before, *:after { box-sizing: inherit; }
body { line-height: 1; background: #F5EFE1; color: #222; }
article, aside, details, figcaption, figure, footer, header, hgroup, main, menu, nav, section { display: block; }
ol, ul { list-style: none; }
blockquote, q { quotes: none; }
blockquote:before, blockquote:after, q:before, q:after { content: ''; content: none; }
a { background: transparent; text-decoration: none; color: inherit; }
img { border-style: none; max-width: 100%; height: auto; display: block; }
button { border: none; cursor: pointer; background: none; font-family: inherit; }
input, textarea, select, button { font: inherit; }

/* === FONT IMPORTS (Nunito/Roboto) === */
@import url('https://fonts.googleapis.com/css?family=Nunito:800,700,600,400&display=swap');
@import url('https://fonts.googleapis.com/css?family=Roboto:400,500,700&display=swap');

:root {
  --primary: #23436B;
  --secondary: #87A35C;
  --accent: #F5EFE1;
  --black: #111111;
  --white: #FFFFFF;
  --grey: #F2F2F2;
  --card-shadow: 0 4px 24px 0 rgba(35,67,107,0.08), 0 1.5px 5px 0 rgba(35,67,107,0.03);
  --radius-xl: 32px;
  --radius-lg: 20px;
  --radius-md: 12px;
  --radius-sm: 6px;
  --transition: all 0.2s cubic-bezier(.65,.05,.36,1);
  --ff-display: 'Nunito', Arial, sans-serif;
  --ff-body: 'Roboto', Arial, sans-serif;
}

body {
  font-family: var(--ff-body);
  background: var(--accent);
  color: var(--primary);
  font-size: 16px;
  line-height: 1.7;
  min-height: 100vh;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--ff-display);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--primary);
  margin-bottom: 12px;
}

h1 { font-size: 2.4rem; line-height: 1.1; margin-bottom: 16px; }
h2 { font-size: 2rem; margin-bottom: 12px; }
h3 { font-size: 1.3rem; margin-bottom: 10px; letter-spacing: -0.01em; }
h4, h5, h6 { font-size: 1.1rem; font-weight: 700; }

p, ul, li, blockquote { font-family: var(--ff-body); font-size: 1rem; color: var(--primary); margin-bottom: 12px; }
strong { font-weight: 700; }
a { color: var(--secondary); transition: color 0.18s; font-weight: 600; }
a:hover, a:focus { color: var(--primary); text-decoration: underline; }

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

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

/* === HEADER & NAVIGATION === */
header {
  background: var(--white);
  box-shadow: var(--card-shadow);
  padding: 0 0 0 0;
  position: sticky;
  top: 0;
  z-index: 120;
}
nav {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 28px;
  padding: 18px 0;
}
nav a {
  font-family: var(--ff-display);
  font-weight: 700;
  color: var(--primary);
  font-size: 1rem;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  transition: background 0.18s, color 0.18s;
  position: relative;
  line-height: 1.2;
}
nav a.cta {
  background: var(--secondary);
  color: var(--white);
  font-size: 1.1rem;
  font-weight: 800;
  padding: 10px 22px;
  border-radius: var(--radius-md);
  margin-left: 16px;
  box-shadow: 0 3px 12px rgba(35,67,107,0.09);
  transition: var(--transition);
  border: 2px solid var(--secondary);
}
nav a.cta:hover, nav a.cta:focus {
  background: var(--primary);
  color: var(--accent);
  border-color: var(--primary);
  box-shadow: 0 6px 20px rgba(35,67,107,0.18);
}
nav a:hover, nav a:focus:not(.cta) {
  background: var(--secondary);
  color: var(--white);
}
nav img {
  height: 40px;
  width: auto;
  margin-right: 8px;
}

/* MOBILE NAV */
.mobile-menu-toggle {
  display: none;
  background: var(--primary);
  color: var(--white);
  font-size: 2rem;
  border-radius: var(--radius-md);
  padding: 4px 14px;
  margin-left: auto;
  transition: background 0.18s;
  z-index: 130;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: var(--secondary);
  color: var(--white);
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  height: 100vh;
  width: 100vw;
  background: var(--primary);
  color: var(--white);
  z-index: 2222;
  transform: translateX(-110%);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding-top: 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  font-size: 2.1rem;
  color: var(--white);
  align-self: flex-end;
  background: transparent;
  padding: 18px 24px 0 0;
  margin-bottom: 8px;
  transition: color 0.15s;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  color: var(--secondary);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  width: 100%;
  margin-top: 30px;
  gap: 16px;
  padding-left: 32px;
}
.mobile-nav a {
  color: var(--white);
  font-size: 1.35rem;
  font-family: var(--ff-display);
  font-weight: 700;
  padding: 11px 0;
  border-radius: var(--radius-md);
  transition: background 0.16s, color 0.16s;
  width: fit-content;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--secondary);
  color: var(--primary);
  padding-left: 10px;
}

/* ========== HERO, SECTIONS ETC. ========== */
section {
  background: var(--accent);
  border-radius: var(--radius-xl);
  margin-bottom: 60px;
  box-shadow: var(--card-shadow);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* === Feature Cards & Flex Grids === */
.feature-grid, .services-grid, .card-container, .content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
  margin-top: 14px;
}
.feature-grid > div, .services-grid > div {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--card-shadow);
  flex: 1 1 230px;
  min-width: 200px;
  padding: 28px 22px 22px 22px;
  text-align: center;
  transition: transform 0.15s, box-shadow 0.15s;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 20px;
}
.feature-grid > div:hover, .services-grid > div:hover {
  transform: translateY(-7px) scale(1.05);
  box-shadow: 0 10px 36px rgba(35,67,107,0.17), 0 2px 8px 0 rgba(35,67,107,0.13);
  background: var(--secondary);
  color: var(--accent);
}
.feature-grid img, .services-grid img {
  width: 48px; height: 48px; display: block; margin: 0 auto 18px auto;
}
.feature-grid h3, .services-grid h3 {
  color: var(--primary);
  font-weight: 800;
  font-size: 1.2rem;
  margin-bottom: 6px;
}
.feature-grid p, .services-grid p { font-size: 1rem; color: var(--primary); }

/* === TESTIMONIALS === */
.testimonial-card {
  background: var(--white);
  color: var(--primary);
  border-radius: var(--radius-lg);
  box-shadow: var(--card-shadow);
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 20px;
  gap: 14px;
  max-width: 580px;
  transition: box-shadow 0.18s, background 0.18s;
}
.testimonial-card p {
  font-size: 1.07rem; font-style: italic; color: var(--primary);
}
.testimonial-card div {
  font-family: var(--ff-display);
  font-weight: 700;
  color: var(--secondary);
  font-size: 1rem;
}
.testimonial-card:hover {
  box-shadow: 0 10px 38px rgba(35,67,107,0.13);
  background: var(--secondary);
  color: var(--white);
}

/* === BUTTONS, CTA === */
.cta {
  display: inline-block;
  background: var(--primary);
  color: var(--white) !important;
  font-family: var(--ff-display);
  font-weight: 800;
  border-radius: var(--radius-lg);
  text-transform: uppercase;
  font-size: 1.13rem;
  padding: 13px 36px;
  letter-spacing: 0.04em;
  margin-top: 10px;
  box-shadow: 0 2.5px 12px rgba(35,67,107,0.11);
  transition: background 0.18s, color 0.18s, box-shadow 0.18s, transform 0.21s;
  border: 2.5px solid var(--primary);
  outline: none;
  cursor: pointer;
}
.cta:hover, .cta:focus {
  background: var(--secondary);
  color: var(--primary) !important;
  border-color: var(--secondary);
  transform: translateY(-2.5px) scale(1.08);
  box-shadow: 0 7px 28px rgba(35,67,107,0.14);
}

/* === LISTS, TEXT ETC. === */
ul, .text-section ul, .content-wrapper ul {
  margin: 0 0 10px 16px;
  padding-left: 1.5em;
  list-style-type: disc;
  font-size: 1rem;
  color: var(--primary);
  font-family: var(--ff-body);
}
li {
  margin-bottom: 8px;
  font-size: 1rem;
  font-family: var(--ff-body);
  color: var(--primary);
}
.commitment {
  margin-top: 18px;
  font-weight: 700;
  background: var(--secondary);
  color: var(--white);
  padding: 14px 22px;
  border-radius: var(--radius-md);
}

/* === CONTACT DETAILS === */
.text-section {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 8px;
}
.contact-details > div {
  display: flex;
  align-items: center;
  gap: 15px;
  color: var(--primary);
  font-size: 1.02rem;
}
.contact-details img {
  width: 26px;
  height: 26px;
  opacity: 0.77;
}

/* === FOOTER === */
footer {
  background: var(--primary);
  color: var(--accent);
  padding: 35px 0 22px 0;
  box-shadow: 0 -3px 14px rgba(35,67,107,0.11);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  margin-top: 60px;
}
.footer-nav {
  display: flex;
  gap: 28px;
  margin-bottom: 16px;
  align-items: center;
}
.footer-nav a {
  color: var(--accent);
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: 1rem;
  transition: color 0.15s;
  padding: 6px 0;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: var(--secondary);
}
.brand-footer {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 14px;
  font-size: 0.98rem;
  font-weight: 500;
}
.brand-footer img {
  width: 32px;
  height: 32px;
  margin-right: 9px;
}
.footer-social {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 6px;
  font-size: 1.01rem;
}
.footer-social img {
  width: 26px; height: 26px;
  opacity: 0.8;
  transition: opacity 0.18s;
}
.footer-social img:hover { opacity: 1; }
.footer-social span { margin-left: 7px; font-weight: 600; }

/* =============== COOKIE CONSENT BANNER =============== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0; right: 0;
  z-index: 3000;
  width: 100%;
  display: flex;
  justify-content: center;
  background: var(--primary);
  color: var(--white);
  font-family: var(--ff-body);
  font-size: 1.04rem;
  box-shadow: 0 -6px 40px rgba(35,67,107,0.18);
  padding: 20px 14px;
  gap: 20px;
  min-height: 70px;
  animation: fadein-cookie 0.5s;
}
.cookie-banner .cookie-text {
  flex: 1 1 auto;
  max-width: 560px;
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 18px;
  flex-direction: row;
  align-items: center;
}
.cookie-banner button {
  background: var(--secondary);
  color: var(--primary);
  font-family: var(--ff-display);
  font-weight: 700;
  border-radius: var(--radius-md);
  font-size: 1rem;
  padding: 10px 20px;
  margin: 0;
  border: 2px solid var(--secondary);
  transition: background 0.17s, color 0.17s, border 0.18s;
  cursor: pointer;
}
.cookie-banner button:hover, .cookie-banner button:focus {
  background: var(--accent);
  color: var(--primary);
  border: 2px solid var(--primary);
}

@keyframes fadein-cookie {
  0% { opacity: 0; bottom: -60px; }
  100% { opacity: 1; bottom: 0; }
}

/* === COOKIE SETTINGS MODAL === */
.cookie-modal {
  position: fixed;
  left: 0; top: 0;
  width: 100vw; height: 100vh;
  background: rgba(35,67,107,0.83);
  z-index: 3500;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.19s;
}
.cookie-modal.open {
  opacity: 1;
  pointer-events: all;
}
.cookie-modal-content {
  background: var(--white);
  color: var(--primary);
  font-family: var(--ff-body);
  width: 98vw;
  max-width: 440px;
  border-radius: var(--radius-lg);
  box-shadow: 0 12px 52px rgba(35,67,107,0.22);
  padding: 34px 34px 22px 34px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  animation: pop-cookie 0.27s;
}
.cookie-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.cookie-modal-header h3 {
  color: var(--primary);
  margin-bottom: 0;
  font-size: 1.3rem;
}
.cookie-modal-close {
  background: transparent;
  color: var(--primary);
  font-size: 2rem;
  border-radius: var(--radius-sm);
  transition: color 0.15s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  color: var(--secondary);
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin: 15px 0;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 14px;
}
.cookie-category label {
  font-size: 1rem;
  font-weight: 500;
  color: var(--primary);
}
.cookie-category input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--secondary);
  margin-right: 2px;
}
.cookie-category input[type="checkbox"][disabled] {
  accent-color: var(--grey);
  background: #dee2e6;
}
.cookie-modal .modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 18px;
  margin-top: 17px;
}
.cookie-modal .modal-actions button {
  background: var(--secondary);
  color: var(--white);
  border-radius: var(--radius-md);
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: 1rem;
  padding: 12px 20px;
  border: 2px solid var(--secondary);
  transition: background 0.16s, color 0.12s, border 0.18s;
}
.cookie-modal .modal-actions button:hover, .cookie-modal .modal-actions button:focus {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

@keyframes pop-cookie {
  0% { transform: scale(0.92) translateY(50px); opacity: 0; }
  100% { transform: scale(1) translateY(0); opacity: 1; }
}

/* === Utility Flexbox Spacing === */
.card-container { display: flex; flex-wrap: wrap; gap: 24px; }
.card { margin-bottom: 20px; position: relative; background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--card-shadow); padding: 30px 22px; }
.card-content { display: flex; flex-direction: column; justify-content: center; gap: 16px; }
.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; }

/* === General Effects, Shadows, Micro-interactions === */
section, .feature-grid > div, .services-grid > div, .testimonial-card, .card {
  transition: box-shadow 0.18s, transform 0.14s, background 0.18s, color 0.18s;
}
section:hover {
  box-shadow: 0 10px 44px rgba(35,67,107,0.10);
}

/* === Responsive: Mobile-first === */
@media (max-width: 1024px) {
  .container { max-width: 96vw; }
  nav { gap: 16px; }
  .feature-grid, .services-grid, .content-grid, .card-container {
    gap: 16px;
  }
}
@media (max-width: 830px) {
  nav { gap: 10px; padding: 14px 0; }
  .brand-footer span { font-size: 0.89rem; }
}
@media (max-width: 990px) {
  .feature-grid > div, .services-grid > div {
    min-width: 180px;
    padding: 18px 10px 16px 10px;
  }
}
@media (max-width: 768px) {
  nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
    position: absolute;
    top: 13px;
    right: 20px;
  }
  .container {
    max-width: 99vw;
    padding: 0 10px;
  }
  .section, section {
    margin-bottom: 36px;
    padding: 24px 6px;
    border-radius: var(--radius-md);
  }
  .content-wrapper {
    gap: 13px;
  }
  .feature-grid, .services-grid, .card-container, .content-grid {
    flex-direction: column;
    gap: 19px;
  }
  .feature-grid > div, .services-grid > div {
    min-width: 140px;
    max-width: 100%;
    width: 100%;
    padding: 18px 8px;
  }
  .footer-nav {
    gap: 9px;
    flex-wrap: wrap;
    margin-bottom: 8px;
    font-size: 0.97rem;
  }
  .brand-footer, .footer-social {
    gap: 9px;
    font-size: 0.97rem;
  }
  .testimonial-card {
    max-width: 100%;
    padding: 18px 10px;
  }
  .contact-details {
    gap: 10px;
  }
  .card {
    padding: 14px 6px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
}
@media (max-width: 540px) {
  h1 { font-size: 1.37rem; }
  h2 { font-size: 1.1rem; }
  .footer-social span, .brand-footer span { font-size: 0.892rem; }
  .cookie-banner { font-size: 0.97rem; padding: 13px 2px; }
}

/* === Accessibility & Focus === */
a, button, .cta, input, textarea, select {
  outline-color: var(--secondary);
  outline-offset: 2px;
}
:focus-visible {
  outline: 2.5px solid var(--secondary);
}
::-webkit-input-placeholder { color: #899AB7; }
::-moz-placeholder { color: #899AB7; }
:-ms-input-placeholder { color: #899AB7; }
::placeholder { color: #899AB7; }

/* === Miscellaneous === */
::-webkit-scrollbar { width: 9px; background: var(--accent); }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 6px; }

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