/* 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 {
  background: #fff;
  color: #1B365D;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; display: block; border: 0; }
a { color: #1B365D; text-decoration: none; transition: color 0.2s; font-weight: 600; }
a:hover, a:focus { color: #678D58; outline: none; }

strong, b { font-weight: 700; }

/* FONT IMPORTS -------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700;900&family=Roboto:wght@400;500;700&display=swap');

/* TYPOGRAPHY SCALE -------------------- */
h1, .h1 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 2.5rem;
  font-weight: 900;
  letter-spacing: -2px;
  color: #1B365D;
  margin-bottom: 24px;
  line-height: 1.15;
}
@media (min-width: 768px) {
  h1, .h1 { font-size: 3.25rem; }
}
h2, .h2 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -1px;
  color: #1B365D;
  margin-bottom: 16px;
  line-height: 1.2;
}
h3, .h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: #678D58;
  margin-bottom: 12px;
}
h4, .h4 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: #1B365D;
  margin-bottom: 12px;
}
p, ul, li, span {
  font-size: 1rem;
  color: #222;
}

ul {
  list-style: none;
  padding-left: 0;
}
li img {
  height: 1.6em;
  width: auto;
  margin-bottom: -4px;
  margin-right: 10px;
  vertical-align: middle;
  display: inline-block;
}

/* STRUCTURAL CLASSES ------------------- */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 16px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
@media (min-width: 1024px) {
  .section {
    padding: 60px 0;
    margin-bottom: 80px;
  }
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 3px 16px rgba(27,54,93, 0.10), 0 1.5px 8px rgba(103,141,88,0.05);
  transition: box-shadow 0.2s, transform 0.2s;
  padding: 30px 24px 24px 24px;
  border: 2.5px solid #678D58;
}
.card:hover {
  box-shadow: 0 8px 32px rgba(27,54,93,0.20), 0 3px 14px rgba(103,141,88,0.10);
  transform: translateY(-6px) scale(1.02);
  z-index: 2;
}

.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;
    gap: 20px;
  }
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #F3E8D2;
  padding: 24px 20px;
  border-radius: 16px;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(103,141,88,0.05);
}
/* Testimonials ---------------------------- */
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 28px 30px 18px 30px;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 3px 16px rgba(27,54,93, 0.08), 0 1.5px 8px rgba(103,141,88,0.06);
  margin-bottom: 20px;
  min-width: 220px;
  max-width: 410px;
  border-left: 8px solid #678D58;
  transition: box-shadow 0.2s, border-color 0.2s;
}
.testimonial-card:hover {
  box-shadow: 0 8px 32px rgba(27,54,93,0.15), 0 3px 14px rgba(103,141,88,0.12);
  border-left: 8px solid #1B365D;
}
.testimonial-card p {
  font-size: 1.13rem;
  color: #1B365D;
  font-weight: 500;
}
.testimonial-card span:last-child {
  color: #678D58;
  font-size: 1.05rem;
  font-weight: 900;
  letter-spacing: 1px;
}

/*****************
   HEADER
*****************/
header {
  background: #fff;
  box-shadow: 0 1.5px 12px rgba(27,54,93,0.07);
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 10;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 74px;
}
header nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}
header nav a {
  color: #1B365D;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.2px;
  padding: 8px 7px 7px 7px;
  border-radius: 10px;
  transition: color 0.18s, background 0.16s;
  position: relative;
  white-space: nowrap;
}
header nav a:hover, header nav a:focus {
  background: #F3E8D2;
  color: #678D58;
  outline: none;
}
header img {
  display: block;
  max-height: 48px;
  max-width: 175px;
}
/******* CTA Button ******/
.cta-btn {
  display: inline-block;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.02rem;
  font-weight: 800;
  text-transform: uppercase;
  color: #fff;
  background: #678D58;
  padding: 13px 32px;
  border-radius: 16px;
  letter-spacing: 0.7px;
  border: none;
  margin-left: 14px;
  box-shadow: 0 1px 8px rgba(103,141,88,0.11);
  transition: background 0.17s, transform 0.18s, box-shadow 0.17s;
  cursor: pointer;
}
.cta-btn:hover, .cta-btn:focus {
  background: #1B365D;
  color: #fff;
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 4px 14px rgba(27,54,93,0.12);
}

/*****************
   MOBILE BURGER MENU
*****************/
.mobile-menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #1B365D;
  color: #fff;
  font-size: 2rem;
  height: 48px;
  width: 48px;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  margin-left: 12px;
  transition: background 0.19s, color 0.15s;
  z-index: 12;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #678D58;
  color: #FFF;
}

