/* 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 { box-sizing: border-box; }
*, *:before, *:after { box-sizing: inherit; }
body {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  color: #222F38;
  background: #F8F8FF;
  line-height: 1.6;
  font-size: 16px;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img {
  max-width: 100%;
  display: block;
  height: auto;
  vertical-align: middle;
}
ul, ol { padding-left: 20px; margin-bottom: 16px; }
li { margin-bottom: 8px; }
a { color: #17405E; text-decoration: underline; transition: color .25s; word-break: break-word; }
a:hover, a:focus { color: #4DA57A; text-decoration: underline; }
strong, b { font-weight: 600; }
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #17405E;
  line-height: 1.2;
  font-weight: 700;
  margin-bottom: 16px;
}
h1 { font-size: 2.5rem; margin-bottom: 24px; }
h2 { font-size: 2rem; margin-bottom: 20px; }
h3 { font-size: 1.25rem; margin-bottom: 16px; }
h4 { font-size: 1.125rem; margin-bottom: 12px; }
h5, h6 { font-size: 1rem; margin-bottom: 8px; }
p { margin-bottom: 16px; font-size: 1rem; }
table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 24px;
  font-size: 1rem;
}
thead th {
  background: #E7EBF0;
  color: #17405E;
  font-weight: 600;
  padding: 12px 10px;
  border-bottom: 2px solid #D6DCE5;
  text-align: left;
}
tbody td {
  padding: 10px 10px;
  border-bottom: 1px solid #D6DCE5;
}
caption { text-align: left; padding: 8px 0; font-size: 1.1rem; font-weight: 500; }


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

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
@media (max-width: 768px) {
  .section {
    margin-bottom: 40px;
    padding: 28px 8px;
  }
}
.text-section ul,
.text-section ol { margin-bottom: 24px; }
.text-section {
  margin-bottom: 32px;
}


/* FLEX LAYOUTS ---------------------------------------------------------- */
.feature-grid, .course-preview-cards, .course-cards, .blog-post-teaser-grid, .blog-post-teasers, .footer-nav,
.footer-legal, .footer-brand .footer-contact-inline, .footer-social,
.categories-filter, .course-levels-filter, .testimonial-list, .testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 12px;
  margin-bottom: 20px;
  box-shadow: 0 4px 12px 0 rgba(23,64,94,0.12);
  position: relative;
  padding: 32px 24px;
  flex: 1 1 300px;
  transition: transform .2s, box-shadow .2s;
}
.card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 8px 20px 0 rgba(23,64,94,.15);
  z-index: 1;
}
.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) {
  .feature-grid, .course-preview-cards, .course-cards, .blog-post-teaser-grid, .blog-post-teasers, .footer-nav,
  .footer-legal, .footer-brand .footer-contact-inline, .footer-social,
  .categories-filter, .course-levels-filter, .testimonial-list, .testimonial-slider,
  .content-grid, .text-image-section {
    flex-direction: column;
    gap: 16px;
  }
}


/********* BUTTONS ********************************************************/
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #17405E;
  color: #fff !important;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  font-size: 1.125rem;
  padding: 14px 36px;
  border-radius: 8px;
  border: none;
  outline: none;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 2px 8px 0 rgba(23,64,94,0.07);
  transition: background .18s, transform .15s, box-shadow .18s;
  margin: 8px 0 8px 0;
}
.btn-primary:hover, .btn-primary:focus {
  background: #143351;
  color: #fff;
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 4px 16px 0 rgba(23,64,94,.14);
}
button,
input[type=button],
input[type=submit] {
  font-family: inherit;
  font-size: 1rem;
  cursor: pointer;
  border-radius: 8px;
  border: 1px solid #17405E;
  background: #fff;
  color: #17405E;
  padding: 12px 28px;
  transition: background .18s, color .18s, border-color .18s, box-shadow .18s;
  outline: none;
  margin-bottom: 8px;
  min-width: 132px;
}
button:hover, button:focus,
input[type=button]:hover, input[type=submit]:hover, input[type=button]:focus, input[type=submit]:focus {
  background: #4DA57A;
  color: #fff;
  border-color: #4DA57A;
}
.categories-filter button.active,
.course-levels-filter button.active {
  background: #17405E;
  color: #fff;
  border-color: #17405E;
}


