/* 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; }
*, *:before, *:after { box-sizing: inherit; }
body { line-height: 1.5; -webkit-font-smoothing: antialiased; background: #EAF3F8; color: #1a1d1f; }
ol, ul { list-style: none; margin: 0; padding: 0; }
img { border-style: none; max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
button { border: none; background: none; font: inherit; cursor: pointer; }

/* BRAND FONTS */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,600,400&display=swap');
@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,600,700&display=swap');
body {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 16px;
  background: #EAF3F8;
  color: #1a1d1f;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #215273;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
}
h1 { font-size: 2.5rem; margin-bottom: 24px; letter-spacing: -.01em; }
h2 { font-size: 2rem; margin-bottom: 20px; letter-spacing: -.008em; }
h3 { font-size: 1.375rem; margin-bottom: 16px; }
h4 { font-size: 1.125rem; margin-bottom: 14px; }

p, ul, li, a, button {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  color: #22333b;
}
strong { font-weight: 700; }
em { font-style: italic; }

/* PRIMARY COLORS */
:root {
  --rm-primary: #215273;
  --rm-secondary: #F8C03A;
  --rm-accent: #EAF3F8;
  --rm-dark: #1a1d1f;
  --rm-light: #fff;
  --rm-gray: #F5F7FA;
  --rm-gray-2: #cfd8dc;
  --rm-shadow: rgba(33,82,115,0.08);
}

/* ------------------------------------------ */
/* LAYOUT CONTAINERS & SPACING                */
/* ------------------------------------------ */
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--rm-accent);
  border-radius: 24px;
  box-shadow: 0 2px 16px var(--rm-shadow);
}

/* HERO SECTIONS WITH GRADIENT MODERN STYLING */
.hero {
  background: linear-gradient(120deg, #fff 0%, var(--rm-accent) 70%, #c5e1f3 100%);
  border-bottom: 4px solid #2152730c;
  padding: 0;
  margin-bottom: 0;
}
.hero .container {
  padding-top: 48px;
  padding-bottom: 48px;
}
.hero .content-wrapper {
  align-items: flex-start;
  gap: 16px;
}

/* Responsive text alignment for hero */
@media (max-width: 600px) {
  .hero .content-wrapper { align-items: center; text-align: center; }
}

/* CARD CONTAINERS */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  flex: 1 1 240px;
  margin-bottom: 20px;
  padding: 24px;
  background: var(--rm-light);
  border-radius: 16px;
  box-shadow: 0 2px 16px var(--rm-shadow);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  transition: box-shadow .25s;
  position: relative;
}
.card:hover {
  box-shadow: 0 8px 32px rgba(33,82,115,0.18);
  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;
}
@media (max-width: 768px) {
  .text-image-section { flex-direction: column; align-items: flex-start; gap: 20px; }
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
}

.features ul, .services ul, .cta ul, .contact ul {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 10px;
  margin-bottom: 20px;
}
.features li,
.services li,
.cta ul li,
.contact ul li {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 15px;
  font-size: 1.06rem;
  line-height: 1.5;
  background: none;
}

@media (min-width: 768px) {
  .features ul, .services ul, .cta ul, .contact ul {
    flex-direction: row;
    gap: 32px;
    flex-wrap: wrap;
  }
  .features li, .services li, .cta ul li, .contact ul li {
    flex: 1 1 230px;
    min-width: 200px;
    background: none;
    margin-bottom: 0;
  }
}

