/* =============================================================
   CSS RESET & BASE STYLES
   ============================================================= */
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 {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}
body {
  line-height: 1.65;
  background: #F6F5F2;
  color: #25331b;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  min-height: 100vh;
  letter-spacing: 0.01em;
}
img {
  max-width: 100%;
  display: block;
  border: none;
}
ul, ol {
  list-style: none;
}
a {
  color: #18445D;
  text-decoration: none;
  transition: color 0.18s;
}
a:hover,
a:focus {
  color: #2A8C5D;
  outline: none;
}
* {
  box-sizing: inherit;
}

/* =============================================================
   BRAND COLOR PALETTE (Earth tones + Organic)
   ============================================================= */
:root {
  --color-primary: #18445D;
  --color-secondary: #2A8C5D;
  --color-accent: #F2F5F7;
  --color-bg: #F6F5F2;
  --color-earth: #A2825A; /* soft earth brown */
  --color-leaf: #90B77D; /* muted leaf green */
  --color-moss: #6B8C4C; /* moss green */
  --color-sage: #E6E8D9;
  --color-sand: #EFE7DA;
  --color-dark: #25331b;
  --color-white: #fff;
  --color-shadow: rgba(47, 59, 19, 0.10);
  --color-shadow2: rgba(47,59,19,0.04);
}

/* Fallbacks for old browsers */
body {
  background-color: var(--color-bg, #F6F5F2);
}

/* =============================================================
   TYPOGRAPHY
   ============================================================= */
@import url('https://fonts.googleapis.com/css?family=Oswald:400,500,700&display=swap');
@import url('https://fonts.googleapis.com/css?family=Roboto:400,500,700&display=swap');

h1, h2, h3, h4, h5, h6 {
  font-family: 'Oswald', Arial, sans-serif;
  color: #18445D;
  letter-spacing: 0.01em;
  margin-bottom: 12px;
  line-height: 1.1;
  font-weight: 700;
}
h1 {
  font-size: 2.4rem;
  margin-bottom: 18px;
}
h2 {
  font-size: 1.7rem;
  margin-bottom: 16px;
}
h3 {
  font-size: 1.25rem;
  color: #2A8C5D;
  margin-bottom: 14px;
}
h4 {
  font-size: 1.05rem;
  font-weight: 500;
}
p, ul, ol {
  font-size: 1rem;
  color: #25331b;
  margin-bottom: 12px;
}
strong, b {
  font-weight: 700;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--color-bg);
}
@media (max-width: 600px) {
  .section {
    padding: 26px 5vw;
  }
}

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 18px;
  width: 100%;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
  align-items: flex-start;
}

.text-section {
  max-width: 720px;
  margin: 0 auto 0 0;
}

/* =============================================================
   HEADER & NAVIGATION
   ============================================================= */
header {
  width: 100%;
  background: var(--color-sand);
  border-bottom: 1.5px solid var(--color-leaf);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px 16px 24px;
  position: sticky;
  top: 0;
  z-index: 80;
  box-shadow: 0 2px 6px var(--color-shadow2);
}
header img {
  height: 38px;
  width: auto;
  margin-right: 36px;
}
header nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 20px;
}
header nav a {
  font-family: 'Oswald', Arial, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  color: var(--color-primary);
  padding: 8px 10px 7px 10px;
  border-radius: 20px 20px 16px 16px/18px 24px 18px 25px;
  transition: background .17s, color .15s;
  background: none;
}
header nav a:hover,
header nav a:focus {
  color: var(--color-secondary);
  background: var(--color-accent);
}
.cta-primary {
  font-family: 'Oswald', Arial, sans-serif;
  background: var(--color-secondary);
  color: #fff !important;
  border: none;
  border-radius: 32px 24px 16px 40px/28px 28px 18px 32px;
  padding: 10px 28px 11px 24px;
  font-size: 1.04rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  box-shadow: 0 1px 5px var(--color-shadow);
  cursor: pointer;
  margin-left: 34px;
  transition: background 0.2s, box-shadow 0.22s, transform 0.13s;
  display: inline-block;
  outline: none;
}
.cta-primary:hover,
.cta-primary:focus {
  background: #18445D;
  color: #fff;
  box-shadow: 0 4px 20px rgba(42,140,93,0.21);
  transform: translateY(-1.5px) scale(1.04);
}
.cta-link {
  font-family: 'Oswald', Arial, sans-serif;
  color: var(--color-secondary);
  background: none;
  padding: 4px 7px;
  font-size: 1rem;
  border: none;
  text-decoration: underline;
  transition: color 0.14s;
  cursor: pointer;
}
.cta-link:hover,
.cta-link:focus {
  color: var(--color-moss);
  background: var(--color-sage);
}

