:root {
    --navy: #071b46;
    --navy-2: #0d2c63;
    --red: #a70f18;
    --red-2: #c61b25;
    --gold: #c99a2e;
    --gold-soft: #fff4d8;
    --green: #16a36f;
    --purple: #7c3aed;
    --blue: #2563eb;
    --bg: #f6f8fc;
    --card: #ffffff;
    --text: #10203f;
    --muted: #6b7280;
    --line: #e5e7eb;
    --shadow: 0 16px 40px rgba(7, 27, 70, 0.08);
    --radius: 22px;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "Segoe UI", Tahoma, Arial, sans-serif;
    background: var(--bg);
    color: var(--text);
}

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

button,
input,
select {
    font: inherit;
}

.app {
    min-height: 100vh;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    direction: ltr;
    text-align: left;
}

.crest {
    width: 58px;
    height: 58px;
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    filter: drop-shadow(0 8px 14px rgba(167, 15, 24, 0.16));
}

.crest svg {
    width: 100%;
    height: 100%;
}

.brand-title {
    font-weight: 800;
    color: var(--navy);
    line-height: 1.12;
    font-size: 17px;
    letter-spacing: -0.2px;
}

.brand-title.small {
    font-size: 14px;
    color: #fff;
}

.topbar {
    background: rgba(255, 255, 255, .92);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--line);
    position: sticky;
    top: 0;
    z-index: 50;
}

.topbar-inner {
    max-width: 1440px;
    margin: auto;
    padding: 14px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    direction: ltr;
}

.nav {
    display: flex;
    align-items: center;
    gap: 26px;
    color: #17264c;
    font-weight: 650;
    font-size: 14px;
}

.nav a {
    opacity: .9;
}

