/* ========================================================
  CSS RESET & BASE -- Minimalist style for EuropaStart
======================================================== */
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 {
  height: 100%;
  font-size: 16px;
}
body {
  min-height: 100vh;
  background: #fff;
  color: #072F5F;
  font-family: 'Open Sans', Arial, sans-serif;
  line-height: 1.6;
  font-size: 1rem;
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
  border: none;
}

*, *::before, *::after {
  box-sizing: inherit;
}

a {
  color: #072F5F;
  text-decoration: none;
  transition: color 0.2s;
  border-radius: 4px;
}
a:focus {
  outline: 2px solid #21A0A0;
  outline-offset: 2px;
}
a:hover,
a:active {
  color: #21A0A0;
}

ul, ol {
  padding-left: 1.5em;
  margin-bottom: 16px;
}
li {
  margin-bottom: 8px;
}
strong, b {
  font-weight: 600;
}
p, blockquote {
  margin-bottom: 1.2em;
}
blockquote {
  font-size: 1.125rem;
  font-style: italic;
  background: #F4F7FA;
  border-left: 4px solid #21A0A0;
  padding: 16px 20px;
  margin-bottom: 1em;
  color: #072F5F;
}


/* ========================
   TYPOGRAPHY HIERARCHY
   ======================== */
h1, .hero h1 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 24px;
  letter-spacing: -1px;
  color: #072F5F;
  line-height: 1.18;
}
h2 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 20px;
  color: #072F5F;
  line-height: 1.2;
}
h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.3125rem;
  font-weight: 500;
  color: #072F5F;
  margin-bottom: 12px;
  line-height: 1.25;
}
h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  color: #072F5F;
}
p, .text-section, .feature-item, .testimonial-card span {
  font-size: 1rem;
  font-family: 'Open Sans', Arial, sans-serif;
  color: #072F5F;
}
.text-section h3 {
  margin-top: 24px;
  margin-bottom: 12px;
}


/* ==============
  CONTAINER BLOCKS
================== */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
}

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

/* ------- HERO -------- */
.hero {
  background: #F4F7FA;
  padding: 60px 0 40px 0;
  min-height: 340px;
  display: flex;
  align-items: center;
  margin-bottom: 40px;
}
.hero .container {
  display: flex;
  flex-direction: column;
}
.hero .content-wrapper {
  align-items: flex-start;
  gap: 18px;
}
.hero p {
  font-size: 1.25rem;
  color: #072F5F;
  margin-bottom: 16px;
}

/* ========================
   FLEXBOX FLOW BLOCKS
======================== */
.feature-grid,
.card-grid,
.card-container,
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.feature-grid > div, .card-grid > div, .blog_post_grid > div {
  flex: 1 1 250px;
  min-width: 250px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 16px 0 rgba(7, 47, 95, 0.07);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: box-shadow 0.2s;
}
.feature-grid > div img {
  width: 44px;
  margin-bottom: 12px;
}
.feature-grid > div:hover,
.card-grid > div:hover,
.blog_post_grid > div:hover {
  box-shadow: 0 6px 28px 0 rgba(7,47,95,0.11);
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 16px 0 rgba(7, 47, 95, 0.07);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.content-grid {
  gap: 20px;
  justify-content: space-between;
  display: flex;
  flex-wrap: wrap;
}

.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;
  background: #F4F7FA;
  box-shadow: 0 1px 8px 0 rgba(7,47,95,0.08);
  border-radius: 12px;
  margin-bottom: 20px;
  max-width: 480px;
  min-width: 0;
  transition: box-shadow 0.2s, background 0.2s;
}
.testimonial-card blockquote {
  font-size: 1.125rem;
  color: #072F5F;
  border: none;
  padding: 0;
  background: transparent;
  margin-bottom: 0.6em;
}
.testimonial-card span {
  color: #21A0A0;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.3px;
}
.testimonials .content-wrapper {
  flex-direction: row;
  flex-wrap: wrap;
  gap: 24px;
  align-items: flex-start;
}
.testimonials h2 {
  flex-basis: 100%;
}

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

