/* ===========================
   CSS RESET & BASE STYLES
   =========================== */
html {
  box-sizing: border-box;
  font-size: 100%;
  -webkit-text-size-adjust: 100%;
}
*, *::before, *::after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
  border: 0;
}
body {
  min-height: 100vh;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 16px;
  color: #223F70;
  background: #F9F6F1;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg {
  max-width: 100%;
  display: block;
  vertical-align: middle;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color .18s;
}
button, input, textarea, select {
  font: inherit;
  color: inherit;
  background: none;
  outline: none;
  border: none;
}
ul, ol {
  margin-left: 1.3em;
  padding-left: 0;
}
li {
  margin-bottom: 8px;
}
table {
  border-collapse: collapse;
  width: 100%;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 1px 6px rgba(34,63,112,0.04);
  margin-bottom: 32px;
  overflow: hidden;
}
th, td {
  padding: 14px 16px;
  text-align: left;
  font-size: 15px;
}
th {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  background: #f3f6fb;
  color: #223F70;
  font-weight: 600;
  letter-spacing: 0.01em;
}
td ul {
  margin: 0;
}
tbody tr {
  border-top: 1px solid #f3f6fb;
}
tbody tr:nth-child(odd) {
  background: #F9F6F1;
}


/* ===========================
   BRAND FONTS
   =========================== */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@600;700&family=Roboto:wght@400;500;700&display=swap');

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  color: #223F70;
  line-height: 1.2;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}
h1 {
  font-size: 2.6rem;
  margin-bottom: 20px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.3rem;
  font-weight: 600;
}
h4 {
  font-size: 1.08rem;
  font-weight: 600;
}
strong, b {
  font-weight: 600;
}

p {
  margin-bottom: 18px;
  color: #223F70;
}
.text-section > p {
  font-size: 1.08rem;
}


/* ===========================
   CONTAINER & SPACING
   =========================== */
.container {
  width: 100%;
  max-width: 1080px;
  padding-right: 20px;
  padding-left: 20px;
  margin-right: auto;
  margin-left: auto;
  box-sizing: border-box;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
}
.content-wrapper {
  width: 100%;
  margin: 0 auto;
}
.text-section {
  max-width: 700px;
  margin: 0 auto;
}
@media (max-width: 768px) {
  .container {
    padding-left: 12px;
    padding-right: 12px;
  }
  .section {
    padding: 24px 5px;
    margin-bottom: 36px;
  }
  .text-section {
    max-width: 100%;
    padding: 0 2px;
  }
}

/* ===========================
   HEADER & NAV
   =========================== */
header {
  width: 100%;
  background: #fff;
  box-shadow: 0 2px 8px rgba(34,63,112,0.05);
  padding: 0;
  z-index: 30;
  position: relative;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 10px;
  padding-bottom: 10px;
}
.logo img {
  height: 34px;
}
nav.main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-left: 24px;
}
nav.main-nav a {
  font-size: 1rem;
  color: #223F70;
  opacity: 0.85;
  transition: color .18s, opacity .18s;
  padding: 5px 2px;
  position: relative;
}
nav.main-nav a:hover, nav.main-nav a:focus {
  color: #76A5D2;
  opacity: 1;
}
.cta-button {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  background: #223F70;
  color: #fff;
  border-radius: 24px;
  font-weight: 600;
  font-size: 1.06rem;
  padding: 10px 28px;
  box-shadow: 0 2px 10px rgba(34,63,112,0.06);
  margin-left: 36px;
  border: none;
  cursor: pointer;
  transition: background .24s, box-shadow .24s, color .18s;
  letter-spacing: 0;
  position: relative;
  z-index: 1;
  display: inline-block;
}
.cta-button:hover, .cta-button:focus {
  background: #76A5D2;
  color: #fff;
  box-shadow: 0 1px 12px rgba(34,63,112,0.12);
}

