/* ==========================================================
   CSS RESET & BASELINE NORMALIZATION
==========================================================*/
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, 
main, 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 {
  scroll-behavior: smooth;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, main, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background: #FBFBFB;
  color: #082136;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  min-height: 100vh;
  overflow-x: hidden;
}
a {
  color: #0B3D91;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #1E6C4C;
  text-decoration: underline;
}
ul, ol {
  list-style: none;
}
img {
  max-width: 100%;
  display: block;
}
button {
  font: inherit;
  cursor: pointer;
  background: none;
  border: none;
}

/* ==========================================================
   BRAND COLORS & VARIABLES
==========================================================*/
:root {
  --primary: #0B3D91;
  --secondary: #1E6C4C;
  --accent: #F4D35E;
  --light-gray: #F8F9FB;
  --dark: #082136;
  --white: #FFFFFF;
  --shadow: 0 2px 12px rgba(11,61,145,0.07);
  --radius-card: 16px;
  --radius-btn: 8px;
  --transition: 0.18s cubic-bezier(.59,.04,.28,1.05);
}

/* ==========================================================
   TYPOGRAPHY: GEOMETRIC & STRUCTURED
==========================================================*/
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  letter-spacing: 0.02em;
  font-weight: 700;
  color: var(--primary);
}
h1 {
  font-size: 2.8rem;
  margin-bottom: 24px;
  line-height: 1.1;
}
h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}
.subheadline {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.25rem;
  color: var(--secondary);
  margin-bottom: 16px;
  letter-spacing: 0.03em;
}
p, li {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 400;
}
strong {
  font-weight: 700;
  color: var(--dark);
}

/* ==========================================================
   CONTAINER & LAYOUT (Flexbox-based!)
==========================================================*/
.container {
  max-width: 1152px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--white);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow);
}

/* Override for very compact pages */
main > section:last-child {
  margin-bottom: 0;
}

/* Structured Grids - Flexbox Only */
.feature-grid, .values-list, .testimonial-list,
.article-list, .course-list, .workshop-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}

.feature-card, .values-item, .course-card, .workshop-card, .testimonial-card, .article-list article {
  background: var(--light-gray);
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(30,108,76, 0.08);
  padding: 32px 28px 28px 28px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 260px;
  max-width: 100%;
  flex: 1 1 320px;
  margin-bottom: 20px;
  position: relative;
  transition: transform var(--transition), box-shadow var(--transition);
}
.feature-card:hover, .values-item:hover, .testimonial-card:hover, .course-card:hover, .workshop-card:hover, .article-list article:hover {
  transform: translateY(-2px) scale(1.025);
  box-shadow: 0 4px 18px 0 rgba(11,61,145,0.14);
}

.values-list {
  gap: 24px;
}

.testimonial-list {
  gap: 20px;
  width: 100%;
}

.testimonial-card {
  background: var(--white);
  border: 2px solid var(--accent);
  color: var(--dark);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  min-width: 260px;
  max-width: 400px;
  padding: 20px;
  margin-bottom: 20px;
  border-radius: 16px;
  box-shadow: 0 2px 10px rgba(11,61,145,0.08);
  transition: box-shadow var(--transition), border-color var(--transition);
}
.testimonial-card p {
  color: var(--dark);
  font-style: italic;
  margin-bottom: 8px;
}
.testimonial-card strong {
  color: var(--primary);
  font-size: 1rem;
}

/* ================================================
   Buttons & Call-to-Action
==================================================*/
.cta, .cta.primary {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  background: var(--primary);
  color: var(--white);
  padding: 14px 40px;
  border-radius: var(--radius-btn);
  border: none;
  outline: none;
  text-transform: uppercase;
  box-shadow: 0 2px 8px rgba(11,61,145,0.10);
  transition: background var(--transition), color var(--transition), transform var(--transition), box-shadow var(--transition);
  position: relative;
  margin: 16px 0 0 0;
  cursor: pointer;
  display: inline-block;
}
.cta.primary {
  background: var(--accent);
  color: var(--primary);
  box-shadow: 0 2px 16px 0 rgba(244,211,94,0.08);
}
.cta:hover, .cta.primary:hover, .cta:focus, .cta.primary:focus {
  background: var(--secondary);
  color: var(--white);
  transform: translateY(-1px) scale(1.03);
  box-shadow: 0 4px 22px 0 rgba(11,61,145,0.15);
  text-decoration: none;
}