.callout-box {
  background: #F4F7FA;
  border-radius: 12px;
  padding: 24px;
  margin-top: 18px;
  box-shadow: 0 1px 8px 0 rgba(7,47,95,0.06);
}

/* ------ BLOG POST GRID ------ */
.blog_post_grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.blog_post_grid > div {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 16px 0 rgba(7,47,95,0.06);
  padding: 28px 22px;
  transition: box-shadow 0.18s;
}

/* ==================  
    MAIN NAVIGATION
===================*/
header {
  background: #fff;
  border-bottom: 1px solid #F4F7FA;
  position: relative;
  z-index: 40;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  justify-content: flex-start;
  min-height: 72px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  padding: 0 20px;
}
.main-nav a {
  color: #072F5F;
  padding: 8px 16px;
  border-radius: 8px;
  transition: background 0.17s, color 0.17s;
  font-weight: 500;
}
.main-nav a:hover {
  background: #F4F7FA;
  color: #21A0A0;
}
.main-nav a.btn-primary {
  background: #072F5F;
  color: #fff;
  border-radius: 8px;
  padding: 8px 20px;
  margin-left: 18px;
  transition: background 0.18s, color 0.18s;
}
.main-nav a.btn-primary:hover,
.main-nav a.btn-primary:focus {
  background: #21A0A0;
  color: #fff;
}
.main-nav img {
  height: 38px;
  margin-right: 14px;
}

/* Hide mobile nav elements on desktop */
.mobile-menu-toggle,
.mobile-menu {
  display: none;
}

/* ===========
   BUTTONS
============ */
.btn-primary,
button.btn-primary,
input[type=submit].btn-primary {
  background: #072F5F;
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  padding: 12px 28px;
  cursor: pointer;
  box-shadow: 0 3px 16px 0 rgba(7,47,95,0.07);
  transition: background 0.19s, box-shadow 0.2s, color 0.19s;
  margin-top: 16px;
  letter-spacing: 0.03em;
  display: inline-block;
}
.btn-primary:hover,
.btn-primary:active,
.btn-primary:focus {
  background: #21A0A0;
  color: #fff;
  box-shadow: 0 6px 20px 0 rgba(7,47,95,0.10);
  outline: none;
}
button,
input[type=button],
input[type=submit] {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  border: none;
  background: transparent;
  cursor: pointer;
}

/* ==== FORMS & INPUTS ==== */
input[type=email],
input[type=text],
input[type=password],
textarea {
  font-size: 1rem;
  padding: 12px 10px;
  border-radius: 6px;
  border: 1px solid #F4F7FA;
  margin: 8px 0 20px 0;
  outline: none;
  transition: border .18s;
  background: #fff;
}
input[type=email]:focus,
input[type=text]:focus,
input[type=password]:focus,
textarea:focus {
  border: 1.5px solid #21A0A0;
}
label {
  display: block;
  margin-bottom: 8px;
  color: #072F5F;
  font-weight: 500;
}
button[type="submit"] {
  margin-top: 12px;
}