/* MOBILE NAVIGATION */
.mobile-menu-toggle {
  display: none;
  background: var(--color-leaf);
  color: var(--color-primary);
  border: none;
  font-size: 2rem;
  padding: 8px 15px 8px 14px;
  border-radius: 14px 18px 16px 24px/26px 20px 19px 13px;
  position: fixed;
  top: 18px;
  right: 18px;
  z-index: 105;
  cursor: pointer;
  box-shadow: 0 2px 8px var(--color-shadow2);
  transition: background 0.19s, color 0.16s;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: var(--color-secondary);
  color: #fff;
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: var(--color-bg);
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 200;
  padding: 32px 24px 22px 28px;
  box-shadow: 0 8px 18px var(--color-shadow);
  transform: translateX(-101vw);
  transition: transform 0.33s cubic-bezier(.8, .25, .2, 1);
}
.mobile-menu.active {
  transform: translateX(0vw);
}
.mobile-menu-close {
  align-self: flex-end;
  background: var(--color-secondary);
  color: #fff;
  font-size: 2.4rem;
  border: none;
  margin-bottom: 18px;
  padding: 5px 15px;
  border-radius: 18px 36px 16px 30px/28px 30px 26px 14px;
  cursor: pointer;
  box-shadow: 0 2px 8px var(--color-shadow2);
  transition: background 0.17s;
  z-index: 205;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: #18445d;
  color: #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}
.mobile-nav a {
  font-family: 'Oswald', Arial, sans-serif;
  color: var(--color-primary);
  font-size: 1.3rem;
  padding: 10px 3px 10px 3px;
  border-radius: 22px 30px 16px 35px/28px 22px 20px 28px;
  background: none;
  transition: background 0.15s, color 0.15s;
  min-width: 120px;
  min-height: 36px;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: var(--color-leaf);
  color: var(--color-secondary);
}

@media (max-width: 1010px) {
  header nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (max-width: 1010px) {
  .cta-primary {
    margin-left: 0;
  }
}
@media (max-width: 700px) {
  header {
    padding: 10px 9vw 10px 8vw;
  }
}
/* Hide .mobile-menu by default outside active state */
.mobile-menu {
  visibility: hidden;
  opacity: 0;
}
.mobile-menu.active {
  visibility: visible;
  opacity: 1;
}

/* =============================================================
   HERO / BANNERS / ORGANIC SHAPES
   ============================================================= */
.hero {
  width: 100%;
  background: linear-gradient(97deg, #EFE7DA 60%, #DFF2E5 100%);
  min-height: 310px;
  border-radius: 0 0 48px 48px/60px 60px 36px 36px;
  margin-bottom: 48px;
  box-shadow: 0 2px 10px var(--color-shadow2);
}
.hero .container {
  min-height: 260px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}
.hero .content-wrapper {
  gap: 10px;
  max-width: 550px;
  padding-top: 44px;
  padding-bottom: 38px;
}
@media (max-width: 768px) {
  .hero {
    min-height: 160px;
    border-radius: 0 0 28px 28px/32px 32px 18px 18px;
    margin-bottom: 26px;
  }
  .hero .content-wrapper {...gaps: 8px, padding: 22px 0;}
}

.cta-banner {
  background: linear-gradient(87deg, var(--color-earth) 50%, var(--color-leaf) 100%);
  color: #fff;
  border-radius: 34px 80px 50px 30px/34px 34px 40px 78px;
  margin-bottom: 40px;
  margin-top: 32px;
  box-shadow: 0 1.5px 10px var(--color-shadow2);
}
.cta-banner .content-wrapper {
  align-items: center;
  gap: 20px;
  width: 100%;
}
.cta-banner p {
  color: #fff;
  font-size: 1.21rem;
}

/* =============================================================
   FLEX LAYOUTS FOR SECTIONS, CARDS, GRIDS
   ============================================================= */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 18px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  flex: 1 1 280px;
  background: var(--color-accent);
  border-radius: 24px 36px 24px 20px/32px 32px 32px 24px;
  box-shadow: 0 2px 10px var(--color-shadow2);
  padding: 25px 18px 22px 25px;
  transition: box-shadow .18s, transform .13s;
  min-width: 240px;
}
.card:hover,
.card:focus-within {
  box-shadow: 0 6px 28px var(--color-shadow);
  transform: translateY(-2.5px) scale(1.02);
  z-index: 3;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
}

.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;
  margin-bottom: 10px;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 17px;
  }
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 16px;
}
.values-grid,
.services-grid,
.sectors-grid,
.action-grid,
.job-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
}
.values-grid > div,
.sector-card,
.action-grid > div,
.service-card,
.job-card {
  flex: 1 1 245px;
  min-width: 220px;
  background: var(--color-sage);
  border-radius: 18px 34px 28px 22px/20px 22px 22px 34px;
  padding: 20px 18px 22px 20px;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px var(--color-shadow2);
  transition: box-shadow .18s, transform .11s;
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.values-grid > div:hover,
.sector-card:hover,
.action-grid > div:hover,
.service-card:hover,
.job-card:hover {
  box-shadow: 0 3.5px 22px var(--color-shadow);
  transform: translateY(-2px) scale(1.015);
  z-index: 2;
}

@media (max-width: 900px) {
  .values-grid > div, .sector-card, .action-grid > div, .service-card, .job-card {
    flex: 1 1 100%;
    min-width: 140px;
  }
}

/* JOB CARDS FLEX LAYOUT */
.job-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.job-card {
  background: var(--color-sage);
  border-radius: 19px 19px 32px 26px/24px 17px 24px 25px;
  padding: 21px 18px 21px 18px;
  min-width: 200px;
}

/* =============================================================
   ICON & LIST STYLES
   ============================================================= */
li img {
  vertical-align: middle;
  margin-right: 14px;
  width: 24px;
  height: 24px;
  object-fit: contain;
  border-radius: 8px;
  background: var(--color-accent);
  box-shadow: 0 0.5px 6px var(--color-shadow2);
}
ul li,
ol li {
  margin-bottom: 12px;
  padding-left: 2px;
  font-size: 1rem;
  color: #25331b;
  display: flex;
  align-items: center;
  gap: 5px;
}
.section ul {
  margin-top: 6px;
}

/* =============================================================
   TESTIMONIALS
   ============================================================= */
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #fff;
  border-radius: 20px 32px 24px 19px/20px 20px 25px 31px;
  box-shadow: 0 1.5px 20px var(--color-shadow2);
  margin-bottom: 18px;
  position: relative;
  flex: 1 1 320px;
  min-width: 220px;
}
.testimonial-card p {
  color: #18445D;
  font-size: 1.07rem;
  margin-bottom: 2px;
  flex: 1 1 auto;
}
.testimonial-card span {
  font-family: 'Oswald', Arial, sans-serif;
  font-size: 0.99rem;
  color: #2A8C5D;
  min-width: 120px;
  opacity: 0.83;
}
@media (max-width: 600px) {
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}

