/* ------------------ CSS RESET & BASE ------------------ */
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 {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  line-height: 1.6;
  background: #F5F7FA;
  color: #152944;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  font-size: 16px;
}
img { max-width: 100%; height: auto; display: block; }
a {
  color: #009688;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover,
a:focus {
  color: #003366;
  text-decoration: underline;
}
ul, ol {
  margin-left: 24px;
}

/* ------------------ TYPOGRAPHY & HEADING ------------------ */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #003366;
  margin-bottom: 16px;
  font-weight: 700;
  line-height: 1.2;
}
h1 { font-size: 2.7rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.1rem; }
p, ul, ol, li {
  font-size: 1rem;
  margin-bottom: 12px;
}
.subheadline {
  color: #4A637D;
  font-size: 1.2rem;
  margin-bottom: 20px;
}
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
  h3 { font-size: 1.1rem; }
}

/* ------------------ LAYOUT CONTAINERS ------------------ */
.container {
  max-width: 1170px;
  margin: 0 auto;
  padding: 0 24px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  position: relative;
  margin-bottom: 20px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 4px 24px rgba(0,38,86,0.07);
  overflow: hidden;
  transition: transform 0.18s, box-shadow 0.18s;
}
.card:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 8px 32px rgba(0,38,86,0.16);
}

