/* ---------------------------------
   CSS RESET & BASE 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;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  line-height: 1.5;
  background: #F4F7FA;
  color: #20253A;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  min-height: 100vh;
}
img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}
a {
  color: #3B476E;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s;
}
a:focus, a:hover {
  color: #48B3C6;
  outline: none;
}

/* ---------------------------------
   TYPOGRAPHY
 --------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  color: #20253A;
  font-weight: 800;
  line-height: 1.15;
}
h1 {
  font-size: 2.75rem; /* 44px */
  margin-bottom: 20px;
  letter-spacing: -1px;
}
h2 {
  font-size: 2rem; /* 32px */
  margin-bottom: 18px;
  letter-spacing: -0.5px;
}
h3 {
  font-size: 1.25rem; /* 20px */
  margin-bottom: 12px;
}
h4, h5, h6 {
  font-weight: 700;
}
.subtitle {
  font-size: 1.19rem;
  color: #3B476E;
  font-family: 'Roboto', Arial, sans-serif;
  margin-bottom: 22px;
  font-weight: 500;
}
p, ul, ol {
  margin-bottom: 18px;
  font-size: 1rem;
}
strong, b {
  font-weight: 700;
}
blockquote {
  border-left: 6px solid #48B3C6;
  padding: 16px 22px;
  background: #fff;
  margin-bottom: 24px;
  font-size: 1.15rem;
  color: #3B476E;
  font-style: italic;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
}

/* ---------------------------------
   LAYOUT CONTAINERS & FLEX
 --------------------------------- */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
  width: 100%;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
  border-radius: 18px;
  box-shadow: 0 4px 20px 0 rgba(59,71,110,0.04);
}
@media (max-width: 992px) {
  .container {
    max-width: 98vw;
    padding: 0 8px;
  }
  .section {
    padding: 32px 8px;
  }
}

/* ---------------------------------
   HEADER & NAVIGATION
 --------------------------------- */
header {
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 2px solid #F1F3F6;
  min-height: 68px;
}
header nav {
  display: flex;
  align-items: center;
  gap: 26px;
  padding: 14px 20px 12px 20px;
}
header nav > a {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: #20253A;
  position: relative;
  padding: 8px 10px;
  border-radius: 7px;
  transition: background 0.15s;
  letter-spacing: 0.02em;
}
header nav > a.cta-primary {
  background: #48B3C6;
  color: #fff;
  border-radius: 8px;
  padding: 9px 22px;
  font-size: 1.02rem;
  font-weight: 900;
  box-shadow: 0 2px 10px 0 rgba(48,120,158,0.08);
  transition: background 0.2s, box-shadow 0.2s;
}
header nav > a.cta-primary:hover,
header nav > a.cta-primary:focus {
  background: #3B476E;
  color: #fff;
  box-shadow: 0 3px 16px 3px rgba(59,71,110,0.10);
}
header nav > a:hover,
header nav > a:active {
  background: #F4F7FA;
  color: #3B476E;
}
header nav > a img {
  height: 36px;
  margin-right: 6px;
  vertical-align: middle;
}

/* Hide nav on mobile, show burger */
.mobile-menu-toggle {
  display: none;
  background: #48B3C6;
  color: #fff;
  border: none;
  font-size: 2rem;
  font-weight: 800;
  border-radius: 8px;
  padding: 6px 16px;
  margin-left: auto;
  cursor: pointer;
  transition: background 0.18s;
  z-index: 201;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #3B476E;
}
@media (max-width: 992px) {
  header nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

/* ---------------------------------
   MOBILE MENU
 --------------------------------- */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(59,71,110,0.98);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  z-index: 9000;
  transform: translateX(100%);
  transition: transform 0.33s cubic-bezier(.4,.7,.2,1);
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: all;
}
.mobile-menu-close {
  font-size: 2.2rem;
  color: #fff;
  background: none;
  border: none;
  align-self: flex-end;
  margin: 22px 26px 6px 0;
  cursor: pointer;
  z-index: 9201;
  transition: color 0.15s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  color: #48B3C6;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin: 24px 0 0 28px;
  width: 90vw;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 0;
  padding: 18px 6px 14px 4px;
  border-radius: 7px;
  transition: background 0.16s, color 0.15s;
  letter-spacing: 0.03em;
}
.mobile-nav a:focus, .mobile-nav a:hover {
  background: #48B3C6;
  color: #fff;
}
.mobile-nav a.cta-primary {
  background: #48B3C6;
  color: #fff;
  font-weight: 900;
  padding-inline: 18px;
}

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

