/* --- 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, 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 {
  font-size: 100%;
  scroll-behavior: smooth;
}

body {
  line-height: 1.5;
  color: #153859;
  background: linear-gradient(135deg, #F6F8F9 0%, #E9F0F8 100%);
  font-family: "Open Sans", Arial, Helvetica, sans-serif;
  min-height: 100vh;
}

img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}

button, input, textarea, select {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background: none;
  border: none;
  outline: none;
  box-shadow: none;
}

ol, ul {
  list-style: none;
}

/* --- BRAND TYPOGRAPHY --- */
h1, h2, h3, h4, h5, h6 {
  font-family: "Montserrat", Arial, Helvetica, sans-serif;
  font-weight: 700;
  color: #153859;
  letter-spacing: -0.5px;
}
h1 {
  font-size: 2rem;
  margin-bottom: 24px;
}
@media (min-width: 600px) {
  h1 {
    font-size: 2.5rem;
  }
}
h2 {
  font-size: 1.5rem;
  margin-bottom: 20px;
}
@media (min-width: 600px) {
  h2 {
    font-size: 2rem;
    margin-bottom: 24px;
  }
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}
h4 {
  font-size: 1rem;
  margin-bottom: 6px;
}

p, li, blockquote, span, a, label {
  font-family: "Open Sans", Arial, Helvetica, sans-serif;
  font-size: 1rem;
  color: #153859;
}
strong {
  font-weight: 700;
}

blockquote.tagline {
  font-style: italic;
  color: #FFD566;
  font-size: 1.15rem;
  margin: 16px 0 32px 0;
  border-left: 4px solid #FFD566;
  padding-left: 20px;
  background: #fffbe6;
  border-radius: 8px;
}

