/* RESET & BASE TYPOGRAPHY ------------------------------------------------------------ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  font-size: 16px;
  scroll-behavior: smooth;
}
body {
  font-family: 'Roboto', Arial, sans-serif;
  background: #fff;
  color: #212529;
  line-height: 1.7;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  font-size: 1rem;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
ul, ol {
  margin: 0 0 1.5em 1.2em;
}
ul li, ol li {
  margin-bottom: 0.5em;
}
strong { font-weight: 600; }

/* SELECTION -------- */
::selection {
  background: #164C88;
  color: #fff;
}

/* CONTAINERS ------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 0; /* containers stack content; wrappers manage flex layouts */
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* HEADER & NAVIGATION ----------------------------------------------------- */
header {
  background: #fff;
  border-bottom: 1px solid #E9F1FA;
  position: sticky;
  top: 0;
  z-index: 100;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
header a img {
  height: 40px;
  width: auto;
}
nav {
  display: flex;
  align-items: center;
  gap: 24px;
}
nav a, .mobile-nav a {
  color: #164C88;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  padding: 4px 0;
  transition: color 0.2s;
  position: relative;
}
nav a:after, .mobile-nav a:after {
  content: '';
  display: block;
  width: 0;
  height: 2px;
  background: #F7BE38;
  transition: width 0.3s;
  position: absolute;
  bottom: -2px;
  left: 0;
}
nav a:hover:after, .mobile-nav a:hover:after {
  width: 100%;
}
nav a.cta-btn {
  background: #164C88;
  color: #fff !important;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  padding: 8px 22px;
  border-radius: 32px;
  border: none;
  font-size: 1rem;
  margin-left: 8px;
  box-shadow: 0 2px 10px 0 rgba(22,76,136,0.07);
  transition: background 0.2s, color 0.1s, box-shadow 0.2s;
}
nav a.cta-btn:hover {
  background: #F7BE38;
  color: #164C88 !important;
  box-shadow: 0 4px 16px 0 rgba(22,76,136,0.12);
}

/* Mobile Navigation ------------------------------------------------------ */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  color: #164C88;
  cursor: pointer;
  z-index: 301;
  line-height: 1;
  padding: 4px 10px;
  border-radius: 6px;
  margin-left: 8px;
  transition: background 0.22s;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: #E9F1FA;
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: #fff;
  z-index: 300;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 0 40px;
  transform: translateX(-100vw);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.32s cubic-bezier(.87,-.41,.19,1.44), opacity 0.22s;
  box-shadow: 0 0 40px 0 rgba(22,76,136, 0.08);
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  align-self: flex-end;
  margin: 28px 0 12px 0;
  background: none;
  border: none;
  color: #1A2233;
  font-size: 2.1rem;
  cursor: pointer;
  z-index: 400;
  border-radius: 6px;
  padding: 2px 10px;
  transition: background 0.18s;
}
.mobile-menu-close:hover {
  background: #E9F1FA;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
  margin-top: 28px;
}
.mobile-nav a {
  color: #164C88;
  font-size: 1.15rem;
  padding: 11px 0;
  font-weight: 500;
  border-bottom: 1px solid #E9F1FA;
}

@media (max-width: 1110px) {
  header .container {
    padding: 0 16px;
  }
  main .container { padding: 0 14px; }
}

@media (max-width: 960px) {
  nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (min-width: 961px) {
  .mobile-menu,
  .mobile-menu-toggle {
    display: none;
  }
  nav {
    display: flex;
  }
}

/* HERO SECTION ----------------------------------------------------------- */
.hero {
  background: #E9F1FA;
  margin-bottom: 60px;
  padding: 56px 0 46px 0;
}
.hero .container, .hero .content-wrapper {
  align-items: start;
  justify-content: center;
  gap: 0;
}
.hero h1 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: #164C88;
  line-height: 1.18;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}
.hero p {
  font-size: 1.25rem;
  color: #253045;
  margin-bottom: 32px;
  letter-spacing: 0.01em;
}

