/* ------------------------- 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;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  color: #1A2330;
  background: #F6F8FB;
  line-height: 1.6;
  min-height: 100vh;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: #3C7EDB;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #1A2330;
  text-decoration: underline;
}
ul, ol {
  margin-left: 1.5em;
  margin-bottom: 1em;
}
li + li {
  margin-top: 0.4em;
}
section {
  background: #fff;
}

/* ------------------------- BRAND VARIABLES -------------------------- */
:root {
  --color-primary: #1A2330;
  --color-secondary: #3C7EDB;
  --color-accent: #E5E9F2;
  --color-background: #F6F8FB;
  --color-light: #fff;
  --color-dark: #1A2330;
  --color-text: #263143;
  --color-link: #3C7EDB;
  --color-link-hover: #1A2330;
  --color-divider: #E5E9F2;

  --font-display: 'Montserrat', Arial, Helvetica, sans-serif;
  --font-body: 'Roboto', Arial, Helvetica, sans-serif;
}

/* ------------------------- TYPOGRAPHY -------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--color-primary);
  font-weight: 700;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 24px;
  line-height: 1.2;
}
h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  line-height: 1.3;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 16px;
  font-weight: 600;
  line-height: 1.4;
}
h4, h5, h6 {
  font-size: 1rem;
  margin-bottom: 14px;
  font-weight: 500;
}
p.subtitle {
  font-family: var(--font-display);
  color: var(--color-secondary);
  font-size: 1.15rem;
  margin-bottom: 24px;
}
strong, b {
  font-weight: 700;
}
blockquote {
  font-style: italic;
  border-left: 4px solid var(--color-secondary);
  margin: 16px 0 16px 0;
  padding-left: 16px;
  color: var(--color-primary);
  background: #F6F8FB;
}
.brand-tagline {
  font-family: var(--font-display);
  color: var(--color-secondary);
  font-size: 1.1rem;
  font-style: italic;
  border-left: 4px solid var(--color-secondary);
  background: #F6F8FB;
  padding-left: 16px;
  margin-top: 8px;
}

/* ------------------------- MAIN CONTAINER & LAYOUT -------------------------- */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Spacing Patterns */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  border-radius: 14px;
  box-shadow: 0 2px 12px 0 rgba(60, 126, 219, 0.04);
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  box-shadow: 0 2px 10px 0 rgba(26, 35, 48, 0.07);
  border-radius: 12px;
  padding: 28px 22px;
  margin-bottom: 20px;
  position: relative;
  transition: box-shadow 0.18s;
}
.card:hover {
  box-shadow: 0 4px 24px 0 rgba(60, 126, 219, 0.10);
  z-index: 1;
}
.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;
  padding: 20px;
  margin-bottom: 20px;
  background: #F6F8FB;
  border-radius: 10px;
  box-shadow: 0 1px 4px 0 rgba(60, 126, 219, 0.06);
  border: 1px solid #E5E9F2;
  max-width: 540px;
  color: #1A2330;
}
.testimonial-card p {
  margin-bottom: 0;
}
.testimonial-author {
  color: var(--color-secondary);
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-weight: 500;
  margin-top: 0;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 2px 10px 0 rgba(26,35,48,0.05);
  margin-bottom: 20px;
}

/* Feature Grid */
.feature-grid,
.service-grid,
.article-preview-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 16px;
}
.feature-grid > div, .service-grid > div, .article-preview-grid > div {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 10px 0 rgba(26,35,48,0.06);
  padding: 28px 20px 24px 20px;
  min-width: 260px;
  flex: 1 1 260px;
  transition: box-shadow 0.18s, transform 0.18s;
  position: relative;
  margin-bottom: 20px;
}
.feature-grid > div:hover, .service-grid > div:hover, .article-preview-grid > div:hover {
  box-shadow: 0 6px 30px rgba(60,126,219,0.07);
  transform: translateY(-2px) scale(1.03);
}
.feature-grid img, .feature-item img {
  width: 36px;
  height: 36px;
  margin-bottom: 12px;
  filter: drop-shadow(0 2px 4px rgba(60,126,219,0.15));
}

