@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800&family=Open+Sans:wght@300;400;600;700&display=swap');

:root {
  --crimson: #bb2649;
  --blue:    #2e26bb;
  --green:   #26bb58;
  --gold:    #bb8326;
  --amber:   #f4b400;
  --teal:    #44d9b6;
  --slate:   #414b4f;
  --ink:     #273044;
  --body:    #555555;
  --soft:    #eeeeee;
  --line:    #e7e7ec;
  --white:   #ffffff;

  --display: 'Montserrat', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --text:    'Open Sans', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;

  --max:     1200px;
  --gut:     15px;
  --radius:  8px;
  --shadow:  0 10px 30px rgba(39, 48, 68, .08);
  --shadow-lg: 0 20px 50px rgba(39, 48, 68, .14);
}

/* ---------- reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  font-family: var(--text);
  font-size: 15px;
  line-height: 1.7;
  color: var(--body);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; vertical-align: middle; }
.img-responsive { display: inline-block; max-width: 100%; height: auto; }

a { color: var(--green); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--crimson); }

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6,
.heading_font, .masterstudy-custom-title {
  font-family: var(--display);
  color: var(--ink);
  margin: 0 0 .6em;
  line-height: 1.25;
  font-weight: 700;
}
h2, .h2 { font-size: clamp(26px, 3.2vw, 34px); }
h3, .h3 { font-size: 22px; }
h4, .h4 { font-size: 17px; font-weight: 600; }
p { margin: 0 0 1em; }

:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; }

/* ---------- layout: container + grid ---------- */
.container {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gut);
}

.row,
.vc_row, .vc_row.wpb_row, .vc_row-fluid {
  display: flex;
  flex-wrap: wrap;
  margin-inline: calc(var(--gut) * -1);
}
.vc_row.vc_inner { margin-inline: calc(var(--gut) * -1); }

.col-md-3, .col-md-6, .col-md-9, .col-md-12,
.col-sm-4, .col-sm-8, .col-sm-9, .col-sm-12, .col-xs-12,
.wpb_column, .vc_column_container {
  padding-inline: var(--gut);
  width: 100%;
}
.vc_column-inner, .wpb_wrapper, .post_type_exist { width: 100%; }

/* Visual Composer columns (desktop) */
.vc_col-sm-12 { width: 100%; }
.vc_col-sm-6  { width: 50%; }
.vc_col-sm-4  { width: 33.3333%; }
.vc_col-sm-3  { width: 25%; }

/* Bootstrap columns (breakpoint-scoped, min-width cascade) */
.col-xs-12 { width: 100%; }
@media (min-width: 768px) {
  .col-sm-4  { width: 33.3333%; }
  .col-sm-8  { width: 66.6667%; }
  .col-sm-9  { width: 75%; }
  .col-sm-12 { width: 100%; }
}
@media (min-width: 992px) {
  .col-md-3  { width: 25%; }
  .col-md-6  { width: 50%; }
  .col-md-9  { width: 75%; }
  .col-md-12 { width: 100%; }
}

.vc_row-full-width, .vc_clearfix, .vc_row-full-width.vc_clearfix { width: 100%; flex-basis: 100%; }

.clearfix::after { content: ""; display: table; clear: both; }
.pull-left  { float: left; }
.pull-right { float: right; }
.text-center, .text_align_center { text-align: center; }

.vc_empty_space { display: block; width: 100%; }

/* responsive collapse for VC columns */
@media (max-width: 991px) {
  .vc_col-sm-3 { width: 50%; }
}
@media (max-width: 767px) {
  .vc_col-sm-3, .vc_col-sm-4, .vc_col-sm-6 { width: 100%; }
  .row, .vc_row, .vc_row.wpb_row, .vc_row-fluid { margin-inline: 0; }
  .pull-left, .pull-right { float: none; }
}

/* ---------- responsive visibility helpers ---------- */
.visible-xs, .visible-sm { display: none !important; }
@media (max-width: 991px) {
  .hidden-sm  { display: none !important; }
  .visible-sm { display: block !important; }
}
@media (max-width: 767px) {
  .hidden-xs  { display: none !important; }
  .visible-xs { display: block !important; }
}

/* ---------- header ---------- */
#header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 2px 14px rgba(39, 48, 68, .06);
}
.sticky_header_holder { display: none; }
.header_default { padding: 12px 0; }
.header_default .row { align-items: center; }

.logo-unit { max-width: 100%; }
.logo-unit a { display: inline-block; line-height: 0; }
/* show the colour logo (works on the light header), hide the white one */
.logo_transparent_static { display: none !important; }
.logo_colored_fixed { display: inline-block !important; }
.logo-unit img { width: auto !important; max-width: 260px; max-height: 58px; height: auto; }

/* hamburger has no JS here — hide it, show the menu list instead */
.navbar-toggle { display: none !important; }

