/* CSS 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, 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 {
  box-sizing: border-box;
  font-size: 16px;
  height: 100%;
}
*, *::before, *::after {
  box-sizing: inherit;
}
body {
  min-height: 100vh;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  color: #181818;
  background: #fff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img {
  max-width: 100%;
  display: block;
  height: auto;
  vertical-align: middle;
  border: none;
}
a {
  color: #203A56;
  text-decoration: none;
  transition: color 0.18s cubic-bezier(.4,0,.2,1);
}
a:hover, a:focus {
  color: #181818;
  text-decoration: underline;
}
ul, ol {
  margin-left: 1.25em;
}
section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
strong, b {
  font-weight: 700;
}

/* Typography */
h1,
h2,
h3,
h4 {
  font-family: 'Playfair Display', serif;
  color: #000;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 24px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 14px;
}
h4 {
  font-size: 1rem;
  margin-bottom: 10px;
}
p, li {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  margin-bottom: 12px;
  color: #222;
}
.subheadline {
  font-size: 1.25rem;
  font-family: 'Open Sans', Arial, sans-serif;
  color: #606060;
  margin-bottom: 22px;
  font-weight: 400;
}
.supporting-text {
  font-size: 1.1rem;
  color: #454545;
  margin-bottom: 28px;
  font-family: 'Open Sans', Arial, sans-serif;
}
.testimonial-meta {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  color: #3a3a3a;
  font-style: italic;
  margin-top: 10px;
  opacity: 0.88;
}
.rating img {
  width: 22px;
  height: 22px;
  display: inline-block;
}

/* Container & Layout */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding-left: 16px;
  padding-right: 16px;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.features-grid,
.benefits-grid,
.step-grid,
.value-list,
.team-grid,
.short-testimonials,
.story-grid,
.course-list-grid,
.pricing-grid,
.testimonial-list,
.faq-list,
.rating-overview,
.legal-block,
.stat-block,
.contact-details {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.step-grid > div,
.features-grid > div,
.benefits-grid > div,
.value-list > div,
.team-grid > div,
.story-grid > div,
.course-list-grid > div,
.pricing-grid > div,
.short-testimonials > div {
  background: #fafbfc;
  border-radius: 12px;
  box-shadow: 0 3px 18px 0 rgba(0,0,0,0.07);
  padding: 24px 20px;
  flex: 1 1 270px;
  min-width: 250px;
  max-width: calc(100% - 48px);
  transition: box-shadow 0.22s cubic-bezier(.4,0,.2,1), transform 0.22s cubic-bezier(.4,0,.2,1);
}
.step-grid > div:hover,
.features-grid > div:hover,
.benefits-grid > div:hover,
.value-list > div:hover,
.team-grid > div:hover,
.short-testimonials > div:hover {
  box-shadow: 0 8px 28px 0 rgba(33,33,33,0.16);
  transform: translateY(-3px) scale(1.015);
}
.story-grid > div {
  background: #fff;
  border-radius: 10px;
  border: 1px solid #ececec;
  box-shadow: 0 2px 8px 0 rgba(160,160,160,0.07);
  padding: 20px 18px;
}

.pricing-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
}
.pricing-grid .plan-item {
  background: #fff;
  border: 1px solid #dcdcdc;
  border-radius: 16px;
  padding: 32px 24px 38px 24px;
  min-width: 260px;
  flex: 1 1 300px;
  box-shadow: 0 3px 16px 0 rgba(0,0,0,0.07);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: box-shadow 0.22s cubic-bezier(.4,0,.2,1), transform 0.22s cubic-bezier(.4,0,.2,1);
}
.pricing-grid .plan-item:hover {
  box-shadow: 0 8px 32px 0 rgba(40,40,40,0.13);
  transform: translateY(-4px) scale(1.022);
}
.pricing-grid .plan-item h3 {
  color: #203A56;
  font-family: 'Playfair Display', serif;
}
.pricing-grid .plan-item ul {
  margin: 16px 0;
  padding-left: 0;
  list-style: none;
}
.pricing-grid .plan-item ul li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #414141;
  font-size: 1rem;
  margin-bottom: 10px;
}
.pricing-grid .plan-item .price {
  font-size: 1.4rem;
  font-weight: 700;
  color: #181818;
  letter-spacing: -0.5px;
  margin-top: 16px;
}

