/* --- CSS RESET & 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, 
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; }
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background: #F1F5F9;
  color: #284152;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  min-height: 100vh;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a {
  color: #284152;
  text-decoration: none;
  transition: color 0.2s;
}
a:focus { outline: 2px dashed #F29D34; outline-offset: 2px; }
ul, ol { margin-left: 1.2em; }
img { max-width: 100%; display: block; border-radius: 12px; }
button, input, textarea, select { font-family: inherit; font-size: inherit; margin: 0; }
button { background: none; border: none; cursor: pointer; }
h1, h2, h3, h4, h5, h6 { font-family: 'Quicksand', Arial, Helvetica, sans-serif; color: #284152; font-weight: 700; line-height: 1.2; }
h1 { font-size: 2.6rem; margin-bottom: 20px; }
h2 { font-size: 2rem; margin-bottom: 18px; }
h3 { font-size: 1.3rem; margin-bottom: 12px; }
h4 { font-size: 1.1rem; margin-bottom: 8px; }
p { margin-bottom: 16px; }
strong, b { font-weight: 700; }

/* --- PRIMARY CONTAINER --- */
.container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  flex-direction: column;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
}

/* --- HEADER/NAVIGATION --- */
header {
  width: 100%;
  background: #fff;
  box-shadow: 0 4px 12px rgba(40,65,82,0.04);
  border-bottom: 1px solid #f2ebe0;
  position: relative;
  z-index: 30;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  gap: 16px;
}
header nav {
  display: flex;
  align-items: center;
  gap: 16px;
}
header nav a {
  font-family: 'Quicksand', Arial, Helvetica, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  color: #284152;
  padding: 8px 12px;
  border-radius: 8px;
  transition: background 0.18s, color 0.18s;
}
header nav a:hover, header nav a:focus {
  background: #fff4e5;
  color: #F29D34;
}
.cta-btn {
  background: #F29D34;
  color: #fff !important;
  font-family: 'Quicksand', Arial, Helvetica, sans-serif;
  font-size: 1.08rem;
  font-weight: 700;
  border-radius: 32px;
  padding: 12px 34px;
  border: none;
  box-shadow: 0 2px 8px rgba(242,157,52,0.10);
  transition: background 0.18s, box-shadow 0.22s, color 0.18s;
  cursor: pointer;
  outline: none;
  margin-left: 12px;
}
.cta-btn:hover, .cta-btn:focus {
  background: #d98724;
  box-shadow: 0 4px 16px rgba(242,157,52,0.18);
  color: #fff !important;
}
header img {
  max-height: 46px;
  margin: 10px 0 10px 0;
}

/* --- MOBILE NAVIGATION --- */
.mobile-menu-toggle {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  background: #F29D34;
  color: #FFF;
  font-size: 2rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  margin-left: 16px;
  transition: background 0.16s;
  z-index: 51;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #d98724;
  color: #fff;
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw;
  height: 100vh;
  background: #fff;
  box-shadow: 0 1px 8px rgba(40,65,82,0.05);
  z-index: 1001;
  transform: translateX(-100%);
  opacity: 0;
  transition: transform 0.36s cubic-bezier(.71,.07,.44,.99), opacity 0.25s;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  overflow-y: auto;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
}
.mobile-menu-close {
  font-size: 2.1rem;
  color: #284152;
  background: #F29D34;
  border-radius: 50%;
  width: 44px; height: 44px;
  align-self: flex-end;
  margin: 22px 18px 8px 0;
  transition: background 0.15s, color 0.15s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: #d98724;
  color: #fff;
}
.mobile-nav {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  padding: 32px 32px;
}
.mobile-nav a {
  font-size: 1.2rem;
  font-family: 'Quicksand', Arial, Helvetica, sans-serif;
  font-weight: 600;
  color: #284152;
  padding: 12px 8px;
  border-radius: 10px;
  width: 100%;
  background: none;
  transition: background 0.15s, color 0.17s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #fff4e5;
  color: #F29D34;
}

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

