/* ============================== */
/*         CSS RESET              */
/* ============================== */
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; }
*, *:before, *:after { box-sizing: inherit; }
body {
  line-height: 1.5;
  background: #FAF5F0;
  color: #222;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 16px;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
ul, ol {
  list-style: none;
  padding-left: 0;
}
a {
  color: #24B47E;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #178860;
  outline: none;
}
img {
  max-width: 100%;
  vertical-align: middle;
}
input, button, textarea, select {
  font-family: inherit;
  font-size: 16px;
}
button {
  border: none;
  background: none;
  cursor: pointer;
}

/* ========================== */
/*  BRAND COLORS & VARIABLES */
/* ========================== */
:root {
  --primary: #1A3557;         /* dark blue */
  --secondary: #F1F6F9;       /* pale off-white */
  --accent: #24B47E;          /* friendly green */
  --warm1: #FDE8D5;           /* extra warm peach */
  --warm2: #FFD9B8;           /* light warm peach */
  --warm3: #FFB885;           /* strong friendly */
  --gray: #ECECEC;
  --dark: #212121;
  --shadow: 0 2px 10px rgba(34, 34, 34, 0.10);
}

/* ============================== */
/*        TYPOGRAPHY              */
/* ============================== */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: var(--primary);
  letter-spacing: 0.01em;
  margin-bottom: 12px;
  font-weight: 700;
}
h1 { font-size: 2.5rem; line-height: 1.16; margin-bottom: 20px; }
h2 { font-size: 1.75rem; line-height: 1.2; margin-bottom: 16px; }
h3 { font-size: 1.25rem; line-height: 1.25; margin-bottom: 10px; font-weight: 600; }
h4 { font-size: 1rem; line-height: 1.3; }
p, li, address {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  color: var(--dark);
  font-size: 1rem;
  margin-bottom: 1em;
}
strong { font-weight: 700; }
.cta-main, .cta-link {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
}
/* Links in navigation and buttons */
nav a:not(.cta-main) {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: var(--primary);
  font-size: 1rem;
  font-weight: 500;
  margin-right: 20px;
  transition: color 0.25s;
}
nav a:last-child { margin-right: 0; }
nav a:hover, nav a:focus {
  color: var(--accent);
  text-decoration: underline;
}
address {
  font-style: normal;
}

/* ============================== */
/*     LAYOUT PATTERNS & CONTAINERS */
/* ============================== */
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: white;
  border-radius: 24px;
  box-shadow: var(--shadow);
}
@media(max-width: 768px){
  .section {
    padding: 28px 10px;
    margin-bottom: 36px;
    border-radius: 16px;
  }
}

/* Card containers */
.card-container, .card-grid, .feature-grid, .guides-grid, .usp-blocks, .value-propositions, .sector-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: stretch;
}
.card {
  background: var(--secondary);
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 28px 24px;
  margin-bottom: 20px;
  position: relative;
  flex: 1 1 320px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 4px 24px rgba(34,34,34,0.14);
  transform: translateY(-2px) scale(1.01);
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }
}