/* ===========
   FOOTER
=========== */
footer {
  background: #fff;
  border-top: 1px solid #F4F7FA;
  padding: 44px 0 18px 0;
  color: #072F5F;
}
footer .container {
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
footer .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 28px;
  justify-content: space-between;
  padding: 0;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 8px;
}
footer nav a {
  color: #072F5F;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 0.97rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
}
footer nav a:hover {
  color: #21A0A0;
  background: #F4F7FA;
}
footer .text-section {
  font-size: 0.97rem;
  color: #072F5F;
}
.social-links {
  display: flex;
  gap: 12px;
  align-items: center;
}
.social-links a img {
  width: 22px;
  height: 22px;
  transition: filter 0.17s;
}
.social-links a:hover img {
  filter: brightness(0.6) saturate(1.3) drop-shadow(0 2px 2px #21A0A050);
}


/* ===================================
  MOBILE NAVIGATION (BURGER MENU)
=================================== */
.mobile-menu-toggle {
  display: none;
}
@media (max-width: 1024px) {
  .main-nav {
    gap: 10px;
    padding-right: 0;
  }
}
@media (max-width: 900px) {
  .main-nav a:not(:first-child):not(.btn-primary) {
    display: none;
  }
}
@media (max-width: 768px) {
  .main-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 1rem;
    gap: 0;
    padding: 0 8px;
  }
  .main-nav a:not(:first-child) {
    display: none;
  }
  .main-nav .btn-primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
    background: transparent;
    border: none;
    font-size: 2.2rem;
    color: #072F5F;
    position: absolute;
    right: 18px;
    top: 14px;
    z-index: 101;
    border-radius: 6px;
    width: 48px;
    height: 48px;
    transition: background 0.16s;
  }
  .mobile-menu-toggle:active, .mobile-menu-toggle:focus {
    background: #F4F7FA;
    outline: 2px solid #21A0A0;
    color: #21A0A0;
  }
  .mobile-menu {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: #fff;
    z-index: 999;
    transform: translateX(-102vw);
    transition: transform 0.4s cubic-bezier(0.8,0,0.2,1);
    box-shadow: 0 2px 24px 0 rgba(7,47,95,0.23);
    will-change: transform;
  }
  .mobile-menu.open {
    transform: translateX(0);
  }
  .mobile-menu-close {
    position: absolute;
    top: 18px;
    right: 18px;
    font-size: 2.0rem;
    background: transparent;
    color: #072F5F;
    border: none;
    z-index: 1001;
    cursor: pointer;
    width: 44px;
    height: 44px;
    border-radius: 6px;
    transition: background 0.15s;
  }
  .mobile-menu-close:active, .mobile-menu-close:focus {
    background: #F4F7FA;
    color: #21A0A0;
    outline: 2px solid #21A0A0;
  }
  .mobile-menu nav.mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-top: 84px;
    padding: 32px 32px;
    font-size: 1.23rem;
    font-family: 'Montserrat', Arial, sans-serif;
  }
  .mobile-nav a {
    color: #072F5F;
    background: #F4F7FA;
    padding: 16px 12px;
    border-radius: 8px;
    font-weight: 600;
    transition: background 0.13s, color 0.13s;
    margin-left: 0;
    display: block;
  }
  .mobile-nav a:hover, .mobile-nav a:focus {
    background: #21A0A02a;
    color: #21A0A0;
    outline: none;
  }
}

/* ==================
   COOKIE CONSENT BAR
==================== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: #fff;
  box-shadow: 0 -2px 30px 0 rgba(7,47,95,0.07);
  padding: 22px 18px 22px 18px;
  z-index: 1500;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
  transition: transform 0.32s cubic-bezier(0.85,0,0.15,1), opacity 0.24s;
}
.cookie-banner.hide {
  transform: translateY(120%);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner .cookie-btns {
  display: flex;
  gap: 14px;
}
.cookie-btn,
.cookie-btn-primary {
  font-family: 'Montserrat', Arial, sans-serif;
  border-radius: 6px;
  padding: 8px 22px;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: background 0.16s, color 0.16s;
}
.cookie-btn {
  background: #F4F7FA;
  color: #072F5F;
}
.cookie-btn:hover,
.cookie-btn:focus {
  background: #21A0A02a;
  color: #21A0A0;
  outline: none;
}
.cookie-btn-primary {
  background: #072F5F;
  color: #fff;
}
.cookie-btn-primary:hover,
.cookie-btn-primary:focus {
  background: #21A0A0;
  color: #fff;
}

/* Cookie Preferences Modal */
.cookie-modal {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(7,47,95,0.17);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1600;
  opacity: 1;
  pointer-events: auto;
  transition: opacity 0.32s;
}
.cookie-modal.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal .cookie-modal-box {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 32px 0 rgba(7,47,95,.15);
  padding: 32px 28px;
  max-width: 420px;
  width: 96vw;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.cookie-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: #072F5F;
}
.cookie-modal-close {
  background: transparent;
  border: none;
  font-size: 1.6rem;
  padding: 2px 10px;
  color: #072F5F;
  cursor: pointer;
  border-radius: 6px;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: #F4F7FA;
  color: #21A0A0;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 7px 0;
}
.cookie-category label {
  font-size: 1rem;
  color: #072F5F;
}
.cookie-category-toggle {
  width: 34px;
  height: 20px;
  border-radius: 60px;
  background: #F4F7FA;
  position: relative;
  transition: background 0.16s;
  border: none;
  cursor: pointer;
  margin-left: 8px;
}
.cookie-category-toggle.checked {
  background: #21A0A0;
}
.cookie-category-toggle::after {
  content: '';
  display: block;
  width: 14px; height: 14px;
  background: #fff;
  border-radius: 50%;
  position: absolute;
  top: 3px;
  left: 3px;
  transition: left 0.22s;
  box-shadow: 0 1px 4px #aaa1;
}
.cookie-category-toggle.checked::after {
  left: 17px;
  background: #fff;
}
.cookie-category input[type=checkbox] {
  display: none;
}
.cookie-modal .cookie-btn-row {
  display: flex;
  gap: 16px;
  margin-top: 8px;
  justify-content: flex-end;
}
.cookie-category.essential label {
  color: #072F5F;
  font-weight: 600;
}
.cookie-category.essential .cookie-category-toggle,
.cookie-category.essential .cookie-category-toggle::after {
  opacity: 0.6;
  pointer-events: none;
}