/* Service Pricing */
.service-pricing {
  font-weight: 600;
  color: var(--color-secondary);
  background: #EDF4FE;
  padding: 6px 16px;
  border-radius: 6px;
  font-family: var(--font-display);
  font-size: 0.98rem;
  margin-top: 15px;
  display: inline-block;
}

/* Article Preview Grid */
.article-preview-grid > div {
  border-left: 5px solid var(--color-secondary);
}
.category-tag {
  display: inline-block;
  color: var(--color-secondary);
  background: #F6F8FB;
  font-size: 0.87rem;
  font-weight: 600;
  border-radius: 6px;
  padding: 2px 10px;
  margin-bottom: 6px;
  letter-spacing: 0.03em;
}

/* Badge for Realisations */
.sector-badge {
  display: inline-block;
  color: #fff;
  background: var(--color-secondary);
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  padding: 3px 12px;
  margin-bottom: 8px;
}

.outcome-list {
  margin-top: 10px;
  margin-bottom: 0;
  font-size: 1.05rem;
  color: var(--color-primary);
}

/* ------------------------- BUTTONS -------------------------- */
.btn-primary, .btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 32px;
  min-width: 180px;
  font-size: 1.08rem;
  font-family: var(--font-display);
  font-weight: 600;
  border: none;
  border-radius: 8px;
  text-align: center;
  transition: background 0.16s, color 0.17s, box-shadow 0.17s, transform 0.18s;
  cursor: pointer;
  outline: none;
  margin: 18px 0 0 0;
  box-shadow: 0 2px 10px 0 rgba(60, 126, 219, 0.10);
}
.btn-primary {
  background: var(--color-secondary);
  color: #fff;
}
.btn-primary:hover, .btn-primary:focus {
  background: #295aa5;
  color: #fff;
  transform: translateY(-1px) scale(1.02);
  box-shadow: 0 8px 20px rgba(60, 126, 219, 0.15);
}
.btn-secondary {
  background: #EDF4FE;
  color: var(--color-secondary);
  border: 1.5px solid var(--color-secondary);
}
.btn-secondary:hover, .btn-secondary:focus {
  background: var(--color-secondary);
  color: #fff;
  transform: translateY(-1px) scale(1.02);
  box-shadow: 0 8px 24px rgba(60, 126, 219, 0.13);
}

/* ------------------------- HEADER & NAV -------------------------- */
header {
  background: #fff;
  border-bottom: 1.5px solid #E5E9F2;
  box-shadow: 0 2px 7px rgba(26,35,48,0.03);
  padding: 0 0 0 0;
  position: sticky;
  top: 0;
  z-index: 90;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  padding-top: 9px;
  padding-bottom: 9px;
}
nav {
  display: flex;
  align-items: center;
  gap: 18px;
}
nav a {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--color-primary);
  padding: 6px 8px;
  border-radius: 5px;
  transition: background 0.13s, color 0.13s;
}
nav a:not(.btn-primary):hover, nav a:not(.btn-primary):focus {
  background: #EDF4FE;
  color: var(--color-secondary);
}
nav a.btn-primary {
  margin-left: 20px;
  min-width: 150px;
  padding: 11px 28px !important;
  font-size: 1rem;
}
header img {
  height: 40px;
  width: auto;
  margin-right: 15px;
}
/* Hide mobile menu toggle on desktop */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2.1rem;
  color: var(--color-secondary);
  cursor: pointer;
  padding: 6px 12px;
  margin-left: 16px;
  border-radius: 6px;
  transition: background 0.13s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #EDF4FE;
}