/* =============================================================
   FORMS, FOOTER, MODALS, MISC
   ============================================================= */
footer {
  background: var(--color-sand);
  border-top: 1.5px solid var(--color-moss);
  padding: 34px 16px 26px 16px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 34px;
}
footer nav {
  display: flex;
  flex-direction: row;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 11px;
}
footer nav a {
  color: #2A8C5D;
  font-family: 'Oswald', Arial, sans-serif;
  font-size: 1.02rem;
  padding: 5px 4px;
}
footer nav a:hover,
footer nav a:focus {
  color: #18445D;
}
footer p {
  color: #18445D;
  font-size: 0.93rem;
  opacity: 0.85;
  line-height: 1.5;
}

/* Cookie consent banner */
.cookie-banner {
  position: fixed;
  left: 0; right: 0;
  bottom: 0;
  padding: 20px 25px;
  background: var(--color-sand);
  border-top: 2.5px solid var(--color-moss);
  z-index: 500;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  box-shadow: 0 -3px 18px var(--color-shadow2);
  animation: cookie-slidein 0.81s cubic-bezier(.84,.04,.39,1.15);
}
@keyframes cookie-slidein {
  from { transform: translateY(90px); opacity: 0; } to { transform: translateY(0); opacity: 1; }
}
.cookie-banner__text {
  color: #18445D;
  font-size: 1.06rem;
  margin-bottom: 2px;
  text-align: center;
}
.cookie-banner__actions {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}
.cookie-btn,
.cookie-btn--settings {
  font-family: 'Oswald', Arial, sans-serif;
  font-size: 1rem;
  border: none;
  border-radius: 18px 32px 16px 30px/18px 26px 20px 14px;
  padding: 8px 22px 8px 22px;
  background: var(--color-secondary);
  color: #fff;
  font-weight: 600;
  margin-right: 4px;
  cursor: pointer;
  box-shadow: 0 1px 6px var(--color-shadow);
  transition: background 0.17s, color 0.15s;
}
.cookie-btn--reject {
  background: #18445D;
  color: #fff;
}
.cookie-btn--settings {
  background: var(--color-moss);
  color: #fff;
}
.cookie-btn:hover,
.cookie-btn:focus,
.cookie-btn--settings:hover,
.cookie-btn--settings:focus,
.cookie-btn--reject:hover,
.cookie-btn--reject:focus {
  background: var(--color-leaf);
  color: var(--color-primary);
}

