/* 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;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.6;
  min-height: 100vh;
  background: #F7FAFC;
  color: #233348;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img {
  max-width: 100%;
  vertical-align: middle;
  border: 0;
}
ol, ul {
  list-style: none;
}
a {
  color: #233348;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #41BFB3;
  outline: none;
}
button {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  cursor: pointer;
  border: none;
  background: none;
}

/* BRAND TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #233348;
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.2;
}
h1 {
  font-size: 2.25rem;
  margin-bottom: 20px;
}
h2 {
  font-size: 1.5rem;
  margin-bottom: 16px;
}
h3 {
  font-size: 1.125rem;
  margin-bottom: 12px;
}
p, ul li, ol li, cite {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  color: #233348;
}
strong {
  font-weight: 700;
  color: #233348;
}

/* LAYOUT CONTAINERS */
.container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 3px 14px 0 rgba(35,51,72,0.07);
}

@media (max-width: 768px) {
  .section {
    margin-bottom: 40px;
    padding: 24px 8px;
    border-radius: 0;
    box-shadow: none;
  }
}

/* HEADER */
header {
  background: #fff;
  box-shadow: 0 2px 8px rgba(35,51,72,0.06);
  padding: 0 0;
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  min-height: 70px;
}
header > a img {
  height: 48px;
  margin: 10px 0 10px 20px;
}
.main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-left: auto;
  align-items: center;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  color: #233348;
  padding: 8px 16px;
  border-radius: 6px;
  transition: background 0.2s, color 0.2s;
}
.main-nav a:hover, .main-nav a:focus {
  background: #DAE5EC;
  color: #41BFB3;
}
.main-nav .cta-primary {
  background: #41BFB3;
  color: #fff;
  font-weight: 700;
  box-shadow: 0 2px 10px rgba(35,51,72,0.07);
  border-radius: 8px;
  padding: 10px 26px;
  transition: background 0.18s, color 0.18s;
}
.main-nav .cta-primary:hover, .main-nav .cta-primary:focus {
  background: #233348;
  color: #fff;
}
.mobile-menu-toggle {
  display: none;
}
@media (max-width: 900px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
    background: #fff;
    color: #233348;
    font-size: 2rem;
    margin-right: 18px;
    padding: 8px;
    border-radius: 6px;
    transition: background 0.18s, color 0.18s;
    border: 1px solid #DAE5EC;
  }
  .mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
    background: #DAE5EC;
    color: #41BFB3;
  }
}

/* MOBILE MENU OVERLAY */
.mobile-menu {
  display: flex;
  flex-direction: column;
  position: fixed;
  z-index: 120;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: #fff;
  transform: translateX(-100%);
  transition: transform 0.4s cubic-bezier(.77,0,.18,1);
  box-shadow: 3px 0 24px rgba(35,51,72,0.07);
}
.mobile-menu.active {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  margin: 20px 22px 10px 0;
  font-size: 2rem;
  background: none;
  color: #233348;
  border-radius: 50%;
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.16s, color 0.16s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #DAE5EC;
  color: #41BFB3;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 20px 32px;
  align-items: flex-start;
}
.mobile-nav a {
  padding: 12px 0;
  font-size: 1.15rem;
  font-family: 'Montserrat', Arial, sans-serif;
  color: #233348;
  border-radius: 6px;
  min-width: 120px;
  transition: background 0.2s, color 0.2s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #DAE5EC;
  color: #41BFB3;
}
.mobile-nav .cta-primary {
  background: #41BFB3;
  color: #fff;
  font-weight: 700;
  padding: 10px 24px;
  border-radius: 8px;
}
@media (min-width: 901px) {
  .mobile-menu {
    display: none !important;
  }
}