/* ---- LAYOUT & SPACING ---- */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.text-section {
  max-width: 700px;
  margin: 0 auto;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
  border-radius: 20px;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.card {
  margin-bottom: 20px;
  position: relative;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 2px 12px rgba(21,56,89,0.06);
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover {
  box-shadow: 0 6px 24px rgba(21,56,89,0.16);
  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;
}

@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
}

.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: #fff;
  border-radius: 16px;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0 1px 8px rgba(21,56,89,0.07);
  transition: box-shadow 0.2s, transform 0.2s;
  border: 1.5px solid #FFD566;
}
.testimonial-card p {
  color: #153859;
  font-size: 1.08rem;
  flex: 1;
  font-style: italic;
}
.testimonial-card span {
  font-size: 1rem;
  color: #758AA7;
  font-family: "Montserrat", Arial, Helvetica, sans-serif;
}
.testimonial-card:hover {
  box-shadow: 0 8px 28px rgba(255,213,102,0.12);
  transform: translateY(-3px) scale(1.011);
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

@media (max-width: 1024px) {
  .content-grid, .card-container, .team-bios {
    flex-direction: column;
    gap: 24px;
  }
}

@media (max-width: 900px) {
  .container {
    padding: 0 8px;
  }
}
@media (max-width: 600px) {
  .section {
    margin-bottom: 34px;
    padding: 28px 6px;
  }
  h1 {
    font-size: 1.4rem;
  }
  h2 {
    font-size: 1.12rem;
  }
}

/* Home, About, Courses - Specific Lists */
.features-section ul,
.content-wrapper ul, .content-wrapper ol,
.resources-list, .post-list, .video-tutorials, .contact-info-summary {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 18px;
}
.team-bios {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.instructor-bio {
  background: #fff;
  border: 1.5px solid #FFD566;
  border-radius: 16px;
  padding: 20px;
  min-width: 240px;
  flex: 1 1 260px;
  box-shadow: 0 1px 8px rgba(21,56,89,0.08);
}
.team-values {
  margin-top: 28px;
}
.founder-message {
  background: #F6F8F9;
  border-left: 5px solid #FFD566;
  padding: 18px 24px;
  border-radius: 10px;
  margin-top: 28px;
  color: #153859;
}

/* --- HEADER --- */
header {
  background: linear-gradient(90deg, #153859 70%, #FFD566 200%);
  padding: 0;
  box-shadow: 0 2px 24px rgba(21,56,89,0.07);
  position: relative;
  z-index: 20;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 0;
  padding: 18px 16px 16px 16px;
}
header a img {
  height: 38px;
}

header nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 20px;
}
header nav a {
  font-family: "Montserrat", Arial, Helvetica, sans-serif;
  font-weight: 500;
  color: #fff;
  font-size: 1rem;
  padding: 8px 10px;
  border-radius: 8px;
  transition: background 0.16s, color 0.16s;
}
header nav a:hover, header nav a:focus {
  background: #FFD566;
  color: #153859;
}
header nav a.cta-primary {
  background: #FFD566;
  color: #153859;
  padding: 9px 22px;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(255, 213, 102, 0.12);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: .3px;
  transition: background .15s, color .15s, box-shadow .19s;
  margin-left: 10px;
}
header nav a.cta-primary:hover, header nav a.cta-primary:focus {
  background: #153859;
  color: #FFD566;
  box-shadow: 0 6px 24px rgba(255,213,102,0.28);
}

.mobile-menu-toggle {
  display: none;
  background: #FFD566;
  color: #153859;
  border-radius: 10px;
  font-size: 2rem;
  padding: 7px 17px 5px;
  cursor: pointer;
  margin-left: 18px;
  border: none;
  transition: background .18s;
  z-index: 100;
}
.mobile-menu-toggle:active, .mobile-menu-toggle:focus {
  background: #FCC941;
}

/* --- MOBILE NAVIGATION --- */
@media (max-width: 900px) {
  header nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

.mobile-menu {
  position: fixed;
  top: 0; right: 0;
  width: 100vw;
  height: 100vh;
  background: #153859;
  z-index: 1000;
  transform: translateX(100%);
  transition: transform .35s cubic-bezier(.6, .01, .55, .95);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0 0 0 0;
  box-shadow: -8px 0 30px rgba(21,56,89,0.17);
  opacity: 0.98;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  font-size: 2rem;
  color: #FFD566;
  background: none;
  border: none;
  cursor: pointer;
  padding: 14px 22px 14px 14px;
  margin-left: auto;
  margin-top: 20px;
  margin-right: 20px;
  transition: color .18s;
}
.mobile-menu-close:hover {
  color: #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 26px;
  width: 100%;
  align-items: center;
  margin-top: 40px;
}
.mobile-nav a {
  color: #FFD566;
  font-family: "Montserrat", Arial, Helvetica, sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: 1px;
  padding: 18px 0;
  border-radius: 10px;
  width: 90%;
  text-align: center;
  background: none;
  transition: background 0.17s, color 0.17s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #FFD566;
  color: #153859;
}

/* --- MAIN & SECTION BACKGROUNDS --- */
main {
  background: none;
  min-height: 70vh;
  padding-bottom: 60px;
}
section {
  background: none;
  border-radius: 20px;
  box-shadow: none;
  margin-bottom: 60px;
  padding: 40px 0px;
  width: 100%;
}

section:nth-child(odd) {
  background: #fff;
  box-shadow: 0 2px 18px rgba(21,56,89,0.035);
}
section .cta-primary {
  margin-top: 20px;
}

/* --- BUTTONS & CTAS --- */
.cta-primary {
  display: inline-block;
  background: linear-gradient(90deg,#FFD566 80%,#FFECAD 100%);
  color: #153859;
  font-family: "Montserrat", Arial, Helvetica, sans-serif;
  font-weight: 700;
  border: none;
  border-radius: 13px;
  padding: 15px 36px;
  font-size: 1.13rem;
  letter-spacing: 0.4px;
  box-shadow: 0 2px 10px rgba(255,213,102,0.18);
  cursor: pointer;
  transition: background 0.19s, color 0.19s, box-shadow 0.17s, transform 0.18s;
}
.cta-primary:hover, .cta-primary:focus {
  background: #153859;
  color: #FFD566;
  box-shadow: 0 6px 28px rgba(21,56,89,0.16);
  transform: translateY(-2px) scale(1.01);
}

.cta-secondary {
  display: inline-block;
  background: #153859;
  color: #fff;
  font-family: "Montserrat", Arial, Helvetica, sans-serif;
  font-weight: 600;
  padding: 10px 28px;
  border-radius: 10px;
  font-size: 1rem;
  box-shadow: 0 1px 9px rgba(21,56,89,0.04);
  margin-top: 18px;
  letter-spacing: .4px;
  transition: background 0.16s, color 0.16s, box-shadow 0.17s, transform 0.15s;
}
.cta-secondary:hover, .cta-secondary:focus {
  background: #FFD566;
  color: #153859;
  box-shadow: 0 4px 18px rgba(255,213,102,0.18);
  transform: translateY(-1px) scale(1.012);
}

/* ---- CARDS, COURSE LISTS, ARTICLES ---- */
.course-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
}
.course-card {
  flex: 1 1 300px;
  min-width: 255px;
  background: #fff;
  border-radius: 16px;
  border: 1.5px solid #FFD566;
  box-shadow: 0 1px 12px rgba(21,56,89,0.08);
  padding: 24px 20px 22px 20px;
  transition: box-shadow 0.2s, transform 0.17s;
}
.course-card:hover {
  box-shadow: 0 8px 32px rgba(255,213,102,0.19);
  transform: translateY(-4px) scale(1.013);
}

.post-list li, .resources-list li, .video-tutorials li {
  background: #fff;
  border-radius: 13px;
  border: 1.5px solid #E9F0F8;
  box-shadow: 0 1px 10px rgba(21,56,89,0.06);
  padding: 18px 18px 16px 18px;
  margin-bottom: 20px;
  transition: box-shadow 0.17s, transform 0.14s;
}
.post-list li:hover, .resources-list li:hover, .video-tutorials li:hover {
  box-shadow: 0 5px 20px rgba(255,213,102,0.09);
  transform: translateY(-2px) scale(1.01);
}

/* Star Rating Summary */
.star-rating-summary {
  background: #153859;
  color: #FFD566;
  font-family: "Montserrat", Arial, Helvetica, sans-serif;
  font-size: 1.14rem;
  padding: 11px 18px;
  border-radius: 8px;
  margin-top: 12px;
  display: inline-flex;
  align-items: center;
  box-shadow: 0 1px 8px rgba(21,56,89,0.08);
}
.star-rating-summary strong {
  color: #FFD566;
  margin-right: 8px;
  font-weight: bold;
}
.star-rating-summary span {
  font-size: 1.16rem;
  margin-right: 5px;
}

.category-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  align-items: center;
  margin-bottom: 16px;
}
.category-filters a {
  background: #F6F8F9;
  color: #153859;
  border-radius: 7px;
  padding: 5px 18px;
  font-size: 0.96rem;
  transition: background .15s, color .15s;
}
.category-filters a:hover {
  background: #FFD566;
  color: #153859;
}

/* --- FOOTER --- */
footer {
  background: #153859;
  color: #F6F8F9;
  padding: 0;
  font-size: 1rem;
  box-shadow: 0 -2px 16px rgba(21,56,89,.10);
}
footer p, footer span {
  color: white;
}
footer .container {
  flex-direction: row;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px 14px;
  padding: 40px 18px 18px 18px;
}
footer img {
  height: 38px;
  margin-bottom: 12px;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 14px;
}
footer nav a {
  color: #F6F8F9;
  font-family: "Montserrat", Arial, Helvetica, sans-serif;
  font-weight: 500;
  border-radius: 6px;
  padding: 5px 0px;
  font-size: 0.96rem;
  transition: background 0.13s, color 0.13s;
}
footer nav a:hover, footer nav a:focus {
  color: #FFD566;
  text-decoration: underline;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 7px;
  font-size: 0.96rem;
}
.footer-contact img {
  height: 18px;
  width: 18px;
  display: inline;
  vertical-align: middle;
  margin-right: 6px;
}
.social-links {
  display: flex;
  flex-direction: row;
  gap: 18px;
  align-items: center;
  margin-top: 9px;
}
.social-links img {
  height: 28px;
  width: 28px;
  cursor: pointer;
  border-radius: 7px;
  background: #FFD566;
  padding: 3px;
  transition: background 0.11s;
}
.social-links img:hover {
  background: #FFECAD;
}
.legal-info {
  margin-top: 8px;
  font-size: 0.94rem;
  color: #FFD566;
  opacity: 0.8;
  width: 100%;
}

@media (max-width: 900px) {
  footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 34px 8px 8px 8px;
  }
  .legal-info {
    margin-top: 14px;
  }
}

/* ---- IMPACT STATS & BEFORE-AFTER ---- */
.impact-stats ul {
  display: flex;
  flex-direction: column;
  gap: 17px;
}
.impact-stats img {
  height: 18px;
  margin-right: 6px;
  vertical-align: middle;
}
.before-after-quotes p {
  margin-bottom: 9px;
}

/* --- MISC DETAILS --- */
.real-impact, .expectations {
  background: #F6F8F9;
  border-left: 4px solid #FFD566;
  border-radius: 8px;
  padding: 18px 22px;
  margin-top: 22px;
  color: #153859;
}

.benefits-list {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-bottom: 13px;
}

/* --- COOKIE CONSENT BANNER & MODAL --- */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 9999;
  background: #153859;
  color: #FFD566;
  padding: 20px 16px 20px 16px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  box-shadow: 0 -2px 38px rgba(21,56,89,0.12);
  animation: cookieBannerIn 0.42s cubic-bezier(.84,.06,.5,1.49);
  gap: 14px;
}
@keyframes cookieBannerIn {
  from { transform: translateY(200px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner-text {
  color: #FFD566;
  font-size: 1rem;
  font-family: "Montserrat", Arial, Helvetica, sans-serif;
}
.cookie-banner-actions {
  display: flex;
  flex-direction: row;
  gap: 17px;
  margin-top: 6px;
}
.cookie-btn {
  padding: 10px 26px;
  border-radius: 8px;
  font-size: 1rem;
  font-family: "Montserrat", Arial, Helvetica, sans-serif;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: background .16s, color .14s;
}
.cookie-btn.accept {
  background: #FFD566;
  color: #153859;
  margin-right: 7px;
}
.cookie-btn.accept:hover {
  background: #FFECAD;
}
.cookie-btn.reject {
  background: #fff;
  color: #153859;
}
.cookie-btn.reject:hover {
  background: #FFD566;
}
.cookie-btn.settings {
  background: #153859;
  color: #FFD566;
  border: 1.2px solid #FFD566;
}
.cookie-btn.settings:hover {
  background: #FFD566;
  color: #153859;
}

/* Cookie modal overlay */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: rgba(21,56,89,0.82);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: cookieOverlayIn 0.25s cubic-bezier(.7,.03,.29,.98);
}
@keyframes cookieOverlayIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  color: #153859;
  padding: 36px 28px 28px 28px;
  border-radius: 18px;
  max-width: 420px;
  width: 96vw;
  box-shadow: 0 8px 40px rgba(21,56,89,0.36), 0 1px 4px rgba(255,213,102,0.07);
  display: flex;
  flex-direction: column;
  gap: 17px;
  position: relative;
  font-size: 1rem;
  animation: cookieModalIn .33s .05s cubic-bezier(.74,.14,.43,.98);
}
@keyframes cookieModalIn {
  from { transform: scale(0.85) translateY(70px); opacity: 0; }
  to { transform: scale(1) translateY(0); opacity: 1; }
}
.cookie-modal-title {
  font-family: "Montserrat", Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  color: #153859;
  margin-bottom: 16px;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  background: #F6F8F9;
  border-radius: 8px;
  padding: 10px 12px;
}
.cookie-category input[type=checkbox] {
  accent-color: #FFD566;
  width: 17px;
  height: 17px;
}
.cookie-category label {
  font-size: 1.02rem;
}
.cookie-category.essential label {
  opacity: 0.8;
}

.cookie-modal-actions {
  display: flex;
  flex-direction: row;
  gap: 16px;
  margin-top: 20px;
  justify-content: flex-end;
}
.cookie-modal .close-modal {
  position: absolute;
  top: 13px;
  right: 18px;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #153859;
  cursor: pointer;
  opacity: 0.75;
  transition: opacity .15s;
}
.cookie-modal .close-modal:hover {
  opacity: 1;
}

/* --- FORM + CONTACT DETAILS --- */
.contact-info-summary {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin: 16px 0;
}
.contact-info-summary img {
  margin-right: 6px;
  vertical-align: middle;
}
.contact-map-summary {
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.contact-map-summary img {
  margin-right: 6px;
  vertical-align: middle;
  height: 17px;
}

/* --- RESPONSIVE LAYOUTS --- */
@media (max-width: 800px) {
  .course-list {
    flex-direction: column;
    gap: 20px;
  }
  .team-bios {
    flex-direction: column;
    gap: 20px;
  }
}
@media (max-width: 600px) {
  .testimonial-card, .card, .course-card, .instructor-bio {
    padding: 13px;
    min-width: unset;
  }
  .content-wrapper {
    gap: 16px;
  }
  .star-rating-summary {
    font-size: .98rem;
  }
}

/* --- TRANSITIONS & MICRO-INTERACTIONS --- */
a, .cta-primary, .cta-secondary, .card, .testimonial-card,
.course-card, .post-list li, .resources-list li, .video-tutorials li {
  transition: box-shadow 0.15s, background 0.13s, color 0.12s, transform 0.18s;
}

input, textarea, select {
  outline: none;
  border: 1.5px solid #E9F0F8;
  border-radius: 7px;
  padding: 10px 16px;
  font-size: 1rem;
  margin-bottom: 14px;
  transition: border .13s, box-shadow .14s;
  background: #fff;
}
input:focus, textarea:focus, select:focus {
  border: 1.5px solid #FFD566;
  box-shadow: 0 2px 10px rgba(255,213,102,0.06);
}

/* --- ACCESSIBILITY: HIGH CONTRAST FOR SECTION HEADERS & REVIEWS --- */
section h2, section h1 {
  color: #153859;
  opacity: 0.974;
}
.testimonial-card p, .testimonial-card span {
  color: #153859 !important;
  background: none !important;
}
.star-rating-summary {
  color: #FFD566 !important;
  background: #153859;
}

/* --- SPECIAL: fix gap below footer --- */
@media (max-width:600px) {
  main {
    padding-bottom: 80px;
  }
  .cookie-banner {
    padding-bottom: 70px;
  }
}

/* --- HIDE SCROLL WHEN MODALS ACTIVE --- */
body.cookie-modal-open {
  overflow: hidden;
}