.content-grid, .resource-content, .faq-accordion {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
@media (max-width: 900px) {
  .card-container, .card-grid, .feature-grid, .guides-grid, .usp-blocks, .value-propositions, .sector-grid, .content-grid {
    flex-direction: column;
    gap: 20px;
  }
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: var(--warm1);
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 20px 18px 24px 18px;
  flex: 1 1 250px;
  min-width: 220px;
  transition: box-shadow 0.16s, transform 0.16s;
}
.feature-item img {
  width: 38px;
  height: 38px;
  margin-bottom: 10px;
}
.feature-item:hover {
  box-shadow: 0 6px 32px rgba(34,34,34,0.13);
  transform: translateY(-4px);
}

@media (max-width: 900px) {
  .feature-grid {
    flex-direction: column;
    gap: 18px;
  }
  .feature-item {
    min-width: 0;
  }
}

/* ============================== */
/*      HEADER & NAVIGATION       */
/* ============================== */
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  background: white;
  box-shadow: 0 2px 10px rgba(34, 34, 34, 0.09);
  position: sticky;
  top: 0; left: 0; right: 0;
  z-index: 50;
}
header img {
  height: 46px;
}
.main-nav {
  display: flex;
  flex-direction: row;
  gap: 10px;
  align-items: center;
}
@media (max-width: 1000px) {
  .main-nav {
    gap: 4px;
  }
}
.cta-main {
  background: var(--accent);
  color: white !important;
  border-radius: 25px;
  font-size: 1.13rem;
  padding: 10px 26px;
  margin-left: 28px;
  transition: background 0.21s, box-shadow 0.17s, transform 0.25s;
  box-shadow: 0 2px 10px rgba(36,180,126,0.12);
  cursor: pointer;
  border: none;
  display: inline-block;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
}
.cta-main:hover, .cta-main:focus {
  background: #178860;
  box-shadow: 0 6px 32px rgba(36,180,126,0.20);
  transform: translateY(-2px) scale(1.04);
}
.cta-link {
  background: none;
  color: var(--accent);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: underline;
  transition: color 0.18s;
}
.cta-link:hover, .cta-link:focus { color: #178860; }

.mobile-menu-toggle {
  display: none;
  background: var(--accent);
  color: #fff;
  font-size: 2.2rem;
  padding: 6px 16px;
  border-radius: 12px;
  border: none;
  margin-left: 18px;
  transition: background 0.16s;
  z-index: 599;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #178860;
}
/* Hide main nav + show burger on small screens */
@media (max-width: 900px) {
  .main-nav {
    display: none;
  }
  .cta-main {
    margin-left: 16px;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

/* ============================== */
/*      MOBILE SLIDE MENU         */
/* ============================== */
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 92vw;
  max-width: 380px;
  height: 100vh;
  background: #fff;
  box-shadow: -6px 0 40px rgba(34,34,34,0.18);
  transform: translateX(110%);
  transition: transform 0.34s cubic-bezier(.47,1.64,.41,.8);
  z-index: 900;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  background: none;
  color: var(--primary);
  font-size: 2.1rem;
  margin: 24px 24px 12px 0;
  border: none;
  border-radius: 8px;
  width: 44px;
  height: 44px;
  line-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.17s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--warm2);
  color: #222;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 0 36px 36px 36px;
  align-items: flex-start;
}
.mobile-nav a {
  color: var(--primary);
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.15rem;
  font-weight: 500;
  padding: 16px 0;
  margin: 0;
  width: 100%;
  text-align: left;
  border-bottom: 1px solid var(--gray);
  transition: background 0.15s, color 0.18s;
}
.mobile-nav a:last-child { border-bottom: none; }
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--warm1);
  color: var(--accent);
}
@media (min-width: 901px) {
  .mobile-menu, .mobile-menu-toggle { display: none !important; }
}
/* Overlay for menu (optional for focus trapping) */
.mobile-menu::before {
  content: '';
  display: none;
}

/* ============================== */
/*          HERO SECTION          */
/* ============================== */
.hero {
  background: linear-gradient(99deg, var(--warm1) 65%, var(--warm2) 100%);
  border-radius: 0 0 38px 38px;
  padding: 48px 0 0 0;
  margin-bottom: 54px;
  min-height: 320px;
}
.hero .content-wrapper {
  align-items: flex-start;
  gap: 18px;
  padding-top: 36px;
}
.hero h1 { color: var(--primary); }
.hero p {
  font-size: 1.18rem;
  color: #4C4238;
  margin-bottom: 12px;
}

/* ============================== */
/*     FEATURES & GRID BLOCKS     */
/* ============================== */
.features {
  background: none;
  margin-bottom: 60px;
}
.features .feature-grid {
  margin-top: 16px;
}