/* ================================================
   MAIN NAVIGATION STYLES
==================================================*/
header {
  background: var(--white);
  border-bottom: 2px solid var(--light-gray);
  box-shadow: 0 1px 8px rgba(11,61,145,0.04);
  position: sticky;
  top: 0;
  z-index: 40;
}
.main-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1152px;
  margin: 0 auto;
  padding: 0 20px;
  height: 72px;
}
.main-nav > a img {
  height: 44px;
  width: auto;
  transition: transform 0.15s;
}
.main-nav > a:hover img {
  transform: scale(1.06) skew(-1deg);
}
.main-nav ul {
  display: flex;
  gap: 24px;
  align-items: center;
}
.main-nav li {
  margin: 0;
}
.main-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  padding: 6px 0px;
  border-bottom: 2px solid transparent;
  transition: color var(--transition), border-color var(--transition);
}
.main-nav li a:hover, .main-nav li a.active {
  color: var(--secondary);
  border-bottom: 2px solid var(--accent);
}
.main-nav .cta.primary {
  margin-left: 36px;
}

/* MOBILE MENU BUTTON */
.mobile-menu-toggle {
  display: none;
  background: var(--accent);
  color: var(--primary);
  border-radius: 8px;
  padding: 10px 16px;
  font-size: 1.8rem;
  line-height: 1;
  position: absolute;
  right: 24px;
  top: 16px;
  z-index: 60;
  border: none;
  transition: background var(--transition), color var(--transition);
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: var(--primary);
  color: var(--accent);
}

/* MOBILE MENU OVERLAY */
.mobile-menu {
  display: none;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: var(--white);
  z-index: 100;
  transform: translateX(-100%);
  transition: transform 0.35s cubic-bezier(.77,.12,.27,1.01), box-shadow 0.25s;
  box-shadow: 8px 0 32px 0 rgba(11,61,145,0.18);
}
.mobile-menu.open {
  display: flex;
  transform: translateX(0);
  animation: mobileMenuSlideIn 0.37s cubic-bezier(.77,.12,.27,1.01);
}
@keyframes mobileMenuSlideIn {
  from { transform: translateX(-100%); }
  to   { transform: translateX(0); }
}
.mobile-menu-close {
  align-self: flex-end;
  margin: 24px 32px 0 0;
  font-size: 2.1rem;
  background: none;
  color: var(--primary);
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--accent);
  color: var(--secondary);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 28px;
  width: 100%;
  padding: 36px 36px 0 36px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--primary);
  padding: 12px 0;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  transition: color 0.2s, border-color 0.2s;
  display: block;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--secondary);
  border-bottom: 2px solid var(--accent);
}

/* =================================================
   FOOTER
================================================== */
footer {
  background: var(--primary);
  color: var(--white);
  border-radius: 20px 20px 0 0;
  padding: 42px 0 16px 0;
  margin-top: 40px;
}
.footer-nav {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  margin-bottom: 12px;
}
.footer-nav a {
  color: var(--accent);
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  padding: 2px 12px;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: var(--secondary);
  border-bottom: 2px solid var(--accent);
}
.footer-info {
  text-align: center;
  font-size: 0.95rem;
  color: var(--white);
  margin-top: 6px;
}

/* =================================================
   SECTION SPACING AND STRUCTURE
==================================================*/
.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; }

/* ================================================
   Custom Elements for Each Page Sections
==================================================*/
.text-section {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 20px;
}
.text-section ul, .usp-list ul, .team-intro ul,
.coaching-features ul, .trust-signals ul, .workshop-details ul, .article-categories ul {
  padding-left: 18px;
  margin: 6px 0 10px 0;
  list-style: disc inside;
  font-size: 1rem;
}
.text-section ul li,
.usp-list ul li,
.team-intro ul li,
.coaching-features ul li,
.trust-signals ul li,
.workshop-details ul li,
.article-categories ul li {
  margin-bottom: 7px;
  font-size: 1rem;
}
.team-intro {
  margin: 20px 0 0 0;
  background: var(--light-gray);
  padding: 22px 28px;
  border-radius: 12px;
  box-shadow: 0 1px 8px rgba(30,108,76,0.11);
  width: 100%;
}
.team-intro h3 {
  color: var(--secondary);
}

.feature-price, .course-price, .workshop-price {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.12rem;
  font-weight: 600;
  color: var(--primary);
  background: var(--accent);
  padding: 5px 18px;
  border-radius: 6px 13px 6px 13px;
  margin-top: 14px;
  align-self: flex-start;
  letter-spacing: 0.04em;
}