/* HERO SECTIONS */
.hero {
  background: #EAF0F4;
  border-radius: 0 0 20px 20px;
  min-height: 260px;
  display: flex;
  align-items: center;
  padding: 36px 0;
  margin-bottom: 48px;
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
.hero .content-wrapper {
  gap: 12px;
  align-items: flex-start;
}
.hero h1 {
  font-size: 2.5rem;
  color: #233348;
}
@media (max-width: 600px) {
  .hero {
    padding: 24px 0 18px 0;
    border-radius: 0;
    min-height: auto;
    margin-bottom: 18px;
  }
  .hero h1 {
    font-size: 1.6rem;
  }
}

/* BUTTONS & CTA */
.cta-primary {
  display: inline-block;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  background: #41BFB3;
  color: #fff;
  border-radius: 8px;
  padding: 12px 36px;
  border: none;
  margin-top: 6px;
  margin-bottom: 6px;
  box-shadow: 0 2px 10px rgba(35,51,72,0.05);
  transition: background 0.15s, color 0.15s, transform 0.2s;
  outline: none;
}
.cta-primary:hover, .cta-primary:focus {
  background: #233348;
  color: #fff;
  transform: translateY(-2px) scale(1.03);
}

/* FLEXBOX PATTERNS */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 32px;
}
.card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 5px 24px 0 rgba(35,51,72,0.08);
  padding: 28px 22px;
  margin-bottom: 20px;
  position: relative;
  flex: 1 1 220px;
  min-width: 180px;
  transition: box-shadow 0.2s, transform 0.18s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 10px 28px 0 rgba(65,191,179,0.13);
  transform: translateY(-3px) scale(1.015);
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  align-items: flex-start;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    gap: 12px;
    align-items: stretch;
  }
  .content-grid {
    flex-direction: column;
    gap: 14px;
  }
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #F6FCFB;
  border-radius: 12px;
  margin-bottom: 22px;
  box-shadow: 0 2px 18px 0 rgba(35,51,72,0.03);
  border: 1px solid #DAE5EC;
  color: #233348;
  position: relative;
  min-width: 200px;
  transition: box-shadow 0.19s, border 0.17s;
}
.testimonial-card p {
  font-size: 1.08rem;
  font-style: italic;
  color: #233348;
  margin-bottom: 6px;
}
.testimonial-card cite {
  font-size: 0.97rem;
  color: #233348;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  display: block;
  margin-top: 0px;
}
.testimonial-card:hover, .testimonial-card:focus-within {
  box-shadow: 0 6px 32px 0 rgba(65,191,179,0.09);
  border: 1px solid #41BFB3;
}