/* ------------------------------------------ */
/* BUTTONS & CTA STYLES                       */
/* ------------------------------------------ */
.cta-primary,
.cta-secondary {
  padding: 14px 32px;
  border: none;
  border-radius: 30px;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  cursor: pointer;
  transition: background .2s, color .2s, box-shadow .2s, transform .13s;
  box-shadow: 0 4px 20px rgba(33,83,115,0.07);
  margin-top: 12px;
  display: inline-block;
}
.cta-primary {
  background: linear-gradient(100deg, var(--rm-primary) 60%, var(--rm-secondary) 120%);
  color: #fff;
  letter-spacing: 0.02em;
}
.cta-primary:hover, .cta-primary:focus {
  background: linear-gradient(96deg, #17344c 60%, var(--rm-secondary) 120%);
  color: #fff;
  box-shadow: 0 6px 24px rgba(33,83,115,0.17);
  transform: translateY(-2px) scale(1.025);
}
.cta-secondary {
  background: #fff;
  color: var(--rm-primary);
  border: 2px solid var(--rm-primary);
  margin-left: 8px;
}
.cta-secondary:hover, .cta-secondary:focus {
  background: #f8c03a;
  color: var(--rm-primary);
  border-color: #f8c03a;
  transform: translateY(-1px) scale(1.01);
}

/* ------------------------------------------ */
/* TESTIMONIALS                              */
/* ------------------------------------------ */
.testimonials {
  background: linear-gradient(120deg, var(--rm-accent) 60%, #fff 120%);
  border-radius: 0 0 24px 24px;
  margin-bottom: 60px;
  padding-top: 32px;
  padding-bottom: 32px;
}
.testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 14px rgba(33,82,115,0.10);
  padding: 20px 24px;
  margin-bottom: 24px;
  max-width: 400px;
  min-width: 220px;
  flex: 1 1 320px;
  color: #22333b;
  font-size: 1.04rem;
  transition: box-shadow .2s;
}
.testimonial-card:hover {
  box-shadow: 0 6px 28px rgba(33,82,115,0.16);
}
.testimonial-card strong {
  color: var(--rm-primary);
}
.testimonial-card em {
  color: var(--rm-secondary);
}
.testimonial-card img {
  height: 20px;
  width: 20px;
  display: inline-block;
  vertical-align: middle;
}
@media (max-width: 900px) {
  .testimonial-slider {
    flex-direction: column;
    gap: 20px;
  }
  .testimonial-card {
    max-width: 100%;
  }
}

/* ------------------------------------------ */
/* MOBILE NAVIGATION                         */
/* ------------------------------------------ */
header {
  background: #fff;
  box-shadow: 0 2px 8px rgba(33,82,115,0.06);
  padding: 0;
  position: relative;
  z-index: 10;
}
header nav {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  min-height: 56px;
  padding: 12px 20px 12px 20px;
  justify-content: flex-start;
}
header nav img {
  height: 38px;
  width: auto;
  margin-right: 12px;
}
header nav a {
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--rm-primary);
  padding: 8px 16px;
  border-radius: 18px;
  font-weight: 600;
  line-height: 1.2;
  transition: background .2s,color .13s;
}
header nav a:hover, header nav a:focus {
  background: var(--rm-accent);
  color: #17344c;
}
header nav .cta-primary {
  margin-left: 20px;
  background: linear-gradient(90deg, var(--rm-primary), var(--rm-secondary));
  color: #fff;
  font-weight: 700;
}
@media (max-width: 1050px) {
  header nav { gap: 10px; }
  header nav .cta-primary { margin-left: 8px; }
}
@media (max-width: 900px) {
  header nav { gap: 3px; }
  header nav .cta-primary { font-size: 0.97rem; padding: 10px 19px; }
}

header .mobile-menu-toggle {
  display: none;
  position: absolute;
  top: 13px;
  right: 16px;
  height: 38px;
  width: 38px;
  font-size: 2rem;
  color: var(--rm-primary);
  background: var(--rm-accent);
  border-radius: 10px;
  z-index: 102;
  transition: background .14s;
}
header .mobile-menu-toggle:focus,
header .mobile-menu-toggle:hover {
  background: #e1e9ef;
  color: #17344c;
}

@media (max-width: 900px) {
  header nav {
    display: none;
  }
  header .mobile-menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

/* MOBILE MENU OVERLAY */
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  height: 100vh; width: 100vw;
  background: linear-gradient(120deg, #f2f8fa 60%, #e9f7ff 120%);
  box-shadow: 0 4px 44px rgba(33,83,115,.13);
  transform: translateX(-100%);
  transition: transform .4s cubic-bezier(.77,.2,.05,1.0);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding-top: 0;
  visibility: hidden;
}
.mobile-menu.open {
  transform: translateX(0%);
  visibility: visible;
}
.mobile-menu-close {
  margin: 27px 16px 18px 22px;
  font-size: 2.3rem;
  color: var(--rm-primary);
  background: var(--rm-accent);
  border-radius: 8px;
  padding: 0 14px;
  align-self: flex-start;
  transition: background .15s;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  background: #d5e4ed;
  color: #17344c;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100vw;
  padding: 16px 0 24px 32px;
}
.mobile-nav a {
  padding: 14px 24px 14px 0;
  font-size: 1.15rem;
  color: var(--rm-primary);
  border-radius: 9px 0 0 9px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  letter-spacing: .01em;
  transition: background .18s, color .14s;
  width: 94vw;
  margin-left: 0;
  margin-right: 0;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--rm-secondary);
  color: #17344c;
}
@media (min-width: 901px) {
  .mobile-menu, .mobile-menu-toggle { display: none!important; }
}

