/* ============================================================
   FitAcademy / Infinity Online Solutions — Complete Stylesheet
   Vanilla CSS — No Tailwind required. Moodle-compatible.
   ============================================================ */

/* ——— CSS Custom Properties (Design Tokens) ——— */
:root {
    /* Colors */
    --c-primary: #003ec7;
    --c-primary-fixed: #dde1ff;
    --c-primary-fixed-dim: #b7c4ff;
    --c-primary-container: #0052ff;
    --c-on-primary: #ffffff;
    --c-on-primary-fixed: #001452;
    --c-on-primary-fixed-variant: #0038b6;
    --c-on-primary-container: #dfe3ff;
    --c-inverse-primary: #b7c4ff;

    --c-secondary: #4e6700;
    --c-secondary-fixed: #bef500;
    --c-secondary-fixed-dim: #a6d700;
    --c-secondary-container: #bcf200;
    --c-on-secondary: #ffffff;
    --c-on-secondary-fixed: #151f00;
    --c-on-secondary-fixed-variant: #3a4d00;
    --c-on-secondary-container: #526b00;

    --c-tertiary: #4d4d53;
    --c-tertiary-fixed: #e3e1e9;
    --c-tertiary-fixed-dim: #c7c6cd;
    --c-tertiary-container: #65656c;
    --c-on-tertiary: #ffffff;
    --c-on-tertiary-fixed: #1a1b21;
    --c-on-tertiary-fixed-variant: #46464c;
    --c-on-tertiary-container: #e5e3eb;

    --c-surface: #fbf8ff;
    --c-surface-bright: #fbf8ff;
    --c-surface-dim: #d9d9e7;
    --c-surface-container-lowest: #ffffff;
    --c-surface-container-low: #f3f2ff;
    --c-surface-container: #ededfb;
    --c-surface-container-high: #e7e7f5;
    --c-surface-container-highest: #e1e1ef;
    --c-surface-variant: #e1e1ef;
    --c-surface-tint: #004ced;
    --c-inverse-surface: #2e303a;
    --c-inverse-on-surface: #f0effe;

    --c-on-surface: #191b25;
    --c-on-surface-variant: #434656;
    --c-on-background: #191b25;
    --c-background: #fbf8ff;

    --c-outline: #737688;
    --c-outline-variant: #c3c5d9;
    --c-error: #ba1a1a;
    --c-error-container: #ffdad6;
    --c-on-error: #ffffff;
    --c-on-error-container: #93000a;

    /* Spacing */
    --sp-xs: 4px;
    --sp-sm: 8px;
    --sp-md: 16px;
    --sp-lg: 24px;
    --sp-xl: 48px;
    --sp-section: 80px;
    --sp-unit: 4px;
    --max-container: 1280px;

    /* Border radius */
    --r-default: 0.125rem;
    --r-lg: 0.25rem;
    --r-xl: 0.5rem;
    --r-2xl: 1rem;
    --r-full: 0.75rem;
}

/* ——— Base / Reset ——— */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    font-weight: 400;
    color: var(--c-on-surface);
    background-color: var(--c-surface-bright);
    overflow-x: hidden;
}

img,
video {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}

button,
input,
select,
textarea {
    font-family: inherit;
}

/* ——— Material Symbols ——— */
.material-symbols-outlined {
    font-family: 'Material Symbols Outlined';
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
    vertical-align: middle;
    display: inline-block;
    font-style: normal;
    font-weight: normal;
    line-height: 1;
    user-select: none;
}

/* ============================================================
   TYPOGRAPHY SCALE
   ============================================================ */
.font-display-lg,
.text-display-lg {
    font-family: 'Sora', sans-serif;
    font-size: 64px;
    line-height: 1.1;
    letter-spacing: -0.04em;
    font-weight: 800;
}

.font-display-sm,
.text-display-sm {
    font-family: 'Sora', sans-serif;
    font-size: 40px;
    line-height: 1.2;
    letter-spacing: -0.03em;
    font-weight: 800;
}

.font-headline-lg,
.text-headline-lg {
    font-family: 'Sora', sans-serif;
    font-size: 32px;
    line-height: 1.3;
    font-weight: 700;
}

.font-headline-lg-mobile,
.text-headline-lg-mobile {
    font-family: 'Sora', sans-serif;
    font-size: 28px;
    line-height: 1.3;
    font-weight: 700;
}

.font-headline-md,
.text-headline-md {
    font-family: 'Sora', sans-serif;
    font-size: 24px;
    line-height: 1.4;
    font-weight: 600;
}

.font-body-lg,
.text-body-lg {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 18px;
    line-height: 1.6;
    font-weight: 500;
}

.font-body-md,
.text-body-md {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    font-weight: 400;
}

.font-label-bold,
.text-label-bold {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 14px;
    line-height: 1;
    letter-spacing: 0.05em;
    font-weight: 700;
}

/* ============================================================
   BACKGROUND COLORS
   ============================================================ */
.bg-primary {
    background-color: var(--c-primary) !important;
}

.bg-primary-fixed {
    background-color: var(--c-primary-fixed) !important;
}

.bg-primary-fixed-dim {
    background-color: var(--c-primary-fixed-dim) !important;
}

.bg-primary-container {
    background-color: var(--c-primary-container) !important;
}

.bg-on-primary-container {
    background-color: var(--c-on-primary-container) !important;
}

.bg-secondary {
    background-color: var(--c-secondary) !important;
}

.bg-secondary-fixed {
    background-color: var(--c-secondary-fixed) !important;
}

.bg-secondary-fixed-dim {
    background-color: var(--c-secondary-fixed-dim) !important;
}

.bg-secondary-container {
    background-color: var(--c-secondary-container) !important;
}

.bg-tertiary {
    background-color: #0052FF !important
}

.bg-tertiary-fixed {
    background-color: var(--c-tertiary-fixed) !important;
}

.bg-tertiary-container {
    background-color: var(--c-tertiary-container) !important;
}

.bg-surface {
    background-color: var(--c-surface) !important;
}

.bg-surface-bright {
    background-color: var(--c-surface-bright) !important;
}

.bg-surface-dim {
    background-color: var(--c-surface-dim) !important;
}

.bg-surface-variant {
    background-color: var(--c-surface-variant) !important;
}

.bg-surface-container-lowest {
    background-color: var(--c-surface-container-lowest) !important;
}

.bg-surface-container-low {
    background-color: var(--c-surface-container-low) !important;
}

.bg-surface-container {
    background-color: var(--c-surface-container) !important;
}

.bg-surface-container-high {
    background-color: var(--c-surface-container-high) !important;
}

.bg-surface-container-highest {
    background-color: var(--c-surface-container-highest) !important;
}

.bg-background {
    background-color: var(--c-background) !important;
}

.bg-on-surface {
    background-color: var(--c-on-surface) !important;
}

.bg-inverse-surface {
    background-color: var(--c-inverse-surface) !important;
}

.bg-deep-blue {
    background-color: #001452 !important;
}

.bg-inverse-on-surface {
    background-color: var(--c-inverse-on-surface) !important;
}

.bg-on-tertiary-fixed-variant {
    background-color: var(--c-on-tertiary-fixed-variant) !important;
}