.cta-block {
  align-items: center;
  justify-content: center;
  background: #181818;
  color: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 32px 0 rgba(0,0,0,0.09);
  text-align: center;
  padding: 44px 20px 36px 20px;
  gap: 22px;
}
.cta-block h2 {
  color: #fff;
}
.cta-block p {
  color: #fff;
}
.legal-block {
  background: #fafafd;
  border-radius: 10px;
  padding: 28px 24px;
}

/* Cards & Lists */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
  margin-bottom: 20px;
  position: relative;
  padding: 24px 18px;
}

.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
}

/* Testimonial Cards */
.testimonial-card {
  background: #F3F5F6;
  border-left: 4px solid #203A56;
  border-radius: 11px;
  box-shadow: 0 2px 15px 0 rgba(40,40,40,0.07);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  margin-bottom: 20px;
  transition: box-shadow 0.20s cubic-bezier(.4,0,.2,1), border-color 0.15s;
}
.testimonial-card:hover {
  box-shadow: 0 6px 22px 0 rgba(38,45,56,0.13);
  border-color: #E8C373;
}
.testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.testimonial-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.short-testimonials {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

/* FAQ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.faq-item {
  background: #fafbfc;
  border-left: 5px solid #203A56;
  box-shadow: 0 2px 7px 0 rgba(140,140,140,0.07);
  padding: 17px 19px;
  border-radius: 8px;
}

/* Value cards/layout */
.value-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.value-list > div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* Contact Details */
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: #F9FAFB;
  border-radius: 9px;
  padding: 22px 16px;
}
.map-snippet {
  width: 90px;
  height: 90px;
  border-radius: 8px;
  background: #ececec;
  overflow: hidden;
  margin-top: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Legal Notice */
.legal-notice {
  margin-top: 18px;
  text-align: center;
  color: #8a8a8a;
  font-size: 0.96rem;
}

/* Core Buttons */
.btn-primary {
  display: inline-block;
  background: #203A56;
  color: #fff;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1.10rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  border: none;
  padding: 13px 32px 13px 32px;
  border-radius: 24px;
  box-shadow: 0 2px 8px 0 rgba(32,58,86,0.07);
  outline: none;
  cursor: pointer;
  transition: background 0.22s cubic-bezier(.4,0,.2,1), box-shadow 0.22s, transform 0.16s;
}
.btn-primary:hover, .btn-primary:focus {
  background: #ABD7EA;
  color: #181818;
  box-shadow: 0 8px 24px 0 rgba(32,58,86,0.13);
  transform: translateY(-2px) scale(1.02);
}

/* Chips/Tags */
.audience-tag {
  display: inline-block;
  background: #203A56;
  color: #fff;
  font-size: 0.93rem;
  border-radius: 11px;
  padding: 2px 12px;
  margin-left: 8px;
  font-family: 'Open Sans', Arial, sans-serif;
  letter-spacing: 0.01em;
}

/* Header Styles */
header {
  background: #fff;
  box-shadow: 0 2px 16px 0 rgba(32,32,32,0.04);
  position: relative;
  z-index: 30;
}
.header-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 0;
}
.logo-link {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}
.main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  align-items: center;
}
.main-nav a {
  font-family: 'Open Sans', Arial, sans-serif;
  color: #1a1a1a;
  font-weight: 500;
  font-size: 1.06rem;
  letter-spacing: 0.02em;
  padding: 4px 1px;
  position: relative;
}
.main-nav a::after {
  content: '';
  display: block;
  height: 2px;
  width: 0;
  background: #203A56;
  transition: width 0.18s cubic-bezier(.25,.8,.25,1);
  margin-top: 2px;
}
.main-nav a:hover::after,
.main-nav a:focus::after {
  width: 100%;
}
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  color: #203A56;
  cursor: pointer;
  margin-left: 15px;
  padding: 6px 10px;
  border-radius: 7px;
  transition: background 0.16s;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: #EFF4F7;
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(24,24,28,0.98);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  transform: translateX(-100vw);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.38s cubic-bezier(.42,.08,.47,1.38), opacity 0.38s cubic-bezier(.42,.08,.47,1.38);
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  background: none;
  border: none;
  font-size: 2.3rem;
  color: #fff;
  margin: 22px 22px 0 0;
  cursor: pointer;
  padding: 2px 8px;
  border-radius: 8px;
  transition: background 0.16s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #454545;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 26px;
  width: 100%;
  padding: 38px 40px 0 40px;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.27rem;
  font-family: 'Open Sans', Arial, sans-serif;
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 7px 0;
  border-radius: 3px;
  outline: none;
  transition: background 0.17s, color 0.17s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #203A56;
  color: #E8C373;
  text-decoration: none;
}