/********* HEADER, NAV & MOBILE MENU **************************************/
header {
  background: #fff;
  border-bottom: 1px solid #D6DCE5;
  padding: 0;
  margin-bottom: 0;
  width: 100%;
  z-index: 100;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding-top: 8px;
  padding-bottom: 8px;
  gap: 16px;
}
header nav {
  display: flex;
  gap: 26px;
  align-items: center;
}
header nav a {
  color: #17405E;
  font-weight: 500;
  font-size: 1rem;
  text-decoration: none;
  transition: color .18s;
  padding: 7px 6px;
  position: relative;
}
header nav a:not(.btn-primary):hover,
header nav a:not(.btn-primary):focus {
  color: #4DA57A;
}
header nav .btn-primary {
  margin-left: 18px;
  font-size: 1rem;
  padding: 10px 22px;
}

.mobile-menu-toggle {
  display: none;
  background: none;
  color: #17405E;
  border: none;
  font-size: 2rem;
  margin-left: 16px;
  padding: 8px 12px 8px 12px;
  transition: color .2s;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  color: #4DA57A;
  background: #EBF4EF;
  border-radius: 8px;
}

.mobile-menu {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #17405E;
  color: #fff;
  z-index: 9999;
  transform: translateX(-100%);
  opacity: 0;
  visibility: hidden;
  transition: transform .32s cubic-bezier(.33,1,.68,1), opacity .22s;
  padding: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  visibility: visible;
}
.mobile-menu-close {
  align-self: flex-end;
  background: none;
  border: none;
  color: #fff;
  font-size: 2.1rem;
  margin: 24px 32px 0 0;
  padding: 0 8px;
  cursor: pointer;
  transition: color .2s;
  z-index: 2;
}
.mobile-menu-close:focus,
.mobile-menu-close:hover {
  color: #4DA57A;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  justify-content: center;
  align-items: center;
  height: 100%;
  margin-top: -48px;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.25rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  padding: 12px 28px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: background .18s, color .18s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #4DA57A;
  color: #17405E;
}
@media (max-width: 1100px) {
  header nav {
    gap: 16px;
  }
}
@media (max-width: 900px) {
  header .container {
    flex-direction: row;
    align-items: center;
  }
}
@media (max-width: 900px) {
  header nav { display: none; }
  .mobile-menu-toggle { display: inline-flex; }
}
@media (min-width: 901px) {
  .mobile-menu { display: none !important; }
}