.bg-white {
    background-color: #ffffff !important;
}

.bg-error-container {
    background-color: var(--c-error-container) !important;
}

/* ============================================================
   TEXT COLORS
   ============================================================ */
.text-primary {
    color: var(--c-primary) !important;
}

.text-primary-fixed {
    color: var(--c-primary-fixed) !important;
}

.text-primary-fixed-dim {
    color: var(--c-primary-fixed-dim) !important;
}

.text-primary-container {
    color: var(--c-primary-container) !important;
}

.text-on-primary {
    color: var(--c-on-primary) !important;
}

.text-on-primary-fixed {
    color: var(--c-on-primary-fixed) !important;
}

.text-on-primary-fixed-variant {
    color: var(--c-on-primary-fixed-variant) !important;
}

.text-on-primary-container {
    color: var(--c-on-primary-container) !important;
}

.text-secondary {
    color: var(--c-secondary) !important;
}

.text-secondary-fixed {
    color: var(--c-secondary-fixed) !important;
}

.text-secondary-fixed-dim {
    color: var(--c-secondary-fixed-dim) !important;
}

.text-on-secondary {
    color: var(--c-on-secondary) !important;
}

.text-on-secondary-fixed {
    color: var(--c-on-secondary-fixed) !important;
}

.text-on-secondary-fixed-variant {
    color: var(--c-on-secondary-fixed-variant) !important;
}

.text-on-secondary-container {
    color: var(--c-on-secondary-container) !important;
}

.text-tertiary {
    color: var(--c-tertiary) !important;
}

.text-on-tertiary {
    color: var(--c-on-tertiary) !important;
}

.text-on-tertiary-fixed {
    color: var(--c-on-tertiary-fixed) !important;
}

.text-on-tertiary-fixed-variant {
    color: var(--c-on-tertiary-fixed-variant) !important;
}

.text-on-tertiary-container {
    color: var(--c-on-tertiary-container) !important;
}

.text-surface {
    color: var(--c-surface) !important;
}

.text-surface-bright {
    color: var(--c-surface-bright) !important;
}

.text-surface-variant {
    color: var(--c-surface-variant) !important;
}

.text-on-surface {
    color: var(--c-on-surface) !important;
}

.text-inverse-surface {
    color: var(--c-inverse-surface) !important;
}

.text-inverse-on-surface {
    color: var(--c-inverse-on-surface) !important;
}

.text-on-surface-variant {
    color: var(--c-on-surface-variant) !important;
}

.text-on-background {
    color: var(--c-on-background) !important;
}

.text-background {
    color: var(--c-background) !important;
}

.text-outline {
    color: var(--c-outline) !important;
}

.text-outline-variant {
    color: var(--c-outline-variant) !important;
}

.text-error {
    color: var(--c-error) !important;
}

.text-on-error {
    color: var(--c-on-error) !important;
}

.text-white {
    color: #ffffff !important;
}

.fill-current {
    fill: currentColor !important;
}

/* ============================================================
   BORDER COLORS
   ============================================================ */
.border-primary {
    border-color: var(--c-primary) !important;
}

.border-primary-fixed {
    border-color: var(--c-primary-fixed) !important;
}

.border-secondary-fixed {
    border-color: var(--c-secondary-fixed) !important;
}

.border-secondary-container {
    border-color: var(--c-secondary-container) !important;
}

.border-tertiary {
    border-color: var(--c-tertiary) !important;
}

.border-on-surface {
    border-color: var(--c-on-surface) !important;
}

.border-on-surface-variant {
    border-color: var(--c-on-surface-variant) !important;
}

.border-on-tertiary-fixed {
    border-color: var(--c-on-tertiary-fixed) !important;
}

.border-surface-variant {
    border-color: var(--c-surface-variant) !important;
}

.border-outline-variant {
    border-color: var(--c-outline-variant) !important;
}

.border-white {
    border-color: #ffffff !important;
}

/* ============================================================
   BORDER UTILITIES
   ============================================================ */
.border-0 {
    border-width: 0 !important;
}

.border {
    border-width: 1px;
    border-style: solid;
}

.border-2 {
    border-width: 2px;
    border-style: solid;
}

.border-4 {
    border-width: 4px;
    border-style: solid;
}

.border-8 {
    border-width: 8px;
    border-style: solid;
}

.border-t {
    border-top-width: 1px;
    border-top-style: solid;
}

.border-t-2 {
    border-top-width: 2px;
    border-top-style: solid;
}

.border-t-4 {
    border-top-width: 4px;
    border-top-style: solid;
}

.border-b {
    border-bottom-width: 1px;
    border-bottom-style: solid;
}

.border-b-2 {
    border-bottom-width: 2px;
    border-bottom-style: solid;
}

.border-b-4 {
    border-bottom-width: 4px;
    border-bottom-style: solid;
}

.border-l {
    border-left-width: 1px;
    border-left-style: solid;
}

.border-l-4 {
    border-left-width: 4px;
    border-left-style: solid;
}

.border-l-8 {
    border-left-width: 8px;
    border-left-style: solid;
}

.border-r {
    border-right-width: 1px;
    border-right-style: solid;
}

.border-y-2 {
    border-top-width: 2px;
    border-top-style: solid;
    border-bottom-width: 2px;
    border-bottom-style: solid;
}

/* ============================================================
   BORDER RADIUS
   ============================================================ */
.rounded-none {
    border-radius: 0 !important;
}

.rounded-sm {
    border-radius: 0.125rem !important;
}

.rounded-DEFAULT {
    border-radius: 0.125rem !important;
}

.rounded {
    border-radius: 0.125rem !important;
}

.rounded-lg {
    border-radius: 0.25rem !important;
}

.rounded-xl {
    border-radius: 0.5rem !important;
}

.rounded-2xl {
    border-radius: 1rem !important;
}

.rounded-full {
    border-radius: 9999px !important;
}

/* ============================================================
   SPACING — PADDING
   ============================================================ */
.p-0 {
    padding: 0 !important;
}

.p-sm {
    padding: var(--sp-sm) !important;
}

.p-md {
    padding: var(--sp-md) !important;
}

.p-lg {
    padding: var(--sp-lg) !important;
}

.p-xl {
    padding: var(--sp-xl) !important;
}

.p-unit {
    padding: var(--sp-unit) !important;
}

.p-1 {
    padding: 4px !important;
}

.p-2 {
    padding: 8px !important;
}

.p-4 {
    padding: 16px !important;
}

.p-6 {
    padding: 24px !important;
}

.p-8 {
    padding: 32px !important;
}

.p-16 {
    padding: 64px !important;
}

