/* ----------------------
  Onda Spazio 'modern_bold' Responsive CSS
  Brand: Modern • Bold • Geometric • Strong Colors & Typography
  FLEXBOX-ONLY LAYOUTS — No grid/columns used.
---------------------- */
/* RESET & NORMALIZE */
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;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background: #FFF;
  color: #1A212A;
}
ul, ol {
  list-style: none;
}
a {
  text-decoration: none;
  color: inherit;
}
img {
  max-width: 100%;
  display: block;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: 100%;
  outline: none;
}

/* BRAND FONTS & COLORS */
:root {
  --color-primary: #2E4053;
  --color-secondary: #D3A767;
  --color-accent: #F6F3EF;
  --color-bg: #fff;
  --color-body: #232D36;
  --color-dark: #16191d;
  --color-cta: #D3A767;
  --color-cta-text: #232D36;
  --color-border: #EEEEEE;
  --color-card-bg: #F6F3EF;
  --color-link: #2E4053;
  --shadow: 0 4px 16px 0 rgba(46,64,83,0.06);
  --shadow-bold: 0 8px 32px 0 rgba(46,64,83,0.10);
}

body {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 16px;
  color: var(--color-body);
  background: var(--color-bg);
  min-height: 100vh;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 900;
  color: var(--color-primary);
  line-height: 1.15;
  letter-spacing: 0.02em;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 18px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 16px;
}
h3 {
  font-size: 1.5rem;
  margin-bottom: 12px;
}
h4 {
  font-size: 1.125rem;
  margin-bottom: 8px;
}
p, li, span, a {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--color-body);
}
strong { font-weight: 700; }