/* --- SECTIONS, SPACING, AND LAYOUT --- */
.section, section.hero, section.cta, section.features, section.testimonials, section.about-overview, section.about-block, section.courses-list, section.schedule-pricing, section.faq-block, section.gdpr-block, section.privacy-policy, section.terms-block, section.contact-info, section.cookie-policy, section.thank-you {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 4px 28px rgba(40,65,82,0.08), 0 1.5px 3px rgba(242,157,52,0.02);
  display: flex;
  flex-direction: column;
}

section.hero {
  background: #FFFAF3;
  box-shadow: 0 1px 12px rgba(242,157,52,0.07);
  text-align: center;
  align-items: center;
}
section.cta {
  background: #F29D34;
  color: #fff;
  border-radius: 32px;
  text-align: center;
  box-shadow: 0 6px 32px rgba(242,157,52,0.17);
}
section.cta h2, section.cta p, section.cta a { color: #fff; }
section.cta a.cta-btn {
  background: #fff;
  color: #F29D34 !important;
  margin-top: 14px;
  box-shadow: 0 2px 10px rgba(40,65,82,0.07);
}
section.cta a.cta-btn:hover, section.cta a.cta-btn:focus {
  background: #FFE9C7;
  color: #d98724 !important;
}

/* --- FEATURE & CARD FLEX LAYOUTS --- */
.feature-grid, .card-container, .content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 12px;
  margin-bottom: 12px;
  justify-content: flex-start;
}
@media (max-width: 768px) {
  .feature-grid, .card-container, .content-grid {
    flex-direction: column;
    gap: 18px;
  }
}
.card, .feature-item {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 16px rgba(40,65,82,0.06);
  padding: 22px 20px;
  min-width: 220px;
  margin-bottom: 20px;
  position: relative;
  transition: box-shadow 0.27s;
  gap: 15px;
}
.card:hover, .feature-item:hover {
  box-shadow: 0 6px 32px 0 rgba(242,157,52,0.15), 0 2px 8px rgba(40,65,82,0.07);
}
.feature-item img {
  width: 46px;
  height: 46px;
  margin-bottom: 8px;
  border-radius: 12px;
  background: #fff8ec;
  padding: 6px;
  box-shadow: 0 1px 2px rgba(242,157,52,0.03);
}

.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; }
}
.card-content { display: flex; flex-direction: column; justify-content: center; gap: 12px; }

/* --- TESTIMONIALS --- */
.testimonials .content-wrapper {
  gap: 28px;
  align-items: flex-start;
}
.testimonial-card {
  background: #fff4e5;
  border-radius: 22px;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 30px;
  color: #284152;
  box-shadow: 0 2px 10px rgba(242,157,52,0.08);
  margin-bottom: 20px;
  font-size: 1.03rem;
  min-width: 250px;
}
.testimonial-card p {
  flex: 1 1 auto;
  color: #284152;
  font-size: 1.05rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  margin-bottom: 0;
}
.testimonial-card span {
  font-weight: 600;
  color: #d98724;
  font-family: 'Quicksand', Arial, Helvetica, sans-serif;
  margin-left: 14px;
  font-size: 0.97rem;
}

@media (max-width: 768px) {
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 14px;
    gap: 8px;
  }
}

/* --- FAQ --- */
.faq-block .faq-item {
  background: #F8F7F3;
  border-radius: 16px;
  padding: 18px 22px;
  margin-bottom: 20px;
  box-shadow: 0 2px 16px rgba(242,157,52,0.07);
}
.faq-block .faq-item h3 {
  margin-bottom: 8px;
}
.faq-block .faq-item p {
  margin-bottom: 0;
}

/* --- ABOUT BLOCK & MISC --- */
.about-block ul, .features ul {
  margin-bottom: 8px;
  list-style: disc inside;
  padding-left: 14px;
}
.about-block li, .features li {
  font-size: 1rem;
  padding: 4px 0;
  color: #284152;
}

/* --- COURSE LIST STYLING --- */
.courses-list .feature-grid,
.schedule-pricing .feature-grid {
  gap: 24px 18px;
}
.courses-list .feature-item h3, .courses-list .feature-item h4 {
  color: #F29D34;
  font-family: 'Quicksand', Arial, Helvetica, sans-serif;
}
.schedule-pricing .feature-item h4 {
  font-size: 1.09rem;
  margin-bottom: 4px;
  color: #F29D34;
}
.schedule-pricing .feature-item p { font-size: 1.07rem; }