/* ------------------ HEADER ------------------ */
header {
  background: linear-gradient(90deg, #003366 0%, #009688 100%);
  padding: 0;
  box-shadow: 0 4px 18px rgba(0,48,102,0.11);
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}
.logo {
  display: flex;
  align-items: center;
}
.logo img {
  height: 42px;
  width: auto;
}
.main-nav {
  display: flex;
  gap: 28px;
  align-items: center;
}
.main-nav a {
  color: #F5F7FA;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  padding: 8px 0;
  transition: color 0.2s;
  position: relative;
}
.main-nav a:hover, .main-nav a:focus {
  color: #00b3a7;
}
.cta-button {
  background: linear-gradient(90deg, #009688 0%, #32C7AE 100%);
  color: #fff;
  border-radius: 40px;
  padding: 10px 32px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  box-shadow: 0 2px 10px 0 rgba(0,153,136,0.12);
  margin-left: 24px;
  transition: background 0.22s, box-shadow 0.18s, transform 0.18s;
  display: inline-block;
}
.cta-button:hover, .cta-button:focus {
  background: linear-gradient(90deg, #003366 0%, #009688 100%);
  color: #fff;
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 6px 16px 0 rgba(0,153,136,0.17);
}

/* MOBILE MENU TOGGLE */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2.2rem;
  color: #FFF;
  cursor: pointer;
  margin-left: 24px;
  z-index: 1202;
  transition: color 0.15s;
}
.mobile-menu-toggle:focus {
  outline: 2px solid #009688;
  color: #00b3a7;
}
@media (max-width: 1020px) {
  header .container {
    padding: 0 14px;
  }
}
@media (max-width: 950px) {
  .main-nav {
    display: none;
  }
  .cta-button {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

/* ------------------ MOBILE MENU ------------------ */
.mobile-menu {
  display: flex!important;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 1500;
  background: linear-gradient(115deg, #003366 0%, #009688 100%);
  transform: translateX(100%);
  transition: transform 0.33s cubic-bezier(.66,.01,.57,.98);
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 28px 28px 16px 28px;
  width: 100vw;
  min-height: 100vh;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  color: #FFF;
  border: none;
  font-size: 2rem;
  align-self: flex-end;
  margin-bottom: 36px;
  cursor: pointer;
  transition: color 0.18s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #00b3a7;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.mobile-nav a {
  color: #FFF;
  font-size: 1.16rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  padding: 12px 0;
  font-weight: 500;
  transition: color 0.18s, background 0.18s;
  border-radius: 6px;
  min-width: 180px;
}
.mobile-nav a:active, .mobile-nav a:focus, .mobile-nav a:hover {
  color: #003366;
  background: rgba(250,250,253,0.13);
  text-decoration: underline;
}
@media (min-width: 951px) {
  .mobile-menu { display: none!important; }
}

/* ------------------ HERO/INTRO & GENERAL SECTIONS ------------------ */
section {
  margin-bottom: 60px;
  padding: 40px 0px;
}
section:first-child {
  margin-top: 0;
  padding-top: 34px;
}
@media (max-width: 768px) {
  .section, section { padding: 32px 0 24px 0; margin-bottom: 36px; }
  .container { padding: 0 12px; }
}

/* Banner/h1 area with gradient decoration */
section:first-of-type {
  background: linear-gradient(92deg,#009688 10%,#003366 99%);
  color: #fff;
}
section:first-of-type h1, section:first-of-type p, section:first-of-type .cta-button {
  color: #fff;
}

/* ------------------ FEATURE/USP GRID ------------------ */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-top: 18px;
  justify-content: space-between;
}
.feature-item {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 16px rgba(0,51,102,0.075);
  padding: 28px 22px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  min-width: 240px;
  max-width: 340px;
  flex: 1 1 220px;
  transition: box-shadow 0.18s, transform 0.18s;
}
.feature-item img {
  height: 44px;
  width: 44px;
  margin-bottom: 8px;
}
.feature-item h3 {
  color: #009688;
  font-size: 1.11rem;
  margin-bottom: 8px;
}
.feature-item:hover {
  box-shadow: 0 8px 32px rgba(0,51,102,0.18);
  transform: translateY(-4px);
}

/* ------------------ SERVICE/SUBSECTION CARDS ------------------ */
.service-list, .guide-categories, .news-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
  margin-top: 20px;
}
.service-item, .guide-item, .news-item {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0,38,86,0.07);
  padding: 24px 20px;
  flex: 1 1 220px;
  min-width: 220px;
  max-width: 355px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 13px;
  transition: box-shadow 0.15s,transform 0.15s;
}
.service-item h3, .guide-item h3, .news-item h3 {
  color: #003366;
  font-size: 1.06rem;
  margin-bottom: 4px;
}
.service-item:hover, .guide-item:hover, .news-item:hover {
  box-shadow: 0 8px 34px rgba(0,38,86,0.22);
  transform: scale(1.025) translateY(-2px);
}
.service-cta, .access-cta {
  margin-top: 12px;
  text-align: center;
}

/* ------------------ TESTIMONIALS ------------------ */
.testimonials {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 20px;
  align-items: flex-start;
  justify-content: flex-start;
}
.testimonial-card {
  background: #F5F7FA;
  border-left: 6px solid #009688;
  border-radius: 18px;
  box-shadow: 0 2px 12px rgba(0,38,86,0.08);
  color: #1E374E;
  min-width: 280px;
  flex: 1 1 260px;
  padding: 20px 24px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
  transition: box-shadow 0.16s, border 0.19s;
}
.testimonial-card p {
  margin-bottom: 6px;
  color: #233451;
  font-size: 1.08rem;
}
.testimonial-author {
  color: #00615d;
  font-style: italic;
  font-size: .99rem;
}
.testimonial-card:hover,
.testimonial-card:focus {
  box-shadow: 0 6px 22px rgba(0,96,93,0.24);
  border-color: #003366;
}

/* ------------------ ACCORDION/QUESTION / FAQ SECTIONS ------------------ */
.accordion {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.question-item {
  background: #FFF;
  border-radius: 14px;
  border-left: 4px solid #009688;
  margin-bottom: 10px;
  box-shadow: 0 3px 12px rgba(0,51,102,0.05);
  padding: 16px 18px 12px 22px;
  transition: border 0.16s, box-shadow 0.18s;
}
.question-item h3 {
  font-size: 1.075rem;
  color: #003366;
  margin-bottom: 7px;
}
.question-item:hover, .question-item:focus-within {
  border-color: #003366;
  box-shadow: 0 5px 20px rgba(0,51,102,0.16);
}

/* ------------------ FOOTER ------------------ */
footer {
  background: linear-gradient(90deg,#003366 0%,#009688 100%);
  color: #F5F7FA;
  padding: 38px 0 2px 0;
  font-size: .98rem;
  box-shadow: 0 -2px 14px rgba(0,51,102,0.09);
}
footer .container {
  display: flex;
  gap: 40px;
  justify-content: space-between;
  flex-wrap: wrap;
  align-items: flex-start;
}
.footer-brand img {
  height: 38px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
}
.footer-nav a {
  color: #F5F7FA;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  margin-bottom: 2px;
  font-weight: 500;
  font-size: .99rem;
  transition: color .18s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #32C7AE;
  text-decoration: underline;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-contact p {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #F5F7FA;
  margin-bottom: 2px;
}
.footer-contact img {
  height: 18px; width: 18px;
  opacity: 0.88;
}
@media (max-width: 768px) {
  footer .container {
    flex-direction: column;
    gap: 22px;
    align-items: flex-start;
  }
}

/* ------------------ TEXT-IMAGE & FLEX-BASED SECTIONS ------------------ */
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .feature-grid, .service-list, .guide-categories, .news-cards, .testimonials, .content-grid, .card-container {
    flex-direction: column;
    gap: 20px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
  }
}

/* ------------------ GENERAL BUTTONS & INTERACTIONS ------------------ */
button, .cta-button, input[type=submit] {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  border: none;
  outline: none;
}
button:focus, .cta-button:focus {
  outline: 2px solid #009688;
  outline-offset: 2px;
}
/* List tweaks for clarity */
ul li:not(:last-child), ol li:not(:last-child) {
  margin-bottom: 6px;
}
strong { color: #003366; }

/* ------------------ SPACING (MANDATORY) ------------------ */
.section { margin-bottom: 60px; padding: 40px 20px; }
.card-container { display: flex; flex-wrap: wrap; gap: 24px; }
.card { margin-bottom: 20px; position: relative; }
.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; align-items: center; gap: 20px; padding: 20px; }
.feature-item { display: flex; flex-direction: column; align-items: flex-start; gap: 15px; }

/* 20px minimum between cards */
.card, .feature-item, .service-item, .testimonial-card, .guide-item, .news-item {
  margin-bottom: 20px; /* additional to gap for strong spacing */
}

/* Prevent overlapping */
.card, .feature-item, .service-item, .testimonial-card, .guide-item, .news-item {
  z-index: 1;
}

/* ------------------ RESPONSIVE ADAPTATIONS ------------------ */
@media (max-width: 600px) {
  h1 { font-size: 1.34rem; }
  h2 { font-size: 1.11rem; }
  .feature-item, .service-item, .guide-item, .news-item {
    padding: 18px 10px;
    min-width: 0;
    max-width: 100%;
  }
  .section, section {
    padding: 18px 0 18px 0;
  }
}

/* ------------------ COOKIES CONSENT BANNER ------------------ */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 1550;
  background: #fff;
  color: #152944;
  box-shadow: 0 -3px 24px rgba(0,51,102,0.16);
  padding: 18px 24px 18px 24px;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 28px;
  justify-content: space-between;
  font-size: 1rem;
  transition: transform 0.38s;
}
.cookie-banner.hide {
  transform: translateY(120%);
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 16px;
  align-items: center;
}
.cookie-banner button, .cookie-banner .cookie-settings-btn {
  padding: 8px 22px;
  border-radius: 28px;
  border: none;
  font-weight: 600;
  cursor: pointer;
  margin: 0 2px;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  transition: background 0.17s, color 0.15s;
}
.cookie-banner .accept {
  background: #009688;
  color: #fff;
}
.cookie-banner .accept:hover { background: #003366; }
.cookie-banner .reject {
  background: #F5F7FA;
  color: #009688;
  border: 1.5px solid #009688;
}
.cookie-banner .reject:hover, .cookie-banner .reject:focus {
  background: #e0eced;
  color: #003366;
  border-color: #003366;
}
.cookie-banner .cookie-settings-btn {
  background: #003366;
  color: #FFF;
}
.cookie-banner .cookie-settings-btn:hover, .cookie-banner .cookie-settings-btn:focus {
  background: #009688;
  color: #FFF;
}

@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    gap: 12px;
    font-size: .98rem;
    padding: 14px 10px;
    align-items: flex-start;
  }
  .cookie-banner .cookie-actions {
    gap: 10px;
    flex-wrap: wrap;
  }
}

/* COOKIE PREF MODAL */
.cookie-modal {
  display: none;
  position: fixed;
  z-index: 1611;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(12,27,56,0.42);
  align-items: center;
  justify-content: center;
  animation: fadeInModalBg 0.37s;
}
.cookie-modal.open {
  display: flex;
}
@keyframes fadeInModalBg {
  0% { background: rgba(12,27,56,0.0); }
  100% { background: rgba(12,27,56,0.42); }
}
.cookie-modal-dialog {
  background: #fff;
  border-radius: 24px;
  padding: 36px 26px 26px 26px;
  min-width: 310px;
  max-width: 94vw;
  min-height: 220px;
  box-shadow: 0 7px 40px rgba(0,51,102,0.24);
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  animation: modalZoomIn 0.29s;
}
@keyframes modalZoomIn {
  0% { transform: scale(.90); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}
.cookie-modal-close {
  position: absolute;
  top: 18px; right: 18px;
  background: none;
  color: #009688;
  font-size: 1.6rem;
  border: none;
  cursor: pointer;
  transition: color .19s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  color: #003366;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #F5F7FA;
  border-radius: 12px;
  padding: 12px 12px;
  font-size: 1rem;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
}
.cookie-category .category-toggle {
  margin-left: auto;
  accent-color: #009688;
  transform: scale(1.20);
}
.cookie-category .essential-label {
  color: #009688;
  font-weight: bold;
}
@media (max-width: 480px) {
  .cookie-modal-dialog {
    padding: 16px 4vw 18px 4vw;
    min-width: 0;
    width: 96vw;
  }
}

/* ------------------ MICRO-INTERACTIONS & EFFECTS ------------------ */
.card, .feature-item, .service-item, .testimonial-card, .guide-item, .news-item, .cta-button,
.mobile-menu, .mobile-menu-close, .cookie-banner button, .cookie-modal-close {
  transition: box-shadow 0.18s, transform 0.16s, background 0.18s, color 0.16s;
}

/* Hide default scroll on mobile-menu when closed */
.mobile-menu {
  overflow-y: auto;
}
body.menu-open {
  overflow: hidden;
}

/* ---- Misc Utility ---- */
.text-section {
  margin-bottom: 38px;
}
.access-cta, .service-cta {
  margin-bottom: 20px;
}

/* ------------------ SPECIAL CLASSES FOR VISUAL HIERARCHY ------------------ */
.news-featured ul {
  display: flex;
  gap: 22px;
  padding: 0;
}
.news-featured ul li {
  list-style: none;
}
.news-featured ul li a {
  color: #009688;
  padding: 6px 14px;
  border-radius: 12px;
  background: #f2fcfb;
  font-size:1rem;
  transition: background 0.16s, color 0.16s;
}
.news-featured ul li a:hover {
  background: #009688;
  color: #fff;
}
@media (max-width:700px) {
  .news-featured ul {
    flex-direction: column;
    gap: 10px;
  }
}

/* Utility for .text-image-section if used for visual layouts */
.text-image-section img {
  max-width: 300px;
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(0,51,102,0.11);
}

/* ------------------ END OF CSS FILE ------------------ */