.px-0 {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.px-sm {
    padding-left: var(--sp-sm) !important;
    padding-right: var(--sp-sm) !important;
}

.px-md {
    padding-left: var(--sp-md) !important;
    padding-right: var(--sp-md) !important;
}

.px-lg {
    padding-left: var(--sp-lg) !important;
    padding-right: var(--sp-lg) !important;
}

.px-xl {
    padding-left: var(--sp-xl) !important;
    padding-right: var(--sp-xl) !important;
}

.px-1 {
    padding-left: 4px !important;
    padding-right: 4px !important;
}

.px-2 {
    padding-left: 8px !important;
    padding-right: 8px !important;
}

.px-4 {
    padding-left: 16px !important;
    padding-right: 16px !important;
}

.px-6 {
    padding-left: 24px !important;
    padding-right: 24px !important;
}

.py-0 {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.py-xs {
    padding-top: var(--sp-xs) !important;
    padding-bottom: var(--sp-xs) !important;
}

.py-sm {
    padding-top: var(--sp-sm) !important;
    padding-bottom: var(--sp-sm) !important;
}

.py-md {
    padding-top: var(--sp-md) !important;
    padding-bottom: var(--sp-md) !important;
}

.py-lg {
    padding-top: var(--sp-lg) !important;
    padding-bottom: var(--sp-lg) !important;
}

.py-xl {
    padding-top: var(--sp-xl) !important;
    padding-bottom: var(--sp-xl) !important;
}

.py-section {
    padding-top: var(--sp-section) !important;
    padding-bottom: var(--sp-section) !important;
}

.py-1 {
    padding-top: 4px !important;
    padding-bottom: 4px !important;
}

.py-2 {
    padding-top: 8px !important;
    padding-bottom: 8px !important;
}

.py-4 {
    padding-top: 16px !important;
    padding-bottom: 16px !important;
}

.py-6 {
    padding-top: 24px !important;
    padding-bottom: 24px !important;
}

.py-8 {
    padding-top: 32px !important;
    padding-bottom: 32px !important;
}

.py-16 {
    padding-top: 64px !important;
    padding-bottom: 64px !important;
}

.pt-xs {
    padding-top: var(--sp-xs) !important;
}

.pt-sm {
    padding-top: var(--sp-sm) !important;
}

.pt-md {
    padding-top: var(--sp-md) !important;
}

.pt-lg {
    padding-top: var(--sp-lg) !important;
}

.pt-xl {
    padding-top: var(--sp-xl) !important;
}

.pt-section {
    padding-top: var(--sp-section) !important;
}

.pt-12 {
    padding-top: 48px !important;
}

.pb-xs {
    padding-bottom: var(--sp-xs) !important;
}

.pb-sm {
    padding-bottom: var(--sp-sm) !important;
}

.pb-md {
    padding-bottom: var(--sp-md) !important;
}

.pb-lg {
    padding-bottom: var(--sp-lg) !important;
}

.pb-xl {
    padding-bottom: var(--sp-xl) !important;
}

.pb-section {
    padding-bottom: var(--sp-section) !important;
}

.pb-2 {
    padding-bottom: 8px !important;
}

.pl-lg {
    padding-left: var(--sp-lg) !important;
}

.pl-xl {
    padding-left: var(--sp-xl) !important;
}

.pl-4 {
    padding-left: 16px !important;
}

.pr-lg {
    padding-right: var(--sp-lg) !important;
}

/* ============================================================
   SPACING — MARGIN
   ============================================================ */
.m-0 {
    margin: 0 !important;
}

.mx-auto {
    margin-left: auto !important;
    margin-right: auto !important;
}

.my-0 {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

.mb-xs {
    margin-bottom: var(--sp-xs) !important;
}

.mb-sm {
    margin-bottom: var(--sp-sm) !important;
}

.mb-md {
    margin-bottom: var(--sp-md) !important;
}

.mb-lg {
    margin-bottom: var(--sp-lg) !important;
}

.mb-xl {
    margin-bottom: var(--sp-xl) !important;
}

.mb-1 {
    margin-bottom: 4px !important;
}

.mb-2 {
    margin-bottom: 8px !important;
}

.mb-4 {
    margin-bottom: 16px !important;
}

.mb-0 {
    margin-bottom: 0 !important;
}

.mt-auto {
    margin-top: auto !important;
}

.mt-xs {
    margin-top: var(--sp-xs) !important;
}

.mt-sm {
    margin-top: var(--sp-sm) !important;
}

.mt-md {
    margin-top: var(--sp-md) !important;
}

.mt-lg {
    margin-top: var(--sp-lg) !important;
}

.mt-xl {
    margin-top: var(--sp-xl) !important;
}

.mt-4 {
    margin-top: 16px !important;
}

.mt-6 {
    margin-top: 24px !important;
}

.mt-12 {
    margin-top: 48px !important;
}

.ml-auto {
    margin-left: auto !important;
}

.mr-auto {
    margin-right: auto !important;
}

.-ml-md {
    margin-left: calc(-1 * var(--sp-md)) !important;
}

.-ml-lg {
    margin-left: calc(-1 * var(--sp-lg)) !important;
}

.-ml-xl {
    margin-left: calc(-1 * var(--sp-xl)) !important;
}

.-mt-xl {
    margin-top: calc(-1 * var(--sp-xl)) !important;
}

/* ============================================================
   SIZING
   ============================================================ */
.w-full {
    width: 100% !important;
}

.w-auto {
    width: auto !important;
}

.w-5 {
    width: 20px !important;
}

.w-10 {
    width: 40px !important;
}

.w-24 {
    width: 96px !important;
}

.w-1\/2 {
    width: 50% !important;
}

.w-1\/3 {
    width: 33.333333% !important;
}

.w-2\/3 {
    width: 66.666667% !important;
}

.w-3\/4 {
    width: 75% !important;
}

.w-1\/4 {
    width: 25% !important;
}

.w-5\/12 {
    width: 41.666667% !important;
}

.w-7\/12 {
    width: 58.333333% !important;
}

.h-full {
    height: 100% !important;
}

.h-auto {
    height: auto !important;
}

.h-1 {
    height: 4px !important;
}

.h-5 {
    height: 20px !important;
}

.h-10 {
    height: 40px !important;
}

.h-16 {
    height: 64px !important;
}

.h-24 {
    height: 96px !important;
}

.h-64 {
    height: 256px !important;
}

.h-1\/2 {
    height: 50% !important;
}

.h-3\/4 {
    height: 75% !important;
}

.min-h-screen {
    min-height: 100vh !important;
}

.max-w-xs {
    max-width: 20rem !important;
}

.max-w-sm {
    max-width: 24rem !important;
}

.max-w-md {
    max-width: 28rem !important;
}

.max-w-lg {
    max-width: 32rem !important;
}

.max-w-xl {
    max-width: 36rem !important;
}

.max-w-2xl {
    max-width: 42rem !important;
}

.max-w-3xl {
    max-width: 48rem !important;
}

.max-w-4xl {
    max-width: 56rem !important;
}

.max-w-5xl {
    max-width: 64rem !important;
}

.max-w-6xl {
    max-width: 72rem !important;
}

.max-w-7xl {
    max-width: 80rem !important;
}

.max-w-container-max {
    max-width: var(--max-container) !important;
}

.container-max {
    max-width: var(--max-container);
}

/* Aspect ratios */
.aspect-square {
    aspect-ratio: 1 / 1;
}

.aspect-video {
    aspect-ratio: 16 / 9;
}

.aspect-\[4\/3\] {
    aspect-ratio: 4 / 3;
}

.aspect-\[3\/2\] {
    aspect-ratio: 3 / 2;
}

/* ============================================================
   DISPLAY & FLEXBOX
   ============================================================ */
.block {
    display: block !important;
}

.inline-block {
    display: inline-block !important;
}

.inline {
    display: inline !important;
}

.flex {
    display: flex !important;
}

.inline-flex {
    display: inline-flex !important;
}

.grid {
    display: grid !important;
}

.hidden {
    display: none !important;
}

.flex-col {
    flex-direction: column !important;
}

.flex-row {
    flex-direction: row !important;
}

.flex-wrap {
    flex-wrap: wrap !important;
}

.flex-nowrap {
    flex-wrap: nowrap !important;
}

.flex-1 {
    flex: 1 1 0% !important;
}

.flex-auto {
    flex: 1 1 auto !important;
}

.flex-none {
    flex: none !important;
}

.flex-grow {
    flex-grow: 1 !important;
}

.flex-shrink-0 {
    flex-shrink: 0 !important;
}

.items-start {
    align-items: flex-start !important;
}

.items-center {
    align-items: center !important;
}

.items-end {
    align-items: flex-end !important;
}

.items-stretch {
    align-items: stretch !important;
}

.justify-start {
    justify-content: flex-start !important;
}

.justify-center {
    justify-content: center !important;
}

.justify-end {
    justify-content: flex-end !important;
}

.justify-between {
    justify-content: space-between !important;
}

.justify-around {
    justify-content: space-around !important;
}

.self-start {
    align-self: flex-start !important;
}

.self-center {
    align-self: center !important;
}

.self-end {
    align-self: flex-end !important;
}

.self-stretch {
    align-self: stretch !important;
}

/* ============================================================
   GRID
   ============================================================ */
.grid-cols-1 {
    grid-template-columns: repeat(1, minmax(0, 1fr));
}

.grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-cols-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.grid-cols-12 {
    grid-template-columns: repeat(12, minmax(0, 1fr));
}

.grid-rows-1 {
    grid-template-rows: repeat(1, minmax(0, 1fr));
}

.grid-rows-2 {
    grid-template-rows: repeat(2, minmax(0, 1fr));
}

.col-span-1 {
    grid-column: span 1 / span 1;
}

.col-span-2 {
    grid-column: span 2 / span 2;
}

.col-span-3 {
    grid-column: span 3 / span 3;
}

.col-span-4 {
    grid-column: span 4 / span 4;
}

.col-span-5 {
    grid-column: span 5 / span 5;
}

.col-span-6 {
    grid-column: span 6 / span 6;
}

.col-span-7 {
    grid-column: span 7 / span 7;
}

.col-span-8 {
    grid-column: span 8 / span 8;
}

.col-span-9 {
    grid-column: span 9 / span 9;
}

.col-span-10 {
    grid-column: span 10 / span 10;
}

.col-span-11 {
    grid-column: span 11 / span 11;
}

.col-span-12 {
    grid-column: span 12 / span 12;
}

.col-span-full {
    grid-column: 1 / -1;
}

.row-span-1 {
    grid-row: span 1 / span 1;
}

.row-span-2 {
    grid-row: span 2 / span 2;
}

.row-span-3 {
    grid-row: span 3 / span 3;
}

.gap-xs {
    gap: var(--sp-xs);
}

.gap-sm {
    gap: var(--sp-sm);
}

.gap-md {
    gap: var(--sp-md);
}

.gap-lg {
    gap: var(--sp-lg);
}

.gap-xl {
    gap: var(--sp-xl);
}

.gap-0 {
    gap: 0;
}

.gap-2 {
    gap: 8px;
}

.gap-4 {
    gap: 16px;
}

.gap-6 {
    gap: 24px;
}

/* ============================================================
   POSITIONING
   ============================================================ */
.relative {
    position: relative !important;
}

.absolute {
    position: absolute !important;
}

.fixed {
    position: fixed !important;
}

.sticky {
    position: sticky !important;
}

.static {
    position: static !important;
}

.inset-0 {
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

.top-0 {
    top: 0;
}

.top-12 {
    top: 48px;
}

.right-0 {
    right: 0;
}

.bottom-0 {
    bottom: 0;
}

.bottom-md {
    bottom: var(--sp-md);
}

.left-0 {
    left: 0;
}

.-left-md {
    left: calc(-1 * var(--sp-md));
}

.translate-x-1\/2 {
    transform: translateX(50%);
}

.z-0 {
    z-index: 0;
}

.z-10 {
    z-index: 10;
}

.z-20 {
    z-index: 20;
}

.z-30 {
    z-index: 30;
}

.z-50 {
    z-index: 50;
}

/* ============================================================
   OVERFLOW & VISIBILITY
   ============================================================ */
.overflow-hidden {
    overflow: hidden !important;
}

.overflow-auto {
    overflow: auto !important;
}

.overflow-x-hidden {
    overflow-x: hidden !important;
}

.overflow-y-auto {
    overflow-y: auto !important;
}

.truncate {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.opacity-0 {
    opacity: 0 !important;
}

.opacity-20 {
    opacity: 0.20 !important;
}

.opacity-40 {
    opacity: 0.40 !important;
}

.opacity-60 {
    opacity: 0.60 !important;
}

.opacity-70 {
    opacity: 0.70 !important;
}

.opacity-80 {
    opacity: 0.80 !important;
}

.opacity-85 {
    opacity: 0.85 !important;
}

.opacity-90 {
    opacity: 0.90 !important;
}

.opacity-100 {
    opacity: 1 !important;
}

/* ============================================================
   OBJECT FIT
   ============================================================ */
.object-cover {
    object-fit: cover !important;
}

.object-contain {
    object-fit: contain !important;
}

.object-center {
    object-position: center !important;
}

/* ============================================================
   TEXT UTILITIES
   ============================================================ */
.text-center {
    text-align: center !important;
}

.text-left {
    text-align: left !important;
}

.text-right {
    text-align: right !important;
}

.uppercase {
    text-transform: uppercase !important;
}

.lowercase {
    text-transform: lowercase !important;
}

.capitalize {
    text-transform: capitalize !important;
}

.italic {
    font-style: italic !important;
}

.not-italic {
    font-style: normal !important;
}

.underline {
    text-decoration: underline !important;
}

.no-underline {
    text-decoration: none !important;
}

.leading-none {
    line-height: 1 !important;
}

.leading-tight {
    line-height: 1.25 !important;
}

.leading-snug {
    line-height: 1.375 !important;
}

.leading-normal {
    line-height: 1.5 !important;
}

.leading-relaxed {
    line-height: 1.625 !important;
}

.leading-loose {
    line-height: 2 !important;
}

.tracking-tight {
    letter-spacing: -0.025em !important;
}

.tracking-normal {
    letter-spacing: 0 !important;
}

.tracking-wide {
    letter-spacing: 0.025em !important;
}

.tracking-wider {
    letter-spacing: 0.05em !important;
}

.tracking-widest {
    letter-spacing: 0.1em !important;
}

.font-normal {
    font-weight: 400 !important;
}

.font-medium {
    font-weight: 500 !important;
}

.font-semibold {
    font-weight: 600 !important;
}

.font-bold {
    font-weight: 700 !important;
}

.font-black {
    font-weight: 900 !important;
}

.text-sm {
    font-size: 14px !important;
}

.text-base {
    font-size: 16px !important;
}

.text-lg {
    font-size: 18px !important;
}

.text-xl {
    font-size: 20px !important;
}

.text-2xl {
    font-size: 24px !important;
}

.text-3xl {
    font-size: 30px !important;
}

.text-4xl {
    font-size: 36px !important;
}

/* ============================================================
   SHADOW
   ============================================================ */
.shadow-sm {
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, .05) !important;
}

.shadow {
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, .1), 0 1px 2px -1px rgba(0, 0, 0, .1) !important;
}

.shadow-md {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, .1), 0 2px 4px -2px rgba(0, 0, 0, .1) !important;
}

.shadow-lg {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, .1), 0 4px 6px -4px rgba(0, 0, 0, .1) !important;
}

.shadow-xl {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, .1), 0 8px 10px -6px rgba(0, 0, 0, .1) !important;
}