/* Cookie Modal Popup */
.cookie-modal {
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: rgba(40,59,29, 0.47);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  visibility: hidden;
  opacity: 0;
  transition: visibility .18s, opacity .19s;
}
.cookie-modal.active {
  visibility: visible;
  opacity: 1;
}
.cookie-modal__dialog {
  background: var(--color-bg);
  border-radius: 38px 28px 46px 23px/30px 42px 28px 40px;
  padding: 38px 24px 28px 32px;
  box-shadow: 0 4px 32px var(--color-shadow);
  min-width: 295px;
  max-width: 95vw;
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: relative;
}
.cookie-modal__close {
  position: absolute;
  top: 10px; right: 16px;
  background: var(--color-secondary);
  color: #fff;
  border: none;
  font-size: 1.85rem;
  border-radius: 50%;
  width: 36px; height: 36px;
  cursor: pointer;
  box-shadow: 0 1px 8px var(--color-shadow2);
  display: flex;
  align-items: center;
  justify-content: center;
}
.cookie-modal__close:hover,
.cookie-modal__close:focus {
  background: var(--color-leaf);
  color: var(--color-primary);
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 1.07rem;
  color: #18445D;
}
.cookie-category input[type="checkbox"] {
  accent-color: var(--color-secondary);
  width: 20px; height: 20px;
  margin-right: 8px;
}
.cookie-category--essential {
  font-weight: 600;
  opacity: .65;
}
.cookie-modal__actions {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  margin-top: 10px;
}

/* =============================================================
   RESPONSIVE DESIGN (Mobile first, then up)
   ============================================================= */
@media (max-width: 1010px) {
  .container {
    padding: 0 7vw;
  }
  .cta-banner {
    border-radius: 26px 50px 30px 14px/ 18px 24px 24px 36px;
    margin-top: 21px;
  }
}
@media (max-width: 900px) {
  .container {
    max-width: 98vw;
  }
  .values-grid, .services-grid, .sectors-grid, .action-grid, .job-list {
    gap: 14px;
  }
}
@media (max-width: 700px) {
  body {
    font-size: 15px;
  }
  h1 {font-size: 1.5rem}
  h2 {font-size: 1.15rem}
  .content-wrapper {gap: 18px;}
}
@media (max-width: 520px) {
  .container {
    padding: 0 1vw;
  }
  .section {
    padding: 18px 2vw 28px 2vw;
  }
  footer {
    padding: 22px 2vw 18px 2vw;
  }
}

/* =============================================================
   MICRO-INTERACTIONS, SHADOWS, EFFECTS
   ============================================================= */
.card, .service-card, .job-card, .sector-card, .testimonial-card {
  transition: box-shadow .18s, transform .12s;
}
.card:active, .service-card:active, .job-card:active, .sector-card:active, .testimonial-card:active {
  transform: scale(0.98) translateY(2pt);
}
button, [type='button'], .cta-primary, .cookie-btn, .cookie-btn--settings, .cookie-btn--reject {
  transition: background .16s, color .12s, box-shadow .13s, transform .13s;
}


/* =============================================================
   HELPERS
   ============================================================= */
.hidden { display: none !important; }
.visually-hidden {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.text-center { text-align: center; }
.rounded {
  border-radius: 18px 32px 16px 30px/26px 20px 19px 13px;
}

/* Loader overlay for modal/support */
.cookie-modal__loader {
  display: none;
}

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