/* ------------------------------------------ */
/* FOOTER                                    */
/* ------------------------------------------ */
footer {
  background: linear-gradient(90deg,#fff 60%,#e6f2fa 120%);
  border-top: 2px solid #e1e9f2;
  padding: 36px 0 16px 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 12px;
  justify-content: center;
}
footer nav a {
  font-size: 0.98rem;
  color: var(--rm-primary);
  font-weight: 600;
  transition: color 0.17s;
  padding: 5px 8px;
  border-radius: 6px;
}
footer nav a:hover, footer nav a:focus { background: var(--rm-accent); color: #17344c; }
footer .text-section { text-align: center; color: var(--rm-dark); font-size: 0.98rem;opacity:0.92; }

/* ------------------------------------------ */
/* FAQ                                       */
/* ------------------------------------------ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding-bottom: 10px;
}
.faq-item {
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 2px 12px rgba(33,83,115,0.06);
  padding: 20px 26px;
  color: #22333b;
  transition: box-shadow .24s;
}
.faq-item:hover {
  box-shadow: 0 6px 24px rgba(33,82,115,0.13);
}
.faq-item h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
  font-weight: 700;
  color: var(--rm-primary);
}

@media (max-width: 700px) {
.faq-item { padding: 15px 15px; }
}

/* ------------------------------------------ */
/* LEGAL PAGES                               */
/* ------------------------------------------ */
.legal .container {
  padding-top: 60px;
  padding-bottom: 40px;
}
.legal .content-wrapper {
  background: #fff;
  border-radius: 20px;
  padding: 36px 20px;
  box-shadow: 0 2px 16px rgba(33,82,115,0.07);
}
.legal .text-section {
  margin-top: 10px;
  font-size: 1.03rem;
  color: #22333b;
  line-height: 1.7;
}
.legal h1, .legal h2 { color: var(--rm-primary); margin-bottom:16px; }
.legal ul { margin-bottom: 18px; }
.legal ul li { margin-bottom:8px; }

/* ------------------------------------------ */
/* CONTACT / MAP SNIPPET                     */
/* ------------------------------------------ */
.map-snippet {
  width: 100%;
  max-width: 350px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(33,83,115,0.10);
  margin-top: 10px;
}

/* ------------------------------------------ */
/* GENERAL UTILITIES                         */
/* ------------------------------------------ */
a[href^="mailto:"], a[href^="tel:"] {
  color: var(--rm-primary);
  text-decoration: underline;
}

/* SPACING BETWEEN CARDS & SECTIONS */
.section, .features, .services, .about, .cta, .testimonials, .contact, .faq, .legal {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.section:last-child, main > section:last-child { margin-bottom: 0; }
.card, .testimonial-card, .faq-item { margin-bottom: 20px; }

/* LIST ICONS */
.features li img, .services li img, .cta ul li img, .contact ul li img {
  height: 32px;
  width: 32px;
  display: inline-block;
  margin-right: 4px;
}

/* ------------------------------------------ */
/* MODALS/BANNERS                            */
/* ------------------------------------------ */
/* COOKIE CONSENT BANNER */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: linear-gradient(90deg, #fff 78%, #e1ebf3 120%);
  color: #22333b;
  box-shadow: 0 -4px 24px rgba(33,83,115,0.11);
  z-index: 3100;
  padding: 22px 30px 22px 30px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
  font-size: 1rem;
  transition: transform .3s cubic-bezier(.25,.75,.24,1.18),opacity .3s;
}
.cookie-banner.hide {
  display: none;
  opacity: 0;
  transform: translateY(100%);
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.cookie-banner button {
  padding: 10px 22px;
  border-radius: 20px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  margin-right: 0;
  border: none;
  outline: none;
  transition: background .16s, color .13s, box-shadow .14s;
  cursor: pointer;
}
.cookie-banner button.accept {
  background: linear-gradient(90deg, var(--rm-primary), var(--rm-secondary));
  color: #fff;
}
.cookie-banner button.accept:hover, .cookie-banner button.accept:focus {
  background: #17344c;
}
.cookie-banner button.reject {
  background: #fff;
  color: var(--rm-primary);
  border: 2px solid var(--rm-primary);
}
.cookie-banner button.reject:hover, .cookie-banner button.reject:focus {
  background: #eaf3f8;
}
.cookie-banner button.settings {
  background: var(--rm-secondary);
  color: var(--rm-primary);
}
.cookie-banner button.settings:hover, .cookie-banner button.settings:focus {
  background: #ffdea2;
}

/* COOKIE SETTINGS MODAL */
.cookie-modal {
  display: none;
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) scale(0.96);
  background: #fff;
  border-radius: 26px;
  box-shadow: 0 8px 44px rgba(33,82,115,0.22);
  z-index: 3200;
  padding: 40px 32px;
  width: 98vw;
  max-width: 420px;
  transition: opacity .23s, transform .25s cubic-bezier(.75,.25,.1,1);
  opacity: 0;
}
.cookie-modal.open {
  display: block;
  opacity: 1;
  transform: translate(-50%, -50%) scale(1.00);
}
.cookie-modal h3 {
  margin-bottom: 12px;
  color: var(--rm-primary);
  font-size: 1.2rem;
  font-weight: 700;
}
.cookie-modal .modal-section {
  margin-bottom: 18px;
  padding: 13px 0 0 0;
}
.cookie-modal label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.98rem;
  color: #22333b;
}
.cookie-modal input[type="checkbox"] {
  accent-color: var(--rm-primary);
  width: 19px; height: 19px;
}
.cookie-modal .cookie-actions {
  display: flex;
  flex-direction: row;
  gap: 18px;
  margin-top: 25px;
}
.cookie-modal .essential {
  font-style: italic;
  color: #777;
  margin-left: 7px;
  font-size: 0.95em;
}
.cookie-modal .close-modal {
  position: absolute;
  right: 20px;
  top: 18px;
  font-size: 1.5rem;
  background: none;
  color: #666;
  border-radius: 6px;
  padding: 0 6px;
  transition: background .13s;
}
.cookie-modal .close-modal:hover { background: #eaf3f8; }

@media (max-width: 700px) {
  .cookie-banner {
    flex-direction: column;
    gap: 20px;
    padding: 16px 12px 18px 12px;
    font-size: 0.97rem;
  }
  .cookie-banner .cookie-actions {
    flex-direction: row;
    gap: 10px;
  }
  .cookie-modal {
    width: 98vw;
    max-width: 97vw;
    padding: 25px 8px 24px 8px;
  }
}

/* ------------------------------------------ */
/* MEDIA QUERIES FOR RESPONSIVENESS          */
/* ------------------------------------------ */
@media (max-width: 1050px) {
  .container { max-width: 97vw; }
}
@media (max-width: 900px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.4rem; }
  .section, .features, .services, .about, .cta, .testimonials, .contact, .faq, .legal {
    padding: 24px 8px;
    margin-bottom: 38px;
  }
}
@media (max-width: 600px) {
  .container {
    padding-left: 7px;
    padding-right: 7px;
  }
  h1, h2 { font-size: 1.18rem; }
  .card, .testimonial-card { padding: 15px 10px; }
}

section, main > section {
  min-width: 0;
}

/* CONVENIENCE: Hide elements visually only */
.sr-only { position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(1px,1px,1px,1px);white-space:nowrap; }

/* PAGE SPECIFIC: THANK YOU PAGE */
.thank-you {
  text-align: center;
  margin-top: 80px;
  margin-bottom: 60px;
}
/* Hide scroll when modal open (for JS) */
body.modal-open { overflow: hidden!important; }

/* Micro-interactions */
.card,
.testimonial-card,
.faq-item,
.cookie-banner,
.cookie-modal,
.cta-primary,
.cta-secondary,
header nav a,
footer nav a {
  transition: box-shadow .17s, background .14s, color .14s, transform .13s;
}

/* End Modern Gradient UI for Ripple Minds Brussel */