/* ------------------------- MOBILE MENU -------------------------- */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #fff;
  box-shadow: 2px 0 12px rgba(26,35,48,0.20);
  z-index: 9999;
  transform: translateX(-100%);
  transition: transform 0.37s cubic-bezier(.65,-0.4,.23,1.5);
  display: flex;
  flex-direction: column;
  padding: 0 0 0 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  display: inline-block;
  background: none;
  color: var(--color-secondary);
  border: none;
  font-size: 2.2rem;
  line-height: 1;
  padding: 16px 20px 8px 16px;
  align-self: flex-end;
  cursor: pointer;
  margin-bottom: 6px;
  background: #EDF4FE;
  border-radius: 8px;
  transition: background 0.13s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #e5e9f2;
  color: #1A2330;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 24px 32px 16px 32px;
}
.mobile-nav a {
  font-family: var(--font-display);
  font-size: 1.12rem;
  color: var(--color-primary);
  background: none;
  border: none;
  padding: 16px 10px;
  border-radius: 7px;
  transition: background 0.14s, color 0.14s;
  margin: 0;
  font-weight: 500;
}
.mobile-nav a:active, .mobile-nav a:hover, .mobile-nav a:focus {
  background: #EDF4FE;
  color: var(--color-secondary);
}
.mobile-nav a.btn-primary {
  background: var(--color-secondary);
  color: #fff;
  margin-top: 18px;
  padding: 14px 0;
}
.mobile-nav a.btn-primary:hover, .mobile-nav a.btn-primary:focus {
  background: #295aa5;
  color: #fff;
}

/* Burger visibility */
@media (max-width: 991px) {
  nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (min-width: 992px) {
  .mobile-menu {
    display: none !important;
  }
}

/* ------------------------- MAIN & CONTENT -------------------------- */
main {
  min-height: 60vh;
  padding: 28px 0 0 0;
  background: #F6F8FB;
}
.text-section {
  margin-bottom: 16px;
}
.text-section ul {
  margin: 18px 0 8px 22px;
}
.text-section h3 {
  margin-top: 10px;
  color: var(--color-secondary);
}

/* ------------------------- FOOTER -------------------------- */
footer {
  background: #1A2330;
  color: #fff;
  padding: 32px 0 8px 0;
  font-size: 1rem;
  font-family: var(--font-body);
  border-top: 1.5px solid #3C7EDB10;
}
footer .container {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 32px;
}
footer a {
  color: #3C7EDB;
  font-weight: 500;
  transition: color 0.15s;
}
footer a:hover, footer a:focus {
  color: #fff;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 8px;
}
.footer-contact ul {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.98rem;
}
.footer-contact li {
  margin-bottom: 7px;
}
footer img {
  height: 42px;
  width: auto;
  margin-bottom: 16px;
}

/* ------------------------- COOKIE CONSENT BANNER -------------------------- */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 13000;
  background: #fff;
  border-top: 2px solid #E5E9F2;
  box-shadow: 0 -2px 14px 0 rgba(26,35,48,0.07);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 24px 20px 20px 20px;
  gap: 28px;
  font-size: 1rem;
  font-family: var(--font-body);
  opacity: 1;
  transition: transform 0.25s, opacity 0.25s;
}
.cookie-banner.hide {
  opacity: 0;
  pointer-events: none;
  transform: translateY(100%);
}
.cookie-banner button {
  margin-left: 10px;
}
.cookie-banner .btn-primary, .cookie-banner .btn-secondary {
  margin: 0 6px 0 0;
  min-width: 130px;
  padding: 10px 16px;
  font-size: 1rem;
  font-family: var(--font-display);
}
.cookie-banner .btn-secondary {
  border-width: 1.5px;
  background: #EDF4FE;
}

/* Cookie Modal Overlay */
.cookie-modal-backdrop {
  position: fixed;
  z-index: 20001;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(26,35,48,0.32);
  backdrop-filter: blur(2px);
  opacity: 1;
  transition: opacity 0.22s;
}
.cookie-modal-backdrop.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal {
  position: fixed;
  left: 50%;
  bottom: 60px;
  transform: translate(-50%, 60px);
  background: #fff;
  width: 96vw;
  max-width: 420px;
  z-index: 20002;
  border-radius: 14px;
  box-shadow: 0 2px 36px rgba(26,35,48,0.21);
  border: 1.5px solid #E5E9F2;
  padding: 30px 26px 20px 26px;
  display: flex;
  flex-direction: column;
  gap: 23px;
  animation: cookie-modal-in 0.4s cubic-bezier(.67,-0.13,.23,1.3);
}
@keyframes cookie-modal-in {
  from { opacity: 0; transform: translate(-50%, 90px) scale(0.88); }
  to   { opacity: 1; transform: translate(-50%, 60px) scale(1); }
}
.cookie-modal h2 {
  color: var(--color-secondary);
  font-family: var(--font-display);
  margin-bottom: 9px;
}
.cookie-modal label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 1rem;
  font-family: var(--font-body);
}
.cookie-modal-buttons {
  display: flex;
  gap: 12px;
  margin-top: 14px;
  justify-content: flex-end;
}
/* Custom switch */
.switch {
  position: relative;
  width: 36px;
  height: 20px;
}
.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #EDF4FE;
  border-radius: 12px;
  transition: background 0.2s;
}
.switch input:checked + .slider {
  background: var(--color-secondary);
}
.slider:before {
  position: absolute;
  content: '';
  height: 14px;
  width: 14px;
  left: 3px;
  bottom: 3px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.22s, background 0.22s;
  box-shadow: 0 0.5px 2px rgba(60,126,219,0.09);
}
.switch input:checked + .slider:before {
  transform: translateX(16px);
  background: #fff;
}
/* Always enabled for essential cookies */
.switch input[disabled] + .slider {
  opacity: 0.7;
  background: #CBD2DE;
}