/* ARTICLE STRUCTURE */
.article-list {
  gap: 24px;
}
.article-list article {
  flex: 1 1 340px;
  min-width: 260px;
  max-width: 400px;
  background: var(--white);
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(30,108,76,0.09);
  padding: 32px 24px 26px 24px;
  border-left: 6px solid var(--secondary);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.article-list article h3 {
  color: var(--primary);
  margin-bottom: 8px;
  font-size: 1.18rem;
}
.article-list article p {
  color: var(--dark);
  margin-bottom: 12px;
}
.article-list article a {
  color: var(--secondary);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.98rem;
  letter-spacing: 0.03em;
  transition: color 0.15s;
}
.article-list article a:hover {
  color: var(--accent);
}

.article-categories {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 24px;
  color: var(--primary);
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
}

.article-categories ul {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  padding: 0;
  list-style: none;
  margin: 0;
}

/* Workshop/Coaching Details */
.coaching-features, .workshop-details {
  margin: 20px 0 0 0;
  background: var(--light-gray);
  border-radius: 10px;
  padding: 22px 32px;
  box-shadow: 0 1px 9px rgba(11,61,145,0.06);
}
.coaching-features h3, .workshop-details h3 {
  margin-bottom: 8px;
}
.trust-signals {
  margin: 18px 0 0 0; 
}
.trust-signals ul {
  color: var(--secondary);
  padding-left: 20px;
}

.legal-content h2 {
  color: var(--secondary);
  margin-top: 32px;
  font-size: 1.14rem;
}
.legal-content ul {
  padding-left: 18px;
  margin-bottom: 12px;
}
.legal-content li {
  margin-bottom: 7px;
  font-size: 1rem;
}

/*******************
   THANK YOU PAGE
********************/
.thank-you-message {
  background: var(--light-gray);
  border-radius: 12px;
  padding: 36px 28px;
  box-shadow: 0 1px 8px rgba(11,61,145,0.06);
  margin-top: 20px;
  text-align: center;
  color: var(--dark);
}

/* ====================================================
   COOKIE CONSENT BANNER
======================================================*/
.cookie-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  box-sizing: border-box;
  background: var(--white);
  border-top: 3px solid var(--accent);
  box-shadow: 0 -3px 24px rgba(11,61,145,0.15);
  padding: 22px 32px;
  z-index: 1200;
  gap: 20px;
  font-size: 1rem;
  animation: cookieBannerFadeIn 0.5s;
}
@keyframes cookieBannerFadeIn {
  from {opacity: 0; transform: translateY(50px);}
  to   {opacity: 1; transform: translateY(0);}
}
.cookie-banner__text {
  flex: 1 1 400px;
  color: var(--dark);
  margin-right: 32px;
}
.cookie-banner__actions {
  display: flex;
  gap: 14px;
}
.cookie-btn {
  background: var(--primary);
  color: var(--white);
  border: none;
  border-radius: 7px;
  padding: 9px 22px;
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  letter-spacing: 0.02em;
  font-weight: 600;
  box-shadow: 0 1px 4px rgba(11,61,145,0.08);
  transition: background var(--transition), color var(--transition);
}
.cookie-btn:hover, .cookie-btn:focus {
  background: var(--accent);
  color: var(--primary);
}
.cookie-btn.settings {
  background: var(--accent);
  color: var(--primary);
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: var(--secondary);
  color: var(--white);
}

/* COOKIE MODAL */
.cookie-modal {
  display: none;
  position: fixed;
  z-index: 1250;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(8,33,54,0.26);
  justify-content: center;
  align-items: center;
}
.cookie-modal.open {
  display: flex;
  animation: cookieModalFadeIn 0.3s;
}
@keyframes cookieModalFadeIn {
  from {opacity:0;}
  to {opacity:1;}
}
.cookie-modal__box {
  background: var(--white);
  border-radius: 18px;
  box-shadow: 0 8px 38px rgba(30,108,76,0.22);
  color: var(--dark);
  padding: 40px 36px 28px 36px;
  min-width: 320px;
  max-width: 97vw;
  width: 420px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
}
.cookie-modal__close {
  position: absolute;
  right: 24px;
  top: 24px;
  font-size: 2.1rem;
  background: none;
  color: var(--primary);
  border: none;
  border-radius: 7px;
  cursor: pointer;
  padding: 2px 7px;
  transition: background var(--transition), color var(--transition);
}
.cookie-modal__close:hover {
  background: var(--accent);
  color: var(--secondary);
}
.cookie-modal__title {
  font-size: 1.28rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  color: var(--primary);
}
.cookie-modal__list {
  margin: 18px 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.cookie-modal__category {
  display: flex;
  align-items: center;
  gap: 10px;
}
.cookie-modal__category label {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  color: var(--secondary);
  font-weight: 500;
  margin-left: 4px;
}
.cookie-switch {
  position: relative;
  width: 42px;
  height: 24px;
  display: inline-block;
}
.cookie-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.cookie-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--light-gray);
  border-radius: 40px;
  transition: background 0.18s;
}
.cookie-switch input:checked + .cookie-slider {
  background: var(--accent);
}
.cookie-slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background: var(--secondary);
  border-radius: 50%;
  transition: transform 0.2s, background 0.2s;
}
.cookie-switch input:checked + .cookie-slider:before {
  transform: translateX(18px);
  background: var(--primary);
}
.cookie-modal__actions {
  display: flex;
  gap: 13px;
  margin-top: 6px;
}