/* ========================
   RESPONSIVE DESIGN
======================== */
@media (max-width: 1160px) {
  .container {
    max-width: 98vw;
  }
}
@media (max-width: 1050px) {
  .feature-grid > div {
    min-width: 220px;
  }
}
@media (max-width: 900px) {
  .content-wrapper, footer .content-wrapper {
    flex-wrap: wrap;
    gap: 24px;
  }
  .feature-grid {
    gap: 18px;
  }
  .testimonial-card {
    max-width: 100%;
  }
}
@media (max-width: 768px) {
  .container {
    padding: 0 8px;
  }
  .hero {
    padding: 40px 0 24px 0;
    min-height: 220px;
  }
  .hero h1 {
    font-size: 2rem;
  }
  .hero p {
    font-size: 1.05rem;
  }
  .feature-grid, .card-grid, .card-container, .blog_post_grid {
    flex-direction: column;
    gap: 18px;
  }
  .feature-grid > div, .card-grid > div, .blog_post_grid > div,
  .card {
    min-width: 0;
    width: 100%;
    padding: 20px 14px;
    box-sizing: border-box;
  }
  .testimonials .content-wrapper {
    flex-direction: column;
    gap: 18px;
  }
  .section {
    margin-bottom: 38px;
    padding: 22px 2px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
  footer .content-wrapper {
    flex-direction: column;
    gap: 18px;
  }
}
@media (max-width: 600px) {
  h1, .hero h1 { font-size: 1.42rem; }
  h2 { font-size: 1.12rem; }
  .testimonial-card { padding: 14px; }
  .callout-box { padding: 14px; }
  .cookie-modal .cookie-modal-box { padding: 14px 7px; }
}

/* =====================
   MICRO-INTERACTIONS
===================== */
.btn-primary,
.main-nav a,
.card,
.feature-grid > div,
.testimonial-card,
footer nav a,
.card-grid > div {
  transition: box-shadow 0.16s, background 0.16s, color 0.15s;
}

.btn-primary:active {
  outline: 2px solid #21A0A0;
}

input[type=email]:focus {
  outline: 2px solid #21A0A0;
}

/* ==============
   UTILITIES & OVERRIDES
============== */
.mt-32 { margin-top: 32px!important; }
.mb-24 { margin-bottom: 24px!important; }
.mb-40 { margin-bottom: 40px!important; }
.text-center { text-align: center; }
.w100 { width: 100%; }

/* ==============
   VISUAL IMPROVEMENTS
============== */
.feature-grid > div, .card, .blog_post_grid > div {
  box-shadow: 0 2px 16px 0 rgba(7,47,95,0.07);
  border-radius: 16px;
}

/* Hide scroll for mobile menu overlay while open */
body.mobile-menu-open {
  height: 100vh;
  overflow: hidden;
}

/* For form button stacking */
form .text-section {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}

/* Hide navigation visually while mobile menu is open (prevents tabbing) */
@media (max-width: 768px) {
  .main-nav.hide { visibility: hidden; pointer-events: none; }
}

/* ============
   END OF CSS
============ */