/* ------------------------- UTILITY CLASSES -------------------------- */
.mt-32 { margin-top: 32px; }
.mb-8 { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px !important; }
.mb-20 { margin-bottom: 20px; }
.mb-32 { margin-bottom: 32px; }
.text-center { text-align: center; }

/* ------------------------- RESPONSIVE DESIGN -------------------------- */
@media (max-width: 991px) {
  .container {
    max-width: 97vw;
  }
  section {
    padding: 34px 6vw;
    margin-bottom: 38px;
  }
  .content-wrapper,
  .feature-grid,
  .service-grid,
  .article-preview-grid {
    gap: 20px;
  }
  .feature-grid > div,
  .service-grid > div,
  .article-preview-grid > div {
    min-width: 210px;
    padding: 22px 12px;
  }
  .footer-contact {
    margin-top: 20px;
  }
  footer .container {
    gap: 20px;
  }
}
@media (max-width: 768px) {
  .container {
    max-width: 99vw;
    padding: 0 10px;
  }
  section {
    margin-bottom: 22px;
    padding: 26px 2vw;
  }
  .content-wrapper {
    gap: 18px;
  }
  .feature-grid, .service-grid, .article-preview-grid {
    flex-direction: column;
    gap: 20px;
  }
  .feature-grid > div, .service-grid > div, .article-preview-grid > div {
    min-width: unset;
    margin-bottom: 0;
  }
  .card-container {
    flex-direction: column;
  }
  .testimonial-card {
    max-width: 97vw;
    margin-bottom: 16px;
  }
  .content-grid {
    flex-direction: column;
    gap: 18px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  header .container {
    min-height: 53px;
  }
  footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .cookie-modal {
    left: 3vw;
    right: 3vw;
    transform: translate(0, 38px);
    width: 94vw;
    padding: 20px 10px 16px 14px;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 1.65rem;
  }
  h2 {
    font-size: 1.2rem;
  }
  .btn-primary, .btn-secondary {
    font-size: 0.98rem;
    min-width: 108px;
    padding: 11px 8vw;
  }
  section {
    padding: 14px 1vw;
  }
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    font-size: 0.99rem;
    padding: 15px 4vw 12px 4vw;
  }
}

/* ---------------------- ANIMATIONS & MICRO-INTERACTIONS ------------------- */
.btn-primary, .btn-secondary, .mobile-menu-toggle, .mobile-menu-close {
  transition: background 0.13s, color 0.13s, box-shadow 0.18s, transform 0.18s;
}
.card, .feature-grid > div, .service-grid > div, .article-preview-grid > div {
  transition: box-shadow 0.19s, transform 0.18s;
}
.card:hover, .feature-grid > div:hover, .service-grid > div:hover, .article-preview-grid > div:hover {
  box-shadow: 0 8px 30px rgba(60,126,219,0.12);
  transform: translateY(-3px) scale(1.03);
  z-index: 2;
}
nav a:active, .btn-primary:active, .btn-secondary:active  {
  transform: scale(0.97);
}

/* ------------- Remove number input arrows for clean look ------------ */
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;
}

/* -------------------- END OF STYLE.CSS -------------------- */
