/* RESET & BASE ------------------------------------------------ */
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: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  background: #fff;
  color: #1d2433;
  line-height: 1.6;
  font-size: 1rem;
  min-height: 100vh;
  background-color: #faf8f4;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
ul, ol {
  padding-left: 1.5em;
  margin-bottom: 1em;
}
a {
  color: #20559a;
  text-decoration: none;
  transition: color 0.15s;
}
a:hover, a:focus {
  color: #3bb38e;
}
strong {
  font-weight: 700;
}
hr {
  border: none;
  border-bottom: 1px solid #e6e4df;
  margin: 24px 0;
}

/* TYPOGRAPHY ---------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  color: #182234;
  font-weight: 700;
}
h1 {
  font-size: 2.2rem;
  margin-bottom: 18px;
  letter-spacing: -0.5px;
}
h2 {
  font-size: 1.55rem;
  margin-bottom: 14px;
}
h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
  font-weight: 600;
}
h4, h5, h6 {
  font-size: 1rem;
  margin-bottom: 8px;
}
p, li {
  color: #222;
  font-size: 1rem;
  margin-bottom: 0.9em;
}

/* CONTAINER & LAYOUT -------------------------------------------- */
.container {
  width: 100%;
  max-width: 1140px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
  display: flex;
  flex-direction: column;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(32,85,154,0.04);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* FLEX PATTERNS (Mandatory) ------------------------------------- */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 12px rgba(32,85,154,0.08);
  margin-bottom: 20px;
  position: relative;
  min-width: 280px;
  flex: 1 1 280px;
  transition: box-shadow 0.25s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 4px 18px rgba(32,85,154,0.14);
}
.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;
  background: #fff;
  border-radius: 13px;
  box-shadow: 0 2px 16px rgba(32,85,154,0.07);
  margin-bottom: 20px;
  min-width: 260px;
  flex: 1 1 260px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* GRID/FEATURES for each page ----------------------------------- */
