/* ================================
   CSS RESET & BASE STYLES
   ================================ */
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,
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 {
  height: 100%;
  scroll-behavior: smooth;
}
body {
  min-height: 100%;
  background: #fff;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  color: #236652;
  font-size: 16px;
  line-height: 1.7;
}
*, *:before, *:after {
  box-sizing: inherit;
}
img, svg {
  max-width: 100%;
  display: block;
}
a {
  color: #236652;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #174e3e;
  outline: none;
}
ul, ol {
  list-style: none;
  margin: 0 0 1em 0;
  padding: 0;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background: none;
  border: none;
  outline: none;
  padding: 0;
}
:root {
  --brand-primary: #236652;
  --brand-secondary: #BFE7C9;
  --brand-accent: #F4F1EC;
  --on-accent: #236652;
  --text-main: #236652;
  --text-dim: #4c7666;
  --white: #fff;
  --border: #e1e7e3;
  --focus-shadow: 0 0 0 2px #BFE7C9;
  --shadow-card: 0 2px 12px 0 rgba(35,102,82,0.06);
  --shadow-hover: 0 4px 20px 0 rgba(35,102,82,0.14);
  --radius: 10px;
  --transition: 0.18s cubic-bezier(.5,.5,0,1);
}

/* ===================================
   TYPOGRAPHY
   =================================== */
h1, .h1 {
  font-family: 'Roboto Slab', serif;
  font-weight: 600;
  font-size: 2.5rem;
  line-height: 1.22;
  margin-bottom: 28px;
  color: var(--text-main);
}
h2, .h2 {
  font-family: 'Roboto Slab', serif;
  font-weight: 500;
  font-size: 2rem;
  line-height: 1.22;
  margin-bottom: 24px;
  color: var(--text-main);
}
h3, .h3 {
  font-family: 'Roboto Slab', serif;
  font-weight: 400;
  font-size: 1.25rem;
  line-height: 1.3;
  margin-bottom: 18px;
  color: var(--text-dim);
}
h4, .h4 {
  font-size: 1.125rem;
  font-family: 'Roboto Slab', serif;
}
p, .text-section p {
  font-size: 1rem;
  margin-bottom: 18px;
  color: var(--text-main);
}
strong {
  font-weight: bold;
}
.text-section ul {
  margin-bottom: 18px;
  padding-left: 16px;
}
.text-section ul li {
  list-style: disc inside;
  margin-bottom: 8px;
  color: var(--text-dim);
}
.text-section ol {
  margin-left: 16px;
  margin-bottom: 18px;
}
.text-section ol li {
  list-style: decimal inside;
  margin-bottom: 8px;
}

/* ===============================
   LAYOUT CONTAINERS
   =============================== */
.container {
  width: 100%;
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
section {
  width: 100%;
  background: var(--white);
  margin-bottom: 60px;
  padding: 40px 20px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  transition: box-shadow var(--transition);
}
section:last-child {
  margin-bottom: 0;
}
.hero {
  background: var(--brand-accent);
  box-shadow: none;
  border-radius: 0 0 var(--radius) var(--radius);
  padding-top: 60px;
  padding-bottom: 60px;
}
.hero .content-wrapper {
  align-items: flex-start;
}

/* ===============================
   FLEXBOX PATTERNS
   =============================== */
.card-container, .benefit-list, .testimonial-slider, .testimonial-list, .offer-cards, .course-grid, .team-profiles, .feature-grid, .value-list, .faq-accordion {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-card);
  transition: box-shadow var(--transition), transform var(--transition);
}
.card:hover, .testimonial-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px) scale(1.02);
}
.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: 16px;
  padding: 20px 32px 20px 24px;
  background: var(--brand-accent);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  min-width: 260px;
  max-width: 330px;
  color: var(--text-main);
  margin-bottom: 20px;
  transition: box-shadow var(--transition), transform var(--transition);
}
.testimonial-name {
  font-size: .95rem;
  color: var(--brand-primary);
  font-family: 'Roboto Slab', serif;
  font-weight: 500;
  margin-top: 8px;
}
.feature-item, .value-list li, .feature-grid li {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  padding: 16px 0;
}
.feature-grid,
.value-list {
  width: 100%;
  gap: 24px;
}
.feature-grid li, .value-list li {
  background: var(--white);
  flex: 1 1 240px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 16px 18px;
  margin-bottom: 20px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 1rem;
  color: var(--text-main);
}
.feature-grid li img, .value-list li img {
  width: 28px;
  height: 28px;
  margin-right: 12px;
}
.team-profiles li {
  flex: 1 1 230px;
  background: var(--brand-accent);
  border-radius: var(--radius);
  padding: 24px 18px;
  margin-bottom: 20px;
  color: var(--text-main);
  font-size: 1rem;
  box-shadow: var(--shadow-card);
}
.benefit-list li {
  flex: 1 1 210px;
  min-width: 190px;
  background: var(--brand-accent);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 18px 16px 18px 16px;
  font-size: 1rem;
  margin-bottom: 20px;
}
.offer-cards, .course-grid {
  width: 100%;
}
.offer-cards .text-section, .course-grid .text-section {
  flex: 1 1 220px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  margin-bottom: 20px;
  padding: 18px 16px 18px 16px;
  color: var(--text-main);
  min-width: 200px;
  transition: box-shadow var(--transition), transform var(--transition);
}
.offer-cards .text-section:hover, .course-grid .text-section:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}
/* FAQ & Registration Step Styling */
.faq-accordion .text-section, .step-by-step-registration ol {
  flex: 1 1 260px;
  background: var(--brand-accent);
  border-radius: var(--radius);
  margin-bottom: 20px;
  padding: 16px 16px 12px 16px;
  min-width: 220px;
}
.step-by-step-registration ol {
  background: var(--white);
}
.step-by-step-registration h3 {
  margin-bottom: 10px;
}