.header_main_menu_wrapper { display: flex; justify-content: flex-end; }
.header-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 4px 6px;
  align-items: center;
}
#header .header-menu li a {
  display: block;
  font-family: var(--display);
  font-weight: 600;
  font-size: 14px;
  color: var(--ink) !important;
  padding: 10px 14px !important;
  border-radius: 6px;
}
#header .header-menu li a:hover,
#header .header-menu li.current-menu-item a {
  color: var(--crimson) !important;
  background: rgba(187, 38, 73, .07);
}
.header-menu .sign-up-item, .header-menu .search-wrapper, .header-menu .magic_line { display: none; }

/* mobile menu list */
.header-menu-mobile { width: 100%; }
.header-menu-mobile .header-menu { flex-direction: column; align-items: stretch; gap: 2px; padding-top: 8px; }
.header-menu-mobile .header-menu li a { text-align: center; }
#searchform-mobile { display: none; }

/* ---------- hero (rebuilt from the slider markup) ---------- */
#main { padding: 0; }
.stm_lms_breadcrumbs { display: none; }

.wpb_revslider_element {
  position: relative;
  margin: 0 calc(50% - 50vw);
  width: 100vw;
  padding: clamp(48px, 9vw, 110px) 20px;
  background:
    radial-gradient(120% 140% at 80% 0%, rgba(46, 38, 187, .55), transparent 60%),
    linear-gradient(135deg, var(--crimson) 0%, #8d1d52 55%, var(--blue) 130%);
  color: #fff;
  text-align: center;
  overflow: hidden;
}
.rs-p-wp-fix { display: none; }
/* the raw slide-background images aren't positioned without the slider JS */
.wpb_revslider_element img.rev-slidebg { display: none; }
.wpb_revslider_element > .wpb_wrapper,
.wpb_revslider_element { }
.wpb_revslider_element span {
  display: block;
  max-width: 860px;
  margin: 0 auto 18px;
  font-size: clamp(15px, 1.7vw, 18px);
  line-height: 1.7;
  color: rgba(255, 255, 255, .94);
}
/* the short eyebrow span ("DiWo 23") */
.wpb_revslider_element span:first-of-type {
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: .28em;
  text-transform: uppercase;
  font-size: 14px;
  color: var(--amber);
  margin-bottom: 10px;
}

/* hero CTAs (override the slider's inline colours) */
.wpb_revslider_element a,
.rev-btn, .rs-layer {
  display: inline-block !important;
  margin: 10px 8px 0 !important;
  padding: 16px 30px !important;
  font-family: var(--display) !important;
  font-weight: 700 !important;
  font-size: 15px !important;
  letter-spacing: .02em;
  color: var(--ink) !important;
  background: var(--amber) !important;
  border: 0 !important;
  border-radius: 999px !important;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .22) !important;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .2s ease !important;
}
.wpb_revslider_element a:hover,
.rev-btn:hover, .rs-layer:hover {
  background: #fff !important;
  color: var(--crimson) !important;
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, .28) !important;
}