button.mobile-menu-toggle {
  display: none;
  z-index: 51;
  background: transparent;
  font-size: 2rem;
  color: #223F70;
  border: none;
  cursor: pointer;
  margin-left: 20px;
  transition: background .2s;
}
button.mobile-menu-toggle:active {
  background: #f3f6fb;
  border-radius: 50%;
}

@media (max-width: 980px) {
  nav.main-nav {
    gap: 16px;
  }
  .cta-button {
    margin-left: 10px;
    padding: 9px 20px;
    font-size: 0.98rem;
  }
}
@media (max-width: 830px) {
  nav.main-nav {
    display: none;
  }
  button.mobile-menu-toggle {
    display: block;
  }
}

/* ===========================
   MOBILE MENU OVERLAY
   =========================== */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(34,63,112, 0.99);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-start;
  z-index: 9999;
  transform: translateX(100%);
  pointer-events: none;
  opacity: 0;
  transition: transform .38s cubic-bezier(.5,.2,.1,1), opacity .25s;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: auto;
  opacity: 1;
}
.mobile-menu-close {
  font-size: 2.25rem;
  color: #fff;
  background: none;
  border: none;
  margin: 28px 22px 8px 0;
  cursor: pointer;
  z-index: 10001;
  align-self: flex-end;
  transition: color .16s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #76A5D2;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 32px;
  width: 100%;
  align-items: center;
  padding-top: 20px;
  z-index: 10000;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.4rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  padding: 10px 0;
  transition: color .12s, background .16s;
  border-radius: 5px;
  width: 92vw;
  text-align: center;
  display: inline-block;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #76A5D2;
  background: rgba(255,255,255, 0.05);
}

/* Disable scroll when mobile menu open (main.js functionality)
  html.menu-open {overflow: hidden;} 
*/

/* ===========================
   PAGE SECTIONS & LAYOUTS
   =========================== */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin-top: 18px;
  margin-bottom: 6px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 18px rgba(34,63,112, 0.04);
  padding: 30px 28px 26px 28px;
  min-width: 220px;
  flex: 1 1 250px;
  transition: box-shadow .19s;
}
.feature-item:hover {
  box-shadow: 0 6px 24px rgba(34,63,112, 0.11);
}
.feature-item img {
  height: 38px;
  margin-bottom: 7px;
  filter: grayscale(25%);
  opacity: 0.96;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 16px rgba(34,63,112,0.04);
  padding: 32px 26px;
  flex: 1 1 280px;
  transition: box-shadow .16s;
}
.card:hover {
  box-shadow: 0 8px 26px rgba(34,63,112,0.13);
}
.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: 12px;
  box-shadow: 0 1px 18px rgba(34,63,112,0.07);
  margin-bottom: 20px;
  max-width: 620px;
  color: #223F70;
  font-size: 1.08rem;
  line-height: 1.6;
  transition: box-shadow .19s, border-color .12s;
  border: 1px solid #f0f2f6;
  position: relative;
}
.testimonial-card strong {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #223F70;
  margin-left: 8px;
  font-size: 1rem;
}
.testimonial-card p {
  color: #223F70;
  font-weight: 500;
  font-size: 1.08rem;
}
.testimonial-card:hover, .testimonial-card:focus-within {
  box-shadow: 0 4px 32px rgba(34,63,112,0.11);
  border-color: #76A5D2;
}
.testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 18px;
}
.service-item {
  background: #fff;
  box-shadow: 0 2px 14px rgba(34,63,112,0.05);
  border-radius: 12px;
  padding: 28px 22px 22px 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
  flex: 1 1 270px;
  font-size: 1rem;
  position: relative;
  min-width: 210px;
  transition: box-shadow .16s, border-color .13s;
  border: 1px solid #f0f2f6;
}
.service-item span {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  color: #223F70;
  margin-bottom: 16px;
  font-size: 1.1rem;
}
.service-item .cta-link {
  color: #76A5D2;
  font-weight: 500;
  margin-top: 8px;
  align-self: flex-start;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  position: relative;
  transition: color .15s;
}
.service-item .cta-link:hover, .service-item .cta-link:focus {
  color: #223F70;
  text-decoration: underline;
}