/*************** HERO, MAIN, CALLOUTS *************************************/
main section {
  width: 100%;
}
.cta-banner {
  background: #17405E;
  border-radius: 14px;
  color: #fff;
  text-align: center;
  padding: 40px 16px;
  margin-top: 16px;
  box-shadow: 0 8px 32px 0 rgba(23,64,94,.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.cta-banner h2, .cta-banner p, .cta-banner a {
  color: #fff;
}
.cta-banner .btn-primary {
  background: #4DA57A;
  color: #fff;
  border: none;
}
.cta-banner .btn-primary:hover {
  background: #fff;
  color: #4DA57A !important;
  border: 2px solid #4DA57A;
}
@media (max-width: 768px) {
  .cta-banner { padding: 20px 6px; }
}


/*************** FEATURES, PREVIEWS, CARDS ********************************/
.feature-grid > div, .course-preview-cards > div, .course-cards > div, .blog-post-teaser-grid > div, .blog-post-teasers > div {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 16px 0 rgba(23,64,94,0.06);
  flex: 1 1 250px;
  margin-bottom: 20px;
  padding: 28px 22px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 220px;
  transition: box-shadow .18s, transform .12s;
  position: relative;
}
.feature-grid > div:hover,
.course-preview-cards > div:hover,
.course-cards > div:hover,
.blog-post-teaser-grid > div:hover,
.blog-post-teasers > div:hover {
  box-shadow: 0 6px 28px 0 rgba(23,64,94,.10);
  transform: translateY(-3px) scale(1.016);
}
.feature-grid img, .course-cards img, .course-preview-cards img {
  width: 48px;
  height: 48px;
  margin-bottom: 10px;
}

/************** TESTIMONIALS **********************************************/
.testimonial-slider, .testimonial-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  background: #fff;
  border-radius: 11px;
  box-shadow: 0 3px 20px 0 rgba(23,64,94,0.10);
  margin-bottom: 20px;
  min-width: 255px;
  max-width: 390px;
  flex: 1 1 280px;
  color: #213240;
  font-size: 1.05rem;
}
.testimonial-card p {
  color: #222F38;
  font-style: italic;
  margin-bottom: 12px;
}
.testimonial-card strong {
  color: #17405E;
  font-weight: 700;
  font-size: 1rem;
}
.star-rating-summary {
  display: flex;
  align-items: center;
  color: #17405E;
  font-size: 1.12rem;
  padding: 8px 0 0 4px;
  gap: 8px;
  font-weight: 500;
}
.star-rating-summary img {
  block-size: 20px;
  width: 20px;
  margin-right: 8px;
}
@media (max-width: 850px) {
  .testimonial-card { min-width: 120px; max-width: 100%; }
}


/********* FOOTER ********************************************************/
footer {
  background: #222F38;
  color: #E7EBF0;
  padding: 48px 0 0 0;
  margin-top: 60px;
  width: 100%;
  font-size: 1rem;
}
footer .container {
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  padding-bottom: 20px;
}
.footer-nav, .footer-legal {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 12px;
}
.footer-nav a, .footer-legal a {
  color: #E7EBF0;
  font-weight: 500;
  text-decoration: none;
  transition: color .18s;
  font-size: 1rem;
}
.footer-nav a:hover, .footer-legal a:hover,
.footer-nav a:focus, .footer-legal a:focus {
  color: #4DA57A;
}
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
  min-width: 240px;
}
.footer-brand img {
  width: 70px;
  margin-bottom: 15px;
}
.footer-contact-inline {
  display: flex;
  flex-direction: column;
  gap: 3px;
  font-size: .99rem;
  color: #AFB7C3;
}
.footer-contact-inline img {
  width: 18px;
  vertical-align: middle;
  margin-right: 7px;
}
.footer-social {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-top: 8px;
}
.footer-social a img {
  width: 28px;
  height: 28px;
  border-radius: 4px;
  background: #fff;
  padding: 5px;
  transition: background .18s, box-shadow .15s;
}
.footer-social a:hover img,
.footer-social a:focus img {
  background: #4DA57A;
  box-shadow: 0 0 0 2px #fff, 0 2px 8px 0 #4DA57A36;
}
@media (max-width: 1000px) {
  footer .container { flex-direction: column; gap: 28px; }
}
@media (max-width: 600px) {
  footer { font-size: .95rem; padding: 28px 0 0 0; }
  .footer-brand img { width: 40px; }
}

/********* ACCORDIONS FAQ ************************************************/
.faq-accordion > div {
  background: #F8FAFB;
  border-radius: 8px;
  margin-bottom: 16px;
  padding: 18px 18px 0 18px;
  box-shadow: 0 2px 10px 0 rgba(23,64,94,.04);
}
.faq-accordion h3 {
  font-size: 1.12rem;
  color: #17405E;
  margin-bottom: 8px;
}
.faq-accordion p {
  color: #213240;
  font-size: 1rem;
  margin-bottom: 10px;
}

/********* STAT SECTIONS, SUCCESS *****************************************/
.success-stats,
.statistical-outcomes {
  margin-top: 22px;
  display: flex;
  flex-direction: column;
  gap: 11px;
  font-size: 1.1rem;
  color: #17405E;
}
.success-stats strong, .statistical-outcomes strong {
  color: #4DA57A;
}