/* CTA SECTIONS ----------------------------------------------------------- */
.cta {
  background: #E9F1FA;
  margin-bottom: 0;
  padding: 40px 0 40px 0;
  border-radius: 0;
}
.cta h2 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.7rem;
  font-weight: 600;
  color: #164C88;
  margin-bottom: 10px;
}
.cta-btn {
  display: inline-block;
  background: #164C88;
  color: #fff !important;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  padding: 12px 38px;
  border: none;
  border-radius: 32px;
  font-size: 1.1rem;
  font-weight: 600;
  margin-top: 22px;
  letter-spacing: 0.01em;
  transition: background 0.17s, color 0.11s, box-shadow 0.17s, transform 0.10s;
  box-shadow: 0 2px 13px 0 rgba(22,76,136,0.08);
  cursor: pointer;
  text-align: center;
}
.cta-btn:hover, .cta-btn:focus {
  background: #F7BE38;
  color: #164C88 !important;
  box-shadow: 0 6px 20px 0 rgba(22,76,136,0.13);
  transform: translateY(-2px) scale(1.03);
}

/* MAIN SECTION SPACING --------------------------------------------------- */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 16px 0 rgba(22,76,136,0.035);
}
section:last-child {
  margin-bottom: 0;
}
@media (max-width: 768px) {
  section {
    padding: 32px 5px;
    margin-bottom: 36px;
    border-radius: 0;
  }
  .hero, .cta {
    border-radius: 0;
    padding: 28px 0 32px 0;    
  }
}

/* SECTION HEADERS -------------------------------------------------------- */
h1, h2, h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #164C88;
  font-weight: 700;
  letter-spacing: -0.015em;
}
h1 { font-size: 2.1rem; margin-bottom: 12px; }
h2 { font-size: 1.45rem; margin-bottom: 11px; }
h3 { font-size: 1.13rem; margin-bottom: 8px; font-weight: 600; }

@media (max-width: 500px) {
  h1 { font-size: 1.18rem; }
  h2 { font-size: 1.06rem; }
}

p, li {
  font-size: 1rem;
  color: #253045;
}

/* FLEX, CARD, & GRID LAYOUTS --------------------------------------------- */
.features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 18px;
}
.features-grid > div {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 15px 0 rgba(22,76,136,0.07);
  padding: 32px 20px 26px 20px;
  flex: 1 1 280px;
  min-width: 220px;
  max-width: 370px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 0;
  transition: box-shadow 0.19s, transform 0.19s;
}
.features-grid > div:hover {
  box-shadow: 0 6px 32px -5px rgba(22,76,136,0.12);
  transform: translateY(-3px) scale(1.025);
}
.features-grid img {
  width: 38px;
  height: 38px;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 18px;
}
.card {
  margin-bottom: 20px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 13px 0 rgba(22,76,136,0.07);
  padding: 28px 22px;
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 180px;
  flex: 1 1 250px;
  transition: box-shadow 0.18s;
}
.card:hover {
  box-shadow: 0 7px 28px -4px rgba(22,76,136,0.15);
}
.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;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* COURSES & JOB POSTINGS ------------------------------------------------- */
.courses-list, .openings-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 8px;
}
.course-card, .job-posting {
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 2px 12px 0 rgba(22,76,136,0.075);
  padding: 24px 16px;
  flex: 1 1 300px;
  min-width: 240px;
  max-width: 350px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.15s, transform 0.15s;
}
.course-card:hover, .job-posting:hover {
  box-shadow: 0 6px 24px 0 rgba(22,76,136,0.13);
  transform: translateY(-2px) scale(1.018);
}