.shadow-2xl {
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, .25) !important;
}

.shadow-none {
    box-shadow: none !important;
}

/* ============================================================
   TRANSITIONS & ANIMATIONS
   ============================================================ */
.transition-all {
    transition: all 0.15s ease !important;
}

.transition-colors {
    transition: color 0.15s ease, background-color 0.15s ease, border-color 0.15s ease !important;
}

.transition-opacity {
    transition: opacity 0.15s ease !important;
}

.transition-transform {
    transition: transform 0.15s ease !important;
}

.duration-300 {
    transition-duration: 300ms !important;
}

.duration-500 {
    transition-duration: 500ms !important;
}

.duration-700 {
    transition-duration: 700ms !important;
}

/* ============================================================
   TRANSFORMS
   ============================================================ */
.scale-95 {
    transform: scale(0.95) !important;
}

.scale-100 {
    transform: scale(1) !important;
}

.scale-105 {
    transform: scale(1.05) !important;
}

.scale-110 {
    transform: scale(1.10) !important;
}

.translate-y-10 {
    transform: translateY(40px) !important;
}

.translate-y-0 {
    transform: translateY(0) !important;
}

.group-hover\:translate-x-1:not(.group:hover > *) {}

/* ============================================================
   INTERACTIVE / HOVER STATES
   ============================================================ */