/********* BLOG, CATEGORY FILTER *****************************************/
.categories-filter,
.course-levels-filter {
  margin: 20px 0;
  gap: 16px;
}
.categories-filter button, .course-levels-filter button {
  background: #EBF4EF;
  border: 1px solid #4DA57A;
  color: #17405E;
  transition: background .16s, color .16s, border .16s;
  font-size: 1rem;
  min-width: 100px;
  margin: 0;
}
.categories-filter button:hover, .course-levels-filter button:hover,
.categories-filter button:focus, .course-levels-filter button:focus {
  background: #4DA57A;
  color: #fff;
  border-color: #4DA57A;
}

/********* TABLES ********************************************************/
table {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 1px 10px 0 rgba(23,64,94,0.05);
  margin-bottom: 32px;
  overflow: hidden;
}
@media (max-width: 700px) {
  table, thead, tbody, tr, th, td { display: block; max-width: 100vw; }
  thead { display: none; }
  tbody tr { background: #fff; margin-bottom: 16px; border-radius: 8px; box-shadow: 0 1px 6px rgba(23,64,94,.06); }
  tbody td { padding: 10px 18px; border-bottom: 0; }
  tbody td::before {
    content: attr(data-label);
    display: block;
    font-weight: 700;
    color: #4DA57A;
    margin-bottom: 4px;
  }
}

/********* FORMS, INPUTS *************************************************/
input, textarea, select {
  border: 1px solid #B4BCCD;
  border-radius: 6px;
  padding: 10px 14px;
  font-size: 1rem;
  font-family: inherit;
  background: #fff;
  margin-bottom: 12px;
  transition: border-color .17s;
}
input:focus, textarea:focus, select:focus {
  border-color: #4DA57A;
  outline: none;
}
label { font-weight: 500; color: #17405E; font-size: 1rem; margin-bottom: 5px; display: block; }

/********** OTHER TYPOGRAPHY & UTILS *************************************/
hr {
  border: 0;
  border-top: 1px solid #CDD7E3;
  margin: 36px 0 30px 0;
}

blockquote {
  border-left: 3px solid #4DA57A;
  background: #f3f8f6;
  padding: 14px 20px;
  margin: 24px 0;
  color: #17405E;
  font-style: italic;
  border-radius: 6px;
}

.map-embed {
  margin: 24px 0 10px 0;
  font-style: italic;
  color: #4DA57A;
  font-size: .97rem;
}

/********* COOKIE CONSENT BANNER + MODAL *********************************/
.cookie-banner {
  position: fixed;
  left: 20px;
  right: 20px;
  bottom: 20px;
  z-index: 99999;
  background: #fff;
  color: #17405E;
  box-shadow: 0 7px 34px 0 rgba(23,64,94,.19);
  border-radius: 12px;
  padding: 28px 26px 26px 32px;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 26px;
  max-width: 600px;
  margin: 0 auto;
  animation: cookie-slide-in .45s cubic-bezier(.4,1.6,.09,.98);
}
@keyframes cookie-slide-in {
  0% { transform: translateY(50px); opacity: 0; }
  100% { transform: none; opacity: 1; }
}
.cookie-banner p {
  flex: 1 1 auto;
  margin: 0;
  color: #222F38;
  font-size: 1.025rem;
}
.cookie-banner .cookie-btns {
  display: flex;
  gap: 14px;
  flex-direction: column;
}
.cookie-banner button {
  padding: 10px 22px;
  font-size: 0.98rem;
  border-radius: 6px;
  border: 1px solid #17405E;
  background: #fff;
  color: #17405E;
  font-weight: 600;
  transition: background .18s, color .18s, border-color .15s;
}
.cookie-banner button.accept {
  background: #17405E;
  color: #fff;
  border-color: #17405E;
}
.cookie-banner button.accept:hover {
  background: #4DA57A;
  color: #fff;
  border-color: #4DA57A;
}
.cookie-banner button.reject {
  background: #E7EBF0;
  color: #17405E;
  border-color: #E7EBF0;
}
.cookie-banner button.reject:hover {
  background: #AEDDBC;
  color: #17405E;
  border-color: #AEDDBC;
}
.cookie-banner button.settings {
  background: #fff;
  color: #4DA57A;
  border-color: #4DA57A;
}
.cookie-banner button.settings:hover {
  background: #4DA57A;
  color: #fff;
}
@media (max-width:700px) {
  .cookie-banner {flex-direction: column; align-items: flex-start; gap: 14px; padding: 20px 12px; }
}

/* Cookie Modal */
.cookie-modal {
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(29,43,52,0.44);
  z-index: 120000;
  display: none;
  align-items: center;
  justify-content: center;
  animation: fadein .25s;
}
.cookie-modal.open {
  display: flex;
}
@keyframes fadein {
  0% { opacity: 0; }
  100% { opacity: 1; }
}
.cookie-modal-content {
  background: #fff;
  border-radius: 14px;
  padding: 38px 28px 30px 32px;
  max-width: 420px;
  min-width: 240px;
  width: 95vw;
  box-shadow: 0 4px 26px 0 rgba(23,64,94,.13);
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.cookie-modal-content h3 {
  margin-bottom: 12px;
  font-size: 1.22rem;
}
.cookie-modal-content label, .cookie-modal-content p {
  font-size: 1.03rem;
  color: #17405E;
  margin-bottom: 7px;
}
.cookie-modal-content .cookie-list {
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.cookie-modal-content input[type=checkbox] {
  width: 17px; height: 17px; accent-color: #4DA57A;
}
.cookie-modal-content .cookie-actions {
  display: flex;
  gap: 14px;
  margin-top: 18px;
  flex-wrap: wrap;
}
.cookie-modal-content .close-modal {
  margin-left: auto;
  font-size: 1.14rem;
  background: none;
  color: #17405E;
  border: none;
  cursor: pointer;
  transition: color .16s;
}
.cookie-modal-content .close-modal:hover {
  color: #4DA57A;
}

/************** MISCELLANEOUS STYLES **************************************/
::-webkit-scrollbar {
  width: 10px;
  background: #E7EBF0;
}
::-webkit-scrollbar-thumb {
  background: #B4BCCD;
  border-radius: 6px;
}

/************** RESPONSIVE FONT SIZES *************************************/
@media (max-width: 900px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.4rem; }
  h3 { font-size: 1.07rem; }
}

@media (max-width: 600px) {
  h1 { font-size: 1.38rem; }
  h2 { font-size: 1.13rem; }
  h3 { font-size: 1rem; }
  body { font-size: 15px; }
}

/************** SPACINGS, SECTION GAPS ************************************/
section { margin-bottom: 60px; padding: 40px 20px; }
.card-container { display: flex; flex-wrap: wrap; gap: 24px; }
.card { margin-bottom: 20px; position: relative; }
.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; }
.feature-item { display: flex; flex-direction: column; align-items: flex-start; gap: 15px; }
@media (max-width: 768px) {
  section { margin-bottom: 40px; padding: 28px 4px; }
}

/*********** UTILITIES ****************************************************/
.mb-0 { margin-bottom: 0 !important; }
.mb-8 { margin-bottom: 8px !important; }
.mb-16 { margin-bottom: 16px !important; }
.mt-16 { margin-top: 16px !important; }

/************** PRINT STYLES **********************************************/
@media print {
  body, h1, h2, h3, h4, h5, h6, p, a, ul, ol, li, nav, header, footer, section, article { color: #000 !important; background: #fff !important; }
  img, .footer-social { display:none !important; }
  a, a:visited { text-decoration: underline; color: #000; }
  .btn-primary, button { border: 1px solid #000; background: none !important; color: #000 !important; padding: 5px 10px; }
  .mobile-menu, .cookie-banner, .cookie-modal { display: none !important; }
}