/* Footer */
footer {
  background: #181818;
  color: #fff;
  padding-top: 38px;
  padding-bottom: 18px;
}
.footer-flex {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 32px;
  align-items: flex-start;
}
.footer-menu {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 1rem;
}
.footer-menu a {
  color: #E8C373;
  opacity: 0.88;
  font-weight: 600;
  transition: color 0.17s, opacity 0.14s;
  text-decoration: none;
}
.footer-menu a:hover, .footer-menu a:focus {
  color: #fff;
  opacity: 1;
}
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
  max-width: 340px;
}
.footer-brand img {
  width: 40px;
  height: auto;
  margin-bottom: 4px;
}
.footer-brand p {
  color: #fff;
  opacity: 0.85;
  font-size: 1.02rem;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin-top: 8px;
  font-size: 1rem;
}
.footer-contact img {
  width: 19px;
  vertical-align: middle;
  margin-right: 7px;
}

/* Cookie Consent Banner & Modal */
.cookie-consent-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1500;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  background: #222326;
  color: #fff;
  padding: 20px 28px;
  box-shadow: 0 -2px 32px rgba(32,32,40,0.12);
  font-size: 1rem;
  border-radius: 0 0 12px 12px;
  animation: slideUpBanner 0.46s cubic-bezier(.48,1.38,.42,1);
}
@keyframes slideUpBanner {
  from { transform: translateY(100%); opacity:0; }
  to { transform: translateY(0); opacity:1; }
}
.cookie-consent-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}
.cookie-btn {
  padding: 8px 22px;
  font-size: 1rem;
  font-family: 'Open Sans', Arial, sans-serif;
  font-weight: 600;
  border-radius: 21px;
  border: none;
  cursor: pointer;
  transition: background 0.18s, color 0.18s, box-shadow 0.18s;
  margin-left: 0;
}
.cookie-btn.accept {
  background: #E8C373;
  color: #222;
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: #f1d799;
}
.cookie-btn.reject {
  background: #fff;
  color: #222;
  border: 1px solid #bbb;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #f3f3f3;
}
.cookie-btn.settings {
  background: #203A56;
  color: #fff;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: #abd7ea;
  color: #181818;
}