/* ===============================
    NAVIGATION
   =============================== */
header {
  width: 100%;
  background: var(--white);
  box-shadow: 0 1px 0 var(--border);
  z-index: 1002;
  position: relative;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  justify-content: flex-start;
  padding: 18px 0 14px 0;
}
.main-nav a {
  font-size: 1rem;
  color: var(--text-main);
  padding: 6px 10px;
  border-radius: 6px;
  transition: background var(--transition), color var(--transition);
}
.main-nav a.button {
  margin-left: 14px;
}
.main-nav a:hover, .main-nav a:focus {
  background: var(--brand-accent);
  color: var(--brand-primary);
}
/* LOGO sizing */
.main-nav img {
  max-height: 38px;
  border-radius: 0;
  margin-right: 12px;
}
.button.primary {
  font-family: 'Roboto Slab', serif;
  background: var(--brand-primary);
  color: var(--white);
  border-radius: 6px;
  padding: 10px 26px;
  font-size: 1.1rem;
  letter-spacing: .01em;
  font-weight: 500;
  box-shadow: 0 2px 10px 0 rgba(35,102,82,.045);
  border: none;
  transition: background var(--transition), box-shadow var(--transition), transform var(--transition);
  display: inline-block;
  cursor: pointer;
}
.button.primary:hover, .button.primary:focus {
  background: #174e3e;
  box-shadow: 0 4px 14px rgba(35,102,82,0.14);
  transform: translateY(-1px) scale(1.04);
}
.button {
  transition: background var(--transition), color var(--transition), box-shadow var(--transition), transform var(--transition);
}

.mobile-menu-toggle {
  display: none;
  position: absolute;
  right: 20px;
  top: 20px;
  background: var(--brand-accent);
  border: none;
  color: var(--brand-primary);
  font-size: 2rem;
  border-radius: 8px;
  padding: 6px 16px;
  cursor: pointer;
  z-index: 1003;
  transition: background var(--transition), box-shadow var(--transition);
}
.mobile-menu-toggle:focus {
  box-shadow: var(--focus-shadow);
}
/* MOBILE NAV */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw;
  height: 100vh;
  background: var(--white);
  z-index: 9999;
  transform: translateX(100%);
  transition: transform 0.33s cubic-bezier(.8,.1,.3,1);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  box-shadow: -4px 0 22px 2px rgba(35,102,82,0.09);
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.active {
  transform: translateX(0);
  opacity: 1;
  pointer-events: all;
}
.mobile-menu-close {
  background: none;
  border: none;
  color: var(--brand-primary);
  font-size: 2rem;
  padding: 14px 14px 0 14px;
  align-self: flex-end;
  margin-bottom: 16px;
  cursor: pointer;
  z-index: 10102;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  padding-left: 32px;
}
.mobile-nav a {
  font-size: 1.1rem;
  color: var(--brand-primary);
  padding: 8px 0;
  border-bottom: 1px solid #e6efe9;
  border-radius: 0;
  display: block;
}
.mobile-nav a:focus, .mobile-nav a:hover {
  background: var(--brand-accent);
}

/* ===============================
   TABLE STYLING
   =============================== */