/* ============================== */
/*     TESTIMONIALS SECTION       */
/* ============================== */
.testimonials {
  background: var(--warm2);
  margin-bottom: 64px;
  border-radius: 18px;
  padding: 32px 0;
}
.testimonials .content-wrapper {
  gap: 26px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: #fff;
  border-radius: 18px;
  padding: 28px 24px 20px 24px;
  box-shadow: var(--shadow);
  margin-bottom: 20px;
  max-width: 600px;
  color: #3A3125;
  font-size: 1.03rem;
  transition: box-shadow 0.16s, transform 0.1s;
}
.testimonial-card:hover {
  box-shadow: 0 8px 40px rgba(221,162,105,0.15);
  transform: scale(1.012);
}
.testimonial-info {
  margin-top: 14px;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: var(--accent);
  font-weight: 600;
}
@media (max-width: 800px) {
  .testimonials {
    padding: 18px 0;
    border-radius: 12px;
    margin-bottom: 36px;
  }
  .testimonial-card {
    padding: 16px 10px;
    border-radius: 12px;
  }
}

/* ============================== */
/*           CTA BAR              */
/* ============================== */
.cta {
  background: var(--primary);
  color: white;
  border-radius: 18px;
  padding: 36px 0 40px 0;
  text-align: center;
  margin-bottom: 45px;
}
.cta .content-wrapper {
  align-items: center;
}
.cta h2 {
  color: white;
  font-size: 2rem;
}
.cta-main {
  margin: 22px 0 0 0;
}

/* ============================== */
/*          ABOUT PAGE            */
/* ============================== */
.about,
.team,
.advantages,
.services,
.process,
.steps,
.sector-overview,
.case-studies,
.resources-library,
.events,
.faq,
.contact-hero,
.contact-form,
.thank-you,
.legal-content {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: white;
  border-radius: 24px;
  box-shadow: var(--shadow);
}
.advantages .usp-blocks, .features .value-propositions, .resources-library .guides-grid, .sector-overview .sector-grid {
  gap: 24px;
}
.advantages .usp-blocks > div,
.features .value-propositions > div,
.resources-library .guides-grid > div,
.sector-overview .sector-grid > div {
  background: var(--warm1);
  border-radius: 14px;
  box-shadow: 0 1px 8px rgba(34,34,34,0.06);
  padding: 18px 14px 16px 14px;
  flex: 1 1 240px;
}
@media(max-width:900px){
  .about, .team, .advantages, .services, .process, .steps, .sector-overview, .case-studies, .resources-library, .events, .faq, .contact-hero, .contact-form, .thank-you, .legal-content {
    padding: 22px 7px;
    border-radius: 16px;
  }
  .usp-blocks, .guides-grid, .sector-grid, .value-propositions {
    flex-direction: column;
    gap: 16px !important;
  }
  .usp-blocks > div, .guides-grid > div, .sector-grid > div, .value-propositions > div {
    min-width: 0;
  }
}

/* ============================== */
/*       ADDRESS & ICON LISTS     */
/* ============================== */
address div, .contact-details div {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
  color: var(--primary);
}
address img, .contact-details img {
  width: 22px;
  height: 22px;
}

/* ============================== */
/*              FAQ               */
/* ============================== */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.faq-accordion > div {
  background: var(--warm2);
  border-radius: 14px;
  box-shadow: 0 1px 7px rgba(34,34,34,0.06);
  padding: 16px 12px 15px 18px;
  cursor: pointer;
  transition: box-shadow 0.12s;
}
.faq-accordion h3 {
  font-size: 1.12rem;
  margin-bottom: 5px;
  color: var(--primary);
}
.faq-accordion > div:hover {
  box-shadow: 0 2px 14px rgba(36,180,126,0.10);
}

