/* CSS RESET & NORMALIZATION */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
  height: 100%;
}
body {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 16px;
  background: #F5F6FA;
  min-height: 100vh;
  color: #254056;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  color: #254056;
  letter-spacing: 0.01em;
  margin-bottom: 16px;
}
h1 { font-size: 2.5rem; line-height: 1.15; }
h2 { font-size: 2rem; line-height: 1.18; }
h3 { font-size: 1.3rem; line-height: 1.2; }
h4 { font-size: 1.15rem; margin-bottom: 10px; }
p, ul, ol, li {
  font-size: 1rem;
  margin-bottom: 0.75em;
}
ul, ol { padding-left: 22px; }
strong, b {
  font-weight: 700;
  color: #174fa3;
}
a {
  color: #1976D2;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #34c3ff;
  text-decoration: underline;
  outline: none;
}

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

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
}

/* HERO SECTION */
.hero {
  background: #84B6F4;
  background: linear-gradient(90deg, #59aaf1 0%, #84B6F4 100%);
  color: #fff;
  padding: 70px 0 60px 0;
  position: relative;
  overflow: hidden;
}
.hero .content-wrapper {
  align-items: center;
  text-align: center;
  gap: 28px;
}
.hero h1 {
  font-size: 2.8rem;
  color: #fff;
  text-shadow: 0 2px 16px #25405633;
}
.hero .subheadline {
  font-size: 1.3rem;
  color: #fff;
  font-weight: 400;
  margin-bottom: 16px;
}

/* NAVIGATION BAR */
header {
  position: sticky;
  top: 0;
  background: #254056;
  z-index: 20;
}
.main-nav {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 28px;
  padding: 0 20px;
  height: 70px;
  background: #254056;
}
.main-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.07rem;
  font-weight: 500;
  padding: 7px 0;
  transition: color 0.16s;
  position: relative;
}
.main-nav a.cta-btn {
  margin-left: auto;
}
.main-nav a:not(.cta-btn):hover,
.main-nav a:not(.cta-btn):focus {
  color: #FFCB05;
  text-decoration: none;
}
.main-nav img {
  height: 40px;
  margin-right: 8px;
  vertical-align: middle;
}

/* CTA BUTTONS */
.cta-btn {
  display: inline-block;
  border-radius: 28px;
  font-weight: bold;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  letter-spacing: .03em;
  padding: 13px 26px;
  font-size: 1rem;
  transition: background 0.18s, color 0.18s, box-shadow 0.18s;
  box-shadow: 0 4px 20px 0 #1976D216;
  border: none;
}
.cta-btn.primary {
  background: #FFCB05;
  color: #254056;
  box-shadow: 0 2px 24px 0 #25405633;
}
.cta-btn.primary:hover,
.cta-btn.primary:focus {
  background: #FFE066;
  color: #1d2127;
  box-shadow: 0 4px 24px 0 #25405666;
}
.cta-btn.secondary {
  background: #34c3ff;
  color: #fff;
}
.cta-btn.secondary:hover,
.cta-btn.secondary:focus {
  background: #1976D2;
  color: #fff;
  box-shadow: 0 4px 18px 0 #1976D233;
}