/***************************************************
   RESPONSIVE DESIGN: MOBILE-FIRST (max-width: 768px)
****************************************************/
@media (max-width: 990px) {
  .container {
    padding: 0 14px;
  }
  .main-nav {
    padding: 0 8px;
  }
  .footer-nav {
    gap: 12px;
  }
}
@media (max-width: 768px) {
  body {
    font-size: 15px;
  }
  h1 {
    font-size: 2rem;
  }
  h2 {
    font-size: 1.25rem;
  }
  h3 {
    font-size: 1.08rem;
  }
  section {
    padding: 24px 6px;
    margin-bottom: 36px;
    border-radius: 11px;
  }
  .feature-card, .course-card, .workshop-card, .values-item, .testimonial-card, .article-list article {
    padding: 20px 12px;
    min-width: 0;
    border-radius: 8px;
    margin-bottom: 16px;
  }
  .feature-grid, .values-list, .testimonial-list,
  .article-list, .course-list, .workshop-list {
    flex-direction: column;
    gap: 18px;
  }
  .content-wrapper, .text-section, .team-intro, .coaching-features, .workshop-details {
    padding-left: 0;
    padding-right: 0;
  }
  .main-nav ul {
    display: none;
  }
  .main-nav .cta.primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .mobile-menu {
    padding-top: 0;
  }
  .footer-nav {
    flex-direction: column;
    gap: 6px;
    margin-bottom: 7px;
  }
  .footer-info {
    font-size: 0.94rem;
  }
  .thank-you-message {
    padding: 19px 10px;
  }
  .article-list article {
    padding: 16px 8px;
    border-left-width: 4px;
  }
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 8px;
    gap: 12px;
  }
  .cookie-banner__text {
    margin-right: 0;
    font-size: 0.97rem;
  }
  .cookie-modal__box {
    min-width: 0;
    width: 96vw;
    padding: 20px 7vw 15px 7vw;
    border-radius: 10px;
  }
}

/***************************************************
   GEOMETRIC DECORATIVE ELEMENTS (Brand/Structured)
****************************************************/
.feature-card > img, .values-item > img, .course-card > img, .workshop-card > img {
  width: 42px;
  height: 42px;
  margin-bottom: 12px;
  border-radius: 12px;
  background: var(--accent);
  box-shadow: 0 1px 6px rgba(11,61,145,0.14);
  object-fit: contain;
}

/* Decorative geometric lines for headline sections */
h1:before, h2:before {
  content: '';
  display: inline-block;
  vertical-align: middle;
  width: 22px;
  height: 5px;
  background: var(--accent);
  margin-right: 10px;
  border-radius: 3px;
}

/***************************************************
   MISC
****************************************************/
::-webkit-scrollbar {
  width: 11px;
  background: var(--light-gray);
}
::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 8px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--secondary);
}

input, textarea, select {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
}

/* Utility: visually hidden */
.visually-hidden {
  border: 0;
  clip: rect(0 0 0 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
}

/* Section as flexbox for 100% compatibility */
main > section > .container > .content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
}

/***************************************************
    ENSURE NO OVERLAPPING, CREATE SPACING
****************************************************/
.container, .content-wrapper, .card-container, .content-grid, .feature-grid, .values-list, .testimonial-list, .article-list, .footer-nav, .card, .card-content, .workshop-list, .course-list {
  gap: 20px;
}

/* Make sure min spacing between all cards */
.card, .feature-card, .values-item, .testimonial-card, .course-card, .workshop-card {
  margin-bottom: 20px;
}

/* Prevent content overlap on mobile menu/cookie */
body.menu-open, body.cookie-modal-open {
  overflow: hidden;
  touch-action: none;
}

/******** FONT LOAD (Web Safe Fallbacks) ***********/
@import url('https://fonts.googleapis.com/css?family=Montserrat:400,600,700&display=swap');
@import url('https://fonts.googleapis.com/css?family=Roboto:400,500,700&display=swap');