/* CONTAINERS & LAYOUTS */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: inherit;
}
.about-short,
.about,
.team-intro,
.team-section,
.why-choose,
.courses-intro,
.curriculum-features,
.teacher-features,
.blog-intro,
.blog-list,
.contact-section,
.dove-trovarci,
.thank-you,
.privacy-policy,
.gdpr-section,
.terms-section,
.cookies-policy {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container, .features ul, .testimonial-list, .office-info-box {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card { 
  background: var(--color-card-bg);
  border-radius: 18px;
  box-shadow: var(--shadow);
  margin-bottom: 20px;
  position: relative;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.25s cubic-bezier(.4,0,.2,1), transform 0.2s;
}
.card:hover { box-shadow: var(--shadow-bold); transform: translateY(-4px) scale(1.015); }
.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;
  background: #fff;
  border-radius: 20px;
  gap: 20px;
  padding: 20px 28px;
  box-shadow: var(--shadow);
  margin-bottom: 20px;
  min-width: 0;
  transition: box-shadow 0.25s, transform 0.2s;
}
.testimonial-card:hover {
  box-shadow: var(--shadow-bold);
  transform: scale(1.02);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
/* Ensure minimum margin between content cards/sections */
.features ul li, .services-overview ul li, 
.curriculum-features ul li, .why-choose ul li, .teacher-features ul li, .blog-list ul li, .proof-section ul li, .office-info-box > div, .contact-info-box > div {
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 1rem;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
}
.testimonial-card:not(:last-child) { margin-bottom: 24px; }
/* -------- HEADER & NAV -------- */
header {
  background: var(--color-primary);
  padding: 0;
  color: #fff;
  position: relative;
  z-index: 50;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  height: 82px;
}
header a img {
  height: 50px;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 1.07rem;
  color: #fff;
  padding: 8px 0px;
  position: relative;
  transition: color 0.2s;
}
.main-nav a:not(.cta-primary):hover,
.main-nav a.active {
  color: var(--color-secondary);
}
.cta-primary {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 900;
  background: var(--color-secondary);
  color: var(--color-cta-text);
  padding: 12px 28px;
  border-radius: 24px;
  box-shadow: 0 2px 8px rgba(46,64,83,0.08);
  margin-left: 16px;
  font-size: 1.1rem;
  letter-spacing: 0.02em;
  border: none;
  display: inline-block;
  cursor: pointer;
  transform: translateY(0);
  transition: background 0.2s, color 0.19s, transform 0.18s;
}
.cta-primary:hover {
  background: #bf8000;
  color: #fff;
  transform: translateY(-2px) scale(1.06);
  box-shadow: 0 4px 20px 0 rgba(211,167,103,0.12);
}

/* BURGER MENU (Mobile Navigation) */
.mobile-menu-toggle {
  background: none;
  border: none;
  color: var(--color-secondary);
  font-size: 2.2rem;
  display: none;
  cursor: pointer;
  margin-left: 16px;
  z-index: 101;
  transition: color 0.18s;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover { color: #fff; }

.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(46, 64, 83, 0.97);
  color: #fff;
  transform: translateX(100%);
  transition: transform 0.38s cubic-bezier(.77,0,.18,1);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 36px 28px;
  z-index: 2000;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  background: none;
  border: none;
  font-size: 2.3rem;
  color: var(--color-secondary);
  margin-bottom: 24px;
  cursor: pointer;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 18px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 1.24rem;
  color: #fff;
  padding: 10px 8px;
  border-radius: 9px;
  width: 100%;
  transition: background 0.2s, color 0.18s;
}
.mobile-nav a:focus, .mobile-nav a:hover {
  background: var(--color-secondary);
  color: #232D36;
}

/* Burger menu/Navigation Responsive */
@media (max-width: 1024px) {
  .main-nav {
    gap: 24px;
  }
  header .container {
    height: auto;
    padding: 12px 12px;
  }
}
@media (max-width: 900px) {
  .main-nav a:not(.cta-primary) {
    font-size: 1rem;
    padding: 8px;
  }
  .cta-primary {
    font-size: 1rem;
    margin-left: 8px;
    padding: 10px 22px;
  }
}
@media (max-width: 768px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  header .container {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    min-height: 64px;
    height: 64px;
  }
  .mobile-menu {
    padding: 36px 18px 18px 18px;
  }
}

/* -------- HERO & MAIN CALLS -------- */
.hero {
  background: linear-gradient(100deg, var(--color-accent) 80%, #fff 100%);
  padding: 56px 0 56px 0;
}
.hero .container {
  align-items: flex-start;
  justify-content: center;
  min-height: 360px;
}
.hero h1 {
  font-size: 2.7rem;
  margin-bottom: 18px;
  line-height: 1.13;
  color: var(--color-primary);
}
.hero p {
  font-size: 1.18rem;
  margin-bottom: 32px;
  color: var(--color-dark);
}
@media (max-width: 600px) {
  .hero h1 {
    font-size: 2rem;
  }
  .hero .container{
    min-height: 170px;
  }
}

/* SECTION STYLES */
.features {
  background: var(--color-card-bg);
  border-radius: 28px;
  margin-bottom: 60px;
  box-shadow: var(--shadow);
}
.features ul {
  flex-wrap: wrap;
  gap: 28px;
  margin-top: 16px;
}
.features ul li img {
  width: 32px;
  height: 32px;
}
.about-short, .about, .team-intro, .team-section, .why-choose,
.courses-intro, .curriculum-features, .teacher-features, .services-overview,
.cookie-settings-modal, .blog-intro, .blog-list, .thank-you, .contact-section, .dove-trovarci, .privacy-policy, .gdpr-section, .terms-section, .cookies-policy {
  background: #fff;
  border-radius: 24px;
  box-shadow: var(--shadow);
}

@media (max-width: 768px) {
  .features ul, .card-container, .content-grid, .office-info-box, .contact-info-box {
    flex-direction: column !important;
    gap: 18px;
  }
}

.contact-info-box, .office-info-box {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 18px 36px;
}
.contact-info-box > div, .office-info-box > div {
  flex: 1 1 200px;
  padding: 8px 0;
  min-width: 180px;
  font-size: 1.07rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

@media (max-width: 600px) {
  .contact-info-box, .office-info-box {
    flex-direction: column;
    gap: 14px;
  }
}

.text-section {
  margin-bottom: 18px;
  color: var(--color-body);
}
.text-section p {
  font-size: 1.08rem;
  margin-bottom: 12px;
}
.text-section ul { margin: 8px 0 8px 0; }
.text-section li { margin-bottom: 12px; }

/* -------- CARDS --------- */
.card {
  background: var(--color-accent);
  border-radius: 20px;
  box-shadow: var(--shadow);
  color: var(--color-body);
  margin-bottom: 20px;
  transition: box-shadow 0.25s, transform 0.2s;
}
.card:hover { box-shadow: var(--shadow-bold); }

/* -------- TESTIMONIAL STYLES -------- */
.testimonials, .testimonials-section {
  background: var(--color-card-bg);
  border-radius: 24px;
  box-shadow: var(--shadow);
  padding-bottom: 24px;
}
.testimonial-card {
  background: #fff;
  color: var(--color-primary);
  border-radius: 20px;
  box-shadow: var(--shadow);
  min-width: 0;
  font-size: 1.12rem;
}
.testimonial-card .text-section p {
  color: var(--color-body);
  font-size: 1.07rem;
  margin-bottom: 6px;
}
.testimonial-card span {
  color: var(--color-primary);
  font-weight: 700;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
}
.testimonial-card img {
  width: 22px;
  height: 22px;
  vertical-align: middle;
}
.testimonial-card > *:not(:last-child) {
  margin-bottom: 6px;
}
/* Proof section (indicator cards) */
.proof-section ul {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.proof-section ul li img {
  width: 28px; height: 28px;
}

/* -------- BUTTONS --------- */
button, .btn, .cta-primary {
  cursor: pointer;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  border: none;
  outline: none;
  border-radius: 22px;
  background: var(--color-secondary);
  color: var(--color-cta-text);
  padding: 12px 26px;
  font-size: 1.08rem;
  transition: background 0.2s, box-shadow 0.2s, transform 0.13s;
}
.btn:hover, .cta-primary:hover, button:focus {
  background: #b68d49;
  color: #fff;
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 2px 16px 0 rgba(211,167,103,0.13);
}

/* -------- FOOTER --------- */
footer {
  background: var(--color-primary);
  color: #fff;
  padding: 38px 0 16px 0;
  font-size: 1rem;
}
.footer-nav {
  display: flex;
  flex-direction: row;
  gap: 16px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.footer-nav a {
  color: #FFD87A;
  font-weight: 700;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  transition: color 0.2s;
  font-size: 1rem;
  opacity: 0.86;
}
.footer-nav a:hover { color: #fff; opacity: 1; }
.brand-footer {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 12px;
}
.brand-footer img {
  height: 44px;
}
.brand-footer p {
  font-size: 1rem;
  color: #fff;
  opacity: 0.86;
}

/* --------- COOKIE CONSENT BANNER --------- */
.cookie-banner {
  position: fixed;
  left: 0; right: 0;
  bottom: 0;
  background: #fff;
  color: var(--color-primary);
  padding: 22px 16px 20px 16px;
  box-shadow: 0 -4px 36px 0 rgba(46,64,83,0.10);
  z-index: 3000;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 24px;
  justify-content: space-between;
  min-height: 72px;
  border-radius: 18px 18px 0 0;
  transition: transform 0.4s;
}
.cookie-banner.hide { transform: translateY(160%); }
.cookie-banner__text { flex: 2 1 300px; margin-right: 24px; font-size: 1.07rem; }
.cookie-banner__actions { display: flex; flex-direction: row; align-items: center; gap: 15px; }
.cookie-btn {
  background: var(--color-secondary);
  color: var(--color-cta-text);
  border: none;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 1.02rem;
  padding: 10px 19px;
  border-radius: 14px;
  cursor: pointer;
  margin: 0 4px;
  transition: background 0.18s, color 0.10s, box-shadow 0.14s;
}
.cookie-btn:hover, .cookie-btn:active {
  background: #FFD87A;
  color: var(--color-primary);
  box-shadow: 0 2px 8px #d3a76731;
}
.cookie-btn.cookie-settings {
  background: var(--color-primary);
  color: #fff;
  border: 1.4px solid var(--color-secondary);
  padding-left: 12px; padding-right: 12px;
}
.cookie-btn.cookie-settings:hover { background: var(--color-secondary); color: var(--color-cta-text); }

/* ---- COOKIE SETTINGS MODAL ----*/
.cookie-settings-modal {
  position: fixed;
  left: 0; top: 0; right:0; bottom: 0;
  z-index: 4050;
  background: rgba(30,38,52,0.89);
  display: none;
  align-items: center;
  justify-content: center;
}
.cookie-settings-modal.open {
  display: flex;
  animation: modal-fadein 0.23s cubic-bezier(.40, 0, .14, 1);
}
@keyframes modal-fadein {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-settings-content {
  background: #fff;
  color: var(--color-primary);
  border-radius: 22px;
  max-width: 490px;
  min-width: 310px;
  padding: 32px 28px;
  box-shadow: 0 4px 40px 0 rgba(46,64,83,0.14);
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
}
.cookie-settings-content h2 {
  color: var(--color-primary);
  margin-bottom: 8px;
}
.cookie-settings-content ul {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.cookie-category-row {
  display: flex;
  align-items: center;
  gap: 16px;
}
.toggle-checkbox {
  width: 33px;
  height: 19px;
  appearance: none;
  background: #ddd;
  border-radius: 11px;
  position: relative;
  outline: none;
  transition: background 0.2s;
}
.toggle-checkbox:checked { background: var(--color-secondary); }
.toggle-checkbox:before {
  content: '';
  display: block;
  width: 17px;
  height: 17px;
  background: #fff;
  border-radius: 500px;
  position: absolute;
  left: 1px;
  top: 1px;
  transition: left 0.22s;
}
.toggle-checkbox:checked:before {
  left: 15px;
}
.cookie-settings-actions {
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  gap: 11px;
  margin-top: 14px;
}
.cookie-settings-close {
  position: absolute;
  top: 12px; right: 18px;
  background: none;
  border: none;
  font-size: 1.9rem;
  color: var(--color-secondary);
  cursor: pointer;
  z-index: 10;
}


/* --------- RESPONSIVE RULES --------- */
@media (max-width: 768px) {
  .container {
    max-width: 100%;
    padding: 0 8px;
  }
  .about-short,
  .section,
  .team-section,
  .courses-intro,
  .curriculum-features,
  .why-choose,
  .teacher-features,
  .blog-intro,
  .blog-list,
  .contact-section,
  .dove-trovarci,
  .thank-you {
    padding: 28px 8px;
    margin-bottom: 34px;
  }
  .content-wrapper {
    gap: 12px;
  }
  .hero {
    padding: 30px 0 30px 0;
  }
  .hero h1 {
    font-size: 1.31rem;
    margin-bottom: 12px;
  }
  .footer-nav {
    flex-direction: column;
    gap: 6px;
  }
  .brand-footer img {
    height: 34px;
  }
  .brand-footer p {
    font-size: 0.95rem;
  }
}
@media (max-width: 420px) {
  .cookie-banner,
  .contact-info-box, .office-info-box {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
  .cookie-banner__actions { flex-direction: column; gap: 8px; }
}

/* ---- Utility classes ---- */
.mb-0 { margin-bottom: 0 !important; }
.mt-16 { margin-top: 16px !important; }
.mt-20 { margin-top: 20px !important; }
.gap-12 { gap: 12px !important; }
.gap-18 { gap: 18px !important; }
.gap-24 { gap: 24px !important; }

/* --- Focus-visible for accessibility --- */
a:focus-visible, .cta-primary:focus-visible, button:focus-visible {
  box-shadow: 0 0 0 3px #FFD87A99;
  outline: none;
  border-radius: 5px;
}

/* --- Miscellaneous Enhancements --- */
::-webkit-scrollbar { width: 7px; background: var(--color-accent); }
::-webkit-scrollbar-thumb { background: #d3a76777; border-radius: 6px; }

/* --- Subtle Animation for sections on scroll if needed --- */
.section, .card, .testimonial-card {
  transition: box-shadow 0.22s, transform 0.17s, background 0.18s;
}

/* --- Prevent overlapping of all major blocks --- */
.section, .about-short, .about, .team-intro, .thank-you, .testimonials, .testimonials-section, .contact-section, .dove-trovarci,
footer, .cookie-banner, .cookie-settings-modal {
  z-index: 1;
}

/* --- Some geometric accent decorations for bold flair: you can add them as ::before/::after if needed --- */
.features::before,
.hero::before {
  content: '';
  display: none;
}

/*--- END OF Onda Spazio CSS ---*/