.feature-grid, .stat-grid, .course-cards, .benefit-list, .article-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  list-style: none;
}
.feature-grid li, .stat-grid li, .course-cards li, .benefit-list li, .article-list li {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 1.5px 10px rgba(32,85,154,0.07);
  padding: 28px 20px;
  flex: 1 1 240px;
  min-width: 220px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: box-shadow 0.21s, transform 0.21s;
}
.feature-grid li:hover, .stat-grid li:hover, .course-cards li:hover, .benefit-list li:hover, .article-list li:hover {
  box-shadow: 0 4px 18px rgba(32,85,154,0.14);
  transform: translateY(-2px);
}
.category-filters {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.category-filters button {
  background: #faf8f4;
  color: #20559a;
  border: 1px solid #e6e4df;
  border-radius: 8px;
  padding: 7px 20px;
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.category-filters button:hover, .category-filters button:focus {
  background: #20559a;
  color: #fff;
  border-color: #20559a;
}

/* HEADER -------------------------------------------------------- */
header {
  background: #fff;
  border-bottom: 1px solid #e6e4df;
  padding: 0 0;
  width: 100%;
  z-index: 12;
  box-shadow: 0 2px 12px rgba(32,85,154,0.035);
}
header .container {
  flex-direction: row;
  align-items: center;
  height: 72px;
  gap: 21px;
  justify-content: space-between;
}
header .container nav {
  display: flex;
  flex-direction: row;
  gap: 20px;
  align-items: center;
}
header a img {
  height: 38px;
}
.btn-primary {
  padding: 11px 30px;
  background: #20559a;
  color: #fff;
  border-radius: 999px;
  border: none;
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 2px 12px rgba(32, 85, 154, 0.09);
  transition: background 0.15s, box-shadow 0.19s, color 0.13s;
  margin-left: 24px;
  letter-spacing: 0.01em;
}
.btn-primary:hover, .btn-primary:focus {
  background: #3bb38e;
  color: #fff;
  box-shadow: 0 4px 18px rgba(32,85,154,0.18);
}
header .mobile-menu-toggle {
  display: none;
  background: transparent;
  border: none;
  color: #20559a;
  font-size: 2rem;
  margin-left: 14px;
  cursor: pointer;
  line-height: 1;
  padding: 4px 12px;
  border-radius: 8px;
  transition: background 0.17s;
}
header .mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #f4f6f9;
}

/* MOBILE MENU --------------------------------------------------- */
.mobile-menu {
  position: fixed;
  display: flex;
  flex-direction: column;
  top: 0;
  right: 0;
  width: 92vw;
  max-width: 350px;
  height: 100vh;
  background: #fff;
  box-shadow: -8px 0 32px rgba(32,85,154,0.10);
  z-index: 2222;
  transform: translateX(100%);
  transition: transform 0.38s cubic-bezier(.38,1,.52,1);
}
.mobile-menu.active {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  background: transparent;
  border: none;
  color: #20559a;
  font-size: 2.2rem;
  padding: 6px 6px 14px 0;
  cursor: pointer;
  margin-top: 12px;
  margin-right: 16px;
  border-radius: 8px;
  transition: background 0.15s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #f4f6f9;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 20px;
  padding: 0 28px;
}
.mobile-nav a {
  color: #20559a;
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  font-size: 1.1rem;
  padding: 12px 4px;
  border-radius: 5px;
  transition: background .21s, color .18s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #3bb38e22;
  color: #3bb38e;
}

@media (max-width: 1023px) {
  header .container nav {
    display: none;
  }
  header .mobile-menu-toggle {
    display: inline-block;
  }
  .btn-primary {
    margin-left: 0;
  }
}

@media (min-width: 1024px) {
  .mobile-menu {
    display: none !important;
  }
}

/* HERO, SECTIONS, CALLOUTS ------------------------------------- */
main section {
  margin-bottom: 60px;
  padding: 40px 0;
}
.callout-banner {
  background: #20559a;
  color: #fff;
  border-radius: 11px;
  margin: 35px 0 0 0;
  padding: 23px 25px;
  font-size: 1.2rem;
  line-height: 1.55;
  box-shadow: 0 2px 14px rgba(32,85,154,0.10);
  display: flex;
  justify-content: center;
  align-items: center;
}

/* STEPS / NUMBERED LISTS --------------------------------------- */
.step-list {
  list-style: decimal inside;
  padding-left: 20px;
  margin: 0 0 18px 0;
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.step-list li {
  margin-bottom: 0;
  background: #faf8f4;
  padding: 12px 20px;
  border-radius: 9px;
  font-size: 1rem;
  color: #1d2433;
  border-left: 4px solid #20559a;
}

/* TESTIMONIALS ------------------------------------------------- */
.testimonial-card {
  background: #fff;
  color: #17213b;
  border-radius: 13px;
  box-shadow: 0 2px 18px rgba(32,85,154,0.10);
  margin-bottom: 20px;
  gap: 20px;
  min-width: 250px;
  font-size: 1.08rem;
  padding: 20px 24px;
  position: relative;
  flex: 1 1 250px;
}
.testimonial-card span {
  font-size: 1.1rem;
  color: #3bb38e;
  font-weight: 600;
  letter-spacing: 1px;
}
.testimonial-card strong {
  color: #20559a;
  font-size: 1.03rem;
}
.testimonial-card p {
  font-size: 1.05rem;
  color: #17213b;
  margin-bottom: 11px;
}

/* STATS / PROGRESS --------------------------------------------- */
.stat-counter {
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin-bottom: 22px;
}
.progress-bars {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.progress {
  width: 100%;
  background: #e6e4df;
  border-radius: 99px;
  height: 8px;
  margin-top: 7px;
  overflow: hidden;
}
.progress span {
  display: block;
  height: 100%;
  width: 0%;
  background: #3bb38e;
  border-radius: 99px;
  transition: width 1.3s cubic-bezier(.39,1.31,.52,1);
}
.progress-bars div {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 1rem;
  color: #20559a;
}

/* FOOTER ------------------------------------------------------- */
footer {
  background: #faf8f4;
  border-top: 1px solid #e6e4df;
  padding: 10px 0 0 0;
}
footer .container {
  gap: 28px;
  padding-top: 36px;
  padding-bottom: 30px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 21px;
  margin-bottom: 16px;
  font-family: 'Montserrat', sans-serif;
}
.footer-nav a {
  color: #20559a;
  font-size: 1rem;
  opacity: .83;
  transition: color .18s, opacity .18s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #3bb38e;
  opacity:1;
}
.footer-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 25px;
  align-items: center;
  color: #666;
  font-size: .98rem;
  margin-bottom: 9px;
}
.footer-contact img {
  margin-right: 8px;
  vertical-align: middle;
  width: 18px;
  height: 18px;
}
.footer-logo {
  margin-top: 12px;
  margin-bottom: 10px;
  display: flex;
  justify-content: center;
}
.footer-copy {
  text-align: center;
  color: #999;
  font-size: .94rem;
  padding-top: 14px;
}

/* CONTACT / FAQ PAGE SUPPORT ----------------------------------- */
.contact-details, .contact-info {
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.contact-details p {
  display: flex;
  align-items: center;
  gap: 8px;
}
.faq-accordion h3 {
  font-size: 1.03rem;
  background: none;
  margin-bottom: 6px;
  cursor: pointer;
  font-weight: 600;
  color: #20559a;
}
.faq-accordion p {
  margin-bottom: 14px;
  color: #333;
}

/* BUTTONS & MICRO-INTERACTIONS --------------------------------- */
button, .btn-primary {
  outline: none;
}
button:focus-visible, .btn-primary:focus-visible {
  outline: 2px solid #3bb38e;
  outline-offset: 2px;
}

/* COOKIE CONSENT BANNER & MODAL --------------------------------- */
.cookie-banner {
  position: fixed;
  align-items: center;
  gap: 22px;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100vw - 16px);
  max-width: 480px;
  background: #fff;
  color: #222;
  box-shadow: 0 4px 32px rgba(32,85,154,0.13);
  border-radius: 18px 18px 0 0;
  padding: 18px 20px;
  z-index: 9999;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.28s cubic-bezier(.33,.93,.62,1), bottom 0.38s cubic-bezier(.33,1.1,.57,1.3);
}
.cookie-banner.hide {
  opacity: 0;
  bottom: -100px;
  visibility: hidden;
}
.cookie-banner .cookie-message {
  flex: 1 1 60%;
}
.cookie-banner .cookie-buttons {
  display: flex;
  gap: 10px;
}
.cookie-btn {
  border: none;
  border-radius: 999px;
  font-family: 'Montserrat', sans-serif;
  padding: 8px 18px;
  font-size: 1rem;
  font-weight: 600;
  background: #faf8f4;
  color: #20559a;
  cursor: pointer;
  transition: background 0.18s, color 0.17s;
  margin-left: 0;
}
.cookie-btn.accept {
  background: #20559a;
  color: #fff;
}
.cookie-btn.reject {
  background: #e8e8e4;
  color: #20559a;
}
.cookie-btn.settings {
  background: #3bb38e18;
  color: #3bb38e;
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: #3bb38e;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #dbe0e7;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: #3bb38e33;
}

/* COOKIE MODAL OVERLAY */
.cookie-modal-overlay {
  position: fixed;
  top:0; left:0; width:100vw; height:100vh;
  background: rgba(32,85,154,0.16);
  z-index: 10000;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.42s cubic-bezier(.33,1.13,.62,1);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: auto;
}
.cookie-modal-overlay.hide {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.cookie-modal {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 8px 44px rgba(32,85,154,0.12);
  padding: 28px 30px 24px 30px;
  max-width: 410px;
  width: 95vw;
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: relative;
  animation: modal-pop-in 0.36s cubic-bezier(.39,1.31,.52,1);
}
@keyframes modal-pop-in {
  from { transform: scale(0.94); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}
.cookie-modal h2 {
  font-size: 1.3rem;
  color: #20559a;
  margin-bottom: 7px;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #faf8f4;
  padding: 11px 16px;
  border-radius: 10px;
  font-size: 1.01rem;
}
.cookie-category input[type="checkbox"] {
  width: 19px;
  height: 19px;
  accent-color: #3bb38e;
  cursor: pointer;
}
.cookie-category input[disabled] {
  opacity: 0.66;
  cursor: not-allowed;
}
.cookie-modal .modal-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 10px;
}
.cookie-modal .modal-close {
  position: absolute;
  top: 15px;
  right: 16px;
  font-size: 1.65rem;
  background: none;
  border: none;
  color: #20559a;
  cursor: pointer;
  border-radius: 8px;
  transition: background 0.12s;
}
.cookie-modal .modal-close:hover {
  background: #f5f5f5;
}

/* MEDIA QUERIES ------------------------------------------------ */
@media (max-width: 1023px) {
  .container {
    max-width: 100vw;
    padding-left: 11px;
    padding-right: 11px;
  }
  .footer-contact {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 10px;
  }
}
@media (max-width: 850px) {
  .feature-grid, .stat-grid, .course-cards, .benefit-list, .article-list {
    gap: 16px;
  }
  .feature-grid li, .stat-grid li, .course-cards li, .benefit-list li, .article-list li {
    padding: 18px 10px 18px 13px;
    min-width: 150px;
  }
}
@media (max-width: 768px) {
  .container {
    padding-left: 7px;  padding-right: 7px;
  }
  header .container {
    height: 55px;
    gap: 8px;
  }
  header .container a img {
    height: 28px;
  }
  .btn-primary, .cookie-btn {
    padding: 9px 14px;
    font-size: .99rem;
  }
  h1 { font-size: 1.4rem; }
  h2 { font-size: 1.1rem; }
  .section, main section {
    margin-bottom: 38px;
    padding: 20px 4px;
  }
  .card {
    padding: 16px 6px;
  }
  .feature-grid li, .stat-grid li, .course-cards li, .benefit-list li, .article-list li {
    min-width: 120px;
    font-size: .94rem;
  }
  .testimonial-card {
    flex-direction: column;
    padding: 10px 10px;
    min-width: 100px;
    font-size: .99rem;
  }
  .callout-banner {
    font-size: 1rem;
    padding: 14px 7px;
  }
  .progress-bars {
    gap: 10px;
  }
  .step-list li {
    padding: 9px 8px;
    font-size: .96rem;
  }
  .text-image-section {
    flex-direction: column;
    gap: 16px;
  }
  .card-container, .content-grid {
    gap: 11px;
  }
  .feature-item {
    gap: 9px;
  }
}
@media (max-width: 480px) {
  .cookie-banner {
    max-width: 98vw;
    padding: 10px 5px;
    font-size: .92rem;
  }
}

/* RESPONSIVE FLEX ---------------------------------------------- */
@media (max-width: 768px) {
  .content-grid, .card-container, .feature-grid, .stat-grid, .course-cards, .benefit-list, .article-list {
    flex-direction: column;
    gap: 13px;
  }
  .footer-nav { gap: 12px; }
}

/* ANIMATIONS & INTERACTIONS ------------------------------------ */
.card, .feature-grid li, .stat-grid li, .course-cards li, .benefit-list li, .testimonial-card {
  transition: box-shadow 0.19s, transform 0.19s;
}
.card:hover, .feature-grid li:hover, .stat-grid li:hover, .course-cards li:hover, .benefit-list li:hover {
  box-shadow: 0 8px 28px rgba(32,85,154,0.13);
  transform: translateY(-2px) scale(1.021);
}
.testimonial-card {
  transition: box-shadow 0.19s, transform 0.19s;
}
.testimonial-card:hover {
  box-shadow: 0 10px 28px rgba(32,85,154,0.16);
  transform: translateY(-1.5px) scale(1.014);
}

/* MISC REFINEMENTS --------------------------------------------- */
::-webkit-scrollbar { width: 8px; background: #faf8f4; }
::-webkit-scrollbar-thumb { background: #e6e4df; border-radius: 8px; }

input[type="text"], input[type="email"], input[type="password"], textarea {
  border-radius: 7px;
  border: 1px solid #e6e4df;
  background: #faf8f4;
  padding: 11px 14px;
  font-size: 1rem;
  font-family: 'Open Sans', sans-serif;
  transition: border .13s, background .13s;
  margin-bottom: 15px;
  width: 100%;
}
input[type="text"]:focus, input[type="email"]:focus, input[type="password"]:focus, textarea:focus {
  border-color: #20559a;
  background: #fff;
  outline: none;
}

/* --- END OF CSS --- */