.hover\:opacity-90:hover {
    opacity: 0.90 !important;
}

.hover\:opacity-100:hover {
    opacity: 1 !important;
}

.hover\:scale-105:hover {
    transform: scale(1.05) !important;
}

.hover\:rotate-0:hover {
    transform: rotate(0deg) !important;
}

.hover\:underline:hover {
    text-decoration: underline !important;
}

.hover\:brightness-110:hover {
    filter: brightness(1.1) !important;
}

.hover\:bg-primary:hover {
    background-color: var(--c-primary) !important;
}

.hover\:bg-primary-container:hover {
    background-color: var(--c-primary-container) !important;
}

.hover\:bg-secondary-fixed:hover {
    background-color: var(--c-secondary-fixed) !important;
}

.hover\:bg-on-secondary-fixed:hover {
    background-color: var(--c-on-secondary-fixed) !important;
}

.hover\:bg-tertiary:hover {
    background-color: var(--c-tertiary) !important;
}

.hover\:bg-primary\/20:hover {
    background-color: rgba(0, 62, 199, 0.20) !important;
}

.hover\:bg-white:hover {
    background-color: #ffffff !important;
}

.hover\:text-primary:hover {
    color: var(--c-primary) !important;
}

.hover\:text-on-primary:hover {
    color: var(--c-on-primary) !important;
}

.hover\:text-secondary-fixed:hover {
    color: var(--c-secondary-fixed) !important;
}

.hover\:text-on-secondary-fixed:hover {
    color: var(--c-on-secondary-fixed) !important;
}

.hover\:text-white:hover {
    color: #ffffff !important;
}

.active\:scale-95:active {
    transform: scale(0.95) !important;
}

/* Group hover patterns */
.group:hover .group-hover\:text-white {
    color: #ffffff !important;
}

.group:hover .group-hover\:opacity-100 {
    opacity: 1 !important;
}

.group:hover .group-hover\:scale-105 {
    transform: scale(1.05) !important;
}

.group:hover .group-hover\:translate-x-1 {
    transform: translateX(4px) !important;
}

.group:hover .group-hover\:bg-primary\/20 {
    background-color: rgba(0, 62, 199, 0.20) !important;
}

.group:hover .group-hover\:rotate-0 {
    transform: rotate(0deg) !important;
}

/* ============================================================
   ROTATE
   ============================================================ */
.rotate-\[-2deg\] {
    transform: rotate(-2deg);
}

.rotate-\[1deg\] {
    transform: rotate(1deg);
}

.rotate-\[-1deg\] {
    transform: rotate(-1deg);
}

.rotate-\[2deg\] {
    transform: rotate(2deg);
}

.rotate-180 {
    transform: rotate(180deg);
}

.icon-rotate {
    transition: transform 0.3s ease;
}

/* ============================================================
   GRADIENT UTILITIES
   ============================================================ */
