/* ================================================
   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;
  font-size: 16px;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  line-height: 1.58;
  background: #F7F7F7;
  color: #222;
  font-family: 'Roboto', serif;
  font-size: 1rem;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #20415E;
  text-decoration: none;
  transition: color .2s;
}
a:hover, a:focus {
  color: #E8B343;
  outline: none;
}
ul, ol {
  margin: 0 0 20px 24px;
}
li {
  margin-bottom: 8px;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Georgia, 'Times New Roman', serif;
  color: #20415E;
  font-weight: 700;
  letter-spacing: 0.01em;
}
h1 {font-size: 2.5rem; margin-bottom: 24px;}
h2 {font-size: 2rem; margin-bottom: 20px;}
h3 {font-size: 1.5rem; margin-bottom: 16px;}
h4 {font-size: 1.25rem;  margin-bottom: 14px;}
.section { margin-bottom: 60px; padding: 40px 20px; background: #fff; border-radius: 18px; box-shadow: 0 2px 16px 0 rgba(32,65,94,0.05); }
.container {
  width: 100%;
  max-width: 1130px;
  padding-left: 16px;
  padding-right: 16px;
  margin-left: auto;
  margin-right: auto;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
}

/* ================================================
   Header & Navigation
   ================================================ */
header {
  background: #fff;
  box-shadow: 0 1px 8px -2px rgba(32,65,94,0.07);
  z-index: 100;
  position: relative;
}
.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 0;
}
.site-logo img {
  height: 48px;
  transition: opacity .2s;
}
.site-logo:hover img, .site-logo:focus img {opacity: .83;}
.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.main-nav a {
  font-family: 'Montserrat', Georgia, serif;
  font-size: 1.08rem;
  color: #20415E;
  padding: 6px 10px;
  border-radius: 6px;
  transition: background .18s, color .18s;
  font-weight: 500;
}
.main-nav a:hover, .main-nav a:focus { background: #F3F4F6; color: #E8B343; }
.cta-btn {
  background: #E8B343;
  border: none;
  color: #20415E;
  font-family: 'Montserrat', serif;
  font-weight: 700;
  font-size: 1.09rem;
  border-radius: 8px;
  padding: 9px 24px;
  margin-left: 12px;
  box-shadow: 0 4px 20px rgba(232,179,67,0.10);
  cursor: pointer;
  transition: background .21s, transform .13s, box-shadow .21s;
  display: inline-block;
}
.cta-btn:hover, .cta-btn:focus {
  background: #20415E;
  color: #fff;
  transform: translateY(-2px) scale(1.025);
  box-shadow: 0 8px 32px rgba(32,65,94,0.12);
}

/* Mobile nav trigger */
.mobile-menu-toggle {
  display: none;
  background: none;
  font-size: 2rem;
  border: none;
  color: #20415E;
  cursor: pointer;
  margin-left: 16px;
}
@media (max-width: 1020px) {
  .main-nav { gap: 18px; }
}
@media (max-width: 890px) {
  .header-container {padding-left: 8px; padding-right: 8px;}
  .main-nav { gap: 8px; }
  .site-logo img {height: 38px;}
}
@media (max-width: 768px) {
  .main-nav {display: none;}
  .mobile-menu-toggle {display: inline-block;}
}

/* ================================================
   Mobile Menu Overlay
   ================================================ */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #ffffffeb;
  z-index: 1050;
  transform: translateX(100vw);
  transition: transform 0.3s cubic-bezier(.77,.21,.2,.99);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 32px 28px 24px 24px;
  min-width: 220px;
  min-height: 100vh;
  box-shadow: -8px 0 40px 0 rgba(32,65,94,0.08);
  opacity: 0;
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: all;
}
.mobile-menu-close {
  display: block;
  background: none;
  color: #20415E;
  font-size: 2.2rem;
  border: none;
  cursor: pointer;
  align-self: flex-end;
  margin-bottom: 16px;
  padding: 4px 10px;
  border-radius: 6px;
  transition: background .15s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #F3F4F6;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.mobile-nav a {
  font-size: 1.17rem;
  font-family: 'Montserrat', serif;
  color: #20415E;
  font-weight: 500;
  padding: 9px 10px;
  border-radius: 8px;
  transition: background .18s, color .18s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #E8B343;
  color: #fff;
}
@media (max-width: 768px) {
  .mobile-menu {width: 100vw;} 
}
@media (min-width: 769px) {
  .mobile-menu {display: none!important;}
}