.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  height: 100dvh;
  width: 100vw;
  background: #1B365D;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 36px 24px 24px 24px;
  z-index: 120;
  transition: transform 0.35s cubic-bezier(0.82,0.11,0.4,0.95), opacity 0.32s;
  transform: translateX(-110vw);
  opacity: 0;
  pointer-events: none;
}
.mobile-menu.active {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  align-self: flex-end;
  background: transparent;
  color: #fff;
  border: none;
  font-size: 2.5rem;
  cursor: pointer;
  margin-bottom: 28px;
  transition: color 0.12s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  color: #678D58;
  outline: none;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 12px;
  width: 100%;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: 0.2px;
  padding: 12px 6px 10px 0;
  border-radius: 9px;
  transition: background 0.16s, color 0.14s;
  width: 100%;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #678D58;
  color: #F3E8D2;
}

@media (min-width: 1024px) {
  .mobile-menu-toggle { display: none; }
  .mobile-menu { display: none !important; }
}
@media (max-width: 1023px) {
  header nav, .cta-btn {
    display: none;
  }
}

/*****************
   FOOTER
*****************/
footer {
  background: #1B365D;
  padding: 0;
  color: #fff;
}
footer .container {
  padding-top: 32px;
  padding-bottom: 24px;
}
footer .content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}
footer nav a {
  color: #F3E8D2;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  transition: color 0.17s, text-decoration 0.13s;
  font-size: 1rem;
  text-decoration: underline dotted 1.2px #F3E8D2;
  padding: 3px 1px;
  border-radius: 8px;
}
footer nav a:hover, footer nav a:focus {
  color: #678D58;
  background: #fff;
  text-decoration: underline solid 2.2px #678D58;
}
.footer-contact p {
  color: #F3E8D2;
  font-size: 0.98rem;
  margin-bottom: 5px;
}
.footer-contact a { color: #F3E8D2; text-decoration: underline; }
footer img { max-height: 44px; margin-bottom: 4px; }
@media (min-width: 768px) {
  footer .content-wrapper {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 48px;
  }
  .footer-contact { min-width: 247px; }
}

/****************************
  MAIN CONTENT/SECTIONS 
*****************************/
main section {
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 1.5px 15px rgba(27,54,93, 0.03);
  margin-bottom: 32px;
  overflow: hidden;
}
main section:last-child {
  margin-bottom: 0;
}

main h2, main .h2, main h1, main .h1 {
  margin-top: 0;
  line-height: 1.14;
}
main h1, main .h1 {
  margin-bottom: 18px;
  color: #1B365D;
}
main h2, main .h2 {
  color: #678D58;
}

main ul {
  margin-bottom: 0;
  margin-top: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
main ul li {
  display: flex;
  align-items: flex-start;
  background: #F3E8D2;
  border-radius: 12px;
  padding: 16px 16px 16px 10px;
  font-weight: 500;
}
main ul li strong {
  color: #1B365D;
}

/******** FAQ ACCORDION (Pogosta vprasanja) ******/
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 28px;
}
.faq-accordion h3 {
  cursor: pointer;
  background: #1B365D;
  color: #fff;
  padding: 14px 18px;
  border-radius: 10px 10px 0 0;
  font-size: 1.15rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
  letter-spacing: 0.2px;
  transition: background 0.17s;
  margin-bottom: 0;
}
.faq-accordion h3.active, .faq-accordion h3:hover {
  background: #678D58;
}
.faq-accordion p {
  background: #F3E8D2;
  padding: 14px 18px;
  font-size: 1rem;
  border-radius: 0 0 10px 10px;
  margin-bottom: 0;
}

/********* Call to action info *******/
.cta-info {
  background: #678D58;
  color: #fff;
  border-radius: 16px;
  padding: 28px 14px 22px 18px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
}
.cta-info p {
  color: #fff;
  font-weight: 700;
  font-size: 1.08rem;
}

/********* Modal, Banner, Misc ******/
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: #222;
  color: #fff;
  padding: 22px 20px 16px 20px;
  box-shadow: 0 -6px 18px rgba(27,54,93,0.15);
  z-index: 500;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  font-size: 1.03rem;
  transition: transform 0.35s cubic-bezier(0.77,0.1,0.4,0.92), opacity 0.32s;
  transform: translateY(140%);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner.show {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.cookie-banner .cookie-buttons {
  display: flex;
  gap: 12px;
  margin-top: 4px;
}
.cookie-banner button {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: #fff;
  border: none;
  padding: 10px 22px;
  border-radius: 11px;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.18s, color 0.13s;
}
.cookie-banner .accept-all { background: #678D58; }
.cookie-banner .accept-all:hover, .cookie-banner .accept-all:focus { background: #1B365D; }
.cookie-banner .reject-all {
  background: #1B365D;
}
.cookie-banner .reject-all:hover, .cookie-banner .reject-all:focus {
  background: #678D58;
}
.cookie-banner .cookie-settings {
  background: transparent;
  color: #F3E8D2;
  border: 2px solid #fff;
}
.cookie-banner .cookie-settings:hover, .cookie-banner .cookie-settings:focus {
  background: #fff;
  color: #1B365D;
}

/* Cookie Consent Modal */
.cookie-modal {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) translateY(140%);
  width: 95vw;
  max-width: 400px;
  background: #fff;
  color: #1B365D;
  border-radius: 18px 18px 0 0;
  box-shadow: 0 -8px 24px rgba(27,54,93,0.18);
  padding: 34px 20px 24px 20px;
  z-index: 600;
  opacity: 0;
  pointer-events: none;
  transition: transform 0.34s cubic-bezier(0.71,0.16,0.41,0.96), opacity 0.3s;
}
.cookie-modal.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.22rem;
  font-weight: 900;
  margin-bottom: 18px;
  color: #1B365D;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 12px;
}
.cookie-modal .cookie-category label {
  font-weight: 700;
  color: #1B365D;
}
.cookie-modal .cookie-switch {
  appearance: none;
  width: 36px;
  height: 20px;
  background: #F3E8D2;
  border-radius: 13px;
  position: relative;
  outline: none;
  border: 1.5px solid #678D58;
  transition: background 0.2s;
}
.cookie-modal .cookie-switch:checked {
  background: #678D58;
}
.cookie-modal .cookie-switch:before {
  content: '';
  display: block;
  position: absolute;
  top: 1.8px;
  left: 2.5px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 2px rgba(27,54,93,0.07);
  transition: left 0.2s;
}
.cookie-modal .cookie-switch:checked:before {
  left: 17px;
}
.cookie-modal .cookie-close {
  display: block;
  position: absolute;
  top: 8px;
  right: 16px;
  font-size: 1.55rem;
  color: #678D58;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px 4px;
  transition: color 0.13s;
}
.cookie-modal .cookie-close:hover,
.cookie-modal .cookie-close:focus {
  color: #1B365D;
}
.cookie-modal .save-cookies {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  background: #1B365D;
  color: #fff;
  padding: 10px 24px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  margin-top: 12px;
  width: 100%;
  transition: background 0.15s, color 0.13s;
}
.cookie-modal .save-cookies:hover,
.cookie-modal .save-cookies:focus {
  background: #678D58;
  color: #fff;
}

/********** GENERAL UI PATTERNS ******/
::-webkit-input-placeholder { color: #7a828d; }
::-moz-placeholder { color: #7a828d; }
:-ms-input-placeholder { color: #7a828d; }
::placeholder { color: #7a828d; }

hr {
  border: none;
  border-top: 2.5px solid #F3E8D2;
  margin: 33px 0;
}

/***** UTILITY/GEOMETRIC SHAPES (for boldness) *****/
.bg-accent {
  background: #F3E8D2;
  border-radius: 24px;
}
.bg-secondary {
  background: #678D58;
  color: #fff;
}
.border-primary {
  border: 3px solid #1B365D;
  border-radius: 14px;
}
.shadow-bold {
  box-shadow: 0 6px 32px rgba(27,54,93,0.11);
}

/********** ANIMATIONS/MICROINTERACTIONS *******/
button, .cta-btn, .card, a {
  transition: background 0.17s, color 0.16s, box-shadow 0.17s, border-color 0.16s, transform 0.18s;
}

.card:active, .cta-btn:active {
  transform: scale(0.98);
}

/* On focus for accessibility */
a:focus, button:focus, .cta-btn:focus {
  outline: 2.5px dashed #678D58;
  outline-offset: 2px;
}

/*********** MEDIA QUERIES *******************/
@media (max-width: 768px) {
  .container {
    max-width: 100%;
    padding: 0 6px;
  }
  .content-wrapper {
    gap: 14px;
  }
  .section {
    padding: 30px 4px;
    margin-bottom: 40px;
  }
  .testimonial-card {
    padding: 16px 11px 13px 18px;
    max-width: 97vw;
  }
  .card {
    padding: 19px 10px;
  }
  .card-container, .content-grid {
    gap: 13px;
  }
}

@media (min-width: 700px) {
  .content-grid,
  .card-container {
    flex-direction: row;
    gap: 28px;
  }
  main ul {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 20px;
  }
  main ul li {
    width: calc(50% - 10px);
    margin-bottom: 0;
  }
}
@media (min-width: 1100px) {
  main ul li {
    width: calc(33.33% - 14px);
  }
}

/******* Cards-in-lists for Programs and Workshops ********/
main ul > li > h3 {
  margin-bottom: 7px;
}
main ul > li > p {
  margin-bottom: 7px;
}
main ul > li > strong {
  display: block;
  margin-top: 3px;
  color: #678D58;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 900;
  font-size: 1.16rem;
}

/************ Misc pad, margin, gap fixes ************/
main .content-wrapper > a.cta-btn {
  margin-top: 18px;
}

/********** Hide elements visually for a11y **********/
.visually-hidden { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }

/********** Z-INDEX SAFETY for overlays **********/
.mobile-menu, .cookie-banner, .cookie-modal { z-index: 5000; }

/********** Ensuring NO Overlap and Safe Spacing **********/
main .testimonial-card + .testimonial-card {
  margin-top: 24px;
}

main .section + .section {
  margin-top: 0;
}

/* END CSS */