.course-list {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 20px;
  margin-bottom: 10px;
}
.resource-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.resource-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: #fff;
  padding: 18px 16px;
  border-radius: 9px;
  box-shadow: 0 2px 12px rgba(34,63,112,0.04);
  font-size: 1rem;
}
.resource-list img {
  height: 30px;
  width: 30px;
  margin-right: 5px;
  filter: grayscale(30%);
  opacity: 0.95;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 18px;
}
.contact-details img {
  height: 22px;
  width: 22px;
  margin-right: 9px;
  vertical-align: middle;
  opacity: 0.88;
}
.contact-details p {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.comparison-table {
  margin-bottom: 32px;
  border-radius: 12px;
  overflow-x: auto;
}

/* =============================
   FOOTER
   ============================= */
footer {
  width: 100%;
  border-top: 1px solid #e9ecf4;
  background: #fff;
  padding: 0;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  padding: 36px 20px 26px 20px;
  gap: 40px;
}
.footer-left {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 210px;
}
.footer-left img {
  height: 38px;
  margin-bottom: 12px;
}
.footer-left p {
  font-size: 15px;
  color: #566d92;
  line-height: 1.5;
  margin-bottom: 0;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-nav a {
  color: #223F70;
  opacity: 0.75;
  font-size: 1rem;
  transition: opacity .12s, color .15s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #76A5D2;
  opacity: 1;
}
@media (max-width: 650px) {
  footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    padding: 20px 10px 16px 10px;
  }
}

/* =============================
   BUTTONS & LINKS
   ============================= */
.cta-link, .cta-button {
  transition: background .18s, color .16s, box-shadow .16s;
}
button, .cta-button {
  cursor: pointer;
}
/* Add focus ring for keyboard navigation */
.cta-button:focus-visible, .cta-link:focus-visible {
  outline: 2px solid #76A5D2;
  outline-offset: 2px;
}

/* =============================
   MICRO-INTERACTIONS & HOVER
   ============================= */
.feature-item, .service-item, .card, .testimonial-card {
  transition: box-shadow .19s, border-color .15s, transform .13s;
}
.feature-item:hover, .service-item:hover {
  transform: translateY(-3px) scale(1.012);
}
.testimonial-card:hover {
  transform: translateY(-2px) scale(1.014);
}

/* =============================
   GENERIC SPACING
   ============================= */
section + section {
  margin-top: 0px;
}
.service-item + .service-item, .feature-item + .feature-item, .card + .card, .testimonial-card + .testimonial-card {
  margin-left: 0;
}
.content-wrapper > *:not(:last-child) {
  margin-bottom: 28px;
}

/* =============================
   RESPONSIVE FLEX PATTERNS
   ============================= */
@media (max-width: 900px) {
  .container {
    max-width: 97vw;
  }
  .content-grid,
  .feature-grid,
  .testimonial-slider,
  .course-list {
    flex-direction: column;
    gap: 18px;
  }
}
@media (max-width: 768px) {
  .feature-item, .service-item, .card {
    min-width: 175px;
    padding: 19px 12px 14px 12px;
  }
  .footer-left img {
    height: 32px;
  }
  h1 {
    font-size: 2rem;
    margin-bottom: 13px;
  }
  h2 {
    font-size: 1.38rem;
    margin-bottom: 13px;
  }
  .testimonial-slider {
    flex-direction: column;
    gap: 16px;
  }
  .testimonial-card {
    font-size: 1rem;
    padding: 13px 9px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 15px;
  }
  .feature-grid, .course-list {
    flex-direction: column;
    gap: 14px;
  }
}

/* =============================
   COOKIE CONSENT BANNER
   ============================= */
.cookie-consent-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: #fff;
  color: #223F70;
  box-shadow: 0 -2px 16px rgba(34,63,112,0.10);
  padding: 22px 16px 20px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 34px;
  z-index: 10010;
  font-size: 1rem;
  animation: cookieBannerIn .44s cubic-bezier(.33,1.55,.5,1) 1;
}
@keyframes cookieBannerIn {
  from { transform: translateY(60px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-consent-banner p {
  margin: 0;
  font-size: 1rem;
}
.cookie-btn {
  background: #223F70;
  color: #fff;
  border-radius: 18px;
  padding: 8px 22px;
  margin-left: 9px;
  margin-right: 4px;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: background .18s, color .18s, box-shadow .13s;
}
.cookie-btn.cookie-settings {
  background: #F9F6F1;
  color: #223F70;
  border: 1px solid #223F70;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #76A5D2;
  color: #fff;
}
.cookie-btn.cookie-settings:hover, .cookie-btn.cookie-settings:focus {
  background: #fff;
  color: #76A5D2;
  border-color: #76A5D2;
}
@media (max-width: 700px) {
  .cookie-consent-banner {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
    padding: 16px 6px 14px 8px;
  }
}

/* COOKIE PREFERENCES MODAL */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(34,63,112,0.33);
  z-index: 20000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .26s;
}
.cookie-modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}
.cookie-modal {
  background: #fff;
  padding: 32px 30px 24px 30px;
  border-radius: 15px;
  min-width: 320px;
  max-width: 92vw;
  box-shadow: 0 2px 42px rgba(34,63,112,0.19);
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  animation: cookieModalIn .38s cubic-bezier(.3,1.55,.5,1) 1;
}
@keyframes cookieModalIn {
  from { transform: translateY(54px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-modal-title {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: #223F70;
  margin-bottom: 8px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 1.08rem;
  margin-bottom: 8px;
}
.cookie-category input[type="checkbox"], .cookie-category input[type="radio"] {
  width: 22px;
  height: 22px;
  accent-color: #76A5D2;
  border-radius: 5px;
  margin-right: 3px;
}
.cookie-category .essential {
  color: #223F70;
  font-weight: 700;
}
.cookie-modal-footer {
  margin-top: 18px;
  display: flex;
  gap: 13px;
}
.cookie-modal .cookie-btn {
  min-width: 98px;
}
.cookie-modal-close {
  position: absolute;
  top: 12px; right: 16px;
  font-size: 1.67rem;
  color: #223F70;
  background: none;
  border: none;
  cursor: pointer;
  transition: color .15s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  color: #76A5D2;
}
@media (max-width: 450px) {
  .cookie-modal {
    padding: 13px 5px;
    min-width: 90vw;
    font-size: .98rem;
  }
}

/* =============================
   ACCESSIBILITY
   ============================= */
:focus-visible {
  outline: 2px solid #76A5D2!important;
  outline-offset: 2px;
}

/* =============================
   UTILITY CLASSES
   ============================= */
.mt-20 {margin-top: 20px!important;}
.mb-20 {margin-bottom: 20px!important;}
.mt-40 {margin-top: 40px!important;}
.mb-40 {margin-bottom: 40px!important;}
.text-center {text-align: center!important;}
.flex {display: flex!important;}
.center {align-items: center!important;}

/* =============================
   MISC. ELEMENT STYLES
   ============================= */
::-webkit-input-placeholder { color: #b4c5df; }
::-moz-placeholder { color: #b4c5df; }
:-ms-input-placeholder { color: #b4c5df; }
::placeholder { color: #b4c5df; }

hr {
  border: none;
  border-top: 1px solid #e9ecf4;
  margin: 28px 0;
}

/* =============================
   OVERWRITE EDGE CASES
   ============================= */
/* No grid, no column layouts: flex only used everywhere. */
/* Enforced vertical spacing between all cards/sections */
.card-container > *, .content-grid > *, .feature-grid > *, .testimonial-slider > *, .course-list > *, .resource-list > * {
  margin-bottom: 0!important;
}

/* =============================
   END OF CSS
   ============================= */