/* ================================================
   HERO SECTIONS
   ================================================ */
.hero {
  background: #20415E;
  color: #fff;
  border-radius: 0 0 28px 28px;
  margin-bottom: 40px;
  padding: 50px 0 60px 0;
}
.hero .content-wrapper {
  align-items: flex-start;
  gap: 22px;
}
.hero h1 {
  color: #fff;
  font-size: 2.8rem;
  letter-spacing: 0.005em;
  font-weight: 800;
  margin-bottom: 10px;
  line-height: 1.12;
}
.hero p {
  color: #F3F4F6;
  font-size: 1.15rem;
  max-width: 650px;
}
.hero .cta-btn {
  margin-top: 18px;
  box-shadow: 0 6px 24px rgba(232,179,67,0.12);
}
@media (max-width: 700px) {
  .hero {padding: 34px 0 36px 0;}
  .hero .content-wrapper { gap: 15px; }
  .hero h1 {font-size: 1.8rem;}
}

/* ================================================
   CONTENT GRIDS & FLEXBOX
   ================================================ */
.card-container,
.course-list,
.post-list,
.personas-grid,
.testimonial-slider,
.testimonial-grid,
.features,
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  margin-bottom: 20px;
}
.card-container {gap: 24px;}
.card {margin-bottom: 20px; position: relative; min-width: 220px; flex: 1 1 300px; background: #fff; border-radius: 10px; box-shadow: 0 3px 12px rgba(32,65,94,0.09);}
.content-grid { 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: 18px;
  background: #fafbfc;
  border: 1.5px solid #e8e9ec;
  border-radius: 14px;
  padding: 24px 22px 20px 22px;
  box-shadow: 0 2px 10px rgba(32,65,94,0.05);
  min-width: 260px;
  max-width: 380px;
  margin-bottom: 20px;
}
.testimonial-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  font-size: 1.02rem;
  color: #20415E;
}
.testimonial-card p {
  font-family: 'Georgia', Times, serif;
  font-size: 1.16rem;
  color: #263145;
  margin-bottom: .5em;
}
@media (max-width: 1050px) {
  .testimonial-grid, .testimonial-slider {
    justify-content: flex-start;
    gap: 16px;
  }
}
@media (max-width: 768px) {
  .testimonial-card {max-width: 100vw;}
}

.personas-grid {
  gap: 24px;
  justify-content: flex-start;
}
.personas-grid > div {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(32,65,94,0.05);
  padding: 28px 20px;
  min-width: 210px;
  flex: 1 1 230px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

@media (max-width: 900px) {
  .card-container, .course-list, .content-grid, .post-list, .personas-grid {
    gap: 14px;
  }
}
@media (max-width: 750px) {
  .card-container, .course-list, .content-grid, .post-list, .personas-grid {
    flex-direction: column;
    gap: 18px;
  }
  .card, .personas-grid > div { min-width: 80vw;} 
}

/* ================================================
   COURSE CARDS & PREVIEWS
   ================================================ */
.course-card {
  background: #fffdf8;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(232,179,67,0.08);
  padding: 24px 22px;
  margin-bottom: 16px;
  flex: 1 1 240px;
  position: relative;
  border: 1px solid #eee3cb;
  transition: box-shadow .21s, border .18s, transform .13s;
}
.course-card:hover, .course-card:focus-within {
  box-shadow: 0 6px 26px rgba(232,179,67,0.15);
  border: 1.5px solid #e8b343;
  transform: translateY(-2px) scale(1.012);
}
.course-card h3 {
  font-size: 1.23rem;
  margin-bottom: 8px;
}
.course-card ul {
  list-style-type: disc;
  margin-left: 16px;
  margin-bottom: 14px;
  font-size: 1rem;
  color: #20415E;
}

/* ================================================
   BLOG POST CARDS & CATEGORIES
   ================================================ */
.blog-list .content-wrapper {
  gap: 14px;
}
.blog-categories {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 12px;
  font-family: 'Montserrat', serif;
  font-size: 1.02rem;
}
.blog-categories a {
  border: 1px solid #20415E;
  color: #20415E;
  border-radius: 8px;
  padding: 3px 13px 4px 13px;
  font-weight: 500;
  transition: background .16s, color .16s, border .13s;
}
.blog-categories a:hover, .blog-categories a:focus {
  background: #20415E;
  color: #fff;
  border-color: #E8B343;
}
.post-list { gap: 28px; }
.post-card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 1.5px 12px rgba(32,65,94,0.05);
  border: 1.2px solid #ecedf0;
  padding: 18px 18px 20px 18px;
  flex: 1 1 240px;
  transition: box-shadow .19s, border .14s, transform .13s;
}
.post-card:hover, .post-card:focus-within {
  box-shadow: 0 7px 24px rgba(32,65,94,0.11);
  border: 1.2px solid #20415E;
  transform: translateY(-2px) scale(1.008);
}
.post-card h3 {
  font-size: 1.09rem;
  margin-bottom: 7px;
}
.post-card p {
  font-size: 1rem;
  color: #333;
}

