/* ==========================================================================
   fivestudents.com — shared stylesheet
   Values extracted from the live Elementor build (kit-5, global.css,
   post-8371 header, post-8564 footer, hello-elementor theme base).
   ========================================================================== */

/* --- Design tokens ------------------------------------------------------ */
:root {
  /* Elementor global colours (elementor-kit-5) */
  --c-primary:      #003A96; /* --e-global-color-primary / ef858e0 */
  --c-secondary:    #FBB03B; /* --e-global-color-secondary / f783960 */
  --c-accent:       #61CE70; /* --e-global-color-accent */
  --c-text:         #7A7A7A; /* --e-global-color-text */
  --c-white:        #FFFFFF; /* --e-global-color-aa605d5 */
  --c-yellow:       #F8BB00; /* --e-global-color-38208df */
  --c-green:        #4FB547; /* --e-global-color-3874a03 */
  --c-blue-bright:  #0971EC; /* --e-global-color-7d0fe30 */

  /* Literals used by the 2025 templates */
  --c-body:         #54595F; /* kit body colour */
  --c-heading-alt:  #204F98; /* module card headings, hero overlay */
  --c-copy-dark:    #4D4D4D; /* section body copy */
  --c-header-bg:    #294f99; /* .sticky-header-container */
  --c-footer-bg:    #002D74;
  --c-footer-bar:   #001435;
  --c-footer-copy:  #646464;
  --c-card-bg:      #FFFFFF;
  --c-tint-amber:   #FBB03B30; /* features panel */
  --c-tint-amber-2: #FBB03B12; /* testimonials section */
  --c-rule-blue:    #003A9614;
  --c-rule-amber:   #FBB03B21;
  --c-quote:        #003A9647;
  --c-grey-band:    #F5F5F5;

  /* Type */
  --font-head: 'Work Sans', Sans-serif;
  --font-body: 'Roboto', Sans-serif;

  /* Layout */
  --content-width: 1250px;
  --gutter: 40px;
  --gutter-sm: 10px;
  --header-h: 80px;
  --header-h-stuck: 45px;
  --site-transition: .5s;
}

/* --- Reset / base ------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 18px;          /* kit body size */
  font-weight: 400;
  line-height: 1.5;
  color: var(--c-body);
  background: var(--c-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg, video { max-width: 100%; }
img { height: auto; border: 0; }

a { color: var(--c-primary); }

/* hello-elementor heading base + kit overrides */
h1, h2, h3, h4, h5, h6 {
  margin: .5rem 0 1rem;
  font-family: var(--font-head);
  font-weight: 500;
  line-height: 1.2;
  color: inherit;
}
h1 { font-size: 44px; font-weight: 700; line-height: 1.1em; }
h2 { font-size: 35px; font-weight: 600; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p { margin: 0 0 1rem; }
ul, ol { margin: 0 0 1rem; padding-inline-start: 1.5em; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%);
  white-space: nowrap; border: 0;
}

:where(a, button, input, textarea, summary):focus-visible {
  outline: 2px solid var(--c-secondary);
  outline-offset: 2px;
}

/* --- Layout helpers ----------------------------------------------------- */
.section { padding-inline: var(--gutter); }
.section__inner {
  width: 100%;
  max-width: var(--content-width);
  margin-inline: auto;
}
@media (max-width: 767px) { .section { padding-inline: var(--gutter-sm); } }

/* --- Buttons ------------------------------------------------------------ */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.2;
  color: var(--c-white);
  background-color: var(--c-secondary);
  border: 0;
  border-radius: 7px;
  padding: 18px 25px;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .3s, color .3s;
}
.btn:hover, .btn:focus { background-color: var(--c-yellow); color: var(--c-white); }
@media (max-width: 767px) { .btn { font-size: 15px; } }

/* ==========================================================================
   2025 header (Elementor template post-8371)
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: var(--c-header-bg);
  transition: min-height var(--site-transition),
              background-color var(--site-transition),
              box-shadow var(--site-transition);
}
.site-header__inner {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 0;
  min-height: var(--header-h);
  max-width: var(--content-width);
  margin-inline: auto;
  padding-inline: var(--gutter);
  transition: min-height var(--site-transition);
}
.site-header.is-stuck { box-shadow: hsl(0deg 0% 0% / 14%) 0 2px 40px; }
.site-header.is-stuck .site-header__inner { min-height: var(--header-h-stuck); }

.site-logo {
  flex: 0 0 auto;
  width: 15.139%;
  display: flex;
  align-items: flex-start;
}
.site-logo a { display: block; width: 79%; }
.site-logo img {
  display: block;
  width: 100%;
  transform: scale(1);
  transform-origin: left center;
  transition: transform var(--site-transition);
}
.site-header.is-stuck .site-logo img { transform: scale(.8); }

/* Primary navigation */
.site-nav { display: flex; align-items: center; }
.site-nav__list {
  display: flex;
  align-items: center;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}