/* ---------------------------------
   HERO/CTA SECTIONS
 --------------------------------- */
main section:first-child, .hero-section {
  background: #fff;
  box-shadow: 0 4px 24px 0 rgba(59,71,110,0.05);
  border-radius: 18px;
}
.cta-primary {
  display: inline-block;
  background: #48B3C6;
  color: #fff;
  border: none;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 1.15rem;
  font-weight: 900;
  padding: 13px 34px;
  border-radius: 10px;
  box-shadow: 0 3px 16px 2px rgba(72,179,198,0.12);
  margin-top: 8px;
  text-align: center;
  transition: background 0.22s, color 0.17s, transform 0.15s, box-shadow 0.2s;
  letter-spacing: 0.03em;
  cursor: pointer;
}
.cta-primary:focus,
.cta-primary:hover {
  background: #3B476E;
  color: #fff;
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 6px 28px 4px rgba(59,71,110,0.15);
}

/* ---------------------------------
   FLEXBOX GRIDS
 --------------------------------- */
.feature-grid {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  justify-content: space-between;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 10px 0 rgba(59,71,110,0.06);
  padding: 28px 24px 22px 24px;
  min-width: 250px;
  flex: 1 1 280px;
  margin-bottom: 20px;
  transition: box-shadow 0.18s, transform 0.16s;
}
.feature-item img {
  height: 42px;
  margin-bottom: 3px;
}
.feature-item:hover, .feature-item:focus-within {
  box-shadow: 0 7px 28px 4px rgba(59,71,110,0.13);
  transform: translateY(-2px) scale(1.03);
}
@media (max-width: 768px) {
  .feature-grid {
    flex-direction: column;
    gap: 18px;
  }
  .feature-item {
    padding: 18px 13px 16px 13px;
    min-width: unset;
    flex-basis: unset;
    width: 100%;
  }
}

.course-list-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  margin: 24px 0 0 0;
}
.course-card {
  background: #fff;
  border-radius: 13px;
  box-shadow: 0 3px 14px 0 rgba(72,179,198,0.09);
  padding: 26px 22px 18px 22px;
  margin-bottom: 20px;
  flex: 1 1 260px;
  min-width: 250px;
  max-width: 300px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  transition: box-shadow 0.16s, transform 0.13s;
  border: 2px solid transparent;
}
.course-card:hover, .course-card:focus-within {
  box-shadow: 0 8px 36px 5px rgba(59,71,110,0.10);
  border: 2px solid #48B3C6;
  transform: scale(1.025);
}
.course-certification {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  color: #3B476E;
  font-size: 1rem;
  margin-top: 2px;
}

/* Card container flex pattern */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 13px;
  box-shadow: 0 1.5px 12px 0 rgba(59,71,110,0.06);
  padding: 22px 17px 17px 17px;
  margin-bottom: 20px;
  transition: box-shadow 0.14s, transform 0.12s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 7px 29px 4px rgba(72,179,198,0.13);
  transform: translateY(-2px) scale(1.03);
}

.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;
    gap: 18px;
    align-items: flex-start;
  }
}

.testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 22px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  background: #f9fafc;
  border-radius: 14px;
  box-shadow: 0 2px 12px 1px rgba(59,71,110,0.08);
  min-width: 270px;
  max-width: 340px;
  flex: 1 1 320px;
  border-left: 5px solid #48B3C6;
  font-family: 'Roboto', Arial, sans-serif;
}
.testimonial-card p {
  color: #20253A;
  font-size: 1.13rem;
  line-height: 1.5;
  font-weight: 500;
}
.testimonial-author {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #3B476E;
  font-size: 0.97rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}
.star-ratings img {
  height: 22px;
  width: 22px;
  vertical-align: middle;
  display: inline-block;
  margin-right: 2px;
}
.alumni-highlight {
  margin-top: 20px;
  color: #3B476E;
  background: #E5F6FA;
  padding: 13px 22px;
  border-radius: 6px;
  font-size: 1.1rem;
  font-weight: 700;
  text-align: left;
}
@media (max-width: 900px) {
  .testimonial-slider {
    flex-direction: column;
    gap: 15px;
  }
  .testimonial-card {
    max-width: 98vw;
    width: 100%;
    min-width: unset;
  }
}

/* ---------------------------------
   SEARCH & FILTER BAR (Courses)
 --------------------------------- */