/* ================================================
   FEATURES SECTIONS
   ================================================ */
.features {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 24px;
}
.features ul {
  width: 100%;
  margin-left: 16px;
}
.features li {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #f3f4f6;
  border-radius: 8px;
  padding: 11px 16px 11px 9px;
  margin-bottom: 10px;
  font-size: 1rem;
  color: #20415E;
  box-shadow: 0 1px 4px 0 rgba(32,65,94,0.03);
  font-family: 'Montserrat', serif;
}
.features li img {
  width: 28px;
  height: 28px;
}
.features strong {
  color: #E8B343;
  font-weight: 700;
  font-size: 1.05rem;
}

/* ================================================
   CALLOUTS, CTA, NEWSLETTER, ETC.
   ================================================ */
.cta {
  background: #20415E;
  color: #fff;
  border-radius: 16px;
  padding: 40px 18px;
  margin-bottom: 36px;
  text-align: left;
  box-shadow: 0 2px 20px 0 rgba(32,65,94,0.09);
}
.cta h2 {
  color: #fff;
}
.cta .cta-btn {
  margin-top: 18px;
  padding: 11px 32px;
  font-size: 1.14rem;
  border-radius: 10px;
}
.newsletter {
  background: #E8B343;
  color: #20415E;
  border-radius: 14px;
  padding: 32px 20px;
  margin-bottom: 36px;
  box-shadow: 0 2px 20px 0 rgba(232,179,67,0.08);
}
.newsletter h2 {
  color: #20415E;
}
.newsletter ul {
  color: #20415E;
  font-size: 1.09rem;
}

/* ================================================
   FOOTER
   ================================================ */