/* ---------- buttons (generic) ---------- */
.btn, .btn-default, .search-submit, button.search-submit {
  display: inline-block;
  font-family: var(--display);
  font-weight: 700;
  font-size: 14px;
  line-height: 1;
  padding: 14px 26px;
  border: 0;
  border-radius: 999px;
  background: var(--crimson);
  color: #fff;
  cursor: pointer;
  transition: background .2s ease, transform .15s ease;
}
.btn:hover, .btn-default:hover { background: var(--blue); color: #fff; transform: translateY(-1px); }
.btn-eos { background: #4285F4 !important; color: #fff !important; }
.btn-eos:hover { background: #fff !important; color: #4285F4 !important; border: 1px solid var(--blue) !important; }

/* ---------- section rhythm ---------- */
.vc_section, section.vc_section { padding: clamp(36px, 6vw, 70px) 0; }
.overflowed_content { padding: clamp(28px, 5vw, 56px) 0; }
.vc_custom_heading, .masterstudy-custom-title { text-align: center; }

/* coloured triangle separators */
.stm_colored_separatormasterstudy_color_separator_ { display: flex; justify-content: center; margin: 6px 0 26px; }
.triangled_colored_separator {
  position: relative;
  width: 70px;
  height: 4px;
  border-radius: 4px;
  background: var(--crimson);
}
.triangled_colored_separator .triangle {
  position: absolute;
  left: 50%;
  bottom: -8px;
  transform: translateX(-50%);
  width: 0; height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-bottom: 8px solid var(--crimson);
}

/* ---------- icon boxes (cards) ---------- */
.icon_box {
  height: 100%;
  padding: 30px 26px;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
  transition: transform .2s ease, box-shadow .2s ease;
}
.icon_box:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.icon_box .icon { margin-bottom: 14px; line-height: 1; }
.icon_box .icon i { font-size: 40px; line-height: 1; display: inline-block; }
.icon_box .icon_text p { margin: 0 0 .6em; }
.icon_box .icon_text p:last-child { margin-bottom: 0; }

/* top row: four solid brand cards (matches the page's module colours) */
.module__c56bfb6e7e14975424897f46529d0775 { background: var(--crimson) !important; color: #fff; }
.module__6252ba35ce95d5b288356c93cb77f8af { background: var(--green)   !important; color: #fff; }
.module__30e2180e1ead9867628dbd7ffb6abbfe { background: #8c8c8c        !important; color: #fff; }
.module__e7142409debc2b40c559e8f8aabc61f3 { background: var(--gold)    !important; color: #fff; }
.module__c56bfb6e7e14975424897f46529d0775,
.module__6252ba35ce95d5b288356c93cb77f8af,
.module__30e2180e1ead9867628dbd7ffb6abbfe,
.module__e7142409debc2b40c559e8f8aabc61f3 { box-shadow: var(--shadow-lg); }
.module__c56bfb6e7e14975424897f46529d0775 *,
.module__6252ba35ce95d5b288356c93cb77f8af *,
.module__30e2180e1ead9867628dbd7ffb6abbfe *,
.module__e7142409debc2b40c559e8f8aabc61f3 * { color: #fff !important; }
.module__c56bfb6e7e14975424897f46529d0775 .icon i,
.module__6252ba35ce95d5b288356c93cb77f8af .icon i,
.module__30e2180e1ead9867628dbd7ffb6abbfe .icon i,
.module__e7142409debc2b40c559e8f8aabc61f3 .icon i { font-size: 52px; }

/* requirement cards: light with a coloured check */
.stm_icon_box_hover_top { background: #fff; border: 1px solid var(--line); box-shadow: none; }
.stm_icon_box_hover_top:hover { border-color: transparent; box-shadow: var(--shadow); }
.stm_icon_box_hover_top .icon i { color: var(--crimson); font-size: 26px; }
.icon_box strong { color: var(--ink); }

/* Font-Awesome-free fallback so the check icons still read */
.icon_box .icon i.fa-check::before,
i.fa-check::before { content: "\2713"; font-style: normal; }
.fa-search::before { content: "\1F50D"; font-style: normal; }

/* ---------- stats band (parallax section) ---------- */
section.vc_parallax, .vc_parallax {
  background:
    linear-gradient(135deg, rgba(46, 38, 187, .92), rgba(187, 38, 73, .92)),
    var(--blue);
  background-size: cover;
  background-position: center;
}
section.vc_parallax .masterstudy-custom-title,
section.vc_parallax h2, section.vc_parallax h4, section.vc_parallax p { color: #f8e9ed !important; }

.stats_counter {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 14px;
}
.stats_counter .icon { order: 1; color: var(--teal); margin-bottom: 8px; }
.stats_counter .icon i { font-size: 56px; line-height: 1; }
.stats_counter .h1 { display: none; }            /* JS target is empty — hide it */
.stats_counter::after {                           /* render the real number from data-value */
  order: 2;
  content: attr(data-value);
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(40px, 6vw, 60px);
  line-height: 1;
  color: var(--teal);
  margin: 4px 0 8px;
}
.stats_counter .stats_counter_title { order: 3; color: #f8e9ed; max-width: 18ch; }

/* ---------- contact section ---------- */
iframe[id^="JotFormIFrame"] {
  width: 100% !important;
  max-width: 100%;
  border: 0;
  border-radius: var(--radius);
  background: #fff;
}
.wpb_raw_html, .wpb_raw_code { width: 100%; }

/* ---------- footer ---------- */
#footer { background: var(--slate); }
#footer_copyright { background: var(--crimson); color: #fff; padding: 22px 0; }
#footer_copyright .row { align-items: center; }
.footer_logo { max-height: 46px; width: auto; margin-right: 14px; }
.copyright_text, .copyright_text a { color: #fff; }
.copyright_text a { text-decoration: underline; text-underline-offset: 3px; }
.copyright_text a:hover { color: var(--amber); }

.footer_menu {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  margin: 0;
  padding: 0;
  justify-content: flex-end;
}
.footer_menu li a { color: #fff; font-family: var(--display); font-size: 13px; font-weight: 600; }
.footer_menu li a:hover { color: var(--amber); }

.copyright_socials ul { list-style: none; display: flex; gap: 10px; margin: 0 0 10px; padding: 0; justify-content: flex-end; }
.copyright_socials li {
  width: 34px; height: 34px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, .16);
  transition: background .2s ease;
}
.copyright_socials li:hover { background: rgba(255, 255, 255, .32); }
.copyright_socials li i { color: #fff; font-size: 15px; }

@media (max-width: 767px) {
  .footer_menu, .copyright_socials ul { justify-content: center; }
  #footer_copyright .pull-left, #footer_copyright .pull-right { float: none; text-align: center; }
  .footer_logo { margin: 0 0 8px; }
}

/* ---------- search modal ---------- */
.modal { display: none; }            /* opened via JS only; keep out of the way */
.modal.in, .modal.show { display: block; }

/* ---------- misc cleanup ---------- */
.rs_error_message_box { display: none; }
script, .vue_is_disabled { display: none; }

/* ---------- motion preference ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}