.feature-item,
.features-icons {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.features {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.features ul,
.features-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.features ul li,
.features-icons span {
  background: #fff;
  border-radius: 12px;
  padding: 19px 18px 19px 18px;
  box-shadow: 0 1px 10px rgba(35,51,72,0.06);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 180px;
  font-size: 1rem;
  flex: 1 1 220px;
}
.features ul li strong {
  display: block;
  font-size: 1.05rem;
  margin-bottom: 4px;
}
.features ul li img,
.features-icons img {
  width: 32px; height: 32px;
  margin-right: 10px;
  flex-shrink: 0;
}
@media (max-width: 768px) {
  .features ul, .features-icons {
    flex-direction: column;
    gap: 12px;
  }
  .features ul li, .features-icons span {
    min-width: 0;
  }
}

/* CARDS & SERVICES */
.services ul, .services-overview ul {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding-left: 0;
}
.services ul li, .services-overview ul li {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 1px 10px rgba(35,51,72,0.06);
  padding: 16px 14px;
  color: #233348;
  font-size: 1rem;
}
.course-highlights, .impact-stats {
  background: #EAF0F4;
  border-radius: 8px;
  padding: 18px 16px;
  margin-top: 14px;
  margin-bottom: 6px;
  color: #233348;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.05rem;
  font-weight: 500;
}

.skills-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 8px;
}
.skills-grid span {
  display: flex;
  align-items: center;
  background: #fff;
  border-radius: 8px;
  padding: 8px 16px;
  box-shadow: 0 1px 8px rgba(35,51,72,0.06);
  gap: 14px;
  font-size: 1rem;
}
.skills-grid img {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}
@media (max-width: 600px) {
  .skills-grid {
    flex-direction: column;
    gap: 8px;
  }
}

/* LISTS */
ul li strong {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #233348;
  font-size: 1.03rem;
}
ul {
  list-style: none;
  margin: 0;
}

/* FAQ/ADDITIONAL RESOURCES */
.faq-list ul {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.quick-links, .additional-resources {
  margin: 24px 0 0 0;
  font-size: 1.09rem;
  text-align: center;
}
.additional-resources a {
  text-decoration: underline;
  color: #41BFB3;
}

/* THANK YOU PAGE */
.thank-you-message {
  text-align: center;
  background: #EAF0F4;
  border-radius: 16px;
  margin: 38px 0;
  padding: 50px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}
.next-steps {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 14px 0 rgba(35,51,72,0.06);
  padding: 22px 14px;
}
.next-steps h2 {
  margin-bottom: 8px;
  font-size: 1.2rem;
}

/* CONTACT DETAILS */
.contact-details ul, .footer-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 10px;
  align-items: flex-start;
}
.contact-details ul li, .footer-contact span {
  display: flex;
  align-items: center;
  font-family: 'Roboto', Arial, sans-serif;
  color: #233348;
  font-size: 0.97rem;
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 1px 8px rgba(35,51,72,0.05);
  padding: 8px 14px;
  gap: 10px;
  margin-bottom: 4px;
}
.contact-details ul img, .footer-contact img {
  width: 22px;
  height: 22px;
  margin-right: 5px;
}
@media (max-width: 600px) {
  .contact-details ul, .footer-contact {
    flex-direction: column;
    gap: 8px;
  }
}

/* FOOTER */
footer {
  background: #233348;
  color: #fff;
  margin-top: 60px;
  padding: 32px 0 0 0;
}
.footer-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 20px 20px 20px;
  border-bottom: 1px solid #475a6f13;
  flex-wrap: wrap;
}
.footer-main a img {
  height: 34px;
}
.footer-nav {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  align-items: center;
}
.footer-nav a {
  color: #EAF0F4;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 0.97rem;
  opacity: 0.85;
  padding: 4px 9px;
  border-radius: 6px;
  transition: background 0.14s, color 0.14s;
}
.footer-nav a:hover, .footer-nav a:focus {
  background: #41BFB3;
  color: #fff;
  opacity: 1;
}
.footer-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  padding: 15px 20px 22px 20px;
  align-items: flex-start;
  background: #233348;
  color: #fff;
}
.footer-contact span {
  color: #F7FAFC;
  background: none;
  box-shadow: none;
}
@media (max-width: 600px) {
  .footer-main, .footer-contact {
    flex-direction: column;
    gap: 8px;
    text-align: left;
    align-items: flex-start;
  }
  .footer-main {
    align-items: flex-start;
  }
}