/* MOBILE NAVIGATION */
.mobile-menu-toggle {
  display: none;
  position: absolute;
  top: 16px;
  right: 24px;
  background: #FFCB05;
  color: #254056;
  width: 46px;
  height: 46px;
  border: none;
  border-radius: 50%;
  font-size: 2rem;
  font-weight: bold;
  cursor: pointer;
  box-shadow: 0 2px 6px #0002;
  z-index: 202;
  transition: background 0.18s, color 0.18s;
}
.mobile-menu-toggle:focus {
  outline: 2px solid #34c3ff;
}
.mobile-menu {
  pointer-events: none;
  opacity: 0;
  transform: translateX(100%);
  transition: opacity 0.32s cubic-bezier(.6,.01,.71,.99), transform 0.32s cubic-bezier(.6,.01,.71,.99);
  position: fixed;
  top: 0; right: 0; bottom: 0; left: 0;
  background: linear-gradient(90deg, #FFCB05 0%, #84B6F4 80%);
  z-index: 201;
  display: flex;
  flex-direction: column;
}
.mobile-menu.active {
  pointer-events: auto;
  opacity: 1;
  transform: translateX(0);
}
.mobile-menu-close {
  background: #254056;
  color: #fff;
  border: none;
  border-radius: 50%;
  font-size: 2rem;
  width: 46px;
  height: 46px;
  position: absolute;
  top: 18px;
  right: 30px;
  cursor: pointer;
  z-index: 206;
  transition: background 0.2s, color 0.2s;
}
.mobile-menu-close:focus { outline: 2px solid #fff; }
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 32px;
  align-items: center;
  justify-content: center;
  height: 100vh;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #254056;
  font-size: 1.6rem;
  font-weight: 700;
  padding: 10px 0;
  transition: color 0.18s;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  color: #fff;
  background: #1976D2;
  border-radius: 22px;
  padding: 10px 24px;
}

@media (max-width: 1000px) {
  .main-nav {
    gap: 18px;
  }
}
@media (max-width: 900px) {
  .main-nav a {
    font-size: 0.98rem;
  }
}
@media (max-width: 900px) {
  .main-nav a.cta-btn {
    margin-left: auto;
    padding: 10px 18px;
  }
}
@media (max-width: 830px) {
  .main-nav {
    gap: 12px;
    font-size: 0.93rem;
  }
}
/* Mobile Nav Hide Desktop Nav */
@media (max-width: 768px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (min-width: 769px) {
  .mobile-menu {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: none;
  }
}

/* FLEXBOX SPACING & GENERAL FLEX CONTAINERS */
.card-container, .feature-grid, .service-cards, .benefits-grid, .topic-cards, .faq-blocks, .course-list, .workshop-list, .tip-list, .usp-list, .expertise-grid, .event-schedule {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
}
.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: 20px;
  background: #ffe066;
  color: #254056;
  border-radius: 22px;
  padding: 26px 32px;
  margin-bottom: 24px;
  box-shadow: 0 6px 24px 0 #FEB90033;
  font-size: 1.13rem;
}
.testimonial-card strong {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 800;
  color: #174fa3;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* CARD STYLES */
.card {
  margin-bottom: 20px;
  position: relative;
  border-radius: 18px;
  box-shadow: 0 4px 24px #25405624;
  background: #fff;
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 8px 40px #1976D233;
  transform: translateY(-2px) scale(1.01);
  z-index: 3;
}

/************************ CUSTOM SECTION STYLES ************************/
/* Feature Grid/Ul Cards */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin-top: 16px;
  justify-content: space-around;
}
.feature-grid li {
  flex: 1 1 220px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 18px #84B6F466;
  padding: 22px 18px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  min-width: 190px;
  transition: box-shadow 0.18s, transform 0.18s;
  margin-bottom: 20px;
}
.feature-grid li:hover {
  box-shadow: 0 8px 36px #1976D233;
  transform: translateY(-5px) scale(1.022);
}
.feature-grid img {
  width: 44px; height: 44px; margin-bottom: 4px;
}
.feature-grid h3 {
  font-size: 1.22rem;
  margin-bottom: 5px;
}

/********* Service Cards / Workshop / Topic Cards *********/
.service-cards, .topic-cards, .benefits-grid, .recommended-courses {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 14px;
  justify-content: flex-start;
}
.service-cards > div, .benefits-grid > div, .topic-cards > div {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 6px 28px #34c3ff0d;
  padding: 28px 20px 24px 20px;
  flex: 1 1 220px;
  min-width: 200px;
  max-width: 260px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 11px;
  margin-bottom: 24px;
  transition: box-shadow 0.18s, transform 0.18s;
  position: relative;
}
.service-cards > div:hover,
.benefits-grid > div:hover,
.topic-cards > div:hover {
  box-shadow: 0 10px 30px #1976D233;
  transform: translateY(-4px) scale(1.025);
  z-index: 2;
}
.service-cards img,
.benefits-grid img,.topic-cards img {
  height: 36px; width: 36px;
  margin-bottom: 4px;
}
.service-cards h3,
.benefits-grid p, .topic-cards h3 {
  font-size: 1rem;
}
.service-cards b, .benefits-grid b {
  color: #1976D2;
  font-weight: 800;
}
.service-cards a,
.recommended-courses a {
  margin-top: 12px;
  font-weight: bold;
  color: #254056;
}
.service-cards a:hover {
  color: #34c3ff;
}

/*********** Review Highlights & FAQ ************/
.review-highlights ul, .learning_goals ul, .usp-list, .tip-list, .workshop-list, .faq-list, .how-to-guides, .member-quotes {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: flex-start;
  margin-bottom: 20px;
}
.review-highlights li, .learning_goals li, .usp-list li, .tip-list li, .how-to-guides li, .workshop-list li {
  background: #34c3ff0f;
  color: #1976D2;
  border-radius: 14px;
  padding: 10px 20px;
  font-size: 1rem;
}

/************ Infographic Summary ************/
.infographic-summary {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 22px 0;
  background: #ffe06644;
  padding: 14px 20px;
  border-radius: 18px;
}
.infographic-summary img {
  width: 52px; height: 52px;
}

/************* Cookie Consent Banner ************/
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  z-index: 300;
  background: linear-gradient(90deg, #ffd60a 30%, #34c3ff 100%);
  color: #254056;
  box-shadow: 0 -2px 16px #25405633;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 20px 26px;
  gap: 24px;
  font-size: 1rem;
  animation: slideupBanner 0.45s cubic-bezier(.55,0,.65,1) 0s 1;
}
@keyframes slideupBanner {
  0% { transform: translateY(100%); }
  100% { transform: translateY(0); }
}
.cookie-banner p {
  margin-bottom: 0;
  font-size: 1.03rem;
  flex: 1 0 200px;
}
.cookie-banner .cookie-btn {
  margin-left: 10px;
  padding: 10px 18px;
  border: none;
  border-radius: 22px;
  background: #254056;
  color: #fff;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: bold;
  font-size: 0.97rem;
  transition: background 0.2s, color 0.18s;
  cursor: pointer;
  box-shadow: 0 4px 14px #25405614;
}
.cookie-banner .cookie-btn.settings {
  background: #ffcb05;
  color: #254056;
  border: 2px solid #254056;
}
.cookie-banner .cookie-btn:hover,
.cookie-banner .cookie-btn:focus {
  background: #1976D2;
  color: #fff;
  outline: none;
}
.cookie-banner .cookie-btn.settings:hover,
.cookie-banner .cookie-btn.settings:focus {
  background: #ffe066;
  color: #1d2127;
}

/* Cookie Modal */
.cookie-modal {
  display: none;
  position: fixed;
  left: 50%; top: 50%;
  transform: translate(-50%, -45%) scale(0.98);
  min-width: 300px; max-width: 430px;
  width: 95vw;
  background: #fff;
  color: #254056;
  z-index: 420;
  padding: 28px 32px;
  border-radius: 22px;
  box-shadow: 0 12px 32px #25405650;
  flex-direction: column;
  gap: 22px;
  animation: fadeModal 0.32s cubic-bezier(.68,0,.53,1.01) 1;
}
@keyframes fadeModal {
  0% { opacity: 0; }
  100% { opacity: 1; }
}
.cookie-modal.active {
  display: flex;
}
.cookie-modal h3 { font-size: 1.28rem; margin-bottom: 12px; }
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 13px;
  font-size: 1.05rem;
}
.cookie-modal .cookie-toggle {
  appearance: none;
  width: 40px; height: 22px;
  background: #eee;
  border-radius: 16px;
  position: relative;
  outline: none; cursor: pointer;
  transition: background 0.23s;
}
.cookie-modal .cookie-toggle:checked {
  background: #34c3ff;
}
.cookie-modal .cookie-toggle::after {
  content: '';
  position: absolute; left: 4px; top: 3px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 1px 3px #25405622;
  transition: transform 0.23s;
}
.cookie-modal .cookie-toggle:checked::after {
  transform: translateX(16px);
}
.cookie-modal .cookie-btn {
  margin-top: 4px;
  margin-right: 12px;
}
.cookie-modal .modal-actions {
  display: flex;
  gap: 14px;
  justify-content: flex-end;
}
.cookie-modal .modal-close {
  position: absolute;
  top: 13px;
  right: 19px;
  background: #254056;
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 32px; height: 32px;
  font-size: 1.1rem;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center; justify-content: center;
  transition: background 0.18s;
}
.cookie-modal .modal-close:hover,
.cookie-modal .modal-close:focus { background: #1976D2; }

/******** FOOTER **********/
footer {
  background: #254056;
  color: #fff;
  padding: 40px 20px 22px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  margin-top: 60px;
}
.footer-brand img {
  width: 50px; height: 50px;
  margin-bottom: 9px;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  justify-content: center;
  align-items: center;
}
.footer-links a {
  color: #FFCB05;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: underline;
  margin-bottom: 4px;
  transition: color 0.18s;
}
.footer-links a:hover, .footer-links a:focus {
  color: #fff;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  font-size: 0.97rem;
  margin: 0 auto;
}
.footer-contact a {
  color: #84B6F4;
  text-decoration: underline;
}

/**** ARTICLE / TEXT BLOCK STYLES ****/
.text-section, .legal-text, .confirmation-text {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-bottom: 10px;
}

/**** MODAL BACKDROP (when open) *****/
.cookie-modal-backdrop {
  display: none;
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  z-index: 415;
  background: #1e233399;
  transition: opacity 0.18s;
  opacity: 0;
}
.cookie-modal-backdrop.active {
  display: block;
  opacity: 1;
}

/**** Other visual emphasis classes ****/
.subheadline {
  font-weight: 400;
  font-size: 1.12rem;
  color: #426081;
  margin-bottom: 12px;
}
.map-embed {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 12px;
  background: #e8f6ff99;
  border-radius: 16px;
  padding: 12px 18px;
  font-size: .98rem;
}
.map-embed img {
  width: 36px; height: 36px;
}
.office-hours ul {
  margin-top: 6px;
  gap: 6px;
}

/**** FAQ blocks ****/
.faq-list p {
  background: #34c3ff0f;
  border-radius: 14px;
  padding: 11px 18px;
  margin-bottom: 11px;
}

/**** Specialized list blocks ****/
.how-to-guides li,
.tip-list li {
  min-width: 220px;
  background: #fffaf3;
  color: #254056;
  border-radius: 13px;
  box-shadow: 0 3px 10px #FFD70010;
  font-weight: 500;
}
.how-to-guides b, .tip-list b {
  color: #174fa3;
  font-weight: 800;
}

/**** Workshop Date Overview ****/
.date-overview {
  background: #ffe06666;
  border-radius: 13px;
  padding: 11px 18px;
  font-size: .99rem;
  margin-bottom: 14px;
}

/**** Register/Join CTA blocks ******/
.register-cta, .enrollment_cta, .join-cta, .request-advice-cta {
  margin-top: 13px;
}
.register-cta > a, .enrollment_cta > a, .join-cta > a, .request-advice-cta > a {
  min-width: 180px;
}

/**** Responsive: MOBILE FIRST ****/
@media (max-width: 1200px){
  .container { max-width: 1000px; }
}
@media (max-width: 1000px){
  .container { max-width: 800px; }
  .content-wrapper { gap: 18px; }
}
@media (max-width: 820px){
  .container { max-width: 680px; }
  .feature-grid, .service-cards, .workshop-list, .topic-cards, .benefits-grid {
    gap: 18px;
  }
}
@media (max-width: 768px){
  .hero {
    padding: 48px 0 32px 0;
  }
  .hero h1 {
    font-size: 2rem;
  }
  .section {
    margin-bottom: 40px;
    padding: 22px 8px;
  }
  .feature-grid,
  .service-cards,
  .topic-cards, .benefits-grid, .content-grid, .card-container, .testimonial-slider, .review-highlights ul, .tip-list, .workshop-list {
    flex-direction: column;
    gap: 14px;
  }
  .feature-grid li, .service-cards > div,
  .topic-cards > div,
  .benefits-grid > div{
    min-width: 0;
    max-width: 100%;
    width: 100%;
  }
  .container { max-width: 96vw; }
}
@media (max-width: 540px){
  .footer-links {
    flex-direction: column;
    gap: 10px;
  }
  .footer-contact {
    font-size: 0.89rem;
    gap: 4px;
  }
  .cookie-banner {
    flex-direction: column;
    gap: 10px;
    font-size: 0.98rem;
    align-items: stretch;
    padding: 10px 9px;
  }
}
@media (max-width: 460px) {
  h1 {font-size: 1.29rem;}
  h2 {font-size: 1.13rem;}
  .main-nav img, .footer-brand img {width: 33px; height: 33px;}
  .cookie-banner p, .cookie-banner {
    font-size: .95rem;
  }
}

/**** Testimonial slider (simulate horizontal scroll on small screens) ****/
.testimonial-slider {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.testimonial-slider > .testimonial-card {
  flex: 1 1 220px;
  min-width: 210px;
  max-width: 350px;
}
@media (max-width: 768px){
  .testimonial-slider {
    flex-direction: column;
    gap: 14px;
  }
  .testimonial-slider > .testimonial-card {
    max-width: 100%;
    min-width: 0;
    width: 100%;
  }
}

/**** Decorative micro-interactions ****/
.card, .service-cards > div, .feature-grid li, .testimonial-card, .topic-cards > div, .benefits-grid > div {
  transition: box-shadow 0.22s, transform 0.16s, border-color 0.16s;
}
.card:active, .service-cards > div:active, .feature-grid li:active, .testimonial-card:active, .topic-cards > div:active, .benefits-grid > div:active {
  box-shadow: 0 2px 6px #1976D244;
  transform: scale(0.97);
}

/**** Misc Minor Details ****/
::-webkit-input-placeholder { color: #777; }
::-moz-placeholder { color: #777; }
:-ms-input-placeholder { color: #777; }
::placeholder { color: #777; }

/**** Remove outline from buttons and anchors except on focus ****/
button, a {
  outline: none;
}
button:focus-visible, a:focus-visible {
  outline: 2px solid #1976D2;
  outline-offset: 2px;
}

/**** Print Safe Styles ****/
@media print {
  header, footer, .mobile-menu, .cookie-banner, .cookie-modal, .cookie-modal-backdrop { display: none !important; }
}