.footer {
  padding: 40px 0 18px 0;
  background: #20415E;
  color: #fff;
  border-radius: 36px 36px 0 0;
  margin-top: 64px;
  box-shadow: 0 -2px 22px 0 rgba(32,65,94,0.08);
}
.footer .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 36px 48px;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 18px;
}
.footer-brand img {
  height: 44px;
  margin-bottom: 14px;
  filter: brightness(100) contrast(120);
}
.footer-menu {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-family: 'Montserrat', serif;
  font-size: 1.01rem;
}
.footer-menu a {
  color: #fff;
  opacity: .86;
  transition: color .15s, opacity .14s;
  border-radius: 6px;
  padding: 3px 9px;
}
.footer-menu a:hover, .footer-menu a:focus { background: #E8B343; color: #20415E; opacity: 1; }
.footer-contact img {
  display: inline-block;
  vertical-align: middle;
  width: 20px; height: 20px;
  margin-right: 6px;
}
.footer-contact p {
  margin-bottom: 0;
  font-size: 1rem;
  color: #fff;
  opacity: .8;
}
.footer-social {
  display: flex;
  gap: 14px;
  align-items: center;
}
.footer-social a {
  display: flex;
  border-radius: 50%;
  background: #E8B343;
  width: 36px; height: 36px;
  align-items: center; justify-content: center;
  box-shadow: 0 2px 10px rgba(232,179,67,0.07);
  transition: background .14s, box-shadow .12s;
}
.footer-social a:hover, .footer-social a:focus {background: #fff; box-shadow: 0 6px 20px rgba(32,65,94,.11);}
.footer-social img { width: 20px; height: 20px; }
.footer-copyright {
  width: 100%;
  text-align: center;
  color: #F3F4F6;
  opacity: .78;
  font-size: .97rem;
  padding-top: 10px;
  border-top: 1px solid #33466144;
}
@media (max-width: 900px) {
  .footer .content-wrapper {
    flex-direction: column;
    gap: 24px;
  }
}
@media (max-width: 700px) {
  .footer {padding: 22px 0 10px 0; border-radius: 22px 22px 0 0;}
  .footer .content-wrapper {gap: 14px;}
  .footer-brand img {height: 30px;}
}

/* ================================================
   ABOUT TEAM & VALUES
   ================================================ */
.team ul, .values ul {
  margin-bottom: 12px; margin-left: 22px;
}
.team ul li, .values ul li {
  font-size: 1.03rem;
  margin-bottom: 8px;
  color: #2E3B4F;
  font-family: 'Montserrat', serif;
}
.values p {
  margin-top: 10px;
}

/* ================================================
   CONTACT DETAILS
   ================================================ */
.contact-details {
  background: #F3F4F6;
  border-radius: 10px;
  padding: 18px 22px;
  color: #20415E;
  font-size: 1.06rem;
  margin-top: 10px;
  display: flex; flex-direction: column; gap: 12px;
}
.address-block {
  background: #E8B34311;
  border-radius: 10px;
  padding: 16px 18px;
  color: #20415E;
  font-size: 1.05rem;
  margin-top: 6px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* ================================================
   FAQ LIST
   ================================================ */
.faq-list {
  margin-left: 16px;
  margin-bottom: 10px;
}
.faq-list li {
  background: #fff;
  border-radius: 8px;
  padding: 11px 16px 11px 9px;
  box-shadow: 0 1px 4px 0 rgba(32,65,94,0.03);
  font-size: 1.02rem;
  color: #20415E;
  margin-bottom: 12px;
}

/* ================================================
   POLICY PAGES (GDPR, COOKIES, ETC.)
   ================================================ */
.policy ul {
  margin-left: 17px; margin-bottom: 10px;
}
.policy li {
  margin-bottom: 8px;
  font-size: 1rem;
}
.policy address {
  font-style: normal;
  margin-top: 16px;
  color: #20415E;
  background: #F3F4F6;
  border-radius: 8px;
  padding: 16px 14px 11px 14px;
}

/* ================================================
   COOKIE CONSENT BANNER & MODAL
   ================================================ */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: #fff;
  color: #20415E;
  padding: 22px 18px 18px 18px;
  box-shadow: 0 -3px 38px rgba(32,65,94,0.11);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  z-index: 3000;
  border-radius: 18px 18px 0 0;
  opacity: 0; pointer-events: none;
  transform: translateY(60px);
  transition: opacity .27s cubic-bezier(.62,.01,.35,1), transform .29s cubic-bezier(.65,.01,.29,1);
}
.cookie-banner.visible {
  opacity: 1; pointer-events: all; transform: translateY(0);
}
.cookie-banner p {
  margin-bottom: 6px;
  font-size: 1.05rem;
  color: #20415E;
}
.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.cookie-btn {
  padding: 9px 22px;
  font-family: 'Montserrat', serif;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: background .18s, color .13s, box-shadow .19s;
  box-shadow: 0 1.5px 12px rgba(32,65,94,0.05);
  margin-right: 6px;
}
.cookie-btn.accept {
  background: #E8B343; color: #20415E;
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: #20415E; color: #fff;
}
.cookie-btn.reject {
  background: #20415E; color: #fff;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #E8B343; color: #20415E;
}
.cookie-btn.settings {
  background: transparent;
  border: 1.5px solid #20415E;
  color: #20415E;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: #E8B34322;
}

.cookie-modal {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 18px;
  position: fixed;
  left: 50%;
  top: 50%;
  width: 97vw;
  max-width: 430px;
  background: #fff;
  color: #20415E;
  border-radius: 18px;
  padding: 28px 24px 20px 24px;
  box-shadow: 0 6px 44px rgba(32,65,94,.23);
  z-index: 3100;
  transform: translate(-50%,70px);
  opacity: 0; pointer-events: none;
  transition: opacity .29s cubic-bezier(.5,.01,.23,1), transform .31s cubic-bezier(.41,.09,.41,1);
}
.cookie-modal.visible {
  opacity: 1; pointer-events: all; transform: translate(-50%,-50%);
}
.cookie-modal h3 {
  margin-bottom: 0;
  color: #20415E;
  font-size: 1.25rem;
}
.cookie-modal .category {
  display: flex; align-items: center; justify-content: space-between; width: 100%; margin-bottom: 12px; gap: 10px;
}
.cookie-toggle {
  font-size: 1.1rem;
  border-radius: 6px;
  border: 1.5px solid #E8B343;
  padding: 7px 14px;
  background: #E8B34322;
  color: #20415E;
  cursor: pointer;
  transition: background .14s, border .14s;
}
.cookie-toggle.active {
  background: #E8B343;
  border: 1.5px solid #20415E;
  color: #20415E;
}
.cookie-modal-footer {
  display: flex;
  gap: 14px;
  margin-top: 12px;
}
.cookie-modal .close-cookie-modal {
  background: none;
  color: #20415E;
  font-size: 1.6rem;
  border: none;
  cursor: pointer;
  align-self: flex-end;
  margin-bottom: -14px;
  margin-top: -10px;
  margin-left: auto;
  padding: 0 8px;
  border-radius: 6px;
  transition: background .15s;
}
.cookie-modal .close-cookie-modal:hover, .cookie-modal .close-cookie-modal:focus {
  background: #F3F4F6;
}
@media (max-width: 500px) {
  .cookie-modal {padding: 18px 10px 14px 10px; max-width: 97vw;}
}

/* ================================================
   MISCELLANEOUS & GENERAL
   ================================================ */
strong {font-weight: 700; color: #20415E;}
em {font-style: italic;}
::-webkit-input-placeholder {color: #aaa;}
::-moz-placeholder {color: #aaa;}
:-ms-input-placeholder {color: #aaa;}
::placeholder {color: #aaa;}

/* --- Confirmation / Thank-you --- */
.confirmation .cta-btn {
  margin-top: 22px;
  padding: 12px 34px;
  font-size: 1.1rem;
  border-radius: 9px;
}

/* ================================================
   RESPONSIVE
   ================================================ */
@media (max-width: 1200px) {
  .container {max-width: 98vw;}
}
@media (max-width: 1024px) {
  .container {max-width: 100vw;}
  .section {padding: 30px 6px;}
}
@media (max-width: 900px) {
  h1 {font-size: 2rem;}
  h2 {font-size: 1.33rem;}
  .footer .content-wrapper {gap: 20px;}
}
@media (max-width: 700px) {
  .section {margin-bottom: 30px; padding: 24px 1px;}
  h1 {font-size: 1.22rem; margin-bottom: 18px;}
  h2 {font-size: 1.10rem; margin-bottom: 12px;}
  h3 {font-size: 1rem; margin-bottom: 10px;}
  .container {padding-left: 6px; padding-right: 6px;}
  .card, .course-card, .personas-grid > div, .post-card {min-width: 86vw; max-width: 97vw;}
}
@media (max-width: 440px) {
  .cta-btn, .cookie-btn, .newsletter .cta-btn {font-size: .99rem; padding: 8px 15px;}
  .footer-brand img {height: 18px;}
}

/* Remove focus outline unless keyboard navigation */
:focus:not(:focus-visible) {
  outline: none;
}

/* ================================================
   ANIMATIONS & MICROINTERACTIONS
   ================================================ */
.cta-btn, .cookie-btn, .mobile-menu-close, .mobile-menu-toggle, .footer-social a, .main-nav a, .mobile-nav a {
  transition: background .19s, color .13s, box-shadow .16s, border .16s, transform .13s;
}

/* Smooth fade-in for section reveal */
.section, .card, .course-card, .post-card, .testimonial-card, .personas-grid > div {
  transition: box-shadow .18s, border .17s, transform .13s, background .18s, color .14s;
}

/* Disable CSS grid and columns everywhere */
[class*='grid'], [class^='grid'], [class*='col'], [class^='col'] {
  /* Only flexbox, forcibly override */
  display: flex !important;
  flex-wrap: wrap !important;
  column-count: initial !important;
  column-gap: initial !important;
  columns: initial !important;
  grid-template-columns: initial !important;
  grid: initial !important;
  grid-area: initial !important;
}

/* END STYLE */