/* COOKIES BANNER */
.cookie-banner {
  position: fixed;
  z-index: 1500;
  bottom: 0; left: 0;
  width: 100vw;
  background: #fff;
  border-top: 2px solid #DAE5EC;
  box-shadow: 0 -2px 24px 0 rgba(35,51,72,0.07);
  padding: 24px 16px 18px 16px;
  display: none;
  align-items: center;
  justify-content: center;
  gap: 22px;
  font-size: 1.02rem;
  font-family: 'Montserrat', Arial, sans-serif;
  color: #233348;
  transition: transform 0.25s, opacity 0.23s;
}
.cookie-banner.hide {
  transform: translateY(100%);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner .cookie-buttons {
  display: flex;
  gap: 16px;
  margin-left: 22px;
}
.cookie-banner button {
  padding: 10px 22px;
  border-radius: 6px;
  font-family: 'Montserrat', Arial, sans-serif;
  background: #f4f8fa;
  color: #233348;
  font-size: 1rem;
  border: none;
  margin-right: 2px;
  box-shadow: 0 1px 4px rgba(35,51,72,0.06);
  transition: background 0.16s, color 0.16s;
}
.cookie-banner button.accept {
  background: #41BFB3;
  color: #fff;
  font-weight: 700;
  box-shadow: 0 2px 10px 0 rgba(65,191,179,0.09);
}
.cookie-banner button.reject {
  background: #DAE5EC;
  color: #233348;
}
.cookie-banner button.settings {
  background: #fff;
  color: #233348;
  border: 1px solid #DAE5EC;
}
.cookie-banner button:hover, .cookie-banner button:focus {
  background: #233348;
  color: #fff;
}

/* COOKIE PREFERENCES MODAL */
.cookie-modal {
  position: fixed;
  z-index: 2000;
  top:0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(35,51,72,0.24);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.28s;
}
.cookie-modal.hide {
  display: none !important;
}
.cookie-modal-dialog {
  background: #fff;
  border-radius: 16px;
  width: 90vw;
  max-width: 420px;
  padding: 34px 24px 30px 24px;
  box-shadow: 0 10px 32px 0 rgba(35,51,72,0.20);
  color: #233348;
  font-family: 'Montserrat', Arial, sans-serif;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
}
.cookie-modal-dialog h2 {
  font-size: 1.22rem;
  margin-bottom: 8px;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 14px;
}
.cookie-category label {
  font-size: 1rem;
  color: #233348;
}
.cookie-toggle {
  appearance: none;
  width: 38px; height: 22px;
  background: #DAE5EC;
  border-radius: 22px;
  position: relative;
  outline: none;
  transition: background 0.18s;
  margin-right: 6px;
}
.cookie-toggle:checked {
  background: #41BFB3;
}
.cookie-toggle:before {
  content: '';
  position: absolute;
  left: 3px;
  top: 3px;
  width: 16px;
  height: 16px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.21s;
}
.cookie-toggle:checked:before {
  transform: translateX(16px);
}
.cookie-category.essential label {
  color: #a6afb9;
  font-style: italic;
}
.cookie-modal .close {
  position: absolute;
  top: 17px; right: 18px;
  background: none;
  color: #233348;
  font-size: 1.38rem;
  border: none;
  border-radius: 50%;
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.13s, color 0.13s;
}
.cookie-modal .close:hover, .cookie-modal .close:focus {
  background: #DAE5EC;
  color: #41BFB3;
}
.cookie-modal .modal-actions {
  display: flex;
  gap: 14px;
  margin-top: 14px;
}
.cookie-modal .modal-actions button {
  padding: 10px 20px;
  border-radius: 7px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  background: #233348;
  color: #fff;
  border: none;
  cursor: pointer;
  transition: background 0.17s, color 0.17s;
}
.cookie-modal .modal-actions button.cancel {
  background: #DAE5EC;
  color: #233348;
  border: 1px solid #daf0ec5b;
}
.cookie-modal .modal-actions button:hover, .cookie-modal .modal-actions button:focus {
  background: #41BFB3;
  color: #fff;
}

@media (max-width: 480px) {
  .cookie-modal-dialog {
    padding: 22px 8px 14px 8px;
  }
}

/* ANIMATIONS */
@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(36px);
  }
  100% {
    opacity: 1;
    transform: none;
  }
}
.section, .hero, .card, .testimonial-card, .cookie-banner, .cookie-modal-dialog {
  animation: fadeInUp 0.8s cubic-bezier(.28,1.15,.65,1) both;
}

/* UTILITY */
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mb-10 { margin-bottom: 10px; }
.mb-20 { margin-bottom: 20px; }
.mb-32 { margin-bottom: 32px; }
.text-center { text-align: center; }

/* SCROLLBAR */
body::-webkit-scrollbar {
  width: 12px;
  background: #F7FAFC;
}
body::-webkit-scrollbar-thumb {
  background: #DAE5EC;
  border-radius: 8px;
}
body::-webkit-scrollbar-thumb:hover {
  background: #B2BCC7;
}

/* SELECTION COLORS */
::selection {
  background: #41BFB3;
  color: #fff;
}

/* FORM ELEMENTS */
input, textarea, select {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  border: 1px solid #DAE5EC;
  border-radius: 7px;
  padding: 10px 14px;
  margin-bottom: 16px;
  background: #fff;
  color: #233348;
  transition: border 0.18s, box-shadow 0.18s;
}
input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: #41BFB3;
  box-shadow: 0 2px 8px rgba(65,191,179,0.11);
}
label {
  display: block;
  margin-bottom: 7px;
  font-family: 'Montserrat', Arial, sans-serif;
}

/* MISC */
[tabindex="-1"]:focus {
  outline: none !important;
}
input[type="checkbox"] {
  accent-color: #41BFB3;
}

/* Hide various acc/out-of-flow elements accessibly */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0);
  border: 0;
}

/* PRINT */
@media print {
  header, footer, .cookie-banner, .mobile-menu { display: none !important; }
  body { background: #fff !important; }
}