/* ============================== */
/*      FOOTER DESIGN             */
/* ============================== */
footer {
  background: var(--primary);
  color: #fff;
  padding: 44px 0 24px 0;
  margin-top: 60px;
  border-radius: 30px 30px 0 0;
}
.footer-wrapper {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  flex-direction: row;
  gap: 48px;
  align-items: flex-start;
  justify-content: space-between;
  padding: 0 20px;
  flex-wrap: wrap;
}
.footer-wrapper > a img {
  height: 46px;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

footer address div{
	 color: #fff!important;
}
footer nav a {
  color: #fff!important;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  margin-bottom: 3px;
  text-decoration: none;
  transition: color 0.17s;
}
footer nav a:hover {
  color: var(--accent);
}
footer address {
  color: #E5E9F0;
  font-size: 0.99rem;
}
@media (max-width: 900px) {
  .footer-wrapper {
    flex-direction: column;
    align-items: flex-start;
    gap: 26px;
  }
  footer {
    padding-left: 0;
    padding-right: 0;
    border-radius: 22px 22px 0 0;
  }
}

/* ============================== */
/*     COOKIE CONSENT BANNER      */
/* ============================== */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 22px 16px;
  background: #fffbe8;
  color: #423519;
  box-shadow: 0 -2px 24px rgba(34,34,34,0.14);
  border-top: 4px solid var(--accent);
  z-index: 1001;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 32px;
  justify-content: space-between;
  max-width: 800px;
  margin: 0 auto;
  border-radius: 20px 20px 0 0;
  animation: slideInBottom 0.5s cubic-bezier(.42,1.17,.41,0.97);
}
@keyframes slideInBottom {
  from { transform: translateY(150%); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
.cookie-banner p {
  color: #423519;
  margin: 0;
  font-size: 1rem;
}
.cookie-actions {
  display: flex;
  gap: 12px;
  flex-direction: row;
}
.cookie-btn, .cookie-settings-btn {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  border: none;
  padding: 7px 22px;
  border-radius: 22px;
  font-size: 1rem;
  margin: 0 2px;
  cursor: pointer;
  transition: background .17s, color .18s, box-shadow .14s;
}
.cookie-btn.accept {
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  box-shadow: 0 2px 10px rgba(36,180,126,0.11);
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: #178860;
}
.cookie-btn.reject {
  background: #FDE8D5;
  color: #B4350B;
  font-weight: 600;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #FFD9B8;
  color: #A32600;
}
.cookie-settings-btn {
  background: transparent;
  color: var(--primary);
  text-decoration: underline;
}
.cookie-settings-btn:hover, .cookie-settings-btn:focus {
  color: var(--accent);
  text-decoration: underline;
}
@media(max-width:600px){
  .cookie-banner {
    flex-direction: column;
    gap: 12px;
    padding: 15px 7px;
    font-size: 0.97rem;
  }
  .cookie-actions {
    gap:6px;
  }
}

/* ============================== */
/*   COOKIE MODAL PREFERENCES     */
/* ============================== */
.cookie-modal-overlay {
  position: fixed;
  left:0; top:0; right:0; bottom:0;
  width:100vw; height:100vh;
  z-index: 1600;
  background: rgba(24,34,60,0.37);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeInModalBg .27s;
}
@keyframes fadeInModalBg {
  from { opacity:0; }
  to { opacity:1; }
}
.cookie-modal {
  background: #fff;
  padding: 38px 26px 24px 26px;
  border-radius: 24px;
  max-width: 400px;
  width: 96vw;
  box-shadow: 0 18px 40px rgba(34,34,34,0.22);
  animation: slideInModal 0.28s cubic-bezier(.47,1.64,.41,.8);
  display: flex;
  flex-direction: column;
  gap: 18px;
}
@keyframes slideInModal {
  from { transform: translateY(60px) scale(0.98); opacity: 0; }
  to { transform: translateY(0) scale(1); opacity: 1; }
}
.cookie-modal h2 {
  color: var(--primary);
  font-size: 1.4rem;
  margin-bottom: 8px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
  font-size: 1.01rem;
}
.cookie-toggle {
  width: 36px;
  height: 20px;
  border-radius: 12px;
  background: var(--gray);
  position: relative;
  flex-shrink: 0;
  margin-right: 7px;
}
.cookie-toggle[aria-checked="true"] {
  background: var(--accent);
}
.cookie-toggle span {
  position: absolute;
  left: 2px;
  top: 2px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  transition: left 0.22s cubic-bezier(.54,1.61,.36,.93), background 0.14s;
}
.cookie-toggle[aria-checked="true"] span {
  left: 18px;
  background: #fff;
}
.cookie-category .toggle-label { font-weight: 500; }
.cookie-save-btn {
  margin-top: 18px;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 18px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.09rem;
  font-weight: 600;
  padding: 8px 22px;
  cursor: pointer;
  box-shadow: 0 1px 7px rgba(36,180,126,0.09);
  transition: background 0.14s;
}
.cookie-save-btn:hover, .cookie-save-btn:focus {
  background: #178860;
}
.cookie-modal-close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: none;
  font-size: 1.5rem;
  color: var(--primary);
  border: none;
}
@media(max-width:600px){
  .cookie-modal {
    padding: 22px 5px 16px 12px;
    border-radius: 16px;
    max-width: 95vw;
  }
  .cookie-modal-close {
    top: 7px; right: 11px;
  }
}

/* ============================== */
/*    UTILITIES, TRANSITIONS      */
/* ============================== */
.rounded {
  border-radius: 15px !important;
}
.shadow-sm {
  box-shadow: var(--shadow) !important;
}
.d-none {
  display: none !important;
}
.d-flex {
  display: flex !important;
}
.flex-column {
  flex-direction: column !important;
}
.flex-row {
  flex-direction: row !important;
}
.gap8 { gap: 8px !important; }
.gap16 { gap: 16px !important; }
.gap24 { gap: 24px !important; }
@media (max-width:500px) {
  h1 { font-size: 1.5rem; }
  h2 { font-size: 1.13rem; }
  h3 { font-size: 1.01rem; }
  body { font-size: 15px; }
}

/* ============================== */
/*   MISCELLANEOUS (HTML etc)     */
/* ============================== */
li {
  margin-bottom: 10px;
  line-height: 1.6;
}
ol > li { list-style: decimal inside; margin-left: 18px; }
ul > li { list-style: disc inside; margin-left: 18px; }
ul ul, ul ol, ol ul, ol ol { margin-bottom:0; }

hr {
  border: none;
  border-top: 1px solid var(--gray);
  margin: 22px 0;
}

/* ============================== */
/*     SELECTION COLORS           */
/* ============================== */
::selection {
  background: #FFD9B8;
  color: var(--primary);
}

/* ============================== */
/*   FOCUS/VISIBILITY STATES      */
/* ============================== */
:focus {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* ============================== */
/* BUTTON ANIMATION MICROINTER.   */
/* ============================== */
a.cta-main, .cookie-btn, .cookie-save-btn {
  will-change: transform, box-shadow;
}
a.cta-main:active, .cookie-btn:active, .cookie-save-btn:active {
  transform: scale(.97);
}

/* ============================== */
/* Hide content overlap & ensure regular spacing */
/* ============================== */
section:not(:last-child) {
  margin-bottom: 60px;
}
.card:not(:last-child), .testimonial-card:not(:last-child) {
  margin-bottom: 24px;
}

/* ============================== */
/*    CUSTOM SCROLLBAR (Webkit)   */
/* ============================== */
html {
  scrollbar-width: thin;
  scrollbar-color: var(--warm3) #EEE;
}
::-webkit-scrollbar { width: 10px; background: #EFEFEF; }
::-webkit-scrollbar-thumb { background: var(--warm3); border-radius: 11px; }

/* ============================== */
/*        END GLOBAL CSS          */
/* ============================== */