/* TESTIMONIALS ----------------------------------------------------------- */
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px 32px 18px 28px;
  background: #fff;
  border-radius: 13px;
  box-shadow: 0 2px 12px 0 rgba(22,76,136,0.06),0 0.5px 1.5px rgba(71,71,71,0.025);
  margin-bottom: 20px;
  border-left: 5px solid #F7BE38;
}
.testimonial-card p {
  font-size: 1.09rem;
  color: #212529;
  font-style: italic;
  margin-bottom: 0;
  line-height: 1.6;
}
.testimonial-card span {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 0.99rem;
  color: #164C88;
  font-weight: 500;
}
@media (max-width: 520px) {
  .testimonial-card, .course-card, .features-grid > div {
    padding: 17px 10px;
    border-radius: 7px;
  }
  .testimonial-card {
    border-left-width: 3px;
  }
}

/* CONTACT INFO ----------------------------------------------------------- */
.contact-info-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: flex-start;
  margin-bottom: 18px;
  margin-top: 7px;
}
.contact-info-list > div {
  display: flex;
  align-items: center;
  gap: 9px;
  background: #F8FAFD;
  border-radius: 10px;
  padding: 16px 18px;
  color: #164C88;
  font-family: 'Montserrat', Arial;
  font-size: 1rem;
  line-height: 1.18;
  min-width: 200px;
}
.contact-info-list img {
  width: 24px;
  height: 24px;
  object-fit: contain;
  filter: grayscale(1) brightness(0.6);
}

/* FOOTER --------------------------------------------------- */
footer {
  background: #F8FAFD;
  border-top: 1px solid #E9F1FA;
  padding: 38px 0 30px 0;
  margin-top: 40px;
}
footer .container {
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}
footer nav {
  display: flex;
  gap: 22px;
}
footer nav a {
  color: #5f6b7a;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  transition: color 0.13s;
}
footer nav a:hover {
  color: #164C88;
  text-decoration: underline;
}
footer img {
  height: 34px;
  width: auto;
}
footer p {
  font-size: 0.97rem;
  color: #7b8792;
}
@media (max-width: 900px) {
  footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
}

/* COOKIE CONSENT (BANNER + MODAL) -------------------------------------- */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: #fff;
  color: #1A2233;
  width: 100%;
  z-index: 999;
  box-shadow: 0 -2px 20px 0 rgba(22,76,136,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px 10px 22px 10px;
  transition: transform 0.5s cubic-bezier(.78, -0.41, .56, 1.7), opacity 0.22s;
  opacity: 1;
  transform: translateY(0);
}
.cookie-banner.hide {
  opacity: 0;
  pointer-events: none;
  transform: translateY(100%);
}
.cookie-banner-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  width: 100%;
  max-width: 700px;
}
.cookie-banner-text {
  color: #253045;
  font-size: 1.04rem;
  margin-bottom: 8px;
}
.cookie-actions {
  display: flex;
  flex-direction: row;
  gap: 12px;
  margin-top: 7px;
}
.cookie-btn {
  padding: 8px 26px;
  border-radius: 28px;
  border: none;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  transition: background 0.13s, color 0.12s, box-shadow 0.14s;
  cursor: pointer;
}
.cookie-btn.accept {
  background: #164C88;
  color: #fff;
  box-shadow: 0 2px 10px 0 rgba(22,76,136,0.08);
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: #F7BE38;
  color: #164C88;
}
.cookie-btn.reject {
  background: #E9F1FA;
  color: #164C88;
  border: 1.5px solid #164C88;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #fff;
  color: #F7BE38;
  border-color: #F7BE38;
}
.cookie-btn.settings {
  background: #fff;
  color: #212529;
  border: 1.5px solid #E9F1FA;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: #E9F1FA;
  color: #164C88;
  border-color: #164C88;
}