table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  margin: 0 0 22px 0;
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  font-size: 1rem;
}
thead, th {
  background: var(--brand-accent);
  color: var(--brand-primary);
  font-family: 'Roboto Slab', serif;
  padding: 12px 8px;
}
th, td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}
tr:last-child td {
  border-bottom: none;
}

/* ===============================
    FOOTER
   =============================== */
footer {
  background: var(--brand-accent);
  padding: 0;
  border-radius: var(--radius) var(--radius) 0 0;
  margin-top: 64px;
  box-shadow: 0 -2px 10px 0 rgba(35,102,82,0.038);
}
footer .container {
  padding-bottom: 0;
  padding-top: 0;
}
footer .content-wrapper {
  align-items: center;
  gap: 12px;
  padding: 42px 0 24px 0;
}
footer img {
  max-height: 44px;
  margin-bottom: 12px;
}
.footer-menu {
  margin: 18px 0 6px 0;
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
}
.footer-menu a {
  color: var(--brand-primary);
  font-size: 1rem;
  opacity: 0.89;
  padding: 3px 10px;
  border-radius: 5px;
  transition: background var(--transition);
}
.footer-menu a:hover, .footer-menu a:focus {
  background: var(--white);
}
.footer-contact {
  color: var(--text-dim);
  margin-bottom: 7px;
  text-align: center;
  font-size: 0.99rem;
}
.footer-contact a {
  color: var(--brand-primary);
  text-decoration: underline;
}
.copyright {
  color: var(--text-dim);
  font-size: .93rem;
  margin-top: 8px;
  opacity: 0.78;
  text-align: center;
}

/* ===============================
   CONTACT / DETAILS BLOCKS
   =============================== */
.contact-details, .opening-hours {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin: 18px 0;
  color: var(--text-main);
}
.contact-details > div {
  display: flex;
  align-items: center;
  gap: 10px;
}
.address {
  margin-bottom: 18px;
}
.map-embed {
  margin-bottom: 18px;
}
.opening-hours {
  background: var(--brand-accent);
  border-radius: var(--radius);
  padding: 18px 16px 18px 16px;
  color: var(--brand-primary);
}

/* ===============================
   THANK YOU PAGE
   =============================== */
.thank-you-message {
  padding: 32px 18px;
  max-width: 600px;
  background: var(--brand-accent);
  border-radius: var(--radius);
  color: var(--brand-primary);
  box-shadow: var(--shadow-card);
  margin-bottom: 30px;
}
.next-steps-info ul {
  margin-bottom: 20px;
}

/* ===============================
   ANIMATIONS & MICRO-INTERACTIONS
   =============================== */
.button, a.button, .button.primary {
  transition: background var(--transition), color var(--transition), box-shadow var(--transition), transform var(--transition);
}
.card, .text-section, .feature-grid li, .value-list li, .testimonial-card, .benefit-list li, .team-profiles li {
  transition: box-shadow var(--transition), transform var(--transition);
}
.card:hover, .text-section:hover, .feature-grid li:hover, .value-list li:hover, .testimonial-card:hover, .benefit-list li:hover, .team-profiles li:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px) scale(1.015);
}

/* ===============================
   COOKIE CONSENT BANNER
   =============================== */
#cookie-consent-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--brand-accent);
  box-shadow: 0 -2px 18px rgba(35,102,82,0.10);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 18px;
  gap: 24px;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(100%);
  pointer-events: none;
  transition: opacity .26s cubic-bezier(.7,.2,0,1), transform .32s cubic-bezier(.7,.2,0,1);
  font-size: 1rem;
  border-radius: 18px 18px 0 0;
}
#cookie-consent-banner.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
#cookie-consent-banner .cookie-message {
  color: var(--brand-primary);
  font-size: 1rem;
  margin-right: 12px;
  margin-bottom: 6px;
}
#cookie-consent-banner .cookie-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
}
.cookie-btn, #cookie-consent-banner .button {
  font-family: 'Roboto Slab', serif;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  padding: 8px 22px;
  border: none;
  background: var(--brand-primary);
  color: var(--white);
  transition: background var(--transition), box-shadow var(--transition);
  margin-left: 0;
}
.cookie-btn.secondary {
  background: var(--white);
  color: var(--brand-primary);
  border: 1px solid var(--brand-primary);
}
.cookie-btn:hover, .cookie-btn.secondary:hover{
  background: #174e3e;
  color: var(--white);
}
.cookie-btn.settings {
  background: var(--brand-secondary);
  color: var(--brand-primary);
  border: none;
}
.cookie-btn.settings:hover {
  background: #9dbeb2;
  color: var(--brand-primary);
}