.cookie-preferences-modal {
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  z-index: 2200;
  background: rgba(35,38,44,0.86);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.32s cubic-bezier(.43,0,.2,1.3);
}
.cookie-preferences-modal.open {
  opacity: 1;
  pointer-events: auto;
}
.cookie-preferences-content {
  background: #fff;
  color: #181818;
  width: 94vw;
  max-width: 420px;
  border-radius: 14px;
  box-shadow: 0 8px 56px 0 rgba(20,20,30,0.19);
  padding: 38px 24px 32px 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
  animation: fadeInModal 0.42s cubic-bezier(.42,.3,.62,1.31);
}
@keyframes fadeInModal {
  from { transform: scale(0.96); opacity:0; }
  to { transform: scale(1); opacity:1; }
}
.cookie-modal-close {
  position: absolute;
  top: 14px;
  right: 16px;
  background: #f3f3f3;
  border: none;
  border-radius: 8px;
  font-size: 1.4rem;
  color: #181818;
  cursor: pointer;
  padding: 2px 10px;
  transition: background 0.13s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus { background: #ddd; }
.cookie-preferences-content h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.23rem;
  margin-bottom: 8px;
}
.cookie-category-list {
  width: 100%;
  margin: 18px 0 13px 0;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 10px;
}
.cookie-category label {
  font-size: 1rem;
  color: #181818;
}
.cookie-category input[type="checkbox"] {
  accent-color: #203A56;
  width: 20px;
  height: 20px;
  margin-right: 3px;
}
.cookie-category input[disabled] {
  accent-color: #b2b2b2;
}

/* Responsive / Mobile */
@media (max-width: 1040px) {
  .step-grid > div, .features-grid > div, .benefits-grid > div, .value-list > div, .team-grid > div, .pricing-grid .plan-item, .course-list-grid > div {
    min-width: 200px;
    flex: 1 1 170px;
  }
  .footer-contact {
    font-size: 0.97rem;
  }
}
@media (max-width: 900px) {
  h1 { font-size: 2.02rem; }
  .step-grid, .features-grid, .benefits-grid, .value-list, .team-grid, .pricing-grid, .course-list-grid, .story-grid {
    gap: 16px;
  }
  .container {
    max-width: 98vw;
    padding-left: 9px;
    padding-right: 9px;
  }
  .header-flex {
    padding-top: 13px; padding-bottom:13px;
    gap: 11px;
  }
}
@media (max-width: 768px) {
  .content-wrapper, .footer-flex, .features-grid, .benefits-grid, .step-grid, .team-grid, .value-list, .course-list-grid, .pricing-grid, .testimonial-slider, .story-grid {
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
  }
  .header-flex {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px;
  }
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-block;
  }
  .cta-block {
    padding: 25px 10px 24px 10px;
    border-radius: 11px;
  }
  .pricing-grid .plan-item,
  .step-grid > div,
  .features-grid > div,
  .benefits-grid > div,
  .value-list > div,
  .team-grid > div,
  .course-list-grid > div {
    min-width: 0;
    padding: 18px 12px;
  }
}
@media (max-width: 620px) {
  h1 { font-size: 1.32rem; }
  h2 { font-size: 1.12rem; }
  .container {
    padding-left: 4px;
    padding-right: 4px;
  }
  .cookie-consent-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 12px;
    font-size: 0.98rem;
    gap: 13px;
  }
  .cookie-preferences-content { padding: 22px 5vw; }
}

/* Extra: Utility classes/specs for flex patterns */
.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;
    align-items: stretch;
    gap: 18px;
  }
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* Animations and micro-interactions */
.btn-primary,
.cookie-btn,
.mobile-menu-toggle,
.mobile-menu-close,
.cookie-modal-close {
  transition: background 0.18s, color 0.16s, box-shadow 0.18s, transform 0.15s;
}
.card, .step-grid > div, .features-grid > div, .benefits-grid > div, .pricing-grid .plan-item, .faq-item, .testimonial-card, .story-grid > div {
  transition: box-shadow 0.23s, transform 0.18s;
}
.card:hover,
.step-grid > div:hover, .features-grid > div:hover, .benefits-grid > div:hover, .story-grid > div:hover, .pricing-grid .plan-item:hover {
  box-shadow: 0 12px 40px 0 rgba(60,60,60,0.12);
  transform: translateY(-4px) scale(1.01);
}

/* Next-steps lists on thank you page */
.next-steps {
  list-style: disc;
  margin-left: 1.4em;
  margin-bottom: 22px;
  color: #444;
}
.next-steps li {
  margin-bottom: 7px;
  font-size: 1rem;
}

/* Accessibility: focus style */
a:focus, button:focus, .btn-primary:focus, .cookie-btn:focus {
  outline: 2px solid #ABD7EA;
  outline-offset: 2px;
}

/* Hide visually but keep for screen reader */
.sr-only {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Prevent overlapping on all cards */
.card, .card-content, .testimonial-card, .step-grid > div, .features-grid > div, .benefits-grid > div, .value-list > div, .pricing-grid .plan-item {
  margin-bottom: 20px;
}

/* Overwrite styles for content sections to ensure spacing */
.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;
}

/* Misc: Remove spinner arrows from number inputs */
input[type=number]::-webkit-inner-spin-button, 
input[type=number]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
input[type=number] {
  -moz-appearance: textfield;
}