/* Cookie Modal ------------------------------------------------------ */
.cookie-modal-bg {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(25,34,50,0.36);
  z-index: 2001;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  pointer-events: auto;
  transition: opacity 0.28s;
}
.cookie-modal-bg.hide { opacity: 0; pointer-events: none; }
.cookie-modal {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 6px 48px 0 rgba(22,76,136,0.19);
  padding: 34px 30px 26px 30px;
  width: 92vw;
  max-width: 420px;
  z-index: 2005;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 19px;
  animation: popin 0.26s cubic-bezier(.6,-0.41,.19,1.37);
}
@keyframes popin {
  0% { transform: scale(0.77); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}
.cookie-modal-close {
  position: absolute;
  top: 16px; right: 16px;
  background: none;
  border: none;
  color: #164C88;
  font-size: 1.8rem;
  cursor: pointer;
}
.cookie-modal-title {
  font-size: 1.21rem;
  font-family: 'Montserrat', Arial, sans-serif;
  color: #164C88;
  font-weight: 600;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.cookie-category {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  background: #F8FAFD;
  border-radius: 10px;
  padding: 14px 18px;
  font-size: 0.99rem;
  color: #253045;
}
.cookie-category .label-main {
  font-weight: 600;
  font-size: 1.01rem;
  color: #164C88;
}
.cookie-toggle {
  margin-left: auto;
  align-self: center;
  width: 38px;
  height: 22px;
  position: relative;
  display: inline-block;
}
.cookie-toggle input[type="checkbox"] {
  opacity: 0;
  width: 0;
  height: 0;
}
.cookie-toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0;
  right: 0; bottom: 0;
  background: #ECECEC;
  border-radius: 20px;
  transition: background 0.19s;
}
.cookie-toggle-slider:before {
  content: '';
  position: absolute;
  left: 3px; top: 3px;
  width: 16px;
  height: 16px;
  background: #fff;
  transition: transform 0.19s;
  border-radius: 50%;
  box-shadow: 0 0 3px rgba(10, 18, 50, 0.07);
}
.cookie-toggle input:checked + .cookie-toggle-slider {
  background: #164C88;
}
.cookie-toggle input:checked + .cookie-toggle-slider:before {
  transform: translateX(16px);
  background: #F7BE38;
}
.cookie-category.essential .cookie-toggle,
.cookie-category.essential .cookie-toggle-slider {
  filter: grayscale(75%);
  cursor: not-allowed !important;
  opacity: 0.5;
}

.cookie-modal-footer {
  display: flex;
  flex-direction: row;
  gap: 11px;
  margin-top: 10px;
}
@media (max-width: 600px) {
  .cookie-modal {
    padding: 20px 7px 13px 7px;
    min-width: 0;
    border-radius: 10px;
  }
  .cookie-modal-close {
    top: 4px; right: 4px;
    font-size: 1.2rem;
  }
}

/* LINKS, BUTTONS & MICRO-INTERACTIONS ----------------------------------- */
a, button {
  transition: color 0.16s, background 0.18s, box-shadow 0.18s, border 0.13s, opacity 0.14s, transform 0.14s;
}
a:focus, button:focus {
  outline: 2px dashed #F7BE38;
  outline-offset: 2px;
}
button {
  font-family: inherit;
}

/* RESPONSIVE LAYOUTS ----------------------------------------------------- */
@media (max-width: 900px) {
  .features-grid,
  .courses-list,
  .openings-list,
  .content-grid,
  .contact-info-list {
    flex-direction: column;
    gap: 21px;
    align-items: stretch;
  }
}
@media (max-width: 768px) {
  .hero .container, .hero .content-wrapper,
  .cta .container, .cta .content-wrapper {
    align-items: flex-start;
    padding: 0 !important;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: stretch;
  }
  .features-grid > div,
  .card,
  .testimonial-card,
  .course-card,
  .job-posting {
    min-width: 0 !important;
    max-width: 100% !important;
  }
}

/* MISC UI & UTILITIES ----------------------------------------------------- */
::-webkit-input-placeholder { color: #999; }
::-moz-placeholder { color: #999; }
:-ms-input-placeholder { color: #999; }
::placeholder { color: #999; }

.hidden { display: none !important; }

/* ACCESSIBILITY ---------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *:before, *:after {
    transition: none !important;
    animation-duration: 0.001ms !important;
  }
}