/* --- CONTACT INFO --- */
.contact-info ul {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 10px;
}
.contact-info li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.04rem;
}
.contact-info img {
  width: 28px; height: 28px; background: #fff4e5; border-radius: 8px;
  margin-right: 0;
}

/* --- FOOTER --- */
footer {
  background: #fff;
  border-top: 1px solid #f2ebe0;
  box-shadow: 0 -2px 8px rgba(40,65,82,0.04);
  padding: 28px 0 0 0;
}
footer .container {
  align-items: stretch;
  gap: 18px;
}
footer .content-wrapper {
  flex-direction: row;
  gap: 32px;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  padding-bottom: 20px;
}
footer nav.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 11px;
  min-width: 140px;
}
footer nav.footer-nav a {
  font-size: 0.99rem;
  color: #284152;
  background: none;
  border-radius: 7px;
  padding: 6px 8px;
  transition: background 0.17s,color 0.17s;
}
footer nav.footer-nav a:hover, footer nav.footer-nav a:focus {
  background: #fff4e5;
  color: #F29D34;
}
.contact-short {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.contact-short p {
  font-size: 0.97rem;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 0;
}
.contact-short img {
  width: 22px;
  height: 22px;
  border-radius: 5px;
}
.social-links {
  display: flex;
  flex-direction: row;
  gap: 12px;
  margin-top: 8px;
}
.social-links a img {
  width: 32px; height: 32px; border-radius: 6px;
  background: #fff4e5;
  box-shadow: 0 1px 2px rgba(242,157,52,0.05);
  transition: background 0.16s;
}
.social-links a:hover img, .social-links a:focus img {
  background: #FFE9C7;
}
footer p {
  color: #888;
  margin-top: 16px;
  font-size: 0.89rem;
}
footer img {
  max-height: 44px;
  margin-bottom: 10px;
}
@media (max-width: 768px) {
  footer .content-wrapper {
    flex-direction: column;
    gap: 20px;
    justify-content: flex-start;
    align-items: flex-start;
  }
  .footer-nav {
    flex-direction: row;
    gap: 14px;
    width: 100%;
  }
}

/* --- TYPOGRAPHY & UTILITY --- */
strong { color: #F29D34; }
.bg-accent { background: #F29D34; color: #fff; }
.text-accent { color: #F29D34; }
.bg-primary { background: #284152; color: #fff; }
.text-primary { color: #284152; }

/* --- BUTTONS --- */
button, .btn {
  border-radius: 32px;
  padding: 10px 28px;
  background: #F29D34;
  color: #fff;
  font-family: 'Quicksand', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  box-shadow: 0 2px 8px rgba(242,157,52,0.09);
  cursor: pointer;
  transition: background 0.16s, box-shadow 0.18s;
  outline: none;
}
button:hover, button:focus, .btn:hover, .btn:focus {
  background: #d98724;
  color: #fff;
}

/* --- COOKIE CONSENT BANNER --- */
.cookie-banner {
  position: fixed;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%) translateY(64px);
  width: 96%;
  max-width: 440px;
  background: #fff4e5;
  color: #284152;
  border-radius: 22px 22px 0 0;
  box-shadow: 0 -2px 16px rgba(242,157,52,0.16), 0 1px 9px rgba(40,65,82,0.06);
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 24px 24px 20px 24px;
  z-index: 3000;
  opacity: 0; pointer-events: none;
  transition: transform 0.33s cubic-bezier(.71,.07,.44,.99), opacity 0.22s;
}
.cookie-banner.visible {
  opacity: 1; pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.cookie-banner p {
  margin-bottom: 10px;
  font-size: 1.02rem;
}
.cookie-banner-buttons {
  display: flex;
  flex-direction: row;
  gap: 14px;
  justify-content: flex-end;
}
.cookie-banner .accept-btn {
  background: #F29D34;
  color: #fff;
}
.cookie-banner .accept-btn:hover, .cookie-banner .accept-btn:focus {
  background: #d98724;
  color: #fff;
}
.cookie-banner .reject-btn {
  background: #F1F5F9;
  color: #284152;
  border: 1.5px solid #F29D34;
}
.cookie-banner .reject-btn:hover, .cookie-banner .reject-btn:focus {
  background: #FFE9C7;
  color: #284152;
}
.cookie-banner .settings-btn {
  background: #fff;
  color: #F29D34;
  border: 1.5px solid #F29D34;
}
.cookie-banner .settings-btn:hover, .cookie-banner .settings-btn:focus {
  background: #FFE9C7;
  color: #d98724;
}

/* --- COOKIE SETTINGS MODAL --- */
.cookie-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(40,65,82,0.24);
  z-index: 4000;
  display: none;
  align-items: center;
  justify-content: center;
}
.cookie-modal-overlay.visible { display: flex; }
.cookie-modal {
  background: #fff;
  border-radius: 26px;
  box-shadow: 0 8px 32px rgba(242,157,52,0.16), 0 2px 13px rgba(40,65,82,0.08);
  padding: 34px 28px;
  width: 96vw;
  max-width: 430px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  animation: cookieModalIn 0.34s cubic-bezier(.64,.04,.37,1.01);
}
@keyframes cookieModalIn {
  from { transform: scale(0.95) translateY(32px); opacity: 0.2; }
  to { transform: scale(1) translateY(0); opacity: 1; }
}
.cookie-modal h3 {
  font-family: 'Quicksand', Arial, Helvetica, sans-serif;
  color: #F29D34;
  font-size: 1.22rem;
  margin-bottom: 5px;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 7px 0;
}
.cookie-category label {
  font-size: 1.01rem;
  color: #284152;
  font-weight: 500;
}
.cookie-modal .toggle-switch {
  width: 38px; height: 22px;
  background: #e8e8e8;
  border-radius: 22px;
  position: relative;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.19s;
}
.cookie-modal .toggle-switch[data-checked="true"] {
  background: #F29D34;
}
.cookie-modal .toggle-thumb {
  position: absolute;
  left: 2px; top: 2px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(242,157,52,0.11);
  transition: left 0.17s, background 0.17s;
}
.cookie-modal .toggle-switch[data-checked="true"] .toggle-thumb {
  left: 18px;
  background: #fff5e1;
}
.cookie-modal .category-note {
  font-size: 0.94rem; color: #9f855c; padding-left: 4px; }
.cookie-modal .category-essential { color: #284152; font-weight: 600; }
.cookie-modal .modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 14px;
  margin-top: 10px;
}
.cookie-modal .accept-btn, .cookie-modal .reject-btn {
  padding: 10px 22px;
  font-size: 1rem;
}

/* --- RESPONSIVE DESIGN --- */
@media (max-width: 990px) {
  .container { max-width: 98vw; padding: 0 7vw; }
}
@media (max-width: 768px) {
  .container { max-width: 100vw; padding: 0 1.5vw; }
  section.hero, section.cta, section.features, section.testimonials, section.about-overview, section.about-block, section.courses-list, section.schedule-pricing, section.faq-block, section.gdpr-block, section.privacy-policy, section.terms-block, section.contact-info, section.cookie-policy, section.thank-you {
    padding: 18px 4vw;
    margin-bottom: 36px;
    border-radius: 16px;
  }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.3rem; }
  h3 { font-size: 1.1rem; }
}

/* --- SMOOTH MICRO-INTERACTIONS --- */
a, button, .cta-btn, .feature-item, .card, .testimonial-card, .mobile-menu-toggle, .mobile-menu-close, .social-links a img, .cookie-banner, .cookie-banner-buttons button {
  transition-property: background, box-shadow, color, opacity, transform;
  transition-duration: 0.15s, 0.22s, 0.18s, 0.15s, 0.23s;
}

/* --- MISC UTILITIES --- */
.d-none { display: none !important; }

/* --- FONT IMPORTS (CDN fallbacks) --- */
@import url('https://fonts.googleapis.com/css?family=Quicksand:400,500,700&display=swap');
@import url('https://fonts.googleapis.com/css?family=Montserrat:400,500,700&display=swap');