.nav a:hover {
    color: var(--red);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.lang {
    border: 1px solid var(--line);
    background: #fff;
    color: var(--navy);
    padding: 10px 14px;
    border-radius: 999px;
    cursor: pointer;
}

.btn {
    border: 0;
    cursor: pointer;
    border-radius: 14px;
    padding: 13px 20px;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: .2s ease;
    white-space: nowrap;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-red {
    background: linear-gradient(135deg, var(--red), var(--red-2));
    color: #fff;
    box-shadow: 0 14px 28px rgba(167, 15, 24, .22);
}

.btn-navy {
    background: linear-gradient(135deg, var(--navy), var(--navy-2));
    color: #fff;
    box-shadow: 0 14px 28px rgba(7, 27, 70, .18);
}

.btn-white {
    background: #fff;
    color: var(--navy);
    border: 1px solid #d7dce8;
}

.hero {
    background:
        radial-gradient(circle at 70% 20%, rgba(201, 154, 46, .16), transparent 28%),
        linear-gradient(135deg, #fff 0%, #fff 55%, #fff7ed 100%);
    overflow: hidden;
}

.hero-inner {
    max-width: 1440px;
    margin: auto;
    min-height: 560px;
    padding: 64px 28px 44px;
    display: grid;
    grid-template-columns: 1.02fr .98fr;
    gap: 44px;
    align-items: center;
    direction: ltr;
}

.hero-content {
    direction: ltr;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 14px;
    border-radius: 999px;
    border: 1px solid rgba(201, 154, 46, .45);
    background: rgba(255, 244, 216, .5);
    color: var(--navy);
    font-weight: 800;
    font-size: 13px;
    margin-bottom: 18px;
}

.hero h1 {
    margin: 0;
    color: var(--navy);
    font-size: clamp(40px, 5vw, 74px);
    line-height: .98;
    letter-spacing: -2.3px;
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 700;
}

.hero h1 span {
    color: var(--red);
}

.hero p {
    color: #536078;
    font-size: 18px;
    line-height: 1.75;
    max-width: 660px;
    margin: 22px 0 28px;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    align-items: center;
}

.hero-card {
    position: relative;
    min-height: 440px;
    border-radius: 34px;
    background:
        linear-gradient(120deg, rgba(7, 27, 70, .12), rgba(255, 255, 255, .15)),
        linear-gradient(135deg, #e4efff, #fff1dc);
    box-shadow: var(--shadow);
    border: 1px solid rgba(255, 255, 255, .9);
    overflow: hidden;
    direction: ltr;
}

.hero-student {
    position: absolute;
    inset: 30px 28px 74px 120px;
    border-radius: 28px;
    background:
        radial-gradient(circle at 40% 18%, #ffd991, transparent 14%),
        linear-gradient(135deg, #f8c079, #b76532 45%, #2f4778 45%, #102553 100%);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .4);
    overflow: hidden;
}

.hero-student:before {
    content: "";
    position: absolute;
    width: 188px;
    height: 188px;
    border-radius: 50%;
    background: #f8c694;
    left: 68px;
    top: 48px;
    box-shadow: 0 0 0 18px rgba(255, 255, 255, .12);
}

.hero-student:after {
    content: "";
    position: absolute;
    width: 280px;
    height: 190px;
    border-radius: 42px 42px 0 0;
    background: #9a522e;
    left: 24px;
    bottom: 0;
    transform: rotate(-6deg);
}

.laptop {
    position: absolute;
    right: 44px;
    bottom: 64px;
    width: 270px;
    height: 165px;
    border-radius: 16px;
    background: #f9fafb;
    box-shadow: 0 16px 30px rgba(0, 0, 0, .18);
    transform: rotate(-4deg);
    z-index: 3;
}

.laptop:before {
    content: "";
    position: absolute;
    inset: 18px;
    border-radius: 10px;
    background: linear-gradient(135deg, #e5e7eb, #ffffff);
}

.trust-card {
    position: absolute;
    right: 34px;
    top: 150px;
    z-index: 5;
    background: linear-gradient(135deg, var(--navy), #122e68);
    color: #fff;
    padding: 22px 24px;
    border-radius: 18px;
    box-shadow: 0 24px 55px rgba(7, 27, 70, .22);
    min-width: 230px;
}

.trust-card strong {
    display: block;
    font-size: 29px;
    margin: 6px 0;
}

.trust-card small {
    color: #d6def0;
}

.hero-mini {
    position: absolute;
    bottom: 24px;
    left: 30px;
    right: 30px;
    background: rgba(255, 255, 255, .86);
    backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, .8);
    border-radius: 20px;
    padding: 14px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    z-index: 7;
}

.mini-stat {
    text-align: center;
    padding: 10px;
    border-radius: 14px;
    background: #fff;
    font-weight: 800;
    color: var(--navy);
}

.mini-stat span {
    display: block;
    color: var(--muted);
    font-weight: 600;
    font-size: 12px;
    margin-top: 4px;
}

.section {
    max-width: 1440px;
    margin: auto;
    padding: 28px;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 18px;
    margin-top: -56px;
    position: relative;
    z-index: 10;
}

.feature-card,
.academy-card,
.kpi,
.panel,
.module-tile,
.activity-item,
.class-row {
    background: var(--card);
    border: 1px solid rgba(229, 231, 235, .9);
    box-shadow: var(--shadow);
    border-radius: var(--radius);
}

.feature-card {
    padding: 26px 18px;
    text-align: center;
    transition: .2s ease;
    min-height: 200px;
}

.feature-card:hover,
.module-tile:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 50px rgba(7, 27, 70, .12);
}

.circle-icon {
    width: 58px;
    height: 58px;
    margin: 0 auto 16px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: #fff;
    font-size: 24px;
    font-weight: 900;
}

.red-bg {
    background: linear-gradient(135deg, var(--red), var(--red-2));
}

.navy-bg {
    background: linear-gradient(135deg, var(--navy), var(--navy-2));
}

.gold-bg {
    background: linear-gradient(135deg, #b68214, var(--gold));
}

.green-bg {
    background: linear-gradient(135deg, #07875d, #16a36f);
}

.purple-bg {
    background: linear-gradient(135deg, #6d28d9, #9333ea);
}

.blue-bg {
    background: linear-gradient(135deg, #1d4ed8, #38bdf8);
}

.feature-card h3,
.academy-card h2,
.panel h3 {
    margin: 0;
    color: var(--navy);
}

.feature-card p {
    margin: 10px 0 18px;
    color: var(--muted);
    line-height: 1.55;
    font-size: 14px;
}

.feature-card a {
    color: var(--red);
    font-weight: 800;
    font-size: 14px;
}

.academy-card {
    margin-top: 26px;
    overflow: hidden;
    display: grid;
    grid-template-columns: .86fr 1.14fr;
    min-height: 330px;
}

.academy-visual {
    position: relative;
    background:
        radial-gradient(circle at 18% 24%, rgba(255, 255, 255, .3), transparent 12%),
        linear-gradient(135deg, #09142b, #153b76 60%, #14213f);
    min-height: 330px;
}

.code-window {
    position: absolute;
    left: 48px;
    top: 46px;
    width: 72%;
    height: 210px;
    border-radius: 18px;
    background: rgba(4, 10, 25, .82);
    border: 1px solid rgba(255, 255, 255, .15);
    padding: 18px;
    direction: ltr;
    box-shadow: 0 24px 48px rgba(0, 0, 0, .25);
}

.dots {
    display: flex;
    gap: 7px;
    margin-bottom: 18px;
}

.dots i {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: block;
    background: #fff;
    opacity: .7;
}

.code-line {
    height: 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .2);
    margin: 12px 0;
}

.code-line.gold {
    background: rgba(201, 154, 46, .9);
    width: 68%;
}

.code-line.red {
    background: rgba(198, 27, 37, .9);
    width: 50%;
}

.code-line.blue {
    background: rgba(56, 189, 248, .7);
    width: 76%;
}

.code-line.short {
    width: 44%;
}

.academy-badge {
    position: absolute;
    right: 34px;
    bottom: 34px;
    width: 142px;
    height: 142px;
    border-radius: 34px;
    background: linear-gradient(135deg, rgba(201, 154, 46, .92), #fff4c7);
    display: grid;
    place-items: center;
    text-align: center;
    font-weight: 900;
    color: var(--navy);
    transform: rotate(-6deg);
    box-shadow: 0 20px 35px rgba(0, 0, 0, .18);
}

.academy-content {
    padding: 44px;
    background:
        radial-gradient(circle at 90% 10%, rgba(201, 154, 46, .13), transparent 20%),
        #fff;
}

.academy-content h2 {
    font-size: clamp(28px, 3vw, 45px);
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 700;
    line-height: 1.1;
    margin: 14px 0 10px;
}

.academy-content h2 span {
    color: var(--red);
}

.academy-content p {
    color: var(--muted);
    line-height: 1.7;
    margin: 0 0 22px;
}

.checks {
    display: grid;
    grid-template-columns: repeat(2, minmax(180px, 1fr));
    gap: 12px 24px;
    margin: 0 0 24px;
    padding: 0;
    list-style: none;
    direction: ltr;
}

.checks li {
    color: #334155;
    font-weight: 700;
    display: flex;
    gap: 8px;
    align-items: center;
}

.checks li:before {
    content: "✓";
    display: inline-grid;
    place-items: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--gold-soft);
    color: var(--gold);
    font-weight: 900;
}

.trust-strip {
    margin: 26px 0 10px;
    padding: 18px 22px;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 20px;
    box-shadow: var(--shadow);
    direction: ltr;
}

.trust-item {
    display: flex;
    gap: 12px;
    align-items: center;
    color: var(--navy);
    font-weight: 800;
    border-right: 1px solid var(--line);
    padding-right: 16px;
}

.trust-item:last-child {
    border-right: 0;
}

.trust-item span {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: #f4f6fb;
    font-size: 22px;
}

.trust-item small {
    display: block;
    color: var(--muted);
    font-weight: 600;
    margin-top: 3px;
}

.dashboard {
    display: none;
    min-height: 100vh;
    background: #f7f9fd;
    direction: ltr;
}

.dashboard.active,
.landing.active {
    display: block;
}

.landing.hidden {
    display: none;
}

.sidebar {
    width: 285px;
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    background: #fff;
    border-right: 1px solid var(--line);
    overflow-y: auto;
    z-index: 40;
}

.side-brand {
    padding: 22px;
    min-height: 104px;
    background: linear-gradient(135deg, var(--red), #7e0911);
    color: #fff;
    display: flex;
    align-items: center;
}

.side-brand .brand-title {
    color: #fff;
}

.side-nav {
    padding: 18px;
    display: grid;
    gap: 8px;
    direction: rtl;
}

.side-link {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    padding: 13px 14px;
    border-radius: 14px;
    color: #34415e;
    font-weight: 750;
    cursor: pointer;
    transition: .2s ease;
}

.side-link small {
    display: block;
    color: #7b8498;
    font-weight: 600;
    margin-top: 2px;
}

.side-link .icon {
    width: 34px;
    height: 34px;
    border-radius: 11px;
    display: grid;
    place-items: center;
    background: #f4f6fb;
    font-size: 17px;
    flex: 0 0 auto;
}

.side-link.active {
    color: #fff;
    background: linear-gradient(135deg, var(--red), var(--red-2));
    box-shadow: 0 14px 26px rgba(167, 15, 24, .22);
}

.side-link.active small {
    color: rgba(255, 255, 255, .85);
}

.side-link.active .icon {
    background: rgba(255, 255, 255, .16);
}

.side-profile {
    margin: 18px;
    padding: 16px;
    border-radius: 18px;
    background: linear-gradient(135deg, var(--navy), #102e66);
    color: #fff;
    display: flex;
    align-items: center;
    gap: 12px;
    direction: ltr;
}

.avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f5d2a4, #7f3a20);
    display: grid;
    place-items: center;
    font-weight: 900;
    color: #fff;
    border: 3px solid rgba(255, 255, 255, .5);
    flex: 0 0 auto;
}

.main {
    margin-left: 285px;
    min-height: 100vh;
}

.dash-top {
    height: 88px;
    background: rgba(255, 255, 255, .95);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--line);
    display: grid;
    grid-template-columns: 260px 1fr auto;
    gap: 22px;
    align-items: center;
    padding: 0 28px;
    position: sticky;
    top: 0;
    z-index: 30;
}

.field,
.search {
    background: #fff;
    border: 1px solid #dfe4ee;
    border-radius: 16px;
    padding: 13px 16px;
    min-height: 52px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #34415e;
    font-weight: 750;
}

.search input {
    border: 0;
    outline: none;
    width: 100%;
    color: var(--text);
    background: transparent;
    direction: ltr;
}

.top-icons {
    display: flex;
    align-items: center;
    gap: 12px;
}

.round {
    width: 46px;
    height: 46px;
    border-radius: 15px;
    background: #fff;
    border: 1px solid var(--line);
    display: grid;
    place-items: center;
    color: var(--navy);
    font-size: 18px;
    position: relative;
}

.notif {
    position: absolute;
    right: -4px;
    top: -4px;
    background: var(--red);
    color: #fff;
    font-size: 11px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    border: 2px solid #fff;
    font-weight: 900;
}

.dash-content {
    padding: 26px 28px 38px;
}

.welcome {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
    direction: ltr;
}

.welcome h2 {
    margin: 0 0 6px;
    color: var(--navy);
    font-size: 26px;
}

.welcome p {
    margin: 0;
    color: var(--muted);
}

.date-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 14px 16px;
    text-align: right;
    color: var(--navy);
    font-weight: 800;
    min-width: 210px;
    box-shadow: var(--shadow);
}

.kpis {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
    margin-bottom: 16px;
}

.kpi {
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    min-height: 118px;
}

.kpi-icon {
    width: 58px;
    height: 58px;
    border-radius: 18px;
    display: grid;
    place-items: center;
    font-size: 24px;
    flex: 0 0 auto;
}

.soft-red {
    background: #ffe8eb;
    color: var(--red);
}

.soft-blue {
    background: #e9f1ff;
    color: var(--blue);
}

.soft-gold {
    background: #fff3d2;
    color: #ad7604;
}

.soft-green {
    background: #e7f8f1;
    color: var(--green);
}

.soft-purple {
    background: #f2eaff;
    color: var(--purple);
}

.kpi strong {
    display: block;
    font-size: 26px;
    color: #101b36;
    margin-bottom: 4px;
}

.kpi label {
    color: #536078;
    font-weight: 700;
    font-size: 13px;
}

.kpi small {
    display: block;
    color: var(--green);
    font-weight: 800;
    margin-top: 8px;
    font-size: 12px;
}

.dash-grid {
    display: grid;
    grid-template-columns: 1.1fr .75fr .7fr;
    gap: 16px;
    align-items: stretch;
}

.panel {
    padding: 20px;
    min-height: 280px;
}

.panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
    direction: ltr;
}

.panel h3 {
    font-size: 17px;
}

.panel .ar-label {
    color: var(--navy-2);
    font-weight: 800;
    font-size: 13px;
}

.chart {
    height: 210px;
    position: relative;
    background:
        repeating-linear-gradient(to top, transparent 0, transparent 39px, #edf0f6 40px),
        linear-gradient(to bottom, #fff, #fff);
    border-radius: 14px;
    overflow: hidden;
    direction: ltr;
}

.chart svg {
    width: 100%;
    height: 100%;
    overflow: visible;
}

.legend {
    display: flex;
    gap: 16px;
    align-items: center;
    font-size: 12px;
    color: #475569;
    font-weight: 750;
    margin-bottom: 12px;
    direction: ltr;
}

.legend span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
}

.donut-wrap {
    display: grid;
    grid-template-columns: 190px 1fr;
    gap: 18px;
    align-items: center;
    min-height: 210px;
}

.donut {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: conic-gradient(var(--red) 0 74.9%, var(--navy) 74.9% 100%);
    position: relative;
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .02);
}

.donut:before {
    content: "";
    position: absolute;
    inset: 45px;
    border-radius: 50%;
    background: #fff;
    box-shadow: inset 0 0 0 1px var(--line);
}

.donut-center {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    text-align: center;
    font-weight: 900;
    color: var(--navy);
    z-index: 2;
}

.donut-center small {
    display: block;
    color: var(--muted);
    font-weight: 700;
    margin-top: 3px;
}

.program-list {
    display: grid;
    gap: 14px;
    color: #34415e;
    font-weight: 750;
    font-size: 14px;
}

.progress-row {
    display: grid;
    gap: 8px;
}

.progress-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.bar {
    height: 9px;
    background: #edf0f6;
    border-radius: 999px;
    overflow: hidden;
}

.bar i {
    display: block;
    height: 100%;
    border-radius: inherit;
}

.classes-list,
.activity-list {
    display: grid;
    gap: 10px;
}

.class-row {
    box-shadow: none;
    padding: 12px;
    display: grid;
    grid-template-columns: 58px 1fr auto;
    gap: 12px;
    align-items: center;
}

.class-row strong {
    display: block;
    color: var(--navy);
    margin-bottom: 3px;
    font-size: 14px;
}

.class-row small,
.activity-item small {
    color: var(--muted);
    font-weight: 650;
}

.time {
    color: var(--navy);
    font-weight: 900;
    font-size: 13px;
    line-height: 1.1;
}

.pill {
    border-radius: 999px;
    padding: 6px 9px;
    font-size: 11px;
    font-weight: 900;
    color: #fff;
    white-space: nowrap;
}

.bottom-grid {
    margin-top: 16px;
    display: grid;
    grid-template-columns: 1.2fr .7fr .7fr;
    gap: 16px;
}

.modules {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
}

.module-tile {
    box-shadow: none;
    padding: 18px 10px;
    text-align: center;
    cursor: pointer;
    min-height: 116px;
}

.module-tile span {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    margin: 0 auto 10px;
    border-radius: 14px;
    background: #f4f6fb;
    font-size: 21px;
}

.module-tile strong {
    display: block;
    color: var(--navy);
    font-size: 13px;
    margin-bottom: 3px;
}

.module-tile small {
    color: var(--muted);
    font-weight: 700;
    font-size: 12px;
}

.activity-item {
    box-shadow: none;
    padding: 13px;
    display: grid;
    grid-template-columns: 42px 1fr auto;
    gap: 12px;
    align-items: center;
}

.activity-icon {
    width: 38px;
    height: 38px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    font-weight: 900;
}

.activity-item strong {
    color: var(--navy);
    font-size: 13px;
    display: block;
    margin-bottom: 2px;
}

.footer {
    margin-left: 285px;
    background: linear-gradient(135deg, var(--navy), #030b1f);
    color: #fff;
    padding: 22px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    direction: ltr;
}

.footer .ar {
    direction: rtl;
    color: #dbe5ff;
    font-size: 20px;
    font-weight: 800;
}

.mobile-menu {
    display: none;
}

@media (max-width: 1200px) {

    .feature-grid,
    .kpis {
        grid-template-columns: repeat(3, 1fr);
    }

    .dash-grid,
    .bottom-grid {
        grid-template-columns: 1fr;
    }

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

    .trust-strip {
        grid-template-columns: repeat(2, 1fr);
    }

    .trust-item {
        border-right: 0;
    }
}

@media (max-width: 900px) {
    .topbar-inner {
        flex-wrap: wrap;
    }

    .nav {
        order: 3;
        width: 100%;
        overflow-x: auto;
        padding-bottom: 8px;
    }

    .hero-inner {
        grid-template-columns: 1fr;
    }

    .feature-grid,
    .kpis,
    .modules,
    .trust-strip {
        grid-template-columns: 1fr 1fr;
    }

    .academy-card {
        grid-template-columns: 1fr;
    }

    .sidebar {
        transform: translateX(-100%);
        transition: .25s ease;
    }

    .sidebar.open {
        transform: translateX(0);
    }

    .main,
    .footer {
        margin-left: 0;
    }

    .dash-top {
        grid-template-columns: auto 1fr;
    }

    .field {
        display: none;
    }

    .mobile-menu {
        display: grid;
    }
}

@media (max-width: 620px) {

    .feature-grid,
    .kpis,
    .modules,
    .trust-strip,
    .donut-wrap {
        grid-template-columns: 1fr;
    }

    .topbar-inner,
    .hero-inner,
    .section,
    .dash-content {
        padding-left: 16px;
        padding-right: 16px;
    }

    .hero h1 {
        font-size: 40px;
    }

    .hero-card {
        min-height: 380px;
    }

    .hero-student {
        inset: 25px 20px 95px 20px;
    }

    .trust-card {
        top: auto;
        bottom: 118px;
        right: 20px;
        left: 20px;
    }

    .hero-mini {
        grid-template-columns: 1fr;
    }

    .dash-top {
        height: auto;
        padding: 14px;
        grid-template-columns: 1fr;
    }

    .top-icons {
        justify-content: space-between;
    }

    .welcome {
        flex-direction: column;
        align-items: stretch;
    }
}