/* COOKIE MODAL */
#cookie-modal {
  position: fixed;
  z-index: 100000;
  left: 0; right: 0; bottom: 0; top: 0;
  background: rgba(34, 102, 82, 0.18);
  display: none;
  align-items: center;
  justify-content: center;
  animation: fadeIn .34s cubic-bezier(.6,.12,.41,1.1);
}
#cookie-modal.active {
  display: flex;
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
#cookie-modal .cookie-modal-content {
  background: var(--white);
  border-radius: 14px;
  max-width: 400px;
  width: 92%;
  padding: 30px 22px 18px 22px;
  position: relative;
  box-shadow: var(--shadow-hover);
  animation: riseup .22s cubic-bezier(.64,.02,.25,1);
}
@keyframes riseup { from { transform: translateY(60px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
#cookie-modal .close-cookie-modal {
  position: absolute;
  top: 12px;
  right: 12px;
  background: none;
  border: none;
  font-size: 1.2rem;
  color: var(--brand-primary);
  cursor: pointer;
}
.cookie-modal-content h2 {
  margin-bottom: 16px;
  font-size: 1.4rem;
  color: var(--brand-primary);
  font-family: 'Roboto Slab', serif;
}
.cookie-category {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 1rem;
}
.cookie-category label {
  font-weight: 500;
  color: var(--text-main);
}
.cookie-toggle {
  margin-top: 2px;
}
.cookie-category .always-on {
  background: var(--brand-accent);
  color: var(--brand-primary);
  border-radius: 4px;
  padding: 2px 8px;
  font-size: .91rem;
  margin-left: 10px;
}
.cookie-modal-content .modal-footer{
  display: flex;
  gap: 14px;
  justify-content: flex-end;
  margin-top: 14px;
}

/* ===============================
   RESPONSIVE DESIGN
   =============================== */
@media (max-width: 1100px) {
  .container {
    max-width: 96vw;
  }
}
@media (max-width: 900px) {
  .main-nav {
    gap: 12px;
    font-size: 0.98rem;
  }
  .feature-grid, .value-list, .benefit-list, .offer-cards, .testimonial-slider, .course-grid {
    gap: 16px;
  }
  .feature-grid li,
  .value-list li,
  .benefit-list li,
  .offer-cards .text-section,
  .testimonial-card,
  .team-profiles li, .course-grid .text-section {
    min-width: 180px;
  }
}
@media (max-width: 768px) {
  .container {
    max-width: 100vw;
    padding: 0 10px;
  }
  section, .hero {
    padding: 24px 6px;
    margin-bottom: 34px;
    border-radius: 0;
  }
  .content-wrapper {
    padding: 0;
    border-radius: 0;
  }
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .footer-menu {
    flex-direction: column;
    gap: 8px;
  }
  .feature-grid,
  .value-list,
  .benefit-list,
  .offer-cards,
  .testimonial-slider,
  .testimonial-list,
  .course-grid {
    flex-direction: column;
    gap: 14px;
    align-items: stretch;
  }
  .feature-grid li, .value-list li, .benefit-list li, .offer-cards .text-section, .team-profiles li, .testimonial-card, .course-grid .text-section {
    min-width: 100%;
    max-width: 100%;
  }
  .hero {
    padding-top: 40px;
    padding-bottom: 40px;
  }
  h1, .h1 {
    font-size: 2rem;
    margin-bottom: 18px;
  }
  h2, .h2 {
    font-size: 1.4rem;
    margin-bottom: 12px;
  }
  h3, .h3 {
    font-size: 1.08rem;
    margin-bottom: 9px;
  }
  .testimonial-card {
    min-width: 0;
    max-width: 100%;
    padding: 16px 12px;
    font-size: .97rem;
  }
  .card, .text-section {
    padding: 10px 10px;
    font-size: .98rem;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
  }
}
@media (max-width: 520px) {
  .footer-contact {
    font-size: 0.91rem;
  }
  .hero, section {
    padding-left: 2vw;
    padding-right: 2vw;
  }
}

/* ===============================
   MISC UTILITY CLASSES
   =============================== */
.mt-2 { margin-top: 2px; }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mb-8 { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.gap-20 { gap: 20px; }
.gap-30 { gap: 30px; }

/*
=== END OF MINIMALIST, FLEXBOX-ONLY CSS ===
*/