.search-bar {
  display: flex;
  align-items: center;
  width: 100%;
  margin-bottom: 18px;
}
.search-bar input[type="text"] {
  flex: 1 1 auto;
  padding: 12px 20px;
  border-radius: 9px;
  border: 2px solid #48B3C6;
  font-size: 1rem;
  background: #fff;
  color: #20253A;
  font-weight: 600;
  outline: none;
  transition: border 0.12s;
}
.search-bar input[type="text"]:focus {
  border: 2px solid #3B476E;
}
.category-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 16px;
}
.category-filters button {
  background: #F4F7FA;
  border: 2px solid #48B3C6;
  color: #3B476E;
  border-radius: 8px;
  padding: 8px 16px;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 800;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.14s, color 0.13s, border 0.13s;
}
.category-filters button:focus,
.category-filters button:hover {
  background: #48B3C6;
  color: #fff;
  border-color: #3B476E;
}
@media (max-width: 700px) {
  .category-filters {
    gap: 7px;
  }
  .course-card {
    max-width: 99vw;
    min-width: unset;
  }
}

/* ---------------------------------
   PROGRESS BAR
 --------------------------------- */
.progress-bar {
  position: relative;
  width: 100%;
  background: #e5f1fa;
  border-radius: 12px;
  height: 25px;
  margin: 16px 0 12px 0;
  display: flex;
  align-items: center;
  overflow: hidden;
  font-size: 1rem;
}
.progress-bar .progress {
  display: block;
  height: 100%;
  background: #48B3C6;
  border-radius: 14px;
  transition: width 0.6s cubic-bezier(.65,0,.22,1);
}
.progress-bar span {
  position: absolute;
  left: 18px;
  top: 0;
  line-height: 25px;
  font-weight: 900;
  color: #3B476E;
  font-size: 1rem;
}

/* ---------------------------------
   FOOTER
 --------------------------------- */
footer {
  background: #3B476E;
  color: #fff;
  padding: 44px 0 24px 0;
  margin-top: 60px;
}
footer .container {
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
}
.footer-logo img {
  height: 48px;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
footer nav a {
  color: #fff;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  opacity: 0.95;
  transition: color 0.17s, text-decoration 0.16s;
}
footer nav a:hover,
footer nav a:focus {
  color: #48B3C6;
  text-decoration: underline;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 7px;
  color: #fff;
  font-size: 1rem;
  font-weight: 500;
}
.footer-contact .contact-item {
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer-contact img {
  height: 20px;
  filter: brightness(0) invert(1);
}
@media (max-width: 800px) {
  footer .container {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }
}

/* ---------------------------------
   CONTENT SECTIONS & CARDS
 --------------------------------- */
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 13px;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-size: 1rem;
  color: #21253A;
  max-width: 800px;
}
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 10px;
  list-style: none;
  font-size: 1.05rem;
  padding: 0;
}
.contact-details li {
  display: flex;
  align-items: center;
  gap: 9px;
}
.contact-details img {
  height: 24px;
}

.team-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  list-style: none;
  padding: 0;
}

.policy_text {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 12px 1px rgba(59,71,110,0.07);
  padding: 22px 18px 16px 18px;
}

.last_updated_notice {
  margin: 19px 0 6px 0;
  color: #48B3C6;
  font-size: 0.98rem;
  font-style: italic;
}

/* ---------------------------------
   SUPPORT/ALERT/INFO & MESSAGES
 --------------------------------- */
.contact-success-alert {
  display: flex;
  align-items: center;
  gap: 9px;
  background: #e4fbe5;
  color: #256029;
  border-radius: 7px;
  padding: 11px 15px;
  font-weight: 700;
  font-size: 1rem;
  box-shadow: 0 1px 4px 0 rgba(58,167,96,0.12);
}
.contact-success-alert img {
  height: 21px;
}
.success-message {
  background: #fff;
  border-radius: 11px;
  box-shadow: 0 2px 14px 0 rgba(48,120,158,0.08);
  padding: 36px 20px 20px 20px;
  text-align: center;
}
.next-steps ul {
  list-style: disc inside;
  margin-left: 16px;
}
.next-steps p {
  font-weight: 700;
  margin-bottom: 6px;
}