.site-nav__list a {
  display: block;
  padding: 13px 20px;
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 500;
  color: var(--c-white);
  fill: var(--c-white);
  text-decoration: none;
  transition: color .3s;
}
.site-nav__list a:hover,
.site-nav__list a:focus,
.site-nav__list a.is-active { color: var(--c-secondary); }

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  padding: 0;
  background: none;
  border: 0;
  color: var(--c-white);
  cursor: pointer;
}
.nav-toggle svg { display: block; width: 28px; height: 28px; fill: currentColor; }
.nav-toggle .nav-toggle__close { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__open { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__close { display: block; }

/* Elementor switches this menu to a burger at the tablet breakpoint (1024px) */
@media (max-width: 1024px) {
  .nav-toggle { display: inline-flex; margin-inline-start: auto; }
  .site-nav__list {
    position: absolute;
    inset-inline: 0;
    top: 100%;
    flex-direction: column;
    align-items: stretch;
    background-color: var(--c-primary);
    border-radius: 5px;
    overflow: hidden;
    display: none;
  }
  .site-nav__list.is-open { display: flex; }
  .site-nav__list a { font-size: 16px; padding: 13px 20px; }
  .site-nav__list a:hover,
  .site-nav__list a:focus,
  .site-nav__list a.is-active { background-color: #EEEEEE; color: var(--c-white); }
  .site-header__inner { position: relative; }
  .site-logo { width: 24%; }
}
@media (max-width: 767px) {
  .site-header__inner { padding-inline: var(--gutter-sm); }
  .site-logo { width: 65%; margin-inline-start: 8px; }
  .site-logo a { width: 66%; }
}

/* ==========================================================================
   2025 footer (Elementor template post-8564)
   ========================================================================== */
.site-footer { background-color: var(--c-footer-bg); }
.site-footer__inner {
  display: flex;
  flex-direction: row;
  gap: 0;
  max-width: var(--content-width);
  margin-inline: auto;
  padding: 39px var(--gutter) 45px;
}
.site-footer__brand { flex: 0 0 50%; max-width: 50%; }
.site-footer__brand img { width: 200px; margin-top: -9px; display: block; }
.site-footer__nav { flex: 0 0 27%; max-width: 27%; }
.site-footer__social {
  flex: 0 0 50%;
  max-width: 50%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-end;
}
.site-footer__nav ul { margin: 0; padding: 0; list-style: none; }
.site-footer__nav a {
  display: block;
  padding: 5px 0;
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 500;
  color: var(--c-white);
  text-decoration: none;
}
.site-footer__nav a:hover { text-decoration: underline; }
.site-footer__social h2 {
  margin: 0 0 1rem;
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--c-white);
}
.social-icons { display: flex; gap: 5px; }
.social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.2em;
  height: 2.2em;
  font-size: 19px;
  border-radius: 0;          /* Elementor: elementor-shape-square */
  background-color: var(--c-secondary);
  color: var(--c-white);
  text-decoration: none;
  transition: opacity .2s;
}
.social-icons a:hover { opacity: .85; }
.social-icons svg { width: 1em; height: 1em; fill: currentColor; display: block; }

.site-footer__bar { background-color: var(--c-footer-bar); }
.site-footer__bar-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0 .5em;
  max-width: 1179px;
  margin-inline: auto;
  padding: 4px var(--gutter);
}
.site-footer__bar a,
.site-footer__bar span {
  font-family: var(--font-body);
  font-weight: 300;
  color: #E2E2E25C;
  text-decoration: none;
}
.site-footer__bar a:hover { color: var(--c-white); }
.site-footer__copy {
  width: 100%;
  text-align: center;
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 300;
  color: var(--c-footer-copy);
  margin: 0;
}
@media (max-width: 1024px) {
  .site-footer__inner { flex-wrap: wrap; }
}
@media (max-width: 767px) {
  .site-footer__inner {
    flex-direction: column;
    padding: 25px var(--gutter-sm) 30px;
    gap: 24px;
  }
  .site-footer__brand,
  .site-footer__nav,
  .site-footer__social { flex: 0 0 100%; max-width: 100%; }
  .site-footer__social { align-items: flex-start; }
  .site-footer__bar-inner { padding-inline: var(--gutter-sm); }
}