.bg-gradient-to-t {
    background-image: linear-gradient(to top, var(--tw-gradient-stops, #000, transparent));
}

.bg-gradient-to-b {
    background-image: linear-gradient(to bottom, var(--tw-gradient-stops, #000, transparent));
}

.bg-gradient-to-r {
    background-image: linear-gradient(to right, var(--tw-gradient-stops, #000, transparent));
}

.bg-gradient-to-tr {
    background-image: linear-gradient(to top right, var(--tw-gradient-stops, #000, transparent));
}

.bg-gradient-to-br {
    background-image: linear-gradient(to bottom right, var(--tw-gradient-stops, #000, transparent));
}

/* Specific used gradients (declared as utility in HTML via inline style or these selectors) */
.from-\[\#003ec7\] {
    --tw-gradient-from: #003ec7;
}

.via-\[\#4f46e5\]\/75 {
    --tw-gradient-via: rgba(79, 70, 229, 0.75);
}

.to-\[\#bcf200\]\/70 {
    --tw-gradient-to: rgba(188, 242, 0, 0.70);
}

.from-\[\#001452\]\/95 {
    --tw-gradient-from: rgba(0, 20, 82, 0.95);
}

.via-primary\/40 {
    --tw-gradient-via: rgba(0, 62, 199, 0.40);
}

.to-transparent {
    --tw-gradient-to: transparent;
}

.mix-blend-multiply {
    mix-blend-mode: multiply !important;
}

.pointer-events-none {
    pointer-events: none !important;
}

/* ============================================================
   SPACE BETWEEN (children)
   ============================================================ */
.space-y-xs>*+* {
    margin-top: var(--sp-xs);
}

.space-y-sm>*+* {
    margin-top: var(--sp-sm);
}

.space-y-md>*+* {
    margin-top: var(--sp-md);
}

.space-y-lg>*+* {
    margin-top: var(--sp-lg);
}

.space-y-xl>*+* {
    margin-top: var(--sp-xl);
}

.space-x-md>*+* {
    margin-left: var(--sp-md);
}

.space-x-lg>*+* {
    margin-left: var(--sp-lg);
}

/* ============================================================
   CUSTOM COMPONENT CLASSES
   ============================================================ */
.text-stroke {
    -webkit-text-stroke: 1px #003ec7;
    color: transparent;
}

.kinetic-text-stroke {
    -webkit-text-stroke: 1px currentColor;
    color: transparent;
}

.kinetic-gradient {
    background: linear-gradient(135deg, #003ec7 0%, #001452 100%);
}

.parallax-target {
    transition: transform 0.1s ease-out;
}

.italic-headline {
    font-style: italic;
}

.kinetic-skew {
    transform: skewX(-6deg);
}

.kinetic-skew-reverse {
    transform: skewX(6deg);
}

.overlap-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
}

.kinetic-border {
    border-left: 4px solid #003ec7;
}

.kinetic-border-left {
    border-left: 4px solid;
}

.pulse-animation {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: .3;
    }
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease;
}

.accordion-item.active .accordion-content {
    max-height: 500px;
    padding-top: 16px;
}

.accordion-item.active .icon-rotate {
    transform: rotate(180deg);
}

.glass-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(8px);
}

.custom-scrollbar::-webkit-scrollbar {
    width: 6px;
}

.custom-scrollbar::-webkit-scrollbar-track {
    background: #fbf8ff;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
    background: #003ec7;
    border-radius: 4px;
}

.brutal-shadow {
    box-shadow: 8px 8px 0px 0px rgba(0, 62, 199, 1);
}

.skew-hover:hover {
    transform: skewX(-2deg);
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.animate-marquee {
    animation: marquee 20s linear infinite;
}

.asymmetric-clip {
    clip-path: polygon(0 0, 100% 0, 95% 100%, 0% 100%);
}

.parallax-bg {
    background-attachment: fixed;
}

/* ============================================================
   SELECTION
   ============================================================ */
.selection\:bg-secondary-fixed::selection,
.selection\:bg-secondary-fixed *::selection {
    background-color: var(--c-secondary-fixed);
}

.selection\:text-on-secondary-fixed::selection,
.selection\:text-on-secondary-fixed *::selection {
    color: var(--c-on-secondary-fixed);
}

.selection\:bg-secondary-container::selection,
.selection\:bg-secondary-container *::selection {
    background-color: var(--c-secondary-container);
}

.selection\:text-on-secondary-container::selection,
.selection\:text-on-secondary-container *::selection {
    color: var(--c-on-secondary-container);
}

/* ============================================================
   FOCUS
   ============================================================ */
.focus\:ring-0:focus {
    outline: none;
    box-shadow: none;
}

.focus\:outline-none:focus {
    outline: none;
}

.focus\:border-primary:focus {
    border-color: var(--c-primary);
}

/* ============================================================
   SVG UTILITIES
   ============================================================ */
.fill-current {
    fill: currentColor !important;
}

/* ============================================================
   RESPONSIVE BREAKPOINTS
   md = 768px, lg = 1024px
   ============================================================ */

/* ——— md (768px+) ——— */
@media (min-width: 768px) {
    .md\:block {
        display: block !important;
    }

    .md\:hidden {
        display: none !important;
    }

    .md\:flex {
        display: flex !important;
    }

    .md\:grid {
        display: grid !important;
    }

    .md\:inline-block {
        display: inline-block !important;
    }

    .md\:flex-row {
        flex-direction: row !important;
    }

    .md\:flex-col {
        flex-direction: column !important;
    }

    .md\:flex-none {
        flex: none !important;
    }

    .md\:items-center {
        align-items: center !important;
    }

    .md\:justify-end {
        justify-content: flex-end !important;
    }

    .md\:justify-center {
        justify-content: center !important;
    }

    .md\:justify-between {
        justify-content: space-between !important;
    }

    .md\:grid-cols-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .md\:grid-cols-3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .md\:grid-cols-4 {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .md\:grid-cols-12 {
        grid-template-columns: repeat(12, minmax(0, 1fr));
    }

    .md\:grid-rows-2 {
        grid-template-rows: repeat(2, minmax(0, 1fr));
    }

    .md\:col-span-1 {
        grid-column: span 1 / span 1;
    }

    .md\:col-span-2 {
        grid-column: span 2 / span 2;
    }

    .md\:col-span-3 {
        grid-column: span 3 / span 3;
    }

    .md\:col-span-4 {
        grid-column: span 4 / span 4;
    }

    .md\:col-span-5 {
        grid-column: span 5 / span 5;
    }

    .md\:col-span-6 {
        grid-column: span 6 / span 6;
    }

    .md\:col-span-7 {
        grid-column: span 7 / span 7;
    }

    .md\:col-span-8 {
        grid-column: span 8 / span 8;
    }

    .md\:col-span-9 {
        grid-column: span 9 / span 9;
    }

    .md\:col-span-10 {
        grid-column: span 10 / span 10;
    }

    .md\:col-span-11 {
        grid-column: span 11 / span 11;
    }

    .md\:col-span-12 {
        grid-column: span 12 / span 12;
    }

    .md\:row-span-2 {
        grid-row: span 2 / span 2;
    }

    .md\:text-display-lg {
        font-size: 64px;
        line-height: 1.1;
        letter-spacing: -0.04em;
        font-weight: 800;
        font-family: 'Sora', sans-serif;
    }

    .md\:w-1\/2 {
        width: 50% !important;
    }

    .md\:w-auto {
        width: auto !important;
    }

    .md\:h-auto {
        height: auto !important;
    }

    .md\:h-\[600px\] {
        height: 600px !important;
    }

    .md\:rotate-\[-2deg\] {
        transform: rotate(-2deg);
    }

    .md\:rotate-\[1deg\] {
        transform: rotate(1deg);
    }

    .md\:rotate-\[-1deg\] {
        transform: rotate(-1deg);
    }

    .md\:rotate-\[2deg\] {
        transform: rotate(2deg);
    }

    .md\:-mt-xl {
        margin-top: calc(-1 * var(--sp-xl)) !important;
    }

    .md\:mb-0 {
        margin-bottom: 0 !important;
    }

    .md\:px-lg {
        padding-left: var(--sp-lg) !important;
        padding-right: var(--sp-lg) !important;
    }

    .md\:py-lg {
        padding-top: var(--sp-lg) !important;
        padding-bottom: var(--sp-lg) !important;
    }

    .md\:text-center {
        text-align: center !important;
    }

    .md\:text-left {
        text-align: left !important;
    }

    .md\:gap-lg {
        gap: var(--sp-lg);
    }

    .md\:gap-xl {
        gap: var(--sp-xl);
    }
}

/* ——— lg (1024px+) ——— */
@media (min-width: 1024px) {
    .lg\:block {
        display: block !important;
    }

    .lg\:hidden {
        display: none !important;
    }

    .lg\:flex {
        display: flex !important;
    }

    .lg\:grid {
        display: grid !important;
    }

    .lg\:inline-flex {
        display: inline-flex !important;
    }

    .lg\:flex-row {
        flex-direction: row !important;
    }

    .lg\:flex-col {
        flex-direction: column !important;
    }

    .lg\:flex-none {
        flex: none !important;
    }

    .lg\:flex-1 {
        flex: 1 !important;
    }

    .lg\:items-center {
        align-items: center !important;
    }

    .lg\:items-start {
        align-items: flex-start !important;
    }

    .lg\:justify-between {
        justify-content: space-between !important;
    }

    .lg\:justify-center {
        justify-content: center !important;
    }

    .lg\:justify-end {
        justify-content: flex-end !important;
    }

    .lg\:grid-cols-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .lg\:grid-cols-3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .lg\:grid-cols-4 {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .lg\:grid-cols-12 {
        grid-template-columns: repeat(12, minmax(0, 1fr));
    }

    .lg\:col-span-1 {
        grid-column: span 1 / span 1;
    }

    .lg\:col-span-2 {
        grid-column: span 2 / span 2;
    }

    .lg\:col-span-3 {
        grid-column: span 3 / span 3;
    }

    .lg\:col-span-4 {
        grid-column: span 4 / span 4;
    }

    .lg\:col-span-5 {
        grid-column: span 5 / span 5;
    }

    .lg\:col-span-6 {
        grid-column: span 6 / span 6;
    }

    .lg\:col-span-7 {
        grid-column: span 7 / span 7;
    }

    .lg\:col-span-8 {
        grid-column: span 8 / span 8;
    }

    .lg\:col-span-9 {
        grid-column: span 9 / span 9;
    }

    .lg\:col-span-10 {
        grid-column: span 10 / span 10;
    }

    .lg\:col-span-11 {
        grid-column: span 11 / span 11;
    }

    .lg\:col-span-12 {
        grid-column: span 12 / span 12;
    }

    .lg\:mb-0 {
        margin-bottom: 0 !important;
    }

    .lg\:mt-0 {
        margin-top: 0 !important;
    }

    .lg\:px-lg {
        padding-left: var(--sp-lg) !important;
        padding-right: var(--sp-lg) !important;
    }

    .lg\:py-section {
        padding-top: var(--sp-section) !important;
        padding-bottom: var(--sp-section) !important;
    }

    .lg\:text-display-lg {
        font-size: 64px;
        line-height: 1.1;
        letter-spacing: -0.04em;
        font-weight: 800;
        font-family: 'Sora', sans-serif;
    }

    .lg\:text-left {
        text-align: left !important;
    }

    .lg\:text-center {
        text-align: center !important;
    }

    .lg\:w-auto {
        width: auto !important;
    }

    .lg\:w-1\/2 {
        width: 50% !important;
    }
}

/* ============================================================
   MOODLE RESET — prevent Moodle's base CSS from leaking in
   ============================================================ */
main,
footer,
section,
article,
aside,
header,
nav {
    box-sizing: border-box;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

/* Moodle often resets these, so we re-assert them */
h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0;
    padding: 0;
}

p {
    margin: 0;
    padding: 0;
}

ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

li {
    list-style: none;
}

a {
    text-decoration: none;
}

button {
    cursor: pointer;
    border: none;
    background: none;
}

input,
textarea,
select {
    box-sizing: border-box;
}

/* ============================================================
   UTILITY — MISC THAT APPEARS IN PAGES
   ============================================================ */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.not-sr-only {
    position: static;
    width: auto;
    height: auto;
    padding: 0;
    margin: 0;
    overflow: visible;
    clip: auto;
}

.cursor-pointer {
    cursor: pointer;
}

.select-none {
    user-select: none;
}

.whitespace-nowrap {
    white-space: nowrap;
}

.break-words {
    overflow-wrap: break-word;
}

/* Vertical align */
.align-middle {
    vertical-align: middle;
}

.align-top {
    vertical-align: top;
}

/* Text size utilities used via arbitrary values in HTML (now explicit) */
.text-\[12px\] {
    font-size: 12px !important;
}

.text-\[14px\] {
    font-size: 14px !important;
}

.text-\[16px\] {
    font-size: 16px !important;
}

.text-\[18px\] {
    font-size: 18px !important;
}

.text-\[24px\] {
    font-size: 24px !important;
}

.text-\[32px\] {
    font-size: 32px !important;
}

.text-\[36px\] {
    font-size: 36px !important;
}

.text-\[40px\] {
    font-size: 40px !important;
}

.text-\[48px\] {
    font-size: 48px !important;
}

.text-\[64px\] {
    font-size: 64px !important;
}

/* Size utilities for Material icons */
.text-4xl {
    font-size: 36px !important;
}

.text-\[36px\] {
    font-size: 36px !important;
}

.text-\[40px\] {
    font-size: 40px !important;
}

.text-\[48px\] {
    font-size: 48px !important;
}

/* Border opacity (used in footer) */
.border-surface-variant\/20 {
    border-color: rgba(225, 225, 239, 0.20) !important;
}

/* Specific height tokens used inline in HTML */
.h-\[250px\] {
    height: 250px !important;
}

.h-\[380px\] {
    height: 380px !important;
}

.h-\[400px\] {
    height: 400px !important;
}

.h-\[420px\] {
    height: 420px !important;
}

.h-\[500px\] {
    height: 500px !important;
}

.h-\[600px\] {
    height: 600px !important;
}

.h-\[700px\] {
    height: 700px !important;
}

/* Specific min-height tokens */
.min-h-\[220px\] {
    min-height: 220px !important;
}

.min-h-\[500px\] {
    min-height: 500px !important;
}

/* Specific font size tokens */
.text-\[10px\] {
    font-size: 10px !important;
}

.text-\[20px\] {
    font-size: 20px !important;
}

.text-\[180px\] {
    font-size: 180px !important;
}

.text-\[240px\] {
    font-size: 240px !important;
}

/* Specific leading (line-height) tokens */
.leading-\[1.1\] {
    line-height: 1.1 !important;
}

/* Specific border tokens */
.border-l-\[12px\] {
    border-left-width: 12px !important;
    border-left-style: solid !important;
}

/* Specific width tokens */
.max-w-\[48rem\] {
    max-width: 48rem !important;
}

.max-w-container-max {
    max-width: var(--max-container) !important;
}

/* Background opacity variants used via gradient overlay */
.bg-primary\/40 {
    background-color: rgba(0, 62, 199, 0.40) !important;
}

.bg-primary\/20 {
    background-color: rgba(0, 62, 199, 0.20) !important;
}

.bg-primary\/60 {
    background-color: rgba(0, 62, 199, 0.60) !important;
}

.group-hover\:bg-primary\/20 {}

.group:hover .group-hover\:bg-primary\/20 {
    background-color: rgba(0, 62, 199, 0.20) !important;
}

.group:hover .group-hover\:opacity-100 {
    opacity: 1 !important;
}

/* Fix Moodle page wrapper that may add overflow */
body.format-* main,
body#page main {
    overflow-x: hidden;
}

/* Ensure images display correctly */
img {
    border-style: none;
}

/* ============================================================
   PRINT STYLES
   ============================================================ */
@media print {

    .hidden-print,
    nav,
    footer {
        display: none !important;
    }

    body {
        background: white;
        color: black;
    }
}

/* ==========================================================================
   FITNESS COMPREHENSIVE UTILITIES SYNC
   ========================================================================== */

/* Container */
.container {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  max-width: var(--container-max);
}

/* Sizing & Dimensions */
.w-4 { width: 1rem; }
.w-12 { width: 3rem; }
.w-16 { width: 4rem; }
.w-32 { width: 8rem; }
.w-px { width: 1px; }

.h-1\.5 { height: 0.375rem; }
.h-4 { height: 1rem; }
.h-12 { height: 3rem; }
.h-48 { height: 12rem; }

.min-h-\[250px\] { min-height: 250px; }
.min-h-\[300px\] { min-height: 300px; }
.min-h-\[450px\] { min-height: 450px; }

/* Positioning & Offsets */
.top-1\/2 { top: 50%; }
.left-8 { left: 2rem; }
.left-12 { left: 3rem; }
.left-md { left: var(--s-md); }
.left-lg { left: var(--s-lg); }
.right-8 { right: 2rem; }
.right-lg { right: var(--s-lg); }
.bottom-8 { bottom: 2rem; }
.bottom-xl { bottom: var(--s-xl); }

.-top-8 { top: -2rem; }
.-bottom-md { bottom: calc(-1 * var(--s-md)); }
.-right-md { right: calc(-1 * var(--s-md)); }

.mr-md { margin-right: var(--s-md); }
.mt-\[-40px\] { margin-top: -40px; }

/* Transforms */
.transform { transform: translateY(0); }
.translate-x-1\/4 { transform: translateX(25%); }
.-translate-y-1\/4 { transform: translateY(-25%); }

/* Gaps & Spacing */
.gap-unit { gap: 0.25rem; }
.gap-2xl { gap: var(--s-2xl, 3rem); }
.space-y-unit > * + * { margin-top: 0.25rem; }

/* Typography */
.text-xs { font-size: 0.75rem; line-height: 1rem; }
.text-\[96px\] { font-size: 96px; line-height: 1; }
.tracking-tighter { letter-spacing: -0.05em; }
.tracking-\[0\.2em\] { letter-spacing: 0.2em; }
.break-all { word-break: break-all; }
.text-decoration-none { text-decoration: none !important; }

/* Theme Colors */
.text-tertiary-fixed { color: var(--c-tertiary-fixed); }
.text-tertiary-fixed-dim { color: var(--c-tertiary-fixed-dim); }

.bg-on-background { background-color: var(--c-on-background); }
.bg-on-secondary-fixed { background-color: var(--c-on-secondary-fixed); }
.bg-on-tertiary-container { background-color: var(--c-on-tertiary-container); }
.bg-primary\/90 { background-color: color-mix(in srgb, var(--c-primary) 90%, transparent); }
.bg-surface-container-low\/10 { background-color: color-mix(in srgb, var(--c-surface-container-low) 10%, transparent); }
.bg-transparent { background-color: transparent; }

.bg-center { background-position: center; }
.bg-cover { background-size: cover; }

/* Borders */
.border-none { border-style: none; }
.border-outline { border-color: var(--c-outline); }
.border-secondary { border-color: var(--c-secondary); }
.border-surface-bright { border-color: var(--c-surface-bright); }
.border-surface-container-high { border-color: var(--c-surface-container-high); }
.border-surface-container-highest { border-color: var(--c-surface-container-highest); }
.border-on-secondary-fixed { border-color: var(--c-on-secondary-fixed); }
.border-on-tertiary { border-color: var(--c-on-tertiary); }
.border-on-tertiary-container\/20 { border-color: color-mix(in srgb, var(--c-on-tertiary-container) 20%, transparent); }
.border-primary-fixed-variant { border-color: var(--c-primary-fixed-variant); }
.border-tertiary-fixed-dim { border-color: var(--c-tertiary-fixed-dim); }

/* Border Radius */
.rounded-xs { border-radius: var(--r-xs, 0.125rem); }
.rounded-l-lg { border-top-left-radius: var(--r-lg); border-bottom-left-radius: var(--r-lg); }
.rounded-r-lg { border-top-right-radius: var(--r-lg); border-bottom-right-radius: var(--r-lg); }

/* Gradients */
.from-primary\/80 { --tw-gradient-from: color-mix(in srgb, var(--c-primary) 80%, transparent); }
.from-tertiary { --tw-gradient-from: var(--c-tertiary); }
.via-transparent { --tw-gradient-via: transparent; }

/* Filters & Misc */
.grayscale { filter: grayscale(100%); }
.list-none { list-style-type: none; }
.appearance-none { appearance: none; -webkit-appearance: none; }
.outline-none { outline: 2px solid transparent; outline-offset: 2px; }
.shadow-primary\/20 { box-shadow: 0 10px 15px -3px rgba(0, 58, 237, 0.2); }

/* Orders */
.order-1 { order: 1; }
.order-2 { order: 2; }

/* Interactive Pseudo Classes */
.active\:scale-\[0\.98\]:active { transform: scale(0.98); }
.active\:translate-x-1:active { transform: translateX(0.25rem); }
.active\:translate-y-1:active { transform: translateY(0.25rem); }

.focus\:ring-2:focus { box-shadow: 0 0 0 2px var(--c-primary); }
.focus\:ring-primary:focus { box-shadow: 0 0 0 2px var(--c-primary); }

.placeholder\:text-outline-variant::placeholder { color: var(--c-outline-variant); }

.hover\:grayscale-0:hover { filter: grayscale(0%); }
.hover\:bg-on-primary-fixed-variant:hover { background-color: var(--c-on-primary-fixed-variant); }
.hover\:bg-on-surface:hover { background-color: var(--c-on-surface); }
.hover\:bg-on-tertiary:hover { background-color: var(--c-on-tertiary); }
.hover\:bg-secondary-fixed-dim:hover { background-color: var(--c-secondary-fixed-dim); }
.hover\:bg-surface-container:hover { background-color: var(--c-surface-container); }
.hover\:bg-surface-variant:hover { background-color: var(--c-surface-variant); }
.hover\:border-primary:hover { border-color: var(--c-primary); }
.hover\:gap-md:hover { gap: var(--s-md); }
.hover\:opacity-70:hover { opacity: 0.7; }
.hover\:text-tertiary:hover { color: var(--c-tertiary); }

.group:hover .group-hover\:bg-transparent { background-color: transparent; }
.group:hover .group-hover\:gap-md { gap: var(--s-md); }
.group:hover .group-hover\:text-on-secondary-fixed { color: var(--c-on-secondary-fixed); }
.group:hover .group-hover\:text-primary { color: var(--c-primary); }
.group:hover .group-hover\:text-white\/80 { color: rgba(255, 255, 255, 0.8); }

/* Responsive Breakpoints */
@media (min-width: 640px) {
  .sm\:flex-row { flex-direction: row; }
}

@media (min-width: 768px) {
  .md\:absolute { position: absolute; }
  .md\:mt-0 { margin-top: 0; }
  .md\:self-center { align-self: center; }
  .md\:w-4\/5 { width: 80%; }
  .md\:-translate-y-1\/2 { transform: translateY(-50%); }
}

@media (min-width: 1024px) {
  .lg\:-ml-8 { margin-left: -2rem; }
  .lg\:-mr-8 { margin-right: -2rem; }
  .lg\:left-xl { left: var(--s-xl); }
  .lg\:right-auto { right: auto; }
  .lg\:order-1 { order: 1; }
  .lg\:order-2 { order: 2; }
  .lg\:w-5\/12 { width: 41.666667%; }
  .lg\:w-7\/12 { width: 58.333333%; }
}