/* ---------------------------------
   SPECIAL: COOKIE BANNER & MODAL
 --------------------------------- */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  background: #20253A;
  color: #fff;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 18px 28px 18px 26px;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1.05rem;
  z-index: 13000;
  box-shadow: 0 -3px 18px 2px rgba(59,71,110,0.08);
  transition: transform 0.3s cubic-bezier(.59,.03,.65,.97), opacity 0.25s;
  opacity: 1;
  transform: translateY(0);
}
.cookie-banner.hide {
  opacity: 0;
  pointer-events: none;
  transform: translateY(100%);
}
.cookie-banner .banner-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.cookie-banner button {
  padding: 7px 19px;
  border-radius: 7px;
  border: none;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
  font-size: 1rem;
  margin-left: 2px;
  cursor: pointer;
  transition: background 0.15s, color 0.13s;
}
.cookie-banner .accept-btn {
  background: #48B3C6;
  color: #fff;
}
.cookie-banner .reject-btn {
  background: #fff;
  color: #3B476E;
  border: 2px solid #48B3C6;
}
.cookie-banner .settings-btn {
  background: #3B476E;
  color: #fff;
}
.cookie-banner button:focus, .cookie-banner button:hover {
  filter: brightness(1.15);
}

@media (max-width: 700px) {
  .cookie-banner {
    flex-direction: column;
    align-items: stretch;
    padding: 15px 5vw 14px 5vw;
    gap: 10px;
  }
  .cookie-banner .banner-actions {
    width: 100%;
    justify-content: flex-end;
  }
}

.cookie-modal-backdrop {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(59,71,110,0.73);
  z-index: 14000;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.28s;
}
.cookie-modal-backdrop.active {
  pointer-events: all;
  opacity: 1;
}
.cookie-modal {
  background: #fff;
  color: #20253A;
  max-width: 420px;
  width: 94vw;
  border-radius: 14px;
  box-shadow: 0 4px 28px 4px rgba(59,71,110,0.21);
  padding: 32px 26px 28px 26px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 22px;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1.06rem;
  animation: cookiePop 0.38s cubic-bezier(.25,.45,.34,1.03);
}
@keyframes cookiePop {
  from { transform: translateY(24px) scale(0.9); opacity: 0; }
  to   { transform: translateY(0) scale(1); opacity: 1; }
}
.cookie-modal .modal-close {
  position: absolute;
  top: 17px;
  right: 15px;
  font-size: 1.6rem;
  background: none;
  border: none;
  color: #3B476E;
  cursor: pointer;
  z-index: 2;
  transition: color 0.13s;
}
.cookie-modal .modal-close:hover,
.cookie-modal .modal-close:focus {
  color: #48B3C6;
}
.cookie-modal h3 {
  margin-bottom: 7px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.23rem;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.07rem;
  font-family: 'Roboto', Arial, sans-serif;
}
.cookie-category label {
  font-weight: 700;
  min-width: 120px;
}
.cookie-category input[type="checkbox"] {
  accent-color: #48B3C6;
  margin-right: 4px;
  width: 18px;
  height: 18px;
}
.cookie-category.essential label {
  color: #3B476E;
}
.cookie-modal .modal-actions {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}
.cookie-modal .modal-actions button {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
  font-size: 1rem;
  padding: 7px 19px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
}
.cookie-modal .modal-actions .save-btn {
  background: #48B3C6;
  color: #fff;
}
.cookie-modal .modal-actions .cancel-btn {
  background: #fff;
  color: #3B476E;
  border: 2px solid #48B3C6;
}
.cookie-modal .modal-actions button:focus, .cookie-modal .modal-actions button:hover {
  filter: brightness(1.13);
}


/* ---------------------------------
   RESPONSIVE
 --------------------------------- */

@media (max-width: 600px) {
  h1 { font-size: 1.75rem; }
  h2 { font-size: 1.25rem; }
  h3 { font-size: 1.04rem; }
  .section { padding: 25px 3vw; margin-bottom: 36px; }
  .content-wrapper { gap: 13px; }
  .testimonial-card, .feature-item, .card {
    border-radius: 9px;
    padding: 13px 7px;
  }
  .next-steps ul { margin-left: 5px; }
}

/* ---------------------------------
   OVERRIDES: SPACE & FLEX PATTERNS
 --------------------------------- */
.features { display: flex; flex-wrap: wrap; gap: 20px; }
.card-grid { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; }

/* Maintain min 20px between all content/sections */
section + section, .card + .card, .feature-item + .feature-item, .content-wrapper + .content-wrapper { margin-top: 20px; }

/* Prevent card overlap, focus shadow pop */
.card, .feature-item, .testimonial-card, .course-card {
  z-index: 2;
}

/* ---------------------------------
   UTILITIES
 --------------------------------- */
.list-inline {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
}
.text-center {
  text-align: center;
}
.hide {
  display: none !important;
}

::-webkit-scrollbar {
  width: 8px;
  background: #e3eaf6;
}
::-webkit-scrollbar-thumb {
  background: #48B3C6;
  border-radius: 5px;
}

/* ----------------------------------
   END
 ----------------------------------- */
